@runwayml/sdk 4.23.0 → 4.25.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 +14 -0
- package/package.json +1 -1
- package/resources/generate/audio.d.mts +12 -10
- package/resources/generate/audio.d.mts.map +1 -1
- package/resources/generate/audio.d.ts +12 -10
- package/resources/generate/audio.d.ts.map +1 -1
- package/resources/generate/audio.js +3 -2
- package/resources/generate/audio.js.map +1 -1
- package/resources/generate/audio.mjs +3 -2
- package/resources/generate/audio.mjs.map +1 -1
- package/resources/image-to-video.d.mts +142 -4
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +142 -4
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/organization/organization.d.mts +2 -2
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +2 -2
- 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 +124 -7
- package/resources/organization/webapp/audit-logs.d.mts.map +1 -1
- package/resources/organization/webapp/audit-logs.d.ts +124 -7
- package/resources/organization/webapp/audit-logs.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.d.mts +18 -0
- package/resources/organization/webapp/webapp.d.mts.map +1 -1
- package/resources/organization/webapp/webapp.d.ts +18 -0
- package/resources/organization/webapp/webapp.d.ts.map +1 -1
- package/resources/organization/webapp/webapp.js.map +1 -1
- package/resources/organization/webapp/webapp.mjs.map +1 -1
- package/resources/tasks.d.mts +34 -0
- package/resources/tasks.d.mts.map +1 -1
- package/resources/tasks.d.ts +34 -0
- package/resources/tasks.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +236 -13
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +236 -13
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +127 -4
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +127 -4
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +140 -4
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +140 -4
- package/resources/video-to-video.d.ts.map +1 -1
- package/src/resources/generate/audio.ts +12 -10
- package/src/resources/image-to-video.ts +182 -4
- package/src/resources/organization/organization.ts +16 -0
- package/src/resources/organization/webapp/audit-logs.ts +238 -5
- package/src/resources/organization/webapp/webapp.ts +22 -0
- package/src/resources/tasks.ts +41 -0
- package/src/resources/text-to-image.ts +342 -12
- package/src/resources/text-to-video.ts +174 -4
- package/src/resources/video-to-video.ts +178 -4
- 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
|
@@ -41,7 +41,7 @@ export declare namespace VideoToVideoCreateResponse {
|
|
|
41
41
|
credits: number;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
export type VideoToVideoCreateParams = VideoToVideoCreateParams.Variant0 | VideoToVideoCreateParams.KlingO3_4k | VideoToVideoCreateParams.Hailuo3 | VideoToVideoCreateParams.KlingO3Pro | VideoToVideoCreateParams.KlingO3Standard | VideoToVideoCreateParams.Seedance2 | VideoToVideoCreateParams.Seedance2Fast | VideoToVideoCreateParams.Seedance2Mini | VideoToVideoCreateParams.GeminiOmniFlash | VideoToVideoCreateParams.GeminiOmniFlash1_1 | VideoToVideoCreateParams.Seedance2_5;
|
|
44
|
+
export type VideoToVideoCreateParams = VideoToVideoCreateParams.Variant0 | VideoToVideoCreateParams.KlingO3_4k | VideoToVideoCreateParams.Hailuo3 | VideoToVideoCreateParams.KlingO3Pro | VideoToVideoCreateParams.KlingO3Standard | VideoToVideoCreateParams.Seedance2 | VideoToVideoCreateParams.Seedance2Fast | VideoToVideoCreateParams.Seedance2Mini | VideoToVideoCreateParams.GeminiOmniFlash | VideoToVideoCreateParams.GeminiOmniFlash1_1 | VideoToVideoCreateParams.Seedance2_5 | VideoToVideoCreateParams.Kling4 | VideoToVideoCreateParams.GeminiOmniFlash1_2 | VideoToVideoCreateParams.Kling4Flash;
|
|
45
45
|
export declare namespace VideoToVideoCreateParams {
|
|
46
46
|
interface Variant0 {
|
|
47
47
|
model: 'aleph2';
|
|
@@ -489,6 +489,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
489
489
|
* Whether to generate audio for the video.
|
|
490
490
|
*/
|
|
491
491
|
audio?: boolean;
|
|
492
|
+
/**
|
|
493
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
494
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
495
|
+
*/
|
|
496
|
+
bitrate?: 'standard' | 'high';
|
|
492
497
|
/**
|
|
493
498
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
494
499
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -496,7 +501,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
496
501
|
*/
|
|
497
502
|
duration?: number | 'auto';
|
|
498
503
|
/**
|
|
499
|
-
* An optional text prompt up to
|
|
504
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
500
505
|
* the output.
|
|
501
506
|
*/
|
|
502
507
|
promptText?: string;
|
|
@@ -575,6 +580,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
575
580
|
* Whether to generate audio for the video.
|
|
576
581
|
*/
|
|
577
582
|
audio?: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
585
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
586
|
+
*/
|
|
587
|
+
bitrate?: 'standard' | 'high';
|
|
578
588
|
/**
|
|
579
589
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
580
590
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -582,7 +592,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
582
592
|
*/
|
|
583
593
|
duration?: number | 'auto';
|
|
584
594
|
/**
|
|
585
|
-
* An optional text prompt up to
|
|
595
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
586
596
|
* the output.
|
|
587
597
|
*/
|
|
588
598
|
promptText?: string;
|
|
@@ -662,6 +672,11 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
662
672
|
* Whether to generate audio for the video.
|
|
663
673
|
*/
|
|
664
674
|
audio?: boolean;
|
|
675
|
+
/**
|
|
676
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
677
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
678
|
+
*/
|
|
679
|
+
bitrate?: 'standard' | 'high';
|
|
665
680
|
/**
|
|
666
681
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
667
682
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -669,7 +684,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
669
684
|
*/
|
|
670
685
|
duration?: number | 'auto';
|
|
671
686
|
/**
|
|
672
|
-
* An optional text prompt up to
|
|
687
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
673
688
|
* the output.
|
|
674
689
|
*/
|
|
675
690
|
promptText?: string;
|
|
@@ -912,6 +927,127 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
912
927
|
uri: string;
|
|
913
928
|
}
|
|
914
929
|
}
|
|
930
|
+
interface Kling4 {
|
|
931
|
+
model: 'kling_4';
|
|
932
|
+
/**
|
|
933
|
+
* A text prompt describing how to edit the video.
|
|
934
|
+
*/
|
|
935
|
+
promptText: string;
|
|
936
|
+
/**
|
|
937
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
938
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
939
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
940
|
+
*/
|
|
941
|
+
videoUri: string;
|
|
942
|
+
/**
|
|
943
|
+
* Output quality tier. The video keeps the input media framing.
|
|
944
|
+
*/
|
|
945
|
+
ratio?: 'auto_720p' | 'auto_1080p';
|
|
946
|
+
/**
|
|
947
|
+
* Images of characters, objects or styles to use in the video. Up to 10 images in
|
|
948
|
+
* total, frames included.
|
|
949
|
+
*/
|
|
950
|
+
references?: Array<Kling4.Reference>;
|
|
951
|
+
}
|
|
952
|
+
namespace Kling4 {
|
|
953
|
+
interface Reference {
|
|
954
|
+
/**
|
|
955
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
956
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
957
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
958
|
+
*/
|
|
959
|
+
uri: string;
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
interface GeminiOmniFlash1_2 {
|
|
963
|
+
model: 'gemini_omni_flash_1.2';
|
|
964
|
+
/**
|
|
965
|
+
* A non-empty prompt describing the output or extension.
|
|
966
|
+
*/
|
|
967
|
+
promptText: string;
|
|
968
|
+
/**
|
|
969
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
970
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
971
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
972
|
+
*/
|
|
973
|
+
videoUri: string;
|
|
974
|
+
/**
|
|
975
|
+
* The duration in seconds. In reference mode, this is the output video length. In
|
|
976
|
+
* extend mode, this is the amount of footage added to the input video. Use "auto"
|
|
977
|
+
* to let the model choose a duration.
|
|
978
|
+
*/
|
|
979
|
+
duration?: 'auto' | number;
|
|
980
|
+
/**
|
|
981
|
+
* How the input video is used. `reference` generates a new video guided by the
|
|
982
|
+
* input, `extend` continues it, and `edit` transforms it according to the prompt.
|
|
983
|
+
*/
|
|
984
|
+
mode?: 'reference' | 'extend' | 'edit';
|
|
985
|
+
/**
|
|
986
|
+
* The resolution and aspect ratio of the output video.
|
|
987
|
+
*/
|
|
988
|
+
ratio?: '640:360' | '360:640' | '1280:720' | '720:1280' | '1920:1080' | '1080:1920' | '3840:2160' | '2160:3840';
|
|
989
|
+
/**
|
|
990
|
+
* An optional array of image references to guide the output.
|
|
991
|
+
*/
|
|
992
|
+
references?: Array<GeminiOmniFlash1_2.Reference>;
|
|
993
|
+
/**
|
|
994
|
+
* The output resolution when editing or extending a video. In reference mode, use
|
|
995
|
+
* ratio instead.
|
|
996
|
+
*/
|
|
997
|
+
resolution?: '360p' | '720p' | '1080p' | '4k';
|
|
998
|
+
}
|
|
999
|
+
namespace GeminiOmniFlash1_2 {
|
|
1000
|
+
interface Reference {
|
|
1001
|
+
/**
|
|
1002
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1003
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1004
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1005
|
+
*/
|
|
1006
|
+
uri: string;
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
interface Kling4Flash {
|
|
1010
|
+
model: 'kling_4_flash';
|
|
1011
|
+
/**
|
|
1012
|
+
* A text prompt describing what should happen in the video.
|
|
1013
|
+
*/
|
|
1014
|
+
promptText: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1017
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1018
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1019
|
+
*/
|
|
1020
|
+
videoUri: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* The duration of the output video in seconds.
|
|
1023
|
+
*/
|
|
1024
|
+
duration?: number;
|
|
1025
|
+
/**
|
|
1026
|
+
* The output size, or auto_720p for adaptive framing. Legacy values 940:940 and
|
|
1027
|
+
* 1460:624 are accepted as aliases for 960:960 and 1464:628, respectively.
|
|
1028
|
+
*/
|
|
1029
|
+
ratio?: '1280:720' | '720:1280' | '960:960' | '1464:628' | 'auto_720p' | '940:940' | '1460:624';
|
|
1030
|
+
references?: Array<Kling4Flash.Reference>;
|
|
1031
|
+
referenceVideos?: Array<Kling4Flash.ReferenceVideo>;
|
|
1032
|
+
}
|
|
1033
|
+
namespace Kling4Flash {
|
|
1034
|
+
interface Reference {
|
|
1035
|
+
/**
|
|
1036
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1037
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
1038
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
1039
|
+
*/
|
|
1040
|
+
uri: string;
|
|
1041
|
+
}
|
|
1042
|
+
interface ReferenceVideo {
|
|
1043
|
+
/**
|
|
1044
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
1045
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
1046
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
1047
|
+
*/
|
|
1048
|
+
uri: string;
|
|
1049
|
+
}
|
|
1050
|
+
}
|
|
915
1051
|
}
|
|
916
1052
|
export declare namespace VideoToVideo {
|
|
917
1053
|
export { type VideoToVideoCreateResponse as VideoToVideoCreateResponse, type VideoToVideoCreateParams as VideoToVideoCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video-to-video.d.ts","sourceRoot":"","sources":["../src/resources/video-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;I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G;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED;;;WAGG;QACH,UAAiB,cAAc;YAC7B,IAAI,EAAE,OAAO,CAAC;YAEd;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"video-to-video.d.ts","sourceRoot":"","sources":["../src/resources/video-to-video.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,0BAA0B,CAAC;CAK3D;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,aAAa,EAAE,0BAA0B,CAAC,aAAa,CAAC;CACzD;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;;OAGG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;KACjB;CACF;AAED,MAAM,MAAM,wBAAwB,GAChC,wBAAwB,CAAC,QAAQ,GACjC,wBAAwB,CAAC,UAAU,GACnC,wBAAwB,CAAC,OAAO,GAChC,wBAAwB,CAAC,UAAU,GACnC,wBAAwB,CAAC,eAAe,GACxC,wBAAwB,CAAC,SAAS,GAClC,wBAAwB,CAAC,aAAa,GACtC,wBAAwB,CAAC,aAAa,GACtC,wBAAwB,CAAC,eAAe,GACxC,wBAAwB,CAAC,kBAAkB,GAC3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AAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,UAAU,CAAC;QAEhG,UAAU,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAE1C,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;KACrD;IAED,UAAiB,WAAW,CAAC;QAC3B,UAAiB,SAAS;YACxB;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;QAED,UAAiB,cAAc;YAC7B;;;;eAIG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -8,8 +8,9 @@ import { APIPromiseWithAwaitableTask, wrapAsWaitableResource } from '../../lib/p
|
|
|
8
8
|
export class Audio extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Start an audio generation task using a saved Model Router config instead of
|
|
11
|
-
* naming a model. Set input.type to speech to speak promptText verbatim,
|
|
12
|
-
*
|
|
11
|
+
* naming a model. Set input.type to speech to speak promptText verbatim, audio to
|
|
12
|
+
* generate audio described by promptText, or music to generate a song or
|
|
13
|
+
* instrumental track described by promptText.
|
|
13
14
|
*/
|
|
14
15
|
create(
|
|
15
16
|
body: AudioCreateParams,
|
|
@@ -119,12 +120,12 @@ export namespace AudioCreateResponse {
|
|
|
119
120
|
/**
|
|
120
121
|
* The prompt mode the router routed for.
|
|
121
122
|
*/
|
|
122
|
-
type: 'speech' | 'audio';
|
|
123
|
+
type: 'speech' | 'audio' | 'music';
|
|
123
124
|
|
|
124
125
|
/**
|
|
125
126
|
* How the selected model resolves the voice: the requested preset or
|
|
126
127
|
* reference-audio clone, the model default for voiceless speech, or none for
|
|
127
|
-
* general audio.
|
|
128
|
+
* general audio and music.
|
|
128
129
|
*/
|
|
129
130
|
voice: 'preset' | 'reference-audio' | 'default' | 'none';
|
|
130
131
|
}
|
|
@@ -186,21 +187,22 @@ export namespace AudioCreateParams {
|
|
|
186
187
|
*/
|
|
187
188
|
export interface Input {
|
|
188
189
|
/**
|
|
189
|
-
* For `speech`, the words to speak. For `audio`, a description of the
|
|
190
|
-
* output.
|
|
190
|
+
* For `speech`, the words to speak. For `audio` and `music`, a description of the
|
|
191
|
+
* desired output.
|
|
191
192
|
*/
|
|
192
193
|
promptText: string;
|
|
193
194
|
|
|
194
195
|
/**
|
|
195
196
|
* How promptText is interpreted: `speech` speaks it verbatim as a script; `audio`
|
|
196
197
|
* treats it as a description of the desired audio, which may combine speech,
|
|
197
|
-
* music, ambience, and sound effects
|
|
198
|
+
* music, ambience, and sound effects; `music` treats it as a description of a song
|
|
199
|
+
* or instrumental track.
|
|
198
200
|
*/
|
|
199
|
-
type: 'speech' | 'audio';
|
|
201
|
+
type: 'speech' | 'audio' | 'music';
|
|
200
202
|
|
|
201
203
|
/**
|
|
202
|
-
* Desired output duration in seconds for `audio
|
|
203
|
-
* honor an explicit duration are excluded.
|
|
204
|
+
* Desired output duration in seconds: 0.5–30 for `audio`, or whole seconds from 3
|
|
205
|
+
* to 600 for `music`. Models that cannot honor an explicit duration are excluded.
|
|
204
206
|
*/
|
|
205
207
|
duration?: number;
|
|
206
208
|
|
|
@@ -80,7 +80,10 @@ export type ImageToVideoCreateParams =
|
|
|
80
80
|
| ImageToVideoCreateParams.Wan3Prime
|
|
81
81
|
| ImageToVideoCreateParams.H3Max
|
|
82
82
|
| ImageToVideoCreateParams.Seedance2_5
|
|
83
|
-
| ImageToVideoCreateParams.GrokImagine1_5Lite
|
|
83
|
+
| ImageToVideoCreateParams.GrokImagine1_5Lite
|
|
84
|
+
| ImageToVideoCreateParams.Kling4
|
|
85
|
+
| ImageToVideoCreateParams.GeminiOmniFlash1_2
|
|
86
|
+
| ImageToVideoCreateParams.Kling4Flash;
|
|
84
87
|
|
|
85
88
|
export declare namespace ImageToVideoCreateParams {
|
|
86
89
|
export interface Gen4_5 {
|
|
@@ -1164,6 +1167,12 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1164
1167
|
*/
|
|
1165
1168
|
audio?: boolean;
|
|
1166
1169
|
|
|
1170
|
+
/**
|
|
1171
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
1172
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
1173
|
+
*/
|
|
1174
|
+
bitrate?: 'standard' | 'high';
|
|
1175
|
+
|
|
1167
1176
|
/**
|
|
1168
1177
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
1169
1178
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -1172,7 +1181,7 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1172
1181
|
duration?: number | 'auto';
|
|
1173
1182
|
|
|
1174
1183
|
/**
|
|
1175
|
-
* An optional text prompt up to
|
|
1184
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
1176
1185
|
* the output.
|
|
1177
1186
|
*/
|
|
1178
1187
|
promptText?: string;
|
|
@@ -1266,6 +1275,12 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1266
1275
|
*/
|
|
1267
1276
|
audio?: boolean;
|
|
1268
1277
|
|
|
1278
|
+
/**
|
|
1279
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
1280
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
1281
|
+
*/
|
|
1282
|
+
bitrate?: 'standard' | 'high';
|
|
1283
|
+
|
|
1269
1284
|
/**
|
|
1270
1285
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
1271
1286
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -1274,7 +1289,7 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1274
1289
|
duration?: number | 'auto';
|
|
1275
1290
|
|
|
1276
1291
|
/**
|
|
1277
|
-
* An optional text prompt up to
|
|
1292
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
1278
1293
|
* the output.
|
|
1279
1294
|
*/
|
|
1280
1295
|
promptText?: string;
|
|
@@ -1357,6 +1372,12 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1357
1372
|
*/
|
|
1358
1373
|
audio?: boolean;
|
|
1359
1374
|
|
|
1375
|
+
/**
|
|
1376
|
+
* Bitrate of the output video. `high` keeps more detail with fewer compression
|
|
1377
|
+
* artifacts, at a larger file size. Defaults to `standard`.
|
|
1378
|
+
*/
|
|
1379
|
+
bitrate?: 'standard' | 'high';
|
|
1380
|
+
|
|
1360
1381
|
/**
|
|
1361
1382
|
* Seconds of video to generate, or `auto` to let the model choose. `auto` is
|
|
1362
1383
|
* billed at the variant maximum up front; unused credits are refunded after the
|
|
@@ -1365,7 +1386,7 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1365
1386
|
duration?: number | 'auto';
|
|
1366
1387
|
|
|
1367
1388
|
/**
|
|
1368
|
-
* An optional text prompt up to
|
|
1389
|
+
* An optional text prompt up to 10000 characters describing what should appear in
|
|
1369
1390
|
* the output.
|
|
1370
1391
|
*/
|
|
1371
1392
|
promptText?: string;
|
|
@@ -1975,6 +1996,163 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
1975
1996
|
uri: string;
|
|
1976
1997
|
}
|
|
1977
1998
|
}
|
|
1999
|
+
|
|
2000
|
+
export interface Kling4 {
|
|
2001
|
+
model: 'kling_4';
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* The first frame of the video, or an array with a first frame and optional middle
|
|
2005
|
+
* and last frames. The video follows the first frame’s aspect ratio.
|
|
2006
|
+
*/
|
|
2007
|
+
promptImage: string | Array<unknown>;
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* The duration of the output video in seconds.
|
|
2011
|
+
*/
|
|
2012
|
+
duration?: number;
|
|
2013
|
+
|
|
2014
|
+
/**
|
|
2015
|
+
* A text prompt describing what should happen in the video.
|
|
2016
|
+
*/
|
|
2017
|
+
promptText?: string;
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Output quality tier. The video keeps the input media framing.
|
|
2021
|
+
*/
|
|
2022
|
+
ratio?: 'auto_720p' | 'auto_1080p';
|
|
2023
|
+
|
|
2024
|
+
/**
|
|
2025
|
+
* Images of characters, objects or styles to use in the video. Up to 10 images in
|
|
2026
|
+
* total, frames included.
|
|
2027
|
+
*/
|
|
2028
|
+
references?: Array<Kling4.Reference>;
|
|
2029
|
+
|
|
2030
|
+
/**
|
|
2031
|
+
* Up to 5 videos whose style, motion or camera work should guide the output,
|
|
2032
|
+
* together at most 30 seconds long.
|
|
2033
|
+
*/
|
|
2034
|
+
referenceVideos?: Array<unknown>;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
export namespace Kling4 {
|
|
2038
|
+
export interface Reference {
|
|
2039
|
+
/**
|
|
2040
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2041
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
2042
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
2043
|
+
*/
|
|
2044
|
+
uri: string;
|
|
2045
|
+
}
|
|
2046
|
+
}
|
|
2047
|
+
|
|
2048
|
+
export interface GeminiOmniFlash1_2 {
|
|
2049
|
+
model: 'gemini_omni_flash_1.2';
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* An image to use as the first frame, or an array containing a first frame and
|
|
2053
|
+
* optional last frame.
|
|
2054
|
+
*/
|
|
2055
|
+
promptImage: string | Array<GeminiOmniFlash1_2.PromptImage>;
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* A non-empty text prompt describing how the video should evolve between the
|
|
2059
|
+
* provided frames.
|
|
2060
|
+
*/
|
|
2061
|
+
promptText: string;
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* The duration of the output video in seconds. Use "auto" to let the model choose
|
|
2065
|
+
* a duration. Numeric durations must be between 3 and 15 seconds.
|
|
2066
|
+
*/
|
|
2067
|
+
duration?: 'auto' | number;
|
|
2068
|
+
|
|
2069
|
+
/**
|
|
2070
|
+
* The resolution and aspect ratio of the output video.
|
|
2071
|
+
*/
|
|
2072
|
+
ratio?:
|
|
2073
|
+
| '640:360'
|
|
2074
|
+
| '360:640'
|
|
2075
|
+
| '1280:720'
|
|
2076
|
+
| '720:1280'
|
|
2077
|
+
| '1920:1080'
|
|
2078
|
+
| '1080:1920'
|
|
2079
|
+
| '3840:2160'
|
|
2080
|
+
| '2160:3840';
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
export namespace GeminiOmniFlash1_2 {
|
|
2084
|
+
export interface PromptImage {
|
|
2085
|
+
/**
|
|
2086
|
+
* The position of the image in the output video. "first" will use the image as the
|
|
2087
|
+
* first frame of the video, "last" will use the image as the last frame of the
|
|
2088
|
+
* video.
|
|
2089
|
+
*/
|
|
2090
|
+
position: 'first' | 'last';
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2094
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
2095
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
2096
|
+
*/
|
|
2097
|
+
uri: string;
|
|
2098
|
+
}
|
|
2099
|
+
}
|
|
2100
|
+
|
|
2101
|
+
export interface Kling4Flash {
|
|
2102
|
+
model: 'kling_4_flash';
|
|
2103
|
+
|
|
2104
|
+
/**
|
|
2105
|
+
* The first frame of the video. Output framing follows this image.
|
|
2106
|
+
*/
|
|
2107
|
+
promptImage: string | Array<Kling4Flash.UnionMember1>;
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* The duration of the output video in seconds.
|
|
2111
|
+
*/
|
|
2112
|
+
duration?: number;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* A text prompt describing what should happen in the video.
|
|
2116
|
+
*/
|
|
2117
|
+
promptText?: string;
|
|
2118
|
+
|
|
2119
|
+
ratio?: 'auto_720p';
|
|
2120
|
+
|
|
2121
|
+
references?: Array<Kling4Flash.Reference>;
|
|
2122
|
+
|
|
2123
|
+
referenceVideos?: Array<Kling4Flash.ReferenceVideo>;
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
export namespace Kling4Flash {
|
|
2127
|
+
export interface UnionMember1 {
|
|
2128
|
+
position: 'first';
|
|
2129
|
+
|
|
2130
|
+
/**
|
|
2131
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2132
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
2133
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
2134
|
+
*/
|
|
2135
|
+
uri: string;
|
|
2136
|
+
}
|
|
2137
|
+
|
|
2138
|
+
export interface Reference {
|
|
2139
|
+
/**
|
|
2140
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2141
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
2142
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
2143
|
+
*/
|
|
2144
|
+
uri: string;
|
|
2145
|
+
}
|
|
2146
|
+
|
|
2147
|
+
export interface ReferenceVideo {
|
|
2148
|
+
/**
|
|
2149
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
2150
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
2151
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
2152
|
+
*/
|
|
2153
|
+
uri: string;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
1978
2156
|
}
|
|
1979
2157
|
|
|
1980
2158
|
export declare namespace ImageToVideo {
|
|
@@ -115,12 +115,15 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
115
115
|
| 'gen4.5'
|
|
116
116
|
| 'gen3a_turbo'
|
|
117
117
|
| 'gen4_turbo'
|
|
118
|
+
| 'ideogram_vector'
|
|
118
119
|
| 'recraft_v4_1_vector'
|
|
119
120
|
| 'gen4_image'
|
|
120
121
|
| 'gen4_image_turbo'
|
|
121
122
|
| 'gpt_image_2'
|
|
122
123
|
| 'gpt_image_2_5_flare'
|
|
123
124
|
| 'gpt_image_2_5_sunburst'
|
|
125
|
+
| 'gpt_image_2_6_flare'
|
|
126
|
+
| 'gpt_image_2_6_sunburst'
|
|
124
127
|
| 'act_two'
|
|
125
128
|
| 'gen4_aleph'
|
|
126
129
|
| 'veo3'
|
|
@@ -132,10 +135,12 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
132
135
|
| 'gemini_image3.1_flash_lite'
|
|
133
136
|
| 'nano_banana_2.1'
|
|
134
137
|
| 'recraft_v4_1_flash'
|
|
138
|
+
| 'seedream5_pro_layers'
|
|
135
139
|
| 'seedream5_pro'
|
|
136
140
|
| 'seedream5_flash'
|
|
137
141
|
| 'seedream5_lite'
|
|
138
142
|
| 'gemini_omni_flash'
|
|
143
|
+
| 'gemini_omni_flash_1.2'
|
|
139
144
|
| 'gemini_omni_flash_1.1'
|
|
140
145
|
| 'eleven_multilingual_v2'
|
|
141
146
|
| 'seed_audio'
|
|
@@ -143,6 +148,7 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
143
148
|
| 'eleven_v4'
|
|
144
149
|
| 'eleven_text_to_sound_v2'
|
|
145
150
|
| 'mirelo_sfx_2_0'
|
|
151
|
+
| 'eleven_music_v2_5'
|
|
146
152
|
| 'eleven_voice_isolation'
|
|
147
153
|
| 'eleven_voice_dubbing'
|
|
148
154
|
| 'eleven_multilingual_sts_v2'
|
|
@@ -172,6 +178,8 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
172
178
|
| 'ruby'
|
|
173
179
|
| 'enhance_frame_rate'
|
|
174
180
|
| 'kling2.5_turbo_pro'
|
|
181
|
+
| 'kling_4_flash'
|
|
182
|
+
| 'kling_4'
|
|
175
183
|
| 'kling3.0_pro'
|
|
176
184
|
| 'kling3.0_4k'
|
|
177
185
|
| 'kling3.0_standard'
|
|
@@ -231,12 +239,15 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
231
239
|
| 'gen4.5'
|
|
232
240
|
| 'gen3a_turbo'
|
|
233
241
|
| 'gen4_turbo'
|
|
242
|
+
| 'ideogram_vector'
|
|
234
243
|
| 'recraft_v4_1_vector'
|
|
235
244
|
| 'gen4_image'
|
|
236
245
|
| 'gen4_image_turbo'
|
|
237
246
|
| 'gpt_image_2'
|
|
238
247
|
| 'gpt_image_2_5_flare'
|
|
239
248
|
| 'gpt_image_2_5_sunburst'
|
|
249
|
+
| 'gpt_image_2_6_flare'
|
|
250
|
+
| 'gpt_image_2_6_sunburst'
|
|
240
251
|
| 'act_two'
|
|
241
252
|
| 'gen4_aleph'
|
|
242
253
|
| 'veo3'
|
|
@@ -248,10 +259,12 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
248
259
|
| 'gemini_image3.1_flash_lite'
|
|
249
260
|
| 'nano_banana_2.1'
|
|
250
261
|
| 'recraft_v4_1_flash'
|
|
262
|
+
| 'seedream5_pro_layers'
|
|
251
263
|
| 'seedream5_pro'
|
|
252
264
|
| 'seedream5_flash'
|
|
253
265
|
| 'seedream5_lite'
|
|
254
266
|
| 'gemini_omni_flash'
|
|
267
|
+
| 'gemini_omni_flash_1.2'
|
|
255
268
|
| 'gemini_omni_flash_1.1'
|
|
256
269
|
| 'eleven_multilingual_v2'
|
|
257
270
|
| 'seed_audio'
|
|
@@ -259,6 +272,7 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
259
272
|
| 'eleven_v4'
|
|
260
273
|
| 'eleven_text_to_sound_v2'
|
|
261
274
|
| 'mirelo_sfx_2_0'
|
|
275
|
+
| 'eleven_music_v2_5'
|
|
262
276
|
| 'eleven_voice_isolation'
|
|
263
277
|
| 'eleven_voice_dubbing'
|
|
264
278
|
| 'eleven_multilingual_sts_v2'
|
|
@@ -288,6 +302,8 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
288
302
|
| 'ruby'
|
|
289
303
|
| 'enhance_frame_rate'
|
|
290
304
|
| 'kling2.5_turbo_pro'
|
|
305
|
+
| 'kling_4_flash'
|
|
306
|
+
| 'kling_4'
|
|
291
307
|
| 'kling3.0_pro'
|
|
292
308
|
| 'kling3.0_4k'
|
|
293
309
|
| 'kling3.0_standard'
|