@shotstack/schemas 1.13.1 → 1.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.bundled.json +6 -6
- package/dist/json-schema/asset.json +2 -2
- package/dist/json-schema/clip.json +2 -2
- package/dist/json-schema/edit.json +2 -2
- package/dist/json-schema/image-to-video-asset.json +1 -1
- package/dist/json-schema/schemas.json +6 -6
- package/dist/json-schema/template.json +2 -2
- package/dist/json-schema/timeline.json +2 -2
- package/dist/json-schema/track.json +2 -2
- package/dist/json-schema/video-asset.json +13 -13
- package/dist/schema.d.ts +9 -9
- package/dist/zod/zod.gen.cjs +6 -6
- package/dist/zod/zod.gen.d.ts +74 -74
- package/dist/zod/zod.gen.js +6 -6
- package/dist/zod/zod.gen.ts +6 -6
- package/package.json +1 -1
package/dist/api.bundled.json
CHANGED
|
@@ -1189,7 +1189,7 @@
|
|
|
1189
1189
|
"additionalProperties": false
|
|
1190
1190
|
},
|
|
1191
1191
|
"VideoAsset": {
|
|
1192
|
-
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally
|
|
1192
|
+
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally from a\nstarting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.\n\n- **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.\n- **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`\n to a starting image URL (image-to-video). Use `model` to choose the generator\n (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in\n automatically.\n",
|
|
1193
1193
|
"type": "object",
|
|
1194
1194
|
"properties": {
|
|
1195
1195
|
"type": {
|
|
@@ -1208,16 +1208,16 @@
|
|
|
1208
1208
|
"example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/video.mp4"
|
|
1209
1209
|
},
|
|
1210
1210
|
"prompt": {
|
|
1211
|
-
"description": "A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `
|
|
1211
|
+
"description": "A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `inputSrc` for image-to-video. Use `model` to choose the generator.",
|
|
1212
1212
|
"type": "string",
|
|
1213
1213
|
"maxLength": 4000,
|
|
1214
1214
|
"example": "Slowly zoom out and orbit left around the object."
|
|
1215
1215
|
},
|
|
1216
|
-
"
|
|
1217
|
-
"description": "
|
|
1216
|
+
"inputSrc": {
|
|
1217
|
+
"description": "Input image URL for image-to-video generation. The image is used as the starting frame; `prompt` describes the motion. Has no effect unless `prompt` is set.",
|
|
1218
1218
|
"type": "string",
|
|
1219
1219
|
"minLength": 1,
|
|
1220
|
-
"example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/
|
|
1220
|
+
"example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/input-image.jpg"
|
|
1221
1221
|
},
|
|
1222
1222
|
"model": {
|
|
1223
1223
|
"description": "The generation model to use when `prompt` is set (e.g. `luma-ray-3`, `runpod-itv-mini`). Defaults to the platform's preferred generator if omitted.",
|
|
@@ -2201,7 +2201,7 @@
|
|
|
2201
2201
|
},
|
|
2202
2202
|
"ImageToVideoAsset": {
|
|
2203
2203
|
"deprecated": true,
|
|
2204
|
-
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `
|
|
2204
|
+
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `inputSrc` instead.** This type continues to function and is\ninternally rewritten to VideoAsset; no behaviour change for existing\nintegrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
|
|
2205
2205
|
"properties": {
|
|
2206
2206
|
"type": {
|
|
2207
2207
|
"type": "string",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "ImageToVideoAsset",
|
|
3
3
|
"strict": true,
|
|
4
4
|
"schema": {
|
|
5
|
-
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `
|
|
5
|
+
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `inputSrc` instead.** This type continues to function and is\ninternally rewritten to VideoAsset; no behaviour change for existing\nintegrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
|
|
6
6
|
"properties": {
|
|
7
7
|
"type": {
|
|
8
8
|
"type": "string",
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
]
|
|
451
451
|
},
|
|
452
452
|
"VideoAsset": {
|
|
453
|
-
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally
|
|
453
|
+
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally from a\nstarting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.\n\n- **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.\n- **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`\n to a starting image URL (image-to-video). Use `model` to choose the generator\n (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in\n automatically.\n",
|
|
454
454
|
"type": "object",
|
|
455
455
|
"properties": {
|
|
456
456
|
"type": {
|
|
@@ -475,18 +475,18 @@
|
|
|
475
475
|
"anyOf": [
|
|
476
476
|
{
|
|
477
477
|
"type": "string",
|
|
478
|
-
"description": "A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `
|
|
478
|
+
"description": "A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `inputSrc` for image-to-video. Use `model` to choose the generator."
|
|
479
479
|
},
|
|
480
480
|
{
|
|
481
481
|
"type": "null"
|
|
482
482
|
}
|
|
483
483
|
]
|
|
484
484
|
},
|
|
485
|
-
"
|
|
485
|
+
"inputSrc": {
|
|
486
486
|
"anyOf": [
|
|
487
487
|
{
|
|
488
488
|
"type": "string",
|
|
489
|
-
"description": "
|
|
489
|
+
"description": "Input image URL for image-to-video generation. The image is used as the starting frame; `prompt` describes the motion. Has no effect unless `prompt` is set."
|
|
490
490
|
},
|
|
491
491
|
{
|
|
492
492
|
"type": "null"
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
"type",
|
|
604
604
|
"src",
|
|
605
605
|
"prompt",
|
|
606
|
-
"
|
|
606
|
+
"inputSrc",
|
|
607
607
|
"model",
|
|
608
608
|
"transcode",
|
|
609
609
|
"trim",
|
|
@@ -3019,7 +3019,7 @@
|
|
|
3019
3019
|
]
|
|
3020
3020
|
},
|
|
3021
3021
|
"ImageToVideoAsset": {
|
|
3022
|
-
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `
|
|
3022
|
+
"description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `inputSrc` instead.** This type continues to function and is\ninternally rewritten to VideoAsset; no behaviour change for existing\nintegrations.\n\nThe ImageToVideoAsset lets you create a video from an image and a text prompt.\n",
|
|
3023
3023
|
"properties": {
|
|
3024
3024
|
"type": {
|
|
3025
3025
|
"type": "string",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "VideoAsset",
|
|
3
3
|
"strict": true,
|
|
4
4
|
"schema": {
|
|
5
|
-
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally
|
|
5
|
+
"description": "The VideoAsset adds a video to a Clip. The video can be sourced from a URL\n(`src`) or generated from a text prompt (`prompt`), optionally from a\nstarting image (`inputSrc`). Exactly one of `s...",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
8
8
|
"type": {
|
|
@@ -27,18 +27,18 @@
|
|
|
27
27
|
"anyOf": [
|
|
28
28
|
{
|
|
29
29
|
"type": "string",
|
|
30
|
-
"description": "A text prompt to generate the video from. When set without `src`, the ..."
|
|
30
|
+
"description": "A text prompt to generate the video from. When set without `src`, the e..."
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"type": "null"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
|
-
"
|
|
37
|
+
"inputSrc": {
|
|
38
38
|
"anyOf": [
|
|
39
39
|
{
|
|
40
40
|
"type": "string",
|
|
41
|
-
"description": "
|
|
41
|
+
"description": "Input image URL for image-to-video generation. The ..."
|
|
42
42
|
},
|
|
43
43
|
{
|
|
44
44
|
"type": "null"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"anyOf": [
|
|
61
61
|
{
|
|
62
62
|
"type": "boolean",
|
|
63
|
-
"description": "Set to `true` to force re-encoding of the video during preprocessing. This can help
|
|
63
|
+
"description": "Set to `true` to force re-encoding of the video during preprocessing. This can help reso..."
|
|
64
64
|
},
|
|
65
65
|
{
|
|
66
66
|
"type": "null"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"anyOf": [
|
|
72
72
|
{
|
|
73
73
|
"type": "number",
|
|
74
|
-
"description": "The start trim point of the video clip, in seconds (
|
|
74
|
+
"description": "The start trim point of the video clip, in seconds (default..."
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"type": "null"
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
"anyOf": [
|
|
121
121
|
{
|
|
122
122
|
"type": "number",
|
|
123
|
-
"description": "Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also
|
|
123
|
+
"description": "Adjust the playback speed of the video clip between 0 (paused) and 10 (10x normal speed) where 1 is normal speed (defaults to 1). Adjusting the speed will also adjus...",
|
|
124
124
|
"minimum": 0,
|
|
125
125
|
"maximum": 10
|
|
126
126
|
},
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"type",
|
|
156
156
|
"src",
|
|
157
157
|
"prompt",
|
|
158
|
-
"
|
|
158
|
+
"inputSrc",
|
|
159
159
|
"model",
|
|
160
160
|
"transcode",
|
|
161
161
|
"trim",
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
"anyOf": [
|
|
174
174
|
{
|
|
175
175
|
"type": "string",
|
|
176
|
-
"description": "The initial
|
|
176
|
+
"description": "The initial prop..."
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
"type": "null"
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"anyOf": [
|
|
218
218
|
{
|
|
219
219
|
"type": "string",
|
|
220
|
-
"description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the
|
|
220
|
+
"description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the s...",
|
|
221
221
|
"enum": [
|
|
222
222
|
"linear",
|
|
223
223
|
"bezier",
|
|
@@ -348,17 +348,17 @@
|
|
|
348
348
|
]
|
|
349
349
|
},
|
|
350
350
|
"ChromaKey": {
|
|
351
|
-
"description": "Chroma key is a technique that replaces a specific color in a video with a
|
|
351
|
+
"description": "Chroma key is a technique that replaces a specific color in a video with a...",
|
|
352
352
|
"properties": {
|
|
353
353
|
"color": {
|
|
354
|
-
"description": "The chroma key color as a hex value. Use green (#
|
|
354
|
+
"description": "The chroma key color as a hex value. Use green (#00b...",
|
|
355
355
|
"type": "string"
|
|
356
356
|
},
|
|
357
357
|
"threshold": {
|
|
358
358
|
"anyOf": [
|
|
359
359
|
{
|
|
360
360
|
"type": "integer",
|
|
361
|
-
"description": "Pixels within this distance
|
|
361
|
+
"description": "Pixels within this distance fro...",
|
|
362
362
|
"minimum": 0,
|
|
363
363
|
"maximum": 250
|
|
364
364
|
},
|
package/dist/schema.d.ts
CHANGED
|
@@ -552,12 +552,12 @@ export interface components {
|
|
|
552
552
|
Asset: components["schemas"]["VideoAsset"] | components["schemas"]["ImageAsset"] | components["schemas"]["TextAsset"] | components["schemas"]["RichTextAsset"] | components["schemas"]["AudioAsset"] | components["schemas"]["LumaAsset"] | components["schemas"]["CaptionAsset"] | components["schemas"]["RichCaptionAsset"] | components["schemas"]["HtmlAsset"] | components["schemas"]["Html5Asset"] | components["schemas"]["TitleAsset"] | components["schemas"]["ShapeAsset"] | components["schemas"]["SvgAsset"] | components["schemas"]["TextToImageAsset"] | components["schemas"]["ImageToVideoAsset"] | components["schemas"]["TextToSpeechAsset"];
|
|
553
553
|
/**
|
|
554
554
|
* @description The VideoAsset adds a video to a Clip. The video can be sourced from a URL
|
|
555
|
-
* (`src`) or generated from a text prompt (`prompt`), optionally
|
|
556
|
-
* starting image (`
|
|
555
|
+
* (`src`) or generated from a text prompt (`prompt`), optionally from a
|
|
556
|
+
* starting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.
|
|
557
557
|
*
|
|
558
558
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
559
|
-
* - **Generated:** set `prompt` to describe the motion. Optionally set `
|
|
560
|
-
* a starting image URL (image-to-video). Use `model` to choose the generator
|
|
559
|
+
* - **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`
|
|
560
|
+
* to a starting image URL (image-to-video). Use `model` to choose the generator
|
|
561
561
|
* (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in
|
|
562
562
|
* automatically.
|
|
563
563
|
*/
|
|
@@ -573,15 +573,15 @@ export interface components {
|
|
|
573
573
|
*/
|
|
574
574
|
src?: string;
|
|
575
575
|
/**
|
|
576
|
-
* @description A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `
|
|
576
|
+
* @description A text prompt to generate the video from. When set without `src`, the engine generates a video and fills `src` automatically. Optionally pair with `inputSrc` for image-to-video. Use `model` to choose the generator.
|
|
577
577
|
* @example Slowly zoom out and orbit left around the object.
|
|
578
578
|
*/
|
|
579
579
|
prompt?: string;
|
|
580
580
|
/**
|
|
581
|
-
* @description
|
|
582
|
-
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/
|
|
581
|
+
* @description Input image URL for image-to-video generation. The image is used as the starting frame; `prompt` describes the motion. Has no effect unless `prompt` is set.
|
|
582
|
+
* @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/input-image.jpg
|
|
583
583
|
*/
|
|
584
|
-
|
|
584
|
+
inputSrc?: string;
|
|
585
585
|
/**
|
|
586
586
|
* @description The generation model to use when `prompt` is set (e.g. `luma-ray-3`, `runpod-itv-mini`). Defaults to the platform's preferred generator if omitted.
|
|
587
587
|
* @example luma-ray-3
|
|
@@ -1230,7 +1230,7 @@ export interface components {
|
|
|
1230
1230
|
/**
|
|
1231
1231
|
* @deprecated
|
|
1232
1232
|
* @description **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
1233
|
-
* with `prompt` and `
|
|
1233
|
+
* with `prompt` and `inputSrc` instead.** This type continues to function and is
|
|
1234
1234
|
* internally rewritten to VideoAsset; no behaviour change for existing
|
|
1235
1235
|
* integrations.
|
|
1236
1236
|
*
|
package/dist/zod/zod.gen.cjs
CHANGED
|
@@ -502,7 +502,7 @@ exports.imageassetImageAssetSchema = zod_1.z.object({
|
|
|
502
502
|
exports.imageAssetSchema = exports.imageassetImageAssetSchema;
|
|
503
503
|
/**
|
|
504
504
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
505
|
-
* with `prompt` and `
|
|
505
|
+
* with `prompt` and `inputSrc` instead.** This type continues to function and is
|
|
506
506
|
* internally rewritten to VideoAsset; no behaviour change for existing
|
|
507
507
|
* integrations.
|
|
508
508
|
*
|
|
@@ -2410,12 +2410,12 @@ exports.transformationTransformationSchema = zod_1.z.object({
|
|
|
2410
2410
|
exports.transformationSchema = exports.transformationTransformationSchema;
|
|
2411
2411
|
/**
|
|
2412
2412
|
* The VideoAsset adds a video to a Clip. The video can be sourced from a URL
|
|
2413
|
-
* (`src`) or generated from a text prompt (`prompt`), optionally
|
|
2414
|
-
* starting image (`
|
|
2413
|
+
* (`src`) or generated from a text prompt (`prompt`), optionally from a
|
|
2414
|
+
* starting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.
|
|
2415
2415
|
*
|
|
2416
2416
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
2417
|
-
* - **Generated:** set `prompt` to describe the motion. Optionally set `
|
|
2418
|
-
* a starting image URL (image-to-video). Use `model` to choose the generator
|
|
2417
|
+
* - **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`
|
|
2418
|
+
* to a starting image URL (image-to-video). Use `model` to choose the generator
|
|
2419
2419
|
* (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in
|
|
2420
2420
|
* automatically.
|
|
2421
2421
|
*
|
|
@@ -2424,7 +2424,7 @@ exports.videoassetVideoAssetSchema = zod_1.z.object({
|
|
|
2424
2424
|
type: zod_1.z.enum(['video']),
|
|
2425
2425
|
src: zod_1.z.optional(zod_1.z.string().min(1).regex(/\S/)),
|
|
2426
2426
|
prompt: zod_1.z.optional(zod_1.z.string().max(4000)),
|
|
2427
|
-
|
|
2427
|
+
inputSrc: zod_1.z.optional(zod_1.z.string().min(1)),
|
|
2428
2428
|
model: zod_1.z.optional(zod_1.z.string()),
|
|
2429
2429
|
transcode: zod_1.z.optional(zod_1.z.boolean()),
|
|
2430
2430
|
trim: zod_1.z.optional(zod_1.z.union([zod_1.z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
package/dist/zod/zod.gen.d.ts
CHANGED
|
@@ -864,7 +864,7 @@ export declare const imageAssetSchema: z.ZodObject<{
|
|
|
864
864
|
}, z.core.$strict>;
|
|
865
865
|
/**
|
|
866
866
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
867
|
-
* with `prompt` and `
|
|
867
|
+
* with `prompt` and `inputSrc` instead.** This type continues to function and is
|
|
868
868
|
* internally rewritten to VideoAsset; no behaviour change for existing
|
|
869
869
|
* integrations.
|
|
870
870
|
*
|
|
@@ -6850,12 +6850,12 @@ export declare const transformationSchema: z.ZodObject<{
|
|
|
6850
6850
|
}, z.core.$strict>;
|
|
6851
6851
|
/**
|
|
6852
6852
|
* The VideoAsset adds a video to a Clip. The video can be sourced from a URL
|
|
6853
|
-
* (`src`) or generated from a text prompt (`prompt`), optionally
|
|
6854
|
-
* starting image (`
|
|
6853
|
+
* (`src`) or generated from a text prompt (`prompt`), optionally from a
|
|
6854
|
+
* starting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.
|
|
6855
6855
|
*
|
|
6856
6856
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
6857
|
-
* - **Generated:** set `prompt` to describe the motion. Optionally set `
|
|
6858
|
-
* a starting image URL (image-to-video). Use `model` to choose the generator
|
|
6857
|
+
* - **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`
|
|
6858
|
+
* to a starting image URL (image-to-video). Use `model` to choose the generator
|
|
6859
6859
|
* (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in
|
|
6860
6860
|
* automatically.
|
|
6861
6861
|
*
|
|
@@ -6866,7 +6866,7 @@ export declare const videoassetVideoAssetSchema: z.ZodObject<{
|
|
|
6866
6866
|
}>;
|
|
6867
6867
|
src: z.ZodOptional<z.ZodString>;
|
|
6868
6868
|
prompt: z.ZodOptional<z.ZodString>;
|
|
6869
|
-
|
|
6869
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
6870
6870
|
model: z.ZodOptional<z.ZodString>;
|
|
6871
6871
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
6872
6872
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -6936,7 +6936,7 @@ export declare const videoAssetSchema: z.ZodObject<{
|
|
|
6936
6936
|
}>;
|
|
6937
6937
|
src: z.ZodOptional<z.ZodString>;
|
|
6938
6938
|
prompt: z.ZodOptional<z.ZodString>;
|
|
6939
|
-
|
|
6939
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
6940
6940
|
model: z.ZodOptional<z.ZodString>;
|
|
6941
6941
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
6942
6942
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -7009,7 +7009,7 @@ export declare const assetAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7009
7009
|
}>;
|
|
7010
7010
|
src: z.ZodOptional<z.ZodString>;
|
|
7011
7011
|
prompt: z.ZodOptional<z.ZodString>;
|
|
7012
|
-
|
|
7012
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
7013
7013
|
model: z.ZodOptional<z.ZodString>;
|
|
7014
7014
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
7015
7015
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -7748,7 +7748,7 @@ export declare const assetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7748
7748
|
}>;
|
|
7749
7749
|
src: z.ZodOptional<z.ZodString>;
|
|
7750
7750
|
prompt: z.ZodOptional<z.ZodString>;
|
|
7751
|
-
|
|
7751
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
7752
7752
|
model: z.ZodOptional<z.ZodString>;
|
|
7753
7753
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
7754
7754
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -8492,7 +8492,7 @@ export declare const clipClipSchema: z.ZodObject<{
|
|
|
8492
8492
|
}>;
|
|
8493
8493
|
src: z.ZodOptional<z.ZodString>;
|
|
8494
8494
|
prompt: z.ZodOptional<z.ZodString>;
|
|
8495
|
-
|
|
8495
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
8496
8496
|
model: z.ZodOptional<z.ZodString>;
|
|
8497
8497
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
8498
8498
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -9716,7 +9716,7 @@ export declare const clipSchema: z.ZodObject<{
|
|
|
9716
9716
|
}>;
|
|
9717
9717
|
src: z.ZodOptional<z.ZodString>;
|
|
9718
9718
|
prompt: z.ZodOptional<z.ZodString>;
|
|
9719
|
-
|
|
9719
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
9720
9720
|
model: z.ZodOptional<z.ZodString>;
|
|
9721
9721
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
9722
9722
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -10944,7 +10944,7 @@ export declare const trackTrackSchema: z.ZodObject<{
|
|
|
10944
10944
|
}>;
|
|
10945
10945
|
src: z.ZodOptional<z.ZodString>;
|
|
10946
10946
|
prompt: z.ZodOptional<z.ZodString>;
|
|
10947
|
-
|
|
10947
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
10948
10948
|
model: z.ZodOptional<z.ZodString>;
|
|
10949
10949
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
10950
10950
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -12228,7 +12228,7 @@ export declare const trackTrackSchema: z.ZodObject<{
|
|
|
12228
12228
|
type: "video";
|
|
12229
12229
|
src?: string;
|
|
12230
12230
|
prompt?: string;
|
|
12231
|
-
|
|
12231
|
+
inputSrc?: string;
|
|
12232
12232
|
model?: string;
|
|
12233
12233
|
transcode?: boolean;
|
|
12234
12234
|
trim?: string | number;
|
|
@@ -12699,7 +12699,7 @@ export declare const trackTrackSchema: z.ZodObject<{
|
|
|
12699
12699
|
type: "video";
|
|
12700
12700
|
src?: string;
|
|
12701
12701
|
prompt?: string;
|
|
12702
|
-
|
|
12702
|
+
inputSrc?: string;
|
|
12703
12703
|
model?: string;
|
|
12704
12704
|
transcode?: boolean;
|
|
12705
12705
|
trim?: string | number;
|
|
@@ -13113,7 +13113,7 @@ export declare const trackSchema: z.ZodObject<{
|
|
|
13113
13113
|
}>;
|
|
13114
13114
|
src: z.ZodOptional<z.ZodString>;
|
|
13115
13115
|
prompt: z.ZodOptional<z.ZodString>;
|
|
13116
|
-
|
|
13116
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
13117
13117
|
model: z.ZodOptional<z.ZodString>;
|
|
13118
13118
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
13119
13119
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -14397,7 +14397,7 @@ export declare const trackSchema: z.ZodObject<{
|
|
|
14397
14397
|
type: "video";
|
|
14398
14398
|
src?: string;
|
|
14399
14399
|
prompt?: string;
|
|
14400
|
-
|
|
14400
|
+
inputSrc?: string;
|
|
14401
14401
|
model?: string;
|
|
14402
14402
|
transcode?: boolean;
|
|
14403
14403
|
trim?: string | number;
|
|
@@ -14868,7 +14868,7 @@ export declare const trackSchema: z.ZodObject<{
|
|
|
14868
14868
|
type: "video";
|
|
14869
14869
|
src?: string;
|
|
14870
14870
|
prompt?: string;
|
|
14871
|
-
|
|
14871
|
+
inputSrc?: string;
|
|
14872
14872
|
model?: string;
|
|
14873
14873
|
transcode?: boolean;
|
|
14874
14874
|
trim?: string | number;
|
|
@@ -15299,7 +15299,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
|
|
|
15299
15299
|
}>;
|
|
15300
15300
|
src: z.ZodOptional<z.ZodString>;
|
|
15301
15301
|
prompt: z.ZodOptional<z.ZodString>;
|
|
15302
|
-
|
|
15302
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
15303
15303
|
model: z.ZodOptional<z.ZodString>;
|
|
15304
15304
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
15305
15305
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -16583,7 +16583,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
|
|
|
16583
16583
|
type: "video";
|
|
16584
16584
|
src?: string;
|
|
16585
16585
|
prompt?: string;
|
|
16586
|
-
|
|
16586
|
+
inputSrc?: string;
|
|
16587
16587
|
model?: string;
|
|
16588
16588
|
transcode?: boolean;
|
|
16589
16589
|
trim?: string | number;
|
|
@@ -17054,7 +17054,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
|
|
|
17054
17054
|
type: "video";
|
|
17055
17055
|
src?: string;
|
|
17056
17056
|
prompt?: string;
|
|
17057
|
-
|
|
17057
|
+
inputSrc?: string;
|
|
17058
17058
|
model?: string;
|
|
17059
17059
|
transcode?: boolean;
|
|
17060
17060
|
trim?: string | number;
|
|
@@ -17484,7 +17484,7 @@ export declare const timelineSchema: z.ZodObject<{
|
|
|
17484
17484
|
}>;
|
|
17485
17485
|
src: z.ZodOptional<z.ZodString>;
|
|
17486
17486
|
prompt: z.ZodOptional<z.ZodString>;
|
|
17487
|
-
|
|
17487
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
17488
17488
|
model: z.ZodOptional<z.ZodString>;
|
|
17489
17489
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
17490
17490
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -18768,7 +18768,7 @@ export declare const timelineSchema: z.ZodObject<{
|
|
|
18768
18768
|
type: "video";
|
|
18769
18769
|
src?: string;
|
|
18770
18770
|
prompt?: string;
|
|
18771
|
-
|
|
18771
|
+
inputSrc?: string;
|
|
18772
18772
|
model?: string;
|
|
18773
18773
|
transcode?: boolean;
|
|
18774
18774
|
trim?: string | number;
|
|
@@ -19239,7 +19239,7 @@ export declare const timelineSchema: z.ZodObject<{
|
|
|
19239
19239
|
type: "video";
|
|
19240
19240
|
src?: string;
|
|
19241
19241
|
prompt?: string;
|
|
19242
|
-
|
|
19242
|
+
inputSrc?: string;
|
|
19243
19243
|
model?: string;
|
|
19244
19244
|
transcode?: boolean;
|
|
19245
19245
|
trim?: string | number;
|
|
@@ -19673,7 +19673,7 @@ export declare const editEditSchema: z.ZodObject<{
|
|
|
19673
19673
|
}>;
|
|
19674
19674
|
src: z.ZodOptional<z.ZodString>;
|
|
19675
19675
|
prompt: z.ZodOptional<z.ZodString>;
|
|
19676
|
-
|
|
19676
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
19677
19677
|
model: z.ZodOptional<z.ZodString>;
|
|
19678
19678
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
19679
19679
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -20957,7 +20957,7 @@ export declare const editEditSchema: z.ZodObject<{
|
|
|
20957
20957
|
type: "video";
|
|
20958
20958
|
src?: string;
|
|
20959
20959
|
prompt?: string;
|
|
20960
|
-
|
|
20960
|
+
inputSrc?: string;
|
|
20961
20961
|
model?: string;
|
|
20962
20962
|
transcode?: boolean;
|
|
20963
20963
|
trim?: string | number;
|
|
@@ -21428,7 +21428,7 @@ export declare const editEditSchema: z.ZodObject<{
|
|
|
21428
21428
|
type: "video";
|
|
21429
21429
|
src?: string;
|
|
21430
21430
|
prompt?: string;
|
|
21431
|
-
|
|
21431
|
+
inputSrc?: string;
|
|
21432
21432
|
model?: string;
|
|
21433
21433
|
transcode?: boolean;
|
|
21434
21434
|
trim?: string | number;
|
|
@@ -22024,7 +22024,7 @@ export declare const editSchema: z.ZodObject<{
|
|
|
22024
22024
|
}>;
|
|
22025
22025
|
src: z.ZodOptional<z.ZodString>;
|
|
22026
22026
|
prompt: z.ZodOptional<z.ZodString>;
|
|
22027
|
-
|
|
22027
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
22028
22028
|
model: z.ZodOptional<z.ZodString>;
|
|
22029
22029
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
22030
22030
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -23308,7 +23308,7 @@ export declare const editSchema: z.ZodObject<{
|
|
|
23308
23308
|
type: "video";
|
|
23309
23309
|
src?: string;
|
|
23310
23310
|
prompt?: string;
|
|
23311
|
-
|
|
23311
|
+
inputSrc?: string;
|
|
23312
23312
|
model?: string;
|
|
23313
23313
|
transcode?: boolean;
|
|
23314
23314
|
trim?: string | number;
|
|
@@ -23779,7 +23779,7 @@ export declare const editSchema: z.ZodObject<{
|
|
|
23779
23779
|
type: "video";
|
|
23780
23780
|
src?: string;
|
|
23781
23781
|
prompt?: string;
|
|
23782
|
-
|
|
23782
|
+
inputSrc?: string;
|
|
23783
23783
|
model?: string;
|
|
23784
23784
|
transcode?: boolean;
|
|
23785
23785
|
trim?: string | number;
|
|
@@ -24397,7 +24397,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
|
|
|
24397
24397
|
}>;
|
|
24398
24398
|
src: z.ZodOptional<z.ZodString>;
|
|
24399
24399
|
prompt: z.ZodOptional<z.ZodString>;
|
|
24400
|
-
|
|
24400
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
24401
24401
|
model: z.ZodOptional<z.ZodString>;
|
|
24402
24402
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
24403
24403
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -25681,7 +25681,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
|
|
|
25681
25681
|
type: "video";
|
|
25682
25682
|
src?: string;
|
|
25683
25683
|
prompt?: string;
|
|
25684
|
-
|
|
25684
|
+
inputSrc?: string;
|
|
25685
25685
|
model?: string;
|
|
25686
25686
|
transcode?: boolean;
|
|
25687
25687
|
trim?: string | number;
|
|
@@ -26152,7 +26152,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
|
|
|
26152
26152
|
type: "video";
|
|
26153
26153
|
src?: string;
|
|
26154
26154
|
prompt?: string;
|
|
26155
|
-
|
|
26155
|
+
inputSrc?: string;
|
|
26156
26156
|
model?: string;
|
|
26157
26157
|
transcode?: boolean;
|
|
26158
26158
|
trim?: string | number;
|
|
@@ -26770,7 +26770,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
|
|
|
26770
26770
|
}>;
|
|
26771
26771
|
src: z.ZodOptional<z.ZodString>;
|
|
26772
26772
|
prompt: z.ZodOptional<z.ZodString>;
|
|
26773
|
-
|
|
26773
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
26774
26774
|
model: z.ZodOptional<z.ZodString>;
|
|
26775
26775
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
26776
26776
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -28054,7 +28054,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
|
|
|
28054
28054
|
type: "video";
|
|
28055
28055
|
src?: string;
|
|
28056
28056
|
prompt?: string;
|
|
28057
|
-
|
|
28057
|
+
inputSrc?: string;
|
|
28058
28058
|
model?: string;
|
|
28059
28059
|
transcode?: boolean;
|
|
28060
28060
|
trim?: string | number;
|
|
@@ -28525,7 +28525,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
|
|
|
28525
28525
|
type: "video";
|
|
28526
28526
|
src?: string;
|
|
28527
28527
|
prompt?: string;
|
|
28528
|
-
|
|
28528
|
+
inputSrc?: string;
|
|
28529
28529
|
model?: string;
|
|
28530
28530
|
transcode?: boolean;
|
|
28531
28531
|
trim?: string | number;
|
|
@@ -29149,7 +29149,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
|
|
|
29149
29149
|
}>;
|
|
29150
29150
|
src: z.ZodOptional<z.ZodString>;
|
|
29151
29151
|
prompt: z.ZodOptional<z.ZodString>;
|
|
29152
|
-
|
|
29152
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
29153
29153
|
model: z.ZodOptional<z.ZodString>;
|
|
29154
29154
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
29155
29155
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -30433,7 +30433,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
|
|
|
30433
30433
|
type: "video";
|
|
30434
30434
|
src?: string;
|
|
30435
30435
|
prompt?: string;
|
|
30436
|
-
|
|
30436
|
+
inputSrc?: string;
|
|
30437
30437
|
model?: string;
|
|
30438
30438
|
transcode?: boolean;
|
|
30439
30439
|
trim?: string | number;
|
|
@@ -30904,7 +30904,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
|
|
|
30904
30904
|
type: "video";
|
|
30905
30905
|
src?: string;
|
|
30906
30906
|
prompt?: string;
|
|
30907
|
-
|
|
30907
|
+
inputSrc?: string;
|
|
30908
30908
|
model?: string;
|
|
30909
30909
|
transcode?: boolean;
|
|
30910
30910
|
trim?: string | number;
|
|
@@ -31526,7 +31526,7 @@ export declare const renderResponseSchema: z.ZodObject<{
|
|
|
31526
31526
|
}>;
|
|
31527
31527
|
src: z.ZodOptional<z.ZodString>;
|
|
31528
31528
|
prompt: z.ZodOptional<z.ZodString>;
|
|
31529
|
-
|
|
31529
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
31530
31530
|
model: z.ZodOptional<z.ZodString>;
|
|
31531
31531
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
31532
31532
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -32810,7 +32810,7 @@ export declare const renderResponseSchema: z.ZodObject<{
|
|
|
32810
32810
|
type: "video";
|
|
32811
32811
|
src?: string;
|
|
32812
32812
|
prompt?: string;
|
|
32813
|
-
|
|
32813
|
+
inputSrc?: string;
|
|
32814
32814
|
model?: string;
|
|
32815
32815
|
transcode?: boolean;
|
|
32816
32816
|
trim?: string | number;
|
|
@@ -33281,7 +33281,7 @@ export declare const renderResponseSchema: z.ZodObject<{
|
|
|
33281
33281
|
type: "video";
|
|
33282
33282
|
src?: string;
|
|
33283
33283
|
prompt?: string;
|
|
33284
|
-
|
|
33284
|
+
inputSrc?: string;
|
|
33285
33285
|
model?: string;
|
|
33286
33286
|
transcode?: boolean;
|
|
33287
33287
|
trim?: string | number;
|
|
@@ -33888,7 +33888,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
|
|
|
33888
33888
|
}>;
|
|
33889
33889
|
src: z.ZodOptional<z.ZodString>;
|
|
33890
33890
|
prompt: z.ZodOptional<z.ZodString>;
|
|
33891
|
-
|
|
33891
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
33892
33892
|
model: z.ZodOptional<z.ZodString>;
|
|
33893
33893
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
33894
33894
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -35172,7 +35172,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
|
|
|
35172
35172
|
type: "video";
|
|
35173
35173
|
src?: string;
|
|
35174
35174
|
prompt?: string;
|
|
35175
|
-
|
|
35175
|
+
inputSrc?: string;
|
|
35176
35176
|
model?: string;
|
|
35177
35177
|
transcode?: boolean;
|
|
35178
35178
|
trim?: string | number;
|
|
@@ -35643,7 +35643,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
|
|
|
35643
35643
|
type: "video";
|
|
35644
35644
|
src?: string;
|
|
35645
35645
|
prompt?: string;
|
|
35646
|
-
|
|
35646
|
+
inputSrc?: string;
|
|
35647
35647
|
model?: string;
|
|
35648
35648
|
transcode?: boolean;
|
|
35649
35649
|
trim?: string | number;
|
|
@@ -36244,7 +36244,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
|
|
|
36244
36244
|
}>;
|
|
36245
36245
|
src: z.ZodOptional<z.ZodString>;
|
|
36246
36246
|
prompt: z.ZodOptional<z.ZodString>;
|
|
36247
|
-
|
|
36247
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
36248
36248
|
model: z.ZodOptional<z.ZodString>;
|
|
36249
36249
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
36250
36250
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -37528,7 +37528,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
|
|
|
37528
37528
|
type: "video";
|
|
37529
37529
|
src?: string;
|
|
37530
37530
|
prompt?: string;
|
|
37531
|
-
|
|
37531
|
+
inputSrc?: string;
|
|
37532
37532
|
model?: string;
|
|
37533
37533
|
transcode?: boolean;
|
|
37534
37534
|
trim?: string | number;
|
|
@@ -37999,7 +37999,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
|
|
|
37999
37999
|
type: "video";
|
|
38000
38000
|
src?: string;
|
|
38001
38001
|
prompt?: string;
|
|
38002
|
-
|
|
38002
|
+
inputSrc?: string;
|
|
38003
38003
|
model?: string;
|
|
38004
38004
|
transcode?: boolean;
|
|
38005
38005
|
trim?: string | number;
|
|
@@ -38606,7 +38606,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
|
|
|
38606
38606
|
}>;
|
|
38607
38607
|
src: z.ZodOptional<z.ZodString>;
|
|
38608
38608
|
prompt: z.ZodOptional<z.ZodString>;
|
|
38609
|
-
|
|
38609
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
38610
38610
|
model: z.ZodOptional<z.ZodString>;
|
|
38611
38611
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
38612
38612
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -39890,7 +39890,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
|
|
|
39890
39890
|
type: "video";
|
|
39891
39891
|
src?: string;
|
|
39892
39892
|
prompt?: string;
|
|
39893
|
-
|
|
39893
|
+
inputSrc?: string;
|
|
39894
39894
|
model?: string;
|
|
39895
39895
|
transcode?: boolean;
|
|
39896
39896
|
trim?: string | number;
|
|
@@ -40361,7 +40361,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
|
|
|
40361
40361
|
type: "video";
|
|
40362
40362
|
src?: string;
|
|
40363
40363
|
prompt?: string;
|
|
40364
|
-
|
|
40364
|
+
inputSrc?: string;
|
|
40365
40365
|
model?: string;
|
|
40366
40366
|
transcode?: boolean;
|
|
40367
40367
|
trim?: string | number;
|
|
@@ -40966,7 +40966,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
|
|
|
40966
40966
|
}>;
|
|
40967
40967
|
src: z.ZodOptional<z.ZodString>;
|
|
40968
40968
|
prompt: z.ZodOptional<z.ZodString>;
|
|
40969
|
-
|
|
40969
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
40970
40970
|
model: z.ZodOptional<z.ZodString>;
|
|
40971
40971
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
40972
40972
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -42250,7 +42250,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
|
|
|
42250
42250
|
type: "video";
|
|
42251
42251
|
src?: string;
|
|
42252
42252
|
prompt?: string;
|
|
42253
|
-
|
|
42253
|
+
inputSrc?: string;
|
|
42254
42254
|
model?: string;
|
|
42255
42255
|
transcode?: boolean;
|
|
42256
42256
|
trim?: string | number;
|
|
@@ -42721,7 +42721,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
|
|
|
42721
42721
|
type: "video";
|
|
42722
42722
|
src?: string;
|
|
42723
42723
|
prompt?: string;
|
|
42724
|
-
|
|
42724
|
+
inputSrc?: string;
|
|
42725
42725
|
model?: string;
|
|
42726
42726
|
transcode?: boolean;
|
|
42727
42727
|
trim?: string | number;
|
|
@@ -43324,7 +43324,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
|
|
|
43324
43324
|
}>;
|
|
43325
43325
|
src: z.ZodOptional<z.ZodString>;
|
|
43326
43326
|
prompt: z.ZodOptional<z.ZodString>;
|
|
43327
|
-
|
|
43327
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
43328
43328
|
model: z.ZodOptional<z.ZodString>;
|
|
43329
43329
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
43330
43330
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -44608,7 +44608,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
|
|
|
44608
44608
|
type: "video";
|
|
44609
44609
|
src?: string;
|
|
44610
44610
|
prompt?: string;
|
|
44611
|
-
|
|
44611
|
+
inputSrc?: string;
|
|
44612
44612
|
model?: string;
|
|
44613
44613
|
transcode?: boolean;
|
|
44614
44614
|
trim?: string | number;
|
|
@@ -45079,7 +45079,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
|
|
|
45079
45079
|
type: "video";
|
|
45080
45080
|
src?: string;
|
|
45081
45081
|
prompt?: string;
|
|
45082
|
-
|
|
45082
|
+
inputSrc?: string;
|
|
45083
45083
|
model?: string;
|
|
45084
45084
|
transcode?: boolean;
|
|
45085
45085
|
trim?: string | number;
|
|
@@ -45678,7 +45678,7 @@ export declare const templateSchema: z.ZodObject<{
|
|
|
45678
45678
|
}>;
|
|
45679
45679
|
src: z.ZodOptional<z.ZodString>;
|
|
45680
45680
|
prompt: z.ZodOptional<z.ZodString>;
|
|
45681
|
-
|
|
45681
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
45682
45682
|
model: z.ZodOptional<z.ZodString>;
|
|
45683
45683
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
45684
45684
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -46962,7 +46962,7 @@ export declare const templateSchema: z.ZodObject<{
|
|
|
46962
46962
|
type: "video";
|
|
46963
46963
|
src?: string;
|
|
46964
46964
|
prompt?: string;
|
|
46965
|
-
|
|
46965
|
+
inputSrc?: string;
|
|
46966
46966
|
model?: string;
|
|
46967
46967
|
transcode?: boolean;
|
|
46968
46968
|
trim?: string | number;
|
|
@@ -47433,7 +47433,7 @@ export declare const templateSchema: z.ZodObject<{
|
|
|
47433
47433
|
type: "video";
|
|
47434
47434
|
src?: string;
|
|
47435
47435
|
prompt?: string;
|
|
47436
|
-
|
|
47436
|
+
inputSrc?: string;
|
|
47437
47437
|
model?: string;
|
|
47438
47438
|
transcode?: boolean;
|
|
47439
47439
|
trim?: string | number;
|
|
@@ -48031,7 +48031,7 @@ export declare const postRenderRequest: z.ZodObject<{
|
|
|
48031
48031
|
}>;
|
|
48032
48032
|
src: z.ZodOptional<z.ZodString>;
|
|
48033
48033
|
prompt: z.ZodOptional<z.ZodString>;
|
|
48034
|
-
|
|
48034
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
48035
48035
|
model: z.ZodOptional<z.ZodString>;
|
|
48036
48036
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
48037
48037
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -49315,7 +49315,7 @@ export declare const postRenderRequest: z.ZodObject<{
|
|
|
49315
49315
|
type: "video";
|
|
49316
49316
|
src?: string;
|
|
49317
49317
|
prompt?: string;
|
|
49318
|
-
|
|
49318
|
+
inputSrc?: string;
|
|
49319
49319
|
model?: string;
|
|
49320
49320
|
transcode?: boolean;
|
|
49321
49321
|
trim?: string | number;
|
|
@@ -49786,7 +49786,7 @@ export declare const postRenderRequest: z.ZodObject<{
|
|
|
49786
49786
|
type: "video";
|
|
49787
49787
|
src?: string;
|
|
49788
49788
|
prompt?: string;
|
|
49789
|
-
|
|
49789
|
+
inputSrc?: string;
|
|
49790
49790
|
model?: string;
|
|
49791
49791
|
transcode?: boolean;
|
|
49792
49792
|
trim?: string | number;
|
|
@@ -50431,7 +50431,7 @@ export declare const getRenderResponse: z.ZodObject<{
|
|
|
50431
50431
|
}>;
|
|
50432
50432
|
src: z.ZodOptional<z.ZodString>;
|
|
50433
50433
|
prompt: z.ZodOptional<z.ZodString>;
|
|
50434
|
-
|
|
50434
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
50435
50435
|
model: z.ZodOptional<z.ZodString>;
|
|
50436
50436
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
50437
50437
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -51715,7 +51715,7 @@ export declare const getRenderResponse: z.ZodObject<{
|
|
|
51715
51715
|
type: "video";
|
|
51716
51716
|
src?: string;
|
|
51717
51717
|
prompt?: string;
|
|
51718
|
-
|
|
51718
|
+
inputSrc?: string;
|
|
51719
51719
|
model?: string;
|
|
51720
51720
|
transcode?: boolean;
|
|
51721
51721
|
trim?: string | number;
|
|
@@ -52186,7 +52186,7 @@ export declare const getRenderResponse: z.ZodObject<{
|
|
|
52186
52186
|
type: "video";
|
|
52187
52187
|
src?: string;
|
|
52188
52188
|
prompt?: string;
|
|
52189
|
-
|
|
52189
|
+
inputSrc?: string;
|
|
52190
52190
|
model?: string;
|
|
52191
52191
|
transcode?: boolean;
|
|
52192
52192
|
trim?: string | number;
|
|
@@ -52810,7 +52810,7 @@ export declare const postTemplateRequest: z.ZodObject<{
|
|
|
52810
52810
|
}>;
|
|
52811
52811
|
src: z.ZodOptional<z.ZodString>;
|
|
52812
52812
|
prompt: z.ZodOptional<z.ZodString>;
|
|
52813
|
-
|
|
52813
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
52814
52814
|
model: z.ZodOptional<z.ZodString>;
|
|
52815
52815
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
52816
52816
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -54094,7 +54094,7 @@ export declare const postTemplateRequest: z.ZodObject<{
|
|
|
54094
54094
|
type: "video";
|
|
54095
54095
|
src?: string;
|
|
54096
54096
|
prompt?: string;
|
|
54097
|
-
|
|
54097
|
+
inputSrc?: string;
|
|
54098
54098
|
model?: string;
|
|
54099
54099
|
transcode?: boolean;
|
|
54100
54100
|
trim?: string | number;
|
|
@@ -54565,7 +54565,7 @@ export declare const postTemplateRequest: z.ZodObject<{
|
|
|
54565
54565
|
type: "video";
|
|
54566
54566
|
src?: string;
|
|
54567
54567
|
prompt?: string;
|
|
54568
|
-
|
|
54568
|
+
inputSrc?: string;
|
|
54569
54569
|
model?: string;
|
|
54570
54570
|
transcode?: boolean;
|
|
54571
54571
|
trim?: string | number;
|
|
@@ -55204,7 +55204,7 @@ export declare const getTemplateResponse: z.ZodObject<{
|
|
|
55204
55204
|
}>;
|
|
55205
55205
|
src: z.ZodOptional<z.ZodString>;
|
|
55206
55206
|
prompt: z.ZodOptional<z.ZodString>;
|
|
55207
|
-
|
|
55207
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
55208
55208
|
model: z.ZodOptional<z.ZodString>;
|
|
55209
55209
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
55210
55210
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -56488,7 +56488,7 @@ export declare const getTemplateResponse: z.ZodObject<{
|
|
|
56488
56488
|
type: "video";
|
|
56489
56489
|
src?: string;
|
|
56490
56490
|
prompt?: string;
|
|
56491
|
-
|
|
56491
|
+
inputSrc?: string;
|
|
56492
56492
|
model?: string;
|
|
56493
56493
|
transcode?: boolean;
|
|
56494
56494
|
trim?: string | number;
|
|
@@ -56959,7 +56959,7 @@ export declare const getTemplateResponse: z.ZodObject<{
|
|
|
56959
56959
|
type: "video";
|
|
56960
56960
|
src?: string;
|
|
56961
56961
|
prompt?: string;
|
|
56962
|
-
|
|
56962
|
+
inputSrc?: string;
|
|
56963
56963
|
model?: string;
|
|
56964
56964
|
transcode?: boolean;
|
|
56965
56965
|
trim?: string | number;
|
|
@@ -57560,7 +57560,7 @@ export declare const putTemplateRequest: z.ZodObject<{
|
|
|
57560
57560
|
}>;
|
|
57561
57561
|
src: z.ZodOptional<z.ZodString>;
|
|
57562
57562
|
prompt: z.ZodOptional<z.ZodString>;
|
|
57563
|
-
|
|
57563
|
+
inputSrc: z.ZodOptional<z.ZodString>;
|
|
57564
57564
|
model: z.ZodOptional<z.ZodString>;
|
|
57565
57565
|
transcode: z.ZodOptional<z.ZodBoolean>;
|
|
57566
57566
|
trim: z.ZodOptional<z.ZodUnion<readonly [z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodNumber>, z.ZodString]>>;
|
|
@@ -58844,7 +58844,7 @@ export declare const putTemplateRequest: z.ZodObject<{
|
|
|
58844
58844
|
type: "video";
|
|
58845
58845
|
src?: string;
|
|
58846
58846
|
prompt?: string;
|
|
58847
|
-
|
|
58847
|
+
inputSrc?: string;
|
|
58848
58848
|
model?: string;
|
|
58849
58849
|
transcode?: boolean;
|
|
58850
58850
|
trim?: string | number;
|
|
@@ -59315,7 +59315,7 @@ export declare const putTemplateRequest: z.ZodObject<{
|
|
|
59315
59315
|
type: "video";
|
|
59316
59316
|
src?: string;
|
|
59317
59317
|
prompt?: string;
|
|
59318
|
-
|
|
59318
|
+
inputSrc?: string;
|
|
59319
59319
|
model?: string;
|
|
59320
59320
|
transcode?: boolean;
|
|
59321
59321
|
trim?: string | number;
|
package/dist/zod/zod.gen.js
CHANGED
|
@@ -494,7 +494,7 @@ export const imageassetImageAssetSchema = z.object({
|
|
|
494
494
|
export const imageAssetSchema = imageassetImageAssetSchema;
|
|
495
495
|
/**
|
|
496
496
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
497
|
-
* with `prompt` and `
|
|
497
|
+
* with `prompt` and `inputSrc` instead.** This type continues to function and is
|
|
498
498
|
* internally rewritten to VideoAsset; no behaviour change for existing
|
|
499
499
|
* integrations.
|
|
500
500
|
*
|
|
@@ -2402,12 +2402,12 @@ export const transformationTransformationSchema = z.object({
|
|
|
2402
2402
|
export const transformationSchema = transformationTransformationSchema;
|
|
2403
2403
|
/**
|
|
2404
2404
|
* The VideoAsset adds a video to a Clip. The video can be sourced from a URL
|
|
2405
|
-
* (`src`) or generated from a text prompt (`prompt`), optionally
|
|
2406
|
-
* starting image (`
|
|
2405
|
+
* (`src`) or generated from a text prompt (`prompt`), optionally from a
|
|
2406
|
+
* starting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.
|
|
2407
2407
|
*
|
|
2408
2408
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
2409
|
-
* - **Generated:** set `prompt` to describe the motion. Optionally set `
|
|
2410
|
-
* a starting image URL (image-to-video). Use `model` to choose the generator
|
|
2409
|
+
* - **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`
|
|
2410
|
+
* to a starting image URL (image-to-video). Use `model` to choose the generator
|
|
2411
2411
|
* (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in
|
|
2412
2412
|
* automatically.
|
|
2413
2413
|
*
|
|
@@ -2416,7 +2416,7 @@ export const videoassetVideoAssetSchema = z.object({
|
|
|
2416
2416
|
type: z.enum(['video']),
|
|
2417
2417
|
src: z.optional(z.string().min(1).regex(/\S/)),
|
|
2418
2418
|
prompt: z.optional(z.string().max(4000)),
|
|
2419
|
-
|
|
2419
|
+
inputSrc: z.optional(z.string().min(1)),
|
|
2420
2420
|
model: z.optional(z.string()),
|
|
2421
2421
|
transcode: z.optional(z.boolean()),
|
|
2422
2422
|
trim: z.optional(z.union([z.preprocess(((v) => { if (v === '' || v === null || v === undefined)
|
package/dist/zod/zod.gen.ts
CHANGED
|
@@ -444,7 +444,7 @@ export const imageAssetSchema = imageassetImageAssetSchema;
|
|
|
444
444
|
|
|
445
445
|
/**
|
|
446
446
|
* **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
|
|
447
|
-
* with `prompt` and `
|
|
447
|
+
* with `prompt` and `inputSrc` instead.** This type continues to function and is
|
|
448
448
|
* internally rewritten to VideoAsset; no behaviour change for existing
|
|
449
449
|
* integrations.
|
|
450
450
|
*
|
|
@@ -1966,12 +1966,12 @@ export const transformationSchema = transformationTransformationSchema;
|
|
|
1966
1966
|
|
|
1967
1967
|
/**
|
|
1968
1968
|
* The VideoAsset adds a video to a Clip. The video can be sourced from a URL
|
|
1969
|
-
* (`src`) or generated from a text prompt (`prompt`), optionally
|
|
1970
|
-
* starting image (`
|
|
1969
|
+
* (`src`) or generated from a text prompt (`prompt`), optionally from a
|
|
1970
|
+
* starting image (`inputSrc`). Exactly one of `src` or `prompt` must be provided.
|
|
1971
1971
|
*
|
|
1972
1972
|
* - **Source URL:** set `src` to the URL of an mp4 (or compatible) video file.
|
|
1973
|
-
* - **Generated:** set `prompt` to describe the motion. Optionally set `
|
|
1974
|
-
* a starting image URL (image-to-video). Use `model` to choose the generator
|
|
1973
|
+
* - **Generated:** set `prompt` to describe the motion. Optionally set `inputSrc`
|
|
1974
|
+
* to a starting image URL (image-to-video). Use `model` to choose the generator
|
|
1975
1975
|
* (e.g. `luma-ray-3`, `runpod-itv-mini`). The generated `src` is filled in
|
|
1976
1976
|
* automatically.
|
|
1977
1977
|
*
|
|
@@ -1980,7 +1980,7 @@ export const videoassetVideoAssetSchema = z.object({
|
|
|
1980
1980
|
type: z.enum(['video']),
|
|
1981
1981
|
src: z.optional(z.string().min(1).regex(/\S/)),
|
|
1982
1982
|
prompt: z.optional(z.string().max(4000)),
|
|
1983
|
-
|
|
1983
|
+
inputSrc: z.optional(z.string().min(1)),
|
|
1984
1984
|
model: z.optional(z.string()),
|
|
1985
1985
|
transcode: z.optional(z.boolean()),
|
|
1986
1986
|
trim: z.optional(z.union([z.preprocess(((v: unknown) => { if (v === '' || v === null || v === undefined) return undefined; if (Array.isArray(v)) return v; if (typeof v === 'string') { if (/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/.test(v)) return v; return Number(v); } return v; }), z.number()), z.string().regex(/^\{\{\s*[A-Za-z0-9_]+\s*\}\}$/)])),
|