Skip to content

Commit 5c83de4

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.480.0 (#25)
Co-authored-by: speakeasybot <[email protected]>
1 parent 65cb4e3 commit 5c83de4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+1522
-2133
lines changed

.eslintrc.cjs

-28
This file was deleted.

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/.eslintcache
2+
/.speakeasy/reports
13
/react-query
24
/__tests__
35
# Speakeasy

.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.json
78
!/**/*.map
89

9-
/.eslintrc.js
10+
/eslint.config.mjs
1011
/cjs
1112
/.tshy
1213
/.tshy-*

.speakeasy/gen.lock

+50-24
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 8bd6d3b6-cae6-4e55-b72f-6fdc1dbce9a1
33
management:
4-
docChecksum: 5162ce13f49e729b6efa20dd5cdf32be
4+
docChecksum: 6657dd3e876a909472f364dc1fe34d72
55
docVersion: 0.0.0
6-
speakeasyVersion: 1.460.3
7-
generationVersion: 2.484.0
8-
releaseVersion: 0.6.1
9-
configChecksum: 3f7609e2eb7caeb1f44841b4805ed0c4
6+
speakeasyVersion: 1.480.0
7+
generationVersion: 2.499.0
8+
releaseVersion: 0.6.2
9+
configChecksum: f41c806c90a2fadee46578cb5e358e89
1010
repoURL: https://github.com/livepeer/livepeer-ai-js.git
1111
installationURL: https://github.com/livepeer/livepeer-ai-js
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.11
17-
core: 3.18.12
17+
core: 3.18.20
1818
defaultEnabledRetries: 0.1.0
1919
envVarSecurityUsage: 0.1.2
2020
globalSecurity: 2.82.12
@@ -28,7 +28,6 @@ features:
2828
unions: 2.85.8
2929
uploadStreams: 0.1.0
3030
generatedFiles:
31-
- .eslintrc.cjs
3231
- .gitattributes
3332
- .npmignore
3433
- FUNCTIONS.md
@@ -54,9 +53,11 @@ generatedFiles:
5453
- docs/models/components/imagetotextresponse.md
5554
- docs/models/components/livevideotovideoparams.md
5655
- docs/models/components/livevideotovideoresponse.md
56+
- docs/models/components/llmchoice.md
5757
- docs/models/components/llmmessage.md
5858
- docs/models/components/llmrequest.md
5959
- docs/models/components/llmresponse.md
60+
- docs/models/components/llmtokenusage.md
6061
- docs/models/components/loc.md
6162
- docs/models/components/masksresponse.md
6263
- docs/models/components/media.md
@@ -82,6 +83,7 @@ generatedFiles:
8283
- docs/models/operations/genupscaleresponse.md
8384
- docs/sdks/generate/README.md
8485
- docs/sdks/livepeer/README.md
86+
- eslint.config.mjs
8587
- jsr.json
8688
- package.json
8789
- src/core.ts
@@ -128,9 +130,11 @@ generatedFiles:
128130
- src/models/components/index.ts
129131
- src/models/components/livevideotovideoparams.ts
130132
- src/models/components/livevideotovideoresponse.ts
133+
- src/models/components/llmchoice.ts
131134
- src/models/components/llmmessage.ts
132135
- src/models/components/llmrequest.ts
133136
- src/models/components/llmresponse.ts
137+
- src/models/components/llmtokenusage.ts
134138
- src/models/components/masksresponse.ts
135139
- src/models/components/media.ts
136140
- src/models/components/mediaurl.ts
@@ -173,110 +177,132 @@ examples:
173177
genTextToImage:
174178
speakeasy-default-gen-text-to-image:
175179
requestBody:
176-
application/json: {"prompt": "<value>"}
180+
application/json: {"model_id": "", "loras": "", "prompt": "<value>", "height": 576, "width": 1024, "guidance_scale": 7.5, "negative_prompt": "", "safety_check": true, "num_inference_steps": 50, "num_images_per_prompt": 1}
177181
responses:
178182
"200":
179-
application/json: {"images": []}
183+
application/json: {"images": [{"url": "https://hateful-cruelty.name", "seed": 857392, "nsfw": true}]}
180184
"400":
181185
application/json: {"detail": {"msg": "<value>"}}
182186
"422":
183187
application/json: {}
188+
"500":
189+
application/json: {"detail": {"msg": "<value>"}}
184190
genImageToImage:
185191
speakeasy-default-gen-image-to-image:
186192
requestBody:
187-
multipart/form-data: {"prompt": "<value>", "image": {}}
193+
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "loras": "", "strength": 0.8, "guidance_scale": 7.5, "image_guidance_scale": 1.5, "negative_prompt": "", "safety_check": true, "num_inference_steps": 100, "num_images_per_prompt": 1}
188194
responses:
189195
"200":
190-
application/json: {"images": []}
196+
application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false}]}
191197
"400":
192198
application/json: {"detail": {"msg": "<value>"}}
193199
"422":
194200
application/json: {}
201+
"500":
202+
application/json: {"detail": {"msg": "<value>"}}
195203
genImageToVideo:
196204
speakeasy-default-gen-image-to-video:
197205
requestBody:
198-
multipart/form-data: {"image": {}}
206+
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "height": 576, "width": 1024, "fps": 6, "motion_bucket_id": 127, "noise_aug_strength": 0.02, "safety_check": true, "num_inference_steps": 25}
199207
responses:
200208
"200":
201-
application/json: {"images": []}
209+
application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true}]}
202210
"400":
203211
application/json: {"detail": {"msg": "<value>"}}
204212
"422":
205213
application/json: {}
214+
"500":
215+
application/json: {"detail": {"msg": "<value>"}}
206216
genUpscale:
207217
speakeasy-default-gen-upscale:
208218
requestBody:
209-
multipart/form-data: {"prompt": "<value>", "image": {}}
219+
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "safety_check": true, "num_inference_steps": 75}
210220
responses:
211221
"200":
212-
application/json: {"images": []}
222+
application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false}]}
213223
"400":
214224
application/json: {"detail": {"msg": "<value>"}}
215225
"422":
216226
application/json: {}
227+
"500":
228+
application/json: {"detail": {"msg": "<value>"}}
217229
genAudioToText:
218230
speakeasy-default-gen-audio-to-text:
219231
requestBody:
220-
multipart/form-data: {"audio": {}}
232+
multipart/form-data: {"audio": {"": "x-file: example.file"}, "model_id": "", "return_timestamps": "true"}
221233
responses:
222234
"200":
223-
application/json: {"text": "<value>", "chunks": []}
235+
application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"}]}
224236
"400":
225237
application/json: {"detail": {"msg": "<value>"}}
226238
"422":
227239
application/json: {}
240+
"500":
241+
application/json: {"detail": {"msg": "<value>"}}
228242
genSegmentAnything2:
229243
speakeasy-default-gen-segment-anything2:
230244
requestBody:
231-
multipart/form-data: {"image": {}}
245+
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
232246
responses:
233247
"200":
234248
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
235249
"400":
236250
application/json: {"detail": {"msg": "<value>"}}
237251
"422":
238252
application/json: {}
253+
"500":
254+
application/json: {"detail": {"msg": "<value>"}}
239255
genLLM:
240256
speakeasy-default-gen-LLM:
241257
requestBody:
242-
application/x-www-form-urlencoded: {"prompt": "<value>"}
243-
application/json: {"messages": []}
258+
application/json: {"messages": [], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
244259
responses:
245260
"200":
246-
application/json: {"response": "<value>", "tokens_used": 60712, "id": "<id>", "model": "Expedition", "created": 755586}
261+
application/json: {"id": "<id>", "model": "Expedition", "created": 755586, "usage": {"prompt_tokens": 348799, "completion_tokens": 332397, "total_tokens": 528534}, "choices": []}
247262
"400":
248263
application/json: {"detail": {"msg": "<value>"}}
249264
"422":
250265
application/json: {}
266+
"500":
267+
application/json: {"detail": {"msg": "<value>"}}
251268
genImageToText:
252269
speakeasy-default-gen-image-to-text:
253270
requestBody:
254-
multipart/form-data: {"image": {}}
271+
multipart/form-data: {"image": {"": "x-file: example.file"}, "prompt": "", "model_id": ""}
255272
responses:
256273
"200":
257274
application/json: {"text": "<value>"}
258275
"400":
259276
application/json: {"detail": {"msg": "<value>"}}
260277
"422":
261278
application/json: {}
279+
"500":
280+
application/json: {"detail": {"msg": "<value>"}}
262281
genLiveVideoToVideo:
263282
speakeasy-default-gen-live-video-to-video:
264283
requestBody:
265-
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz"}
284+
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": ""}
266285
responses:
267286
"200":
268-
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com"}
287+
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": ""}
269288
"400":
270289
application/json: {"detail": {"msg": "<value>"}}
271290
"422":
272291
application/json: {}
292+
"500":
293+
application/json: {"detail": {"msg": "<value>"}}
273294
genTextToSpeech:
274295
speakeasy-default-gen-text-to-speech:
296+
requestBody:
297+
application/json: {"model_id": "", "text": "", "description": "A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch."}
275298
responses:
276299
"200":
277300
application/json: {"audio": {"url": "https://accurate-parsnip.net/"}}
278301
"400":
279302
application/json: {"detail": {"msg": "<value>"}}
280303
"422":
281304
application/json: {}
305+
"500":
306+
application/json: {"detail": {"msg": "<value>"}}
307+
examplesVersion: 1.0.0
282308
generatedTests: {}

.speakeasy/gen.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
oAuth2ClientCredentialsEnabled: false
1313
oAuth2PasswordEnabled: false
1414
typescript:
15-
version: 0.6.1
15+
version: 0.6.2
1616
additionalDependencies:
1717
dependencies:
1818
jest: ^29.7.0
@@ -25,6 +25,7 @@ typescript:
2525
author: Livepeer
2626
clientServerStatusCodesAsErrors: true
2727
defaultErrorName: SDKError
28+
enableCustomCodeRegions: false
2829
enableReactQuery: false
2930
enumFormat: enum
3031
flattenGlobalSecurity: true

.speakeasy/workflow.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.460.3
1+
speakeasyVersion: 1.480.0
22
sources:
33
livepeer-ai-OAS:
44
sourceNamespace: livepeer-ai-oas
5-
sourceRevisionDigest: sha256:55ae25143686ab2932be31cf92c1554a5a79646c739274d4600b449cc5206cce
6-
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
5+
sourceRevisionDigest: sha256:3f780bb89b27b717229bf3fb0cc8eafe6ca754e3da17e0f65d6cf8deabcb95e8
6+
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735257676
9+
- speakeasy-sdk-regen-1736899286
1010
- 0.0.0
1111
targets:
1212
livepeer-ai-ts:
1313
source: livepeer-ai-OAS
1414
sourceNamespace: livepeer-ai-oas
15-
sourceRevisionDigest: sha256:55ae25143686ab2932be31cf92c1554a5a79646c739274d4600b449cc5206cce
16-
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
15+
sourceRevisionDigest: sha256:3f780bb89b27b717229bf3fb0cc8eafe6ca754e3da17e0f65d6cf8deabcb95e8
16+
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
1717
codeSamplesNamespace: code-samples-typescript-livepeer-ts
18-
codeSamplesRevisionDigest: sha256:c06ade29f551f339be714da92fb09857889be9d6ce3b742795d2d79aad1e924b
18+
codeSamplesRevisionDigest: sha256:b095b4fd79d259a27df817458a7f17eb84321fad3599de4460aa913719fae2b6
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

FUNCTIONS.md

+9
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,16 @@ const livepeer = new LivepeerCore({
3131

3232
async function run() {
3333
const res = await generateTextToImage(livepeer, {
34+
modelId: "",
35+
loras: "",
3436
prompt: "<value>",
37+
height: 576,
38+
width: 1024,
39+
guidanceScale: 7.5,
40+
negativePrompt: "",
41+
safetyCheck: true,
42+
numInferenceSteps: 50,
43+
numImagesPerPrompt: 1,
3544
});
3645

3746
switch (true) {

0 commit comments

Comments
 (0)