@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.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/generate/image.d.mts +2 -2
- package/resources/generate/image.d.ts +2 -2
- package/resources/generate/video.d.mts +5 -0
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +5 -0
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +6 -1
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +6 -1
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/index.d.mts +1 -1
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -1
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/index.js.map +1 -1
- package/resources/organization/index.mjs.map +1 -1
- package/resources/organization/organization.d.mts +4 -4
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +4 -4
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs.map +1 -1
- package/resources/organization/webapp/audit-logs.d.mts +34 -14
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +34 -14
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/index.d.mts +1 -1
- package/resources/organization/webapp/index.d.mts.map +1 -1
- package/resources/organization/webapp/index.d.ts +1 -1
- package/resources/organization/webapp/index.d.ts.map +1 -1
- package/resources/organization/webapp/index.js.map +1 -1
- package/resources/organization/webapp/index.mjs.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +79 -1
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +79 -1
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js +12 -0
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs +12 -0
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/tasks.d.mts +25 -2
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +25 -2
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +86 -4
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +86 -4
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +77 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +77 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +7 -2
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +7 -2
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +7 -2
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +7 -2
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/resources/generate/image.ts +2 -2
- package/src/resources/generate/video.ts +6 -0
- package/src/resources/image-to-video.ts +7 -1
- package/src/resources/organization/index.ts +3 -0
- package/src/resources/organization/organization.ts +16 -2
- package/src/resources/organization/webapp/audit-logs.ts +58 -12
- package/src/resources/organization/webapp/index.ts +3 -0
- package/src/resources/organization/webapp/webapp.ts +104 -0
- package/src/resources/tasks.ts +33 -2
- package/src/resources/text-to-image.ts +132 -4
- package/src/resources/text-to-speech.ts +143 -1
- package/src/resources/text-to-video.ts +13 -2
- package/src/resources/video-to-video.ts +13 -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
|
@@ -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.
|
|
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.
|
|
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.
|
|
1
|
+
export declare const VERSION = "4.30.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.30.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|