From 674c11205f00871585566231fdc6a1214d236826 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 6 Feb 2025 00:02:03 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.484.1 --- .speakeasy/gen.lock | 6 +++--- .speakeasy/workflow.lock | 12 +++++------ RELEASES.md | 12 ++++++++++- .../operations/creategenerationrequestbody.md | 2 +- .../createlcmgenerationrequestbody.md | 2 +- .../createtexturegenerationrequestbody.md | 20 +++++++++---------- .../getgenerationbyidgenerations.md | 2 +- .../getgenerationsbyuseridgenerations.md | 2 +- ...erationbyidmodelassettexturegenerations.md | 18 ++++++++--------- ...nsbymodelidmodelassettexturegenerations.md | 2 +- .../performalchemyupscalelcmrequestbody.md | 2 +- .../performinpaintinglcmrequestbody.md | 2 +- .../performinstantrefinerequestbody.md | 2 +- gen.yaml | 2 +- pyproject.toml | 2 +- src/leonardo_ai_sdk/_version.py | 4 ++-- .../models/operations/creategeneration.py | 2 ++ .../models/operations/createlcmgeneration.py | 2 ++ .../operations/createtexturegeneration.py | 2 ++ .../models/operations/getgenerationbyid.py | 2 ++ .../operations/getgenerationsbyuserid.py | 2 ++ .../operations/gettexturegenerationbyid.py | 2 ++ .../gettexturegenerationsbymodelid.py | 2 ++ .../operations/performalchemyupscalelcm.py | 2 ++ .../models/operations/performinpaintinglcm.py | 2 ++ .../models/operations/performinstantrefine.py | 2 ++ 26 files changed, 71 insertions(+), 41 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 14648d7..219d6b0 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: de81127b-e65c-4970-8911-8f8874953a42 management: - docChecksum: 65d7bbfa287d8b0ae819a912149b4cc9 + docChecksum: 4b74d250e4dae46c2d3e1dec7a2be5b9 docVersion: v1.0.0 speakeasyVersion: 1.484.1 generationVersion: 2.503.2 - releaseVersion: 6.4.1 - configChecksum: bc1fa3e1682cf0640b6fdd4f7a1c13de + releaseVersion: 6.4.2 + configChecksum: 20571038ba9710d2145083ee423fd79f repoURL: https://github.com/Leonardo-Interactive/leonardo-python-sdk.git repoSubDirectory: . installationURL: https://github.com/Leonardo-Interactive/leonardo-python-sdk.git diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ec2058f..e39de4e 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.484.1 sources: my-source: sourceNamespace: my-source - sourceRevisionDigest: sha256:82d43d3aac5c1f6ae958d46e349cf04142ff8be239fb28b860c3566b9c445dce - sourceBlobDigest: sha256:d316bf8c60bdf78923599d9b02fb7abd1612f69dac88bc22f43614c165dcee9a + sourceRevisionDigest: sha256:28c83462a3cf17c2932056d49f6cb31d024ff1836716ac5a4883b92da1cdcdb7 + sourceBlobDigest: sha256:4ead44bcaac5b14a8184f8fcc7512d53a00a5a029b3085c55d7eb331256f1dcc tags: - latest - - speakeasy-sdk-regen-1738737942 + - speakeasy-sdk-regen-1738800070 - v1.0.0 targets: leonardo-python-sdk: source: my-source sourceNamespace: my-source - sourceRevisionDigest: sha256:82d43d3aac5c1f6ae958d46e349cf04142ff8be239fb28b860c3566b9c445dce - sourceBlobDigest: sha256:d316bf8c60bdf78923599d9b02fb7abd1612f69dac88bc22f43614c165dcee9a + sourceRevisionDigest: sha256:28c83462a3cf17c2932056d49f6cb31d024ff1836716ac5a4883b92da1cdcdb7 + sourceBlobDigest: sha256:4ead44bcaac5b14a8184f8fcc7512d53a00a5a029b3085c55d7eb331256f1dcc codeSamplesNamespace: my-source-python-code-samples - codeSamplesRevisionDigest: sha256:5c88a85d178f5d0adf8d90832ec1685d9d4985edbbe49dad5d5a0f32d02f8a3d + codeSamplesRevisionDigest: sha256:496c7a0f7ad2322cc028537efce0e6f55d23c7e29546a62deb36a5c20ec85cb5 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 6fdd7dd..5c4ca01 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1306,4 +1306,14 @@ Based on: ### Generated - [python v6.4.1] . ### Releases -- [PyPI v6.4.1] https://pypi.org/project/Leonardo-Ai-SDK/6.4.1 - . \ No newline at end of file +- [PyPI v6.4.1] https://pypi.org/project/Leonardo-Ai-SDK/6.4.1 - . + +## 2025-02-06 00:00:56 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.484.1 (2.503.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v6.4.2] . +### Releases +- [PyPI v6.4.2] https://pypi.org/project/Leonardo-Ai-SDK/6.4.2 - . \ No newline at end of file diff --git a/docs/models/operations/creategenerationrequestbody.md b/docs/models/operations/creategenerationrequestbody.md index ae5a807..437460f 100644 --- a/docs/models/operations/creategenerationrequestbody.md +++ b/docs/models/operations/creategenerationrequestbody.md @@ -45,7 +45,7 @@ Query parameters to be provided in the request body as a JSON object | `public` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the generated images should show in the community feed. | | `scheduler` | [Optional[shared.SdGenerationSchedulers]](../../models/shared/sdgenerationschedulers.md) | :heavy_minus_sign: | The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. | | `sd_version` | [Optional[shared.SdVersions]](../../models/shared/sdversions.md) | :heavy_minus_sign: | 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. Also includes SDXL and SDXL Lightning models | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `tiling` | *OptionalNullable[bool]* | :heavy_minus_sign: | Whether the generated images should tile on all axis. | | `transparency` | [OptionalNullable[operations.TransparencyType]](../../models/operations/transparencytype.md) | :heavy_minus_sign: | Which type of transparency this image should use | | `ultra` | *OptionalNullable[bool]* | :heavy_minus_sign: | Enable to use Ultra mode. Note: can not be used with Alchemy. | diff --git a/docs/models/operations/createlcmgenerationrequestbody.md b/docs/models/operations/createlcmgenerationrequestbody.md index b304a32..a728c6b 100644 --- a/docs/models/operations/createlcmgenerationrequestbody.md +++ b/docs/models/operations/createlcmgenerationrequestbody.md @@ -12,7 +12,7 @@ Query parameters can also be provided in the request body as a JSON object | `guidance` | *OptionalNullable[float]* | :heavy_minus_sign: | How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. | | `height` | *OptionalNullable[int]* | :heavy_minus_sign: | The output width of the image. Must be 512, 640 or 1024. | | `request_timestamp` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of steps to use for the generation. Must be between 4 and 16. | | `strength` | *OptionalNullable[float]* | :heavy_minus_sign: | Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. | | `style` | [OptionalNullable[shared.LcmGenerationStyle]](../../models/shared/lcmgenerationstyle.md) | :heavy_minus_sign: | The style to generate LCM images with. | diff --git a/docs/models/operations/createtexturegenerationrequestbody.md b/docs/models/operations/createtexturegenerationrequestbody.md index db9a478..36aa9b0 100644 --- a/docs/models/operations/createtexturegenerationrequestbody.md +++ b/docs/models/operations/createtexturegenerationrequestbody.md @@ -5,13 +5,13 @@ Query parameters can also be provided in the request body as a JSON object ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `front_rotation_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `model_asset_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `negative_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `preview` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `preview_direction` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `sd_version` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `front_rotation_offset` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `model_asset_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `negative_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `preview` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `preview_direction` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sd_version` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | \ No newline at end of file diff --git a/docs/models/operations/getgenerationbyidgenerations.md b/docs/models/operations/getgenerationbyidgenerations.md index cee92df..7d5930f 100644 --- a/docs/models/operations/getgenerationbyidgenerations.md +++ b/docs/models/operations/getgenerationbyidgenerations.md @@ -28,6 +28,6 @@ columns and relationships of "generations" | `public` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `scheduler` | [Optional[shared.SdGenerationSchedulers]](../../models/shared/sdgenerationschedulers.md) | :heavy_minus_sign: | The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. | | `sd_version` | [Optional[shared.SdVersions]](../../models/shared/sdversions.md) | :heavy_minus_sign: | 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. Also includes SDXL and SDXL Lightning models | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `status` | [Optional[shared.JobStatus]](../../models/shared/jobstatus.md) | :heavy_minus_sign: | The status of the current task. | | `ultra` | *OptionalNullable[bool]* | :heavy_minus_sign: | If ultra generation mode was used. | \ No newline at end of file diff --git a/docs/models/operations/getgenerationsbyuseridgenerations.md b/docs/models/operations/getgenerationsbyuseridgenerations.md index a6b23b6..7768031 100644 --- a/docs/models/operations/getgenerationsbyuseridgenerations.md +++ b/docs/models/operations/getgenerationsbyuseridgenerations.md @@ -28,6 +28,6 @@ columns and relationships of "generations" | `public` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `scheduler` | [Optional[shared.SdGenerationSchedulers]](../../models/shared/sdgenerationschedulers.md) | :heavy_minus_sign: | The scheduler to generate images with. Defaults to EULER_DISCRETE if not specified. | | `sd_version` | [Optional[shared.SdVersions]](../../models/shared/sdversions.md) | :heavy_minus_sign: | 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. Also includes SDXL and SDXL Lightning models | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `status` | [Optional[shared.JobStatus]](../../models/shared/jobstatus.md) | :heavy_minus_sign: | The status of the current task. | | `ultra` | *OptionalNullable[bool]* | :heavy_minus_sign: | If ultra generation mode was used. | \ No newline at end of file diff --git a/docs/models/operations/gettexturegenerationbyidmodelassettexturegenerations.md b/docs/models/operations/gettexturegenerationbyidmodelassettexturegenerations.md index a9be2ce..5c6e5f7 100644 --- a/docs/models/operations/gettexturegenerationbyidmodelassettexturegenerations.md +++ b/docs/models/operations/gettexturegenerationbyidmodelassettexturegenerations.md @@ -5,12 +5,12 @@ columns and relationships of "model_asset_texture_generations" ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `created_at` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `model_asset_texture_images` | List[[operations.ModelAssetTextureImages](../../models/operations/modelassettextureimages.md)] | :heavy_minus_sign: | N/A | -| `negative_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `status` | [Optional[shared.JobStatus]](../../models/shared/jobstatus.md) | :heavy_minus_sign: | The status of the current task. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `created_at` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `model_asset_texture_images` | List[[operations.ModelAssetTextureImages](../../models/operations/modelassettextureimages.md)] | :heavy_minus_sign: | N/A | +| `negative_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | +| `status` | [Optional[shared.JobStatus]](../../models/shared/jobstatus.md) | :heavy_minus_sign: | The status of the current task. | \ No newline at end of file diff --git a/docs/models/operations/gettexturegenerationsbymodelidmodelassettexturegenerations.md b/docs/models/operations/gettexturegenerationsbymodelidmodelassettexturegenerations.md index c9db2c2..399bce6 100644 --- a/docs/models/operations/gettexturegenerationsbymodelidmodelassettexturegenerations.md +++ b/docs/models/operations/gettexturegenerationsbymodelidmodelassettexturegenerations.md @@ -12,5 +12,5 @@ columns and relationships of "model_asset_texture_generations" | `model_asset_texture_images` | List[[operations.GetTextureGenerationsByModelIDModelAssetTextureImages](../../models/operations/gettexturegenerationsbymodelidmodelassettextureimages.md)] | :heavy_minus_sign: | N/A | | `negative_prompt` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `prompt` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `status` | [Optional[shared.JobStatus]](../../models/shared/jobstatus.md) | :heavy_minus_sign: | The status of the current task. | \ No newline at end of file diff --git a/docs/models/operations/performalchemyupscalelcmrequestbody.md b/docs/models/operations/performalchemyupscalelcmrequestbody.md index d24dd90..4e44a5e 100644 --- a/docs/models/operations/performalchemyupscalelcmrequestbody.md +++ b/docs/models/operations/performalchemyupscalelcmrequestbody.md @@ -14,7 +14,7 @@ Query parameters can also be provided in the request body as a JSON object | `refine_creative` | *OptionalNullable[bool]* | :heavy_minus_sign: | Refine creative | | `refine_strength` | *OptionalNullable[float]* | :heavy_minus_sign: | Must be a float between 0.5 and 0.9. | | `request_timestamp` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of steps to use for the generation. Must be between 4 and 16. | | `strength` | *OptionalNullable[float]* | :heavy_minus_sign: | Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. | | `style` | [OptionalNullable[shared.LcmGenerationStyle]](../../models/shared/lcmgenerationstyle.md) | :heavy_minus_sign: | The style to generate LCM images with. | diff --git a/docs/models/operations/performinpaintinglcmrequestbody.md b/docs/models/operations/performinpaintinglcmrequestbody.md index e430421..5d4d86b 100644 --- a/docs/models/operations/performinpaintinglcmrequestbody.md +++ b/docs/models/operations/performinpaintinglcmrequestbody.md @@ -13,7 +13,7 @@ Query parameters can also be provided in the request body as a JSON object | `guidance` | *OptionalNullable[float]* | :heavy_minus_sign: | How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. | | `height` | *OptionalNullable[int]* | :heavy_minus_sign: | The output width of the image. Must be 512, 640 or 1024. | | `request_timestamp` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of steps to use for the generation. Must be between 4 and 16. | | `strength` | *OptionalNullable[float]* | :heavy_minus_sign: | Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. | | `style` | [OptionalNullable[shared.LcmGenerationStyle]](../../models/shared/lcmgenerationstyle.md) | :heavy_minus_sign: | The style to generate LCM images with. | diff --git a/docs/models/operations/performinstantrefinerequestbody.md b/docs/models/operations/performinstantrefinerequestbody.md index 9389b79..991da3b 100644 --- a/docs/models/operations/performinstantrefinerequestbody.md +++ b/docs/models/operations/performinstantrefinerequestbody.md @@ -12,7 +12,7 @@ Query parameters can also be provided in the request body as a JSON object | `guidance` | *OptionalNullable[float]* | :heavy_minus_sign: | How strongly the generation should reflect the prompt. Must be a float between 0.5 and 20. | | `height` | *OptionalNullable[int]* | :heavy_minus_sign: | The output width of the image. Must be 512, 640 or 1024. | | `request_timestamp` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `seed` | *OptionalNullable[int]* | :heavy_minus_sign: | Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models | | `steps` | *OptionalNullable[int]* | :heavy_minus_sign: | The number of steps to use for the generation. Must be between 4 and 16. | | `strength` | *OptionalNullable[float]* | :heavy_minus_sign: | Creativity strength of generation. Higher strength will deviate more from the original image supplied in imageDataUrl. Must be a float between 0.1 and 1. | | `style` | [OptionalNullable[shared.LcmGenerationStyle]](../../models/shared/lcmgenerationstyle.md) | :heavy_minus_sign: | The style to generate LCM images with. | diff --git a/gen.yaml b/gen.yaml index d6b5045..8a9e791 100644 --- a/gen.yaml +++ b/gen.yaml @@ -14,7 +14,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false python: - version: 6.4.1 + version: 6.4.2 additionalDependencies: dev: {} main: {} diff --git a/pyproject.toml b/pyproject.toml index 1c9d810..46dce6d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "Leonardo-Ai-SDK" -version = "6.4.1" +version = "6.4.2" description = "Leonardo AI Python Client SDK" authors = [{ name = "Leonardo-Ai" },] readme = "README-PYPI.md" diff --git a/src/leonardo_ai_sdk/_version.py b/src/leonardo_ai_sdk/_version.py index 7c76b9f..7ab0812 100644 --- a/src/leonardo_ai_sdk/_version.py +++ b/src/leonardo_ai_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "Leonardo-Ai-SDK" -__version__: str = "6.4.1" +__version__: str = "6.4.2" __openapi_doc_version__: str = "v1.0.0" __gen_version__: str = "2.503.2" -__user_agent__: str = "speakeasy-sdk/python 6.4.1 2.503.2 v1.0.0 Leonardo-Ai-SDK" +__user_agent__: str = "speakeasy-sdk/python 6.4.2 2.503.2 v1.0.0 Leonardo-Ai-SDK" try: if __package__ is not None: diff --git a/src/leonardo_ai_sdk/models/operations/creategeneration.py b/src/leonardo_ai_sdk/models/operations/creategeneration.py index c67d3c4..0660dc0 100644 --- a/src/leonardo_ai_sdk/models/operations/creategeneration.py +++ b/src/leonardo_ai_sdk/models/operations/creategeneration.py @@ -113,6 +113,7 @@ class CreateGenerationRequestBodyTypedDict(TypedDict): sd_version: NotRequired[shared_sd_versions.SdVersions] r"""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. Also includes SDXL and SDXL Lightning models""" seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" tiling: NotRequired[Nullable[bool]] r"""Whether the generated images should tile on all axis.""" transparency: NotRequired[Nullable[TransparencyType]] @@ -304,6 +305,7 @@ class CreateGenerationRequestBody(BaseModel): r"""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. Also includes SDXL and SDXL Lightning models""" seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" tiling: OptionalNullable[bool] = UNSET r"""Whether the generated images should tile on all axis.""" diff --git a/src/leonardo_ai_sdk/models/operations/createlcmgeneration.py b/src/leonardo_ai_sdk/models/operations/createlcmgeneration.py index d3984e2..d2b16a4 100644 --- a/src/leonardo_ai_sdk/models/operations/createlcmgeneration.py +++ b/src/leonardo_ai_sdk/models/operations/createlcmgeneration.py @@ -31,6 +31,7 @@ class CreateLCMGenerationRequestBodyTypedDict(TypedDict): r"""The output width of the image. Must be 512, 640 or 1024.""" request_timestamp: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: NotRequired[Nullable[int]] r"""The number of steps to use for the generation. Must be between 4 and 16.""" strength: NotRequired[Nullable[float]] @@ -61,6 +62,7 @@ class CreateLCMGenerationRequestBody(BaseModel): ] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: OptionalNullable[int] = UNSET r"""The number of steps to use for the generation. Must be between 4 and 16.""" diff --git a/src/leonardo_ai_sdk/models/operations/createtexturegeneration.py b/src/leonardo_ai_sdk/models/operations/createtexturegeneration.py index d064f16..b6ae816 100644 --- a/src/leonardo_ai_sdk/models/operations/createtexturegeneration.py +++ b/src/leonardo_ai_sdk/models/operations/createtexturegeneration.py @@ -26,6 +26,7 @@ class CreateTextureGenerationRequestBodyTypedDict(TypedDict): prompt: NotRequired[str] sd_version: NotRequired[Nullable[str]] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" class CreateTextureGenerationRequestBody(BaseModel): @@ -48,6 +49,7 @@ class CreateTextureGenerationRequestBody(BaseModel): sd_version: OptionalNullable[str] = UNSET seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/leonardo_ai_sdk/models/operations/getgenerationbyid.py b/src/leonardo_ai_sdk/models/operations/getgenerationbyid.py index f0be467..9f768e3 100644 --- a/src/leonardo_ai_sdk/models/operations/getgenerationbyid.py +++ b/src/leonardo_ai_sdk/models/operations/getgenerationbyid.py @@ -402,6 +402,7 @@ class GetGenerationByIDGenerationsTypedDict(TypedDict): sd_version: NotRequired[shared_sd_versions.SdVersions] r"""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. Also includes SDXL and SDXL Lightning models""" seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: NotRequired[shared_job_status.JobStatus] r"""The status of the current task.""" ultra: NotRequired[Nullable[bool]] @@ -485,6 +486,7 @@ class GetGenerationByIDGenerations(BaseModel): r"""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. Also includes SDXL and SDXL Lightning models""" seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: Optional[shared_job_status.JobStatus] = None r"""The status of the current task.""" diff --git a/src/leonardo_ai_sdk/models/operations/getgenerationsbyuserid.py b/src/leonardo_ai_sdk/models/operations/getgenerationsbyuserid.py index b8851c1..a713bd1 100644 --- a/src/leonardo_ai_sdk/models/operations/getgenerationsbyuserid.py +++ b/src/leonardo_ai_sdk/models/operations/getgenerationsbyuserid.py @@ -407,6 +407,7 @@ class GetGenerationsByUserIDGenerationsTypedDict(TypedDict): sd_version: NotRequired[shared_sd_versions.SdVersions] r"""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. Also includes SDXL and SDXL Lightning models""" seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: NotRequired[shared_job_status.JobStatus] r"""The status of the current task.""" ultra: NotRequired[Nullable[bool]] @@ -490,6 +491,7 @@ class GetGenerationsByUserIDGenerations(BaseModel): r"""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. Also includes SDXL and SDXL Lightning models""" seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: Optional[shared_job_status.JobStatus] = None r"""The status of the current task.""" diff --git a/src/leonardo_ai_sdk/models/operations/gettexturegenerationbyid.py b/src/leonardo_ai_sdk/models/operations/gettexturegenerationbyid.py index 7b105b2..3fa1177 100644 --- a/src/leonardo_ai_sdk/models/operations/gettexturegenerationbyid.py +++ b/src/leonardo_ai_sdk/models/operations/gettexturegenerationbyid.py @@ -160,6 +160,7 @@ class GetTextureGenerationByIDModelAssetTextureGenerationsTypedDict(TypedDict): negative_prompt: NotRequired[Nullable[str]] prompt: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: NotRequired[shared_job_status.JobStatus] r"""The status of the current task.""" @@ -180,6 +181,7 @@ class GetTextureGenerationByIDModelAssetTextureGenerations(BaseModel): prompt: Optional[str] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: Optional[shared_job_status.JobStatus] = None r"""The status of the current task.""" diff --git a/src/leonardo_ai_sdk/models/operations/gettexturegenerationsbymodelid.py b/src/leonardo_ai_sdk/models/operations/gettexturegenerationsbymodelid.py index 3e6800c..86d5da3 100644 --- a/src/leonardo_ai_sdk/models/operations/gettexturegenerationsbymodelid.py +++ b/src/leonardo_ai_sdk/models/operations/gettexturegenerationsbymodelid.py @@ -170,6 +170,7 @@ class GetTextureGenerationsByModelIDModelAssetTextureGenerationsTypedDict(TypedD negative_prompt: NotRequired[Nullable[str]] prompt: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: NotRequired[shared_job_status.JobStatus] r"""The status of the current task.""" @@ -192,6 +193,7 @@ class GetTextureGenerationsByModelIDModelAssetTextureGenerations(BaseModel): prompt: Optional[str] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" status: Optional[shared_job_status.JobStatus] = None r"""The status of the current task.""" diff --git a/src/leonardo_ai_sdk/models/operations/performalchemyupscalelcm.py b/src/leonardo_ai_sdk/models/operations/performalchemyupscalelcm.py index 0d10799..cafe907 100644 --- a/src/leonardo_ai_sdk/models/operations/performalchemyupscalelcm.py +++ b/src/leonardo_ai_sdk/models/operations/performalchemyupscalelcm.py @@ -35,6 +35,7 @@ class PerformAlchemyUpscaleLCMRequestBodyTypedDict(TypedDict): r"""Must be a float between 0.5 and 0.9.""" request_timestamp: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: NotRequired[Nullable[int]] r"""The number of steps to use for the generation. Must be between 4 and 16.""" strength: NotRequired[Nullable[float]] @@ -75,6 +76,7 @@ class PerformAlchemyUpscaleLCMRequestBody(BaseModel): ] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: OptionalNullable[int] = UNSET r"""The number of steps to use for the generation. Must be between 4 and 16.""" diff --git a/src/leonardo_ai_sdk/models/operations/performinpaintinglcm.py b/src/leonardo_ai_sdk/models/operations/performinpaintinglcm.py index 30a9729..1a074e8 100644 --- a/src/leonardo_ai_sdk/models/operations/performinpaintinglcm.py +++ b/src/leonardo_ai_sdk/models/operations/performinpaintinglcm.py @@ -33,6 +33,7 @@ class PerformInpaintingLCMRequestBodyTypedDict(TypedDict): r"""The output width of the image. Must be 512, 640 or 1024.""" request_timestamp: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: NotRequired[Nullable[int]] r"""The number of steps to use for the generation. Must be between 4 and 16.""" strength: NotRequired[Nullable[float]] @@ -66,6 +67,7 @@ class PerformInpaintingLCMRequestBody(BaseModel): ] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: OptionalNullable[int] = UNSET r"""The number of steps to use for the generation. Must be between 4 and 16.""" diff --git a/src/leonardo_ai_sdk/models/operations/performinstantrefine.py b/src/leonardo_ai_sdk/models/operations/performinstantrefine.py index 67361f0..b40e1de 100644 --- a/src/leonardo_ai_sdk/models/operations/performinstantrefine.py +++ b/src/leonardo_ai_sdk/models/operations/performinstantrefine.py @@ -31,6 +31,7 @@ class PerformInstantRefineRequestBodyTypedDict(TypedDict): r"""The output width of the image. Must be 512, 640 or 1024.""" request_timestamp: NotRequired[str] seed: NotRequired[Nullable[int]] + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: NotRequired[Nullable[int]] r"""The number of steps to use for the generation. Must be between 4 and 16.""" strength: NotRequired[Nullable[float]] @@ -61,6 +62,7 @@ class PerformInstantRefineRequestBody(BaseModel): ] = None seed: OptionalNullable[int] = UNSET + r"""Apply a fixed seed to maintain consistency across generation sets. The maximum seed value is 2147483637 for Flux and 9999999998 for other models""" steps: OptionalNullable[int] = UNSET r"""The number of steps to use for the generation. Must be between 4 and 16."""