@scenario-labs/sdk 0.1.3 → 0.2.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/CHANGELOG.md +23 -0
- package/LICENSE +1 -1
- package/README.md +29 -29
- package/client.d.mts +35 -18
- package/client.d.mts.map +1 -1
- package/client.d.ts +35 -18
- package/client.d.ts.map +1 -1
- package/client.js +88 -50
- package/client.js.map +1 -1
- package/client.mjs +86 -48
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -2
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -2
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -2
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/index.d.mts +8 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +8 -3
- package/index.d.ts.map +1 -1
- package/index.js +16 -6
- package/index.js.map +1 -1
- package/index.mjs +7 -3
- package/index.mjs.map +1 -1
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -2
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/request-options.d.mts +4 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +4 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/shims.js +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +4 -4
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/lib/generate.d.mts +19 -0
- package/lib/generate.d.mts.map +1 -0
- package/lib/generate.d.ts +19 -0
- package/lib/generate.d.ts.map +1 -0
- package/lib/generate.js +35 -0
- package/lib/generate.js.map +1 -0
- package/lib/generate.mjs +31 -0
- package/lib/generate.mjs.map +1 -0
- package/lib/job.d.mts +48 -0
- package/lib/job.d.mts.map +1 -0
- package/lib/job.d.ts +48 -0
- package/lib/job.d.ts.map +1 -0
- package/lib/job.js +50 -0
- package/lib/job.js.map +1 -0
- package/lib/job.mjs +45 -0
- package/lib/job.mjs.map +1 -0
- package/lib/models.d.mts +20 -0
- package/lib/models.d.mts.map +1 -0
- package/lib/models.d.ts +20 -0
- package/lib/models.d.ts.map +1 -0
- package/lib/models.js +28 -0
- package/lib/models.js.map +1 -0
- package/lib/models.mjs +23 -0
- package/lib/models.mjs.map +1 -0
- package/lib/scenario.d.mts +39 -0
- package/lib/scenario.d.mts.map +1 -0
- package/lib/scenario.d.ts +39 -0
- package/lib/scenario.d.ts.map +1 -0
- package/lib/scenario.js +46 -0
- package/lib/scenario.js.map +1 -0
- package/lib/scenario.mjs +42 -0
- package/lib/scenario.mjs.map +1 -0
- package/lib/workflow.d.mts +48 -0
- package/lib/workflow.d.mts.map +1 -0
- package/lib/workflow.d.ts +48 -0
- package/lib/workflow.d.ts.map +1 -0
- package/lib/workflow.js +59 -0
- package/lib/workflow.js.map +1 -0
- package/lib/workflow.mjs +54 -0
- package/lib/workflow.mjs.map +1 -0
- package/package.json +13 -3
- package/resources/assets/assets.d.mts +401 -96
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +401 -96
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +2 -2
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +2 -2
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/index.d.mts +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.js.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/assets/public.d.mts +30 -27
- package/resources/assets/public.d.mts.map +1 -1
- package/resources/assets/public.d.ts +30 -27
- package/resources/assets/public.d.ts.map +1 -1
- package/resources/assets/public.js +2 -2
- package/resources/assets/public.js.map +1 -1
- package/resources/assets/public.mjs +2 -2
- package/resources/assets/public.mjs.map +1 -1
- package/resources/collections/assets.d.mts +2 -8
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts +2 -8
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.js +2 -2
- package/resources/collections/assets.js.map +1 -1
- package/resources/collections/assets.mjs +2 -2
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts +5 -5
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts +5 -5
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.js.map +1 -1
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts +2 -2
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts +2 -2
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.js.map +1 -1
- package/resources/collections/index.mjs +2 -2
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts +2 -8
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts +2 -8
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.js +2 -2
- package/resources/collections/models.js.map +1 -1
- package/resources/collections/models.mjs +2 -2
- package/resources/collections/models.mjs.map +1 -1
- package/resources/generate.d.mts +4188 -1370
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +4188 -1370
- package/resources/generate.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +943 -33
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +943 -33
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.js +3 -2
- package/resources/jobs.js.map +1 -1
- package/resources/jobs.mjs +3 -2
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +8 -8
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +8 -8
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +640 -34
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +640 -34
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/models.d.mts +1323 -301
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +1323 -301
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +718 -90
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +718 -90
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.js +9 -4
- package/resources/models/train.js.map +1 -1
- package/resources/models/train.mjs +9 -4
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts +2 -2
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts +2 -2
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/search.d.mts +6 -31
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +6 -31
- package/resources/search.d.ts.map +1 -1
- package/resources/search.js +6 -2
- package/resources/search.js.map +1 -1
- package/resources/search.mjs +6 -2
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts +1 -1
- package/resources/tags.d.ts +1 -1
- package/resources/usages.d.mts +401 -16
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +401 -16
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +2738 -101
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +2738 -101
- package/resources/workflows.d.ts.map +1 -1
- package/src/client.ts +102 -44
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +8 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/request-options.ts +2 -0
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/lib/generate.ts +77 -0
- package/src/lib/job.ts +78 -0
- package/src/lib/models.ts +27 -0
- package/src/lib/scenario.ts +39 -0
- package/src/lib/workflow.ts +90 -0
- package/src/resources/assets/assets.ts +742 -212
- package/src/resources/assets/index.ts +0 -1
- package/src/resources/assets/public.ts +151 -29
- package/src/resources/collections/assets.ts +2 -14
- package/src/resources/collections/collections.ts +3 -5
- package/src/resources/collections/index.ts +2 -14
- package/src/resources/collections/models.ts +2 -14
- package/src/resources/generate.ts +6254 -2217
- package/src/resources/index.ts +2 -3
- package/src/resources/jobs.ts +1355 -26
- package/src/resources/models/description.ts +50 -8
- package/src/resources/models/examples.ts +906 -56
- package/src/resources/models/models.ts +1867 -330
- package/src/resources/models/train.ts +976 -98
- package/src/resources/models/training-images.ts +2 -2
- package/src/resources/search.ts +13 -39
- package/src/resources/tags.ts +1 -1
- package/src/resources/usages.ts +544 -11
- package/src/resources/workflows.ts +4586 -914
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -27,7 +27,7 @@ export declare class Assets extends APIResource {
|
|
|
27
27
|
/**
|
|
28
28
|
* Delete multiple assets
|
|
29
29
|
*/
|
|
30
|
-
deleteMultiple(
|
|
30
|
+
deleteMultiple(options?: RequestOptions): APIPromise<unknown>;
|
|
31
31
|
/**
|
|
32
32
|
* Duplicate an asset
|
|
33
33
|
*/
|
|
@@ -110,7 +110,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
110
110
|
/**
|
|
111
111
|
* source of the asset
|
|
112
112
|
*/
|
|
113
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
113
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
114
114
|
/**
|
|
115
115
|
* The actual status
|
|
116
116
|
*/
|
|
@@ -203,7 +203,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
203
203
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
204
204
|
* from a text to image model
|
|
205
205
|
*/
|
|
206
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
206
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
207
207
|
/**
|
|
208
208
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
209
209
|
*/
|
|
@@ -225,7 +225,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
225
225
|
/**
|
|
226
226
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
227
227
|
*/
|
|
228
|
-
bbox?: Array<
|
|
228
|
+
bbox?: Array<number>;
|
|
229
229
|
/**
|
|
230
230
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
231
231
|
*/
|
|
@@ -407,7 +407,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
407
407
|
/**
|
|
408
408
|
* The type of the generator used
|
|
409
409
|
*/
|
|
410
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
410
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
411
411
|
name?: string;
|
|
412
412
|
nbMasks?: number;
|
|
413
413
|
/**
|
|
@@ -446,7 +446,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
446
446
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
447
447
|
* for object.
|
|
448
448
|
*/
|
|
449
|
-
points?: Array<Array<
|
|
449
|
+
points?: Array<Array<number>>;
|
|
450
450
|
/**
|
|
451
451
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
452
452
|
*/
|
|
@@ -513,7 +513,8 @@ export declare namespace AssetRetrieveResponse {
|
|
|
513
513
|
*/
|
|
514
514
|
scheduler?: string;
|
|
515
515
|
/**
|
|
516
|
-
* The seed used to generate this asset
|
|
516
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
517
|
+
* cases <!>.
|
|
517
518
|
*/
|
|
518
519
|
seed?: string;
|
|
519
520
|
/**
|
|
@@ -665,7 +666,7 @@ export declare namespace AssetRetrieveResponse {
|
|
|
665
666
|
/**
|
|
666
667
|
* Bounding box dimensions [width, height, depth]
|
|
667
668
|
*/
|
|
668
|
-
dimensions?: Array<
|
|
669
|
+
dimensions?: Array<number>;
|
|
669
670
|
/**
|
|
670
671
|
* Duration of the media in seconds
|
|
671
672
|
*/
|
|
@@ -816,7 +817,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
816
817
|
/**
|
|
817
818
|
* source of the asset
|
|
818
819
|
*/
|
|
819
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
820
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
820
821
|
/**
|
|
821
822
|
* The actual status
|
|
822
823
|
*/
|
|
@@ -909,7 +910,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
909
910
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
910
911
|
* from a text to image model
|
|
911
912
|
*/
|
|
912
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
913
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
913
914
|
/**
|
|
914
915
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
915
916
|
*/
|
|
@@ -931,7 +932,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
931
932
|
/**
|
|
932
933
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
933
934
|
*/
|
|
934
|
-
bbox?: Array<
|
|
935
|
+
bbox?: Array<number>;
|
|
935
936
|
/**
|
|
936
937
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
937
938
|
*/
|
|
@@ -1113,7 +1114,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
1113
1114
|
/**
|
|
1114
1115
|
* The type of the generator used
|
|
1115
1116
|
*/
|
|
1116
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
1117
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
1117
1118
|
name?: string;
|
|
1118
1119
|
nbMasks?: number;
|
|
1119
1120
|
/**
|
|
@@ -1152,7 +1153,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
1152
1153
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
1153
1154
|
* for object.
|
|
1154
1155
|
*/
|
|
1155
|
-
points?: Array<Array<
|
|
1156
|
+
points?: Array<Array<number>>;
|
|
1156
1157
|
/**
|
|
1157
1158
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
1158
1159
|
*/
|
|
@@ -1219,7 +1220,8 @@ export declare namespace AssetUpdateResponse {
|
|
|
1219
1220
|
*/
|
|
1220
1221
|
scheduler?: string;
|
|
1221
1222
|
/**
|
|
1222
|
-
* The seed used to generate this asset
|
|
1223
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
1224
|
+
* cases <!>.
|
|
1223
1225
|
*/
|
|
1224
1226
|
seed?: string;
|
|
1225
1227
|
/**
|
|
@@ -1371,7 +1373,7 @@ export declare namespace AssetUpdateResponse {
|
|
|
1371
1373
|
/**
|
|
1372
1374
|
* Bounding box dimensions [width, height, depth]
|
|
1373
1375
|
*/
|
|
1374
|
-
dimensions?: Array<
|
|
1376
|
+
dimensions?: Array<number>;
|
|
1375
1377
|
/**
|
|
1376
1378
|
* Duration of the media in seconds
|
|
1377
1379
|
*/
|
|
@@ -1526,7 +1528,7 @@ export declare namespace AssetListResponse {
|
|
|
1526
1528
|
/**
|
|
1527
1529
|
* source of the asset
|
|
1528
1530
|
*/
|
|
1529
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
1531
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
1530
1532
|
/**
|
|
1531
1533
|
* The actual status
|
|
1532
1534
|
*/
|
|
@@ -1619,7 +1621,7 @@ export declare namespace AssetListResponse {
|
|
|
1619
1621
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
1620
1622
|
* from a text to image model
|
|
1621
1623
|
*/
|
|
1622
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
1624
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
1623
1625
|
/**
|
|
1624
1626
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
1625
1627
|
*/
|
|
@@ -1641,7 +1643,7 @@ export declare namespace AssetListResponse {
|
|
|
1641
1643
|
/**
|
|
1642
1644
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
1643
1645
|
*/
|
|
1644
|
-
bbox?: Array<
|
|
1646
|
+
bbox?: Array<number>;
|
|
1645
1647
|
/**
|
|
1646
1648
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
1647
1649
|
*/
|
|
@@ -1823,7 +1825,7 @@ export declare namespace AssetListResponse {
|
|
|
1823
1825
|
/**
|
|
1824
1826
|
* The type of the generator used
|
|
1825
1827
|
*/
|
|
1826
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
1828
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
1827
1829
|
name?: string;
|
|
1828
1830
|
nbMasks?: number;
|
|
1829
1831
|
/**
|
|
@@ -1862,7 +1864,7 @@ export declare namespace AssetListResponse {
|
|
|
1862
1864
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
1863
1865
|
* for object.
|
|
1864
1866
|
*/
|
|
1865
|
-
points?: Array<Array<
|
|
1867
|
+
points?: Array<Array<number>>;
|
|
1866
1868
|
/**
|
|
1867
1869
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
1868
1870
|
*/
|
|
@@ -1929,7 +1931,8 @@ export declare namespace AssetListResponse {
|
|
|
1929
1931
|
*/
|
|
1930
1932
|
scheduler?: string;
|
|
1931
1933
|
/**
|
|
1932
|
-
* The seed used to generate this asset
|
|
1934
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
1935
|
+
* cases <!>.
|
|
1933
1936
|
*/
|
|
1934
1937
|
seed?: string;
|
|
1935
1938
|
/**
|
|
@@ -2081,7 +2084,7 @@ export declare namespace AssetListResponse {
|
|
|
2081
2084
|
/**
|
|
2082
2085
|
* Bounding box dimensions [width, height, depth]
|
|
2083
2086
|
*/
|
|
2084
|
-
dimensions?: Array<
|
|
2087
|
+
dimensions?: Array<number>;
|
|
2085
2088
|
/**
|
|
2086
2089
|
* Duration of the media in seconds
|
|
2087
2090
|
*/
|
|
@@ -2233,7 +2236,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2233
2236
|
/**
|
|
2234
2237
|
* source of the asset
|
|
2235
2238
|
*/
|
|
2236
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
2239
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
2237
2240
|
/**
|
|
2238
2241
|
* The actual status
|
|
2239
2242
|
*/
|
|
@@ -2326,7 +2329,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2326
2329
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
2327
2330
|
* from a text to image model
|
|
2328
2331
|
*/
|
|
2329
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
2332
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
2330
2333
|
/**
|
|
2331
2334
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
2332
2335
|
*/
|
|
@@ -2348,7 +2351,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2348
2351
|
/**
|
|
2349
2352
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
2350
2353
|
*/
|
|
2351
|
-
bbox?: Array<
|
|
2354
|
+
bbox?: Array<number>;
|
|
2352
2355
|
/**
|
|
2353
2356
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
2354
2357
|
*/
|
|
@@ -2530,7 +2533,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2530
2533
|
/**
|
|
2531
2534
|
* The type of the generator used
|
|
2532
2535
|
*/
|
|
2533
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
2536
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
2534
2537
|
name?: string;
|
|
2535
2538
|
nbMasks?: number;
|
|
2536
2539
|
/**
|
|
@@ -2569,7 +2572,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2569
2572
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
2570
2573
|
* for object.
|
|
2571
2574
|
*/
|
|
2572
|
-
points?: Array<Array<
|
|
2575
|
+
points?: Array<Array<number>>;
|
|
2573
2576
|
/**
|
|
2574
2577
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
2575
2578
|
*/
|
|
@@ -2636,7 +2639,8 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2636
2639
|
*/
|
|
2637
2640
|
scheduler?: string;
|
|
2638
2641
|
/**
|
|
2639
|
-
* The seed used to generate this asset
|
|
2642
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
2643
|
+
* cases <!>.
|
|
2640
2644
|
*/
|
|
2641
2645
|
seed?: string;
|
|
2642
2646
|
/**
|
|
@@ -2788,7 +2792,7 @@ export declare namespace AssetDuplicateResponse {
|
|
|
2788
2792
|
/**
|
|
2789
2793
|
* Bounding box dimensions [width, height, depth]
|
|
2790
2794
|
*/
|
|
2791
|
-
dimensions?: Array<
|
|
2795
|
+
dimensions?: Array<number>;
|
|
2792
2796
|
/**
|
|
2793
2797
|
* Duration of the media in seconds
|
|
2794
2798
|
*/
|
|
@@ -2939,7 +2943,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
2939
2943
|
/**
|
|
2940
2944
|
* source of the asset
|
|
2941
2945
|
*/
|
|
2942
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
2946
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
2943
2947
|
/**
|
|
2944
2948
|
* The actual status
|
|
2945
2949
|
*/
|
|
@@ -3032,7 +3036,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3032
3036
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
3033
3037
|
* from a text to image model
|
|
3034
3038
|
*/
|
|
3035
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
3039
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
3036
3040
|
/**
|
|
3037
3041
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
3038
3042
|
*/
|
|
@@ -3054,7 +3058,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3054
3058
|
/**
|
|
3055
3059
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
3056
3060
|
*/
|
|
3057
|
-
bbox?: Array<
|
|
3061
|
+
bbox?: Array<number>;
|
|
3058
3062
|
/**
|
|
3059
3063
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
3060
3064
|
*/
|
|
@@ -3236,7 +3240,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3236
3240
|
/**
|
|
3237
3241
|
* The type of the generator used
|
|
3238
3242
|
*/
|
|
3239
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
3243
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
3240
3244
|
name?: string;
|
|
3241
3245
|
nbMasks?: number;
|
|
3242
3246
|
/**
|
|
@@ -3275,7 +3279,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3275
3279
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
3276
3280
|
* for object.
|
|
3277
3281
|
*/
|
|
3278
|
-
points?: Array<Array<
|
|
3282
|
+
points?: Array<Array<number>>;
|
|
3279
3283
|
/**
|
|
3280
3284
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
3281
3285
|
*/
|
|
@@ -3342,7 +3346,8 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3342
3346
|
*/
|
|
3343
3347
|
scheduler?: string;
|
|
3344
3348
|
/**
|
|
3345
|
-
* The seed used to generate this asset
|
|
3349
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
3350
|
+
* cases <!>.
|
|
3346
3351
|
*/
|
|
3347
3352
|
seed?: string;
|
|
3348
3353
|
/**
|
|
@@ -3494,7 +3499,7 @@ export declare namespace AssetGetBulkResponse {
|
|
|
3494
3499
|
/**
|
|
3495
3500
|
* Bounding box dimensions [width, height, depth]
|
|
3496
3501
|
*/
|
|
3497
|
-
dimensions?: Array<
|
|
3502
|
+
dimensions?: Array<number>;
|
|
3498
3503
|
/**
|
|
3499
3504
|
* Duration of the media in seconds
|
|
3500
3505
|
*/
|
|
@@ -3664,7 +3669,7 @@ export declare namespace AssetLockResponse {
|
|
|
3664
3669
|
/**
|
|
3665
3670
|
* source of the asset
|
|
3666
3671
|
*/
|
|
3667
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
3672
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
3668
3673
|
/**
|
|
3669
3674
|
* The actual status
|
|
3670
3675
|
*/
|
|
@@ -3757,7 +3762,7 @@ export declare namespace AssetLockResponse {
|
|
|
3757
3762
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
3758
3763
|
* from a text to image model
|
|
3759
3764
|
*/
|
|
3760
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
3765
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
3761
3766
|
/**
|
|
3762
3767
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
3763
3768
|
*/
|
|
@@ -3779,7 +3784,7 @@ export declare namespace AssetLockResponse {
|
|
|
3779
3784
|
/**
|
|
3780
3785
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
3781
3786
|
*/
|
|
3782
|
-
bbox?: Array<
|
|
3787
|
+
bbox?: Array<number>;
|
|
3783
3788
|
/**
|
|
3784
3789
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
3785
3790
|
*/
|
|
@@ -3961,7 +3966,7 @@ export declare namespace AssetLockResponse {
|
|
|
3961
3966
|
/**
|
|
3962
3967
|
* The type of the generator used
|
|
3963
3968
|
*/
|
|
3964
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
3969
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
3965
3970
|
name?: string;
|
|
3966
3971
|
nbMasks?: number;
|
|
3967
3972
|
/**
|
|
@@ -4000,7 +4005,7 @@ export declare namespace AssetLockResponse {
|
|
|
4000
4005
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
4001
4006
|
* for object.
|
|
4002
4007
|
*/
|
|
4003
|
-
points?: Array<Array<
|
|
4008
|
+
points?: Array<Array<number>>;
|
|
4004
4009
|
/**
|
|
4005
4010
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
4006
4011
|
*/
|
|
@@ -4067,7 +4072,8 @@ export declare namespace AssetLockResponse {
|
|
|
4067
4072
|
*/
|
|
4068
4073
|
scheduler?: string;
|
|
4069
4074
|
/**
|
|
4070
|
-
* The seed used to generate this asset
|
|
4075
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
4076
|
+
* cases <!>.
|
|
4071
4077
|
*/
|
|
4072
4078
|
seed?: string;
|
|
4073
4079
|
/**
|
|
@@ -4219,7 +4225,7 @@ export declare namespace AssetLockResponse {
|
|
|
4219
4225
|
/**
|
|
4220
4226
|
* Bounding box dimensions [width, height, depth]
|
|
4221
4227
|
*/
|
|
4222
|
-
dimensions?: Array<
|
|
4228
|
+
dimensions?: Array<number>;
|
|
4223
4229
|
/**
|
|
4224
4230
|
* Duration of the media in seconds
|
|
4225
4231
|
*/
|
|
@@ -4370,7 +4376,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4370
4376
|
/**
|
|
4371
4377
|
* source of the asset
|
|
4372
4378
|
*/
|
|
4373
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
4379
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
4374
4380
|
/**
|
|
4375
4381
|
* The actual status
|
|
4376
4382
|
*/
|
|
@@ -4463,7 +4469,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4463
4469
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
4464
4470
|
* from a text to image model
|
|
4465
4471
|
*/
|
|
4466
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
4472
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
4467
4473
|
/**
|
|
4468
4474
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
4469
4475
|
*/
|
|
@@ -4485,7 +4491,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4485
4491
|
/**
|
|
4486
4492
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
4487
4493
|
*/
|
|
4488
|
-
bbox?: Array<
|
|
4494
|
+
bbox?: Array<number>;
|
|
4489
4495
|
/**
|
|
4490
4496
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
4491
4497
|
*/
|
|
@@ -4667,7 +4673,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4667
4673
|
/**
|
|
4668
4674
|
* The type of the generator used
|
|
4669
4675
|
*/
|
|
4670
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
4676
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
4671
4677
|
name?: string;
|
|
4672
4678
|
nbMasks?: number;
|
|
4673
4679
|
/**
|
|
@@ -4706,7 +4712,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4706
4712
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
4707
4713
|
* for object.
|
|
4708
4714
|
*/
|
|
4709
|
-
points?: Array<Array<
|
|
4715
|
+
points?: Array<Array<number>>;
|
|
4710
4716
|
/**
|
|
4711
4717
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
4712
4718
|
*/
|
|
@@ -4773,7 +4779,8 @@ export declare namespace AssetUnlockResponse {
|
|
|
4773
4779
|
*/
|
|
4774
4780
|
scheduler?: string;
|
|
4775
4781
|
/**
|
|
4776
|
-
* The seed used to generate this asset
|
|
4782
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
4783
|
+
* cases <!>.
|
|
4777
4784
|
*/
|
|
4778
4785
|
seed?: string;
|
|
4779
4786
|
/**
|
|
@@ -4925,7 +4932,7 @@ export declare namespace AssetUnlockResponse {
|
|
|
4925
4932
|
/**
|
|
4926
4933
|
* Bounding box dimensions [width, height, depth]
|
|
4927
4934
|
*/
|
|
4928
|
-
dimensions?: Array<
|
|
4935
|
+
dimensions?: Array<number>;
|
|
4929
4936
|
/**
|
|
4930
4937
|
* Duration of the media in seconds
|
|
4931
4938
|
*/
|
|
@@ -5087,7 +5094,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5087
5094
|
/**
|
|
5088
5095
|
* source of the asset
|
|
5089
5096
|
*/
|
|
5090
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
5097
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-control-net' | 'inference-control-net-img' | 'inference-control-net-inpainting' | 'inference-control-net-inpainting-ip-adapter' | 'inference-control-net-ip-adapter' | 'inference-control-net-reference' | 'inference-control-net-texture' | 'inference-img' | 'inference-img-ip-adapter' | 'inference-img-texture' | 'inference-in-paint' | 'inference-in-paint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt' | 'inference-txt-ip-adapter' | 'inference-txt-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture:albedo' | 'texture:ao' | 'texture:edge' | 'texture:height' | 'texture:metallic' | 'texture:normal' | 'texture:smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
5091
5098
|
/**
|
|
5092
5099
|
* The actual status
|
|
5093
5100
|
*/
|
|
@@ -5180,7 +5187,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5180
5187
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
5181
5188
|
* from a text to image model
|
|
5182
5189
|
*/
|
|
5183
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video2img' | 'video2video';
|
|
5190
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2video' | 'inference-controlnet' | 'inference-controlnet-img2img' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-reference' | 'inference-controlnet-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'patch' | 'pixelization' | 'reframe' | 'restyle' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'texture' | 'texture-albedo' | 'texture-ao' | 'texture-edge' | 'texture-height' | 'texture-metallic' | 'texture-normal' | 'texture-smoothness' | 'txt23d' | 'txt2audio' | 'txt2img' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2img' | 'video2video' | 'voice-clone';
|
|
5184
5191
|
/**
|
|
5185
5192
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
5186
5193
|
*/
|
|
@@ -5202,7 +5209,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5202
5209
|
/**
|
|
5203
5210
|
* A bounding box around the object of interest, in the format [x1, y1, x2, y2].
|
|
5204
5211
|
*/
|
|
5205
|
-
bbox?: Array<
|
|
5212
|
+
bbox?: Array<number>;
|
|
5206
5213
|
/**
|
|
5207
5214
|
* Remove small dark spots (i.e. “pepper”) and connect small bright cracks.
|
|
5208
5215
|
*/
|
|
@@ -5384,7 +5391,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5384
5391
|
/**
|
|
5385
5392
|
* The type of the generator used
|
|
5386
5393
|
*/
|
|
5387
|
-
modelType?: 'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora';
|
|
5394
|
+
modelType?: 'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora';
|
|
5388
5395
|
name?: string;
|
|
5389
5396
|
nbMasks?: number;
|
|
5390
5397
|
/**
|
|
@@ -5423,7 +5430,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5423
5430
|
* List of points (label, x, y) in the image where label = 0 for background and 1
|
|
5424
5431
|
* for object.
|
|
5425
5432
|
*/
|
|
5426
|
-
points?: Array<Array<
|
|
5433
|
+
points?: Array<Array<number>>;
|
|
5427
5434
|
/**
|
|
5428
5435
|
* How polished is the surface? 0 is like a rough surface, 1 is like a mirror
|
|
5429
5436
|
*/
|
|
@@ -5490,7 +5497,8 @@ export declare namespace AssetUploadResponse {
|
|
|
5490
5497
|
*/
|
|
5491
5498
|
scheduler?: string;
|
|
5492
5499
|
/**
|
|
5493
|
-
* The seed used to generate this asset
|
|
5500
|
+
* The seed used to generate this asset. <!> Can be a string or a number in some
|
|
5501
|
+
* cases <!>.
|
|
5494
5502
|
*/
|
|
5495
5503
|
seed?: string;
|
|
5496
5504
|
/**
|
|
@@ -5642,7 +5650,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5642
5650
|
/**
|
|
5643
5651
|
* Bounding box dimensions [width, height, depth]
|
|
5644
5652
|
*/
|
|
5645
|
-
dimensions?: Array<
|
|
5653
|
+
dimensions?: Array<number>;
|
|
5646
5654
|
/**
|
|
5647
5655
|
* Duration of the media in seconds
|
|
5648
5656
|
*/
|
|
@@ -5751,7 +5759,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5751
5759
|
/**
|
|
5752
5760
|
* The type of job
|
|
5753
5761
|
*/
|
|
5754
|
-
jobType: 'assets-download' | 'canvas-export' | 'caption' | 'caption-llava' | 'custom' | 'describe-style' | 'detection' | 'embed' | 'flux' | 'flux-model-training' | 'generate-prompt' | 'image-generation' | 'image-prompt-editing' | 'inference' | 'mesh-preview-rendering' | 'model-download' | 'model-import' | 'model-training' | 'openai-image-generation' | 'patch-image' | 'pixelate' | 'reframe' | 'remove-background' | 'repaint' | 'restyle' | 'segment' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'skybox-upscale-360' | 'texture' | 'translate' | 'upload' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'vectorize' | 'workflow';
|
|
5762
|
+
jobType: 'assets-download' | 'canvas-export' | 'caption' | 'caption-llava' | 'custom' | 'describe-style' | 'detection' | 'embed' | 'flux' | 'flux-model-training' | 'generate-prompt' | 'image-generation' | 'image-prompt-editing' | 'inference' | 'mesh-preview-rendering' | 'model-download' | 'model-import' | 'model-training' | 'musubi-model-training' | 'openai-image-generation' | 'patch-image' | 'pixelate' | 'reframe' | 'remove-background' | 'repaint' | 'restyle' | 'segment' | 'skybox-3d' | 'skybox-base-360' | 'skybox-hdri' | 'skybox-upscale-360' | 'texture' | 'translate' | 'upload' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'vectorize' | 'workflow';
|
|
5755
5763
|
/**
|
|
5756
5764
|
* Metadata of the job with some additional information
|
|
5757
5765
|
*/
|
|
@@ -5795,18 +5803,36 @@ export declare namespace AssetUploadResponse {
|
|
|
5795
5803
|
* List of produced assets for this job
|
|
5796
5804
|
*/
|
|
5797
5805
|
assetIds?: Array<string>;
|
|
5806
|
+
/**
|
|
5807
|
+
* Eventual error for the job
|
|
5808
|
+
*/
|
|
5809
|
+
error?: string | null;
|
|
5798
5810
|
/**
|
|
5799
5811
|
* The flow of the job. Only available for workflow jobs.
|
|
5800
5812
|
*/
|
|
5801
5813
|
flow?: Array<Metadata.Flow>;
|
|
5814
|
+
/**
|
|
5815
|
+
* Actionable hint for the user explaining what went wrong and how to resolve it.
|
|
5816
|
+
*/
|
|
5817
|
+
hint?: string;
|
|
5802
5818
|
/**
|
|
5803
5819
|
* The inputs for the job
|
|
5804
5820
|
*/
|
|
5805
|
-
input?:
|
|
5821
|
+
input?: {
|
|
5822
|
+
[key: string]: unknown;
|
|
5823
|
+
};
|
|
5806
5824
|
/**
|
|
5807
|
-
*
|
|
5825
|
+
* May contain the output of the job for specific custom models jobs. Only
|
|
5826
|
+
* available for custom models which generate non-assets outputs. Example: LLM text
|
|
5827
|
+
* results.
|
|
5808
5828
|
*/
|
|
5809
|
-
output?:
|
|
5829
|
+
output?: {
|
|
5830
|
+
[key: string]: unknown;
|
|
5831
|
+
};
|
|
5832
|
+
/**
|
|
5833
|
+
* For voice-clone jobs: the ID of the model being trained.
|
|
5834
|
+
*/
|
|
5835
|
+
outputModelId?: string;
|
|
5810
5836
|
/**
|
|
5811
5837
|
* The workflow ID of the job if job is part of a workflow.
|
|
5812
5838
|
*/
|
|
@@ -5829,20 +5855,45 @@ export declare namespace AssetUploadResponse {
|
|
|
5829
5855
|
/**
|
|
5830
5856
|
* The type of the job for the node.
|
|
5831
5857
|
*/
|
|
5832
|
-
type: 'custom-model' | 'generate-prompt' | 'logic' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
|
|
5858
|
+
type: 'custom-model' | 'for-each' | 'generate-prompt' | 'list' | 'logic' | 'model' | 'remove-background' | 'transform' | 'user-approval' | 'workflow';
|
|
5833
5859
|
/**
|
|
5834
5860
|
* List of produced assets for this node.
|
|
5835
5861
|
*/
|
|
5836
5862
|
assets?: Array<Flow.Asset>;
|
|
5863
|
+
/**
|
|
5864
|
+
* Fixed number of iterations for a ForEach node. When set, the loop runs exactly
|
|
5865
|
+
* `count` times regardless of array input. When not set, the loop iterates over
|
|
5866
|
+
* the resolved array input. Only available for ForEach nodes.
|
|
5867
|
+
*/
|
|
5868
|
+
count?: number;
|
|
5837
5869
|
/**
|
|
5838
5870
|
* The nodes that this node depends on. Only available for nodes that have
|
|
5839
5871
|
* dependencies. Mainly used for user approval nodes.
|
|
5840
5872
|
*/
|
|
5841
5873
|
dependsOn?: Array<string>;
|
|
5874
|
+
/**
|
|
5875
|
+
* If true, the outputs of this node will be included in the workflow job's final
|
|
5876
|
+
* output. Only applicable to producing nodes (custom-model, inference, etc.). By
|
|
5877
|
+
* default, only last nodes (nodes not referenced by other nodes) contribute to
|
|
5878
|
+
* outputs. Set this to true to also include intermediate nodes in the final
|
|
5879
|
+
* output. Note: This should only be set to `true` or left undefined.
|
|
5880
|
+
*/
|
|
5881
|
+
includeOutputsInWorkflowJob?: true;
|
|
5842
5882
|
/**
|
|
5843
5883
|
* The inputs of the node.
|
|
5844
5884
|
*/
|
|
5845
5885
|
inputs?: Array<Flow.Input>;
|
|
5886
|
+
/**
|
|
5887
|
+
* Statically-configured items for a List node. The node outputs this array as-is
|
|
5888
|
+
* when executed. Only available for List nodes. The values can be strings,
|
|
5889
|
+
* numbers, or asset IDs.
|
|
5890
|
+
*/
|
|
5891
|
+
items?: Array<string>;
|
|
5892
|
+
/**
|
|
5893
|
+
* Zero-based index of the iteration this node copy belongs to. Set on
|
|
5894
|
+
* dynamically-created copies of loop body nodes.
|
|
5895
|
+
*/
|
|
5896
|
+
iterationIndex?: number;
|
|
5846
5897
|
/**
|
|
5847
5898
|
* If the flow is part of a WorkflowJob, this is the jobId for the node. jobId is
|
|
5848
5899
|
* only available for nodes started. A node "Pending" for a running workflow job is
|
|
@@ -5857,10 +5908,25 @@ export declare namespace AssetUploadResponse {
|
|
|
5857
5908
|
* The type of the logic for the node. Only available for logic nodes.
|
|
5858
5909
|
*/
|
|
5859
5910
|
logicType?: 'if-else';
|
|
5911
|
+
/**
|
|
5912
|
+
* IDs of the body template nodes that belong to this ForEach loop. At runtime
|
|
5913
|
+
* these templates are cloned once per iteration and marked Skipped. Only available
|
|
5914
|
+
* for ForEach nodes.
|
|
5915
|
+
*/
|
|
5916
|
+
loopBodyNodeIds?: Array<string>;
|
|
5917
|
+
/**
|
|
5918
|
+
* ID of the ForEach node that spawned this iteration copy. Set on
|
|
5919
|
+
* dynamically-created copies of loop body nodes.
|
|
5920
|
+
*/
|
|
5921
|
+
loopNodeId?: string;
|
|
5860
5922
|
/**
|
|
5861
5923
|
* The model id for the node. Mainly used for custom model tasks.
|
|
5862
5924
|
*/
|
|
5863
5925
|
modelId?: string;
|
|
5926
|
+
/**
|
|
5927
|
+
* The output of the node. Only available for logic nodes.
|
|
5928
|
+
*/
|
|
5929
|
+
output?: unknown;
|
|
5864
5930
|
/**
|
|
5865
5931
|
* The workflow id for the node. Mainly used for workflow tasks.
|
|
5866
5932
|
*/
|
|
@@ -5902,6 +5968,10 @@ export declare namespace AssetUploadResponse {
|
|
|
5902
5968
|
* Whether this input affects the model's cost calculation
|
|
5903
5969
|
*/
|
|
5904
5970
|
costImpact?: boolean;
|
|
5971
|
+
/**
|
|
5972
|
+
* The default value for the input
|
|
5973
|
+
*/
|
|
5974
|
+
default?: unknown;
|
|
5905
5975
|
/**
|
|
5906
5976
|
* Help text displayed in the UI to provide additional information about the input
|
|
5907
5977
|
*/
|
|
@@ -5920,10 +5990,20 @@ export declare namespace AssetUploadResponse {
|
|
|
5920
5990
|
* the same as the current object. This is only available for type inputs_array
|
|
5921
5991
|
* inputs.
|
|
5922
5992
|
*/
|
|
5923
|
-
inputs?: Array<
|
|
5993
|
+
inputs?: Array<{
|
|
5994
|
+
[key: string]: unknown;
|
|
5995
|
+
}>;
|
|
5996
|
+
/**
|
|
5997
|
+
* The configured items for inputs_array type inputs. Each item is an array of
|
|
5998
|
+
* SubNodeInput that need ref/value resolution. Only available for inputs_array
|
|
5999
|
+
* type.
|
|
6000
|
+
*/
|
|
6001
|
+
items?: Array<Array<Input.Item>>;
|
|
5924
6002
|
/**
|
|
5925
6003
|
* The asset kind of the input. Only taken into account for \`file\` and
|
|
5926
|
-
* \`file_array\` input types.
|
|
6004
|
+
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
6005
|
+
* not able to create the asset on the flight on API side with dataurl without
|
|
6006
|
+
* data:kind, prefix
|
|
5927
6007
|
*/
|
|
5928
6008
|
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
5929
6009
|
/**
|
|
@@ -5944,6 +6024,12 @@ export declare namespace AssetUploadResponse {
|
|
|
5944
6024
|
* \`string_array\`.
|
|
5945
6025
|
*/
|
|
5946
6026
|
maxLength?: number;
|
|
6027
|
+
/**
|
|
6028
|
+
* The maximum allowed file size in bytes. Only applies to \`file\` and
|
|
6029
|
+
* \`file_array\` input types. Validated against \`asset.properties.size\` at job
|
|
6030
|
+
* creation time.
|
|
6031
|
+
*/
|
|
6032
|
+
maxSize?: number;
|
|
5947
6033
|
/**
|
|
5948
6034
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
5949
6035
|
*/
|
|
@@ -5957,7 +6043,7 @@ export declare namespace AssetUploadResponse {
|
|
|
5957
6043
|
* The allowed model types for this input. Example: \`["flux.1-lora"]\`. Only
|
|
5958
6044
|
* available for \`model_array\` input type.
|
|
5959
6045
|
*/
|
|
5960
|
-
modelTypes?: Array<'custom' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux1.1-pro' | 'gpt-image-1' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora'>;
|
|
6046
|
+
modelTypes?: Array<'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora'>;
|
|
5961
6047
|
/**
|
|
5962
6048
|
* Whether this input represents a parent asset to assign to the produced assets.
|
|
5963
6049
|
* Only available for \`file\` and \`file_array\` input types.
|
|
@@ -6001,8 +6087,232 @@ export declare namespace AssetUploadResponse {
|
|
|
6001
6087
|
* The step increment for numeric inputs. Only available for \`number\` input type.
|
|
6002
6088
|
*/
|
|
6003
6089
|
step?: number;
|
|
6090
|
+
/**
|
|
6091
|
+
* The value of the input. This is the value of the input that will be used to run
|
|
6092
|
+
* the node. Only available for flows managed by a WorkflowJob.
|
|
6093
|
+
*/
|
|
6094
|
+
value?: unknown;
|
|
6004
6095
|
}
|
|
6005
6096
|
namespace Input {
|
|
6097
|
+
/**
|
|
6098
|
+
* A sub-input within an inputs_array item. Same as NodeInput but without the
|
|
6099
|
+
* recursive items field.
|
|
6100
|
+
*/
|
|
6101
|
+
interface Item {
|
|
6102
|
+
/**
|
|
6103
|
+
* The name that must be user to call the model through the API
|
|
6104
|
+
*/
|
|
6105
|
+
name: string;
|
|
6106
|
+
/**
|
|
6107
|
+
* The data type of the input
|
|
6108
|
+
*/
|
|
6109
|
+
type: 'boolean' | 'file' | 'file_array' | 'inputs_array' | 'model' | 'model_array' | 'number' | 'number_array' | 'string' | 'string_array';
|
|
6110
|
+
/**
|
|
6111
|
+
* The allowed values for the input. For \`string\` or \`number\` types, creates a
|
|
6112
|
+
* single-select dropdown. For \`string_array\` type, creates a multi-select
|
|
6113
|
+
* dropdown.
|
|
6114
|
+
*/
|
|
6115
|
+
allowedValues?: Array<unknown>;
|
|
6116
|
+
/**
|
|
6117
|
+
* Specifies the background behavior for the input. Only available for \`file\` and
|
|
6118
|
+
* \`file_array\` input types with kind \`image\`.
|
|
6119
|
+
*/
|
|
6120
|
+
backgroundBehavior?: 'opaque' | 'transparent';
|
|
6121
|
+
/**
|
|
6122
|
+
* Whether the input is a color or not. Only available for \`string\` input type.
|
|
6123
|
+
*/
|
|
6124
|
+
color?: boolean;
|
|
6125
|
+
/**
|
|
6126
|
+
* Whether this input affects the model's cost calculation
|
|
6127
|
+
*/
|
|
6128
|
+
costImpact?: boolean;
|
|
6129
|
+
/**
|
|
6130
|
+
* The default value for the input
|
|
6131
|
+
*/
|
|
6132
|
+
default?: unknown;
|
|
6133
|
+
/**
|
|
6134
|
+
* Help text displayed in the UI to provide additional information about the input
|
|
6135
|
+
*/
|
|
6136
|
+
description?: string;
|
|
6137
|
+
/**
|
|
6138
|
+
* Used to visually group inputs together in the UI. Inputs with the same group
|
|
6139
|
+
* value appear consecutively in the UI.
|
|
6140
|
+
*/
|
|
6141
|
+
group?: string;
|
|
6142
|
+
/**
|
|
6143
|
+
* Hint text displayed in the UI as a tooltip to guide the user
|
|
6144
|
+
*/
|
|
6145
|
+
hint?: string;
|
|
6146
|
+
/**
|
|
6147
|
+
* The list of inputs which form an object within a container array. All inputs are
|
|
6148
|
+
* the same as the current object. This is only available for type inputs_array
|
|
6149
|
+
* inputs.
|
|
6150
|
+
*/
|
|
6151
|
+
inputs?: Array<{
|
|
6152
|
+
[key: string]: unknown;
|
|
6153
|
+
}>;
|
|
6154
|
+
/**
|
|
6155
|
+
* The asset kind of the input. Only taken into account for \`file\` and
|
|
6156
|
+
* \`file_array\` input types. If model provides multiple kinds, the input will be
|
|
6157
|
+
* not able to create the asset on the flight on API side with dataurl without
|
|
6158
|
+
* data:kind, prefix
|
|
6159
|
+
*/
|
|
6160
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
6161
|
+
/**
|
|
6162
|
+
* The label displayed in the UI for this input
|
|
6163
|
+
*/
|
|
6164
|
+
label?: string;
|
|
6165
|
+
/**
|
|
6166
|
+
* The name of the file input field to use as the mask source
|
|
6167
|
+
*/
|
|
6168
|
+
maskFrom?: string;
|
|
6169
|
+
/**
|
|
6170
|
+
* The maximum allowed value. Only available for \`number\` and \`array\` input
|
|
6171
|
+
* types.
|
|
6172
|
+
*/
|
|
6173
|
+
max?: number;
|
|
6174
|
+
/**
|
|
6175
|
+
* The maximum allowed length for \`string\` inputs. Also applies to each item in
|
|
6176
|
+
* \`string_array\`.
|
|
6177
|
+
*/
|
|
6178
|
+
maxLength?: number;
|
|
6179
|
+
/**
|
|
6180
|
+
* The maximum allowed file size in bytes. Only applies to \`file\` and
|
|
6181
|
+
* \`file_array\` input types. Validated against \`asset.properties.size\` at job
|
|
6182
|
+
* creation time.
|
|
6183
|
+
*/
|
|
6184
|
+
maxSize?: number;
|
|
6185
|
+
/**
|
|
6186
|
+
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
6187
|
+
*/
|
|
6188
|
+
min?: number;
|
|
6189
|
+
/**
|
|
6190
|
+
* The minimum allowed length for string inputs. Also applies to each item in
|
|
6191
|
+
* \`string_array\`.
|
|
6192
|
+
*/
|
|
6193
|
+
minLength?: number;
|
|
6194
|
+
/**
|
|
6195
|
+
* The allowed model types for this input. Example: \`["flux.1-lora"]\`. Only
|
|
6196
|
+
* available for \`model_array\` input type.
|
|
6197
|
+
*/
|
|
6198
|
+
modelTypes?: Array<'custom' | 'elevenlabs-voice' | 'flux.1' | 'flux.1-composition' | 'flux.1-kontext-dev' | 'flux.1-kontext-lora' | 'flux.1-krea-dev' | 'flux.1-krea-lora' | 'flux.1-lora' | 'flux.1-pro' | 'flux.1.1-pro-ultra' | 'flux.2-dev-edit-lora' | 'flux.2-dev-lora' | 'flux.2-klein-4b-edit-lora' | 'flux.2-klein-4b-lora' | 'flux.2-klein-9b-edit-lora' | 'flux.2-klein-9b-lora' | 'flux.2-klein-base-4b-edit-lora' | 'flux.2-klein-base-4b-lora' | 'flux.2-klein-base-9b-edit-lora' | 'flux.2-klein-base-9b-lora' | 'flux1.1-pro' | 'gpt-image-1' | 'qwen-image-2512-lora' | 'qwen-image-edit-2509-lora' | 'qwen-image-edit-2511-lora' | 'qwen-image-edit-lora' | 'qwen-image-lora' | 'sd-1_5' | 'sd-1_5-composition' | 'sd-1_5-lora' | 'sd-xl' | 'sd-xl-composition' | 'sd-xl-lora' | 'zimage-de-turbo-lora' | 'zimage-lora' | 'zimage-turbo-lora'>;
|
|
6199
|
+
/**
|
|
6200
|
+
* Whether this input represents a parent asset to assign to the produced assets.
|
|
6201
|
+
* Only available for \`file\` and \`file_array\` input types.
|
|
6202
|
+
*
|
|
6203
|
+
* For \`file_array\`, the parent asset is the first item in the array.
|
|
6204
|
+
*/
|
|
6205
|
+
parent?: boolean;
|
|
6206
|
+
/**
|
|
6207
|
+
* Placeholder text for the input. Only available for 'string' input type.
|
|
6208
|
+
*/
|
|
6209
|
+
placeholder?: string;
|
|
6210
|
+
/**
|
|
6211
|
+
* Whether the input is a prompt. When true, displays as a text area with prompt
|
|
6212
|
+
* spark feature. Only available for \`string\` input type.
|
|
6213
|
+
*/
|
|
6214
|
+
prompt?: boolean;
|
|
6215
|
+
/**
|
|
6216
|
+
* Whether the input is used with prompt spark. Only available for \`string\` input
|
|
6217
|
+
* type.
|
|
6218
|
+
*/
|
|
6219
|
+
promptSpark?: boolean;
|
|
6220
|
+
/**
|
|
6221
|
+
* The reference to another input or output of the same workflow. Must have at
|
|
6222
|
+
* least one of node or conditional.
|
|
6223
|
+
*/
|
|
6224
|
+
ref?: Item.Ref;
|
|
6225
|
+
/**
|
|
6226
|
+
* Set of rules that describes when this input is required:
|
|
6227
|
+
*
|
|
6228
|
+
* - \`always\`: Input is always required
|
|
6229
|
+
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
6230
|
+
* defined
|
|
6231
|
+
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
6232
|
+
* - \`conditionalValues\`: Input is required when another input has a specific
|
|
6233
|
+
* value
|
|
6234
|
+
*
|
|
6235
|
+
* By default, the input is not required.
|
|
6236
|
+
*/
|
|
6237
|
+
required?: Item.Required;
|
|
6238
|
+
/**
|
|
6239
|
+
* The step increment for numeric inputs. Only available for \`number\` input type.
|
|
6240
|
+
*/
|
|
6241
|
+
step?: number;
|
|
6242
|
+
/**
|
|
6243
|
+
* The value of the input. This is the value of the input that will be used to run
|
|
6244
|
+
* the node. Only available for flows managed by a WorkflowJob.
|
|
6245
|
+
*/
|
|
6246
|
+
value?: unknown;
|
|
6247
|
+
}
|
|
6248
|
+
namespace Item {
|
|
6249
|
+
/**
|
|
6250
|
+
* The reference to another input or output of the same workflow. Must have at
|
|
6251
|
+
* least one of node or conditional.
|
|
6252
|
+
*/
|
|
6253
|
+
interface Ref {
|
|
6254
|
+
/**
|
|
6255
|
+
* The conditional nodes to reference. If the conditional nodes are successful, the
|
|
6256
|
+
* node will be successful. If the conditional nodes are skipped, the node will be
|
|
6257
|
+
* skipped. Contains an array of node ids used to check the status of the nodes.
|
|
6258
|
+
*/
|
|
6259
|
+
conditional?: Array<string>;
|
|
6260
|
+
/**
|
|
6261
|
+
* This is the desired node output value if ref is an if/else node.
|
|
6262
|
+
*/
|
|
6263
|
+
equal?: string;
|
|
6264
|
+
/**
|
|
6265
|
+
* The name of the input or output to reference. If the type is 'workflow', the
|
|
6266
|
+
* name is the name of the input of the workflow is required If the type is 'node',
|
|
6267
|
+
* the name is not mandatory, except if you want all outputs of the node. To get
|
|
6268
|
+
* all outputs of a node, you can use the name 'all'.
|
|
6269
|
+
*/
|
|
6270
|
+
name?: string;
|
|
6271
|
+
/**
|
|
6272
|
+
* The node id or 'workflow' if the source is a workflow input.
|
|
6273
|
+
*/
|
|
6274
|
+
node?: string;
|
|
6275
|
+
}
|
|
6276
|
+
/**
|
|
6277
|
+
* Set of rules that describes when this input is required:
|
|
6278
|
+
*
|
|
6279
|
+
* - \`always\`: Input is always required
|
|
6280
|
+
* - \`ifNotDefined\`: Input is required when another specified input is not
|
|
6281
|
+
* defined
|
|
6282
|
+
* - \`ifDefined\`: Input is required when another specified input is defined
|
|
6283
|
+
* - \`conditionalValues\`: Input is required when another input has a specific
|
|
6284
|
+
* value
|
|
6285
|
+
*
|
|
6286
|
+
* By default, the input is not required.
|
|
6287
|
+
*/
|
|
6288
|
+
interface Required {
|
|
6289
|
+
/**
|
|
6290
|
+
* Whether the input is always required
|
|
6291
|
+
*/
|
|
6292
|
+
always?: boolean;
|
|
6293
|
+
/**
|
|
6294
|
+
* Makes this input required when another input has a specific value:
|
|
6295
|
+
*
|
|
6296
|
+
* - Key: name of the input to check
|
|
6297
|
+
* - Value: operation and allowed values that trigger the requirement
|
|
6298
|
+
*/
|
|
6299
|
+
conditionalValues?: unknown;
|
|
6300
|
+
/**
|
|
6301
|
+
* Makes this input required when another input is defined:
|
|
6302
|
+
*
|
|
6303
|
+
* - Key: name of the input that must be defined
|
|
6304
|
+
* - Value: message to display when this input is required
|
|
6305
|
+
*/
|
|
6306
|
+
ifDefined?: unknown;
|
|
6307
|
+
/**
|
|
6308
|
+
* Makes this input required when another input is not defined:
|
|
6309
|
+
*
|
|
6310
|
+
* - Key: name of the input that must be undefined
|
|
6311
|
+
* - Value: message to display when this input is required
|
|
6312
|
+
*/
|
|
6313
|
+
ifNotDefined?: unknown;
|
|
6314
|
+
}
|
|
6315
|
+
}
|
|
6006
6316
|
/**
|
|
6007
6317
|
* The reference to another input or output of the same workflow. Must have at
|
|
6008
6318
|
* least one of node or conditional.
|
|
@@ -6113,17 +6423,17 @@ export interface AssetRetrieveParams {
|
|
|
6113
6423
|
/**
|
|
6114
6424
|
* If set to true, returns the original asset without transformation
|
|
6115
6425
|
*/
|
|
6116
|
-
originalAssets?:
|
|
6426
|
+
originalAssets?: boolean;
|
|
6117
6427
|
/**
|
|
6118
6428
|
* Include the embedding in the response
|
|
6119
6429
|
*/
|
|
6120
|
-
withEmbedding?:
|
|
6430
|
+
withEmbedding?: boolean;
|
|
6121
6431
|
}
|
|
6122
6432
|
export interface AssetUpdateParams {
|
|
6123
6433
|
/**
|
|
6124
6434
|
* Query param: If set to true, returns the original asset without transformation
|
|
6125
6435
|
*/
|
|
6126
|
-
originalAssets?:
|
|
6436
|
+
originalAssets?: boolean;
|
|
6127
6437
|
/**
|
|
6128
6438
|
* Body param: The new value for the canvas as a stringified JSON.
|
|
6129
6439
|
*/
|
|
@@ -6158,7 +6468,7 @@ export interface AssetListParams {
|
|
|
6158
6468
|
* List assets generated by a specific author (the user that created the asset)
|
|
6159
6469
|
*/
|
|
6160
6470
|
authorId?: string;
|
|
6161
|
-
collectionId?:
|
|
6471
|
+
collectionId?: unknown;
|
|
6162
6472
|
/**
|
|
6163
6473
|
* Filter results to only return assets created after the specified ISO string date
|
|
6164
6474
|
* (exclusive). Requires the sortBy parameter to be "createdAt"
|
|
@@ -6181,12 +6491,12 @@ export interface AssetListParams {
|
|
|
6181
6491
|
/**
|
|
6182
6492
|
* If set to true, returns the original asset without transformation
|
|
6183
6493
|
*/
|
|
6184
|
-
originalAssets?:
|
|
6494
|
+
originalAssets?: boolean;
|
|
6185
6495
|
/**
|
|
6186
6496
|
* The number of items to return in the response. The default value is 50, maximum
|
|
6187
6497
|
* value is 100, minimum value is 1
|
|
6188
6498
|
*/
|
|
6189
|
-
pageSize?:
|
|
6499
|
+
pageSize?: number;
|
|
6190
6500
|
/**
|
|
6191
6501
|
* A token you received in a previous request to query the next page of items
|
|
6192
6502
|
*/
|
|
@@ -6231,13 +6541,14 @@ export interface AssetListParams {
|
|
|
6231
6541
|
* skybox-base-360, skybox-hdri, skybox-3d, restyle, reframe, generative-fill,
|
|
6232
6542
|
* texture, texture-height, texture-normal, texture-smoothness, texture-metallic,
|
|
6233
6543
|
* texture-edge, texture-ao, texture-albedo, image-prompt-editing, unknown, img23d,
|
|
6234
|
-
* txt23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
6235
|
-
* 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
6236
|
-
* txt2audio, audio2audio, video2video, video2img, txt2img,
|
|
6237
|
-
* uploaded, uploaded-video, uploaded-audio, uploaded-3d,
|
|
6238
|
-
* upscale-video, assets with a type starting with "inference-"
|
|
6544
|
+
* txt23d, video23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
6545
|
+
* 3d-texture-albedo, 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
6546
|
+
* img2video, txt2audio, audio2audio, voice-clone, video2video, video2img, txt2img,
|
|
6547
|
+
* img2img, txt2video, uploaded, uploaded-video, uploaded-audio, uploaded-3d,
|
|
6548
|
+
* uploaded-avatar, upscale-video, assets with a type starting with "inference-"
|
|
6549
|
+
* will be returned
|
|
6239
6550
|
*/
|
|
6240
|
-
type?: '
|
|
6551
|
+
type?: 'inference-txt2img' | 'inference-txt2img-ip-adapter' | 'inference-txt2img-texture' | 'inference-img2img' | 'inference-img2img-ip-adapter' | 'inference-img2img-texture' | 'inference-inpaint' | 'inference-inpaint-ip-adapter' | 'inference-reference' | 'inference-reference-texture' | 'inference-controlnet' | 'inference-controlnet-ip-adapter' | 'inference-controlnet-img2img' | 'inference-controlnet-reference' | 'inference-controlnet-inpaint' | 'inference-controlnet-inpaint-ip-adapter' | 'inference-controlnet-texture' | 'background-removal' | 'canvas' | 'canvas-export' | 'canvas-drawing' | 'detection' | 'patch' | 'pixelization' | 'upscale' | 'upscale-texture' | 'upscale-skybox' | 'vectorization' | 'segment' | 'segmentation-image' | 'segmentation-mask' | 'skybox-base-360' | 'skybox-hdri' | 'skybox-3d' | 'restyle' | 'reframe' | 'generative-fill' | 'texture' | 'texture-height' | 'texture-normal' | 'texture-smoothness' | 'texture-metallic' | 'texture-edge' | 'texture-ao' | 'texture-albedo' | 'image-prompt-editing' | 'unknown' | 'img23d' | 'txt23d' | 'video23d' | '3d23d' | '3d23d-texture' | '3d-texture' | '3d-texture-mtl' | '3d-texture-albedo' | '3d-texture-normal' | '3d-texture-roughness' | '3d-texture-metallic' | 'img2video' | 'txt2audio' | 'audio2audio' | 'voice-clone' | 'video2video' | 'video2img' | 'txt2img' | 'img2img' | 'txt2video' | 'uploaded' | 'uploaded-video' | 'uploaded-audio' | 'uploaded-3d' | 'uploaded-avatar' | 'upscale-video';
|
|
6241
6552
|
/**
|
|
6242
6553
|
* List of the asset types to request. The parameter "type" and "types" cannot be
|
|
6243
6554
|
* used together. Can be any of the following values: inference-txt2img,
|
|
@@ -6253,13 +6564,13 @@ export interface AssetListParams {
|
|
|
6253
6564
|
* skybox-base-360, skybox-hdri, skybox-3d, restyle, reframe, generative-fill,
|
|
6254
6565
|
* texture, texture-height, texture-normal, texture-smoothness, texture-metallic,
|
|
6255
6566
|
* texture-edge, texture-ao, texture-albedo, image-prompt-editing, unknown, img23d,
|
|
6256
|
-
* txt23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
6257
|
-
* 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
6258
|
-
* txt2audio, audio2audio, video2video, video2img, txt2img,
|
|
6259
|
-
* uploaded, uploaded-video, uploaded-audio, uploaded-3d,
|
|
6260
|
-
* upscale-video
|
|
6567
|
+
* txt23d, video23d, 3d23d, 3d23d-texture, 3d-texture, 3d-texture-mtl,
|
|
6568
|
+
* 3d-texture-albedo, 3d-texture-normal, 3d-texture-roughness, 3d-texture-metallic,
|
|
6569
|
+
* img2video, txt2audio, audio2audio, voice-clone, video2video, video2img, txt2img,
|
|
6570
|
+
* img2img, txt2video, uploaded, uploaded-video, uploaded-audio, uploaded-3d,
|
|
6571
|
+
* uploaded-avatar, upscale-video
|
|
6261
6572
|
*/
|
|
6262
|
-
types?:
|
|
6573
|
+
types?: string;
|
|
6263
6574
|
/**
|
|
6264
6575
|
* Filter results to only return assets updated after the specified ISO string date
|
|
6265
6576
|
* (exclusive). Requires the sortBy parameter to be "updatedAt"
|
|
@@ -6271,17 +6582,11 @@ export interface AssetListParams {
|
|
|
6271
6582
|
*/
|
|
6272
6583
|
updatedBefore?: string;
|
|
6273
6584
|
}
|
|
6274
|
-
export interface AssetDeleteMultipleParams {
|
|
6275
|
-
/**
|
|
6276
|
-
* The ids of the assets to delete. (Max 100 at once)
|
|
6277
|
-
*/
|
|
6278
|
-
assetIds: Array<string>;
|
|
6279
|
-
}
|
|
6280
6585
|
export interface AssetDuplicateParams {
|
|
6281
6586
|
/**
|
|
6282
6587
|
* Query param: If set to true, returns the original asset without transformation
|
|
6283
6588
|
*/
|
|
6284
|
-
originalAssets?:
|
|
6589
|
+
originalAssets?: boolean;
|
|
6285
6590
|
/**
|
|
6286
6591
|
* Body param: The id of the project to copy the asset to. If not provided, the
|
|
6287
6592
|
* asset will be copied to the canvas project.
|
|
@@ -6292,7 +6597,7 @@ export interface AssetGetBulkParams {
|
|
|
6292
6597
|
/**
|
|
6293
6598
|
* Query param: If set to true, returns the original asset without transformation
|
|
6294
6599
|
*/
|
|
6295
|
-
originalAssets?:
|
|
6600
|
+
originalAssets?: boolean;
|
|
6296
6601
|
/**
|
|
6297
6602
|
* Body param: The list of asset ids the team has read access to. Limit of 200
|
|
6298
6603
|
* assets.
|
|
@@ -6304,7 +6609,7 @@ export interface AssetListSnapshotsParams {
|
|
|
6304
6609
|
* The number of items to return in the response. The default value is 10, maximum
|
|
6305
6610
|
* value is 100, minimum value is 10
|
|
6306
6611
|
*/
|
|
6307
|
-
pageSize?:
|
|
6612
|
+
pageSize?: number;
|
|
6308
6613
|
/**
|
|
6309
6614
|
* A token you received in a previous request to query the next page of items
|
|
6310
6615
|
*/
|
|
@@ -6318,13 +6623,13 @@ export interface AssetLockParams {
|
|
|
6318
6623
|
/**
|
|
6319
6624
|
* Query param: If set to true, returns the original asset without transformation
|
|
6320
6625
|
*/
|
|
6321
|
-
originalAssets?:
|
|
6626
|
+
originalAssets?: boolean;
|
|
6322
6627
|
}
|
|
6323
6628
|
export interface AssetUnlockParams {
|
|
6324
6629
|
/**
|
|
6325
6630
|
* Query param: If set to true, returns the original asset without transformation
|
|
6326
6631
|
*/
|
|
6327
|
-
originalAssets?:
|
|
6632
|
+
originalAssets?: boolean;
|
|
6328
6633
|
/**
|
|
6329
6634
|
* Body param: If true, no need to pass a lockId.
|
|
6330
6635
|
*/
|
|
@@ -6360,7 +6665,7 @@ export interface AssetUploadParams {
|
|
|
6360
6665
|
/**
|
|
6361
6666
|
* Query param: If set to true, returns the original asset without transformation
|
|
6362
6667
|
*/
|
|
6363
|
-
originalAssets?:
|
|
6668
|
+
originalAssets?: boolean;
|
|
6364
6669
|
/**
|
|
6365
6670
|
* Body param: The canvas to upload as a stringified JSON. Ignored if `image` is
|
|
6366
6671
|
* provided.
|
|
@@ -6390,7 +6695,7 @@ export interface AssetUploadParams {
|
|
|
6390
6695
|
thumbnail?: string;
|
|
6391
6696
|
}
|
|
6392
6697
|
export declare namespace Assets {
|
|
6393
|
-
export { type AssetRetrieveResponse as AssetRetrieveResponse, type AssetUpdateResponse as AssetUpdateResponse, type AssetListResponse as AssetListResponse, type AssetDeleteMultipleResponse as AssetDeleteMultipleResponse, type AssetDuplicateResponse as AssetDuplicateResponse, type AssetGetBulkResponse as AssetGetBulkResponse, type AssetListSnapshotsResponse as AssetListSnapshotsResponse, type AssetLockResponse as AssetLockResponse, type AssetUnlockResponse as AssetUnlockResponse, type AssetUpdateTagsResponse as AssetUpdateTagsResponse, type AssetUploadResponse as AssetUploadResponse, type AssetRetrieveParams as AssetRetrieveParams, type AssetUpdateParams as AssetUpdateParams, type AssetListParams as AssetListParams, type
|
|
6698
|
+
export { type AssetRetrieveResponse as AssetRetrieveResponse, type AssetUpdateResponse as AssetUpdateResponse, type AssetListResponse as AssetListResponse, type AssetDeleteMultipleResponse as AssetDeleteMultipleResponse, type AssetDuplicateResponse as AssetDuplicateResponse, type AssetGetBulkResponse as AssetGetBulkResponse, type AssetListSnapshotsResponse as AssetListSnapshotsResponse, type AssetLockResponse as AssetLockResponse, type AssetUnlockResponse as AssetUnlockResponse, type AssetUpdateTagsResponse as AssetUpdateTagsResponse, type AssetUploadResponse as AssetUploadResponse, type AssetRetrieveParams as AssetRetrieveParams, type AssetUpdateParams as AssetUpdateParams, type AssetListParams as AssetListParams, type AssetDuplicateParams as AssetDuplicateParams, type AssetGetBulkParams as AssetGetBulkParams, type AssetListSnapshotsParams as AssetListSnapshotsParams, type AssetLockParams as AssetLockParams, type AssetUnlockParams as AssetUnlockParams, type AssetUpdateTagsParams as AssetUpdateTagsParams, type AssetUploadParams as AssetUploadParams, };
|
|
6394
6699
|
export { Download as Download, type DownloadGetStatusResponse as DownloadGetStatusResponse, type DownloadRequestResponse as DownloadRequestResponse, type DownloadRequestBatchResponse as DownloadRequestBatchResponse, type DownloadRequestParams as DownloadRequestParams, type DownloadRequestBatchParams as DownloadRequestBatchParams, };
|
|
6395
6700
|
export { Public as Public, type PublicRetrieveResponse as PublicRetrieveResponse, type PublicListResponse as PublicListResponse, type PublicListParams as PublicListParams, };
|
|
6396
6701
|
}
|