1
1
lockVersion: 2.0.0
2
2
id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
3
3
management:
4
- docChecksum: 5162ce13f49e729b6efa20dd5cdf32be
4
+ docChecksum: 6657dd3e876a909472f364dc1fe34d72
5
5
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
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.7.4
17
+ core: 5.10.7
18
18
defaultEnabledRetries: 0.2.0
19
19
envVarSecurityUsage: 0.3.2
20
20
globalSecurity: 3.0.2
@@ -32,7 +32,6 @@ generatedFiles:
32
32
- .gitattributes
33
33
- .python-version
34
34
- .vscode/settings.json
35
- - CONTRIBUTING.md
36
35
- USAGE.md
37
36
- docs/models/components/apierror.md
38
37
- docs/models/components/audio.md
@@ -54,9 +53,11 @@ generatedFiles:
54
53
- docs/models/components/imagetotextresponse.md
55
54
- docs/models/components/livevideotovideoparams.md
56
55
- docs/models/components/livevideotovideoresponse.md
56
+ - docs/models/components/llmchoice.md
57
57
- docs/models/components/llmmessage.md
58
58
- docs/models/components/llmrequest.md
59
59
- docs/models/components/llmresponse.md
60
+ - docs/models/components/llmtokenusage.md
60
61
- docs/models/components/loc.md
61
62
- docs/models/components/masksresponse.md
62
63
- docs/models/components/media.md
@@ -112,9 +113,11 @@ generatedFiles:
112
113
- src/livepeer_ai/models/components/imagetotextresponse.py
113
114
- src/livepeer_ai/models/components/livevideotovideoparams.py
114
115
- src/livepeer_ai/models/components/livevideotovideoresponse.py
116
+ - src/livepeer_ai/models/components/llmchoice.py
115
117
- src/livepeer_ai/models/components/llmmessage.py
116
118
- src/livepeer_ai/models/components/llmrequest.py
117
119
- src/livepeer_ai/models/components/llmresponse.py
120
+ - src/livepeer_ai/models/components/llmtokenusage.py
118
121
- src/livepeer_ai/models/components/masksresponse.py
119
122
- src/livepeer_ai/models/components/media.py
120
123
- src/livepeer_ai/models/components/mediaurl.py
@@ -163,110 +166,132 @@ examples:
163
166
genTextToImage:
164
167
speakeasy-default-gen-text-to-image:
165
168
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 }
167
170
responses:
168
171
"200":
169
- application/json: {"images": []}
172
+ application/json: {"images": [{"url": "https://hateful-cruelty.name", "seed": 857392, "nsfw": true} ]}
170
173
"400":
171
174
application/json: {"detail": {"msg": "<value>"}}
172
175
"422":
173
176
application/json: {}
177
+ "500":
178
+ application/json: {"detail": {"msg": "<value>"}}
174
179
genImageToImage:
175
180
speakeasy-default-gen-image-to-image:
176
181
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 }
178
183
responses:
179
184
"200":
180
- application/json: {"images": []}
185
+ application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false} ]}
181
186
"400":
182
187
application/json: {"detail": {"msg": "<value>"}}
183
188
"422":
184
189
application/json: {}
190
+ "500":
191
+ application/json: {"detail": {"msg": "<value>"}}
185
192
genImageToVideo:
186
193
speakeasy-default-gen-image-to-video:
187
194
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 }
189
196
responses:
190
197
"200":
191
- application/json: {"images": []}
198
+ application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true} ]}
192
199
"400":
193
200
application/json: {"detail": {"msg": "<value>"}}
194
201
"422":
195
202
application/json: {}
203
+ "500":
204
+ application/json: {"detail": {"msg": "<value>"}}
196
205
genUpscale:
197
206
speakeasy-default-gen-upscale:
198
207
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 }
200
209
responses:
201
210
"200":
202
- application/json: {"images": []}
211
+ application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false} ]}
203
212
"400":
204
213
application/json: {"detail": {"msg": "<value>"}}
205
214
"422":
206
215
application/json: {}
216
+ "500":
217
+ application/json: {"detail": {"msg": "<value>"}}
207
218
genAudioToText:
208
219
speakeasy-default-gen-audio-to-text:
209
220
requestBody:
210
- multipart/form-data: {"audio": {} }
221
+ multipart/form-data: {"audio": {"": "x-file: example.file"}, "model_id": "", "return_timestamps": "true" }
211
222
responses:
212
223
"200":
213
- application/json: {"text": "<value>", "chunks": []}
224
+ application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"} ]}
214
225
"400":
215
226
application/json: {"detail": {"msg": "<value>"}}
216
227
"422":
217
228
application/json: {}
229
+ "500":
230
+ application/json: {"detail": {"msg": "<value>"}}
218
231
genSegmentAnything2:
219
232
speakeasy-default-gen-segment-anything2:
220
233
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 }
222
235
responses:
223
236
"200":
224
237
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
225
238
"400":
226
239
application/json: {"detail": {"msg": "<value>"}}
227
240
"422":
228
241
application/json: {}
242
+ "500":
243
+ application/json: {"detail": {"msg": "<value>"}}
229
244
genLLM:
230
245
speakeasy-default-gen-LLM:
231
246
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}
234
248
responses:
235
249
"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 ": [] }
237
251
"400":
238
252
application/json: {"detail": {"msg": "<value>"}}
239
253
"422":
240
254
application/json: {}
255
+ "500":
256
+ application/json: {"detail": {"msg": "<value>"}}
241
257
genImageToText:
242
258
speakeasy-default-gen-image-to-text:
243
259
requestBody:
244
- multipart/form-data: {"image": {} }
260
+ multipart/form-data: {"image": {"": "x-file: example.file"}, "prompt": "", "model_id": "" }
245
261
responses:
246
262
"200":
247
263
application/json: {"text": "<value>"}
248
264
"400":
249
265
application/json: {"detail": {"msg": "<value>"}}
250
266
"422":
251
267
application/json: {}
268
+ "500":
269
+ application/json: {"detail": {"msg": "<value>"}}
252
270
genLiveVideoToVideo:
253
271
speakeasy-default-gen-live-video-to-video:
254
272
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": "" }
256
274
responses:
257
275
"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": "" }
259
277
"400":
260
278
application/json: {"detail": {"msg": "<value>"}}
261
279
"422":
262
280
application/json: {}
281
+ "500":
282
+ application/json: {"detail": {"msg": "<value>"}}
263
283
genTextToSpeech:
264
284
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."}
265
287
responses:
266
288
"200":
267
289
application/json: {"audio": {"url": "https://accurate-parsnip.net/"}}
268
290
"400":
269
291
application/json: {"detail": {"msg": "<value>"}}
270
292
"422":
271
293
application/json: {}
294
+ "500":
295
+ application/json: {"detail": {"msg": "<value>"}}
296
+ examplesVersion: 1.0.0
272
297
generatedTests: {}
0 commit comments