@runwayml/sdk 4.11.0 → 4.13.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 +22 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/avatar-videos.d.mts +3 -1
- package/resources/avatar-videos.d.mts.map +1 -1
- package/resources/avatar-videos.d.ts +3 -1
- package/resources/avatar-videos.d.ts.map +1 -1
- package/resources/avatars.d.mts +6 -2
- package/resources/avatars.d.mts.map +1 -1
- package/resources/avatars.d.ts +6 -2
- package/resources/avatars.d.ts.map +1 -1
- package/resources/character-performance.d.mts +10 -4
- package/resources/character-performance.d.mts.map +1 -1
- package/resources/character-performance.d.ts +10 -4
- package/resources/character-performance.d.ts.map +1 -1
- package/resources/character-performance.js +1 -1
- package/resources/character-performance.mjs +1 -1
- package/resources/generate/audio.d.mts +184 -0
- package/resources/generate/audio.d.mts.map +1 -0
- package/resources/generate/audio.d.ts +184 -0
- package/resources/generate/audio.d.ts.map +1 -0
- package/resources/generate/audio.js +18 -0
- package/resources/generate/audio.js.map +1 -0
- package/resources/generate/audio.mjs +14 -0
- package/resources/generate/audio.mjs.map +1 -0
- package/resources/generate/generate.d.mts +8 -0
- package/resources/generate/generate.d.mts.map +1 -1
- package/resources/generate/generate.d.ts +8 -0
- package/resources/generate/generate.d.ts.map +1 -1
- package/resources/generate/generate.js +8 -0
- package/resources/generate/generate.js.map +1 -1
- package/resources/generate/generate.mjs +8 -0
- package/resources/generate/generate.mjs.map +1 -1
- package/resources/generate/image.d.mts +173 -0
- package/resources/generate/image.d.mts.map +1 -0
- package/resources/generate/image.d.ts +173 -0
- package/resources/generate/image.d.ts.map +1 -0
- package/resources/generate/image.js +17 -0
- package/resources/generate/image.js.map +1 -0
- package/resources/generate/image.mjs +13 -0
- package/resources/generate/image.mjs.map +1 -0
- package/resources/generate/index.d.mts +2 -0
- package/resources/generate/index.d.mts.map +1 -1
- package/resources/generate/index.d.ts +2 -0
- package/resources/generate/index.d.ts.map +1 -1
- package/resources/generate/index.js +5 -1
- package/resources/generate/index.js.map +1 -1
- package/resources/generate/index.mjs +2 -0
- package/resources/generate/index.mjs.map +1 -1
- package/resources/generate/video.d.mts +17 -7
- package/resources/generate/video.d.mts.map +1 -1
- package/resources/generate/video.d.ts +17 -7
- package/resources/generate/video.d.ts.map +1 -1
- package/resources/image-to-video.d.mts +51 -17
- package/resources/image-to-video.d.mts.map +1 -1
- package/resources/image-to-video.d.ts +51 -17
- package/resources/image-to-video.d.ts.map +1 -1
- package/resources/image-upscale.d.mts +3 -1
- package/resources/image-upscale.d.mts.map +1 -1
- package/resources/image-upscale.d.ts +3 -1
- package/resources/image-upscale.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/realtime-sessions.d.mts +25 -25
- package/resources/realtime-sessions.d.mts.map +1 -1
- package/resources/realtime-sessions.d.ts +25 -25
- package/resources/realtime-sessions.d.ts.map +1 -1
- package/resources/recipes.d.mts +48 -24
- package/resources/recipes.d.mts.map +1 -1
- package/resources/recipes.d.ts +48 -24
- package/resources/recipes.d.ts.map +1 -1
- package/resources/routers.d.mts +49 -49
- package/resources/routers.d.ts +49 -49
- package/resources/routers.js +1 -1
- package/resources/routers.mjs +1 -1
- package/resources/speech-to-speech.d.mts +6 -2
- package/resources/speech-to-speech.d.mts.map +1 -1
- package/resources/speech-to-speech.d.ts +6 -2
- package/resources/speech-to-speech.d.ts.map +1 -1
- package/resources/text-to-image.d.mts +36 -14
- package/resources/text-to-image.d.mts.map +1 -1
- package/resources/text-to-image.d.ts +36 -14
- package/resources/text-to-image.d.ts.map +1 -1
- package/resources/text-to-speech.d.mts +3 -1
- package/resources/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech.d.ts +3 -1
- package/resources/text-to-speech.d.ts.map +1 -1
- package/resources/text-to-video.d.mts +27 -9
- package/resources/text-to-video.d.mts.map +1 -1
- package/resources/text-to-video.d.ts +27 -9
- package/resources/text-to-video.d.ts.map +1 -1
- package/resources/video-to-video.d.mts +51 -17
- package/resources/video-to-video.d.mts.map +1 -1
- package/resources/video-to-video.d.ts +51 -17
- package/resources/video-to-video.d.ts.map +1 -1
- package/resources/video-upscale.d.mts +3 -1
- package/resources/video-upscale.d.mts.map +1 -1
- package/resources/video-upscale.d.ts +3 -1
- package/resources/video-upscale.d.ts.map +1 -1
- package/resources/voice-dubbing.d.mts +3 -1
- package/resources/voice-dubbing.d.mts.map +1 -1
- package/resources/voice-dubbing.d.ts +3 -1
- package/resources/voice-dubbing.d.ts.map +1 -1
- package/resources/voice-isolation.d.mts +3 -1
- package/resources/voice-isolation.d.mts.map +1 -1
- package/resources/voice-isolation.d.ts +3 -1
- package/resources/voice-isolation.d.ts.map +1 -1
- package/resources/voices.d.mts +3 -1
- package/resources/voices.d.mts.map +1 -1
- package/resources/voices.d.ts +3 -1
- package/resources/voices.d.ts.map +1 -1
- package/resources/workflows.d.mts +9 -3
- package/resources/workflows.d.mts.map +1 -1
- package/resources/workflows.d.ts +9 -3
- package/resources/workflows.d.ts.map +1 -1
- package/src/client.ts +2 -0
- package/src/resources/avatar-videos.ts +3 -1
- package/src/resources/avatars.ts +6 -2
- package/src/resources/character-performance.ts +10 -4
- package/src/resources/generate/audio.ts +269 -0
- package/src/resources/generate/generate.ts +20 -0
- package/src/resources/generate/image.ts +208 -0
- package/src/resources/generate/index.ts +2 -0
- package/src/resources/generate/video.ts +17 -7
- package/src/resources/image-to-video.ts +51 -17
- package/src/resources/image-upscale.ts +3 -1
- package/src/resources/index.ts +1 -0
- package/src/resources/realtime-sessions.ts +29 -28
- package/src/resources/recipes.ts +48 -24
- package/src/resources/routers.ts +49 -49
- package/src/resources/speech-to-speech.ts +6 -2
- package/src/resources/text-to-image.ts +36 -14
- package/src/resources/text-to-speech.ts +3 -1
- package/src/resources/text-to-video.ts +27 -9
- package/src/resources/video-to-video.ts +51 -17
- package/src/resources/video-upscale.ts +3 -1
- package/src/resources/voice-dubbing.ts +3 -1
- package/src/resources/voice-isolation.ts +3 -1
- package/src/resources/voices.ts +3 -1
- package/src/resources/workflows.ts +9 -3
- 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
|
@@ -48,7 +48,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
48
48
|
model: 'aleph2';
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* A HTTPS URL.
|
|
51
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
52
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
53
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
52
54
|
*/
|
|
53
55
|
videoUri: string;
|
|
54
56
|
|
|
@@ -107,7 +109,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
107
109
|
seconds: number;
|
|
108
110
|
|
|
109
111
|
/**
|
|
110
|
-
* A HTTPS URL.
|
|
112
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
113
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
114
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
111
115
|
*/
|
|
112
116
|
uri: string;
|
|
113
117
|
|
|
@@ -147,7 +151,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
147
151
|
at: number;
|
|
148
152
|
|
|
149
153
|
/**
|
|
150
|
-
* A HTTPS URL.
|
|
154
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
155
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
156
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
151
157
|
*/
|
|
152
158
|
uri: string;
|
|
153
159
|
|
|
@@ -184,7 +190,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
184
190
|
model: 'seedance2';
|
|
185
191
|
|
|
186
192
|
/**
|
|
187
|
-
* A HTTPS URL.
|
|
193
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
194
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
195
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
188
196
|
*/
|
|
189
197
|
promptVideo: string;
|
|
190
198
|
|
|
@@ -262,14 +270,18 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
262
270
|
type: 'audio';
|
|
263
271
|
|
|
264
272
|
/**
|
|
265
|
-
* A HTTPS URL.
|
|
273
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
274
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
275
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
266
276
|
*/
|
|
267
277
|
uri: string;
|
|
268
278
|
}
|
|
269
279
|
|
|
270
280
|
export interface Reference {
|
|
271
281
|
/**
|
|
272
|
-
* A HTTPS URL.
|
|
282
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
283
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
284
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
273
285
|
*/
|
|
274
286
|
uri: string;
|
|
275
287
|
}
|
|
@@ -282,7 +294,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
282
294
|
type: 'video';
|
|
283
295
|
|
|
284
296
|
/**
|
|
285
|
-
* A HTTPS URL.
|
|
297
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
298
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
299
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
286
300
|
*/
|
|
287
301
|
uri: string;
|
|
288
302
|
}
|
|
@@ -292,7 +306,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
292
306
|
model: 'seedance2_fast';
|
|
293
307
|
|
|
294
308
|
/**
|
|
295
|
-
* A HTTPS URL.
|
|
309
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
310
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
311
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
296
312
|
*/
|
|
297
313
|
promptVideo: string;
|
|
298
314
|
|
|
@@ -359,14 +375,18 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
359
375
|
type: 'audio';
|
|
360
376
|
|
|
361
377
|
/**
|
|
362
|
-
* A HTTPS URL.
|
|
378
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
379
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
380
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
363
381
|
*/
|
|
364
382
|
uri: string;
|
|
365
383
|
}
|
|
366
384
|
|
|
367
385
|
export interface Reference {
|
|
368
386
|
/**
|
|
369
|
-
* A HTTPS URL.
|
|
387
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
388
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
389
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
370
390
|
*/
|
|
371
391
|
uri: string;
|
|
372
392
|
}
|
|
@@ -379,7 +399,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
379
399
|
type: 'video';
|
|
380
400
|
|
|
381
401
|
/**
|
|
382
|
-
* A HTTPS URL.
|
|
402
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
403
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
404
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
383
405
|
*/
|
|
384
406
|
uri: string;
|
|
385
407
|
}
|
|
@@ -389,7 +411,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
389
411
|
model: 'seedance2_mini';
|
|
390
412
|
|
|
391
413
|
/**
|
|
392
|
-
* A HTTPS URL.
|
|
414
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
415
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
416
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
393
417
|
*/
|
|
394
418
|
promptVideo: string;
|
|
395
419
|
|
|
@@ -456,14 +480,18 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
456
480
|
type: 'audio';
|
|
457
481
|
|
|
458
482
|
/**
|
|
459
|
-
* A HTTPS URL.
|
|
483
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
484
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
485
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
460
486
|
*/
|
|
461
487
|
uri: string;
|
|
462
488
|
}
|
|
463
489
|
|
|
464
490
|
export interface Reference {
|
|
465
491
|
/**
|
|
466
|
-
* A HTTPS URL.
|
|
492
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
493
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
494
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
467
495
|
*/
|
|
468
496
|
uri: string;
|
|
469
497
|
}
|
|
@@ -476,7 +504,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
476
504
|
type: 'video';
|
|
477
505
|
|
|
478
506
|
/**
|
|
479
|
-
* A HTTPS URL.
|
|
507
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
508
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
509
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
480
510
|
*/
|
|
481
511
|
uri: string;
|
|
482
512
|
}
|
|
@@ -491,7 +521,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
491
521
|
promptText: string;
|
|
492
522
|
|
|
493
523
|
/**
|
|
494
|
-
* A HTTPS URL.
|
|
524
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
525
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
526
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
495
527
|
*/
|
|
496
528
|
videoUri: string;
|
|
497
529
|
|
|
@@ -504,7 +536,9 @@ export declare namespace VideoToVideoCreateParams {
|
|
|
504
536
|
export namespace GeminiOmniFlash {
|
|
505
537
|
export interface Reference {
|
|
506
538
|
/**
|
|
507
|
-
* A HTTPS URL.
|
|
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.
|
|
508
542
|
*/
|
|
509
543
|
uri: string;
|
|
510
544
|
}
|
|
@@ -38,7 +38,9 @@ export interface VideoUpscaleCreateParams {
|
|
|
38
38
|
model: 'magnific_video_upscaler_creative';
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* A HTTPS URL.
|
|
41
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
42
|
+
* `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
|
|
43
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
42
44
|
*/
|
|
43
45
|
videoUri: string;
|
|
44
46
|
|
|
@@ -39,7 +39,9 @@ export interface VoiceDubbingCreateResponse {
|
|
|
39
39
|
|
|
40
40
|
export interface VoiceDubbingCreateParams {
|
|
41
41
|
/**
|
|
42
|
-
* A HTTPS URL.
|
|
42
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
43
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
44
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
43
45
|
*/
|
|
44
46
|
audioUri: string;
|
|
45
47
|
|
|
@@ -40,7 +40,9 @@ export interface VoiceIsolationCreateResponse {
|
|
|
40
40
|
|
|
41
41
|
export interface VoiceIsolationCreateParams {
|
|
42
42
|
/**
|
|
43
|
-
* A HTTPS URL.
|
|
43
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
44
|
+
* `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
|
|
45
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
44
46
|
*/
|
|
45
47
|
audioUri: string;
|
|
46
48
|
|
package/src/resources/voices.ts
CHANGED
|
@@ -411,7 +411,9 @@ export interface VoiceCreateParams {
|
|
|
411
411
|
export namespace VoiceCreateParams {
|
|
412
412
|
export interface Audio {
|
|
413
413
|
/**
|
|
414
|
-
* A HTTPS URL.
|
|
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
|
|
416
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
415
417
|
*/
|
|
416
418
|
audio: string;
|
|
417
419
|
|
|
@@ -182,7 +182,9 @@ export namespace WorkflowRunParams {
|
|
|
182
182
|
type: 'image';
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
|
-
* A HTTPS URL.
|
|
185
|
+
* A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
|
|
186
|
+
* `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
|
|
187
|
+
* [our docs](/assets/inputs#images) on image inputs for more information.
|
|
186
188
|
*/
|
|
187
189
|
uri: string;
|
|
188
190
|
}
|
|
@@ -194,7 +196,9 @@ export namespace WorkflowRunParams {
|
|
|
194
196
|
type: 'video';
|
|
195
197
|
|
|
196
198
|
/**
|
|
197
|
-
* A HTTPS URL.
|
|
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
|
|
201
|
+
* [our docs](/assets/inputs#videos) on video inputs for more information.
|
|
198
202
|
*/
|
|
199
203
|
uri: string;
|
|
200
204
|
}
|
|
@@ -206,7 +210,9 @@ export namespace WorkflowRunParams {
|
|
|
206
210
|
type: 'audio';
|
|
207
211
|
|
|
208
212
|
/**
|
|
209
|
-
* A HTTPS URL.
|
|
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
|
|
215
|
+
* [our docs](/assets/inputs#audio) on audio inputs for more information.
|
|
210
216
|
*/
|
|
211
217
|
uri: string;
|
|
212
218
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '4.
|
|
1
|
+
export const VERSION = '4.13.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.13.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.13.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.13.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|