@scenario-labs/sdk 3.3.1 → 3.4.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 +25 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/index.d.mts +1 -1
- package/index.d.mts.map +1 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/lib/user_selection_limits.d.mts +13 -0
- package/lib/user_selection_limits.d.mts.map +1 -0
- package/lib/user_selection_limits.d.ts +13 -0
- package/lib/user_selection_limits.d.ts.map +1 -0
- package/lib/user_selection_limits.js +16 -0
- package/lib/user_selection_limits.js.map +1 -0
- package/lib/user_selection_limits.mjs +13 -0
- package/lib/user_selection_limits.mjs.map +1 -0
- package/lib/workflow_converter.d.mts +6 -0
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts +6 -0
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +154 -52
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +154 -52
- package/lib/workflow_converter.mjs.map +1 -1
- package/lib/workflow_import_validator.d.mts +17 -2
- package/lib/workflow_import_validator.d.mts.map +1 -1
- package/lib/workflow_import_validator.d.ts +17 -2
- package/lib/workflow_import_validator.d.ts.map +1 -1
- package/lib/workflow_import_validator.js +100 -1
- package/lib/workflow_import_validator.js.map +1 -1
- package/lib/workflow_import_validator.mjs +99 -1
- package/lib/workflow_import_validator.mjs.map +1 -1
- package/lib/workflow_validator.d.mts +1 -1
- package/lib/workflow_validator.d.mts.map +1 -1
- package/lib/workflow_validator.d.ts +1 -1
- package/lib/workflow_validator.d.ts.map +1 -1
- package/lib/workflow_validator.js +10 -11
- package/lib/workflow_validator.js.map +1 -1
- package/lib/workflow_validator.mjs +7 -8
- package/lib/workflow_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/assets/assets.d.mts +126 -30
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +126 -30
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js +12 -0
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs +12 -0
- 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/generate.d.mts +120 -9
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +120 -9
- 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 +36 -0
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +36 -0
- package/resources/jobs.d.ts.map +1 -1
- package/resources/models/description.d.mts +4 -4
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +4 -4
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/examples.d.mts +40 -6
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +40 -6
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/index.d.mts +1 -1
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts +1 -1
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.js.map +1 -1
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +1353 -199
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +1353 -199
- package/resources/models/models.d.ts.map +1 -1
- package/resources/models/models.js +13 -0
- package/resources/models/models.js.map +1 -1
- package/resources/models/models.mjs +13 -0
- package/resources/models/models.mjs.map +1 -1
- package/resources/models/train.d.mts +36 -2
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +36 -2
- package/resources/models/train.d.ts.map +1 -1
- package/resources/recommendations.d.mts +16 -5
- package/resources/recommendations.d.mts.map +1 -1
- package/resources/recommendations.d.ts +16 -5
- package/resources/recommendations.d.ts.map +1 -1
- package/resources/usages.d.mts +14 -2
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +14 -2
- package/resources/usages.d.ts.map +1 -1
- package/resources/workflows.d.mts +152 -9
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +152 -9
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.js +2 -3
- package/resources/workflows.js.map +1 -1
- package/resources/workflows.mjs +2 -3
- package/resources/workflows.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/index.ts +1 -0
- package/src/lib/user_selection_limits.ts +14 -0
- package/src/lib/workflow_converter.ts +173 -54
- package/src/lib/workflow_import_validator.ts +116 -1
- package/src/lib/workflow_validator.ts +12 -8
- package/src/resources/assets/assets.ts +164 -4
- package/src/resources/assets/index.ts +2 -0
- package/src/resources/generate.ts +142 -0
- package/src/resources/index.ts +4 -0
- package/src/resources/jobs.ts +42 -0
- package/src/resources/models/description.ts +6 -0
- package/src/resources/models/examples.ts +48 -0
- package/src/resources/models/index.ts +2 -0
- package/src/resources/models/models.ts +1610 -114
- package/src/resources/models/train.ts +42 -0
- package/src/resources/recommendations.ts +18 -3
- package/src/resources/usages.ts +16 -0
- package/src/resources/workflows.ts +176 -9
- 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
package/resources/generate.d.ts
CHANGED
|
@@ -391,6 +391,12 @@ export declare namespace GenerateCaptionResponse {
|
|
|
391
391
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
392
392
|
*/
|
|
393
393
|
min?: number;
|
|
394
|
+
/**
|
|
395
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
396
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
397
|
+
* \`asset.properties.duration\` at job creation time.
|
|
398
|
+
*/
|
|
399
|
+
minDuration?: number;
|
|
394
400
|
/**
|
|
395
401
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
396
402
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -552,6 +558,12 @@ export declare namespace GenerateCaptionResponse {
|
|
|
552
558
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
553
559
|
*/
|
|
554
560
|
min?: number;
|
|
561
|
+
/**
|
|
562
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
563
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
564
|
+
* \`asset.properties.duration\` at job creation time.
|
|
565
|
+
*/
|
|
566
|
+
minDuration?: number;
|
|
555
567
|
/**
|
|
556
568
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
557
569
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -1296,6 +1308,12 @@ export declare namespace GenerateDescribeStyleResponse {
|
|
|
1296
1308
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
1297
1309
|
*/
|
|
1298
1310
|
min?: number;
|
|
1311
|
+
/**
|
|
1312
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
1313
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1314
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1315
|
+
*/
|
|
1316
|
+
minDuration?: number;
|
|
1299
1317
|
/**
|
|
1300
1318
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1301
1319
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -1457,6 +1475,12 @@ export declare namespace GenerateDescribeStyleResponse {
|
|
|
1457
1475
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
1458
1476
|
*/
|
|
1459
1477
|
min?: number;
|
|
1478
|
+
/**
|
|
1479
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
1480
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
1481
|
+
* \`asset.properties.duration\` at job creation time.
|
|
1482
|
+
*/
|
|
1483
|
+
minDuration?: number;
|
|
1460
1484
|
/**
|
|
1461
1485
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
1462
1486
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2194,6 +2218,12 @@ export declare namespace GenerateDetectResponse {
|
|
|
2194
2218
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
2195
2219
|
*/
|
|
2196
2220
|
min?: number;
|
|
2221
|
+
/**
|
|
2222
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
2223
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2224
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2225
|
+
*/
|
|
2226
|
+
minDuration?: number;
|
|
2197
2227
|
/**
|
|
2198
2228
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2199
2229
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2355,6 +2385,12 @@ export declare namespace GenerateDetectResponse {
|
|
|
2355
2385
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
2356
2386
|
*/
|
|
2357
2387
|
min?: number;
|
|
2388
|
+
/**
|
|
2389
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
2390
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
2391
|
+
* \`asset.properties.duration\` at job creation time.
|
|
2392
|
+
*/
|
|
2393
|
+
minDuration?: number;
|
|
2358
2394
|
/**
|
|
2359
2395
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
2360
2396
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -2715,7 +2751,7 @@ export declare namespace GenerateDetectResponse {
|
|
|
2715
2751
|
/**
|
|
2716
2752
|
* source of the asset
|
|
2717
2753
|
*/
|
|
2718
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
2754
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
2719
2755
|
/**
|
|
2720
2756
|
* The actual status
|
|
2721
2757
|
*/
|
|
@@ -2737,6 +2773,11 @@ export declare namespace GenerateDetectResponse {
|
|
|
2737
2773
|
* Automatic captioning of the asset
|
|
2738
2774
|
*/
|
|
2739
2775
|
automaticCaptioning?: string;
|
|
2776
|
+
/**
|
|
2777
|
+
* The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
|
|
2778
|
+
* Only set on deleted assets, listed with `deleted=true`.
|
|
2779
|
+
*/
|
|
2780
|
+
deletedAt?: string;
|
|
2740
2781
|
/**
|
|
2741
2782
|
* The description, it will contain in priority:
|
|
2742
2783
|
*
|
|
@@ -2787,7 +2828,7 @@ export declare namespace GenerateDetectResponse {
|
|
|
2787
2828
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
2788
2829
|
* Omitted when the stored format could not be determined.
|
|
2789
2830
|
*/
|
|
2790
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
2831
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
2791
2832
|
/**
|
|
2792
2833
|
* The output index of the asset within a job This index is an positive integer
|
|
2793
2834
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -2824,7 +2865,7 @@ export declare namespace GenerateDetectResponse {
|
|
|
2824
2865
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
2825
2866
|
* from a text to image model
|
|
2826
2867
|
*/
|
|
2827
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
2868
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
2828
2869
|
/**
|
|
2829
2870
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
2830
2871
|
*/
|
|
@@ -3987,6 +4028,12 @@ export declare namespace GenerateEmbedResponse {
|
|
|
3987
4028
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
3988
4029
|
*/
|
|
3989
4030
|
min?: number;
|
|
4031
|
+
/**
|
|
4032
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
4033
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4034
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4035
|
+
*/
|
|
4036
|
+
minDuration?: number;
|
|
3990
4037
|
/**
|
|
3991
4038
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
3992
4039
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -4148,6 +4195,12 @@ export declare namespace GenerateEmbedResponse {
|
|
|
4148
4195
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
4149
4196
|
*/
|
|
4150
4197
|
min?: number;
|
|
4198
|
+
/**
|
|
4199
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
4200
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
4201
|
+
* \`asset.properties.duration\` at job creation time.
|
|
4202
|
+
*/
|
|
4203
|
+
minDuration?: number;
|
|
4151
4204
|
/**
|
|
4152
4205
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
4153
4206
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -4980,6 +5033,12 @@ export declare namespace GeneratePatchResponse {
|
|
|
4980
5033
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
4981
5034
|
*/
|
|
4982
5035
|
min?: number;
|
|
5036
|
+
/**
|
|
5037
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
5038
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5039
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5040
|
+
*/
|
|
5041
|
+
minDuration?: number;
|
|
4983
5042
|
/**
|
|
4984
5043
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
4985
5044
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -5141,6 +5200,12 @@ export declare namespace GeneratePatchResponse {
|
|
|
5141
5200
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
5142
5201
|
*/
|
|
5143
5202
|
min?: number;
|
|
5203
|
+
/**
|
|
5204
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
5205
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
5206
|
+
* \`asset.properties.duration\` at job creation time.
|
|
5207
|
+
*/
|
|
5208
|
+
minDuration?: number;
|
|
5144
5209
|
/**
|
|
5145
5210
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
5146
5211
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -5501,7 +5566,7 @@ export declare namespace GeneratePatchResponse {
|
|
|
5501
5566
|
/**
|
|
5502
5567
|
* source of the asset
|
|
5503
5568
|
*/
|
|
5504
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
5569
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
5505
5570
|
/**
|
|
5506
5571
|
* The actual status
|
|
5507
5572
|
*/
|
|
@@ -5523,6 +5588,11 @@ export declare namespace GeneratePatchResponse {
|
|
|
5523
5588
|
* Automatic captioning of the asset
|
|
5524
5589
|
*/
|
|
5525
5590
|
automaticCaptioning?: string;
|
|
5591
|
+
/**
|
|
5592
|
+
* The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
|
|
5593
|
+
* Only set on deleted assets, listed with `deleted=true`.
|
|
5594
|
+
*/
|
|
5595
|
+
deletedAt?: string;
|
|
5526
5596
|
/**
|
|
5527
5597
|
* The description, it will contain in priority:
|
|
5528
5598
|
*
|
|
@@ -5573,7 +5643,7 @@ export declare namespace GeneratePatchResponse {
|
|
|
5573
5643
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
5574
5644
|
* Omitted when the stored format could not be determined.
|
|
5575
5645
|
*/
|
|
5576
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
5646
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
5577
5647
|
/**
|
|
5578
5648
|
* The output index of the asset within a job This index is an positive integer
|
|
5579
5649
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -5610,7 +5680,7 @@ export declare namespace GeneratePatchResponse {
|
|
|
5610
5680
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
5611
5681
|
* from a text to image model
|
|
5612
5682
|
*/
|
|
5613
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
5683
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
5614
5684
|
/**
|
|
5615
5685
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
5616
5686
|
*/
|
|
@@ -6780,6 +6850,12 @@ export declare namespace GeneratePromptResponse {
|
|
|
6780
6850
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
6781
6851
|
*/
|
|
6782
6852
|
min?: number;
|
|
6853
|
+
/**
|
|
6854
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
6855
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
6856
|
+
* \`asset.properties.duration\` at job creation time.
|
|
6857
|
+
*/
|
|
6858
|
+
minDuration?: number;
|
|
6783
6859
|
/**
|
|
6784
6860
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
6785
6861
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -6941,6 +7017,12 @@ export declare namespace GeneratePromptResponse {
|
|
|
6941
7017
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
6942
7018
|
*/
|
|
6943
7019
|
min?: number;
|
|
7020
|
+
/**
|
|
7021
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
7022
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
7023
|
+
* \`asset.properties.duration\` at job creation time.
|
|
7024
|
+
*/
|
|
7025
|
+
minDuration?: number;
|
|
6944
7026
|
/**
|
|
6945
7027
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
6946
7028
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -7505,7 +7587,7 @@ export declare namespace GenerateQualityGateResponse {
|
|
|
7505
7587
|
/**
|
|
7506
7588
|
* source of the asset
|
|
7507
7589
|
*/
|
|
7508
|
-
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
7590
|
+
source: '3d23d' | '3d23d:texture' | '3d:texture' | '3d:texture:albedo' | '3d:texture:metallic' | '3d:texture:mtl' | '3d:texture:normal' | '3d:texture:roughness' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
7509
7591
|
/**
|
|
7510
7592
|
* The actual status
|
|
7511
7593
|
*/
|
|
@@ -7527,6 +7609,11 @@ export declare namespace GenerateQualityGateResponse {
|
|
|
7527
7609
|
* Automatic captioning of the asset
|
|
7528
7610
|
*/
|
|
7529
7611
|
automaticCaptioning?: string;
|
|
7612
|
+
/**
|
|
7613
|
+
* The asset deletion date as an ISO string (example: "2023-02-03T11:19:41.579Z").
|
|
7614
|
+
* Only set on deleted assets, listed with `deleted=true`.
|
|
7615
|
+
*/
|
|
7616
|
+
deletedAt?: string;
|
|
7530
7617
|
/**
|
|
7531
7618
|
* The description, it will contain in priority:
|
|
7532
7619
|
*
|
|
@@ -7577,7 +7664,7 @@ export declare namespace GenerateQualityGateResponse {
|
|
|
7577
7664
|
* exposes a JPEG preview as `url` and its `.exr` or `.hdr` file as the original).
|
|
7578
7665
|
* Omitted when the stored format could not be determined.
|
|
7579
7666
|
*/
|
|
7580
|
-
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
7667
|
+
originalMimeType?: 'application/gzip' | 'application/json' | 'application/octet-stream' | 'application/pdf' | 'application/safetensors' | 'application/vnd.autodesk.fbx' | 'application/x-authorware-bin' | 'application/x-zip-compressed' | 'application/x.autodesk.fbx' | 'application/zip' | 'audio/flac' | 'audio/m4a' | 'audio/mpeg' | 'audio/ogg' | 'audio/wav' | 'image/aces' | 'image/avif' | 'image/bmp' | 'image/gif' | 'image/heic' | 'image/jpeg' | 'image/png' | 'image/svg+xml' | 'image/tiff' | 'image/vnd.radiance' | 'image/webp' | 'image/x-exr' | 'model/glb' | 'model/gltf+json' | 'model/gltf-binary' | 'model/ksplat' | 'model/mtl' | 'model/obj' | 'model/ply' | 'model/sog' | 'model/splat' | 'model/spz' | 'model/stl' | 'model/vnd.collada+xml' | 'model/vnd.ms-package.3dmanufacturing-3dmodel+xml' | 'model/vnd.usdz+zip' | 'model/x-3d-vox' | 'model/x-blender' | 'model/x-fbx' | 'model/x-maya-ascii' | 'model/x-maya-binary' | 'model/x-vsplat' | 'model/x3d+xml' | 'text/plain' | 'video/mp4' | 'video/quicktime' | 'video/webm';
|
|
7581
7668
|
/**
|
|
7582
7669
|
* The output index of the asset within a job This index is an positive integer
|
|
7583
7670
|
* that starts at 0 It is used to differentiate between multiple outputs of the
|
|
@@ -7614,7 +7701,7 @@ export declare namespace GenerateQualityGateResponse {
|
|
|
7614
7701
|
* The type of the asset. Ex: 'inference-txt2img' will represent an asset generated
|
|
7615
7702
|
* from a text to image model
|
|
7616
7703
|
*/
|
|
7617
|
-
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2video' | 'voice-clone';
|
|
7704
|
+
type: '3d-texture' | '3d-texture-albedo' | '3d-texture-metallic' | '3d-texture-mtl' | '3d-texture-normal' | '3d-texture-roughness' | '3d23d' | '3d23d-texture' | 'audio2audio' | 'audio2txt' | 'audio2video' | 'background-removal' | 'canvas' | 'canvas-drawing' | 'canvas-export' | 'detection' | 'generative-fill' | 'image-prompt-editing' | 'img23d' | 'img2img' | 'img2splat' | 'img2txt' | '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' | 'txt2txt' | 'txt2video' | 'unknown' | 'uploaded' | 'uploaded-3d' | 'uploaded-audio' | 'uploaded-avatar' | 'uploaded-text' | 'uploaded-video' | 'upscale' | 'upscale-skybox' | 'upscale-texture' | 'upscale-video' | 'vectorization' | 'video23d' | 'video2audio' | 'video2img' | 'video2txt' | 'video2video' | 'voice-clone';
|
|
7618
7705
|
/**
|
|
7619
7706
|
* How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
|
|
7620
7707
|
*/
|
|
@@ -8788,6 +8875,12 @@ export declare namespace GenerateRunModelResponse {
|
|
|
8788
8875
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
8789
8876
|
*/
|
|
8790
8877
|
min?: number;
|
|
8878
|
+
/**
|
|
8879
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
8880
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
8881
|
+
* \`asset.properties.duration\` at job creation time.
|
|
8882
|
+
*/
|
|
8883
|
+
minDuration?: number;
|
|
8791
8884
|
/**
|
|
8792
8885
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
8793
8886
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -8949,6 +9042,12 @@ export declare namespace GenerateRunModelResponse {
|
|
|
8949
9042
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
8950
9043
|
*/
|
|
8951
9044
|
min?: number;
|
|
9045
|
+
/**
|
|
9046
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
9047
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
9048
|
+
* \`asset.properties.duration\` at job creation time.
|
|
9049
|
+
*/
|
|
9050
|
+
minDuration?: number;
|
|
8952
9051
|
/**
|
|
8953
9052
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
8954
9053
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -9693,6 +9792,12 @@ export declare namespace GenerateTranslateResponse {
|
|
|
9693
9792
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
9694
9793
|
*/
|
|
9695
9794
|
min?: number;
|
|
9795
|
+
/**
|
|
9796
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
9797
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
9798
|
+
* \`asset.properties.duration\` at job creation time.
|
|
9799
|
+
*/
|
|
9800
|
+
minDuration?: number;
|
|
9696
9801
|
/**
|
|
9697
9802
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
9698
9803
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|
|
@@ -9854,6 +9959,12 @@ export declare namespace GenerateTranslateResponse {
|
|
|
9854
9959
|
* The minimum allowed value. Only available for \`number\` and array input types.
|
|
9855
9960
|
*/
|
|
9856
9961
|
min?: number;
|
|
9962
|
+
/**
|
|
9963
|
+
* The minimum allowed media duration in seconds. Only applies to \`file\` and
|
|
9964
|
+
* \`file_array\` input types for video and audio assets. Validated against
|
|
9965
|
+
* \`asset.properties.duration\` at job creation time.
|
|
9966
|
+
*/
|
|
9967
|
+
minDuration?: number;
|
|
9857
9968
|
/**
|
|
9858
9969
|
* The minimum allowed length for \`string\` and \`model\` inputs, in characters.
|
|
9859
9970
|
* For the array types (\`string_array\`, \`model_array\`) it bounds the NUMBER OF
|