@runwayml/sdk 4.17.1 → 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 +15 -0
- package/package.json +1 -1
- 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/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-video.d.mts +43 -10
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +43 -10
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/resources/image-to-video.ts +58 -8
- package/src/resources/text-to-video.ts +58 -8
- package/src/resources/video-to-video.ts +47 -10
- 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
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -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 {
|
|
@@ -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 {
|
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
|