Skip to content

chore: 🐝 Update SDK - Generate 0.11.0 #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.speakeasy/temp/
.speakeasy/reports
# Speakeasy
.venv/
Expand Down
40 changes: 21 additions & 19 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
lockVersion: 2.0.0
id: 2d5dbf5a-62be-411a-9c7b-bc7b6dc79e13
management:
docChecksum: 6657dd3e876a909472f364dc1fe34d72
docVersion: 0.0.0
speakeasyVersion: 1.480.0
generationVersion: 2.499.0
releaseVersion: 0.10.0
configChecksum: 2b2d2389ee9ff1be5cd354baf7c62739
docChecksum: 2c2f35044e9904f5bbd8daec5eed8020
docVersion: 0.1.0
speakeasyVersion: 1.540.0
generationVersion: 2.593.3
releaseVersion: 0.11.0
configChecksum: 7dc5d91a976db7fc235765e2b9a611a9
repoURL: https://github.com/livepeer/livepeer-ai-python.git
installationURL: https://github.com/livepeer/livepeer-ai-python.git
published: true
features:
python:
additionalDependencies: 1.0.0
constsAndDefaults: 1.0.5
core: 5.10.7
core: 5.16.0
defaultEnabledRetries: 0.2.0
envVarSecurityUsage: 0.3.2
globalSecurity: 3.0.2
globalSecurity: 3.0.3
globalSecurityCallbacks: 1.0.0
globalSecurityFlattening: 1.0.0
globalServerURLs: 3.1.0
multipartFileContentType: 1.0.0
nameOverrides: 3.0.1
responseFormat: 1.0.1
retries: 3.0.2
sdkHooks: 1.0.0
sdkHooks: 1.0.1
unions: 3.0.4
uploadStreams: 1.0.0
generatedFiles:
Expand Down Expand Up @@ -88,7 +88,7 @@ generatedFiles:
- py.typed
- pylintrc
- pyproject.toml
- scripts/prepare-readme.py
- scripts/prepare_readme.py
- scripts/publish.sh
- src/livepeer_ai/__init__.py
- src/livepeer_ai/_hooks/__init__.py
Expand All @@ -98,6 +98,7 @@ generatedFiles:
- src/livepeer_ai/basesdk.py
- src/livepeer_ai/generate.py
- src/livepeer_ai/httpclient.py
- src/livepeer_ai/models/__init__.py
- src/livepeer_ai/models/components/__init__.py
- src/livepeer_ai/models/components/apierror.py
- src/livepeer_ai/models/components/audioresponse.py
Expand Down Expand Up @@ -149,6 +150,7 @@ generatedFiles:
- src/livepeer_ai/types/basemodel.py
- src/livepeer_ai/utils/__init__.py
- src/livepeer_ai/utils/annotations.py
- src/livepeer_ai/utils/datetimes.py
- src/livepeer_ai/utils/enums.py
- src/livepeer_ai/utils/eventstreaming.py
- src/livepeer_ai/utils/forms.py
Expand Down Expand Up @@ -179,7 +181,7 @@ examples:
genImageToImage:
speakeasy-default-gen-image-to-image:
requestBody:
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}
multipart/form-data: {"prompt": "<value>", "image": {}, "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}
responses:
"200":
application/json: {"images": [{"url": "https://selfish-operating.name/", "seed": 976514, "nsfw": false}]}
Expand All @@ -192,7 +194,7 @@ examples:
genImageToVideo:
speakeasy-default-gen-image-to-video:
requestBody:
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}
multipart/form-data: {"image": {}, "model_id": "", "height": 576, "width": 1024, "fps": 6, "motion_bucket_id": 127, "noise_aug_strength": 0.02, "safety_check": true, "num_inference_steps": 25}
responses:
"200":
application/json: {"images": [{"url": "https://low-handover.name/", "seed": 87160, "nsfw": true}]}
Expand All @@ -205,7 +207,7 @@ examples:
genUpscale:
speakeasy-default-gen-upscale:
requestBody:
multipart/form-data: {"prompt": "<value>", "image": {"": "x-file: example.file"}, "model_id": "", "safety_check": true, "num_inference_steps": 75}
multipart/form-data: {"prompt": "<value>", "image": {}, "model_id": "", "safety_check": true, "num_inference_steps": 75}
responses:
"200":
application/json: {"images": [{"url": "https://bogus-typewriter.net", "seed": 311567, "nsfw": false}]}
Expand All @@ -218,7 +220,7 @@ examples:
genAudioToText:
speakeasy-default-gen-audio-to-text:
requestBody:
multipart/form-data: {"audio": {"": "x-file: example.file"}, "model_id": "", "return_timestamps": "true"}
multipart/form-data: {"audio": {}, "model_id": "", "return_timestamps": "true"}
responses:
"200":
application/json: {"text": "<value>", "chunks": [{"timestamp": ["<value>", "<value>"], "text": "<value>"}, {"timestamp": [], "text": "<value>"}]}
Expand All @@ -231,7 +233,7 @@ examples:
genSegmentAnything2:
speakeasy-default-gen-segment-anything2:
requestBody:
multipart/form-data: {"image": {"": "x-file: example.file"}, "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
multipart/form-data: {"image": {}, "model_id": "", "multimask_output": true, "return_logits": true, "normalize_coords": true}
responses:
"200":
application/json: {"masks": "<value>", "scores": "<value>", "logits": "<value>"}
Expand All @@ -257,7 +259,7 @@ examples:
genImageToText:
speakeasy-default-gen-image-to-text:
requestBody:
multipart/form-data: {"image": {"": "x-file: example.file"}, "prompt": "", "model_id": ""}
multipart/form-data: {"image": {}, "prompt": "", "model_id": ""}
responses:
"200":
application/json: {"text": "<value>"}
Expand All @@ -270,10 +272,10 @@ examples:
genLiveVideoToVideo:
speakeasy-default-gen-live-video-to-video:
requestBody:
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": ""}
application/json: {"subscribe_url": "https://soulful-lava.org/", "publish_url": "https://vain-tabletop.biz", "control_url": "", "events_url": "", "model_id": "", "gateway_request_id": "", "stream_id": ""}
responses:
"200":
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": ""}
application/json: {"subscribe_url": "https://vain-kiss.name", "publish_url": "https://frail-duffel.com", "control_url": "", "events_url": "", "request_id": ""}
"400":
application/json: {"detail": {"msg": "<value>"}}
"422":
Expand All @@ -293,5 +295,5 @@ examples:
application/json: {}
"500":
application/json: {"detail": {"msg": "<value>"}}
examplesVersion: 1.0.0
examplesVersion: 1.0.1
generatedTests: {}
5 changes: 4 additions & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ generation:
useClassNamesForArrayFields: true
fixes:
nameResolutionDec2023: true
nameResolutionFeb2025: false
parameterOrderingFeb2024: true
requestResponseComponentNamesFeb2024: true
securityFeb2025: false
auth:
oAuth2ClientCredentialsEnabled: true
oAuth2PasswordEnabled: false
python:
version: 0.10.0
version: 0.11.0
additionalDependencies:
dev: {}
main: {}
Expand Down Expand Up @@ -44,5 +46,6 @@ python:
outputModelSuffix: output
packageName: livepeer-ai
projectUrls: {}
pytestTimeout: 0
responseFormat: envelope-http
templateVersion: v2
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
speakeasyVersion: 1.480.0
speakeasyVersion: 1.540.0
sources:
livepeer_ai-OAS:
sourceNamespace: livepeer-ai-oas
sourceRevisionDigest: sha256:0f47b792f474d38abc86f9276b065e4047dc61d6c0899a85a11008e48857db3a
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:15f6304e212f90547f92332965296a59c14f84ed9e4736ebce2164c62b72bc54
sourceBlobDigest: sha256:fe4da37cb00b561462984ee59b590fed7f004fee5572a4bcf2532371841e3dbd
tags:
- latest
- speakeasy-sdk-regen-1736900210
- 0.0.0
- speakeasy-sdk-regen-1739751486
- 0.1.0
targets:
livepeer-ai:
source: livepeer_ai-OAS
Expand All @@ -17,10 +17,10 @@ targets:
livepeer-ai-python:
source: livepeer_ai-OAS
sourceNamespace: livepeer-ai-oas
sourceRevisionDigest: sha256:0f47b792f474d38abc86f9276b065e4047dc61d6c0899a85a11008e48857db3a
sourceBlobDigest: sha256:7c0df39c1c5f0ffe580b63f5dc6cb0f81181f5361a80f63f41314cf81d0f3bf4
sourceRevisionDigest: sha256:15f6304e212f90547f92332965296a59c14f84ed9e4736ebce2164c62b72bc54
sourceBlobDigest: sha256:fe4da37cb00b561462984ee59b590fed7f004fee5572a4bcf2532371841e3dbd
codeSamplesNamespace: code-samples-python-livepeer-python
codeSamplesRevisionDigest: sha256:c8ec9be643b93d4a2f53b416df7270cf0cdb44cee849f5de6d2501edef3d2fa9
codeSamplesRevisionDigest: sha256:ce677d09f1652ce5139163c37beac29b0b390e8ef13b8c692b7888ed60b8c9a6
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
Loading