@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.
Files changed (154) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/avatar-videos.d.mts +3 -1
  10. package/resources/avatar-videos.d.mts.map +1 -1
  11. package/resources/avatar-videos.d.ts +3 -1
  12. package/resources/avatar-videos.d.ts.map +1 -1
  13. package/resources/avatars.d.mts +6 -2
  14. package/resources/avatars.d.mts.map +1 -1
  15. package/resources/avatars.d.ts +6 -2
  16. package/resources/avatars.d.ts.map +1 -1
  17. package/resources/character-performance.d.mts +10 -4
  18. package/resources/character-performance.d.mts.map +1 -1
  19. package/resources/character-performance.d.ts +10 -4
  20. package/resources/character-performance.d.ts.map +1 -1
  21. package/resources/character-performance.js +1 -1
  22. package/resources/character-performance.mjs +1 -1
  23. package/resources/generate/audio.d.mts +184 -0
  24. package/resources/generate/audio.d.mts.map +1 -0
  25. package/resources/generate/audio.d.ts +184 -0
  26. package/resources/generate/audio.d.ts.map +1 -0
  27. package/resources/generate/audio.js +18 -0
  28. package/resources/generate/audio.js.map +1 -0
  29. package/resources/generate/audio.mjs +14 -0
  30. package/resources/generate/audio.mjs.map +1 -0
  31. package/resources/generate/generate.d.mts +8 -0
  32. package/resources/generate/generate.d.mts.map +1 -1
  33. package/resources/generate/generate.d.ts +8 -0
  34. package/resources/generate/generate.d.ts.map +1 -1
  35. package/resources/generate/generate.js +8 -0
  36. package/resources/generate/generate.js.map +1 -1
  37. package/resources/generate/generate.mjs +8 -0
  38. package/resources/generate/generate.mjs.map +1 -1
  39. package/resources/generate/image.d.mts +173 -0
  40. package/resources/generate/image.d.mts.map +1 -0
  41. package/resources/generate/image.d.ts +173 -0
  42. package/resources/generate/image.d.ts.map +1 -0
  43. package/resources/generate/image.js +17 -0
  44. package/resources/generate/image.js.map +1 -0
  45. package/resources/generate/image.mjs +13 -0
  46. package/resources/generate/image.mjs.map +1 -0
  47. package/resources/generate/index.d.mts +2 -0
  48. package/resources/generate/index.d.mts.map +1 -1
  49. package/resources/generate/index.d.ts +2 -0
  50. package/resources/generate/index.d.ts.map +1 -1
  51. package/resources/generate/index.js +5 -1
  52. package/resources/generate/index.js.map +1 -1
  53. package/resources/generate/index.mjs +2 -0
  54. package/resources/generate/index.mjs.map +1 -1
  55. package/resources/generate/video.d.mts +17 -7
  56. package/resources/generate/video.d.mts.map +1 -1
  57. package/resources/generate/video.d.ts +17 -7
  58. package/resources/generate/video.d.ts.map +1 -1
  59. package/resources/image-to-video.d.mts +51 -17
  60. package/resources/image-to-video.d.mts.map +1 -1
  61. package/resources/image-to-video.d.ts +51 -17
  62. package/resources/image-to-video.d.ts.map +1 -1
  63. package/resources/image-upscale.d.mts +3 -1
  64. package/resources/image-upscale.d.mts.map +1 -1
  65. package/resources/image-upscale.d.ts +3 -1
  66. package/resources/image-upscale.d.ts.map +1 -1
  67. package/resources/index.d.mts +1 -1
  68. package/resources/index.d.mts.map +1 -1
  69. package/resources/index.d.ts +1 -1
  70. package/resources/index.d.ts.map +1 -1
  71. package/resources/index.js.map +1 -1
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/realtime-sessions.d.mts +25 -25
  74. package/resources/realtime-sessions.d.mts.map +1 -1
  75. package/resources/realtime-sessions.d.ts +25 -25
  76. package/resources/realtime-sessions.d.ts.map +1 -1
  77. package/resources/recipes.d.mts +48 -24
  78. package/resources/recipes.d.mts.map +1 -1
  79. package/resources/recipes.d.ts +48 -24
  80. package/resources/recipes.d.ts.map +1 -1
  81. package/resources/routers.d.mts +49 -49
  82. package/resources/routers.d.ts +49 -49
  83. package/resources/routers.js +1 -1
  84. package/resources/routers.mjs +1 -1
  85. package/resources/speech-to-speech.d.mts +6 -2
  86. package/resources/speech-to-speech.d.mts.map +1 -1
  87. package/resources/speech-to-speech.d.ts +6 -2
  88. package/resources/speech-to-speech.d.ts.map +1 -1
  89. package/resources/text-to-image.d.mts +36 -14
  90. package/resources/text-to-image.d.mts.map +1 -1
  91. package/resources/text-to-image.d.ts +36 -14
  92. package/resources/text-to-image.d.ts.map +1 -1
  93. package/resources/text-to-speech.d.mts +3 -1
  94. package/resources/text-to-speech.d.mts.map +1 -1
  95. package/resources/text-to-speech.d.ts +3 -1
  96. package/resources/text-to-speech.d.ts.map +1 -1
  97. package/resources/text-to-video.d.mts +27 -9
  98. package/resources/text-to-video.d.mts.map +1 -1
  99. package/resources/text-to-video.d.ts +27 -9
  100. package/resources/text-to-video.d.ts.map +1 -1
  101. package/resources/video-to-video.d.mts +51 -17
  102. package/resources/video-to-video.d.mts.map +1 -1
  103. package/resources/video-to-video.d.ts +51 -17
  104. package/resources/video-to-video.d.ts.map +1 -1
  105. package/resources/video-upscale.d.mts +3 -1
  106. package/resources/video-upscale.d.mts.map +1 -1
  107. package/resources/video-upscale.d.ts +3 -1
  108. package/resources/video-upscale.d.ts.map +1 -1
  109. package/resources/voice-dubbing.d.mts +3 -1
  110. package/resources/voice-dubbing.d.mts.map +1 -1
  111. package/resources/voice-dubbing.d.ts +3 -1
  112. package/resources/voice-dubbing.d.ts.map +1 -1
  113. package/resources/voice-isolation.d.mts +3 -1
  114. package/resources/voice-isolation.d.mts.map +1 -1
  115. package/resources/voice-isolation.d.ts +3 -1
  116. package/resources/voice-isolation.d.ts.map +1 -1
  117. package/resources/voices.d.mts +3 -1
  118. package/resources/voices.d.mts.map +1 -1
  119. package/resources/voices.d.ts +3 -1
  120. package/resources/voices.d.ts.map +1 -1
  121. package/resources/workflows.d.mts +9 -3
  122. package/resources/workflows.d.mts.map +1 -1
  123. package/resources/workflows.d.ts +9 -3
  124. package/resources/workflows.d.ts.map +1 -1
  125. package/src/client.ts +2 -0
  126. package/src/resources/avatar-videos.ts +3 -1
  127. package/src/resources/avatars.ts +6 -2
  128. package/src/resources/character-performance.ts +10 -4
  129. package/src/resources/generate/audio.ts +269 -0
  130. package/src/resources/generate/generate.ts +20 -0
  131. package/src/resources/generate/image.ts +208 -0
  132. package/src/resources/generate/index.ts +2 -0
  133. package/src/resources/generate/video.ts +17 -7
  134. package/src/resources/image-to-video.ts +51 -17
  135. package/src/resources/image-upscale.ts +3 -1
  136. package/src/resources/index.ts +1 -0
  137. package/src/resources/realtime-sessions.ts +29 -28
  138. package/src/resources/recipes.ts +48 -24
  139. package/src/resources/routers.ts +49 -49
  140. package/src/resources/speech-to-speech.ts +6 -2
  141. package/src/resources/text-to-image.ts +36 -14
  142. package/src/resources/text-to-speech.ts +3 -1
  143. package/src/resources/text-to-video.ts +27 -9
  144. package/src/resources/video-to-video.ts +51 -17
  145. package/src/resources/video-upscale.ts +3 -1
  146. package/src/resources/voice-dubbing.ts +3 -1
  147. package/src/resources/voice-isolation.ts +3 -1
  148. package/src/resources/voices.ts +3 -1
  149. package/src/resources/workflows.ts +9 -3
  150. package/src/version.ts +1 -1
  151. package/version.d.mts +1 -1
  152. package/version.d.ts +1 -1
  153. package/version.js +1 -1
  154. 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
 
@@ -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.11.0'; // x-release-please-version
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.11.0";
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.11.0";
1
+ export declare const VERSION = "4.13.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.11.0'; // x-release-please-version
4
+ exports.VERSION = '4.13.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.11.0'; // x-release-please-version
1
+ export const VERSION = '4.13.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map