@leonardo-ai/sdk 2.2.1 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sdk/sdk.js
CHANGED
|
@@ -52,9 +52,9 @@ var SDKConfiguration = /** @class */ (function () {
|
|
|
52
52
|
function SDKConfiguration(init) {
|
|
53
53
|
this.language = "typescript";
|
|
54
54
|
this.openapiDocVersion = "v1.0.0";
|
|
55
|
-
this.sdkVersion = "2.
|
|
56
|
-
this.genVersion = "2.
|
|
57
|
-
this.userAgent = "speakeasy-sdk/typescript 2.
|
|
55
|
+
this.sdkVersion = "2.3.0";
|
|
56
|
+
this.genVersion = "2.225.0";
|
|
57
|
+
this.userAgent = "speakeasy-sdk/typescript 2.3.0 2.225.0 v1.0.0 @leonardo-ai/sdk";
|
|
58
58
|
Object.assign(this, init);
|
|
59
59
|
}
|
|
60
60
|
return SDKConfiguration;
|
|
@@ -30,7 +30,7 @@ Query parameters to be provided in the request body as a JSON object
|
|
|
30
30
|
| `photoReal` | *boolean* | :heavy_minus_sign: | Enable the photoReal feature. Requires enabling alchemy and unspecifying modelId. |
|
|
31
31
|
| `photoRealStrength` | *number* | :heavy_minus_sign: | Depth of field of photoReal. Must be 0.55 for low, 0.5 for medium, or 0.45 for high. Defaults to 0.55 if not specified. |
|
|
32
32
|
| `presetStyle` | [shared.SdGenerationStyle](../../../sdk/models/shared/sdgenerationstyle.md) | :heavy_minus_sign: | The style to generate images with. When photoReal is enabled, use CINEMATIC, CREATIVE, VIBRANT, or NONE. When alchemy is disabled, use LEONARDO or NONE. When alchemy is enabled, use ANIME, CREATIVE, DYNAMIC, ENVIRONMENT, GENERAL, ILLUSTRATION, PHOTOGRAPHY, RAYTRACED, RENDER_3D, SKETCH_BW, SKETCH_COLOR, or NONE. |
|
|
33
|
-
| `prompt` | *string* | :
|
|
33
|
+
| `prompt` | *string* | :heavy_check_mark: | The prompt used to generate images |
|
|
34
34
|
| `promptMagic` | *boolean* | :heavy_minus_sign: | Enable to use Prompt Magic. |
|
|
35
35
|
| `promptMagicStrength` | *number* | :heavy_minus_sign: | Strength of prompt magic. Must be a float between 0.1 and 1.0 |
|
|
36
36
|
| `promptMagicVersion` | *string* | :heavy_minus_sign: | Prompt magic version v2 or v3, for use when promptMagic: true |
|