@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
|
@@ -275,6 +275,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
275
275
|
* should describe in detail what should appear in the output.
|
|
276
276
|
*/
|
|
277
277
|
promptText?: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
281
|
+
* get different results for the same other request parameters. Using the same seed
|
|
282
|
+
* integer for an identical request will produce similar results.
|
|
283
|
+
*/
|
|
284
|
+
seed?: number;
|
|
278
285
|
}
|
|
279
286
|
|
|
280
287
|
export namespace Veo3_1 {
|
|
@@ -330,6 +337,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
330
337
|
* should describe in detail what should appear in the output.
|
|
331
338
|
*/
|
|
332
339
|
promptText?: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
343
|
+
* get different results for the same other request parameters. Using the same seed
|
|
344
|
+
* integer for an identical request will produce similar results.
|
|
345
|
+
*/
|
|
346
|
+
seed?: number;
|
|
333
347
|
}
|
|
334
348
|
|
|
335
349
|
export namespace Veo3_1Fast {
|
|
@@ -463,9 +477,11 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
463
477
|
audio?: boolean;
|
|
464
478
|
|
|
465
479
|
/**
|
|
466
|
-
*
|
|
480
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
481
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
482
|
+
* generation finishes.
|
|
467
483
|
*/
|
|
468
|
-
duration?: number;
|
|
484
|
+
duration?: number | 'auto';
|
|
469
485
|
|
|
470
486
|
/**
|
|
471
487
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -507,6 +523,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
507
523
|
* exceed 15 seconds.
|
|
508
524
|
*/
|
|
509
525
|
referenceAudio?: Array<Seedance2.ReferenceAudio>;
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
529
|
+
* get different results for the same other request parameters. Using the same seed
|
|
530
|
+
* integer for an identical request will produce similar results.
|
|
531
|
+
*/
|
|
532
|
+
seed?: number;
|
|
510
533
|
}
|
|
511
534
|
|
|
512
535
|
export namespace Seedance2 {
|
|
@@ -556,9 +579,11 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
556
579
|
audio?: boolean;
|
|
557
580
|
|
|
558
581
|
/**
|
|
559
|
-
*
|
|
582
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
583
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
584
|
+
* generation finishes.
|
|
560
585
|
*/
|
|
561
|
-
duration?: number;
|
|
586
|
+
duration?: number | 'auto';
|
|
562
587
|
|
|
563
588
|
/**
|
|
564
589
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -589,6 +614,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
589
614
|
* exceed 15 seconds.
|
|
590
615
|
*/
|
|
591
616
|
referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
620
|
+
* get different results for the same other request parameters. Using the same seed
|
|
621
|
+
* integer for an identical request will produce similar results.
|
|
622
|
+
*/
|
|
623
|
+
seed?: number;
|
|
592
624
|
}
|
|
593
625
|
|
|
594
626
|
export namespace Seedance2Fast {
|
|
@@ -638,9 +670,11 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
638
670
|
audio?: boolean;
|
|
639
671
|
|
|
640
672
|
/**
|
|
641
|
-
*
|
|
673
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
674
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
675
|
+
* generation finishes.
|
|
642
676
|
*/
|
|
643
|
-
duration?: number;
|
|
677
|
+
duration?: number | 'auto';
|
|
644
678
|
|
|
645
679
|
/**
|
|
646
680
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -671,6 +705,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
671
705
|
* exceed 15 seconds.
|
|
672
706
|
*/
|
|
673
707
|
referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
|
|
708
|
+
|
|
709
|
+
/**
|
|
710
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
711
|
+
* get different results for the same other request parameters. Using the same seed
|
|
712
|
+
* integer for an identical request will produce similar results.
|
|
713
|
+
*/
|
|
714
|
+
seed?: number;
|
|
674
715
|
}
|
|
675
716
|
|
|
676
717
|
export namespace Seedance2Mini {
|
|
@@ -764,9 +805,11 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
764
805
|
audio?: boolean;
|
|
765
806
|
|
|
766
807
|
/**
|
|
767
|
-
*
|
|
808
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
809
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
810
|
+
* generation finishes.
|
|
768
811
|
*/
|
|
769
|
-
duration?: number;
|
|
812
|
+
duration?: number | 'auto';
|
|
770
813
|
|
|
771
814
|
/**
|
|
772
815
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
@@ -802,6 +845,13 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
802
845
|
* exceed 30 seconds.
|
|
803
846
|
*/
|
|
804
847
|
referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
851
|
+
* get different results for the same other request parameters. Using the same seed
|
|
852
|
+
* integer for an identical request will produce similar results.
|
|
853
|
+
*/
|
|
854
|
+
seed?: number;
|
|
805
855
|
}
|
|
806
856
|
|
|
807
857
|
export namespace Seedance2_5 {
|
package/src/resources/recipes.ts
CHANGED
|
@@ -705,7 +705,7 @@ export namespace RecipeProductSwapParams {
|
|
|
705
705
|
export interface ReferenceVideo {
|
|
706
706
|
/**
|
|
707
707
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
708
|
-
* `data:video/mp4;base64,...`, up to
|
|
708
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
709
709
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
710
710
|
*/
|
|
711
711
|
uri: string;
|
|
@@ -75,7 +75,7 @@ export namespace SpeechToSpeechCreateParams {
|
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
78
|
-
* `data:audio/mp3;base64,...`, up to
|
|
78
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
79
79
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
80
80
|
*/
|
|
81
81
|
uri: string;
|
|
@@ -89,7 +89,7 @@ export namespace SpeechToSpeechCreateParams {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
92
|
-
* `data:video/mp4;base64,...`, up to
|
|
92
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
93
93
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
94
94
|
*/
|
|
95
95
|
uri: string;
|
|
@@ -178,6 +178,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
178
178
|
* Text describing what should not appear in the output video.
|
|
179
179
|
*/
|
|
180
180
|
negativePrompt?: string;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
184
|
+
* get different results for the same other request parameters. Using the same seed
|
|
185
|
+
* integer for an identical request will produce similar results.
|
|
186
|
+
*/
|
|
187
|
+
seed?: number;
|
|
181
188
|
}
|
|
182
189
|
|
|
183
190
|
export interface Veo3_1Fast {
|
|
@@ -208,6 +215,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
208
215
|
* Text describing what should not appear in the output video.
|
|
209
216
|
*/
|
|
210
217
|
negativePrompt?: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
221
|
+
* get different results for the same other request parameters. Using the same seed
|
|
222
|
+
* integer for an identical request will produce similar results.
|
|
223
|
+
*/
|
|
224
|
+
seed?: number;
|
|
211
225
|
}
|
|
212
226
|
|
|
213
227
|
export interface Hailuo3 {
|
|
@@ -340,9 +354,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
340
354
|
audio?: boolean;
|
|
341
355
|
|
|
342
356
|
/**
|
|
343
|
-
*
|
|
357
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
358
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
359
|
+
* generation finishes.
|
|
344
360
|
*/
|
|
345
|
-
duration?: number;
|
|
361
|
+
duration?: number | 'auto';
|
|
346
362
|
|
|
347
363
|
/**
|
|
348
364
|
* The resolution of the output video.
|
|
@@ -391,6 +407,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
391
407
|
* video inputs for more information.
|
|
392
408
|
*/
|
|
393
409
|
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
413
|
+
* get different results for the same other request parameters. Using the same seed
|
|
414
|
+
* integer for an identical request will produce similar results.
|
|
415
|
+
*/
|
|
416
|
+
seed?: number;
|
|
394
417
|
}
|
|
395
418
|
|
|
396
419
|
export namespace Seedance2 {
|
|
@@ -449,9 +472,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
449
472
|
audio?: boolean;
|
|
450
473
|
|
|
451
474
|
/**
|
|
452
|
-
*
|
|
475
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
476
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
477
|
+
* generation finishes.
|
|
453
478
|
*/
|
|
454
|
-
duration?: number;
|
|
479
|
+
duration?: number | 'auto';
|
|
455
480
|
|
|
456
481
|
/**
|
|
457
482
|
* The resolution of the output video. Seedance 2.0 Fast supports 480p and 720p
|
|
@@ -489,6 +514,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
489
514
|
* video inputs for more information.
|
|
490
515
|
*/
|
|
491
516
|
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
520
|
+
* get different results for the same other request parameters. Using the same seed
|
|
521
|
+
* integer for an identical request will produce similar results.
|
|
522
|
+
*/
|
|
523
|
+
seed?: number;
|
|
492
524
|
}
|
|
493
525
|
|
|
494
526
|
export namespace Seedance2Fast {
|
|
@@ -547,9 +579,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
547
579
|
audio?: boolean;
|
|
548
580
|
|
|
549
581
|
/**
|
|
550
|
-
*
|
|
582
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
583
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
584
|
+
* generation finishes.
|
|
551
585
|
*/
|
|
552
|
-
duration?: number;
|
|
586
|
+
duration?: number | 'auto';
|
|
553
587
|
|
|
554
588
|
/**
|
|
555
589
|
* The resolution of the output video. Seedance 2.0 Mini supports 480p and 720p
|
|
@@ -587,6 +621,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
587
621
|
* video inputs for more information.
|
|
588
622
|
*/
|
|
589
623
|
referenceVideos?: Array<Seedance2Mini.ReferenceVideo>;
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
627
|
+
* get different results for the same other request parameters. Using the same seed
|
|
628
|
+
* integer for an identical request will produce similar results.
|
|
629
|
+
*/
|
|
630
|
+
seed?: number;
|
|
590
631
|
}
|
|
591
632
|
|
|
592
633
|
export namespace Seedance2Mini {
|
|
@@ -659,9 +700,11 @@ export declare namespace TextToVideoCreateParams {
|
|
|
659
700
|
audio?: boolean;
|
|
660
701
|
|
|
661
702
|
/**
|
|
662
|
-
*
|
|
703
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
704
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
705
|
+
* generation finishes.
|
|
663
706
|
*/
|
|
664
|
-
duration?: number;
|
|
707
|
+
duration?: number | 'auto';
|
|
665
708
|
|
|
666
709
|
/**
|
|
667
710
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
@@ -710,6 +753,13 @@ export declare namespace TextToVideoCreateParams {
|
|
|
710
753
|
* video inputs for more information.
|
|
711
754
|
*/
|
|
712
755
|
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
759
|
+
* get different results for the same other request parameters. Using the same seed
|
|
760
|
+
* integer for an identical request will produce similar results.
|
|
761
|
+
*/
|
|
762
|
+
seed?: number;
|
|
713
763
|
}
|
|
714
764
|
|
|
715
765
|
export namespace Seedance2_5 {
|
|
@@ -69,7 +69,7 @@ export interface VideoToHdrCreateParams {
|
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
72
|
-
* `data:video/mp4;base64,...`, up to
|
|
72
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
73
73
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
74
74
|
*/
|
|
75
75
|
videoUri: string;
|
|
@@ -70,7 +70,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
73
|
-
* `data:video/mp4;base64,...`, up to
|
|
73
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
74
74
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
75
75
|
*/
|
|
76
76
|
videoUri: string;
|
|
@@ -233,7 +233,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
235
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
236
|
-
* `data:video/mp4;base64,...`, up to
|
|
236
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
237
237
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
238
238
|
*/
|
|
239
239
|
promptVideo: string;
|
|
@@ -284,7 +284,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
284
284
|
|
|
285
285
|
/**
|
|
286
286
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
287
|
-
* `data:audio/mp3;base64,...`, up to
|
|
287
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
288
288
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
289
289
|
*/
|
|
290
290
|
uri: string;
|
|
@@ -308,7 +308,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
308
308
|
|
|
309
309
|
/**
|
|
310
310
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
311
|
-
* `data:video/mp4;base64,...`, up to
|
|
311
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
312
312
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
313
313
|
*/
|
|
314
314
|
uri: string;
|
|
@@ -320,7 +320,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
320
320
|
|
|
321
321
|
/**
|
|
322
322
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
323
|
-
* `data:video/mp4;base64,...`, up to
|
|
323
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
324
324
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
325
325
|
*/
|
|
326
326
|
promptVideo: string;
|
|
@@ -331,9 +331,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
331
331
|
audio?: boolean;
|
|
332
332
|
|
|
333
333
|
/**
|
|
334
|
-
*
|
|
334
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
335
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
336
|
+
* generation finishes.
|
|
335
337
|
*/
|
|
336
|
-
duration?: number;
|
|
338
|
+
duration?: number | 'auto';
|
|
337
339
|
|
|
338
340
|
/**
|
|
339
341
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -388,6 +390,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
388
390
|
* video inputs for more information.
|
|
389
391
|
*/
|
|
390
392
|
referenceVideos?: Array<Seedance2.ReferenceVideo>;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
396
|
+
* get different results for the same other request parameters. Using the same seed
|
|
397
|
+
* integer for an identical request will produce similar results.
|
|
398
|
+
*/
|
|
399
|
+
seed?: number;
|
|
391
400
|
}
|
|
392
401
|
|
|
393
402
|
export namespace Seedance2 {
|
|
@@ -400,7 +409,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
400
409
|
|
|
401
410
|
/**
|
|
402
411
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
403
|
-
* `data:audio/mp3;base64,...`, up to
|
|
412
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
404
413
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
405
414
|
*/
|
|
406
415
|
uri: string;
|
|
@@ -424,7 +433,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
424
433
|
|
|
425
434
|
/**
|
|
426
435
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
427
|
-
* `data:video/mp4;base64,...`, up to
|
|
436
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
428
437
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
429
438
|
*/
|
|
430
439
|
uri: string;
|
|
@@ -436,7 +445,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
436
445
|
|
|
437
446
|
/**
|
|
438
447
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
439
|
-
* `data:video/mp4;base64,...`, up to
|
|
448
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
440
449
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
441
450
|
*/
|
|
442
451
|
promptVideo: string;
|
|
@@ -447,9 +456,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
447
456
|
audio?: boolean;
|
|
448
457
|
|
|
449
458
|
/**
|
|
450
|
-
*
|
|
459
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
460
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
461
|
+
* generation finishes.
|
|
451
462
|
*/
|
|
452
|
-
duration?: number;
|
|
463
|
+
duration?: number | 'auto';
|
|
453
464
|
|
|
454
465
|
/**
|
|
455
466
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -493,6 +504,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
493
504
|
* video inputs for more information.
|
|
494
505
|
*/
|
|
495
506
|
referenceVideos?: Array<Seedance2Fast.ReferenceVideo>;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
510
|
+
* get different results for the same other request parameters. Using the same seed
|
|
511
|
+
* integer for an identical request will produce similar results.
|
|
512
|
+
*/
|
|
513
|
+
seed?: number;
|
|
496
514
|
}
|
|
497
515
|
|
|
498
516
|
export namespace Seedance2Fast {
|
|
@@ -505,7 +523,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
505
523
|
|
|
506
524
|
/**
|
|
507
525
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
508
|
-
* `data:audio/mp3;base64,...`, up to
|
|
526
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
509
527
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
510
528
|
*/
|
|
511
529
|
uri: string;
|
|
@@ -529,7 +547,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
529
547
|
|
|
530
548
|
/**
|
|
531
549
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
532
|
-
* `data:video/mp4;base64,...`, up to
|
|
550
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
533
551
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
534
552
|
*/
|
|
535
553
|
uri: string;
|
|
@@ -541,7 +559,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
541
559
|
|
|
542
560
|
/**
|
|
543
561
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
544
|
-
* `data:video/mp4;base64,...`, up to
|
|
562
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
545
563
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
546
564
|
*/
|
|
547
565
|
promptVideo: string;
|
|
@@ -552,9 +570,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
552
570
|
audio?: boolean;
|
|
553
571
|
|
|
554
572
|
/**
|
|
555
|
-
*
|
|
573
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
574
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
575
|
+
* generation finishes.
|
|
556
576
|
*/
|
|
557
|
-
duration?: number;
|
|
577
|
+
duration?: number | 'auto';
|
|
558
578
|
|
|
559
579
|
/**
|
|
560
580
|
* An optional text prompt up to 3500 characters describing what should appear in
|
|
@@ -598,6 +618,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
598
618
|
* video inputs for more information.
|
|
599
619
|
*/
|
|
600
620
|
referenceVideos?: Array<Seedance2Mini.ReferenceVideo>;
|
|
621
|
+
|
|
622
|
+
/**
|
|
623
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
624
|
+
* get different results for the same other request parameters. Using the same seed
|
|
625
|
+
* integer for an identical request will produce similar results.
|
|
626
|
+
*/
|
|
627
|
+
seed?: number;
|
|
601
628
|
}
|
|
602
629
|
|
|
603
630
|
export namespace Seedance2Mini {
|
|
@@ -610,7 +637,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
610
637
|
|
|
611
638
|
/**
|
|
612
639
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
613
|
-
* `data:audio/mp3;base64,...`, up to
|
|
640
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
614
641
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
615
642
|
*/
|
|
616
643
|
uri: string;
|
|
@@ -634,7 +661,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
634
661
|
|
|
635
662
|
/**
|
|
636
663
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
637
|
-
* `data:video/mp4;base64,...`, up to
|
|
664
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
638
665
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
639
666
|
*/
|
|
640
667
|
uri: string;
|
|
@@ -651,7 +678,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
651
678
|
|
|
652
679
|
/**
|
|
653
680
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
654
|
-
* `data:video/mp4;base64,...`, up to
|
|
681
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
655
682
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
656
683
|
*/
|
|
657
684
|
videoUri: string;
|
|
@@ -678,7 +705,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
678
705
|
|
|
679
706
|
/**
|
|
680
707
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
681
|
-
* `data:video/mp4;base64,...`, up to
|
|
708
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
682
709
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
683
710
|
*/
|
|
684
711
|
promptVideo: string;
|
|
@@ -689,17 +716,20 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
689
716
|
audio?: boolean;
|
|
690
717
|
|
|
691
718
|
/**
|
|
692
|
-
*
|
|
719
|
+
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
720
|
+
* billed at the variant maximum up front; unused credits are refunded after the
|
|
721
|
+
* generation finishes. Defaults to 5.
|
|
693
722
|
*/
|
|
694
|
-
duration?: number;
|
|
723
|
+
duration?: number | 'auto';
|
|
695
724
|
|
|
696
725
|
/**
|
|
697
726
|
* How the input video is used. `reference` (the default) generates a new video
|
|
698
727
|
* conditioned on the input video and accepts `duration` and `ratio`. `extend`
|
|
699
728
|
* continues the input video, requires `promptText`, and matches the input aspect
|
|
700
|
-
* ratio, so `ratio` may not be provided.
|
|
729
|
+
* ratio, so `ratio` may not be provided. `edit` modifies the input video in place,
|
|
730
|
+
* requires `promptText`, requires `duration: "auto"`, and does not accept `ratio`.
|
|
701
731
|
*/
|
|
702
|
-
mode?: 'reference' | 'extend';
|
|
732
|
+
mode?: 'reference' | 'extend' | 'edit';
|
|
703
733
|
|
|
704
734
|
/**
|
|
705
735
|
* An optional text prompt up to 15000 characters describing what should appear in
|
|
@@ -748,6 +778,13 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
748
778
|
* video inputs for more information.
|
|
749
779
|
*/
|
|
750
780
|
referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
|
|
781
|
+
|
|
782
|
+
/**
|
|
783
|
+
* If unspecified, a random number is chosen. Varying the seed integer is a way to
|
|
784
|
+
* get different results for the same other request parameters. Using the same seed
|
|
785
|
+
* integer for an identical request will produce similar results.
|
|
786
|
+
*/
|
|
787
|
+
seed?: number;
|
|
751
788
|
}
|
|
752
789
|
|
|
753
790
|
export namespace Seedance2_5 {
|
|
@@ -760,7 +797,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
760
797
|
|
|
761
798
|
/**
|
|
762
799
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
763
|
-
* `data:audio/mp3;base64,...`, up to
|
|
800
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
764
801
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
765
802
|
*/
|
|
766
803
|
uri: string;
|
|
@@ -784,7 +821,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
784
821
|
|
|
785
822
|
/**
|
|
786
823
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
787
|
-
* `data:video/mp4;base64,...`, up to
|
|
824
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
788
825
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
789
826
|
*/
|
|
790
827
|
uri: string;
|
|
@@ -58,7 +58,7 @@ export interface VideoUpscaleCreateParams {
|
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
60
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
61
|
-
* `data:video/mp4;base64,...`, up to
|
|
61
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
62
62
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
63
63
|
*/
|
|
64
64
|
videoUri: string;
|
|
@@ -59,7 +59,7 @@ export namespace VoiceDubbingCreateResponse {
|
|
|
59
59
|
export interface VoiceDubbingCreateParams {
|
|
60
60
|
/**
|
|
61
61
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
62
|
-
* `data:audio/mp3;base64,...`, up to
|
|
62
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
63
63
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
64
64
|
*/
|
|
65
65
|
audioUri: string;
|
|
@@ -60,7 +60,7 @@ export namespace VoiceIsolationCreateResponse {
|
|
|
60
60
|
export interface VoiceIsolationCreateParams {
|
|
61
61
|
/**
|
|
62
62
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
63
|
-
* `data:audio/mp3;base64,...`, up to
|
|
63
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
64
64
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
65
65
|
*/
|
|
66
66
|
audioUri: string;
|
package/src/resources/voices.ts
CHANGED
|
@@ -412,7 +412,7 @@ export namespace VoiceCreateParams {
|
|
|
412
412
|
export interface Audio {
|
|
413
413
|
/**
|
|
414
414
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
415
|
-
* `data:audio/mp3;base64,...`, up to
|
|
415
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
416
416
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
417
417
|
*/
|
|
418
418
|
audio: string;
|
|
@@ -197,7 +197,7 @@ export namespace WorkflowRunParams {
|
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
200
|
-
* `data:video/mp4;base64,...`, up to
|
|
200
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
201
201
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
202
202
|
*/
|
|
203
203
|
uri: string;
|
|
@@ -211,7 +211,7 @@ export namespace WorkflowRunParams {
|
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
213
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
214
|
-
* `data:audio/mp3;base64,...`, up to
|
|
214
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
215
215
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
216
216
|
*/
|
|
217
217
|
uri: string;
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.18.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.18.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.18.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|