Skip to content

Commit 80214d1

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.480.0 (#21)
Co-authored-by: speakeasybot <[email protected]>
1 parent 99929ff commit 80214d1

27 files changed

+801
-192
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.speakeasy/reports
12
# Speakeasy
23
.venv/
34
venv/
@@ -8,7 +9,6 @@ __pycache__/
89
.DS_Store
910
pyrightconfig.json
1011
README-PYPI.md
11-
1212
# IDEs
1313
.vscode
1414
*.code-workspace

.speakeasy/gen.lock

Lines changed: 49 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
lockVersion: 2.0.0
22
id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
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.9.0
9-
configChecksum: 40760f888f8f869e4f9b83ad88469b3f
6+
speakeasyVersion: 1.480.0
7+
generationVersion: 2.499.0
8+
releaseVersion: 0.10.0
9+
configChecksum: 2b2d2389ee9ff1be5cd354baf7c62739
1010
repoURL: https://github.com/livepeer/livepeer-ai-python.git
1111
installationURL: https://github.com/livepeer/livepeer-ai-python.git
1212
published: true
1313
features:
1414
python:
1515
additionalDependencies: 1.0.0
1616
constsAndDefaults: 1.0.5
17-
core: 5.7.4
17+
core: 5.10.7
1818
defaultEnabledRetries: 0.2.0
1919
envVarSecurityUsage: 0.3.2
2020
globalSecurity: 3.0.2
@@ -32,7 +32,6 @@ generatedFiles:
3232
- .gitattributes
3333
- .python-version
3434
- .vscode/settings.json
35-
- CONTRIBUTING.md
3635
- USAGE.md
3736
- docs/models/components/apierror.md
3837
- docs/models/components/audio.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
@@ -112,9 +113,11 @@ generatedFiles:
112113
- src/livepeer_ai/models/components/imagetotextresponse.py
113114
- src/livepeer_ai/models/components/livevideotovideoparams.py
114115
- src/livepeer_ai/models/components/livevideotovideoresponse.py
116+
- src/livepeer_ai/models/components/llmchoice.py
115117
- src/livepeer_ai/models/components/llmmessage.py
116118
- src/livepeer_ai/models/components/llmrequest.py
117119
- src/livepeer_ai/models/components/llmresponse.py
120+
- src/livepeer_ai/models/components/llmtokenusage.py
118121
- src/livepeer_ai/models/components/masksresponse.py
119122
- src/livepeer_ai/models/components/media.py
120123
- src/livepeer_ai/models/components/mediaurl.py
@@ -163,110 +166,132 @@ examples:
163166
genTextToImage:
164167
speakeasy-default-gen-text-to-image:
165168
requestBody:
166-
application/json: {"prompt": "<value>"}
169+
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}
167170
responses:
168171
"200":
169-
application/json: {"images": []}
172+
application/json: {"images": [{"url": "https://hateful-cruelty.name", "seed": 857392, "nsfw": true}]}
170173
"400":
171174
application/json: {"detail": {"msg": "<value>"}}
172175
"422":
173176
application/json: {}
177+
"500":
178+
application/json: {"detail": {"msg": "<value>"}}
174179
genImageToImage:
175180
speakeasy-default-gen-image-to-image:
176181
requestBody:
177-
multipart/form-data: {"prompt": "<value>", "image": {}}
182+
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}
178183
responses:
179184
"200":
180-
application/json: {"images": []}
185+
application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false}]}
181186
"400":
182187
application/json: {"detail": {"msg": "<value>"}}
183188
"422":
184189
application/json: {}
190+
"500":
191+
application/json: {"detail": {"msg": "<value>"}}
185192
genImageToVideo:
186193
speakeasy-default-gen-image-to-video:
187194
requestBody:
188-
multipart/form-data: {"image": {}}
195+
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}
189196
responses:
190197
"200":
191-
application/json: {"images": []}
198+
application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true}]}
192199
"400":
193200
application/json: {"detail": {"msg": "<value>"}}
194201
"422":
195202
application/json: {}
203+
"500":
204+
application/json: {"detail": {"msg": "<value>"}}
196205
genUpscale:
197206
speakeasy-default-gen-upscale:
198207
requestBody:
199-
multipart/form-data: {"prompt": "<value>", "image": {}}
208+
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "safety_check": true, "num_inference_steps": 75}
200209
responses:
201210
"200":
202-
application/json: {"images": []}
211+
application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false}]}
203212
"400":
204213
application/json: {"detail": {"msg": "<value>"}}
205214
"422":
206215
application/json: {}
216+
"500":
217+
application/json: {"detail": {"msg": "<value>"}}
207218
genAudioToText:
208219
speakeasy-default-gen-audio-to-text:
209220
requestBody:
210-
multipart/form-data: {"audio": {}}
221+
multipart/form-data: {"audio": {"": "x-file: example.file"}, "model_id": "", "return_timestamps": "true"}
211222
responses:
212223
"200":
213-
application/json: {"text": "<value>", "chunks": []}
224+
application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"}]}
214225
"400":
215226
application/json: {"detail": {"msg": "<value>"}}
216227
"422":
217228
application/json: {}
229+
"500":
230+
application/json: {"detail": {"msg": "<value>"}}
218231
genSegmentAnything2:
219232
speakeasy-default-gen-segment-anything2:
220233
requestBody:
221-
multipart/form-data: {"image": {}}
234+
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
222235
responses:
223236
"200":
224237
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
225238
"400":
226239
application/json: {"detail": {"msg": "<value>"}}
227240
"422":
228241
application/json: {}
242+
"500":
243+
application/json: {"detail": {"msg": "<value>"}}
229244
genLLM:
230245
speakeasy-default-gen-LLM:
231246
requestBody:
232-
application/x-www-form-urlencoded: {"prompt": "<value>"}
233-
application/json: {"messages": []}
247+
application/json: {"messages": [], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
234248
responses:
235249
"200":
236-
application/json: {"response": "<value>", "tokens_used": 60712, "id": "<id>", "model": "Expedition", "created": 755586}
250+
application/json: {"id": "<id>", "model": "Expedition", "created": 755586, "usage": {"prompt_tokens": 348799, "completion_tokens": 332397, "total_tokens": 528534}, "choices": []}
237251
"400":
238252
application/json: {"detail": {"msg": "<value>"}}
239253
"422":
240254
application/json: {}
255+
"500":
256+
application/json: {"detail": {"msg": "<value>"}}
241257
genImageToText:
242258
speakeasy-default-gen-image-to-text:
243259
requestBody:
244-
multipart/form-data: {"image": {}}
260+
multipart/form-data: {"image": {"": "x-file: example.file"}, "prompt": "", "model_id": ""}
245261
responses:
246262
"200":
247263
application/json: {"text": "<value>"}
248264
"400":
249265
application/json: {"detail": {"msg": "<value>"}}
250266
"422":
251267
application/json: {}
268+
"500":
269+
application/json: {"detail": {"msg": "<value>"}}
252270
genLiveVideoToVideo:
253271
speakeasy-default-gen-live-video-to-video:
254272
requestBody:
255-
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz"}
273+
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": ""}
256274
responses:
257275
"200":
258-
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com"}
276+
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": ""}
259277
"400":
260278
application/json: {"detail": {"msg": "<value>"}}
261279
"422":
262280
application/json: {}
281+
"500":
282+
application/json: {"detail": {"msg": "<value>"}}
263283
genTextToSpeech:
264284
speakeasy-default-gen-text-to-speech:
285+
requestBody:
286+
application/json: {"model_id": "", "text": "", "description": "A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch."}
265287
responses:
266288
"200":
267289
application/json: {"audio": {"url": "https://accurate-parsnip.net/"}}
268290
"400":
269291
application/json: {"detail": {"msg": "<value>"}}
270292
"422":
271293
application/json: {}
294+
"500":
295+
application/json: {"detail": {"msg": "<value>"}}
296+
examplesVersion: 1.0.0
272297
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ generation:
1313
oAuth2ClientCredentialsEnabled: true
1414
oAuth2PasswordEnabled: false
1515
python:
16-
version: 0.9.0
16+
version: 0.10.0
1717
additionalDependencies:
1818
dev: {}
1919
main: {}
@@ -23,6 +23,7 @@ python:
2323
clientServerStatusCodesAsErrors: true
2424
defaultErrorName: SDKError
2525
description: Python Client SDK for the Livepeer AI API.
26+
enableCustomCodeRegions: false
2627
enumFormat: enum
2728
fixFlags:
2829
responseRequiredSep2024: false

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.460.3
1+
speakeasyVersion: 1.480.0
22
sources:
33
livepeer_ai-OAS:
44
sourceNamespace: livepeer-ai-oas
5-
sourceRevisionDigest: sha256:bfa0844cf9b7f6b2be182a8a8e3f5d074965a7216fbed68ab570f6e3b58587d5
6-
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
5+
sourceRevisionDigest: sha256:0f47b792f474d38abc86f9276b065e4047dc61d6c0899a85a11008e48857db3a
6+
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1735258605
9+
- speakeasy-sdk-regen-1736900210
1010
- 0.0.0
1111
targets:
1212
livepeer-ai:
@@ -17,10 +17,10 @@ targets:
1717
livepeer-ai-python:
1818
source: livepeer_ai-OAS
1919
sourceNamespace: livepeer-ai-oas
20-
sourceRevisionDigest: sha256:bfa0844cf9b7f6b2be182a8a8e3f5d074965a7216fbed68ab570f6e3b58587d5
21-
sourceBlobDigest: sha256:3d8f629c40a46ffe8c1284434daf4e7dded2357d015c6f89f0e8ed8179c96d28
20+
sourceRevisionDigest: sha256:0f47b792f474d38abc86f9276b065e4047dc61d6c0899a85a11008e48857db3a
21+
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
2222
codeSamplesNamespace: code-samples-python-livepeer-python
23-
codeSamplesRevisionDigest: sha256:40ac599a7c83a23f422adee00f2427e8125723499dc86eb82b70ce7554adb481
23+
codeSamplesRevisionDigest: sha256:c8ec9be643b93d4a2f53b416df7270cf0cdb44cee849f5de6d2501edef3d2fa9
2424
workflow:
2525
workflowVersion: 1.0.0
2626
speakeasyVersion: latest

0 commit comments

Comments
 (0)