@runwayml/sdk 4.17.0 → 4.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/package.json +1 -1
- package/resources/avatar-videos.d.mts +1 -1
- package/resources/avatar-videos.d.ts +1 -1
- package/resources/character-performance.d.mts +2 -2
- package/resources/character-performance.d.ts +2 -2
- package/resources/generate/audio.d.mts +2 -2
- package/resources/generate/audio.d.ts +2 -2
- package/resources/generate/video.d.mts +2 -2
- package/resources/generate/video.d.ts +2 -2
- package/resources/image-to-video.d.mts +52 -8
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +52 -8
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/recipes.d.mts +1 -1
- package/resources/recipes.d.ts +1 -1
- package/resources/speech-to-speech.d.mts +2 -2
- package/resources/speech-to-speech.d.ts +2 -2
- package/resources/text-to-video.d.mts +52 -8
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +52 -8
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-hdr.d.mts +1 -1
- package/resources/video-to-hdr.d.ts +1 -1
- package/resources/video-to-video.d.mts +60 -27
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +60 -27
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +1 -1
- package/resources/video-upscale.d.ts +1 -1
- package/resources/voice-dubbing.d.mts +1 -1
- package/resources/voice-dubbing.d.ts +1 -1
- package/resources/voice-isolation.d.mts +1 -1
- package/resources/voice-isolation.d.ts +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/workflows.d.mts +2 -2
- package/resources/workflows.d.ts +2 -2
- package/src/resources/avatar-videos.ts +1 -1
- package/src/resources/character-performance.ts +2 -2
- package/src/resources/generate/audio.ts +2 -2
- package/src/resources/generate/video.ts +2 -2
- package/src/resources/image-to-video.ts +58 -8
- package/src/resources/recipes.ts +1 -1
- package/src/resources/speech-to-speech.ts +2 -2
- package/src/resources/text-to-video.ts +58 -8
- package/src/resources/video-to-hdr.ts +1 -1
- package/src/resources/video-to-video.ts +64 -27
- package/src/resources/video-upscale.ts +1 -1
- package/src/resources/voice-dubbing.ts +1 -1
- package/src/resources/voice-isolation.ts +1 -1
- package/src/resources/voices.ts +1 -1
- package/src/resources/workflows.ts +2 -2
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -127,6 +127,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
127
127
|
* Text describing what should not appear in the output video.
|
|
128
128
|
*/
|
|
129
129
|
negativePrompt?: string;
|
|
130
|
+
/**
|
|
131
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
132
|
+
* get different results for the same other request parameters. Using the same seed
|
|
133
|
+
* integer for an identical request will produce similar results.
|
|
134
|
+
*/
|
|
135
|
+
seed?: number;
|
|
130
136
|
}
|
|
131
137
|
interface Veo3_1Fast {
|
|
132
138
|
model: 'veo3.1_fast';
|
|
@@ -151,6 +157,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
151
157
|
* Text describing what should not appear in the output video.
|
|
152
158
|
*/
|
|
153
159
|
negativePrompt?: string;
|
|
160
|
+
/**
|
|
161
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
162
|
+
* get different results for the same other request parameters. Using the same seed
|
|
163
|
+
* integer for an identical request will produce similar results.
|
|
164
|
+
*/
|
|
165
|
+
seed?: number;
|
|
154
166
|
}
|
|
155
167
|
interface Hailuo3 {
|
|
156
168
|
model: 'hailuo3';
|
|
@@ -252,9 +264,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
252
264
|
*/
|
|
253
265
|
audio?: boolean;
|
|
254
266
|
/**
|
|
255
|
-
*
|
|
267
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
268
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
269
|
+
* generation finishes.
|
|
256
270
|
*/
|
|
257
|
-
duration?: number;
|
|
271
|
+
duration?: number | 'auto';
|
|
258
272
|
/**
|
|
259
273
|
* The resolution of the output video.
|
|
260
274
|
*/
|
|
@@ -275,6 +289,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
275
289
|
* video inputs for more information.
|
|
276
290
|
*/
|
|
277
291
|
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
292
|
+
/**
|
|
293
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
294
|
+
* get different results for the same other request parameters. Using the same seed
|
|
295
|
+
* integer for an identical request will produce similar results.
|
|
296
|
+
*/
|
|
297
|
+
seed?: number;
|
|
278
298
|
}
|
|
279
299
|
namespace Seedance2 {
|
|
280
300
|
/**
|
|
@@ -324,9 +344,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
324
344
|
*/
|
|
325
345
|
audio?: boolean;
|
|
326
346
|
/**
|
|
327
|
-
*
|
|
347
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
348
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
349
|
+
* generation finishes.
|
|
328
350
|
*/
|
|
329
|
-
duration?: number;
|
|
351
|
+
duration?: number | 'auto';
|
|
330
352
|
/**
|
|
331
353
|
* The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
|
|
332
354
|
* only.
|
|
@@ -348,6 +370,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
348
370
|
* video inputs for more information.
|
|
349
371
|
*/
|
|
350
372
|
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
373
|
+
/**
|
|
374
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
375
|
+
* get different results for the same other request parameters. Using the same seed
|
|
376
|
+
* integer for an identical request will produce similar results.
|
|
377
|
+
*/
|
|
378
|
+
seed?: number;
|
|
351
379
|
}
|
|
352
380
|
namespace Seedance2Fast {
|
|
353
381
|
/**
|
|
@@ -397,9 +425,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
397
425
|
*/
|
|
398
426
|
audio?: boolean;
|
|
399
427
|
/**
|
|
400
|
-
*
|
|
428
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
429
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
430
|
+
* generation finishes.
|
|
401
431
|
*/
|
|
402
|
-
duration?: number;
|
|
432
|
+
duration?: number | 'auto';
|
|
403
433
|
/**
|
|
404
434
|
* The resolution of the output video. Seedance 2.0 Mini supports 480p and 720p
|
|
405
435
|
* only.
|
|
@@ -421,6 +451,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
421
451
|
* video inputs for more information.
|
|
422
452
|
*/
|
|
423
453
|
referenceVideos?: Array<Seedance2Mini.ReferenceVideo>;
|
|
454
|
+
/**
|
|
455
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
456
|
+
* get different results for the same other request parameters. Using the same seed
|
|
457
|
+
* integer for an identical request will produce similar results.
|
|
458
|
+
*/
|
|
459
|
+
seed?: number;
|
|
424
460
|
}
|
|
425
461
|
namespace Seedance2Mini {
|
|
426
462
|
/**
|
|
@@ -481,9 +517,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
481
517
|
*/
|
|
482
518
|
audio?: boolean;
|
|
483
519
|
/**
|
|
484
|
-
*
|
|
520
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
521
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
522
|
+
* generation finishes.
|
|
485
523
|
*/
|
|
486
|
-
duration?: number;
|
|
524
|
+
duration?: number | 'auto';
|
|
487
525
|
/**
|
|
488
526
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
489
527
|
* the output.
|
|
@@ -509,6 +547,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
509
547
|
* video inputs for more information.
|
|
510
548
|
*/
|
|
511
549
|
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
550
|
+
/**
|
|
551
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
552
|
+
* get different results for the same other request parameters. Using the same seed
|
|
553
|
+
* integer for an identical request will produce similar results.
|
|
554
|
+
*/
|
|
555
|
+
seed?: number;
|
|
512
556
|
}
|
|
513
557
|
namespace Seedance2_5 {
|
|
514
558
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text-to-video.d.mts","sourceRoot":"","sources":["../src/resources/text-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,yBAAyB,CAAC,aAAa,CAAC;CACxD;AAED,yBAAiB,yBAAyB,CAAC;IACzC;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,MAAM,uBAAuB,GAC/B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,MAAM,GAC9B,uBAAuB,CAAC,UAAU,GAClC,uBAAuB,CAAC,OAAO,GAC/B,uBAAuB,CAAC,aAAa,GACrC,uBAAuB,CAAC,SAAS,GACjC,uBAAuB,CAAC,aAAa,GACrC,uBAAuB,CAAC,aAAa,GACrC,uBAAuB,CAAC,eAAe,GACvC,uBAAuB,CAAC,WAAW,GACnC,uBAAuB,CAAC,cAAc,G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W,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -127,6 +127,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
127
127
|
* Text describing what should not appear in the output video.
|
|
128
128
|
*/
|
|
129
129
|
negativePrompt?: string;
|
|
130
|
+
/**
|
|
131
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
132
|
+
* get different results for the same other request parameters. Using the same seed
|
|
133
|
+
* integer for an identical request will produce similar results.
|
|
134
|
+
*/
|
|
135
|
+
seed?: number;
|
|
130
136
|
}
|
|
131
137
|
interface Veo3_1Fast {
|
|
132
138
|
model: 'veo3.1_fast';
|
|
@@ -151,6 +157,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
151
157
|
* Text describing what should not appear in the output video.
|
|
152
158
|
*/
|
|
153
159
|
negativePrompt?: string;
|
|
160
|
+
/**
|
|
161
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
162
|
+
* get different results for the same other request parameters. Using the same seed
|
|
163
|
+
* integer for an identical request will produce similar results.
|
|
164
|
+
*/
|
|
165
|
+
seed?: number;
|
|
154
166
|
}
|
|
155
167
|
interface Hailuo3 {
|
|
156
168
|
model: 'hailuo3';
|
|
@@ -252,9 +264,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
252
264
|
*/
|
|
253
265
|
audio?: boolean;
|
|
254
266
|
/**
|
|
255
|
-
*
|
|
267
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
268
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
269
|
+
* generation finishes.
|
|
256
270
|
*/
|
|
257
|
-
duration?: number;
|
|
271
|
+
duration?: number | 'auto';
|
|
258
272
|
/**
|
|
259
273
|
* The resolution of the output video.
|
|
260
274
|
*/
|
|
@@ -275,6 +289,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
275
289
|
* video inputs for more information.
|
|
276
290
|
*/
|
|
277
291
|
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
292
|
+
/**
|
|
293
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
294
|
+
* get different results for the same other request parameters. Using the same seed
|
|
295
|
+
* integer for an identical request will produce similar results.
|
|
296
|
+
*/
|
|
297
|
+
seed?: number;
|
|
278
298
|
}
|
|
279
299
|
namespace Seedance2 {
|
|
280
300
|
/**
|
|
@@ -324,9 +344,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
324
344
|
*/
|
|
325
345
|
audio?: boolean;
|
|
326
346
|
/**
|
|
327
|
-
*
|
|
347
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
348
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
349
|
+
* generation finishes.
|
|
328
350
|
*/
|
|
329
|
-
duration?: number;
|
|
351
|
+
duration?: number | 'auto';
|
|
330
352
|
/**
|
|
331
353
|
* The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
|
|
332
354
|
* only.
|
|
@@ -348,6 +370,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
348
370
|
* video inputs for more information.
|
|
349
371
|
*/
|
|
350
372
|
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
373
|
+
/**
|
|
374
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
375
|
+
* get different results for the same other request parameters. Using the same seed
|
|
376
|
+
* integer for an identical request will produce similar results.
|
|
377
|
+
*/
|
|
378
|
+
seed?: number;
|
|
351
379
|
}
|
|
352
380
|
namespace Seedance2Fast {
|
|
353
381
|
/**
|
|
@@ -397,9 +425,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
397
425
|
*/
|
|
398
426
|
audio?: boolean;
|
|
399
427
|
/**
|
|
400
|
-
*
|
|
428
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
429
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
430
|
+
* generation finishes.
|
|
401
431
|
*/
|
|
402
|
-
duration?: number;
|
|
432
|
+
duration?: number | 'auto';
|
|
403
433
|
/**
|
|
404
434
|
* The resolution of the output video. Seedance 2.0 Mini supports 480p and 720p
|
|
405
435
|
* only.
|
|
@@ -421,6 +451,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
421
451
|
* video inputs for more information.
|
|
422
452
|
*/
|
|
423
453
|
referenceVideos?: Array<Seedance2Mini.ReferenceVideo>;
|
|
454
|
+
/**
|
|
455
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
456
|
+
* get different results for the same other request parameters. Using the same seed
|
|
457
|
+
* integer for an identical request will produce similar results.
|
|
458
|
+
*/
|
|
459
|
+
seed?: number;
|
|
424
460
|
}
|
|
425
461
|
namespace Seedance2Mini {
|
|
426
462
|
/**
|
|
@@ -481,9 +517,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
481
517
|
*/
|
|
482
518
|
audio?: boolean;
|
|
483
519
|
/**
|
|
484
|
-
*
|
|
520
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
521
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
522
|
+
* generation finishes.
|
|
485
523
|
*/
|
|
486
|
-
duration?: number;
|
|
524
|
+
duration?: number | 'auto';
|
|
487
525
|
/**
|
|
488
526
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
489
527
|
* the output.
|
|
@@ -509,6 +547,12 @@ export declare namespace TextToVideoCreateParams {
|
|
|
509
547
|
* video inputs for more information.
|
|
510
548
|
*/
|
|
511
549
|
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
550
|
+
/**
|
|
551
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
552
|
+
* get different results for the same other request parameters. Using the same seed
|
|
553
|
+
* integer for an identical request will produce similar results.
|
|
554
|
+
*/
|
|
555
|
+
seed?: number;
|
|
512
556
|
}
|
|
513
557
|
namespace Seedance2_5 {
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AEd;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAEhB;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAElB;;;WAGG;QACH,KAAK,CAAC,EACF,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,WAAW,GACX,YAAY,CAAC;QAEjB;;;WAGG;QACH,cAAc,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QAE5C;;;WAGG;QACH,UAAU,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAEnC;;;;WAIG;QACH,eAAe,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;KAC9C;IAED,UAAiB,IAAI,CAAC;QACpB;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,SAAS;YACxB;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -54,7 +54,7 @@ export interface VideoToHdrCreateParams {
|
|
|
54
54
|
model: 'ruby';
|
|
55
55
|
/**
|
|
56
56
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
57
|
-
* `data:video/mp4;base64,...`, up to
|
|
57
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
58
58
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
59
59
|
*/
|
|
60
60
|
videoUri: string;
|
|
@@ -54,7 +54,7 @@ export interface VideoToHdrCreateParams {
|
|
|
54
54
|
model: 'ruby';
|
|
55
55
|
/**
|
|
56
56
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
57
|
-
* `data:video/mp4;base64,...`, up to
|
|
57
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
58
58
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
59
59
|
*/
|
|
60
60
|
videoUri: string;
|
|
@@ -47,7 +47,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
47
47
|
model: 'aleph2';
|
|
48
48
|
/**
|
|
49
49
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
50
|
-
* `data:video/mp4;base64,...`, up to
|
|
50
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
51
51
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
52
52
|
*/
|
|
53
53
|
videoUri: string;
|
|
@@ -188,7 +188,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
188
188
|
promptText: string;
|
|
189
189
|
/**
|
|
190
190
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
191
|
-
* `data:video/mp4;base64,...`, up to
|
|
191
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
192
192
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
193
193
|
*/
|
|
194
194
|
promptVideo: string;
|
|
@@ -231,7 +231,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
231
231
|
type: 'audio';
|
|
232
232
|
/**
|
|
233
233
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
234
|
-
* `data:audio/mp3;base64,...`, up to
|
|
234
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
235
235
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
236
236
|
*/
|
|
237
237
|
uri: string;
|
|
@@ -252,7 +252,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
252
252
|
type: 'video';
|
|
253
253
|
/**
|
|
254
254
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
255
|
-
* `data:video/mp4;base64,...`, up to
|
|
255
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
256
256
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
257
257
|
*/
|
|
258
258
|
uri: string;
|
|
@@ -262,7 +262,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
262
262
|
model: 'seedance2';
|
|
263
263
|
/**
|
|
264
264
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
265
|
-
* `data:video/mp4;base64,...`, up to
|
|
265
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
266
266
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
267
267
|
*/
|
|
268
268
|
promptVideo: string;
|
|
@@ -271,9 +271,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
271
271
|
*/
|
|
272
272
|
audio?: boolean;
|
|
273
273
|
/**
|
|
274
|
-
*
|
|
274
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
275
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
276
|
+
* generation finishes.
|
|
275
277
|
*/
|
|
276
|
-
duration?: number;
|
|
278
|
+
duration?: number | 'auto';
|
|
277
279
|
/**
|
|
278
280
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
279
281
|
* the output.
|
|
@@ -299,6 +301,12 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
299
301
|
* video inputs for more information.
|
|
300
302
|
*/
|
|
301
303
|
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
304
|
+
/**
|
|
305
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
306
|
+
* get different results for the same other request parameters. Using the same seed
|
|
307
|
+
* integer for an identical request will produce similar results.
|
|
308
|
+
*/
|
|
309
|
+
seed?: number;
|
|
302
310
|
}
|
|
303
311
|
namespace Seedance2 {
|
|
304
312
|
/**
|
|
@@ -309,7 +317,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
309
317
|
type: 'audio';
|
|
310
318
|
/**
|
|
311
319
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
312
|
-
* `data:audio/mp3;base64,...`, up to
|
|
320
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
313
321
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
314
322
|
*/
|
|
315
323
|
uri: string;
|
|
@@ -330,7 +338,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
330
338
|
type: 'video';
|
|
331
339
|
/**
|
|
332
340
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
333
|
-
* `data:video/mp4;base64,...`, up to
|
|
341
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
334
342
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
335
343
|
*/
|
|
336
344
|
uri: string;
|
|
@@ -340,7 +348,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
340
348
|
model: 'seedance2_fast';
|
|
341
349
|
/**
|
|
342
350
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
343
|
-
* `data:video/mp4;base64,...`, up to
|
|
351
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
344
352
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
345
353
|
*/
|
|
346
354
|
promptVideo: string;
|
|
@@ -349,9 +357,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
349
357
|
*/
|
|
350
358
|
audio?: boolean;
|
|
351
359
|
/**
|
|
352
|
-
*
|
|
360
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
361
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
362
|
+
* generation finishes.
|
|
353
363
|
*/
|
|
354
|
-
duration?: number;
|
|
364
|
+
duration?: number | 'auto';
|
|
355
365
|
/**
|
|
356
366
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
357
367
|
* the output.
|
|
@@ -378,6 +388,12 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
378
388
|
* video inputs for more information.
|
|
379
389
|
*/
|
|
380
390
|
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
391
|
+
/**
|
|
392
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
393
|
+
* get different results for the same other request parameters. Using the same seed
|
|
394
|
+
* integer for an identical request will produce similar results.
|
|
395
|
+
*/
|
|
396
|
+
seed?: number;
|
|
381
397
|
}
|
|
382
398
|
namespace Seedance2Fast {
|
|
383
399
|
/**
|
|
@@ -388,7 +404,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
388
404
|
type: 'audio';
|
|
389
405
|
/**
|
|
390
406
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
391
|
-
* `data:audio/mp3;base64,...`, up to
|
|
407
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
392
408
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
393
409
|
*/
|
|
394
410
|
uri: string;
|
|
@@ -409,7 +425,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
409
425
|
type: 'video';
|
|
410
426
|
/**
|
|
411
427
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
412
|
-
* `data:video/mp4;base64,...`, up to
|
|
428
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
413
429
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
414
430
|
*/
|
|
415
431
|
uri: string;
|
|
@@ -419,7 +435,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
419
435
|
model: 'seedance2_mini';
|
|
420
436
|
/**
|
|
421
437
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
422
|
-
* `data:video/mp4;base64,...`, up to
|
|
438
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
423
439
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
424
440
|
*/
|
|
425
441
|
promptVideo: string;
|
|
@@ -428,9 +444,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
428
444
|
*/
|
|
429
445
|
audio?: boolean;
|
|
430
446
|
/**
|
|
431
|
-
*
|
|
447
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
448
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
449
|
+
* generation finishes.
|
|
432
450
|
*/
|
|
433
|
-
duration?: number;
|
|
451
|
+
duration?: number | 'auto';
|
|
434
452
|
/**
|
|
435
453
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
436
454
|
* the output.
|
|
@@ -457,6 +475,12 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
457
475
|
* video inputs for more information.
|
|
458
476
|
*/
|
|
459
477
|
referenceVideos?: Array<Seedance2Mini.ReferenceVideo>;
|
|
478
|
+
/**
|
|
479
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
480
|
+
* get different results for the same other request parameters. Using the same seed
|
|
481
|
+
* integer for an identical request will produce similar results.
|
|
482
|
+
*/
|
|
483
|
+
seed?: number;
|
|
460
484
|
}
|
|
461
485
|
namespace Seedance2Mini {
|
|
462
486
|
/**
|
|
@@ -467,7 +491,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
467
491
|
type: 'audio';
|
|
468
492
|
/**
|
|
469
493
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
470
|
-
* `data:audio/mp3;base64,...`, up to
|
|
494
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
471
495
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
472
496
|
*/
|
|
473
497
|
uri: string;
|
|
@@ -488,7 +512,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
488
512
|
type: 'video';
|
|
489
513
|
/**
|
|
490
514
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
491
|
-
* `data:video/mp4;base64,...`, up to
|
|
515
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
492
516
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
493
517
|
*/
|
|
494
518
|
uri: string;
|
|
@@ -502,7 +526,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
502
526
|
promptText: string;
|
|
503
527
|
/**
|
|
504
528
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
505
|
-
* `data:video/mp4;base64,...`, up to
|
|
529
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
506
530
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
507
531
|
*/
|
|
508
532
|
videoUri: string;
|
|
@@ -525,7 +549,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
525
549
|
model: 'seedance2_5';
|
|
526
550
|
/**
|
|
527
551
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
528
|
-
* `data:video/mp4;base64,...`, up to
|
|
552
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
529
553
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
530
554
|
*/
|
|
531
555
|
promptVideo: string;
|
|
@@ -534,16 +558,19 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
534
558
|
*/
|
|
535
559
|
audio?: boolean;
|
|
536
560
|
/**
|
|
537
|
-
*
|
|
561
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
562
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
563
|
+
* generation finishes. Defaults to 5.
|
|
538
564
|
*/
|
|
539
|
-
duration?: number;
|
|
565
|
+
duration?: number | 'auto';
|
|
540
566
|
/**
|
|
541
567
|
* How the input video is used. `reference` (the default) generates a new video
|
|
542
568
|
* conditioned on the input video and accepts `duration` and `ratio`. `extend`
|
|
543
569
|
* continues the input video, requires `promptText`, and matches the input aspect
|
|
544
|
-
* ratio, so `ratio` may not be provided.
|
|
570
|
+
* ratio, so `ratio` may not be provided. `edit` modifies the input video in place,
|
|
571
|
+
* requires `promptText`, requires `duration: "auto"`, and does not accept `ratio`.
|
|
545
572
|
*/
|
|
546
|
-
mode?: 'reference' | 'extend';
|
|
573
|
+
mode?: 'reference' | 'extend' | 'edit';
|
|
547
574
|
/**
|
|
548
575
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
549
576
|
* the output.
|
|
@@ -569,6 +596,12 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
569
596
|
* video inputs for more information.
|
|
570
597
|
*/
|
|
571
598
|
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
599
|
+
/**
|
|
600
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
601
|
+
* get different results for the same other request parameters. Using the same seed
|
|
602
|
+
* integer for an identical request will produce similar results.
|
|
603
|
+
*/
|
|
604
|
+
seed?: number;
|
|
572
605
|
}
|
|
573
606
|
namespace Seedance2_5 {
|
|
574
607
|
/**
|
|
@@ -579,7 +612,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
579
612
|
type: 'audio';
|
|
580
613
|
/**
|
|
581
614
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
582
|
-
* `data:audio/mp3;base64,...`, up to
|
|
615
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
583
616
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
584
617
|
*/
|
|
585
618
|
uri: string;
|
|
@@ -600,7 +633,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
600
633
|
type: 'video';
|
|
601
634
|
/**
|
|
602
635
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
603
|
-
* `data:video/mp4;base64,...`, up to
|
|
636
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
604
637
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
605
638
|
*/
|
|
606
639
|
uri: string;
|