@scenario-labs/sdk 2.0.0 → 2.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 +40 -0
- package/api-promise.d.mts +1 -0
- package/api-promise.d.mts.map +1 -1
- package/api-promise.d.ts +1 -0
- package/api-promise.d.ts.map +1 -1
- package/api-promise.mjs +1 -0
- package/api-promise.mjs.map +1 -1
- package/client.d.mts.map +1 -1
- package/client.d.ts.map +1 -1
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/core/pagination.mjs.map +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/uploads.d.mts.map +1 -1
- package/core/uploads.d.ts.map +1 -1
- package/core/uploads.mjs.map +1 -1
- package/error.d.mts +1 -0
- package/error.d.mts.map +1 -1
- package/error.d.ts +1 -0
- package/error.d.ts.map +1 -1
- package/error.mjs +1 -0
- package/error.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 +6 -1
- package/index.js.map +1 -1
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/headers.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/qs/formats.d.mts.map +1 -1
- package/internal/qs/formats.d.ts.map +1 -1
- package/internal/qs/index.d.mts +2 -2
- package/internal/qs/index.d.mts.map +1 -1
- package/internal/qs/index.d.ts +2 -2
- package/internal/qs/index.d.ts.map +1 -1
- package/internal/qs/index.mjs.map +1 -1
- package/internal/qs/stringify.d.mts.map +1 -1
- package/internal/qs/stringify.d.ts.map +1 -1
- package/internal/qs/stringify.mjs.map +1 -1
- package/internal/qs/utils.d.mts.map +1 -1
- package/internal/qs/utils.d.ts.map +1 -1
- package/internal/qs/utils.mjs.map +1 -1
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts.map +1 -1
- package/internal/shims.d.mts +6 -0
- package/internal/shims.d.mts.map +1 -1
- package/internal/shims.d.ts +6 -0
- package/internal/shims.d.ts.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/internal/types.d.mts +4 -4
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +4 -4
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/query.mjs.map +1 -1
- package/internal/utils/values.mjs.map +1 -1
- package/internal/utils.d.mts.map +1 -1
- package/internal/utils.d.ts.map +1 -1
- package/internal/utils.mjs.map +1 -1
- package/lib/asset.d.mts.map +1 -1
- package/lib/asset.d.ts.map +1 -1
- package/lib/asset.mjs.map +1 -1
- package/lib/generate.d.mts.map +1 -1
- package/lib/generate.d.ts.map +1 -1
- package/lib/generate.mjs.map +1 -1
- package/lib/job.d.mts.map +1 -1
- package/lib/job.d.ts.map +1 -1
- package/lib/job.mjs.map +1 -1
- package/lib/models.d.mts.map +1 -1
- package/lib/models.d.ts.map +1 -1
- package/lib/models.mjs.map +1 -1
- package/lib/scenario.d.mts.map +1 -1
- package/lib/scenario.d.ts.map +1 -1
- package/lib/scenario.mjs.map +1 -1
- package/lib/upload.d.mts.map +1 -1
- package/lib/upload.d.ts.map +1 -1
- package/lib/upload.mjs.map +1 -1
- package/lib/workflow.d.mts.map +1 -1
- package/lib/workflow.d.ts.map +1 -1
- package/lib/workflow.mjs.map +1 -1
- package/lib/workflow_converter.d.mts +58 -2
- package/lib/workflow_converter.d.mts.map +1 -1
- package/lib/workflow_converter.d.ts +58 -2
- package/lib/workflow_converter.d.ts.map +1 -1
- package/lib/workflow_converter.js +350 -35
- package/lib/workflow_converter.js.map +1 -1
- package/lib/workflow_converter.mjs +345 -35
- package/lib/workflow_converter.mjs.map +1 -1
- package/lib/workflow_import_validator.d.mts +1 -1
- package/lib/workflow_import_validator.d.mts.map +1 -1
- package/lib/workflow_import_validator.d.ts +1 -1
- package/lib/workflow_import_validator.d.ts.map +1 -1
- package/lib/workflow_import_validator.js +1 -0
- package/lib/workflow_import_validator.js.map +1 -1
- package/lib/workflow_import_validator.mjs +1 -0
- package/lib/workflow_import_validator.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.mts +1 -0
- package/pagination.d.mts.map +1 -1
- package/pagination.d.ts +1 -0
- package/pagination.d.ts.map +1 -1
- package/pagination.mjs +1 -0
- package/pagination.mjs.map +1 -1
- package/resource.d.mts +1 -0
- package/resource.d.mts.map +1 -1
- package/resource.d.ts +1 -0
- package/resource.d.ts.map +1 -1
- package/resource.mjs +1 -0
- package/resource.mjs.map +1 -1
- package/resources/assets/assets.d.mts +289 -135
- package/resources/assets/assets.d.mts.map +1 -1
- package/resources/assets/assets.d.ts +289 -135
- package/resources/assets/assets.d.ts.map +1 -1
- package/resources/assets/assets.js.map +1 -1
- package/resources/assets/assets.mjs.map +1 -1
- package/resources/assets/download.d.mts.map +1 -1
- package/resources/assets/download.d.ts.map +1 -1
- package/resources/assets/download.mjs.map +1 -1
- package/resources/assets/index.d.mts.map +1 -1
- package/resources/assets/index.d.ts.map +1 -1
- package/resources/assets/index.mjs.map +1 -1
- package/resources/assets.d.mts.map +1 -1
- package/resources/assets.d.ts.map +1 -1
- package/resources/assets.mjs.map +1 -1
- package/resources/collections/assets.d.mts.map +1 -1
- package/resources/collections/assets.d.ts.map +1 -1
- package/resources/collections/assets.mjs.map +1 -1
- package/resources/collections/collections.d.mts.map +1 -1
- package/resources/collections/collections.d.ts.map +1 -1
- package/resources/collections/collections.mjs.map +1 -1
- package/resources/collections/index.d.mts.map +1 -1
- package/resources/collections/index.d.ts.map +1 -1
- package/resources/collections/index.mjs.map +1 -1
- package/resources/collections/models.d.mts.map +1 -1
- package/resources/collections/models.d.ts.map +1 -1
- package/resources/collections/models.mjs.map +1 -1
- package/resources/collections.d.mts.map +1 -1
- package/resources/collections.d.ts.map +1 -1
- package/resources/collections.mjs.map +1 -1
- package/resources/generate.d.mts +86 -48
- package/resources/generate.d.mts.map +1 -1
- package/resources/generate.d.ts +86 -48
- package/resources/generate.d.ts.map +1 -1
- package/resources/generate.mjs.map +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/jobs.d.mts +6 -6
- package/resources/jobs.d.mts.map +1 -1
- package/resources/jobs.d.ts +6 -6
- package/resources/jobs.d.ts.map +1 -1
- package/resources/jobs.mjs.map +1 -1
- package/resources/models/description.d.mts +54 -4
- package/resources/models/description.d.mts.map +1 -1
- package/resources/models/description.d.ts +54 -4
- package/resources/models/description.d.ts.map +1 -1
- package/resources/models/description.mjs.map +1 -1
- package/resources/models/examples.d.mts +74 -36
- package/resources/models/examples.d.mts.map +1 -1
- package/resources/models/examples.d.ts +74 -36
- package/resources/models/examples.d.ts.map +1 -1
- package/resources/models/examples.mjs.map +1 -1
- package/resources/models/index.d.mts.map +1 -1
- package/resources/models/index.d.ts.map +1 -1
- package/resources/models/index.mjs.map +1 -1
- package/resources/models/models.d.mts +21 -21
- package/resources/models/models.d.mts.map +1 -1
- package/resources/models/models.d.ts +21 -21
- 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 +8 -8
- package/resources/models/train.d.mts.map +1 -1
- package/resources/models/train.d.ts +8 -8
- package/resources/models/train.d.ts.map +1 -1
- package/resources/models/train.mjs.map +1 -1
- package/resources/models/training-images.d.mts.map +1 -1
- package/resources/models/training-images.d.ts.map +1 -1
- package/resources/models/training-images.mjs.map +1 -1
- package/resources/models.d.mts.map +1 -1
- package/resources/models.d.ts.map +1 -1
- package/resources/models.mjs.map +1 -1
- package/resources/oscu.d.mts.map +1 -1
- package/resources/oscu.d.ts.map +1 -1
- package/resources/oscu.mjs.map +1 -1
- package/resources/pricing/index.d.mts.map +1 -1
- package/resources/pricing/index.d.ts.map +1 -1
- package/resources/pricing/index.mjs.map +1 -1
- package/resources/pricing/oscu.d.mts.map +1 -1
- package/resources/pricing/oscu.d.ts.map +1 -1
- package/resources/pricing/oscu.mjs.map +1 -1
- package/resources/pricing/pricing.d.mts.map +1 -1
- package/resources/pricing/pricing.d.ts.map +1 -1
- package/resources/pricing/pricing.mjs.map +1 -1
- package/resources/pricing.d.mts.map +1 -1
- package/resources/pricing.d.ts.map +1 -1
- package/resources/pricing.mjs.map +1 -1
- package/resources/search.d.mts +6 -0
- package/resources/search.d.mts.map +1 -1
- package/resources/search.d.ts +6 -0
- package/resources/search.d.ts.map +1 -1
- package/resources/search.mjs.map +1 -1
- package/resources/tags.d.mts.map +1 -1
- package/resources/tags.d.ts.map +1 -1
- package/resources/tags.mjs.map +1 -1
- package/resources/uploads.d.mts +4 -4
- package/resources/uploads.d.mts.map +1 -1
- package/resources/uploads.d.ts +4 -4
- package/resources/uploads.d.ts.map +1 -1
- package/resources/uploads.mjs.map +1 -1
- package/resources/usages.d.mts +31 -6
- package/resources/usages.d.mts.map +1 -1
- package/resources/usages.d.ts +31 -6
- package/resources/usages.d.ts.map +1 -1
- package/resources/usages.mjs.map +1 -1
- package/resources/workflows.d.mts +36 -36
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +36 -36
- package/resources/workflows.d.ts.map +1 -1
- package/resources/workflows.mjs.map +1 -1
- package/resources.d.mts.map +1 -1
- package/resources.d.ts.map +1 -1
- package/resources.mjs.map +1 -1
- package/src/index.ts +9 -0
- package/src/lib/workflow_converter.ts +487 -28
- package/src/lib/workflow_import_validator.ts +2 -0
- package/src/resources/assets/assets.ts +376 -118
- package/src/resources/generate.ts +106 -44
- package/src/resources/jobs.ts +6 -6
- package/src/resources/models/description.ts +68 -2
- package/src/resources/models/examples.ts +94 -32
- package/src/resources/models/models.ts +21 -14
- package/src/resources/models/train.ts +8 -6
- package/src/resources/search.ts +7 -0
- package/src/resources/uploads.ts +4 -4
- package/src/resources/usages.ts +41 -4
- package/src/resources/workflows.ts +36 -36
- package/src/version.ts +1 -1
- package/uploads.d.mts +1 -0
- package/uploads.d.mts.map +1 -1
- package/uploads.d.ts +1 -0
- package/uploads.d.ts.map +1 -1
- package/uploads.mjs +1 -0
- package/uploads.mjs.map +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -222,7 +222,7 @@ export namespace WorkflowCreateResponse {
|
|
|
222
222
|
/**
|
|
223
223
|
* Asset kinds produced by this workflow (if specified).
|
|
224
224
|
*/
|
|
225
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
225
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Currently the thumbnail is identical to the after asset.
|
|
@@ -420,7 +420,7 @@ export namespace WorkflowCreateResponse {
|
|
|
420
420
|
* not able to create the asset on the flight on API side with dataurl without
|
|
421
421
|
* data:kind, prefix
|
|
422
422
|
*/
|
|
423
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
423
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* The label displayed in the UI for this input
|
|
@@ -653,7 +653,7 @@ export namespace WorkflowCreateResponse {
|
|
|
653
653
|
* not able to create the asset on the flight on API side with dataurl without
|
|
654
654
|
* data:kind, prefix
|
|
655
655
|
*/
|
|
656
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
656
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* The label displayed in the UI for this input
|
|
@@ -988,7 +988,7 @@ export namespace WorkflowCreateResponse {
|
|
|
988
988
|
* Defines the input parameters for a model. Use this to understand the available
|
|
989
989
|
* input parameters for a given `modelId` when calling
|
|
990
990
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
991
|
-
* https://docs.scenario.com/
|
|
991
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
992
992
|
*/
|
|
993
993
|
export interface Input {
|
|
994
994
|
/**
|
|
@@ -1068,7 +1068,7 @@ export namespace WorkflowCreateResponse {
|
|
|
1068
1068
|
* not able to create the asset on the flight on API side with dataurl without
|
|
1069
1069
|
* data:kind, prefix
|
|
1070
1070
|
*/
|
|
1071
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
1071
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
1072
1072
|
|
|
1073
1073
|
/**
|
|
1074
1074
|
* The label displayed in the UI for this input
|
|
@@ -1548,7 +1548,7 @@ export namespace WorkflowRetrieveResponse {
|
|
|
1548
1548
|
/**
|
|
1549
1549
|
* Asset kinds produced by this workflow (if specified).
|
|
1550
1550
|
*/
|
|
1551
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
1551
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
1552
1552
|
|
|
1553
1553
|
/**
|
|
1554
1554
|
* Currently the thumbnail is identical to the after asset.
|
|
@@ -1746,7 +1746,7 @@ export namespace WorkflowRetrieveResponse {
|
|
|
1746
1746
|
* not able to create the asset on the flight on API side with dataurl without
|
|
1747
1747
|
* data:kind, prefix
|
|
1748
1748
|
*/
|
|
1749
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
1749
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
1750
1750
|
|
|
1751
1751
|
/**
|
|
1752
1752
|
* The label displayed in the UI for this input
|
|
@@ -1979,7 +1979,7 @@ export namespace WorkflowRetrieveResponse {
|
|
|
1979
1979
|
* not able to create the asset on the flight on API side with dataurl without
|
|
1980
1980
|
* data:kind, prefix
|
|
1981
1981
|
*/
|
|
1982
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
1982
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
1983
1983
|
|
|
1984
1984
|
/**
|
|
1985
1985
|
* The label displayed in the UI for this input
|
|
@@ -2314,7 +2314,7 @@ export namespace WorkflowRetrieveResponse {
|
|
|
2314
2314
|
* Defines the input parameters for a model. Use this to understand the available
|
|
2315
2315
|
* input parameters for a given `modelId` when calling
|
|
2316
2316
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
2317
|
-
* https://docs.scenario.com/
|
|
2317
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
2318
2318
|
*/
|
|
2319
2319
|
export interface Input {
|
|
2320
2320
|
/**
|
|
@@ -2394,7 +2394,7 @@ export namespace WorkflowRetrieveResponse {
|
|
|
2394
2394
|
* not able to create the asset on the flight on API side with dataurl without
|
|
2395
2395
|
* data:kind, prefix
|
|
2396
2396
|
*/
|
|
2397
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
2397
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
2398
2398
|
|
|
2399
2399
|
/**
|
|
2400
2400
|
* The label displayed in the UI for this input
|
|
@@ -2874,7 +2874,7 @@ export namespace WorkflowUpdateResponse {
|
|
|
2874
2874
|
/**
|
|
2875
2875
|
* Asset kinds produced by this workflow (if specified).
|
|
2876
2876
|
*/
|
|
2877
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
2877
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
2878
2878
|
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Currently the thumbnail is identical to the after asset.
|
|
@@ -3072,7 +3072,7 @@ export namespace WorkflowUpdateResponse {
|
|
|
3072
3072
|
* not able to create the asset on the flight on API side with dataurl without
|
|
3073
3073
|
* data:kind, prefix
|
|
3074
3074
|
*/
|
|
3075
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
3075
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
3076
3076
|
|
|
3077
3077
|
/**
|
|
3078
3078
|
* The label displayed in the UI for this input
|
|
@@ -3305,7 +3305,7 @@ export namespace WorkflowUpdateResponse {
|
|
|
3305
3305
|
* not able to create the asset on the flight on API side with dataurl without
|
|
3306
3306
|
* data:kind, prefix
|
|
3307
3307
|
*/
|
|
3308
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
3308
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
3309
3309
|
|
|
3310
3310
|
/**
|
|
3311
3311
|
* The label displayed in the UI for this input
|
|
@@ -3640,7 +3640,7 @@ export namespace WorkflowUpdateResponse {
|
|
|
3640
3640
|
* Defines the input parameters for a model. Use this to understand the available
|
|
3641
3641
|
* input parameters for a given `modelId` when calling
|
|
3642
3642
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
3643
|
-
* https://docs.scenario.com/
|
|
3643
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
3644
3644
|
*/
|
|
3645
3645
|
export interface Input {
|
|
3646
3646
|
/**
|
|
@@ -3720,7 +3720,7 @@ export namespace WorkflowUpdateResponse {
|
|
|
3720
3720
|
* not able to create the asset on the flight on API side with dataurl without
|
|
3721
3721
|
* data:kind, prefix
|
|
3722
3722
|
*/
|
|
3723
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
3723
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
3724
3724
|
|
|
3725
3725
|
/**
|
|
3726
3726
|
* The label displayed in the UI for this input
|
|
@@ -4195,7 +4195,7 @@ export interface WorkflowListResponse {
|
|
|
4195
4195
|
/**
|
|
4196
4196
|
* Asset kinds produced by this workflow (if specified).
|
|
4197
4197
|
*/
|
|
4198
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
4198
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
4199
4199
|
|
|
4200
4200
|
/**
|
|
4201
4201
|
* Currently the thumbnail is identical to the after asset.
|
|
@@ -4393,7 +4393,7 @@ export namespace WorkflowListResponse {
|
|
|
4393
4393
|
* not able to create the asset on the flight on API side with dataurl without
|
|
4394
4394
|
* data:kind, prefix
|
|
4395
4395
|
*/
|
|
4396
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
4396
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
4397
4397
|
|
|
4398
4398
|
/**
|
|
4399
4399
|
* The label displayed in the UI for this input
|
|
@@ -4626,7 +4626,7 @@ export namespace WorkflowListResponse {
|
|
|
4626
4626
|
* not able to create the asset on the flight on API side with dataurl without
|
|
4627
4627
|
* data:kind, prefix
|
|
4628
4628
|
*/
|
|
4629
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
4629
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
4630
4630
|
|
|
4631
4631
|
/**
|
|
4632
4632
|
* The label displayed in the UI for this input
|
|
@@ -4961,7 +4961,7 @@ export namespace WorkflowListResponse {
|
|
|
4961
4961
|
* Defines the input parameters for a model. Use this to understand the available
|
|
4962
4962
|
* input parameters for a given `modelId` when calling
|
|
4963
4963
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
4964
|
-
* https://docs.scenario.com/
|
|
4964
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
4965
4965
|
*/
|
|
4966
4966
|
export interface Input {
|
|
4967
4967
|
/**
|
|
@@ -5041,7 +5041,7 @@ export namespace WorkflowListResponse {
|
|
|
5041
5041
|
* not able to create the asset on the flight on API side with dataurl without
|
|
5042
5042
|
* data:kind, prefix
|
|
5043
5043
|
*/
|
|
5044
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
5044
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
5045
5045
|
|
|
5046
5046
|
/**
|
|
5047
5047
|
* The label displayed in the UI for this input
|
|
@@ -5783,7 +5783,7 @@ export namespace WorkflowRunResponse {
|
|
|
5783
5783
|
* not able to create the asset on the flight on API side with dataurl without
|
|
5784
5784
|
* data:kind, prefix
|
|
5785
5785
|
*/
|
|
5786
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
5786
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
5787
5787
|
|
|
5788
5788
|
/**
|
|
5789
5789
|
* The label displayed in the UI for this input
|
|
@@ -6016,7 +6016,7 @@ export namespace WorkflowRunResponse {
|
|
|
6016
6016
|
* not able to create the asset on the flight on API side with dataurl without
|
|
6017
6017
|
* data:kind, prefix
|
|
6018
6018
|
*/
|
|
6019
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
6019
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
6020
6020
|
|
|
6021
6021
|
/**
|
|
6022
6022
|
* The label displayed in the UI for this input
|
|
@@ -6491,7 +6491,7 @@ export namespace WorkflowRunResponse {
|
|
|
6491
6491
|
/**
|
|
6492
6492
|
* Asset kinds produced by this workflow (if specified).
|
|
6493
6493
|
*/
|
|
6494
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
6494
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
6495
6495
|
|
|
6496
6496
|
/**
|
|
6497
6497
|
* Currently the thumbnail is identical to the after asset.
|
|
@@ -6689,7 +6689,7 @@ export namespace WorkflowRunResponse {
|
|
|
6689
6689
|
* not able to create the asset on the flight on API side with dataurl without
|
|
6690
6690
|
* data:kind, prefix
|
|
6691
6691
|
*/
|
|
6692
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
6692
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
6693
6693
|
|
|
6694
6694
|
/**
|
|
6695
6695
|
* The label displayed in the UI for this input
|
|
@@ -6922,7 +6922,7 @@ export namespace WorkflowRunResponse {
|
|
|
6922
6922
|
* not able to create the asset on the flight on API side with dataurl without
|
|
6923
6923
|
* data:kind, prefix
|
|
6924
6924
|
*/
|
|
6925
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
6925
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
6926
6926
|
|
|
6927
6927
|
/**
|
|
6928
6928
|
* The label displayed in the UI for this input
|
|
@@ -7257,7 +7257,7 @@ export namespace WorkflowRunResponse {
|
|
|
7257
7257
|
* Defines the input parameters for a model. Use this to understand the available
|
|
7258
7258
|
* input parameters for a given `modelId` when calling
|
|
7259
7259
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
7260
|
-
* https://docs.scenario.com/
|
|
7260
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
7261
7261
|
*/
|
|
7262
7262
|
export interface Input {
|
|
7263
7263
|
/**
|
|
@@ -7337,7 +7337,7 @@ export namespace WorkflowRunResponse {
|
|
|
7337
7337
|
* not able to create the asset on the flight on API side with dataurl without
|
|
7338
7338
|
* data:kind, prefix
|
|
7339
7339
|
*/
|
|
7340
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
7340
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
7341
7341
|
|
|
7342
7342
|
/**
|
|
7343
7343
|
* The label displayed in the UI for this input
|
|
@@ -8069,7 +8069,7 @@ export namespace WorkflowUserApprovalResponse {
|
|
|
8069
8069
|
* not able to create the asset on the flight on API side with dataurl without
|
|
8070
8070
|
* data:kind, prefix
|
|
8071
8071
|
*/
|
|
8072
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
8072
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
8073
8073
|
|
|
8074
8074
|
/**
|
|
8075
8075
|
* The label displayed in the UI for this input
|
|
@@ -8302,7 +8302,7 @@ export namespace WorkflowUserApprovalResponse {
|
|
|
8302
8302
|
* not able to create the asset on the flight on API side with dataurl without
|
|
8303
8303
|
* data:kind, prefix
|
|
8304
8304
|
*/
|
|
8305
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
8305
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
8306
8306
|
|
|
8307
8307
|
/**
|
|
8308
8308
|
* The label displayed in the UI for this input
|
|
@@ -8716,7 +8716,7 @@ export interface WorkflowUpdateParams {
|
|
|
8716
8716
|
/**
|
|
8717
8717
|
* The output asset kinds of the workflow.
|
|
8718
8718
|
*/
|
|
8719
|
-
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video'>;
|
|
8719
|
+
outputAssetKinds?: Array<'3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video'>;
|
|
8720
8720
|
|
|
8721
8721
|
/**
|
|
8722
8722
|
* The privacy of the workflow.
|
|
@@ -8931,7 +8931,7 @@ export namespace WorkflowUpdateParams {
|
|
|
8931
8931
|
* not able to create the asset on the flight on API side with dataurl without
|
|
8932
8932
|
* data:kind, prefix
|
|
8933
8933
|
*/
|
|
8934
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
8934
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
8935
8935
|
|
|
8936
8936
|
/**
|
|
8937
8937
|
* The label displayed in the UI for this input
|
|
@@ -9164,7 +9164,7 @@ export namespace WorkflowUpdateParams {
|
|
|
9164
9164
|
* not able to create the asset on the flight on API side with dataurl without
|
|
9165
9165
|
* data:kind, prefix
|
|
9166
9166
|
*/
|
|
9167
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
9167
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
9168
9168
|
|
|
9169
9169
|
/**
|
|
9170
9170
|
* The label displayed in the UI for this input
|
|
@@ -9499,7 +9499,7 @@ export namespace WorkflowUpdateParams {
|
|
|
9499
9499
|
* Defines the input parameters for a model. Use this to understand the available
|
|
9500
9500
|
* input parameters for a given `modelId` when calling
|
|
9501
9501
|
* `POST /generate/custom/{modelId}`. See {@link
|
|
9502
|
-
* https://docs.scenario.com/
|
|
9502
|
+
* https://docs.scenario.com/get-started/generation/video-generation} for examples.
|
|
9503
9503
|
*/
|
|
9504
9504
|
export interface Input {
|
|
9505
9505
|
/**
|
|
@@ -9579,7 +9579,7 @@ export namespace WorkflowUpdateParams {
|
|
|
9579
9579
|
* not able to create the asset on the flight on API side with dataurl without
|
|
9580
9580
|
* data:kind, prefix
|
|
9581
9581
|
*/
|
|
9582
|
-
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'video';
|
|
9582
|
+
kind?: '3d' | 'audio' | 'document' | 'image' | 'image-hdr' | 'json' | 'text' | 'video';
|
|
9583
9583
|
|
|
9584
9584
|
/**
|
|
9585
9585
|
* The label displayed in the UI for this input
|
|
@@ -9765,8 +9765,8 @@ export namespace WorkflowUpdateParams {
|
|
|
9765
9765
|
|
|
9766
9766
|
export interface WorkflowListParams extends WorkflowsCursorParams {
|
|
9767
9767
|
/**
|
|
9768
|
-
* The number of items to return in the response. The default value is
|
|
9769
|
-
* value is
|
|
9768
|
+
* The number of items to return in the response. The default value is 50, maximum
|
|
9769
|
+
* value is 100, minimum value is 1
|
|
9770
9770
|
*/
|
|
9771
9771
|
pageSize?: number;
|
|
9772
9772
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.2.0'; // x-release-please-version
|
package/uploads.d.mts
CHANGED
package/uploads.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.mts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/uploads.d.ts
CHANGED
package/uploads.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.d.ts","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,kCAA+B"}
|
package/uploads.mjs
CHANGED
package/uploads.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"uploads.mjs","sourceRoot":"","sources":["src/uploads.ts"],"names":[],"mappings":"AAAA,qDAAqD;AACrD,mCAA+B"}
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.
|
|
1
|
+
export const VERSION = '2.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|