@shotstack/schemas 1.13.1 → 1.13.2

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.
@@ -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 seeded from a\nstarting image (`seed`). 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 `seed` to\n 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",
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,13 +1208,20 @@
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 `seed` for image-to-video. Use `model` to choose the generator.",
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
+ "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
+ "type": "string",
1219
+ "minLength": 1,
1220
+ "example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/input-image.jpg"
1221
+ },
1216
1222
  "seed": {
1217
- "description": "Seed 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.",
1223
+ "deprecated": true,
1224
+ "description": "**Deprecated — use `inputSrc`.** Legacy alias for the image-to-video input image URL, accepted and normalised to `inputSrc` on ingest. The name is misleading — industry-wide `seed` means an integer RNG sampling seed — and will be removed in a future major version.",
1218
1225
  "type": "string",
1219
1226
  "minLength": 1,
1220
1227
  "example": "https://s3-ap-northeast-1.amazonaws.com/my-bucket/seed-image.jpg"
@@ -2201,7 +2208,7 @@
2201
2208
  },
2202
2209
  "ImageToVideoAsset": {
2203
2210
  "deprecated": true,
2204
- "description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `seed` 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",
2211
+ "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
2212
  "properties": {
2206
2213
  "type": {
2207
2214
  "type": "string",
@@ -70,6 +70,16 @@
70
70
  }
71
71
  ]
72
72
  },
73
+ "inputSrc": {
74
+ "anyOf": [
75
+ {
76
+ "type": "string"
77
+ },
78
+ {
79
+ "type": "null"
80
+ }
81
+ ]
82
+ },
73
83
  "seed": {
74
84
  "anyOf": [
75
85
  {
@@ -182,6 +192,7 @@
182
192
  "type",
183
193
  "src",
184
194
  "prompt",
195
+ "inputSrc",
185
196
  "seed",
186
197
  "model",
187
198
  "transcode",
@@ -313,6 +313,16 @@
313
313
  }
314
314
  ]
315
315
  },
316
+ "inputSrc": {
317
+ "anyOf": [
318
+ {
319
+ "type": "string"
320
+ },
321
+ {
322
+ "type": "null"
323
+ }
324
+ ]
325
+ },
316
326
  "seed": {
317
327
  "anyOf": [
318
328
  {
@@ -425,6 +435,7 @@
425
435
  "type",
426
436
  "src",
427
437
  "prompt",
438
+ "inputSrc",
428
439
  "seed",
429
440
  "model",
430
441
  "transcode",
@@ -497,6 +497,16 @@
497
497
  }
498
498
  ]
499
499
  },
500
+ "inputSrc": {
501
+ "anyOf": [
502
+ {
503
+ "type": "string"
504
+ },
505
+ {
506
+ "type": "null"
507
+ }
508
+ ]
509
+ },
500
510
  "seed": {
501
511
  "anyOf": [
502
512
  {
@@ -609,6 +619,7 @@
609
619
  "type",
610
620
  "src",
611
621
  "prompt",
622
+ "inputSrc",
612
623
  "seed",
613
624
  "model",
614
625
  "transcode",
@@ -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 `seed` 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",
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 seeded from a\nstarting image (`seed`). 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 `seed` to\n 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",
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,7 +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 `seed` for image-to-video. Use `model` to choose the generator."
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
+ },
480
+ {
481
+ "type": "null"
482
+ }
483
+ ]
484
+ },
485
+ "inputSrc": {
486
+ "anyOf": [
487
+ {
488
+ "type": "string",
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."
479
490
  },
480
491
  {
481
492
  "type": "null"
@@ -486,7 +497,7 @@
486
497
  "anyOf": [
487
498
  {
488
499
  "type": "string",
489
- "description": "Seed 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."
500
+ "description": "**Deprecated — use `inputSrc`.** Legacy alias for the image-to-video input image URL, accepted and normalised to `inputSrc` on ingest. The name is misleading — industry-wide `seed` means an integer RNG sampling seed — and will be removed in a future major version."
490
501
  },
491
502
  {
492
503
  "type": "null"
@@ -603,6 +614,7 @@
603
614
  "type",
604
615
  "src",
605
616
  "prompt",
617
+ "inputSrc",
606
618
  "seed",
607
619
  "model",
608
620
  "transcode",
@@ -3019,7 +3031,7 @@
3019
3031
  ]
3020
3032
  },
3021
3033
  "ImageToVideoAsset": {
3022
- "description": "**Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)\nwith `prompt` and `seed` 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",
3034
+ "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
3035
  "properties": {
3024
3036
  "type": {
3025
3037
  "type": "string",
@@ -231,6 +231,16 @@
231
231
  }
232
232
  ]
233
233
  },
234
+ "inputSrc": {
235
+ "anyOf": [
236
+ {
237
+ "type": "string"
238
+ },
239
+ {
240
+ "type": "null"
241
+ }
242
+ ]
243
+ },
234
244
  "seed": {
235
245
  "anyOf": [
236
246
  {
@@ -307,6 +317,7 @@
307
317
  "type",
308
318
  "src",
309
319
  "prompt",
320
+ "inputSrc",
310
321
  "seed",
311
322
  "model",
312
323
  "trim",
@@ -441,6 +441,16 @@
441
441
  }
442
442
  ]
443
443
  },
444
+ "inputSrc": {
445
+ "anyOf": [
446
+ {
447
+ "type": "string"
448
+ },
449
+ {
450
+ "type": "null"
451
+ }
452
+ ]
453
+ },
444
454
  "seed": {
445
455
  "anyOf": [
446
456
  {
@@ -553,6 +563,7 @@
553
563
  "type",
554
564
  "src",
555
565
  "prompt",
566
+ "inputSrc",
556
567
  "seed",
557
568
  "model",
558
569
  "transcode",
@@ -328,6 +328,16 @@
328
328
  }
329
329
  ]
330
330
  },
331
+ "inputSrc": {
332
+ "anyOf": [
333
+ {
334
+ "type": "string"
335
+ },
336
+ {
337
+ "type": "null"
338
+ }
339
+ ]
340
+ },
331
341
  "seed": {
332
342
  "anyOf": [
333
343
  {
@@ -440,6 +450,7 @@
440
450
  "type",
441
451
  "src",
442
452
  "prompt",
453
+ "inputSrc",
443
454
  "seed",
444
455
  "model",
445
456
  "transcode",
@@ -2,21 +2,21 @@
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 seeded from a\nstarting image (`seed`). Exactly one of...",
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`)....",
6
6
  "type": "object",
7
7
  "properties": {
8
8
  "type": {
9
9
  "enum": [
10
10
  "video"
11
11
  ],
12
- "description": "The type of a...",
12
+ "description": "The type of...",
13
13
  "type": "string"
14
14
  },
15
15
  "src": {
16
16
  "anyOf": [
17
17
  {
18
18
  "type": "string",
19
- "description": "The video source URL. The URL must be pu..."
19
+ "description": "The video source URL. The URL must b..."
20
20
  },
21
21
  {
22
22
  "type": "null"
@@ -27,7 +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`,..."
31
+ },
32
+ {
33
+ "type": "null"
34
+ }
35
+ ]
36
+ },
37
+ "inputSrc": {
38
+ "anyOf": [
39
+ {
40
+ "type": "string",
41
+ "description": "Input image URL for image-to-video generation...."
31
42
  },
32
43
  {
33
44
  "type": "null"
@@ -38,7 +49,7 @@
38
49
  "anyOf": [
39
50
  {
40
51
  "type": "string",
41
- "description": "Seed image URL for image-to-video generation. The i..."
52
+ "description": "**Deprecated — use `inputSrc`.** Legacy alias for the image-to-video input image..."
42
53
  },
43
54
  {
44
55
  "type": "null"
@@ -49,7 +60,7 @@
49
60
  "anyOf": [
50
61
  {
51
62
  "type": "string",
52
- "description": "The generation model to use when `prompt` is set..."
63
+ "description": "The generation model to use when `prompt` i..."
53
64
  },
54
65
  {
55
66
  "type": "null"
@@ -60,7 +71,7 @@
60
71
  "anyOf": [
61
72
  {
62
73
  "type": "boolean",
63
- "description": "Set to `true` to force re-encoding of the video during preprocessing. This can help resol..."
74
+ "description": "Set to `true` to force re-encoding of the video during preprocessing. This can h..."
64
75
  },
65
76
  {
66
77
  "type": "null"
@@ -71,7 +82,7 @@
71
82
  "anyOf": [
72
83
  {
73
84
  "type": "number",
74
- "description": "The start trim point of the video clip, in seconds (defaults..."
85
+ "description": "The start trim point of the video clip, in seconds (de..."
75
86
  },
76
87
  {
77
88
  "type": "null"
@@ -79,17 +90,17 @@
79
90
  ]
80
91
  },
81
92
  "volume": {
82
- "description": "Set the volume of the video clip. Use a nu...",
93
+ "description": "Set the volume of the video clip. Use ...",
83
94
  "anyOf": [
84
95
  {
85
96
  "type": "number",
86
- "description": "The volume level for the video clip. ...",
97
+ "description": "The volume level for the video cl...",
87
98
  "minimum": 0,
88
99
  "maximum": 1
89
100
  },
90
101
  {
91
102
  "type": "array",
92
- "description": "An array of [Tween](./#tocs_tween) obje...",
103
+ "description": "An array of [Tween](./#tocs_tween) ...",
93
104
  "items": {
94
105
  "$ref": "#/$defs/Tween"
95
106
  }
@@ -103,7 +114,7 @@
103
114
  "anyOf": [
104
115
  {
105
116
  "type": "string",
106
- "description": "Preset volume effects to apply to the video asset <ul>\n <li>`fade...",
117
+ "description": "Preset volume effects to apply to the video asset <ul>\n <l...",
107
118
  "enum": [
108
119
  "none",
109
120
  "fadeIn",
@@ -120,7 +131,7 @@
120
131
  "anyOf": [
121
132
  {
122
133
  "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 adjust...",
134
+ "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 ...",
124
135
  "minimum": 0,
125
136
  "maximum": 10
126
137
  },
@@ -155,6 +166,7 @@
155
166
  "type",
156
167
  "src",
157
168
  "prompt",
169
+ "inputSrc",
158
170
  "seed",
159
171
  "model",
160
172
  "transcode",
@@ -167,13 +179,13 @@
167
179
  ],
168
180
  "$defs": {
169
181
  "Tween": {
170
- "description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and can be animated:...",
182
+ "description": "Use a Tween to [animate properties over time](/docs/guide/architecting-an-application/animations/). The following properties are currently supported and ...",
171
183
  "properties": {
172
184
  "from": {
173
185
  "anyOf": [
174
186
  {
175
187
  "type": "string",
176
- "description": "The initial prope..."
188
+ "description": "The initial pro..."
177
189
  },
178
190
  {
179
191
  "type": "null"
@@ -184,7 +196,7 @@
184
196
  "anyOf": [
185
197
  {
186
198
  "type": "string",
187
- "description": "The final prope..."
199
+ "description": "The final pro..."
188
200
  },
189
201
  {
190
202
  "type": "null"
@@ -195,7 +207,7 @@
195
207
  "anyOf": [
196
208
  {
197
209
  "type": "number",
198
- "description": "The time in seconds when th..."
210
+ "description": "The time in seconds when..."
199
211
  },
200
212
  {
201
213
  "type": "null"
@@ -206,7 +218,7 @@
206
218
  "anyOf": [
207
219
  {
208
220
  "type": "number",
209
- "description": "The duratio..."
221
+ "description": "The durati..."
210
222
  },
211
223
  {
212
224
  "type": "null"
@@ -217,7 +229,7 @@
217
229
  "anyOf": [
218
230
  {
219
231
  "type": "string",
220
- "description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation between the st...",
232
+ "description": "The interpolation method to use for the animation. Available options are: <ul>\n <li>`linear` - a linear interpolation b...",
221
233
  "enum": [
222
234
  "linear",
223
235
  "bezier",
@@ -233,7 +245,7 @@
233
245
  "anyOf": [
234
246
  {
235
247
  "type": "string",
236
- "description": "The easing function to use for the animation. Easing controls the rate of change of th...",
248
+ "description": "The easing function to use for the animation. Easing controls the rate of chan...",
237
249
  "enum": [
238
250
  "ease",
239
251
  "easeIn",
@@ -283,13 +295,13 @@
283
295
  ]
284
296
  },
285
297
  "Crop": {
286
- "description": "Crop the sides of an asset by a relative amount. The size of the crop is specified using a s...",
298
+ "description": "Crop the sides of an asset by a relative amount. The size of the crop is specified ...",
287
299
  "properties": {
288
300
  "top": {
289
301
  "anyOf": [
290
302
  {
291
303
  "type": "number",
292
- "description": "Crop fr...",
304
+ "description": "Crop f...",
293
305
  "minimum": 0,
294
306
  "maximum": 1
295
307
  },
@@ -302,7 +314,7 @@
302
314
  "anyOf": [
303
315
  {
304
316
  "type": "number",
305
- "description": "Crop fro...",
317
+ "description": "Crop fr...",
306
318
  "minimum": 0,
307
319
  "maximum": 1
308
320
  },
@@ -315,7 +327,7 @@
315
327
  "anyOf": [
316
328
  {
317
329
  "type": "number",
318
- "description": "Crop fr...",
330
+ "description": "Crop f...",
319
331
  "minimum": 0,
320
332
  "maximum": 1
321
333
  },
@@ -328,7 +340,7 @@
328
340
  "anyOf": [
329
341
  {
330
342
  "type": "number",
331
- "description": "Crop fr...",
343
+ "description": "Crop f...",
332
344
  "minimum": 0,
333
345
  "maximum": 1
334
346
  },
@@ -348,17 +360,17 @@
348
360
  ]
349
361
  },
350
362
  "ChromaKey": {
351
- "description": "Chroma key is a technique that replaces a specific color in a video with a ...",
363
+ "description": "Chroma key is a technique that replaces a specific color in a video...",
352
364
  "properties": {
353
365
  "color": {
354
- "description": "The chroma key color as a hex value. Use green (#00b1...",
366
+ "description": "The chroma key color as a hex value. Use green ...",
355
367
  "type": "string"
356
368
  },
357
369
  "threshold": {
358
370
  "anyOf": [
359
371
  {
360
372
  "type": "integer",
361
- "description": "Pixels within this distance from...",
373
+ "description": "Pixels within this distance ...",
362
374
  "minimum": 0,
363
375
  "maximum": 250
364
376
  },
@@ -371,7 +383,7 @@
371
383
  "anyOf": [
372
384
  {
373
385
  "type": "integer",
374
- "description": "Pixels within the halo distance from the thre...",
386
+ "description": "Pixels within the halo distance from the ...",
375
387
  "minimum": 0,
376
388
  "maximum": 250
377
389
  },
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 seeded from a
556
- * starting image (`seed`). Exactly one of `src` or `prompt` must be provided.
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 `seed` to
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,12 +573,18 @@ 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 `seed` for image-to-video. Use `model` to choose the generator.
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 Seed 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.
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
+ */
584
+ inputSrc?: string;
585
+ /**
586
+ * @deprecated
587
+ * @description **Deprecated — use `inputSrc`.** Legacy alias for the image-to-video input image URL, accepted and normalised to `inputSrc` on ingest. The name is misleading — industry-wide `seed` means an integer RNG sampling seed — and will be removed in a future major version.
582
588
  * @example https://s3-ap-northeast-1.amazonaws.com/my-bucket/seed-image.jpg
583
589
  */
584
590
  seed?: string;
@@ -1230,7 +1236,7 @@ export interface components {
1230
1236
  /**
1231
1237
  * @deprecated
1232
1238
  * @description **Notice: ImageToVideoAsset is deprecated. Use [VideoAsset](#tocs_videoasset)
1233
- * with `prompt` and `seed` instead.** This type continues to function and is
1239
+ * with `prompt` and `inputSrc` instead.** This type continues to function and is
1234
1240
  * internally rewritten to VideoAsset; no behaviour change for existing
1235
1241
  * integrations.
1236
1242
  *
@@ -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 `seed` instead.** This type continues to function and is
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 seeded from a
2414
- * starting image (`seed`). Exactly one of `src` or `prompt` must be provided.
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 `seed` to
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,6 +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
+ inputSrc: zod_1.z.optional(zod_1.z.string().min(1)),
2427
2428
  seed: zod_1.z.optional(zod_1.z.string().min(1)),
2428
2429
  model: zod_1.z.optional(zod_1.z.string()),
2429
2430
  transcode: zod_1.z.optional(zod_1.z.boolean()),
@@ -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 `seed` instead.** This type continues to function and is
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 seeded from a
6854
- * starting image (`seed`). Exactly one of `src` or `prompt` must be provided.
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 `seed` to
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,6 +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
+ inputSrc: z.ZodOptional<z.ZodString>;
6869
6870
  seed: z.ZodOptional<z.ZodString>;
6870
6871
  model: z.ZodOptional<z.ZodString>;
6871
6872
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -6936,6 +6937,7 @@ export declare const videoAssetSchema: z.ZodObject<{
6936
6937
  }>;
6937
6938
  src: z.ZodOptional<z.ZodString>;
6938
6939
  prompt: z.ZodOptional<z.ZodString>;
6940
+ inputSrc: z.ZodOptional<z.ZodString>;
6939
6941
  seed: z.ZodOptional<z.ZodString>;
6940
6942
  model: z.ZodOptional<z.ZodString>;
6941
6943
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -7009,6 +7011,7 @@ export declare const assetAssetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7009
7011
  }>;
7010
7012
  src: z.ZodOptional<z.ZodString>;
7011
7013
  prompt: z.ZodOptional<z.ZodString>;
7014
+ inputSrc: z.ZodOptional<z.ZodString>;
7012
7015
  seed: z.ZodOptional<z.ZodString>;
7013
7016
  model: z.ZodOptional<z.ZodString>;
7014
7017
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -7748,6 +7751,7 @@ export declare const assetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7748
7751
  }>;
7749
7752
  src: z.ZodOptional<z.ZodString>;
7750
7753
  prompt: z.ZodOptional<z.ZodString>;
7754
+ inputSrc: z.ZodOptional<z.ZodString>;
7751
7755
  seed: z.ZodOptional<z.ZodString>;
7752
7756
  model: z.ZodOptional<z.ZodString>;
7753
7757
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -8492,6 +8496,7 @@ export declare const clipClipSchema: z.ZodObject<{
8492
8496
  }>;
8493
8497
  src: z.ZodOptional<z.ZodString>;
8494
8498
  prompt: z.ZodOptional<z.ZodString>;
8499
+ inputSrc: z.ZodOptional<z.ZodString>;
8495
8500
  seed: z.ZodOptional<z.ZodString>;
8496
8501
  model: z.ZodOptional<z.ZodString>;
8497
8502
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -9716,6 +9721,7 @@ export declare const clipSchema: z.ZodObject<{
9716
9721
  }>;
9717
9722
  src: z.ZodOptional<z.ZodString>;
9718
9723
  prompt: z.ZodOptional<z.ZodString>;
9724
+ inputSrc: z.ZodOptional<z.ZodString>;
9719
9725
  seed: z.ZodOptional<z.ZodString>;
9720
9726
  model: z.ZodOptional<z.ZodString>;
9721
9727
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -10944,6 +10950,7 @@ export declare const trackTrackSchema: z.ZodObject<{
10944
10950
  }>;
10945
10951
  src: z.ZodOptional<z.ZodString>;
10946
10952
  prompt: z.ZodOptional<z.ZodString>;
10953
+ inputSrc: z.ZodOptional<z.ZodString>;
10947
10954
  seed: z.ZodOptional<z.ZodString>;
10948
10955
  model: z.ZodOptional<z.ZodString>;
10949
10956
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -12228,6 +12235,7 @@ export declare const trackTrackSchema: z.ZodObject<{
12228
12235
  type: "video";
12229
12236
  src?: string;
12230
12237
  prompt?: string;
12238
+ inputSrc?: string;
12231
12239
  seed?: string;
12232
12240
  model?: string;
12233
12241
  transcode?: boolean;
@@ -12699,6 +12707,7 @@ export declare const trackTrackSchema: z.ZodObject<{
12699
12707
  type: "video";
12700
12708
  src?: string;
12701
12709
  prompt?: string;
12710
+ inputSrc?: string;
12702
12711
  seed?: string;
12703
12712
  model?: string;
12704
12713
  transcode?: boolean;
@@ -13113,6 +13122,7 @@ export declare const trackSchema: z.ZodObject<{
13113
13122
  }>;
13114
13123
  src: z.ZodOptional<z.ZodString>;
13115
13124
  prompt: z.ZodOptional<z.ZodString>;
13125
+ inputSrc: z.ZodOptional<z.ZodString>;
13116
13126
  seed: z.ZodOptional<z.ZodString>;
13117
13127
  model: z.ZodOptional<z.ZodString>;
13118
13128
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -14397,6 +14407,7 @@ export declare const trackSchema: z.ZodObject<{
14397
14407
  type: "video";
14398
14408
  src?: string;
14399
14409
  prompt?: string;
14410
+ inputSrc?: string;
14400
14411
  seed?: string;
14401
14412
  model?: string;
14402
14413
  transcode?: boolean;
@@ -14868,6 +14879,7 @@ export declare const trackSchema: z.ZodObject<{
14868
14879
  type: "video";
14869
14880
  src?: string;
14870
14881
  prompt?: string;
14882
+ inputSrc?: string;
14871
14883
  seed?: string;
14872
14884
  model?: string;
14873
14885
  transcode?: boolean;
@@ -15299,6 +15311,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
15299
15311
  }>;
15300
15312
  src: z.ZodOptional<z.ZodString>;
15301
15313
  prompt: z.ZodOptional<z.ZodString>;
15314
+ inputSrc: z.ZodOptional<z.ZodString>;
15302
15315
  seed: z.ZodOptional<z.ZodString>;
15303
15316
  model: z.ZodOptional<z.ZodString>;
15304
15317
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -16583,6 +16596,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
16583
16596
  type: "video";
16584
16597
  src?: string;
16585
16598
  prompt?: string;
16599
+ inputSrc?: string;
16586
16600
  seed?: string;
16587
16601
  model?: string;
16588
16602
  transcode?: boolean;
@@ -17054,6 +17068,7 @@ export declare const timelineTimelineSchema: z.ZodObject<{
17054
17068
  type: "video";
17055
17069
  src?: string;
17056
17070
  prompt?: string;
17071
+ inputSrc?: string;
17057
17072
  seed?: string;
17058
17073
  model?: string;
17059
17074
  transcode?: boolean;
@@ -17484,6 +17499,7 @@ export declare const timelineSchema: z.ZodObject<{
17484
17499
  }>;
17485
17500
  src: z.ZodOptional<z.ZodString>;
17486
17501
  prompt: z.ZodOptional<z.ZodString>;
17502
+ inputSrc: z.ZodOptional<z.ZodString>;
17487
17503
  seed: z.ZodOptional<z.ZodString>;
17488
17504
  model: z.ZodOptional<z.ZodString>;
17489
17505
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -18768,6 +18784,7 @@ export declare const timelineSchema: z.ZodObject<{
18768
18784
  type: "video";
18769
18785
  src?: string;
18770
18786
  prompt?: string;
18787
+ inputSrc?: string;
18771
18788
  seed?: string;
18772
18789
  model?: string;
18773
18790
  transcode?: boolean;
@@ -19239,6 +19256,7 @@ export declare const timelineSchema: z.ZodObject<{
19239
19256
  type: "video";
19240
19257
  src?: string;
19241
19258
  prompt?: string;
19259
+ inputSrc?: string;
19242
19260
  seed?: string;
19243
19261
  model?: string;
19244
19262
  transcode?: boolean;
@@ -19673,6 +19691,7 @@ export declare const editEditSchema: z.ZodObject<{
19673
19691
  }>;
19674
19692
  src: z.ZodOptional<z.ZodString>;
19675
19693
  prompt: z.ZodOptional<z.ZodString>;
19694
+ inputSrc: z.ZodOptional<z.ZodString>;
19676
19695
  seed: z.ZodOptional<z.ZodString>;
19677
19696
  model: z.ZodOptional<z.ZodString>;
19678
19697
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -20957,6 +20976,7 @@ export declare const editEditSchema: z.ZodObject<{
20957
20976
  type: "video";
20958
20977
  src?: string;
20959
20978
  prompt?: string;
20979
+ inputSrc?: string;
20960
20980
  seed?: string;
20961
20981
  model?: string;
20962
20982
  transcode?: boolean;
@@ -21428,6 +21448,7 @@ export declare const editEditSchema: z.ZodObject<{
21428
21448
  type: "video";
21429
21449
  src?: string;
21430
21450
  prompt?: string;
21451
+ inputSrc?: string;
21431
21452
  seed?: string;
21432
21453
  model?: string;
21433
21454
  transcode?: boolean;
@@ -22024,6 +22045,7 @@ export declare const editSchema: z.ZodObject<{
22024
22045
  }>;
22025
22046
  src: z.ZodOptional<z.ZodString>;
22026
22047
  prompt: z.ZodOptional<z.ZodString>;
22048
+ inputSrc: z.ZodOptional<z.ZodString>;
22027
22049
  seed: z.ZodOptional<z.ZodString>;
22028
22050
  model: z.ZodOptional<z.ZodString>;
22029
22051
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -23308,6 +23330,7 @@ export declare const editSchema: z.ZodObject<{
23308
23330
  type: "video";
23309
23331
  src?: string;
23310
23332
  prompt?: string;
23333
+ inputSrc?: string;
23311
23334
  seed?: string;
23312
23335
  model?: string;
23313
23336
  transcode?: boolean;
@@ -23779,6 +23802,7 @@ export declare const editSchema: z.ZodObject<{
23779
23802
  type: "video";
23780
23803
  src?: string;
23781
23804
  prompt?: string;
23805
+ inputSrc?: string;
23782
23806
  seed?: string;
23783
23807
  model?: string;
23784
23808
  transcode?: boolean;
@@ -24397,6 +24421,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
24397
24421
  }>;
24398
24422
  src: z.ZodOptional<z.ZodString>;
24399
24423
  prompt: z.ZodOptional<z.ZodString>;
24424
+ inputSrc: z.ZodOptional<z.ZodString>;
24400
24425
  seed: z.ZodOptional<z.ZodString>;
24401
24426
  model: z.ZodOptional<z.ZodString>;
24402
24427
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -25681,6 +25706,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
25681
25706
  type: "video";
25682
25707
  src?: string;
25683
25708
  prompt?: string;
25709
+ inputSrc?: string;
25684
25710
  seed?: string;
25685
25711
  model?: string;
25686
25712
  transcode?: boolean;
@@ -26152,6 +26178,7 @@ export declare const renderresponsedataRenderResponseDataSchema: z.ZodObject<{
26152
26178
  type: "video";
26153
26179
  src?: string;
26154
26180
  prompt?: string;
26181
+ inputSrc?: string;
26155
26182
  seed?: string;
26156
26183
  model?: string;
26157
26184
  transcode?: boolean;
@@ -26770,6 +26797,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
26770
26797
  }>;
26771
26798
  src: z.ZodOptional<z.ZodString>;
26772
26799
  prompt: z.ZodOptional<z.ZodString>;
26800
+ inputSrc: z.ZodOptional<z.ZodString>;
26773
26801
  seed: z.ZodOptional<z.ZodString>;
26774
26802
  model: z.ZodOptional<z.ZodString>;
26775
26803
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -28054,6 +28082,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
28054
28082
  type: "video";
28055
28083
  src?: string;
28056
28084
  prompt?: string;
28085
+ inputSrc?: string;
28057
28086
  seed?: string;
28058
28087
  model?: string;
28059
28088
  transcode?: boolean;
@@ -28525,6 +28554,7 @@ export declare const renderResponseDataSchema: z.ZodObject<{
28525
28554
  type: "video";
28526
28555
  src?: string;
28527
28556
  prompt?: string;
28557
+ inputSrc?: string;
28528
28558
  seed?: string;
28529
28559
  model?: string;
28530
28560
  transcode?: boolean;
@@ -29149,6 +29179,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
29149
29179
  }>;
29150
29180
  src: z.ZodOptional<z.ZodString>;
29151
29181
  prompt: z.ZodOptional<z.ZodString>;
29182
+ inputSrc: z.ZodOptional<z.ZodString>;
29152
29183
  seed: z.ZodOptional<z.ZodString>;
29153
29184
  model: z.ZodOptional<z.ZodString>;
29154
29185
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -30433,6 +30464,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
30433
30464
  type: "video";
30434
30465
  src?: string;
30435
30466
  prompt?: string;
30467
+ inputSrc?: string;
30436
30468
  seed?: string;
30437
30469
  model?: string;
30438
30470
  transcode?: boolean;
@@ -30904,6 +30936,7 @@ export declare const renderresponseRenderResponseSchema: z.ZodObject<{
30904
30936
  type: "video";
30905
30937
  src?: string;
30906
30938
  prompt?: string;
30939
+ inputSrc?: string;
30907
30940
  seed?: string;
30908
30941
  model?: string;
30909
30942
  transcode?: boolean;
@@ -31526,6 +31559,7 @@ export declare const renderResponseSchema: z.ZodObject<{
31526
31559
  }>;
31527
31560
  src: z.ZodOptional<z.ZodString>;
31528
31561
  prompt: z.ZodOptional<z.ZodString>;
31562
+ inputSrc: z.ZodOptional<z.ZodString>;
31529
31563
  seed: z.ZodOptional<z.ZodString>;
31530
31564
  model: z.ZodOptional<z.ZodString>;
31531
31565
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -32810,6 +32844,7 @@ export declare const renderResponseSchema: z.ZodObject<{
32810
32844
  type: "video";
32811
32845
  src?: string;
32812
32846
  prompt?: string;
32847
+ inputSrc?: string;
32813
32848
  seed?: string;
32814
32849
  model?: string;
32815
32850
  transcode?: boolean;
@@ -33281,6 +33316,7 @@ export declare const renderResponseSchema: z.ZodObject<{
33281
33316
  type: "video";
33282
33317
  src?: string;
33283
33318
  prompt?: string;
33319
+ inputSrc?: string;
33284
33320
  seed?: string;
33285
33321
  model?: string;
33286
33322
  transcode?: boolean;
@@ -33888,6 +33924,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
33888
33924
  }>;
33889
33925
  src: z.ZodOptional<z.ZodString>;
33890
33926
  prompt: z.ZodOptional<z.ZodString>;
33927
+ inputSrc: z.ZodOptional<z.ZodString>;
33891
33928
  seed: z.ZodOptional<z.ZodString>;
33892
33929
  model: z.ZodOptional<z.ZodString>;
33893
33930
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -35172,6 +35209,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
35172
35209
  type: "video";
35173
35210
  src?: string;
35174
35211
  prompt?: string;
35212
+ inputSrc?: string;
35175
35213
  seed?: string;
35176
35214
  model?: string;
35177
35215
  transcode?: boolean;
@@ -35643,6 +35681,7 @@ export declare const templatedataresponsedataTemplateDataResponseDataSchema: z.Z
35643
35681
  type: "video";
35644
35682
  src?: string;
35645
35683
  prompt?: string;
35684
+ inputSrc?: string;
35646
35685
  seed?: string;
35647
35686
  model?: string;
35648
35687
  transcode?: boolean;
@@ -36244,6 +36283,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
36244
36283
  }>;
36245
36284
  src: z.ZodOptional<z.ZodString>;
36246
36285
  prompt: z.ZodOptional<z.ZodString>;
36286
+ inputSrc: z.ZodOptional<z.ZodString>;
36247
36287
  seed: z.ZodOptional<z.ZodString>;
36248
36288
  model: z.ZodOptional<z.ZodString>;
36249
36289
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -37528,6 +37568,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
37528
37568
  type: "video";
37529
37569
  src?: string;
37530
37570
  prompt?: string;
37571
+ inputSrc?: string;
37531
37572
  seed?: string;
37532
37573
  model?: string;
37533
37574
  transcode?: boolean;
@@ -37999,6 +38040,7 @@ export declare const templateDataResponseDataSchema: z.ZodObject<{
37999
38040
  type: "video";
38000
38041
  src?: string;
38001
38042
  prompt?: string;
38043
+ inputSrc?: string;
38002
38044
  seed?: string;
38003
38045
  model?: string;
38004
38046
  transcode?: boolean;
@@ -38606,6 +38648,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
38606
38648
  }>;
38607
38649
  src: z.ZodOptional<z.ZodString>;
38608
38650
  prompt: z.ZodOptional<z.ZodString>;
38651
+ inputSrc: z.ZodOptional<z.ZodString>;
38609
38652
  seed: z.ZodOptional<z.ZodString>;
38610
38653
  model: z.ZodOptional<z.ZodString>;
38611
38654
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -39890,6 +39933,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
39890
39933
  type: "video";
39891
39934
  src?: string;
39892
39935
  prompt?: string;
39936
+ inputSrc?: string;
39893
39937
  seed?: string;
39894
39938
  model?: string;
39895
39939
  transcode?: boolean;
@@ -40361,6 +40405,7 @@ export declare const templatedataresponseTemplateDataResponseSchema: z.ZodObject
40361
40405
  type: "video";
40362
40406
  src?: string;
40363
40407
  prompt?: string;
40408
+ inputSrc?: string;
40364
40409
  seed?: string;
40365
40410
  model?: string;
40366
40411
  transcode?: boolean;
@@ -40966,6 +41011,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
40966
41011
  }>;
40967
41012
  src: z.ZodOptional<z.ZodString>;
40968
41013
  prompt: z.ZodOptional<z.ZodString>;
41014
+ inputSrc: z.ZodOptional<z.ZodString>;
40969
41015
  seed: z.ZodOptional<z.ZodString>;
40970
41016
  model: z.ZodOptional<z.ZodString>;
40971
41017
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -42250,6 +42296,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
42250
42296
  type: "video";
42251
42297
  src?: string;
42252
42298
  prompt?: string;
42299
+ inputSrc?: string;
42253
42300
  seed?: string;
42254
42301
  model?: string;
42255
42302
  transcode?: boolean;
@@ -42721,6 +42768,7 @@ export declare const templateDataResponseSchema: z.ZodObject<{
42721
42768
  type: "video";
42722
42769
  src?: string;
42723
42770
  prompt?: string;
42771
+ inputSrc?: string;
42724
42772
  seed?: string;
42725
42773
  model?: string;
42726
42774
  transcode?: boolean;
@@ -43324,6 +43372,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
43324
43372
  }>;
43325
43373
  src: z.ZodOptional<z.ZodString>;
43326
43374
  prompt: z.ZodOptional<z.ZodString>;
43375
+ inputSrc: z.ZodOptional<z.ZodString>;
43327
43376
  seed: z.ZodOptional<z.ZodString>;
43328
43377
  model: z.ZodOptional<z.ZodString>;
43329
43378
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -44608,6 +44657,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
44608
44657
  type: "video";
44609
44658
  src?: string;
44610
44659
  prompt?: string;
44660
+ inputSrc?: string;
44611
44661
  seed?: string;
44612
44662
  model?: string;
44613
44663
  transcode?: boolean;
@@ -45079,6 +45129,7 @@ export declare const templateTemplateSchema: z.ZodObject<{
45079
45129
  type: "video";
45080
45130
  src?: string;
45081
45131
  prompt?: string;
45132
+ inputSrc?: string;
45082
45133
  seed?: string;
45083
45134
  model?: string;
45084
45135
  transcode?: boolean;
@@ -45678,6 +45729,7 @@ export declare const templateSchema: z.ZodObject<{
45678
45729
  }>;
45679
45730
  src: z.ZodOptional<z.ZodString>;
45680
45731
  prompt: z.ZodOptional<z.ZodString>;
45732
+ inputSrc: z.ZodOptional<z.ZodString>;
45681
45733
  seed: z.ZodOptional<z.ZodString>;
45682
45734
  model: z.ZodOptional<z.ZodString>;
45683
45735
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -46962,6 +47014,7 @@ export declare const templateSchema: z.ZodObject<{
46962
47014
  type: "video";
46963
47015
  src?: string;
46964
47016
  prompt?: string;
47017
+ inputSrc?: string;
46965
47018
  seed?: string;
46966
47019
  model?: string;
46967
47020
  transcode?: boolean;
@@ -47433,6 +47486,7 @@ export declare const templateSchema: z.ZodObject<{
47433
47486
  type: "video";
47434
47487
  src?: string;
47435
47488
  prompt?: string;
47489
+ inputSrc?: string;
47436
47490
  seed?: string;
47437
47491
  model?: string;
47438
47492
  transcode?: boolean;
@@ -48031,6 +48085,7 @@ export declare const postRenderRequest: z.ZodObject<{
48031
48085
  }>;
48032
48086
  src: z.ZodOptional<z.ZodString>;
48033
48087
  prompt: z.ZodOptional<z.ZodString>;
48088
+ inputSrc: z.ZodOptional<z.ZodString>;
48034
48089
  seed: z.ZodOptional<z.ZodString>;
48035
48090
  model: z.ZodOptional<z.ZodString>;
48036
48091
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -49315,6 +49370,7 @@ export declare const postRenderRequest: z.ZodObject<{
49315
49370
  type: "video";
49316
49371
  src?: string;
49317
49372
  prompt?: string;
49373
+ inputSrc?: string;
49318
49374
  seed?: string;
49319
49375
  model?: string;
49320
49376
  transcode?: boolean;
@@ -49786,6 +49842,7 @@ export declare const postRenderRequest: z.ZodObject<{
49786
49842
  type: "video";
49787
49843
  src?: string;
49788
49844
  prompt?: string;
49845
+ inputSrc?: string;
49789
49846
  seed?: string;
49790
49847
  model?: string;
49791
49848
  transcode?: boolean;
@@ -50431,6 +50488,7 @@ export declare const getRenderResponse: z.ZodObject<{
50431
50488
  }>;
50432
50489
  src: z.ZodOptional<z.ZodString>;
50433
50490
  prompt: z.ZodOptional<z.ZodString>;
50491
+ inputSrc: z.ZodOptional<z.ZodString>;
50434
50492
  seed: z.ZodOptional<z.ZodString>;
50435
50493
  model: z.ZodOptional<z.ZodString>;
50436
50494
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -51715,6 +51773,7 @@ export declare const getRenderResponse: z.ZodObject<{
51715
51773
  type: "video";
51716
51774
  src?: string;
51717
51775
  prompt?: string;
51776
+ inputSrc?: string;
51718
51777
  seed?: string;
51719
51778
  model?: string;
51720
51779
  transcode?: boolean;
@@ -52186,6 +52245,7 @@ export declare const getRenderResponse: z.ZodObject<{
52186
52245
  type: "video";
52187
52246
  src?: string;
52188
52247
  prompt?: string;
52248
+ inputSrc?: string;
52189
52249
  seed?: string;
52190
52250
  model?: string;
52191
52251
  transcode?: boolean;
@@ -52810,6 +52870,7 @@ export declare const postTemplateRequest: z.ZodObject<{
52810
52870
  }>;
52811
52871
  src: z.ZodOptional<z.ZodString>;
52812
52872
  prompt: z.ZodOptional<z.ZodString>;
52873
+ inputSrc: z.ZodOptional<z.ZodString>;
52813
52874
  seed: z.ZodOptional<z.ZodString>;
52814
52875
  model: z.ZodOptional<z.ZodString>;
52815
52876
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -54094,6 +54155,7 @@ export declare const postTemplateRequest: z.ZodObject<{
54094
54155
  type: "video";
54095
54156
  src?: string;
54096
54157
  prompt?: string;
54158
+ inputSrc?: string;
54097
54159
  seed?: string;
54098
54160
  model?: string;
54099
54161
  transcode?: boolean;
@@ -54565,6 +54627,7 @@ export declare const postTemplateRequest: z.ZodObject<{
54565
54627
  type: "video";
54566
54628
  src?: string;
54567
54629
  prompt?: string;
54630
+ inputSrc?: string;
54568
54631
  seed?: string;
54569
54632
  model?: string;
54570
54633
  transcode?: boolean;
@@ -55204,6 +55267,7 @@ export declare const getTemplateResponse: z.ZodObject<{
55204
55267
  }>;
55205
55268
  src: z.ZodOptional<z.ZodString>;
55206
55269
  prompt: z.ZodOptional<z.ZodString>;
55270
+ inputSrc: z.ZodOptional<z.ZodString>;
55207
55271
  seed: z.ZodOptional<z.ZodString>;
55208
55272
  model: z.ZodOptional<z.ZodString>;
55209
55273
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -56488,6 +56552,7 @@ export declare const getTemplateResponse: z.ZodObject<{
56488
56552
  type: "video";
56489
56553
  src?: string;
56490
56554
  prompt?: string;
56555
+ inputSrc?: string;
56491
56556
  seed?: string;
56492
56557
  model?: string;
56493
56558
  transcode?: boolean;
@@ -56959,6 +57024,7 @@ export declare const getTemplateResponse: z.ZodObject<{
56959
57024
  type: "video";
56960
57025
  src?: string;
56961
57026
  prompt?: string;
57027
+ inputSrc?: string;
56962
57028
  seed?: string;
56963
57029
  model?: string;
56964
57030
  transcode?: boolean;
@@ -57560,6 +57626,7 @@ export declare const putTemplateRequest: z.ZodObject<{
57560
57626
  }>;
57561
57627
  src: z.ZodOptional<z.ZodString>;
57562
57628
  prompt: z.ZodOptional<z.ZodString>;
57629
+ inputSrc: z.ZodOptional<z.ZodString>;
57563
57630
  seed: z.ZodOptional<z.ZodString>;
57564
57631
  model: z.ZodOptional<z.ZodString>;
57565
57632
  transcode: z.ZodOptional<z.ZodBoolean>;
@@ -58844,6 +58911,7 @@ export declare const putTemplateRequest: z.ZodObject<{
58844
58911
  type: "video";
58845
58912
  src?: string;
58846
58913
  prompt?: string;
58914
+ inputSrc?: string;
58847
58915
  seed?: string;
58848
58916
  model?: string;
58849
58917
  transcode?: boolean;
@@ -59315,6 +59383,7 @@ export declare const putTemplateRequest: z.ZodObject<{
59315
59383
  type: "video";
59316
59384
  src?: string;
59317
59385
  prompt?: string;
59386
+ inputSrc?: string;
59318
59387
  seed?: string;
59319
59388
  model?: string;
59320
59389
  transcode?: boolean;
@@ -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 `seed` instead.** This type continues to function and is
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 seeded from a
2406
- * starting image (`seed`). Exactly one of `src` or `prompt` must be provided.
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 `seed` to
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,6 +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
+ inputSrc: z.optional(z.string().min(1)),
2419
2420
  seed: z.optional(z.string().min(1)),
2420
2421
  model: z.optional(z.string()),
2421
2422
  transcode: z.optional(z.boolean()),
@@ -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 `seed` instead.** This type continues to function and is
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 seeded from a
1970
- * starting image (`seed`). Exactly one of `src` or `prompt` must be provided.
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 `seed` to
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,6 +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
+ inputSrc: z.optional(z.string().min(1)),
1983
1984
  seed: z.optional(z.string().min(1)),
1984
1985
  model: z.optional(z.string()),
1985
1986
  transcode: z.optional(z.boolean()),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shotstack/schemas",
3
- "version": "1.13.1",
3
+ "version": "1.13.2",
4
4
  "description": "Centralized OpenAPI schemas and TypeScript types for Shotstack API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",