@runwayml/sdk 4.16.2 → 4.17.1

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +1 -1
  3. package/resources/avatar-videos.d.mts +1 -1
  4. package/resources/avatar-videos.d.ts +1 -1
  5. package/resources/character-performance.d.mts +2 -2
  6. package/resources/character-performance.d.ts +2 -2
  7. package/resources/generate/audio.d.mts +2 -2
  8. package/resources/generate/audio.d.ts +2 -2
  9. package/resources/generate/video.d.mts +2 -2
  10. package/resources/generate/video.d.ts +2 -2
  11. package/resources/image-to-video.d.mts +65 -1
  12. package/resources/image-to-video.d.mts.map +1 -1
  13. package/resources/image-to-video.d.ts +65 -1
  14. package/resources/image-to-video.d.ts.map +1 -1
  15. package/resources/organization/organization.d.mts +2 -2
  16. package/resources/organization/organization.d.mts.map +1 -1
  17. package/resources/organization/organization.d.ts +2 -2
  18. package/resources/organization/organization.d.ts.map +1 -1
  19. package/resources/organization/organization.js.map +1 -1
  20. package/resources/organization/organization.mjs.map +1 -1
  21. package/resources/recipes.d.mts +1 -1
  22. package/resources/recipes.d.ts +1 -1
  23. package/resources/speech-to-speech.d.mts +2 -2
  24. package/resources/speech-to-speech.d.ts +2 -2
  25. package/resources/text-to-image.d.mts +33 -1
  26. package/resources/text-to-image.d.mts.map +1 -1
  27. package/resources/text-to-image.d.ts +33 -1
  28. package/resources/text-to-image.d.ts.map +1 -1
  29. package/resources/text-to-video.d.mts +73 -1
  30. package/resources/text-to-video.d.mts.map +1 -1
  31. package/resources/text-to-video.d.ts +73 -1
  32. package/resources/text-to-video.d.ts.map +1 -1
  33. package/resources/video-to-hdr.d.mts +1 -1
  34. package/resources/video-to-hdr.d.ts +1 -1
  35. package/resources/video-to-video.d.mts +17 -17
  36. package/resources/video-to-video.d.ts +17 -17
  37. package/resources/video-upscale.d.mts +1 -1
  38. package/resources/video-upscale.d.ts +1 -1
  39. package/resources/voice-dubbing.d.mts +1 -1
  40. package/resources/voice-dubbing.d.ts +1 -1
  41. package/resources/voice-isolation.d.mts +1 -1
  42. package/resources/voice-isolation.d.ts +1 -1
  43. package/resources/voices.d.mts +1 -1
  44. package/resources/voices.d.ts +1 -1
  45. package/resources/workflows.d.mts +2 -2
  46. package/resources/workflows.d.ts +2 -2
  47. package/src/resources/avatar-videos.ts +1 -1
  48. package/src/resources/character-performance.ts +2 -2
  49. package/src/resources/generate/audio.ts +2 -2
  50. package/src/resources/generate/video.ts +2 -2
  51. package/src/resources/image-to-video.ts +96 -1
  52. package/src/resources/organization/organization.ts +4 -0
  53. package/src/resources/recipes.ts +1 -1
  54. package/src/resources/speech-to-speech.ts +2 -2
  55. package/src/resources/text-to-image.ts +48 -0
  56. package/src/resources/text-to-video.ts +105 -1
  57. package/src/resources/video-to-hdr.ts +1 -1
  58. package/src/resources/video-to-video.ts +17 -17
  59. package/src/resources/video-upscale.ts +1 -1
  60. package/src/resources/voice-dubbing.ts +1 -1
  61. package/src/resources/voice-isolation.ts +1 -1
  62. package/src/resources/voices.ts +1 -1
  63. package/src/resources/workflows.ts +2 -2
  64. package/src/version.ts +1 -1
  65. package/version.d.mts +1 -1
  66. package/version.d.ts +1 -1
  67. package/version.js +1 -1
  68. package/version.mjs +1 -1
@@ -58,7 +58,8 @@ export type TextToVideoCreateParams =
58
58
  | TextToVideoCreateParams.Seedance2Mini
59
59
  | TextToVideoCreateParams.GeminiOmniFlash
60
60
  | TextToVideoCreateParams.Seedance2_5
61
- | TextToVideoCreateParams.GrokImagine1_5;
61
+ | TextToVideoCreateParams.GrokImagine1_5
62
+ | TextToVideoCreateParams.Wan3;
62
63
 
63
64
  export declare namespace TextToVideoCreateParams {
64
65
  export interface Gen4_5 {
@@ -813,6 +814,109 @@ export declare namespace TextToVideoCreateParams {
813
814
  uri: string;
814
815
  }
815
816
  }
817
+
818
+ export interface Wan3 {
819
+ model: 'wan3';
820
+
821
+ /**
822
+ * A non-empty text prompt describing what should appear in the output.
823
+ */
824
+ promptText: string;
825
+
826
+ /**
827
+ * Whether to generate audio with the video.
828
+ */
829
+ audio?: boolean;
830
+
831
+ /**
832
+ * The number of seconds of duration for the output video.
833
+ */
834
+ duration?: number;
835
+
836
+ /**
837
+ * The resolution of the output video, as `<width>:<height>`. Use `auto_480p`,
838
+ * `auto_720p`, or `auto_1080p` to let the model pick framing at that quality tier.
839
+ */
840
+ ratio?:
841
+ | '832:480'
842
+ | '640:480'
843
+ | '480:480'
844
+ | '480:640'
845
+ | '480:832'
846
+ | '1280:720'
847
+ | '960:720'
848
+ | '720:720'
849
+ | '720:960'
850
+ | '720:1280'
851
+ | '1920:1080'
852
+ | '1440:1080'
853
+ | '1080:1080'
854
+ | '1080:1440'
855
+ | '1080:1920'
856
+ | 'auto_480p'
857
+ | 'auto_720p'
858
+ | 'auto_1080p';
859
+
860
+ /**
861
+ * An optional array of audio references. The total combined duration must not
862
+ * exceed 15 seconds.
863
+ */
864
+ referenceAudio?: Array<Wan3.ReferenceAudio>;
865
+
866
+ /**
867
+ * An optional array of image references (up to 10). See
868
+ * [our docs](/assets/inputs#images) on image inputs for more information.
869
+ */
870
+ references?: Array<Wan3.Reference>;
871
+
872
+ /**
873
+ * An optional array of video references. The combined duration across all video
874
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
875
+ * video inputs for more information.
876
+ */
877
+ referenceVideos?: Array<Wan3.ReferenceVideo>;
878
+ }
879
+
880
+ export namespace Wan3 {
881
+ /**
882
+ * An audio reference allows the model to use the audio as additional context for
883
+ * the output.
884
+ */
885
+ export interface ReferenceAudio {
886
+ type: 'audio';
887
+
888
+ /**
889
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
890
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
891
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
892
+ */
893
+ uri: string;
894
+ }
895
+
896
+ export interface Reference {
897
+ /**
898
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
899
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
900
+ * [our docs](/assets/inputs#images) on image inputs for more information.
901
+ */
902
+ uri: string;
903
+ }
904
+
905
+ /**
906
+ * A video reference allows the model to use the video as additional context for
907
+ * the output.
908
+ */
909
+ export interface ReferenceVideo {
910
+ type: 'video';
911
+
912
+ /**
913
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
914
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
915
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
916
+ */
917
+ uri: string;
918
+ }
919
+ }
816
920
  }
817
921
 
818
922
  export declare namespace TextToVideo {
@@ -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 16MB) containing an encoded video. See
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 16MB) containing an encoded video. See
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 16MB) containing an encoded video. See
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 16MB) containing an encoded audio. See
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 16MB) containing an encoded video. See
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 16MB) containing an encoded video. See
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;
@@ -400,7 +400,7 @@ export declare namespace VideoToVideoCreateParams {
400
400
 
401
401
  /**
402
402
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
403
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
403
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
404
404
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
405
405
  */
406
406
  uri: string;
@@ -424,7 +424,7 @@ export declare namespace VideoToVideoCreateParams {
424
424
 
425
425
  /**
426
426
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
427
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
427
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
428
428
  * [our docs](/assets/inputs#videos) on video inputs for more information.
429
429
  */
430
430
  uri: string;
@@ -436,7 +436,7 @@ export declare namespace VideoToVideoCreateParams {
436
436
 
437
437
  /**
438
438
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
439
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
439
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
440
440
  * [our docs](/assets/inputs#videos) on video inputs for more information.
441
441
  */
442
442
  promptVideo: string;
@@ -505,7 +505,7 @@ export declare namespace VideoToVideoCreateParams {
505
505
 
506
506
  /**
507
507
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
508
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
508
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
509
509
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
510
510
  */
511
511
  uri: string;
@@ -529,7 +529,7 @@ export declare namespace VideoToVideoCreateParams {
529
529
 
530
530
  /**
531
531
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
532
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
532
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
533
533
  * [our docs](/assets/inputs#videos) on video inputs for more information.
534
534
  */
535
535
  uri: string;
@@ -541,7 +541,7 @@ export declare namespace VideoToVideoCreateParams {
541
541
 
542
542
  /**
543
543
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
544
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
544
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
545
545
  * [our docs](/assets/inputs#videos) on video inputs for more information.
546
546
  */
547
547
  promptVideo: string;
@@ -610,7 +610,7 @@ export declare namespace VideoToVideoCreateParams {
610
610
 
611
611
  /**
612
612
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
613
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
613
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
614
614
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
615
615
  */
616
616
  uri: string;
@@ -634,7 +634,7 @@ export declare namespace VideoToVideoCreateParams {
634
634
 
635
635
  /**
636
636
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
637
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
637
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
638
638
  * [our docs](/assets/inputs#videos) on video inputs for more information.
639
639
  */
640
640
  uri: string;
@@ -651,7 +651,7 @@ export declare namespace VideoToVideoCreateParams {
651
651
 
652
652
  /**
653
653
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
654
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
654
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
655
655
  * [our docs](/assets/inputs#videos) on video inputs for more information.
656
656
  */
657
657
  videoUri: string;
@@ -678,7 +678,7 @@ export declare namespace VideoToVideoCreateParams {
678
678
 
679
679
  /**
680
680
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
681
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
681
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
682
682
  * [our docs](/assets/inputs#videos) on video inputs for more information.
683
683
  */
684
684
  promptVideo: string;
@@ -760,7 +760,7 @@ export declare namespace VideoToVideoCreateParams {
760
760
 
761
761
  /**
762
762
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
763
- * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
763
+ * `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
764
764
  * [our docs](/assets/inputs#audio) on audio inputs for more information.
765
765
  */
766
766
  uri: string;
@@ -784,7 +784,7 @@ export declare namespace VideoToVideoCreateParams {
784
784
 
785
785
  /**
786
786
  * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
787
- * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
787
+ * `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
788
788
  * [our docs](/assets/inputs#videos) on video inputs for more information.
789
789
  */
790
790
  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 16MB) containing an encoded video. See
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 16MB) containing an encoded audio. See
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 16MB) containing an encoded audio. See
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;
@@ -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 16MB) containing an encoded audio. See
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 16MB) containing an encoded video. See
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 16MB) containing an encoded audio. See
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.16.2'; // x-release-please-version
1
+ export const VERSION = '4.17.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.16.2";
1
+ export declare const VERSION = "4.17.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.16.2";
1
+ export declare const VERSION = "4.17.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '4.16.2'; // x-release-please-version
4
+ exports.VERSION = '4.17.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.16.2'; // x-release-please-version
1
+ export const VERSION = '4.17.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map