11lockVersion: 2.0.0
22id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
33management:
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
1313features:
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
272297generatedTests: {}
0 commit comments