Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.451.7
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Dec 5, 2024
1 parent 3bec765 commit d278ed5
Show file tree
Hide file tree
Showing 40 changed files with 204 additions and 91 deletions.
12 changes: 7 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: edadaac9-e645-4ef4-a6c7-a1f73bc19385
management:
docChecksum: d083569ccca6b9d30c9dc29c78a5fd11
docChecksum: d6c4acafa723bb485bfcf1d95b96b12a
docVersion: v1.0.0
speakeasyVersion: 1.451.6
speakeasyVersion: 1.451.7
generationVersion: 2.471.2
releaseVersion: 4.19.1
configChecksum: e83238cee4121fbe16eee4f9ec9ed463
releaseVersion: 4.19.2
configChecksum: fac15ae01bfbf98ced059c3235e5cceb
repoURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk.git
repoSubDirectory: .
installationURL: https://github.com/Leonardo-Interactive/leonardo-ts-sdk
Expand Down Expand Up @@ -60,6 +60,7 @@ generatedFiles:
- docs/sdk/models/operations/createmodelresponse.md
- docs/sdk/models/operations/createmodelresponsebody.md
- docs/sdk/models/operations/createmodelsdtrainingoutput.md
- docs/sdk/models/operations/createmodelsdversions.md
- docs/sdk/models/operations/createsvdmotiongenerationrequestbody.md
- docs/sdk/models/operations/createsvdmotiongenerationresponse.md
- docs/sdk/models/operations/createsvdmotiongenerationresponsebody.md
Expand Down Expand Up @@ -196,6 +197,7 @@ generatedFiles:
- docs/sdk/models/operations/sdtrainingoutput.md
- docs/sdk/models/operations/sdunzoomoutput.md
- docs/sdk/models/operations/sdupscalejoboutput.md
- docs/sdk/models/operations/sdversions.md
- docs/sdk/models/operations/texturegenerationjoboutput.md
- docs/sdk/models/operations/transparencytype.md
- docs/sdk/models/operations/universalupscaleroutput.md
Expand Down Expand Up @@ -532,7 +534,7 @@ examples:
createElement:
speakeasy-default-create-element:
requestBody:
application/json: {"datasetId": "<id>", "instance_prompt": "<value>", "name": "<value>", "sd_version": "SDXL_LIGHTNING"}
application/json: {"datasetId": "<id>", "instance_prompt": "<value>", "name": "<value>", "sd_version": "KINO_XL"}
deleteElementById:
speakeasy-default-delete-element-by-id:
parameters:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.451.6
speakeasyVersion: 1.451.7
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:85d4ef7e7537e09ac0c8becf4358d8660ab014fc0a99b4c8e7b5e93cd8944b06
sourceBlobDigest: sha256:20434fbc8c9c507fa6574a2481206caedace67a9edb08cd910f18194607cbab0
sourceRevisionDigest: sha256:e61c9bd769671d31721a397a6dc11af48df0af191eeb4b20d303d9e7b0e36725
sourceBlobDigest: sha256:514f3d545689db2f031361e8716ed3cb79f29dbf010631044d3ac4017af02e36
tags:
- latest
- speakeasy-sdk-regen-1733368536
- speakeasy-sdk-regen-1733378551
- v1.0.0
targets:
leonardo-ts-sdk:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:85d4ef7e7537e09ac0c8becf4358d8660ab014fc0a99b4c8e7b5e93cd8944b06
sourceBlobDigest: sha256:20434fbc8c9c507fa6574a2481206caedace67a9edb08cd910f18194607cbab0
sourceRevisionDigest: sha256:e61c9bd769671d31721a397a6dc11af48df0af191eeb4b20d303d9e7b0e36725
sourceBlobDigest: sha256:514f3d545689db2f031361e8716ed3cb79f29dbf010631044d3ac4017af02e36
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:72270a2c427285abbf29071d248bfa1bd0a0b3eb40ce67f531f1249852d1f55f
codeSamplesRevisionDigest: sha256:f45cfb79c428616428c9acfd7e6017f74a02986f02d3b656404a46620e67a04f
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2509,4 +2509,14 @@ Based on:
### Generated
- [typescript v4.19.1] .
### Releases
- [NPM v4.19.1] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.1 - .
- [NPM v4.19.1] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.1 - .

## 2024-12-05 06:02:27
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.451.7 (2.471.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v4.19.2] .
### Releases
- [NPM v4.19.2] https://www.npmjs.com/package/@leonardo-ai/sdk/v/4.19.2 - .
29 changes: 13 additions & 16 deletions docs/sdk/models/operations/createelementrequestbody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,21 @@ Query parameters to be provided in the request body as a JSON object.

```typescript
import { CreateElementRequestBody } from "@leonardo-ai/sdk/sdk/models/operations";
import { SdVersions } from "@leonardo-ai/sdk/sdk/models/shared";

let value: CreateElementRequestBody = {
sdVersion: SdVersions.SdxlLightning,
};
let value: CreateElementRequestBody = {};
```

## Fields

| Field | Type | Required | Description |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `datasetId` | *string* | :heavy_minus_sign: | The ID of the dataset to train the element on. |
| `description` | *string* | :heavy_minus_sign: | The description of the element. |
| `instancePrompt` | *string* | :heavy_minus_sign: | The instance prompt to use during training. |
| `learningRate` | *number* | :heavy_minus_sign: | The speed of element learns. |
| `loraFocus` | *string* | :heavy_minus_sign: | The category determines how the element will be trained. Options are 'General' \| 'Character' \| 'Style' \| 'Object'. |
| `name` | *string* | :heavy_minus_sign: | The name of the element. |
| `numTrainEpochs` | *number* | :heavy_minus_sign: | The number of times the entire training dataset is passed through the element. |
| `resolution` | *number* | :heavy_minus_sign: | The resolution for training. Must be 1024. |
| `sdVersion` | [shared.SdVersions](../../../sdk/models/shared/sdversions.md) | :heavy_check_mark: | 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 |
| `trainTextEncoder` | *boolean* | :heavy_minus_sign: | Whether or not encode the train text. |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| `datasetId` | *string* | :heavy_minus_sign: | The ID of the dataset to train the element on. |
| `description` | *string* | :heavy_minus_sign: | The description of the element. |
| `instancePrompt` | *string* | :heavy_minus_sign: | The instance prompt to use during training.Try “a” by a noun. E.g. a castle |
| `learningRate` | *number* | :heavy_minus_sign: | The speed of element learns. |
| `loraFocus` | *string* | :heavy_minus_sign: | The category determines how the element will be trained. Options are 'General' \| 'Character' \| 'Style' \| 'Object'. |
| `name` | *string* | :heavy_minus_sign: | The name of the element. |
| `numTrainEpochs` | *number* | :heavy_minus_sign: | The number of times the entire training dataset is passed through the element. |
| `resolution` | *number* | :heavy_minus_sign: | The resolution for training. Must be 1024. |
| `sdVersion` | [operations.SdVersions](../../../sdk/models/operations/sdversions.md) | :heavy_minus_sign: | The base version of stable diffusion to use if not using a custom model. |
| `trainTextEncoder` | *boolean* | :heavy_minus_sign: | Whether or not encode the train text. |
Loading

0 comments on commit d278ed5

Please sign in to comment.