@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.
- package/CHANGELOG.md +24 -0
- package/package.json +1 -1
- package/resources/avatar-videos.d.mts +1 -1
- package/resources/avatar-videos.d.ts +1 -1
- package/resources/character-performance.d.mts +2 -2
- package/resources/character-performance.d.ts +2 -2
- package/resources/generate/audio.d.mts +2 -2
- package/resources/generate/audio.d.ts +2 -2
- package/resources/generate/video.d.mts +2 -2
- package/resources/generate/video.d.ts +2 -2
- package/resources/image-to-video.d.mts +65 -1
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +65 -1
- 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/recipes.d.mts +1 -1
- package/resources/recipes.d.ts +1 -1
- package/resources/speech-to-speech.d.mts +2 -2
- package/resources/speech-to-speech.d.ts +2 -2
- package/resources/text-to-image.d.mts +33 -1
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +33 -1
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +73 -1
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +73 -1
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-hdr.d.mts +1 -1
- package/resources/video-to-hdr.d.ts +1 -1
- package/resources/video-to-video.d.mts +17 -17
- package/resources/video-to-video.d.ts +17 -17
- package/resources/video-upscale.d.mts +1 -1
- package/resources/video-upscale.d.ts +1 -1
- package/resources/voice-dubbing.d.mts +1 -1
- package/resources/voice-dubbing.d.ts +1 -1
- package/resources/voice-isolation.d.mts +1 -1
- package/resources/voice-isolation.d.ts +1 -1
- package/resources/voices.d.mts +1 -1
- package/resources/voices.d.ts +1 -1
- package/resources/workflows.d.mts +2 -2
- package/resources/workflows.d.ts +2 -2
- package/src/resources/avatar-videos.ts +1 -1
- package/src/resources/character-performance.ts +2 -2
- package/src/resources/generate/audio.ts +2 -2
- package/src/resources/generate/video.ts +2 -2
- package/src/resources/image-to-video.ts +96 -1
- package/src/resources/organization/organization.ts +4 -0
- package/src/resources/recipes.ts +1 -1
- package/src/resources/speech-to-speech.ts +2 -2
- package/src/resources/text-to-image.ts +48 -0
- package/src/resources/text-to-video.ts +105 -1
- package/src/resources/video-to-hdr.ts +1 -1
- package/src/resources/video-to-video.ts +17 -17
- package/src/resources/video-upscale.ts +1 -1
- package/src/resources/voice-dubbing.ts +1 -1
- package/src/resources/voice-isolation.ts +1 -1
- package/src/resources/voices.ts +1 -1
- package/src/resources/workflows.ts +2 -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
|
@@ -47,7 +47,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
47
47
|
model: 'aleph2';
|
|
48
48
|
/**
|
|
49
49
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
50
|
-
* `data:video/mp4;base64,...`, up to
|
|
50
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
51
51
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
52
52
|
*/
|
|
53
53
|
videoUri: string;
|
|
@@ -188,7 +188,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
188
188
|
promptText: string;
|
|
189
189
|
/**
|
|
190
190
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
191
|
-
* `data:video/mp4;base64,...`, up to
|
|
191
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
192
192
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
193
193
|
*/
|
|
194
194
|
promptVideo: string;
|
|
@@ -231,7 +231,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
231
231
|
type: 'audio';
|
|
232
232
|
/**
|
|
233
233
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
234
|
-
* `data:audio/mp3;base64,...`, up to
|
|
234
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
235
235
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
236
236
|
*/
|
|
237
237
|
uri: string;
|
|
@@ -252,7 +252,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
252
252
|
type: 'video';
|
|
253
253
|
/**
|
|
254
254
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
255
|
-
* `data:video/mp4;base64,...`, up to
|
|
255
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
256
256
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
257
257
|
*/
|
|
258
258
|
uri: string;
|
|
@@ -262,7 +262,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
262
262
|
model: 'seedance2';
|
|
263
263
|
/**
|
|
264
264
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
265
|
-
* `data:video/mp4;base64,...`, up to
|
|
265
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
266
266
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
267
267
|
*/
|
|
268
268
|
promptVideo: string;
|
|
@@ -309,7 +309,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
309
309
|
type: 'audio';
|
|
310
310
|
/**
|
|
311
311
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
312
|
-
* `data:audio/mp3;base64,...`, up to
|
|
312
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
313
313
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
314
314
|
*/
|
|
315
315
|
uri: string;
|
|
@@ -330,7 +330,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
330
330
|
type: 'video';
|
|
331
331
|
/**
|
|
332
332
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
333
|
-
* `data:video/mp4;base64,...`, up to
|
|
333
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
334
334
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
335
335
|
*/
|
|
336
336
|
uri: string;
|
|
@@ -340,7 +340,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
340
340
|
model: 'seedance2_fast';
|
|
341
341
|
/**
|
|
342
342
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
343
|
-
* `data:video/mp4;base64,...`, up to
|
|
343
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
344
344
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
345
345
|
*/
|
|
346
346
|
promptVideo: string;
|
|
@@ -388,7 +388,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
388
388
|
type: 'audio';
|
|
389
389
|
/**
|
|
390
390
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
391
|
-
* `data:audio/mp3;base64,...`, up to
|
|
391
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
392
392
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
393
393
|
*/
|
|
394
394
|
uri: string;
|
|
@@ -409,7 +409,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
409
409
|
type: 'video';
|
|
410
410
|
/**
|
|
411
411
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
412
|
-
* `data:video/mp4;base64,...`, up to
|
|
412
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
413
413
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
414
414
|
*/
|
|
415
415
|
uri: string;
|
|
@@ -419,7 +419,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
419
419
|
model: 'seedance2_mini';
|
|
420
420
|
/**
|
|
421
421
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
422
|
-
* `data:video/mp4;base64,...`, up to
|
|
422
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
423
423
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
424
424
|
*/
|
|
425
425
|
promptVideo: string;
|
|
@@ -467,7 +467,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
467
467
|
type: 'audio';
|
|
468
468
|
/**
|
|
469
469
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
470
|
-
* `data:audio/mp3;base64,...`, up to
|
|
470
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
471
471
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
472
472
|
*/
|
|
473
473
|
uri: string;
|
|
@@ -488,7 +488,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
488
488
|
type: 'video';
|
|
489
489
|
/**
|
|
490
490
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
491
|
-
* `data:video/mp4;base64,...`, up to
|
|
491
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
492
492
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
493
493
|
*/
|
|
494
494
|
uri: string;
|
|
@@ -502,7 +502,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
502
502
|
promptText: string;
|
|
503
503
|
/**
|
|
504
504
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
505
|
-
* `data:video/mp4;base64,...`, up to
|
|
505
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
506
506
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
507
507
|
*/
|
|
508
508
|
videoUri: string;
|
|
@@ -525,7 +525,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
525
525
|
model: 'seedance2_5';
|
|
526
526
|
/**
|
|
527
527
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
528
|
-
* `data:video/mp4;base64,...`, up to
|
|
528
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
529
529
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
530
530
|
*/
|
|
531
531
|
promptVideo: string;
|
|
@@ -579,7 +579,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
579
579
|
type: 'audio';
|
|
580
580
|
/**
|
|
581
581
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
582
|
-
* `data:audio/mp3;base64,...`, up to
|
|
582
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
583
583
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
584
584
|
*/
|
|
585
585
|
uri: string;
|
|
@@ -600,7 +600,7 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
600
600
|
type: 'video';
|
|
601
601
|
/**
|
|
602
602
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
603
|
-
* `data:video/mp4;base64,...`, up to
|
|
603
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
604
604
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
605
605
|
*/
|
|
606
606
|
uri: string;
|
|
@@ -43,7 +43,7 @@ export interface VideoUpscaleCreateParams {
|
|
|
43
43
|
model: 'magnific_video_upscaler_creative';
|
|
44
44
|
/**
|
|
45
45
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
46
|
-
* `data:video/mp4;base64,...`, up to
|
|
46
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
47
47
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
48
48
|
*/
|
|
49
49
|
videoUri: string;
|
|
@@ -43,7 +43,7 @@ export interface VideoUpscaleCreateParams {
|
|
|
43
43
|
model: 'magnific_video_upscaler_creative';
|
|
44
44
|
/**
|
|
45
45
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
46
|
-
* `data:video/mp4;base64,...`, up to
|
|
46
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
47
47
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
48
48
|
*/
|
|
49
49
|
videoUri: string;
|
|
@@ -45,7 +45,7 @@ export declare namespace VoiceDubbingCreateResponse {
|
|
|
45
45
|
export interface VoiceDubbingCreateParams {
|
|
46
46
|
/**
|
|
47
47
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
48
|
-
* `data:audio/mp3;base64,...`, up to
|
|
48
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
49
49
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
50
50
|
*/
|
|
51
51
|
audioUri: string;
|
|
@@ -45,7 +45,7 @@ export declare namespace VoiceDubbingCreateResponse {
|
|
|
45
45
|
export interface VoiceDubbingCreateParams {
|
|
46
46
|
/**
|
|
47
47
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
48
|
-
* `data:audio/mp3;base64,...`, up to
|
|
48
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
49
49
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
50
50
|
*/
|
|
51
51
|
audioUri: string;
|
|
@@ -46,7 +46,7 @@ export declare namespace VoiceIsolationCreateResponse {
|
|
|
46
46
|
export interface VoiceIsolationCreateParams {
|
|
47
47
|
/**
|
|
48
48
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
49
|
-
* `data:audio/mp3;base64,...`, up to
|
|
49
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
50
50
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
51
51
|
*/
|
|
52
52
|
audioUri: string;
|
|
@@ -46,7 +46,7 @@ export declare namespace VoiceIsolationCreateResponse {
|
|
|
46
46
|
export interface VoiceIsolationCreateParams {
|
|
47
47
|
/**
|
|
48
48
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
49
|
-
* `data:audio/mp3;base64,...`, up to
|
|
49
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
50
50
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
51
51
|
*/
|
|
52
52
|
audioUri: string;
|
package/resources/voices.d.mts
CHANGED
|
@@ -309,7 +309,7 @@ export declare namespace VoiceCreateParams {
|
|
|
309
309
|
interface Audio {
|
|
310
310
|
/**
|
|
311
311
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
312
|
-
* `data:audio/mp3;base64,...`, up to
|
|
312
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
313
313
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
314
314
|
*/
|
|
315
315
|
audio: string;
|
package/resources/voices.d.ts
CHANGED
|
@@ -309,7 +309,7 @@ export declare namespace VoiceCreateParams {
|
|
|
309
309
|
interface Audio {
|
|
310
310
|
/**
|
|
311
311
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
312
|
-
* `data:audio/mp3;base64,...`, up to
|
|
312
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
313
313
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
314
314
|
*/
|
|
315
315
|
audio: string;
|
|
@@ -153,7 +153,7 @@ export declare namespace WorkflowRunParams {
|
|
|
153
153
|
type: 'video';
|
|
154
154
|
/**
|
|
155
155
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
156
|
-
* `data:video/mp4;base64,...`, up to
|
|
156
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
157
157
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
158
158
|
*/
|
|
159
159
|
uri: string;
|
|
@@ -165,7 +165,7 @@ export declare namespace WorkflowRunParams {
|
|
|
165
165
|
type: 'audio';
|
|
166
166
|
/**
|
|
167
167
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
168
|
-
* `data:audio/mp3;base64,...`, up to
|
|
168
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
169
169
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
170
170
|
*/
|
|
171
171
|
uri: string;
|
package/resources/workflows.d.ts
CHANGED
|
@@ -153,7 +153,7 @@ export declare namespace WorkflowRunParams {
|
|
|
153
153
|
type: 'video';
|
|
154
154
|
/**
|
|
155
155
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
156
|
-
* `data:video/mp4;base64,...`, up to
|
|
156
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
157
157
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
158
158
|
*/
|
|
159
159
|
uri: string;
|
|
@@ -165,7 +165,7 @@ export declare namespace WorkflowRunParams {
|
|
|
165
165
|
type: 'audio';
|
|
166
166
|
/**
|
|
167
167
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
168
|
-
* `data:audio/mp3;base64,...`, up to
|
|
168
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
169
169
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
170
170
|
*/
|
|
171
171
|
uri: string;
|
|
@@ -87,7 +87,7 @@ export namespace AvatarVideoCreateParams {
|
|
|
87
87
|
export interface Audio {
|
|
88
88
|
/**
|
|
89
89
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
90
|
-
* `data:audio/mp3;base64,...`, up to
|
|
90
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
91
91
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
92
92
|
*/
|
|
93
93
|
audio: string;
|
|
@@ -136,7 +136,7 @@ export namespace CharacterPerformanceCreateParams {
|
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
138
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
139
|
-
* `data:video/mp4;base64,...`, up to
|
|
139
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
140
140
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
141
141
|
*/
|
|
142
142
|
uri: string;
|
|
@@ -151,7 +151,7 @@ export namespace CharacterPerformanceCreateParams {
|
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
154
|
-
* `data:video/mp4;base64,...`, up to
|
|
154
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
155
155
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
156
156
|
*/
|
|
157
157
|
uri: string;
|
|
@@ -28,7 +28,7 @@ export class Audio extends APIResource {
|
|
|
28
28
|
export interface ReferenceVoice {
|
|
29
29
|
/**
|
|
30
30
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
31
|
-
* `data:audio/mp3;base64,...`, up to
|
|
31
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
32
32
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
33
33
|
*/
|
|
34
34
|
audioUri: string;
|
|
@@ -39,7 +39,7 @@ export interface ReferenceVoice {
|
|
|
39
39
|
export interface ReferenceAudio {
|
|
40
40
|
/**
|
|
41
41
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
42
|
-
* `data:audio/mp3;base64,...`, up to
|
|
42
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
43
43
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
44
44
|
*/
|
|
45
45
|
uri: string;
|
|
@@ -291,7 +291,7 @@ export namespace VideoCreateParams {
|
|
|
291
291
|
export interface ReferenceAudio {
|
|
292
292
|
/**
|
|
293
293
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
294
|
-
* `data:audio/mp3;base64,...`, up to
|
|
294
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
295
295
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
296
296
|
*/
|
|
297
297
|
uri: string;
|
|
@@ -321,7 +321,7 @@ export namespace VideoCreateParams {
|
|
|
321
321
|
|
|
322
322
|
/**
|
|
323
323
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
324
|
-
* `data:video/mp4;base64,...`, up to
|
|
324
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
325
325
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
326
326
|
*/
|
|
327
327
|
uri: string;
|
|
@@ -59,7 +59,8 @@ export type ImageToVideoCreateParams =
|
|
|
59
59
|
| ImageToVideoCreateParams.Seedance2Mini
|
|
60
60
|
| ImageToVideoCreateParams.GeminiOmniFlash
|
|
61
61
|
| ImageToVideoCreateParams.Seedance2_5
|
|
62
|
-
| ImageToVideoCreateParams.GrokImagine1_5
|
|
62
|
+
| ImageToVideoCreateParams.GrokImagine1_5
|
|
63
|
+
| ImageToVideoCreateParams.Wan3;
|
|
63
64
|
|
|
64
65
|
export declare namespace ImageToVideoCreateParams {
|
|
65
66
|
export interface Gen4_5 {
|
|
@@ -877,6 +878,100 @@ export declare namespace ImageToVideoCreateParams {
|
|
|
877
878
|
uri: string;
|
|
878
879
|
}
|
|
879
880
|
}
|
|
881
|
+
|
|
882
|
+
export interface Wan3 {
|
|
883
|
+
model: 'wan3';
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* An image or array of images. Use position `first`/`last` for keyframe mode, or
|
|
887
|
+
* omit position for reference images. The two modes cannot be mixed.
|
|
888
|
+
*/
|
|
889
|
+
promptImage: string | Array<unknown>;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* A non-empty text prompt describing what should appear in the output.
|
|
893
|
+
*/
|
|
894
|
+
promptText: string;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Whether to generate audio with the video.
|
|
898
|
+
*/
|
|
899
|
+
audio?: boolean;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The number of seconds of duration for the output video.
|
|
903
|
+
*/
|
|
904
|
+
duration?: number;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* The resolution of the output video, as `<width>:<height>`. Use `auto_480p`,
|
|
908
|
+
* `auto_720p`, or `auto_1080p` to let the model pick framing at that quality tier.
|
|
909
|
+
*/
|
|
910
|
+
ratio?:
|
|
911
|
+
| '832:480'
|
|
912
|
+
| '640:480'
|
|
913
|
+
| '480:480'
|
|
914
|
+
| '480:640'
|
|
915
|
+
| '480:832'
|
|
916
|
+
| '1280:720'
|
|
917
|
+
| '960:720'
|
|
918
|
+
| '720:720'
|
|
919
|
+
| '720:960'
|
|
920
|
+
| '720:1280'
|
|
921
|
+
| '1920:1080'
|
|
922
|
+
| '1440:1080'
|
|
923
|
+
| '1080:1080'
|
|
924
|
+
| '1080:1440'
|
|
925
|
+
| '1080:1920'
|
|
926
|
+
| 'auto_480p'
|
|
927
|
+
| 'auto_720p'
|
|
928
|
+
| 'auto_1080p';
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* An optional array of audio references. The total combined duration must not
|
|
932
|
+
* exceed 15 seconds.
|
|
933
|
+
*/
|
|
934
|
+
referenceAudio?: Array<Wan3.ReferenceAudio>;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* An optional array of video references. The combined duration across all video
|
|
938
|
+
* references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
|
|
939
|
+
* video inputs for more information.
|
|
940
|
+
*/
|
|
941
|
+
referenceVideos?: Array<Wan3.ReferenceVideo>;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
export namespace Wan3 {
|
|
945
|
+
/**
|
|
946
|
+
* An audio reference allows the model to use the audio as additional context for
|
|
947
|
+
* the output.
|
|
948
|
+
*/
|
|
949
|
+
export interface ReferenceAudio {
|
|
950
|
+
type: 'audio';
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
954
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
955
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
956
|
+
*/
|
|
957
|
+
uri: string;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* A video reference allows the model to use the video as additional context for
|
|
962
|
+
* the output.
|
|
963
|
+
*/
|
|
964
|
+
export interface ReferenceVideo {
|
|
965
|
+
type: 'video';
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
969
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
970
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
971
|
+
*/
|
|
972
|
+
uri: string;
|
|
973
|
+
}
|
|
974
|
+
}
|
|
880
975
|
}
|
|
881
976
|
|
|
882
977
|
export declare namespace ImageToVideo {
|
|
@@ -144,6 +144,8 @@ export interface OrganizationRetrieveUsageResponse {
|
|
|
144
144
|
| 'seedance2_fast'
|
|
145
145
|
| 'seedance2_mini'
|
|
146
146
|
| 'hailuo3'
|
|
147
|
+
| 'wan3'
|
|
148
|
+
| 'muse_image'
|
|
147
149
|
| 'magnific_precision_upscaler_v2'
|
|
148
150
|
| 'magnific_video_upscaler_creative'
|
|
149
151
|
| 'kling2.5_turbo_pro'
|
|
@@ -237,6 +239,8 @@ export namespace OrganizationRetrieveUsageResponse {
|
|
|
237
239
|
| 'seedance2_fast'
|
|
238
240
|
| 'seedance2_mini'
|
|
239
241
|
| 'hailuo3'
|
|
242
|
+
| 'wan3'
|
|
243
|
+
| 'muse_image'
|
|
240
244
|
| 'magnific_precision_upscaler_v2'
|
|
241
245
|
| 'magnific_video_upscaler_creative'
|
|
242
246
|
| 'kling2.5_turbo_pro'
|
package/src/resources/recipes.ts
CHANGED
|
@@ -705,7 +705,7 @@ export namespace RecipeProductSwapParams {
|
|
|
705
705
|
export interface ReferenceVideo {
|
|
706
706
|
/**
|
|
707
707
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
708
|
-
* `data:video/mp4;base64,...`, up to
|
|
708
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
709
709
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
710
710
|
*/
|
|
711
711
|
uri: string;
|
|
@@ -75,7 +75,7 @@ export namespace SpeechToSpeechCreateParams {
|
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
77
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
78
|
-
* `data:audio/mp3;base64,...`, up to
|
|
78
|
+
* `data:audio/mp3;base64,...`, up to 5MB) containing an encoded audio. See
|
|
79
79
|
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
80
80
|
*/
|
|
81
81
|
uri: string;
|
|
@@ -89,7 +89,7 @@ export namespace SpeechToSpeechCreateParams {
|
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
91
|
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
92
|
-
* `data:video/mp4;base64,...`, up to
|
|
92
|
+
* `data:video/mp4;base64,...`, up to 5MB) containing an encoded video. See
|
|
93
93
|
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
94
94
|
*/
|
|
95
95
|
uri: string;
|
|
@@ -53,6 +53,7 @@ export type TextToImageCreateParams =
|
|
|
53
53
|
| TextToImageCreateParams.GptImage2
|
|
54
54
|
| TextToImageCreateParams.GeminiImage3Pro
|
|
55
55
|
| TextToImageCreateParams.GeminiImage3_1Flash
|
|
56
|
+
| TextToImageCreateParams.MuseImage
|
|
56
57
|
| TextToImageCreateParams.Seedream5Pro
|
|
57
58
|
| TextToImageCreateParams.Seedream5Lite
|
|
58
59
|
| TextToImageCreateParams.GrokImagineImage2
|
|
@@ -496,6 +497,53 @@ export declare namespace TextToImageCreateParams {
|
|
|
496
497
|
}
|
|
497
498
|
}
|
|
498
499
|
|
|
500
|
+
export interface MuseImage {
|
|
501
|
+
model: 'muse_image';
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* A non-empty text prompt describing what should appear in the output image.
|
|
505
|
+
*/
|
|
506
|
+
promptText: string;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* The resolution of the output image, expressed as `<width>:<height>`. Use `auto`
|
|
510
|
+
* to let the model choose the framing from the prompt.
|
|
511
|
+
*/
|
|
512
|
+
ratio:
|
|
513
|
+
| '2352:1008'
|
|
514
|
+
| '2016:1152'
|
|
515
|
+
| '1920:1280'
|
|
516
|
+
| '1792:1344'
|
|
517
|
+
| '1600:1600'
|
|
518
|
+
| '1344:1792'
|
|
519
|
+
| '1280:1920'
|
|
520
|
+
| '1152:2016'
|
|
521
|
+
| 'auto';
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* The number of images to generate. Each image costs 1 credit.
|
|
525
|
+
*/
|
|
526
|
+
outputCount?: number;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Up to 10 images to guide the generation. When provided, the model edits and
|
|
530
|
+
* combines them as your prompt describes instead of generating from the prompt
|
|
531
|
+
* alone.
|
|
532
|
+
*/
|
|
533
|
+
referenceImages?: Array<MuseImage.ReferenceImage>;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export namespace MuseImage {
|
|
537
|
+
export interface ReferenceImage {
|
|
538
|
+
/**
|
|
539
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
540
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
541
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
542
|
+
*/
|
|
543
|
+
uri: string;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
|
|
499
547
|
export interface Seedream5Pro {
|
|
500
548
|
model: 'seedream5_pro';
|
|
501
549
|
|