@runwayml/sdk 4.13.2 → 4.15.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 (199) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/client.d.mts +3 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +3 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +1 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +1 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/character-performance.d.mts +17 -0
  12. package/resources/character-performance.d.mts.map +1 -1
  13. package/resources/character-performance.d.ts +17 -0
  14. package/resources/character-performance.d.ts.map +1 -1
  15. package/resources/generate/audio.d.mts +46 -24
  16. package/resources/generate/audio.d.mts.map +1 -1
  17. package/resources/generate/audio.d.ts +46 -24
  18. package/resources/generate/audio.d.ts.map +1 -1
  19. package/resources/generate/audio.js.map +1 -1
  20. package/resources/generate/audio.mjs.map +1 -1
  21. package/resources/generate/generate.d.mts +2 -2
  22. package/resources/generate/generate.d.mts.map +1 -1
  23. package/resources/generate/generate.d.ts +2 -2
  24. package/resources/generate/generate.d.ts.map +1 -1
  25. package/resources/generate/generate.js.map +1 -1
  26. package/resources/generate/generate.mjs.map +1 -1
  27. package/resources/generate/image.d.mts +21 -0
  28. package/resources/generate/image.d.mts.map +1 -1
  29. package/resources/generate/image.d.ts +21 -0
  30. package/resources/generate/image.d.ts.map +1 -1
  31. package/resources/generate/index.d.mts +1 -1
  32. package/resources/generate/index.d.mts.map +1 -1
  33. package/resources/generate/index.d.ts +1 -1
  34. package/resources/generate/index.d.ts.map +1 -1
  35. package/resources/generate/index.js.map +1 -1
  36. package/resources/generate/index.mjs +1 -1
  37. package/resources/generate/index.mjs.map +1 -1
  38. package/resources/generate/video.d.mts +21 -0
  39. package/resources/generate/video.d.mts.map +1 -1
  40. package/resources/generate/video.d.ts +21 -0
  41. package/resources/generate/video.d.ts.map +1 -1
  42. package/resources/image-to-video.d.mts +146 -19
  43. package/resources/image-to-video.d.mts.map +1 -1
  44. package/resources/image-to-video.d.ts +146 -19
  45. package/resources/image-to-video.d.ts.map +1 -1
  46. package/resources/image-upscale.d.mts +17 -0
  47. package/resources/image-upscale.d.mts.map +1 -1
  48. package/resources/image-upscale.d.ts +17 -0
  49. package/resources/image-upscale.d.ts.map +1 -1
  50. package/resources/index.d.mts +2 -2
  51. package/resources/index.d.mts.map +1 -1
  52. package/resources/index.d.ts +2 -2
  53. package/resources/index.d.ts.map +1 -1
  54. package/resources/index.js +1 -1
  55. package/resources/index.js.map +1 -1
  56. package/resources/index.mjs +1 -1
  57. package/resources/index.mjs.map +1 -1
  58. package/resources/organization/index.d.mts +3 -0
  59. package/resources/organization/index.d.mts.map +1 -0
  60. package/resources/organization/index.d.ts +3 -0
  61. package/resources/organization/index.d.ts.map +1 -0
  62. package/resources/organization/index.js +9 -0
  63. package/resources/organization/index.js.map +1 -0
  64. package/resources/organization/index.mjs +4 -0
  65. package/resources/organization/index.mjs.map +1 -0
  66. package/resources/organization/organization.d.mts +154 -0
  67. package/resources/organization/organization.d.mts.map +1 -0
  68. package/resources/organization/organization.d.ts +154 -0
  69. package/resources/organization/organization.d.ts.map +1 -0
  70. package/resources/organization/organization.js +32 -0
  71. package/resources/organization/organization.js.map +1 -0
  72. package/resources/organization/organization.mjs +27 -0
  73. package/resources/organization/organization.mjs.map +1 -0
  74. package/resources/organization/webapp/audit-logs.d.mts +216 -0
  75. package/resources/organization/webapp/audit-logs.d.mts.map +1 -0
  76. package/resources/organization/webapp/audit-logs.d.ts +216 -0
  77. package/resources/organization/webapp/audit-logs.d.ts.map +1 -0
  78. package/resources/organization/webapp/audit-logs.js +30 -0
  79. package/resources/organization/webapp/audit-logs.js.map +1 -0
  80. package/resources/organization/webapp/audit-logs.mjs +26 -0
  81. package/resources/organization/webapp/audit-logs.mjs.map +1 -0
  82. package/resources/organization/webapp/index.d.mts +3 -0
  83. package/resources/organization/webapp/index.d.mts.map +1 -0
  84. package/resources/organization/webapp/index.d.ts +3 -0
  85. package/resources/organization/webapp/index.d.ts.map +1 -0
  86. package/resources/organization/webapp/index.js +9 -0
  87. package/resources/organization/webapp/index.js.map +1 -0
  88. package/resources/organization/webapp/index.mjs +4 -0
  89. package/resources/organization/webapp/index.mjs.map +1 -0
  90. package/resources/organization/webapp/webapp.d.mts +73 -0
  91. package/resources/organization/webapp/webapp.d.mts.map +1 -0
  92. package/resources/organization/webapp/webapp.d.ts +73 -0
  93. package/resources/organization/webapp/webapp.d.ts.map +1 -0
  94. package/resources/organization/webapp/webapp.js +30 -0
  95. package/resources/organization/webapp/webapp.js.map +1 -0
  96. package/resources/organization/webapp/webapp.mjs +25 -0
  97. package/resources/organization/webapp/webapp.mjs.map +1 -0
  98. package/resources/organization/webapp.d.mts +2 -0
  99. package/resources/organization/webapp.d.mts.map +1 -0
  100. package/resources/organization/webapp.d.ts +2 -0
  101. package/resources/organization/webapp.d.ts.map +1 -0
  102. package/resources/organization/webapp.js +6 -0
  103. package/resources/organization/webapp.js.map +1 -0
  104. package/resources/organization/webapp.mjs +3 -0
  105. package/resources/organization/webapp.mjs.map +1 -0
  106. package/resources/organization.d.mts +1 -149
  107. package/resources/organization.d.mts.map +1 -1
  108. package/resources/organization.d.ts +1 -149
  109. package/resources/organization.d.ts.map +1 -1
  110. package/resources/organization.js +2 -20
  111. package/resources/organization.js.map +1 -1
  112. package/resources/organization.mjs +1 -18
  113. package/resources/organization.mjs.map +1 -1
  114. package/resources/recipes.d.mts +119 -0
  115. package/resources/recipes.d.mts.map +1 -1
  116. package/resources/recipes.d.ts +119 -0
  117. package/resources/recipes.d.ts.map +1 -1
  118. package/resources/routers.d.mts +194 -1
  119. package/resources/routers.d.mts.map +1 -1
  120. package/resources/routers.d.ts +194 -1
  121. package/resources/routers.d.ts.map +1 -1
  122. package/resources/routers.js +10 -0
  123. package/resources/routers.js.map +1 -1
  124. package/resources/routers.mjs +10 -0
  125. package/resources/routers.mjs.map +1 -1
  126. package/resources/sound-effect.d.mts +17 -0
  127. package/resources/sound-effect.d.mts.map +1 -1
  128. package/resources/sound-effect.d.ts +17 -0
  129. package/resources/sound-effect.d.ts.map +1 -1
  130. package/resources/speech-to-speech.d.mts +17 -0
  131. package/resources/speech-to-speech.d.mts.map +1 -1
  132. package/resources/speech-to-speech.d.ts +17 -0
  133. package/resources/speech-to-speech.d.ts.map +1 -1
  134. package/resources/tasks.d.mts +90 -0
  135. package/resources/tasks.d.mts.map +1 -1
  136. package/resources/tasks.d.ts +90 -0
  137. package/resources/tasks.d.ts.map +1 -1
  138. package/resources/text-to-image.d.mts +68 -1
  139. package/resources/text-to-image.d.mts.map +1 -1
  140. package/resources/text-to-image.d.ts +68 -1
  141. package/resources/text-to-image.d.ts.map +1 -1
  142. package/resources/text-to-speech.d.mts +77 -1
  143. package/resources/text-to-speech.d.mts.map +1 -1
  144. package/resources/text-to-speech.d.ts +77 -1
  145. package/resources/text-to-speech.d.ts.map +1 -1
  146. package/resources/text-to-video.d.mts +221 -16
  147. package/resources/text-to-video.d.mts.map +1 -1
  148. package/resources/text-to-video.d.ts +221 -16
  149. package/resources/text-to-video.d.ts.map +1 -1
  150. package/resources/video-to-video.d.mts +199 -7
  151. package/resources/video-to-video.d.mts.map +1 -1
  152. package/resources/video-to-video.d.ts +199 -7
  153. package/resources/video-to-video.d.ts.map +1 -1
  154. package/resources/video-upscale.d.mts +17 -0
  155. package/resources/video-upscale.d.mts.map +1 -1
  156. package/resources/video-upscale.d.ts +17 -0
  157. package/resources/video-upscale.d.ts.map +1 -1
  158. package/resources/voice-dubbing.d.mts +17 -0
  159. package/resources/voice-dubbing.d.mts.map +1 -1
  160. package/resources/voice-dubbing.d.ts +17 -0
  161. package/resources/voice-dubbing.d.ts.map +1 -1
  162. package/resources/voice-isolation.d.mts +17 -0
  163. package/resources/voice-isolation.d.mts.map +1 -1
  164. package/resources/voice-isolation.d.ts +17 -0
  165. package/resources/voice-isolation.d.ts.map +1 -1
  166. package/src/client.ts +12 -6
  167. package/src/resources/character-performance.ts +19 -0
  168. package/src/resources/generate/audio.ts +57 -27
  169. package/src/resources/generate/generate.ts +3 -1
  170. package/src/resources/generate/image.ts +24 -0
  171. package/src/resources/generate/index.ts +7 -1
  172. package/src/resources/generate/video.ts +24 -0
  173. package/src/resources/image-to-video.ts +189 -19
  174. package/src/resources/image-upscale.ts +19 -0
  175. package/src/resources/index.ts +4 -1
  176. package/src/resources/organization/index.ts +14 -0
  177. package/src/resources/organization/organization.ts +307 -0
  178. package/src/resources/organization/webapp/audit-logs.ts +440 -0
  179. package/src/resources/organization/webapp/index.ts +16 -0
  180. package/src/resources/organization/webapp/webapp.ts +118 -0
  181. package/src/resources/organization/webapp.ts +3 -0
  182. package/src/resources/organization.ts +1 -283
  183. package/src/resources/recipes.ts +133 -0
  184. package/src/resources/routers.ts +247 -0
  185. package/src/resources/sound-effect.ts +19 -0
  186. package/src/resources/speech-to-speech.ts +19 -0
  187. package/src/resources/tasks.ts +102 -0
  188. package/src/resources/text-to-image.ts +107 -0
  189. package/src/resources/text-to-speech.ts +142 -1
  190. package/src/resources/text-to-video.ts +276 -16
  191. package/src/resources/video-to-video.ts +252 -7
  192. package/src/resources/video-upscale.ts +19 -0
  193. package/src/resources/voice-dubbing.ts +19 -0
  194. package/src/resources/voice-isolation.ts +19 -0
  195. package/src/version.ts +1 -1
  196. package/version.d.mts +1 -1
  197. package/version.d.ts +1 -1
  198. package/version.js +1 -1
  199. package/version.mjs +1 -1
@@ -34,14 +34,35 @@ export interface VideoToVideoCreateResponse {
34
34
  * The ID of the task that was created. Use this to retrieve the task later.
35
35
  */
36
36
  id: string;
37
+
38
+ /**
39
+ * The maximum credits this task may charge. The final amount may be lower after
40
+ * the task completes.
41
+ */
42
+ estimatedCost: VideoToVideoCreateResponse.EstimatedCost;
43
+ }
44
+
45
+ export namespace VideoToVideoCreateResponse {
46
+ /**
47
+ * The maximum credits this task may charge. The final amount may be lower after
48
+ * the task completes.
49
+ */
50
+ export interface EstimatedCost {
51
+ /**
52
+ * Estimated cost of the generation in credits.
53
+ */
54
+ credits: number;
55
+ }
37
56
  }
38
57
 
39
58
  export type VideoToVideoCreateParams =
40
59
  | VideoToVideoCreateParams.Variant0
60
+ | VideoToVideoCreateParams.Hailuo3
41
61
  | VideoToVideoCreateParams.Seedance2
42
62
  | VideoToVideoCreateParams.Seedance2Fast
43
63
  | VideoToVideoCreateParams.Seedance2Mini
44
- | VideoToVideoCreateParams.GeminiOmniFlash;
64
+ | VideoToVideoCreateParams.GeminiOmniFlash
65
+ | VideoToVideoCreateParams.Seedance2_5;
45
66
 
46
67
  export declare namespace VideoToVideoCreateParams {
47
68
  export interface Variant0 {
@@ -65,11 +86,25 @@ export declare namespace VideoToVideoCreateParams {
65
86
  */
66
87
  keyframes?: Array<Variant0.UnionMember0 | Variant0.UnionMember1>;
67
88
 
89
+ /**
90
+ * The container/encoding of the output. `mp4` (default) returns an H.264 .mp4.
91
+ * `prores` returns a ProRes .mov. `png_sequence` returns a .zip of PNG frames
92
+ * (plus a separate .wav artifact when the output has audio). Non-mp4 formats incur
93
+ * an additional surcharge of 5 credits per second of output.
94
+ */
95
+ outputFormat?: 'mp4' | 'prores' | 'png_sequence';
96
+
68
97
  /**
69
98
  * A non-empty and optional string describing what should appear in the output.
70
99
  */
71
100
  promptText?: string;
72
101
 
102
+ /**
103
+ * The ProRes profile to use. Only valid when `outputFormat` is `prores`. Defaults
104
+ * to `4444`.
105
+ */
106
+ proresProfile?: '422' | '4444' | '422 Proxy' | '422 LT' | '422 HQ' | '4444 XQ';
107
+
73
108
  /**
74
109
  * @deprecated
75
110
  */
@@ -186,6 +221,98 @@ export declare namespace VideoToVideoCreateParams {
186
221
  }
187
222
  }
188
223
 
224
+ export interface Hailuo3 {
225
+ model: 'hailuo3';
226
+
227
+ /**
228
+ * A non-empty text prompt describing what should appear in the output.
229
+ */
230
+ promptText: string;
231
+
232
+ /**
233
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
234
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
235
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
236
+ */
237
+ promptVideo: string;
238
+
239
+ /**
240
+ * The number of seconds of duration for the output video.
241
+ */
242
+ duration?: number;
243
+
244
+ /**
245
+ * The aspect ratio of the output video. Use adaptive only when image or video
246
+ * references are provided; text-only requests require a concrete ratio.
247
+ */
248
+ ratio?: 'adaptive' | '21:9' | '16:9' | '4:3' | '1:1' | '3:4' | '9:16';
249
+
250
+ /**
251
+ * An optional array of audio references. Audio references require a text prompt,
252
+ * and the total combined duration must not exceed 15 seconds.
253
+ */
254
+ referenceAudio?: Array<Hailuo3.ReferenceAudio>;
255
+
256
+ /**
257
+ * An optional array of image references (up to 9). See
258
+ * [our docs](/assets/inputs#images) on image inputs for more information.
259
+ */
260
+ references?: Array<Hailuo3.Reference>;
261
+
262
+ /**
263
+ * An optional array of video references. The combined duration across all video
264
+ * references must not exceed 15 seconds. See [our docs](/assets/inputs#videos) on
265
+ * video inputs for more information.
266
+ */
267
+ referenceVideos?: Array<Hailuo3.ReferenceVideo>;
268
+
269
+ /**
270
+ * The output resolution. Hailuo 3.0 supports 768P and 2K.
271
+ */
272
+ resolution?: '2K' | '768P';
273
+ }
274
+
275
+ export namespace Hailuo3 {
276
+ /**
277
+ * An audio reference allows the model to use the audio as additional context for
278
+ * the output.
279
+ */
280
+ export interface ReferenceAudio {
281
+ type: 'audio';
282
+
283
+ /**
284
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
285
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
286
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
287
+ */
288
+ uri: string;
289
+ }
290
+
291
+ export interface Reference {
292
+ /**
293
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
294
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
295
+ * [our docs](/assets/inputs#images) on image inputs for more information.
296
+ */
297
+ uri: string;
298
+ }
299
+
300
+ /**
301
+ * A video reference allows the model to use the video as additional context for
302
+ * the output.
303
+ */
304
+ export interface ReferenceVideo {
305
+ type: 'video';
306
+
307
+ /**
308
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
309
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
310
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
311
+ */
312
+ uri: string;
313
+ }
314
+ }
315
+
189
316
  export interface Seedance2 {
190
317
  model: 'seedance2';
191
318
 
@@ -242,8 +369,8 @@ export declare namespace VideoToVideoCreateParams {
242
369
  | '2160:3840';
243
370
 
244
371
  /**
245
- * An optional array of audio references. Audio references require a text prompt,
246
- * and the total combined duration must not exceed 15 seconds.
372
+ * An optional array of audio references. The total combined duration must not
373
+ * exceed 15 seconds.
247
374
  */
248
375
  referenceAudio?: Array<Seedance2.ReferenceAudio>;
249
376
 
@@ -347,8 +474,8 @@ export declare namespace VideoToVideoCreateParams {
347
474
  | '720:1280';
348
475
 
349
476
  /**
350
- * An optional array of audio references. Audio references require a text prompt,
351
- * and the total combined duration must not exceed 15 seconds.
477
+ * An optional array of audio references. The total combined duration must not
478
+ * exceed 15 seconds.
352
479
  */
353
480
  referenceAudio?: Array<Seedance2Fast.ReferenceAudio>;
354
481
 
@@ -452,8 +579,8 @@ export declare namespace VideoToVideoCreateParams {
452
579
  | '720:1280';
453
580
 
454
581
  /**
455
- * An optional array of audio references. Audio references require a text prompt,
456
- * and the total combined duration must not exceed 15 seconds.
582
+ * An optional array of audio references. The total combined duration must not
583
+ * exceed 15 seconds.
457
584
  */
458
585
  referenceAudio?: Array<Seedance2Mini.ReferenceAudio>;
459
586
 
@@ -543,6 +670,124 @@ export declare namespace VideoToVideoCreateParams {
543
670
  uri: string;
544
671
  }
545
672
  }
673
+
674
+ export interface Seedance2_5 {
675
+ model: 'seedance2_5';
676
+
677
+ /**
678
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
679
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
680
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
681
+ */
682
+ promptVideo: string;
683
+
684
+ /**
685
+ * Whether to generate audio for the video.
686
+ */
687
+ audio?: boolean;
688
+
689
+ /**
690
+ * The number of seconds of duration for the output video. Defaults to 5.
691
+ */
692
+ duration?: number;
693
+
694
+ /**
695
+ * How the input video is used. `reference` (the default) generates a new video
696
+ * conditioned on the input video and accepts `duration` and `ratio`. `extend`
697
+ * continues the input video, requires `promptText`, and matches the input aspect
698
+ * ratio, so `ratio` may not be provided.
699
+ */
700
+ mode?: 'reference' | 'extend';
701
+
702
+ /**
703
+ * An optional text prompt up to 15000 characters describing what should appear in
704
+ * the output.
705
+ */
706
+ promptText?: string;
707
+
708
+ /**
709
+ * The resolution of the output video. Seedance 2.5 supports 480p, 720p, and 1080p.
710
+ */
711
+ ratio?:
712
+ | '992:432'
713
+ | '854:480'
714
+ | '752:560'
715
+ | '640:640'
716
+ | '560:752'
717
+ | '480:854'
718
+ | '1470:630'
719
+ | '1280:720'
720
+ | '1112:834'
721
+ | '960:960'
722
+ | '834:1112'
723
+ | '720:1280'
724
+ | '2206:946'
725
+ | '1920:1080'
726
+ | '1664:1248'
727
+ | '1440:1440'
728
+ | '1248:1664'
729
+ | '1080:1920';
730
+
731
+ /**
732
+ * An optional array of audio references. The total combined duration must be less
733
+ * than 30 seconds.
734
+ */
735
+ referenceAudio?: Array<Seedance2_5.ReferenceAudio>;
736
+
737
+ /**
738
+ * An optional array of image references (up to 30). See
739
+ * [our docs](/assets/inputs#images) on image inputs for more information.
740
+ */
741
+ references?: Array<Seedance2_5.Reference>;
742
+
743
+ /**
744
+ * An optional array of video references. The combined duration across all video
745
+ * references must not exceed 30 seconds. See [our docs](/assets/inputs#videos) on
746
+ * video inputs for more information.
747
+ */
748
+ referenceVideos?: Array<Seedance2_5.ReferenceVideo>;
749
+ }
750
+
751
+ export namespace Seedance2_5 {
752
+ /**
753
+ * An audio reference allows the model to use the audio as additional context for
754
+ * the output.
755
+ */
756
+ export interface ReferenceAudio {
757
+ type: 'audio';
758
+
759
+ /**
760
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
761
+ * `data:audio/mp3;base64,...`, up to 16MB) containing an encoded audio. See
762
+ * [our docs](/assets/inputs#audio) on audio inputs for more information.
763
+ */
764
+ uri: string;
765
+ }
766
+
767
+ export interface Reference {
768
+ /**
769
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
770
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
771
+ * [our docs](/assets/inputs#images) on image inputs for more information.
772
+ */
773
+ uri: string;
774
+ }
775
+
776
+ /**
777
+ * A video reference allows the model to use the video as additional context for
778
+ * the output.
779
+ */
780
+ export interface ReferenceVideo {
781
+ type: 'video';
782
+
783
+ /**
784
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
785
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
786
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
787
+ */
788
+ uri: string;
789
+ }
790
+ }
546
791
  }
547
792
 
548
793
  export declare namespace VideoToVideo {
@@ -32,6 +32,25 @@ export interface VideoUpscaleCreateResponse {
32
32
  * The ID of the task that was created. Use this to retrieve the task later.
33
33
  */
34
34
  id: string;
35
+
36
+ /**
37
+ * The maximum credits this task may charge. The final amount may be lower after
38
+ * the task completes.
39
+ */
40
+ estimatedCost: VideoUpscaleCreateResponse.EstimatedCost;
41
+ }
42
+
43
+ export namespace VideoUpscaleCreateResponse {
44
+ /**
45
+ * The maximum credits this task may charge. The final amount may be lower after
46
+ * the task completes.
47
+ */
48
+ export interface EstimatedCost {
49
+ /**
50
+ * Estimated cost of the generation in credits.
51
+ */
52
+ credits: number;
53
+ }
35
54
  }
36
55
 
37
56
  export interface VideoUpscaleCreateParams {
@@ -35,6 +35,25 @@ export interface VoiceDubbingCreateResponse {
35
35
  * The ID of the task that was created. Use this to retrieve the task later.
36
36
  */
37
37
  id: string;
38
+
39
+ /**
40
+ * The maximum credits this task may charge. The final amount may be lower after
41
+ * the task completes.
42
+ */
43
+ estimatedCost: VoiceDubbingCreateResponse.EstimatedCost;
44
+ }
45
+
46
+ export namespace VoiceDubbingCreateResponse {
47
+ /**
48
+ * The maximum credits this task may charge. The final amount may be lower after
49
+ * the task completes.
50
+ */
51
+ export interface EstimatedCost {
52
+ /**
53
+ * Estimated cost of the generation in credits.
54
+ */
55
+ credits: number;
56
+ }
38
57
  }
39
58
 
40
59
  export interface VoiceDubbingCreateParams {
@@ -36,6 +36,25 @@ export interface VoiceIsolationCreateResponse {
36
36
  * The ID of the task that was created. Use this to retrieve the task later.
37
37
  */
38
38
  id: string;
39
+
40
+ /**
41
+ * The maximum credits this task may charge. The final amount may be lower after
42
+ * the task completes.
43
+ */
44
+ estimatedCost: VoiceIsolationCreateResponse.EstimatedCost;
45
+ }
46
+
47
+ export namespace VoiceIsolationCreateResponse {
48
+ /**
49
+ * The maximum credits this task may charge. The final amount may be lower after
50
+ * the task completes.
51
+ */
52
+ export interface EstimatedCost {
53
+ /**
54
+ * Estimated cost of the generation in credits.
55
+ */
56
+ credits: number;
57
+ }
39
58
  }
40
59
 
41
60
  export interface VoiceIsolationCreateParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '4.13.2'; // x-release-please-version
1
+ export const VERSION = '4.15.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.13.2";
1
+ export declare const VERSION = "4.15.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "4.13.2";
1
+ export declare const VERSION = "4.15.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.13.2'; // x-release-please-version
4
+ exports.VERSION = '4.15.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '4.13.2'; // x-release-please-version
1
+ export const VERSION = '4.15.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map