@runwayml/sdk 4.12.0 → 4.13.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.
Files changed (128) hide show
  1. package/CHANGELOG.md +16 -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
@@ -13,7 +13,7 @@ export declare class Routers extends APIResource {
13
13
  retrieve(id: string, options?: RequestOptions): APIPromise<RouterRetrieveResponse>;
14
14
  /**
15
15
  * Update a Model Router configuration. Settings changes append a new version; name
16
- * and description updates do not. Settings are merged with the current snapshot —
16
+ * and description updates do not. Settings are merged with the current snapshot -
17
17
  * omitted fields keep their existing values.
18
18
  */
19
19
  update(id: string, body?: RouterUpdateParams | null | undefined, options?: RequestOptions): APIPromise<RouterUpdateResponse>;
@@ -72,8 +72,8 @@ export declare namespace RouterCreateResponse {
72
72
  */
73
73
  schemaVersion: 1;
74
74
  /**
75
- * Optional per-modality hard caps on credits for one generation. Models whose
76
- * estimated cost for that modality exceeds the cap are excluded.
75
+ * Optional per-modality credit caps, applied per generated output. Models whose
76
+ * estimated per-output cost exceeds the cap are excluded.
77
77
  */
78
78
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
79
79
  /**
@@ -89,8 +89,8 @@ export declare namespace RouterCreateResponse {
89
89
  }
90
90
  namespace Settings {
91
91
  /**
92
- * Optional per-modality hard caps on credits for one generation. Models whose
93
- * estimated cost for that modality exceeds the cap are excluded.
92
+ * Optional per-modality credit caps, applied per generated output. Models whose
93
+ * estimated per-output cost exceeds the cap are excluded.
94
94
  */
95
95
  interface MaxCreditsPerGeneration {
96
96
  audio?: number;
@@ -151,8 +151,8 @@ export declare namespace RouterRetrieveResponse {
151
151
  */
152
152
  schemaVersion: 1;
153
153
  /**
154
- * Optional per-modality hard caps on credits for one generation. Models whose
155
- * estimated cost for that modality exceeds the cap are excluded.
154
+ * Optional per-modality credit caps, applied per generated output. Models whose
155
+ * estimated per-output cost exceeds the cap are excluded.
156
156
  */
157
157
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
158
158
  /**
@@ -168,8 +168,8 @@ export declare namespace RouterRetrieveResponse {
168
168
  }
169
169
  namespace Settings {
170
170
  /**
171
- * Optional per-modality hard caps on credits for one generation. Models whose
172
- * estimated cost for that modality exceeds the cap are excluded.
171
+ * Optional per-modality credit caps, applied per generated output. Models whose
172
+ * estimated per-output cost exceeds the cap are excluded.
173
173
  */
174
174
  interface MaxCreditsPerGeneration {
175
175
  audio?: number;
@@ -230,8 +230,8 @@ export declare namespace RouterUpdateResponse {
230
230
  */
231
231
  schemaVersion: 1;
232
232
  /**
233
- * Optional per-modality hard caps on credits for one generation. Models whose
234
- * estimated cost for that modality exceeds the cap are excluded.
233
+ * Optional per-modality credit caps, applied per generated output. Models whose
234
+ * estimated per-output cost exceeds the cap are excluded.
235
235
  */
236
236
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
237
237
  /**
@@ -247,8 +247,8 @@ export declare namespace RouterUpdateResponse {
247
247
  }
248
248
  namespace Settings {
249
249
  /**
250
- * Optional per-modality hard caps on credits for one generation. Models whose
251
- * estimated cost for that modality exceeds the cap are excluded.
250
+ * Optional per-modality credit caps, applied per generated output. Models whose
251
+ * estimated per-output cost exceeds the cap are excluded.
252
252
  */
253
253
  interface MaxCreditsPerGeneration {
254
254
  audio?: number;
@@ -312,8 +312,8 @@ export declare namespace RouterListResponse {
312
312
  */
313
313
  schemaVersion: 1;
314
314
  /**
315
- * Optional per-modality hard caps on credits for one generation. Models whose
316
- * estimated cost for that modality exceeds the cap are excluded.
315
+ * Optional per-modality credit caps, applied per generated output. Models whose
316
+ * estimated per-output cost exceeds the cap are excluded.
317
317
  */
318
318
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
319
319
  /**
@@ -329,8 +329,8 @@ export declare namespace RouterListResponse {
329
329
  }
330
330
  namespace Settings {
331
331
  /**
332
- * Optional per-modality hard caps on credits for one generation. Models whose
333
- * estimated cost for that modality exceeds the cap are excluded.
332
+ * Optional per-modality credit caps, applied per generated output. Models whose
333
+ * estimated per-output cost exceeds the cap are excluded.
334
334
  */
335
335
  interface MaxCreditsPerGeneration {
336
336
  audio?: number;
@@ -379,8 +379,8 @@ export declare namespace RouterCreateParams {
379
379
  */
380
380
  interface Settings {
381
381
  /**
382
- * Optional per-modality hard caps on credits for one generation. Models whose
383
- * estimated cost for that modality exceeds the cap are excluded.
382
+ * Optional per-modality credit caps, applied per generated output. Models whose
383
+ * estimated per-output cost exceeds the cap are excluded.
384
384
  */
385
385
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
386
386
  /**
@@ -401,8 +401,8 @@ export declare namespace RouterCreateParams {
401
401
  }
402
402
  namespace Settings {
403
403
  /**
404
- * Optional per-modality hard caps on credits for one generation. Models whose
405
- * estimated cost for that modality exceeds the cap are excluded.
404
+ * Optional per-modality credit caps, applied per generated output. Models whose
405
+ * estimated per-output cost exceeds the cap are excluded.
406
406
  */
407
407
  interface MaxCreditsPerGeneration {
408
408
  audio?: number;
@@ -441,8 +441,8 @@ export declare namespace RouterUpdateParams {
441
441
  */
442
442
  interface Settings {
443
443
  /**
444
- * Optional per-modality hard caps on credits for one generation. Models whose
445
- * estimated cost for that modality exceeds the cap are excluded.
444
+ * Optional per-modality credit caps, applied per generated output. Models whose
445
+ * estimated per-output cost exceeds the cap are excluded.
446
446
  */
447
447
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
448
448
  /**
@@ -463,8 +463,8 @@ export declare namespace RouterUpdateParams {
463
463
  }
464
464
  namespace Settings {
465
465
  /**
466
- * Optional per-modality hard caps on credits for one generation. Models whose
467
- * estimated cost for that modality exceeds the cap are excluded.
466
+ * Optional per-modality credit caps, applied per generated output. Models whose
467
+ * estimated per-output cost exceeds the cap are excluded.
468
468
  */
469
469
  interface MaxCreditsPerGeneration {
470
470
  audio?: number;
@@ -13,7 +13,7 @@ export declare class Routers extends APIResource {
13
13
  retrieve(id: string, options?: RequestOptions): APIPromise<RouterRetrieveResponse>;
14
14
  /**
15
15
  * Update a Model Router configuration. Settings changes append a new version; name
16
- * and description updates do not. Settings are merged with the current snapshot —
16
+ * and description updates do not. Settings are merged with the current snapshot -
17
17
  * omitted fields keep their existing values.
18
18
  */
19
19
  update(id: string, body?: RouterUpdateParams | null | undefined, options?: RequestOptions): APIPromise<RouterUpdateResponse>;
@@ -72,8 +72,8 @@ export declare namespace RouterCreateResponse {
72
72
  */
73
73
  schemaVersion: 1;
74
74
  /**
75
- * Optional per-modality hard caps on credits for one generation. Models whose
76
- * estimated cost for that modality exceeds the cap are excluded.
75
+ * Optional per-modality credit caps, applied per generated output. Models whose
76
+ * estimated per-output cost exceeds the cap are excluded.
77
77
  */
78
78
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
79
79
  /**
@@ -89,8 +89,8 @@ export declare namespace RouterCreateResponse {
89
89
  }
90
90
  namespace Settings {
91
91
  /**
92
- * Optional per-modality hard caps on credits for one generation. Models whose
93
- * estimated cost for that modality exceeds the cap are excluded.
92
+ * Optional per-modality credit caps, applied per generated output. Models whose
93
+ * estimated per-output cost exceeds the cap are excluded.
94
94
  */
95
95
  interface MaxCreditsPerGeneration {
96
96
  audio?: number;
@@ -151,8 +151,8 @@ export declare namespace RouterRetrieveResponse {
151
151
  */
152
152
  schemaVersion: 1;
153
153
  /**
154
- * Optional per-modality hard caps on credits for one generation. Models whose
155
- * estimated cost for that modality exceeds the cap are excluded.
154
+ * Optional per-modality credit caps, applied per generated output. Models whose
155
+ * estimated per-output cost exceeds the cap are excluded.
156
156
  */
157
157
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
158
158
  /**
@@ -168,8 +168,8 @@ export declare namespace RouterRetrieveResponse {
168
168
  }
169
169
  namespace Settings {
170
170
  /**
171
- * Optional per-modality hard caps on credits for one generation. Models whose
172
- * estimated cost for that modality exceeds the cap are excluded.
171
+ * Optional per-modality credit caps, applied per generated output. Models whose
172
+ * estimated per-output cost exceeds the cap are excluded.
173
173
  */
174
174
  interface MaxCreditsPerGeneration {
175
175
  audio?: number;
@@ -230,8 +230,8 @@ export declare namespace RouterUpdateResponse {
230
230
  */
231
231
  schemaVersion: 1;
232
232
  /**
233
- * Optional per-modality hard caps on credits for one generation. Models whose
234
- * estimated cost for that modality exceeds the cap are excluded.
233
+ * Optional per-modality credit caps, applied per generated output. Models whose
234
+ * estimated per-output cost exceeds the cap are excluded.
235
235
  */
236
236
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
237
237
  /**
@@ -247,8 +247,8 @@ export declare namespace RouterUpdateResponse {
247
247
  }
248
248
  namespace Settings {
249
249
  /**
250
- * Optional per-modality hard caps on credits for one generation. Models whose
251
- * estimated cost for that modality exceeds the cap are excluded.
250
+ * Optional per-modality credit caps, applied per generated output. Models whose
251
+ * estimated per-output cost exceeds the cap are excluded.
252
252
  */
253
253
  interface MaxCreditsPerGeneration {
254
254
  audio?: number;
@@ -312,8 +312,8 @@ export declare namespace RouterListResponse {
312
312
  */
313
313
  schemaVersion: 1;
314
314
  /**
315
- * Optional per-modality hard caps on credits for one generation. Models whose
316
- * estimated cost for that modality exceeds the cap are excluded.
315
+ * Optional per-modality credit caps, applied per generated output. Models whose
316
+ * estimated per-output cost exceeds the cap are excluded.
317
317
  */
318
318
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
319
319
  /**
@@ -329,8 +329,8 @@ export declare namespace RouterListResponse {
329
329
  }
330
330
  namespace Settings {
331
331
  /**
332
- * Optional per-modality hard caps on credits for one generation. Models whose
333
- * estimated cost for that modality exceeds the cap are excluded.
332
+ * Optional per-modality credit caps, applied per generated output. Models whose
333
+ * estimated per-output cost exceeds the cap are excluded.
334
334
  */
335
335
  interface MaxCreditsPerGeneration {
336
336
  audio?: number;
@@ -379,8 +379,8 @@ export declare namespace RouterCreateParams {
379
379
  */
380
380
  interface Settings {
381
381
  /**
382
- * Optional per-modality hard caps on credits for one generation. Models whose
383
- * estimated cost for that modality exceeds the cap are excluded.
382
+ * Optional per-modality credit caps, applied per generated output. Models whose
383
+ * estimated per-output cost exceeds the cap are excluded.
384
384
  */
385
385
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
386
386
  /**
@@ -401,8 +401,8 @@ export declare namespace RouterCreateParams {
401
401
  }
402
402
  namespace Settings {
403
403
  /**
404
- * Optional per-modality hard caps on credits for one generation. Models whose
405
- * estimated cost for that modality exceeds the cap are excluded.
404
+ * Optional per-modality credit caps, applied per generated output. Models whose
405
+ * estimated per-output cost exceeds the cap are excluded.
406
406
  */
407
407
  interface MaxCreditsPerGeneration {
408
408
  audio?: number;
@@ -441,8 +441,8 @@ export declare namespace RouterUpdateParams {
441
441
  */
442
442
  interface Settings {
443
443
  /**
444
- * Optional per-modality hard caps on credits for one generation. Models whose
445
- * estimated cost for that modality exceeds the cap are excluded.
444
+ * Optional per-modality credit caps, applied per generated output. Models whose
445
+ * estimated per-output cost exceeds the cap are excluded.
446
446
  */
447
447
  maxCreditsPerGeneration?: Settings.MaxCreditsPerGeneration;
448
448
  /**
@@ -463,8 +463,8 @@ export declare namespace RouterUpdateParams {
463
463
  }
464
464
  namespace Settings {
465
465
  /**
466
- * Optional per-modality hard caps on credits for one generation. Models whose
467
- * estimated cost for that modality exceeds the cap are excluded.
466
+ * Optional per-modality credit caps, applied per generated output. Models whose
467
+ * estimated per-output cost exceeds the cap are excluded.
468
468
  */
469
469
  interface MaxCreditsPerGeneration {
470
470
  audio?: number;
@@ -21,7 +21,7 @@ class Routers extends resource_1.APIResource {
21
21
  }
22
22
  /**
23
23
  * Update a Model Router configuration. Settings changes append a new version; name
24
- * and description updates do not. Settings are merged with the current snapshot —
24
+ * and description updates do not. Settings are merged with the current snapshot -
25
25
  * omitted fields keep their existing values.
26
26
  */
27
27
  update(id, body = {}, options) {
@@ -18,7 +18,7 @@ export class Routers extends APIResource {
18
18
  }
19
19
  /**
20
20
  * Update a Model Router configuration. Settings changes append a new version; name
21
- * and description updates do not. Settings are merged with the current snapshot —
21
+ * and description updates do not. Settings are merged with the current snapshot -
22
22
  * omitted fields keep their existing values.
23
23
  */
24
24
  update(id, body = {}, options) {
@@ -39,7 +39,9 @@ export declare namespace SpeechToSpeechCreateParams {
39
39
  interface Audio {
40
40
  type: 'audio';
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
  uri: string;
45
47
  }
@@ -49,7 +51,9 @@ export declare namespace SpeechToSpeechCreateParams {
49
51
  interface Video {
50
52
  type: 'video';
51
53
  /**
52
- * A HTTPS URL.
54
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
55
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
56
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
53
57
  */
54
58
  uri: string;
55
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"speech-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,0BAA0B,CAAC,KAAK,CAAC;IAE3E,KAAK,EAAE,4BAA4B,CAAC;IAEpC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC;IAExC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;WAEG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,QAAQ,EACJ,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,KAAK,GACL,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,SAAS,GACT,UAAU,GACV,OAAO,GACP,KAAK,GACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,QAAQ,CAAC;QAEb,IAAI,EAAE,eAAe,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
1
+ {"version":3,"file":"speech-to-speech.d.mts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OA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OAAO,GACP,KAAK,GACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,QAAQ,CAAC;QAEb,IAAI,EAAE,eAAe,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -39,7 +39,9 @@ export declare namespace SpeechToSpeechCreateParams {
39
39
  interface Audio {
40
40
  type: 'audio';
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
  uri: string;
45
47
  }
@@ -49,7 +51,9 @@ export declare namespace SpeechToSpeechCreateParams {
49
51
  interface Video {
50
52
  type: 'video';
51
53
  /**
52
- * A HTTPS URL.
54
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
55
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
56
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
53
57
  */
54
58
  uri: string;
55
59
  }
@@ -1 +1 @@
1
- {"version":3,"file":"speech-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MA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,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
1
+ {"version":3,"file":"speech-to-speech.d.ts","sourceRoot":"","sources":["../src/resources/speech-to-speech.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AACrF,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAE7D;;GAEG;AACH,qBAAa,cAAe,SAAQ,WAAW;IAC7C;;;OAGG;IACH,MAAM,CACJ,IAAI,EAAE,0BAA0B,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,4BAA4B,CAAC;CAK7D;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,0BAA0B,CAAC,KAAK,CAAC;IAE3E,KAAK,EAAE,4BAA4B,CAAC;IAEpC;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,CAAC;IAExC;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,yBAAiB,0BAA0B,CAAC;IAC1C;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;;;WAIG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC;QAEd;;;;WAIG;QACH,GAAG,EAAE,MAAM,CAAC;KACb;IAED;;OAEG;IACH,UAAiB,KAAK;QACpB;;WAEG;QACH,QAAQ,EACJ,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,MAAM,GACN,QAAQ,GACR,SAAS,GACT,OAAO,GACP,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,SAAS,GACT,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,OAAO,GACP,KAAK,GACL,OAAO,GACP,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,GACN,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,OAAO,GACP,SAAS,GACT,MAAM,GACN,SAAS,GACT,UAAU,GACV,OAAO,GACP,KAAK,GACL,OAAO,GACP,UAAU,GACV,OAAO,GACP,QAAQ,CAAC;QAEb,IAAI,EAAE,eAAe,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,cAAc,CAAC;IACtC,OAAO,EACL,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
@@ -48,12 +48,15 @@ export declare namespace TextToImageCreateParams {
48
48
  namespace Gen4ImageTurbo {
49
49
  interface ReferenceImage {
50
50
  /**
51
- * A HTTPS URL.
51
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
52
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
53
+ * [our docs](/assets/inputs#images) on image inputs for more information.
52
54
  */
53
55
  uri: string;
54
56
  /**
55
57
  * A tag to identify the reference image. This is used to reference the image in
56
- * prompt text.
58
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
59
+ * digits, and underscores (no hyphens or other punctuation).
57
60
  */
58
61
  tag?: string;
59
62
  }
@@ -108,12 +111,15 @@ export declare namespace TextToImageCreateParams {
108
111
  }
109
112
  interface ReferenceImage {
110
113
  /**
111
- * A HTTPS URL.
114
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
115
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
116
+ * [our docs](/assets/inputs#images) on image inputs for more information.
112
117
  */
113
118
  uri: string;
114
119
  /**
115
120
  * A tag to identify the reference image. This is used to reference the image in
116
- * prompt text.
121
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
122
+ * digits, and underscores (no hyphens or other punctuation).
117
123
  */
118
124
  tag?: string;
119
125
  }
@@ -152,12 +158,15 @@ export declare namespace TextToImageCreateParams {
152
158
  namespace GptImage2 {
153
159
  interface ReferenceImage {
154
160
  /**
155
- * A HTTPS URL.
161
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
162
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
163
+ * [our docs](/assets/inputs#images) on image inputs for more information.
156
164
  */
157
165
  uri: string;
158
166
  /**
159
167
  * A tag to identify the reference image. This may be used to reference the image
160
- * in prompt text.
168
+ * in prompt text. Must be 3-16 characters, start with a letter, and use only
169
+ * letters, digits, and underscores (no hyphens or other punctuation).
161
170
  */
162
171
  tag?: string;
163
172
  }
@@ -190,7 +199,9 @@ export declare namespace TextToImageCreateParams {
190
199
  namespace GeminiImage3Pro {
191
200
  interface ReferenceImage {
192
201
  /**
193
- * A HTTPS URL.
202
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
203
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
204
+ * [our docs](/assets/inputs#images) on image inputs for more information.
194
205
  */
195
206
  uri: string;
196
207
  /**
@@ -200,7 +211,8 @@ export declare namespace TextToImageCreateParams {
200
211
  subject?: 'object' | 'human';
201
212
  /**
202
213
  * A tag to identify the reference image. This is used to reference the image in
203
- * prompt text.
214
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
215
+ * digits, and underscores (no hyphens or other punctuation).
204
216
  */
205
217
  tag?: string;
206
218
  }
@@ -233,7 +245,9 @@ export declare namespace TextToImageCreateParams {
233
245
  namespace GeminiImage3_1Flash {
234
246
  interface ReferenceImage {
235
247
  /**
236
- * A HTTPS URL.
248
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
249
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
250
+ * [our docs](/assets/inputs#images) on image inputs for more information.
237
251
  */
238
252
  uri: string;
239
253
  /**
@@ -243,7 +257,8 @@ export declare namespace TextToImageCreateParams {
243
257
  subject?: 'object' | 'human';
244
258
  /**
245
259
  * A tag to identify the reference image. This is used to reference the image in
246
- * prompt text.
260
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
261
+ * digits, and underscores (no hyphens or other punctuation).
247
262
  */
248
263
  tag?: string;
249
264
  }
@@ -283,7 +298,9 @@ export declare namespace TextToImageCreateParams {
283
298
  namespace Seedream5Pro {
284
299
  interface ReferenceImage {
285
300
  /**
286
- * A HTTPS URL.
301
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
302
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
303
+ * [our docs](/assets/inputs#images) on image inputs for more information.
287
304
  */
288
305
  uri: string;
289
306
  }
@@ -316,7 +333,9 @@ export declare namespace TextToImageCreateParams {
316
333
  namespace Seedream5Lite {
317
334
  interface ReferenceImage {
318
335
  /**
319
- * A HTTPS URL.
336
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
337
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
338
+ * [our docs](/assets/inputs#images) on image inputs for more information.
320
339
  */
321
340
  uri: string;
322
341
  }
@@ -340,12 +359,15 @@ export declare namespace TextToImageCreateParams {
340
359
  namespace Gemini2_5Flash {
341
360
  interface ReferenceImage {
342
361
  /**
343
- * A HTTPS URL.
362
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
363
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
364
+ * [our docs](/assets/inputs#images) on image inputs for more information.
344
365
  */
345
366
  uri: string;
346
367
  /**
347
368
  * A tag to identify the reference image. This is used to reference the image in
348
- * prompt text.
369
+ * prompt text. Must be 3-16 characters, start with a letter, and use only letters,
370
+ * digits, and underscores (no hyphens or other punctuation).
349
371
  */
350
372
  tag?: string;
351
373
  }
@@ -1 +1 @@
1
- {"version":3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,CAAC;KACvD;IAED,UAAiB,aAAa,CAAC;QAC7B,UAAiB,cAAc;YAC7B;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;SACb;KACF;IAED,UAAiB,cAAc;QAC7B,KAAK,EAAE,kBAAkB,CAAC;QAE1B;;WAEG;QACH,UAAU,EAAE,MAAM,CAAC;QAEnB;;WAEG;QACH,KAAK,EACD,UAAU,GACV,UAAU,GACV,WAAW,GACX,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,CAAC;QAEf;;;WAGG;QACH,eAAe,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;KACxD;IAED,UAAiB,cAAc,CAAC;QAC9B,UAAiB,cAAc;YAC7B;;eAEG;YACH,GAAG,EAAE,MAAM,CAAC;YAEZ;;;eAGG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
1
+ {"version":3,"file":"text-to-image.d.mts","sourceRoot":"","sources":["../src/resources/text-to-image.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,2BAAuB;AAErF;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,2BAA2B,CAAC,yBAAyB,CAAC;CAK1D;AAED,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,MAAM,uBAAuB,GAC/B,uBAAuB,CAAC,cAAc,GACtC,uBAA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