Skip to content
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
821 changes: 385 additions & 436 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.704.0
speakeasyVersion: 1.773.1
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:9adb28712398fd6389599da638dbb6d9d2681d171505e1c84e1c6fd5d2a3be63
sourceBlobDigest: sha256:40e7a9b979438dc2368260414d20fbd7d4cfd2750887fe9032a4df9fbf985c6e
sourceRevisionDigest: sha256:647ef16641bdc7a49aec6ff81284cd31979dd60342401d83db43f94420cb52d2
sourceBlobDigest: sha256:c6349873571ffe3c2764ccd45a1415d12cda2f724a7ee0febf1a79948cf8a723
tags:
- latest
- speakeasy-sdk-regen-1758759959
- v1.0.0
targets:
leonardo-python-sdk:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:9adb28712398fd6389599da638dbb6d9d2681d171505e1c84e1c6fd5d2a3be63
sourceBlobDigest: sha256:40e7a9b979438dc2368260414d20fbd7d4cfd2750887fe9032a4df9fbf985c6e
sourceRevisionDigest: sha256:647ef16641bdc7a49aec6ff81284cd31979dd60342401d83db43f94420cb52d2
sourceBlobDigest: sha256:c6349873571ffe3c2764ccd45a1415d12cda2f724a7ee0febf1a79948cf8a723
codeSamplesNamespace: my-source-python-code-samples
codeSamplesRevisionDigest: sha256:985e853c3a0ea1b724a8cf51af04675e2d3fb44a0820656a3cd71a6a1344f9e6
codeSamplesRevisionDigest: sha256:2e6a88bd81c6057f60f10405cc654161b2511392f3cf1eb217b1d9756948f5bd
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
17 changes: 7 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,12 @@ asyncio.run(main())
* [upload_canvas_init_image](docs/sdks/initimages/README.md#upload_canvas_init_image) - Upload Canvas Editor init and mask image
* [upload_init_image](docs/sdks/initimages/README.md#upload_init_image) - Upload init image

### [Media](docs/sdks/media/README.md)

* [delete_uploaded_media_by_id](docs/sdks/media/README.md#delete_uploaded_media_by_id) - Delete uploaded media
* [get_uploaded_media_by_id](docs/sdks/media/README.md#get_uploaded_media_by_id) - Get uploaded media
* [upload_media](docs/sdks/media/README.md#upload_media) - Upload media

### [Models](docs/sdks/models/README.md)

* [create_model](docs/sdks/models/README.md#create_model) - Train a Custom Model
Expand All @@ -279,9 +285,7 @@ asyncio.run(main())
### [Motion](docs/sdks/motion/README.md)

* [create_image_to_video_generation](docs/sdks/motion/README.md#create_image_to_video_generation) - Create a video generation from an image
* [create_svd_motion_generation](docs/sdks/motion/README.md#create_svd_motion_generation) - Create SVD Motion Generation
* [create_text_to_video_generation](docs/sdks/motion/README.md#create_text_to_video_generation) - Create a video generation from a text prompt
* [create_video_upscale](docs/sdks/motion/README.md#create_video_upscale) - Upscale a generated video

### [PricingCalculator](docs/sdks/pricingcalculator/README.md)

Expand All @@ -299,13 +303,6 @@ asyncio.run(main())
* [perform_inpainting_lcm](docs/sdks/realtimecanvas/README.md#perform_inpainting_lcm) - Perform inpainting on a LCM image
* [perform_instant_refine](docs/sdks/realtimecanvas/README.md#perform_instant_refine) - Perform instant refine on a LCM image

### [Texture](docs/sdks/texture/README.md)

* [create_texture_generation](docs/sdks/texture/README.md#create_texture_generation) - Create Texture Generation
* [delete_texture_generation_by_id](docs/sdks/texture/README.md#delete_texture_generation_by_id) - Delete Texture Generation by ID
* [get_texture_generation_by_id](docs/sdks/texture/README.md#get_texture_generation_by_id) - Get Texture Generation by ID
* [get_texture_generations_by_model_id](docs/sdks/texture/README.md#get_texture_generations_by_model_id) - Get texture generations by 3D Model ID

### [User](docs/sdks/user/README.md)

* [get_user_self](docs/sdks/user/README.md#get_user_self) - Get user information
Expand Down Expand Up @@ -535,7 +532,7 @@ with LeonardoAiSDK(


**Inherit from [`LeonardoAiSDKError`](./src/leonardo_ai_sdk/models/errors/leonardoaisdkerror.py)**:
* [`ExecuteBlueprintResponseBody`](./src/leonardo_ai_sdk/models/errors/executeblueprintresponsebody.py): Bad Request - Invalid input type or missing required GraphQL field. Status code `400`. Applicable to 1 of 55 methods.*
* [`ExecuteBlueprintResponseBody`](./src/leonardo_ai_sdk/models/errors/executeblueprintresponsebody.py): Bad Request - Invalid input type or missing required GraphQL field. Status code `400`. Applicable to 1 of 52 methods.*
* [`ResponseValidationError`](./src/leonardo_ai_sdk/models/errors/responsevalidationerror.py): Type mismatch between the response data and the expected Pydantic model. Provides access to the Pydantic validation error via the `cause` attribute.

</details>
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1336,4 +1336,14 @@ Based on:
### Generated
- [python v7.0.0] .
### Releases
- [PyPI v7.0.0] https://pypi.org/project/Leonardo-Ai-SDK/7.0.0 - .
- [PyPI v7.0.0] https://pypi.org/project/Leonardo-Ai-SDK/7.0.0 - .

## 2026-06-09 00:58:46
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.773.1 (2.897.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v7.1.0] .
### Releases
- [PyPI v7.1.0] https://pypi.org/project/Leonardo-Ai-SDK/7.1.0 - .
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The resolution of the output video. Acceptable values vary based on model

## Example Usage

```python
from leonardo_ai_sdk.models.operations import CreateImageToVideoGenerationMotionString

value = CreateImageToVideoGenerationMotionString.RESOLUTION_480
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/createimagetovideogenerationstring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The model to use for the video generation. Defaults to MOTION2 if not specified.

## Example Usage

```python
from leonardo_ai_sdk.models.operations import CreateImageToVideoGenerationString

value = CreateImageToVideoGenerationString.MOTION2
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/createmodelsdversions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The base version of stable diffusion to use if not using a custom model. v1_5 is 1.5, v2 is 2.1, if not specified it will default to v1_5.

## Example Usage

```python
from leonardo_ai_sdk.models.operations import CreateModelSdVersions

value = CreateModelSdVersions.V1_5
```


## Values

Expand Down
14 changes: 0 additions & 14 deletions docs/models/operations/createsvdmotiongenerationrequestbody.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/models/operations/createsvdmotiongenerationresponse.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/models/operations/createsvdmotiongenerationresponsebody.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The resolution of the output video. Acceptable values vary based on model

## Example Usage

```python
from leonardo_ai_sdk.models.operations import CreateTextToVideoGenerationMotionString

value = CreateTextToVideoGenerationMotionString.RESOLUTION_480
```


## Values

Expand Down
8 changes: 8 additions & 0 deletions docs/models/operations/createtexttovideogenerationstring.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The model to use for the video generation. Defaults to MOTION2 if not specified.

## Example Usage

```python
from leonardo_ai_sdk.models.operations import CreateTextToVideoGenerationString

value = CreateTextToVideoGenerationString.MOTION2
```


## Values

Expand Down
Loading
Loading