1
1
lockVersion: 2.0.0
2
2
id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
3
3
management:
4
- docChecksum: 6657dd3e876a909472f364dc1fe34d72
5
- docVersion: 0.0.0
6
- speakeasyVersion: 1.480 .0
7
- generationVersion: 2.499.0
8
- releaseVersion: 0.10 .0
9
- configChecksum: 2b2d2389ee9ff1be5cd354baf7c62739
4
+ docChecksum: 76998f8133db2a42336e23977ae612ca
5
+ docVersion: 0.13.9
6
+ speakeasyVersion: 1.586 .0
7
+ generationVersion: 2.661.4
8
+ releaseVersion: 0.11 .0
9
+ configChecksum: a474303f61bae3346b5a40b8e004eeb9
10
10
repoURL: https://github.com/livepeer/livepeer-ai-python.git
11
11
installationURL: https://github.com/livepeer/livepeer-ai-python.git
12
12
published: true
13
13
features:
14
14
python:
15
15
additionalDependencies: 1.0.0
16
16
constsAndDefaults: 1.0.5
17
- core: 5.10.7
17
+ core: 5.19.4
18
18
defaultEnabledRetries: 0.2.0
19
19
envVarSecurityUsage: 0.3.2
20
- globalSecurity: 3.0.2
20
+ globalSecurity: 3.0.3
21
21
globalSecurityCallbacks: 1.0.0
22
22
globalSecurityFlattening: 1.0.0
23
- globalServerURLs: 3.1.0
23
+ globalServerURLs: 3.1.1
24
24
multipartFileContentType: 1.0.0
25
25
nameOverrides: 3.0.1
26
26
responseFormat: 1.0.1
27
27
retries: 3.0.2
28
- sdkHooks: 1.0 .0
28
+ sdkHooks: 1.1 .0
29
29
unions: 3.0.4
30
30
uploadStreams: 1.0.0
31
31
generatedFiles:
32
32
- .gitattributes
33
- - .python-version
34
33
- .vscode/settings.json
35
34
- USAGE.md
36
35
- docs/models/components/apierror.md
@@ -88,7 +87,7 @@ generatedFiles:
88
87
- py.typed
89
88
- pylintrc
90
89
- pyproject.toml
91
- - scripts/prepare-readme .py
90
+ - scripts/prepare_readme .py
92
91
- scripts/publish.sh
93
92
- src/livepeer_ai/__init__.py
94
93
- src/livepeer_ai/_hooks/__init__.py
@@ -98,6 +97,7 @@ generatedFiles:
98
97
- src/livepeer_ai/basesdk.py
99
98
- src/livepeer_ai/generate.py
100
99
- src/livepeer_ai/httpclient.py
100
+ - src/livepeer_ai/models/__init__.py
101
101
- src/livepeer_ai/models/components/__init__.py
102
102
- src/livepeer_ai/models/components/apierror.py
103
103
- src/livepeer_ai/models/components/audioresponse.py
@@ -130,6 +130,9 @@ generatedFiles:
130
130
- src/livepeer_ai/models/errors/__init__.py
131
131
- src/livepeer_ai/models/errors/httperror.py
132
132
- src/livepeer_ai/models/errors/httpvalidationerror.py
133
+ - src/livepeer_ai/models/errors/livepeererror.py
134
+ - src/livepeer_ai/models/errors/no_response_error.py
135
+ - src/livepeer_ai/models/errors/responsevalidationerror.py
133
136
- src/livepeer_ai/models/errors/sdkerror.py
134
137
- src/livepeer_ai/models/operations/__init__.py
135
138
- src/livepeer_ai/models/operations/genaudiototext.py
@@ -149,6 +152,7 @@ generatedFiles:
149
152
- src/livepeer_ai/types/basemodel.py
150
153
- src/livepeer_ai/utils/__init__.py
151
154
- src/livepeer_ai/utils/annotations.py
155
+ - src/livepeer_ai/utils/datetimes.py
152
156
- src/livepeer_ai/utils/enums.py
153
157
- src/livepeer_ai/utils/eventstreaming.py
154
158
- src/livepeer_ai/utils/forms.py
@@ -160,6 +164,7 @@ generatedFiles:
160
164
- src/livepeer_ai/utils/retries.py
161
165
- src/livepeer_ai/utils/security.py
162
166
- src/livepeer_ai/utils/serializers.py
167
+ - src/livepeer_ai/utils/unmarshal_json_response.py
163
168
- src/livepeer_ai/utils/url.py
164
169
- src/livepeer_ai/utils/values.py
165
170
examples:
@@ -169,7 +174,7 @@ examples:
169
174
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}
170
175
responses:
171
176
"200":
172
- application/json: {"images": [{"url": "https://hateful-cruelty.name", "seed": 857392, "nsfw": true} ]}
177
+ application/json: {"images": []}
173
178
"400":
174
179
application/json: {"detail": {"msg": "<value>"}}
175
180
"422":
@@ -179,10 +184,10 @@ examples:
179
184
genImageToImage:
180
185
speakeasy-default-gen-image-to-image:
181
186
requestBody:
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}
187
+ 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}
183
188
responses:
184
189
"200":
185
- application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false} ]}
190
+ application/json: {"images": []}
186
191
"400":
187
192
application/json: {"detail": {"msg": "<value>"}}
188
193
"422":
@@ -192,10 +197,10 @@ examples:
192
197
genImageToVideo:
193
198
speakeasy-default-gen-image-to-video:
194
199
requestBody:
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}
200
+ 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}
196
201
responses:
197
202
"200":
198
- application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true} ]}
203
+ application/json: {"images": []}
199
204
"400":
200
205
application/json: {"detail": {"msg": "<value>"}}
201
206
"422":
@@ -205,10 +210,10 @@ examples:
205
210
genUpscale:
206
211
speakeasy-default-gen-upscale:
207
212
requestBody:
208
- multipart/form-data: {"prompt": "<value>", "image": {"": " x-file: example.file"} , "model_id": "", "safety_check": true, "num_inference_steps": 75}
213
+ multipart/form-data: {"prompt": "<value>", "image": " x-file: example.file", "model_id": "", "safety_check": true, "num_inference_steps": 75}
209
214
responses:
210
215
"200":
211
- application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false} ]}
216
+ application/json: {"images": []}
212
217
"400":
213
218
application/json: {"detail": {"msg": "<value>"}}
214
219
"422":
@@ -218,10 +223,10 @@ examples:
218
223
genAudioToText:
219
224
speakeasy-default-gen-audio-to-text:
220
225
requestBody:
221
- multipart/form-data: {"audio": {"": " x-file: example.file"} , "model_id": "", "return_timestamps": "true"}
226
+ multipart/form-data: {"audio": " x-file: example.file", "model_id": "", "return_timestamps": "true"}
222
227
responses:
223
228
"200":
224
- application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"} ]}
229
+ application/json: {"text": "<value>", "chunks": []}
225
230
"400":
226
231
application/json: {"detail": {"msg": "<value>"}}
227
232
"422":
@@ -231,7 +236,7 @@ examples:
231
236
genSegmentAnything2:
232
237
speakeasy-default-gen-segment-anything2:
233
238
requestBody:
234
- multipart/form-data: {"image": {"": " x-file: example.file"} , "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
239
+ multipart/form-data: {"image": " x-file: example.file", "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
235
240
responses:
236
241
"200":
237
242
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
@@ -244,10 +249,10 @@ examples:
244
249
genLLM:
245
250
speakeasy-default-gen-LLM:
246
251
requestBody:
247
- application/json: {"messages": [], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
252
+ application/json: {"messages": [{"role": "<value>", "content": "<value>"} ], "model": "", "temperature": 0.7, "max_tokens": 256, "top_p": 1, "top_k": -1, "stream": false}
248
253
responses:
249
254
"200":
250
- application/json: {"id": "<id>", "model": "Expedition ", "created": 755586 , "usage": {"prompt_tokens": 348799 , "completion_tokens": 332397 , "total_tokens": 528534 }, "choices": []}
255
+ application/json: {"id": "<id>", "model": "Explorer ", "created": 166063 , "usage": {"prompt_tokens": 213097 , "completion_tokens": 185693 , "total_tokens": 530500 }, "choices": []}
251
256
"400":
252
257
application/json: {"detail": {"msg": "<value>"}}
253
258
"422":
@@ -257,7 +262,7 @@ examples:
257
262
genImageToText:
258
263
speakeasy-default-gen-image-to-text:
259
264
requestBody:
260
- multipart/form-data: {"image": {"": " x-file: example.file"} , "prompt": "", "model_id": ""}
265
+ multipart/form-data: {"image": " x-file: example.file", "prompt": "", "model_id": ""}
261
266
responses:
262
267
"200":
263
268
application/json: {"text": "<value>"}
@@ -270,10 +275,10 @@ examples:
270
275
genLiveVideoToVideo:
271
276
speakeasy-default-gen-live-video-to-video:
272
277
requestBody:
273
- application/json: {"subscribe_url": "https://soulful-lava.org/ ", "publish_url": "https://vain-tabletop .biz", "control_url": "", "events_url": "", "model_id": ""}
278
+ application/json: {"subscribe_url": "https://soulful-finding.biz ", "publish_url": "https://monumental-representation .biz/ ", "control_url": "", "events_url": "", "model_id": "", "gateway_request_id": "", "manifest_id": "", "stream_id ": ""}
274
279
responses:
275
280
"200":
276
- application/json: {"subscribe_url": "https://vain-kiss.name ", "publish_url": "https://frail-duffel.com ", "control_url": "", "events_url": ""}
281
+ application/json: {"subscribe_url": "https://any-expense.com/ ", "publish_url": "https://early-abacus.org ", "control_url": "", "events_url": "", "request_id": "", "manifest_id ": ""}
277
282
"400":
278
283
application/json: {"detail": {"msg": "<value>"}}
279
284
"422":
@@ -286,12 +291,12 @@ examples:
286
291
application/json: {"model_id": "", "text": "", "description": "A male speaker delivers a slightly expressive and animated speech with a moderate speed and pitch."}
287
292
responses:
288
293
"200":
289
- application/json: {"audio": {"url": "https://accurate-parsnip .net/"}}
294
+ application/json: {"audio": {"url": "https://slushy-elevation .net/"}}
290
295
"400":
291
296
application/json: {"detail": {"msg": "<value>"}}
292
297
"422":
293
298
application/json: {}
294
299
"500":
295
300
application/json: {"detail": {"msg": "<value>"}}
296
- examplesVersion: 1.0.0
301
+ examplesVersion: 1.0.2
297
302
generatedTests: {}
0 commit comments