@runwayml/sdk 4.12.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 (128) hide show
  1. package/CHANGELOG.md +8 -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 +7 -3
  24. package/resources/generate/audio.d.mts.map +1 -1
  25. package/resources/generate/audio.d.ts +7 -3
  26. package/resources/generate/audio.d.ts.map +1 -1
  27. package/resources/generate/image.d.mts +5 -3
  28. package/resources/generate/image.d.mts.map +1 -1
  29. package/resources/generate/image.d.ts +5 -3
  30. package/resources/generate/image.d.ts.map +1 -1
  31. package/resources/generate/video.d.mts +17 -7
  32. package/resources/generate/video.d.mts.map +1 -1
  33. package/resources/generate/video.d.ts +17 -7
  34. package/resources/generate/video.d.ts.map +1 -1
  35. package/resources/image-to-video.d.mts +51 -17
  36. package/resources/image-to-video.d.mts.map +1 -1
  37. package/resources/image-to-video.d.ts +51 -17
  38. package/resources/image-to-video.d.ts.map +1 -1
  39. package/resources/image-upscale.d.mts +3 -1
  40. package/resources/image-upscale.d.mts.map +1 -1
  41. package/resources/image-upscale.d.ts +3 -1
  42. package/resources/image-upscale.d.ts.map +1 -1
  43. package/resources/index.d.mts +1 -1
  44. package/resources/index.d.mts.map +1 -1
  45. package/resources/index.d.ts +1 -1
  46. package/resources/index.d.ts.map +1 -1
  47. package/resources/index.js.map +1 -1
  48. package/resources/index.mjs.map +1 -1
  49. package/resources/realtime-sessions.d.mts +25 -25
  50. package/resources/realtime-sessions.d.mts.map +1 -1
  51. package/resources/realtime-sessions.d.ts +25 -25
  52. package/resources/realtime-sessions.d.ts.map +1 -1
  53. package/resources/recipes.d.mts +48 -24
  54. package/resources/recipes.d.mts.map +1 -1
  55. package/resources/recipes.d.ts +48 -24
  56. package/resources/recipes.d.ts.map +1 -1
  57. package/resources/routers.d.mts +25 -25
  58. package/resources/routers.d.ts +25 -25
  59. package/resources/routers.js +1 -1
  60. package/resources/routers.mjs +1 -1
  61. package/resources/speech-to-speech.d.mts +6 -2
  62. package/resources/speech-to-speech.d.mts.map +1 -1
  63. package/resources/speech-to-speech.d.ts +6 -2
  64. package/resources/speech-to-speech.d.ts.map +1 -1
  65. package/resources/text-to-image.d.mts +36 -14
  66. package/resources/text-to-image.d.mts.map +1 -1
  67. package/resources/text-to-image.d.ts +36 -14
  68. package/resources/text-to-image.d.ts.map +1 -1
  69. package/resources/text-to-speech.d.mts +3 -1
  70. package/resources/text-to-speech.d.mts.map +1 -1
  71. package/resources/text-to-speech.d.ts +3 -1
  72. package/resources/text-to-speech.d.ts.map +1 -1
  73. package/resources/text-to-video.d.mts +27 -9
  74. package/resources/text-to-video.d.mts.map +1 -1
  75. package/resources/text-to-video.d.ts +27 -9
  76. package/resources/text-to-video.d.ts.map +1 -1
  77. package/resources/video-to-video.d.mts +51 -17
  78. package/resources/video-to-video.d.mts.map +1 -1
  79. package/resources/video-to-video.d.ts +51 -17
  80. package/resources/video-to-video.d.ts.map +1 -1
  81. package/resources/video-upscale.d.mts +3 -1
  82. package/resources/video-upscale.d.mts.map +1 -1
  83. package/resources/video-upscale.d.ts +3 -1
  84. package/resources/video-upscale.d.ts.map +1 -1
  85. package/resources/voice-dubbing.d.mts +3 -1
  86. package/resources/voice-dubbing.d.mts.map +1 -1
  87. package/resources/voice-dubbing.d.ts +3 -1
  88. package/resources/voice-dubbing.d.ts.map +1 -1
  89. package/resources/voice-isolation.d.mts +3 -1
  90. package/resources/voice-isolation.d.mts.map +1 -1
  91. package/resources/voice-isolation.d.ts +3 -1
  92. package/resources/voice-isolation.d.ts.map +1 -1
  93. package/resources/voices.d.mts +3 -1
  94. package/resources/voices.d.mts.map +1 -1
  95. package/resources/voices.d.ts +3 -1
  96. package/resources/voices.d.ts.map +1 -1
  97. package/resources/workflows.d.mts +9 -3
  98. package/resources/workflows.d.mts.map +1 -1
  99. package/resources/workflows.d.ts +9 -3
  100. package/resources/workflows.d.ts.map +1 -1
  101. package/src/client.ts +2 -0
  102. package/src/resources/avatar-videos.ts +3 -1
  103. package/src/resources/avatars.ts +6 -2
  104. package/src/resources/character-performance.ts +10 -4
  105. package/src/resources/generate/audio.ts +7 -3
  106. package/src/resources/generate/image.ts +5 -3
  107. package/src/resources/generate/video.ts +17 -7
  108. package/src/resources/image-to-video.ts +51 -17
  109. package/src/resources/image-upscale.ts +3 -1
  110. package/src/resources/index.ts +1 -0
  111. package/src/resources/realtime-sessions.ts +29 -28
  112. package/src/resources/recipes.ts +48 -24
  113. package/src/resources/routers.ts +25 -25
  114. package/src/resources/speech-to-speech.ts +6 -2
  115. package/src/resources/text-to-image.ts +36 -14
  116. package/src/resources/text-to-speech.ts +3 -1
  117. package/src/resources/text-to-video.ts +27 -9
  118. package/src/resources/video-to-video.ts +51 -17
  119. package/src/resources/video-upscale.ts +3 -1
  120. package/src/resources/voice-dubbing.ts +3 -1
  121. package/src/resources/voice-isolation.ts +3 -1
  122. package/src/resources/voices.ts +3 -1
  123. package/src/resources/workflows.ts +9 -3
  124. package/src/version.ts +1 -1
  125. package/version.d.mts +1 -1
  126. package/version.d.ts +1 -1
  127. package/version.js +1 -1
  128. package/version.mjs +1 -1
@@ -24,7 +24,7 @@ export class Routers extends APIResource {
24
24
 
25
25
  /**
26
26
  * Update a Model Router configuration. Settings changes append a new version; name
27
- * and description updates do not. Settings are merged with the current snapshot —
27
+ * and description updates do not. Settings are merged with the current snapshot -
28
28
  * omitted fields keep their existing values.
29
29
  */
30
30
  update(
@@ -112,8 +112,8 @@ export namespace RouterCreateResponse {
112
112
  schemaVersion: 1;
113
113
 
114
114
  /**
115
- * Optional per-modality hard caps on credits for one generation. Models whose
116
- * estimated cost for that modality exceeds the cap are excluded.
115
+ * Optional per-modality credit caps, applied per generated output. Models whose
116
+ * estimated per-output cost exceeds the cap are excluded.
117
117
  */
118
118
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
119
119
 
@@ -132,8 +132,8 @@ export namespace RouterCreateResponse {
132
132
 
133
133
  export namespace Settings {
134
134
  /**
135
- * Optional per-modality hard caps on credits for one generation. Models whose
136
- * estimated cost for that modality exceeds the cap are excluded.
135
+ * Optional per-modality credit caps, applied per generated output. Models whose
136
+ * estimated per-output cost exceeds the cap are excluded.
137
137
  */
138
138
  export interface MaxCreditsPerGeneration {
139
139
  audio?: number;
@@ -208,8 +208,8 @@ export namespace RouterRetrieveResponse {
208
208
  schemaVersion: 1;
209
209
 
210
210
  /**
211
- * Optional per-modality hard caps on credits for one generation. Models whose
212
- * estimated cost for that modality exceeds the cap are excluded.
211
+ * Optional per-modality credit caps, applied per generated output. Models whose
212
+ * estimated per-output cost exceeds the cap are excluded.
213
213
  */
214
214
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
215
215
 
@@ -228,8 +228,8 @@ export namespace RouterRetrieveResponse {
228
228
 
229
229
  export namespace Settings {
230
230
  /**
231
- * Optional per-modality hard caps on credits for one generation. Models whose
232
- * estimated cost for that modality exceeds the cap are excluded.
231
+ * Optional per-modality credit caps, applied per generated output. Models whose
232
+ * estimated per-output cost exceeds the cap are excluded.
233
233
  */
234
234
  export interface MaxCreditsPerGeneration {
235
235
  audio?: number;
@@ -304,8 +304,8 @@ export namespace RouterUpdateResponse {
304
304
  schemaVersion: 1;
305
305
 
306
306
  /**
307
- * Optional per-modality hard caps on credits for one generation. Models whose
308
- * estimated cost for that modality exceeds the cap are excluded.
307
+ * Optional per-modality credit caps, applied per generated output. Models whose
308
+ * estimated per-output cost exceeds the cap are excluded.
309
309
  */
310
310
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
311
311
 
@@ -324,8 +324,8 @@ export namespace RouterUpdateResponse {
324
324
 
325
325
  export namespace Settings {
326
326
  /**
327
- * Optional per-modality hard caps on credits for one generation. Models whose
328
- * estimated cost for that modality exceeds the cap are excluded.
327
+ * Optional per-modality credit caps, applied per generated output. Models whose
328
+ * estimated per-output cost exceeds the cap are excluded.
329
329
  */
330
330
  export interface MaxCreditsPerGeneration {
331
331
  audio?: number;
@@ -403,8 +403,8 @@ export namespace RouterListResponse {
403
403
  schemaVersion: 1;
404
404
 
405
405
  /**
406
- * Optional per-modality hard caps on credits for one generation. Models whose
407
- * estimated cost for that modality exceeds the cap are excluded.
406
+ * Optional per-modality credit caps, applied per generated output. Models whose
407
+ * estimated per-output cost exceeds the cap are excluded.
408
408
  */
409
409
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
410
410
 
@@ -423,8 +423,8 @@ export namespace RouterListResponse {
423
423
 
424
424
  export namespace Settings {
425
425
  /**
426
- * Optional per-modality hard caps on credits for one generation. Models whose
427
- * estimated cost for that modality exceeds the cap are excluded.
426
+ * Optional per-modality credit caps, applied per generated output. Models whose
427
+ * estimated per-output cost exceeds the cap are excluded.
428
428
  */
429
429
  export interface MaxCreditsPerGeneration {
430
430
  audio?: number;
@@ -482,8 +482,8 @@ export namespace RouterCreateParams {
482
482
  */
483
483
  export interface Settings {
484
484
  /**
485
- * Optional per-modality hard caps on credits for one generation. Models whose
486
- * estimated cost for that modality exceeds the cap are excluded.
485
+ * Optional per-modality credit caps, applied per generated output. Models whose
486
+ * estimated per-output cost exceeds the cap are excluded.
487
487
  */
488
488
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
489
489
 
@@ -508,8 +508,8 @@ export namespace RouterCreateParams {
508
508
 
509
509
  export namespace Settings {
510
510
  /**
511
- * Optional per-modality hard caps on credits for one generation. Models whose
512
- * estimated cost for that modality exceeds the cap are excluded.
511
+ * Optional per-modality credit caps, applied per generated output. Models whose
512
+ * estimated per-output cost exceeds the cap are excluded.
513
513
  */
514
514
  export interface MaxCreditsPerGeneration {
515
515
  audio?: number;
@@ -556,8 +556,8 @@ export namespace RouterUpdateParams {
556
556
  */
557
557
  export interface Settings {
558
558
  /**
559
- * Optional per-modality hard caps on credits for one generation. Models whose
560
- * estimated cost for that modality exceeds the cap are excluded.
559
+ * Optional per-modality credit caps, applied per generated output. Models whose
560
+ * estimated per-output cost exceeds the cap are excluded.
561
561
  */
562
562
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
563
563
 
@@ -582,8 +582,8 @@ export namespace RouterUpdateParams {
582
582
 
583
583
  export namespace Settings {
584
584
  /**
585
- * Optional per-modality hard caps on credits for one generation. Models whose
586
- * estimated cost for that modality exceeds the cap are excluded.
585
+ * Optional per-modality credit caps, applied per generated output. Models whose
586
+ * estimated per-output cost exceeds the cap are excluded.
587
587
  */
588
588
  export interface MaxCreditsPerGeneration {
589
589
  audio?: number;
@@ -55,7 +55,9 @@ export namespace SpeechToSpeechCreateParams {
55
55
  type: 'audio';
56
56
 
57
57
  /**
58
- * A HTTPS URL.
58
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
59
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
60
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
59
61
  */
60
62
  uri: string;
61
63
  }
@@ -67,7 +69,9 @@ export namespace SpeechToSpeechCreateParams {
67
69
  type: 'video';
68
70
 
69
71
  /**
70
- * A HTTPS URL.
72
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
73
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
74
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
71
75
  */
72
76
  uri: string;
73
77
  }
@@ -91,13 +91,16 @@ export declare namespace TextToImageCreateParams {
91
91
  export namespace Gen4ImageTurbo {
92
92
  export interface ReferenceImage {
93
93
  /**
94
- * A HTTPS URL.
94
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
95
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
96
+ * [our docs](/assets/inputs#images) on image inputs for more information.
95
97
  */
96
98
  uri: string;
97
99
 
98
100
  /**
99
101
  * A tag to identify the reference image. This is used to reference the image in
100
- * prompt text.
102
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
103
+ * digits, and underscores (no hyphens or other punctuation).
101
104
  */
102
105
  tag?: string;
103
106
  }
@@ -177,13 +180,16 @@ export declare namespace TextToImageCreateParams {
177
180
 
178
181
  export interface ReferenceImage {
179
182
  /**
180
- * A HTTPS URL.
183
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
184
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
185
+ * [our docs](/assets/inputs#images) on image inputs for more information.
181
186
  */
182
187
  uri: string;
183
188
 
184
189
  /**
185
190
  * A tag to identify the reference image. This is used to reference the image in
186
- * prompt text.
191
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
192
+ * digits, and underscores (no hyphens or other punctuation).
187
193
  */
188
194
  tag?: string;
189
195
  }
@@ -261,13 +267,16 @@ export declare namespace TextToImageCreateParams {
261
267
  export namespace GptImage2 {
262
268
  export interface ReferenceImage {
263
269
  /**
264
- * A HTTPS URL.
270
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
271
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
272
+ * [our docs](/assets/inputs#images) on image inputs for more information.
265
273
  */
266
274
  uri: string;
267
275
 
268
276
  /**
269
277
  * A tag to identify the reference image. This may be used to reference the image
270
- * in prompt text.
278
+ * in prompt text. Must be 3-16 characters, start with a letter, and use only
279
+ * letters, digits, and underscores (no hyphens or other punctuation).
271
280
  */
272
281
  tag?: string;
273
282
  }
@@ -336,7 +345,9 @@ export declare namespace TextToImageCreateParams {
336
345
  export namespace GeminiImage3Pro {
337
346
  export interface ReferenceImage {
338
347
  /**
339
- * A HTTPS URL.
348
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
349
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
350
+ * [our docs](/assets/inputs#images) on image inputs for more information.
340
351
  */
341
352
  uri: string;
342
353
 
@@ -348,7 +359,8 @@ export declare namespace TextToImageCreateParams {
348
359
 
349
360
  /**
350
361
  * A tag to identify the reference image. This is used to reference the image in
351
- * prompt text.
362
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
363
+ * digits, and underscores (no hyphens or other punctuation).
352
364
  */
353
365
  tag?: string;
354
366
  }
@@ -443,7 +455,9 @@ export declare namespace TextToImageCreateParams {
443
455
  export namespace GeminiImage3_1Flash {
444
456
  export interface ReferenceImage {
445
457
  /**
446
- * A HTTPS URL.
458
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
459
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
460
+ * [our docs](/assets/inputs#images) on image inputs for more information.
447
461
  */
448
462
  uri: string;
449
463
 
@@ -455,7 +469,8 @@ export declare namespace TextToImageCreateParams {
455
469
 
456
470
  /**
457
471
  * A tag to identify the reference image. This is used to reference the image in
458
- * prompt text.
472
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
473
+ * digits, and underscores (no hyphens or other punctuation).
459
474
  */
460
475
  tag?: string;
461
476
  }
@@ -519,7 +534,9 @@ export declare namespace TextToImageCreateParams {
519
534
  export namespace Seedream5Pro {
520
535
  export interface ReferenceImage {
521
536
  /**
522
- * A HTTPS URL.
537
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
538
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
539
+ * [our docs](/assets/inputs#images) on image inputs for more information.
523
540
  */
524
541
  uri: string;
525
542
  }
@@ -575,7 +592,9 @@ export declare namespace TextToImageCreateParams {
575
592
  export namespace Seedream5Lite {
576
593
  export interface ReferenceImage {
577
594
  /**
578
- * A HTTPS URL.
595
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
596
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
597
+ * [our docs](/assets/inputs#images) on image inputs for more information.
579
598
  */
580
599
  uri: string;
581
600
  }
@@ -614,13 +633,16 @@ export declare namespace TextToImageCreateParams {
614
633
  export namespace Gemini2_5Flash {
615
634
  export interface ReferenceImage {
616
635
  /**
617
- * A HTTPS URL.
636
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
637
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
638
+ * [our docs](/assets/inputs#images) on image inputs for more information.
618
639
  */
619
640
  uri: string;
620
641
 
621
642
  /**
622
643
  * A tag to identify the reference image. This is used to reference the image in
623
- * prompt text.
644
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
645
+ * digits, and underscores (no hyphens or other punctuation).
624
646
  */
625
647
  tag?: string;
626
648
  }
@@ -80,7 +80,9 @@ export declare namespace TextToSpeechCreateParams {
80
80
  */
81
81
  export interface Voice {
82
82
  /**
83
- * A HTTPS URL.
83
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
84
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
85
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
84
86
  */
85
87
  audioUri: string;
86
88
 
@@ -253,14 +253,18 @@ export declare namespace TextToVideoCreateParams {
253
253
  type: 'audio';
254
254
 
255
255
  /**
256
- * A HTTPS URL.
256
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
257
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
258
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
257
259
  */
258
260
  uri: string;
259
261
  }
260
262
 
261
263
  export interface Reference {
262
264
  /**
263
- * A HTTPS URL.
265
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
266
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
267
+ * [our docs](/assets/inputs#images) on image inputs for more information.
264
268
  */
265
269
  uri: string;
266
270
  }
@@ -273,7 +277,9 @@ export declare namespace TextToVideoCreateParams {
273
277
  type: 'video';
274
278
 
275
279
  /**
276
- * A HTTPS URL.
280
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
281
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
282
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
277
283
  */
278
284
  uri: string;
279
285
  }
@@ -345,14 +351,18 @@ export declare namespace TextToVideoCreateParams {
345
351
  type: 'audio';
346
352
 
347
353
  /**
348
- * A HTTPS URL.
354
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
355
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
356
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
349
357
  */
350
358
  uri: string;
351
359
  }
352
360
 
353
361
  export interface Reference {
354
362
  /**
355
- * A HTTPS URL.
363
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
364
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
365
+ * [our docs](/assets/inputs#images) on image inputs for more information.
356
366
  */
357
367
  uri: string;
358
368
  }
@@ -365,7 +375,9 @@ export declare namespace TextToVideoCreateParams {
365
375
  type: 'video';
366
376
 
367
377
  /**
368
- * A HTTPS URL.
378
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
379
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
380
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
369
381
  */
370
382
  uri: string;
371
383
  }
@@ -437,14 +449,18 @@ export declare namespace TextToVideoCreateParams {
437
449
  type: 'audio';
438
450
 
439
451
  /**
440
- * A HTTPS URL.
452
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
453
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
454
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
441
455
  */
442
456
  uri: string;
443
457
  }
444
458
 
445
459
  export interface Reference {
446
460
  /**
447
- * A HTTPS URL.
461
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
462
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
463
+ * [our docs](/assets/inputs#images) on image inputs for more information.
448
464
  */
449
465
  uri: string;
450
466
  }
@@ -457,7 +473,9 @@ export declare namespace TextToVideoCreateParams {
457
473
  type: 'video';
458
474
 
459
475
  /**
460
- * A HTTPS URL.
476
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
477
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
478
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
461
479
  */
462
480
  uri: string;
463
481
  }
@@ -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.12.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.12.0";
1
+ export declare const VERSION = "4.13.0";
2
2
  //# sourceMappingURL=version.d.mts.map