@runwayml/sdk 4.29.0 → 4.30.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +1 -1
  3. package/resources/generate/image.d.mts +2 -2
  4. package/resources/generate/image.d.ts +2 -2
  5. package/resources/generate/video.d.mts +5 -0
  6. package/resources/generate/video.d.mts.map +1 -1
  7. package/resources/generate/video.d.ts +5 -0
  8. package/resources/generate/video.d.ts.map +1 -1
  9. package/resources/image-to-video.d.mts +6 -1
  10. package/resources/image-to-video.d.mts.map +1 -1
  11. package/resources/image-to-video.d.ts +6 -1
  12. package/resources/image-to-video.d.ts.map +1 -1
  13. package/resources/organization/index.d.mts +1 -1
  14. package/resources/organization/index.d.mts.map +1 -1
  15. package/resources/organization/index.d.ts +1 -1
  16. package/resources/organization/index.d.ts.map +1 -1
  17. package/resources/organization/index.js.map +1 -1
  18. package/resources/organization/index.mjs.map +1 -1
  19. package/resources/organization/organization.d.mts +4 -4
  20. package/resources/organization/organization.d.mts.map +1 -1
  21. package/resources/organization/organization.d.ts +4 -4
  22. package/resources/organization/organization.d.ts.map +1 -1
  23. package/resources/organization/organization.js.map +1 -1
  24. package/resources/organization/organization.mjs.map +1 -1
  25. package/resources/organization/webapp/audit-logs.d.mts +34 -14
  26. package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
  27. package/resources/organization/webapp/audit-logs.d.ts +34 -14
  28. package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
  29. package/resources/organization/webapp/index.d.mts +1 -1
  30. package/resources/organization/webapp/index.d.mts.map +1 -1
  31. package/resources/organization/webapp/index.d.ts +1 -1
  32. package/resources/organization/webapp/index.d.ts.map +1 -1
  33. package/resources/organization/webapp/index.js.map +1 -1
  34. package/resources/organization/webapp/index.mjs.map +1 -1
  35. package/resources/organization/webapp/webapp.d.mts +79 -1
  36. package/resources/organization/webapp/webapp.d.mts.map +1 -1
  37. package/resources/organization/webapp/webapp.d.ts +79 -1
  38. package/resources/organization/webapp/webapp.d.ts.map +1 -1
  39. package/resources/organization/webapp/webapp.js +12 -0
  40. package/resources/organization/webapp/webapp.js.map +1 -1
  41. package/resources/organization/webapp/webapp.mjs +12 -0
  42. package/resources/organization/webapp/webapp.mjs.map +1 -1
  43. package/resources/tasks.d.mts +25 -2
  44. package/resources/tasks.d.mts.map +1 -1
  45. package/resources/tasks.d.ts +25 -2
  46. package/resources/tasks.d.ts.map +1 -1
  47. package/resources/text-to-image.d.mts +86 -4
  48. package/resources/text-to-image.d.mts.map +1 -1
  49. package/resources/text-to-image.d.ts +86 -4
  50. package/resources/text-to-image.d.ts.map +1 -1
  51. package/resources/text-to-speech.d.mts +77 -1
  52. package/resources/text-to-speech.d.mts.map +1 -1
  53. package/resources/text-to-speech.d.ts +77 -1
  54. package/resources/text-to-speech.d.ts.map +1 -1
  55. package/resources/text-to-video.d.mts +7 -2
  56. package/resources/text-to-video.d.mts.map +1 -1
  57. package/resources/text-to-video.d.ts +7 -2
  58. package/resources/text-to-video.d.ts.map +1 -1
  59. package/resources/video-to-video.d.mts +7 -2
  60. package/resources/video-to-video.d.mts.map +1 -1
  61. package/resources/video-to-video.d.ts +7 -2
  62. package/resources/video-to-video.d.ts.map +1 -1
  63. package/src/resources/generate/image.ts +2 -2
  64. package/src/resources/generate/video.ts +6 -0
  65. package/src/resources/image-to-video.ts +7 -1
  66. package/src/resources/organization/index.ts +3 -0
  67. package/src/resources/organization/organization.ts +16 -2
  68. package/src/resources/organization/webapp/audit-logs.ts +58 -12
  69. package/src/resources/organization/webapp/index.ts +3 -0
  70. package/src/resources/organization/webapp/webapp.ts +104 -0
  71. package/src/resources/tasks.ts +33 -2
  72. package/src/resources/text-to-image.ts +132 -4
  73. package/src/resources/text-to-speech.ts +143 -1
  74. package/src/resources/text-to-video.ts +13 -2
  75. package/src/resources/video-to-video.ts +13 -2
  76. package/src/version.ts +1 -1
  77. package/version.d.mts +1 -1
  78. package/version.d.ts +1 -1
  79. package/version.js +1 -1
  80. package/version.mjs +1 -1
@@ -55,7 +55,8 @@ export type TextToSpeechCreateParams =
55
55
  | TextToSpeechCreateParams.Gemini3_8FlashTts
56
56
  | TextToSpeechCreateParams.Gemini3_8FlashLiteTts
57
57
  | TextToSpeechCreateParams.ElevenMultilingualV2
58
- | TextToSpeechCreateParams.ElevenV3;
58
+ | TextToSpeechCreateParams.ElevenV3
59
+ | TextToSpeechCreateParams.ElevenV4Turbo;
59
60
 
60
61
  export declare namespace TextToSpeechCreateParams {
61
62
  export interface SeedAudio {
@@ -564,6 +565,147 @@ export declare namespace TextToSpeechCreateParams {
564
565
  type: 'custom';
565
566
  }
566
567
  }
568
+
569
+ export interface ElevenV4Turbo {
570
+ model: 'eleven_v4_turbo';
571
+
572
+ /**
573
+ * The text to convert to speech. You can include expressive audio tags like
574
+ * [laughs], [whispers], or [pause] in the script.
575
+ */
576
+ promptText: string;
577
+
578
+ /**
579
+ * The voice to use for the generated speech.
580
+ */
581
+ voice: ElevenV4Turbo.RunwayPreset | ElevenV4Turbo.Custom;
582
+
583
+ /**
584
+ * Language code to enforce pronunciation, such as "en" or "pt". A regional code
585
+ * such as "pt-BR" is read as its language.
586
+ */
587
+ languageCode?: string;
588
+
589
+ /**
590
+ * Text that comes after this request, so the speech can lead into a later
591
+ * generation.
592
+ */
593
+ nextText?: string;
594
+
595
+ /**
596
+ * Text that comes before this request, so the speech can continue from an earlier
597
+ * generation.
598
+ */
599
+ previousText?: string;
600
+
601
+ /**
602
+ * Optional seed for more consistent output. The same seed and settings tend to
603
+ * sound alike, but it is not guaranteed.
604
+ */
605
+ seed?: number;
606
+
607
+ /**
608
+ * How closely the output tracks the original speaker.
609
+ */
610
+ similarityBoost?: number;
611
+
612
+ /**
613
+ * Speech speed multiplier. Values below 1 slow the speech down, and values above 1
614
+ * speed it up.
615
+ */
616
+ speed?: number;
617
+
618
+ /**
619
+ * Voice stability. Lower values allow broader emotional range; higher values are
620
+ * steadier.
621
+ */
622
+ stability?: number;
623
+
624
+ /**
625
+ * Style exaggeration. Higher values amplify the speaker style.
626
+ */
627
+ style?: number;
628
+
629
+ /**
630
+ * Boost similarity to the original speaker at a small latency cost.
631
+ */
632
+ useSpeakerBoost?: boolean;
633
+ }
634
+
635
+ export namespace ElevenV4Turbo {
636
+ /**
637
+ * A voice preset from the RunwayML API.
638
+ */
639
+ export interface RunwayPreset {
640
+ /**
641
+ * The preset voice ID to use for the generated speech.
642
+ */
643
+ presetId:
644
+ | 'Maya'
645
+ | 'Arjun'
646
+ | 'Serene'
647
+ | 'Bernard'
648
+ | 'Billy'
649
+ | 'Mark'
650
+ | 'Clint'
651
+ | 'Mabel'
652
+ | 'Chad'
653
+ | 'Leslie'
654
+ | 'Eleanor'
655
+ | 'Elias'
656
+ | 'Elliot'
657
+ | 'Grungle'
658
+ | 'Brodie'
659
+ | 'Sandra'
660
+ | 'Kirk'
661
+ | 'Kylie'
662
+ | 'Lara'
663
+ | 'Lisa'
664
+ | 'Malachi'
665
+ | 'Marlene'
666
+ | 'Martin'
667
+ | 'Miriam'
668
+ | 'Monster'
669
+ | 'Paula'
670
+ | 'Pip'
671
+ | 'Rusty'
672
+ | 'Ragnar'
673
+ | 'Xylar'
674
+ | 'Maggie'
675
+ | 'Jack'
676
+ | 'Katie'
677
+ | 'Noah'
678
+ | 'James'
679
+ | 'Rina'
680
+ | 'Ella'
681
+ | 'Mariah'
682
+ | 'Frank'
683
+ | 'Claudia'
684
+ | 'Niki'
685
+ | 'Vincent'
686
+ | 'Kendrick'
687
+ | 'Myrna'
688
+ | 'Tom'
689
+ | 'Wanda'
690
+ | 'Benjamin'
691
+ | 'Kiana'
692
+ | 'Rachel';
693
+
694
+ type: 'runway-preset';
695
+ }
696
+
697
+ /**
698
+ * A custom voice belonging to the authenticated organization.
699
+ */
700
+ export interface Custom {
701
+ /**
702
+ * The ID of a custom voice created via the Voices API.
703
+ */
704
+ id: string;
705
+
706
+ type: 'custom';
707
+ }
708
+ }
567
709
  }
568
710
 
569
711
  export declare namespace TextToSpeech {
@@ -1717,9 +1717,15 @@ export declare namespace TextToVideoCreateParams {
1717
1717
  */
1718
1718
  duration?: number;
1719
1719
 
1720
+ /**
1721
+ * Generate 10-bit HDR output. Requires a 1080p or 4K ratio. Additional charges
1722
+ * apply per output second. Defaults to false.
1723
+ */
1724
+ hdr?: boolean;
1725
+
1720
1726
  /**
1721
1727
  * The target output size. Use a pixel ratio such as `1280:720` or `auto_720p` /
1722
- * `auto_1080p` for adaptive framing.
1728
+ * `auto_1080p` / `auto_4k` for adaptive framing.
1723
1729
  */
1724
1730
  ratio?:
1725
1731
  | '1280:720'
@@ -1730,8 +1736,13 @@ export declare namespace TextToVideoCreateParams {
1730
1736
  | '1080:1920'
1731
1737
  | '1440:1440'
1732
1738
  | '2200:940'
1739
+ | '3840:2160'
1740
+ | '2160:3840'
1741
+ | '2880:2880'
1742
+ | '4396:1884'
1733
1743
  | 'auto_720p'
1734
- | 'auto_1080p';
1744
+ | 'auto_1080p'
1745
+ | 'auto_4k';
1735
1746
 
1736
1747
  /**
1737
1748
  * Images of characters, objects or styles to use in the video. Up to 10 images in
@@ -1210,6 +1210,12 @@ export declare namespace VideoToVideoCreateParams {
1210
1210
  */
1211
1211
  duration?: number;
1212
1212
 
1213
+ /**
1214
+ * Generate 10-bit HDR output. Requires a 1080p or 4K ratio. Additional charges
1215
+ * apply per output second. Defaults to false.
1216
+ */
1217
+ hdr?: boolean;
1218
+
1213
1219
  /**
1214
1220
  * Optional first, middle, and last frames guiding the edit. Middle or last frames
1215
1221
  * can be provided without a first frame.
@@ -1218,7 +1224,7 @@ export declare namespace VideoToVideoCreateParams {
1218
1224
 
1219
1225
  /**
1220
1226
  * The target output size. Use a pixel ratio such as `1280:720` or `auto_720p` /
1221
- * `auto_1080p` for adaptive framing.
1227
+ * `auto_1080p` / `auto_4k` for adaptive framing.
1222
1228
  */
1223
1229
  ratio?:
1224
1230
  | '1280:720'
@@ -1229,8 +1235,13 @@ export declare namespace VideoToVideoCreateParams {
1229
1235
  | '1080:1920'
1230
1236
  | '1440:1440'
1231
1237
  | '2200:940'
1238
+ | '3840:2160'
1239
+ | '2160:3840'
1240
+ | '2880:2880'
1241
+ | '4396:1884'
1232
1242
  | 'auto_720p'
1233
- | 'auto_1080p';
1243
+ | 'auto_1080p'
1244
+ | 'auto_4k';
1234
1245
 
1235
1246
  /**
1236
1247
  * Images of characters, objects or styles to use in the video. Up to 10 images in
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.29.0'; // x-release-please-version
1
+ export const VERSION = '4.30.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.29.0";
1
+ export declare const VERSION = "4.30.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.29.0";
1
+ export declare const VERSION = "4.30.0";
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.29.0'; // x-release-please-version
4
+ exports.VERSION = '4.30.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.29.0'; // x-release-please-version
1
+ export const VERSION = '4.30.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map