@runwayml/sdk 4.11.0 → 4.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/client.d.mts +2 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js.map +1 -1
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/avatar-videos.d.mts +3 -1
  10. package/resources/avatar-videos.d.mts.map +1 -1
  11. package/resources/avatar-videos.d.ts +3 -1
  12. package/resources/avatar-videos.d.ts.map +1 -1
  13. package/resources/avatars.d.mts +6 -2
  14. package/resources/avatars.d.mts.map +1 -1
  15. package/resources/avatars.d.ts +6 -2
  16. package/resources/avatars.d.ts.map +1 -1
  17. package/resources/character-performance.d.mts +10 -4
  18. package/resources/character-performance.d.mts.map +1 -1
  19. package/resources/character-performance.d.ts +10 -4
  20. package/resources/character-performance.d.ts.map +1 -1
  21. package/resources/character-performance.js +1 -1
  22. package/resources/character-performance.mjs +1 -1
  23. package/resources/generate/audio.d.mts +184 -0
  24. package/resources/generate/audio.d.mts.map +1 -0
  25. package/resources/generate/audio.d.ts +184 -0
  26. package/resources/generate/audio.d.ts.map +1 -0
  27. package/resources/generate/audio.js +18 -0
  28. package/resources/generate/audio.js.map +1 -0
  29. package/resources/generate/audio.mjs +14 -0
  30. package/resources/generate/audio.mjs.map +1 -0
  31. package/resources/generate/generate.d.mts +8 -0
  32. package/resources/generate/generate.d.mts.map +1 -1
  33. package/resources/generate/generate.d.ts +8 -0
  34. package/resources/generate/generate.d.ts.map +1 -1
  35. package/resources/generate/generate.js +8 -0
  36. package/resources/generate/generate.js.map +1 -1
  37. package/resources/generate/generate.mjs +8 -0
  38. package/resources/generate/generate.mjs.map +1 -1
  39. package/resources/generate/image.d.mts +173 -0
  40. package/resources/generate/image.d.mts.map +1 -0
  41. package/resources/generate/image.d.ts +173 -0
  42. package/resources/generate/image.d.ts.map +1 -0
  43. package/resources/generate/image.js +17 -0
  44. package/resources/generate/image.js.map +1 -0
  45. package/resources/generate/image.mjs +13 -0
  46. package/resources/generate/image.mjs.map +1 -0
  47. package/resources/generate/index.d.mts +2 -0
  48. package/resources/generate/index.d.mts.map +1 -1
  49. package/resources/generate/index.d.ts +2 -0
  50. package/resources/generate/index.d.ts.map +1 -1
  51. package/resources/generate/index.js +5 -1
  52. package/resources/generate/index.js.map +1 -1
  53. package/resources/generate/index.mjs +2 -0
  54. package/resources/generate/index.mjs.map +1 -1
  55. package/resources/generate/video.d.mts +17 -7
  56. package/resources/generate/video.d.mts.map +1 -1
  57. package/resources/generate/video.d.ts +17 -7
  58. package/resources/generate/video.d.ts.map +1 -1
  59. package/resources/image-to-video.d.mts +51 -17
  60. package/resources/image-to-video.d.mts.map +1 -1
  61. package/resources/image-to-video.d.ts +51 -17
  62. package/resources/image-to-video.d.ts.map +1 -1
  63. package/resources/image-upscale.d.mts +3 -1
  64. package/resources/image-upscale.d.mts.map +1 -1
  65. package/resources/image-upscale.d.ts +3 -1
  66. package/resources/image-upscale.d.ts.map +1 -1
  67. package/resources/index.d.mts +1 -1
  68. package/resources/index.d.mts.map +1 -1
  69. package/resources/index.d.ts +1 -1
  70. package/resources/index.d.ts.map +1 -1
  71. package/resources/index.js.map +1 -1
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/realtime-sessions.d.mts +25 -25
  74. package/resources/realtime-sessions.d.mts.map +1 -1
  75. package/resources/realtime-sessions.d.ts +25 -25
  76. package/resources/realtime-sessions.d.ts.map +1 -1
  77. package/resources/recipes.d.mts +48 -24
  78. package/resources/recipes.d.mts.map +1 -1
  79. package/resources/recipes.d.ts +48 -24
  80. package/resources/recipes.d.ts.map +1 -1
  81. package/resources/routers.d.mts +49 -49
  82. package/resources/routers.d.ts +49 -49
  83. package/resources/routers.js +1 -1
  84. package/resources/routers.mjs +1 -1
  85. package/resources/speech-to-speech.d.mts +6 -2
  86. package/resources/speech-to-speech.d.mts.map +1 -1
  87. package/resources/speech-to-speech.d.ts +6 -2
  88. package/resources/speech-to-speech.d.ts.map +1 -1
  89. package/resources/text-to-image.d.mts +36 -14
  90. package/resources/text-to-image.d.mts.map +1 -1
  91. package/resources/text-to-image.d.ts +36 -14
  92. package/resources/text-to-image.d.ts.map +1 -1
  93. package/resources/text-to-speech.d.mts +3 -1
  94. package/resources/text-to-speech.d.mts.map +1 -1
  95. package/resources/text-to-speech.d.ts +3 -1
  96. package/resources/text-to-speech.d.ts.map +1 -1
  97. package/resources/text-to-video.d.mts +27 -9
  98. package/resources/text-to-video.d.mts.map +1 -1
  99. package/resources/text-to-video.d.ts +27 -9
  100. package/resources/text-to-video.d.ts.map +1 -1
  101. package/resources/video-to-video.d.mts +51 -17
  102. package/resources/video-to-video.d.mts.map +1 -1
  103. package/resources/video-to-video.d.ts +51 -17
  104. package/resources/video-to-video.d.ts.map +1 -1
  105. package/resources/video-upscale.d.mts +3 -1
  106. package/resources/video-upscale.d.mts.map +1 -1
  107. package/resources/video-upscale.d.ts +3 -1
  108. package/resources/video-upscale.d.ts.map +1 -1
  109. package/resources/voice-dubbing.d.mts +3 -1
  110. package/resources/voice-dubbing.d.mts.map +1 -1
  111. package/resources/voice-dubbing.d.ts +3 -1
  112. package/resources/voice-dubbing.d.ts.map +1 -1
  113. package/resources/voice-isolation.d.mts +3 -1
  114. package/resources/voice-isolation.d.mts.map +1 -1
  115. package/resources/voice-isolation.d.ts +3 -1
  116. package/resources/voice-isolation.d.ts.map +1 -1
  117. package/resources/voices.d.mts +3 -1
  118. package/resources/voices.d.mts.map +1 -1
  119. package/resources/voices.d.ts +3 -1
  120. package/resources/voices.d.ts.map +1 -1
  121. package/resources/workflows.d.mts +9 -3
  122. package/resources/workflows.d.mts.map +1 -1
  123. package/resources/workflows.d.ts +9 -3
  124. package/resources/workflows.d.ts.map +1 -1
  125. package/src/client.ts +2 -0
  126. package/src/resources/avatar-videos.ts +3 -1
  127. package/src/resources/avatars.ts +6 -2
  128. package/src/resources/character-performance.ts +10 -4
  129. package/src/resources/generate/audio.ts +269 -0
  130. package/src/resources/generate/generate.ts +20 -0
  131. package/src/resources/generate/image.ts +208 -0
  132. package/src/resources/generate/index.ts +2 -0
  133. package/src/resources/generate/video.ts +17 -7
  134. package/src/resources/image-to-video.ts +51 -17
  135. package/src/resources/image-upscale.ts +3 -1
  136. package/src/resources/index.ts +1 -0
  137. package/src/resources/realtime-sessions.ts +29 -28
  138. package/src/resources/recipes.ts +48 -24
  139. package/src/resources/routers.ts +49 -49
  140. package/src/resources/speech-to-speech.ts +6 -2
  141. package/src/resources/text-to-image.ts +36 -14
  142. package/src/resources/text-to-speech.ts +3 -1
  143. package/src/resources/text-to-video.ts +27 -9
  144. package/src/resources/video-to-video.ts +51 -17
  145. package/src/resources/video-upscale.ts +3 -1
  146. package/src/resources/voice-dubbing.ts +3 -1
  147. package/src/resources/voice-isolation.ts +3 -1
  148. package/src/resources/voices.ts +3 -1
  149. package/src/resources/workflows.ts +9 -3
  150. package/src/version.ts +1 -1
  151. package/version.d.mts +1 -1
  152. package/version.d.ts +1 -1
  153. package/version.js +1 -1
  154. package/version.mjs +1 -1
@@ -103,7 +103,9 @@ export declare namespace RecipeAdLocalizationParams {
103
103
  */
104
104
  interface ReferenceImage {
105
105
  /**
106
- * A HTTPS URL.
106
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
107
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
108
+ * [our docs](/assets/inputs#images) on image inputs for more information.
107
109
  */
108
110
  uri: string;
109
111
  }
@@ -120,7 +122,7 @@ export interface RecipeMarketingStockImageParams {
120
122
  */
121
123
  version: '2026-06' | 'unsafe-latest';
122
124
  /**
123
- * The number of images to generate (1–4). Defaults to 4. Increasing this number
125
+ * The number of images to generate (1-4). Defaults to 4. Increasing this number
124
126
  * affects credits consumed.
125
127
  */
126
128
  outputCount?: number;
@@ -142,7 +144,9 @@ export declare namespace RecipeMarketingStockImageParams {
142
144
  */
143
145
  interface ReferenceImage {
144
146
  /**
145
- * A HTTPS URL.
147
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
148
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
149
+ * [our docs](/assets/inputs#images) on image inputs for more information.
146
150
  */
147
151
  uri: string;
148
152
  }
@@ -190,18 +194,20 @@ export declare namespace RecipeMultiShotVideoParams {
190
194
  */
191
195
  interface FirstFrame {
192
196
  /**
193
- * A HTTPS URL.
197
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
198
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
199
+ * [our docs](/assets/inputs#images) on image inputs for more information.
194
200
  */
195
201
  uri: string;
196
202
  }
197
203
  }
198
204
  interface Variant1 {
199
205
  /**
200
- * Workflow mode. `custom` polishes a user-provided shot list of 3–5 shots.
206
+ * Workflow mode. `custom` polishes a user-provided shot list of 3-5 shots.
201
207
  */
202
208
  mode: 'custom';
203
209
  /**
204
- * Shot list for custom mode (3–5 shots). Per-shot durations must sum to
210
+ * Shot list for custom mode (3-5 shots). Per-shot durations must sum to
205
211
  * `duration`.
206
212
  */
207
213
  shots: Array<Variant1.Shot>;
@@ -247,7 +253,9 @@ export declare namespace RecipeMultiShotVideoParams {
247
253
  */
248
254
  interface FirstFrame {
249
255
  /**
250
- * A HTTPS URL.
256
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
257
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
258
+ * [our docs](/assets/inputs#images) on image inputs for more information.
251
259
  */
252
260
  uri: string;
253
261
  }
@@ -255,7 +263,7 @@ export declare namespace RecipeMultiShotVideoParams {
255
263
  }
256
264
  export interface RecipeProductAdParams {
257
265
  /**
258
- * Product images (1–10). Multiple angles of the same product. All images inform
266
+ * Product images (1-10). Multiple angles of the same product. All images inform
259
267
  * product analysis and reference generation; only the first image is used as the
260
268
  * primary product reference in the storyboard grid. See
261
269
  * [our docs](/assets/inputs#images) on image inputs.
@@ -271,7 +279,7 @@ export interface RecipeProductAdParams {
271
279
  */
272
280
  audio?: boolean;
273
281
  /**
274
- * Duration of the output video in seconds (4–15). Defaults to 10 seconds.
282
+ * Duration of the output video in seconds (4-15). Defaults to 10 seconds.
275
283
  */
276
284
  duration?: number;
277
285
  /**
@@ -284,7 +292,7 @@ export interface RecipeProductAdParams {
284
292
  */
285
293
  ratio?: '1280:720' | '720:1280' | '960:960' | '834:1112' | '1920:1080' | '1080:1920' | '1440:1440' | '1248:1664';
286
294
  /**
287
- * Optional style reference images (0–4). Defines the visual treatment (lighting,
295
+ * Optional style reference images (0-4). Defines the visual treatment (lighting,
288
296
  * palette, mood). Treated as a moodboard when multiple are provided.
289
297
  */
290
298
  styleImages?: Array<RecipeProductAdParams.StyleImage>;
@@ -297,13 +305,17 @@ export interface RecipeProductAdParams {
297
305
  export declare namespace RecipeProductAdParams {
298
306
  interface ProductImage {
299
307
  /**
300
- * A HTTPS URL.
308
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
309
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
310
+ * [our docs](/assets/inputs#images) on image inputs for more information.
301
311
  */
302
312
  uri: string;
303
313
  }
304
314
  interface StyleImage {
305
315
  /**
306
- * A HTTPS URL.
316
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
317
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
318
+ * [our docs](/assets/inputs#images) on image inputs for more information.
307
319
  */
308
320
  uri: string;
309
321
  }
@@ -332,15 +344,17 @@ export declare namespace RecipeProductCampaignImageParams {
332
344
  */
333
345
  interface Image {
334
346
  /**
335
- * A HTTPS URL.
347
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
348
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
349
+ * [our docs](/assets/inputs#images) on image inputs for more information.
336
350
  */
337
351
  uri: string;
338
352
  }
339
353
  }
340
354
  export interface RecipeProductSwapParams {
341
355
  /**
342
- * Reference images of the new product (1–10). Supply multiple angles when the
343
- * reference video shows the product from different views — optionally label each
356
+ * Reference images of the new product (1-10). Supply multiple angles when the
357
+ * reference video shows the product from different views - optionally label each
344
358
  * with `view` ("front", "side", or "back"). A single pre-composed reference sheet
345
359
  * is also supported (omit `view`). See [our docs](/assets/inputs#images) on image
346
360
  * inputs.
@@ -366,7 +380,7 @@ export interface RecipeProductSwapParams {
366
380
  */
367
381
  audio?: boolean;
368
382
  /**
369
- * Duration of the output video in seconds (4–15). Defaults to 10 seconds.
383
+ * Duration of the output video in seconds (4-15). Defaults to 10 seconds.
370
384
  */
371
385
  duration?: number;
372
386
  /**
@@ -377,7 +391,9 @@ export interface RecipeProductSwapParams {
377
391
  export declare namespace RecipeProductSwapParams {
378
392
  interface NewProductImage {
379
393
  /**
380
- * A HTTPS URL.
394
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
395
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
396
+ * [our docs](/assets/inputs#images) on image inputs for more information.
381
397
  */
382
398
  uri: string;
383
399
  /**
@@ -392,7 +408,9 @@ export declare namespace RecipeProductSwapParams {
392
408
  */
393
409
  interface OriginalProductImage {
394
410
  /**
395
- * A HTTPS URL.
411
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
412
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
413
+ * [our docs](/assets/inputs#images) on image inputs for more information.
396
414
  */
397
415
  uri: string;
398
416
  }
@@ -402,7 +420,9 @@ export declare namespace RecipeProductSwapParams {
402
420
  */
403
421
  interface ReferenceVideo {
404
422
  /**
405
- * A HTTPS URL.
423
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
424
+ * `data:video/mp4;base64,...`, up to 16MB) containing an encoded video. See
425
+ * [our docs](/assets/inputs#videos) on video inputs for more information.
406
426
  */
407
427
  uri: string;
408
428
  }
@@ -430,11 +450,11 @@ export interface RecipeProductUgcParams {
430
450
  */
431
451
  audio?: boolean;
432
452
  /**
433
- * Duration of the output video in seconds (4–15). Defaults to 15 seconds.
453
+ * Duration of the output video in seconds (4-15). Defaults to 15 seconds.
434
454
  */
435
455
  duration?: number;
436
456
  /**
437
- * Product details and creative brief — what the product is, key benefits, and any
457
+ * Product details and creative brief - what the product is, key benefits, and any
438
458
  * specifics the script should reference.
439
459
  */
440
460
  productInfo?: string;
@@ -443,7 +463,7 @@ export interface RecipeProductUgcParams {
443
463
  */
444
464
  ratio?: '720:1280' | '1080:1920';
445
465
  /**
446
- * Optional creative direction for the UGC video — tone, voice register, specific
466
+ * Optional creative direction for the UGC video - tone, voice register, specific
447
467
  * message, or an entire dialog script.
448
468
  */
449
469
  userConcept?: string;
@@ -456,7 +476,9 @@ export declare namespace RecipeProductUgcParams {
456
476
  */
457
477
  interface CharacterImage {
458
478
  /**
459
- * A HTTPS URL.
479
+ * A HTTPS URL, Runway upload URI, or base64 data URI (e.g.
480
+ * `data:image/png;base64,...`, up to 5MB) containing an encoded image. See
481
+ * [our docs](/assets/inputs#images) on image inputs for more information.
460
482
  */
461
483
  uri: string;
462
484
  }
@@ -467,7 +489,9 @@ export declare namespace RecipeProductUgcParams {
467
489
  */
468
490
  interface ProductImage {
469
491
  /**
470
- * 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.
471
495
  */
472
496
  uri: string;
473
497
  }
@@ -1 +1 @@
1
- {"version":3,"file":"recipes.d.ts","sourceRoot":"","sources":["../src/resources/recipes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAC7D,OAAO,EAAE,2BAA2B,EAA0B,0BAAuB;AAErF,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;OAGG;IACH,cAAc,CACZ,IAAI,EAAE,0BA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B,IAAI,yBAAyB,EAC3D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -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,14 +72,14 @@ 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
  /**
80
80
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
81
- * the only allowed values. Each id must be a known public video model name
82
- * (unknown ids are rejected on create/update).
81
+ * the only allowed values. Each id must be a known public video or image model
82
+ * name (unknown ids are rejected on create/update).
83
83
  */
84
84
  models?: Settings.Models;
85
85
  /**
@@ -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;
@@ -99,8 +99,8 @@ export declare namespace RouterCreateResponse {
99
99
  }
100
100
  /**
101
101
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
102
- * the only allowed values. Each id must be a known public video model name
103
- * (unknown ids are rejected on create/update).
102
+ * the only allowed values. Each id must be a known public video or image model
103
+ * name (unknown ids are rejected on create/update).
104
104
  */
105
105
  interface Models {
106
106
  ids: Array<string>;
@@ -151,14 +151,14 @@ 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
  /**
159
159
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
160
- * the only allowed values. Each id must be a known public video model name
161
- * (unknown ids are rejected on create/update).
160
+ * the only allowed values. Each id must be a known public video or image model
161
+ * name (unknown ids are rejected on create/update).
162
162
  */
163
163
  models?: Settings.Models;
164
164
  /**
@@ -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;
@@ -178,8 +178,8 @@ export declare namespace RouterRetrieveResponse {
178
178
  }
179
179
  /**
180
180
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
181
- * the only allowed values. Each id must be a known public video model name
182
- * (unknown ids are rejected on create/update).
181
+ * the only allowed values. Each id must be a known public video or image model
182
+ * name (unknown ids are rejected on create/update).
183
183
  */
184
184
  interface Models {
185
185
  ids: Array<string>;
@@ -230,14 +230,14 @@ 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
  /**
238
238
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
239
- * the only allowed values. Each id must be a known public video model name
240
- * (unknown ids are rejected on create/update).
239
+ * the only allowed values. Each id must be a known public video or image model
240
+ * name (unknown ids are rejected on create/update).
241
241
  */
242
242
  models?: Settings.Models;
243
243
  /**
@@ -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;
@@ -257,8 +257,8 @@ export declare namespace RouterUpdateResponse {
257
257
  }
258
258
  /**
259
259
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
260
- * the only allowed values. Each id must be a known public video model name
261
- * (unknown ids are rejected on create/update).
260
+ * the only allowed values. Each id must be a known public video or image model
261
+ * name (unknown ids are rejected on create/update).
262
262
  */
263
263
  interface Models {
264
264
  ids: Array<string>;
@@ -312,14 +312,14 @@ 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
  /**
320
320
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
321
- * the only allowed values. Each id must be a known public video model name
322
- * (unknown ids are rejected on create/update).
321
+ * the only allowed values. Each id must be a known public video or image model
322
+ * name (unknown ids are rejected on create/update).
323
323
  */
324
324
  models?: Settings.Models;
325
325
  /**
@@ -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;
@@ -339,8 +339,8 @@ export declare namespace RouterListResponse {
339
339
  }
340
340
  /**
341
341
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
342
- * the only allowed values. Each id must be a known public video model name
343
- * (unknown ids are rejected on create/update).
342
+ * the only allowed values. Each id must be a known public video or image model
343
+ * name (unknown ids are rejected on create/update).
344
344
  */
345
345
  interface Models {
346
346
  ids: Array<string>;
@@ -379,14 +379,14 @@ 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
  /**
387
387
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
388
- * the only allowed values. Each id must be a known public video model name
389
- * (unknown ids are rejected on create/update).
388
+ * the only allowed values. Each id must be a known public video or image model
389
+ * name (unknown ids are rejected on create/update).
390
390
  */
391
391
  models?: Settings.Models;
392
392
  /**
@@ -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;
@@ -411,8 +411,8 @@ export declare namespace RouterCreateParams {
411
411
  }
412
412
  /**
413
413
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
414
- * the only allowed values. Each id must be a known public video model name
415
- * (unknown ids are rejected on create/update).
414
+ * the only allowed values. Each id must be a known public video or image model
415
+ * name (unknown ids are rejected on create/update).
416
416
  */
417
417
  interface Models {
418
418
  ids: Array<string>;
@@ -441,14 +441,14 @@ 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
  /**
449
449
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
450
- * the only allowed values. Each id must be a known public video model name
451
- * (unknown ids are rejected on create/update).
450
+ * the only allowed values. Each id must be a known public video or image model
451
+ * name (unknown ids are rejected on create/update).
452
452
  */
453
453
  models?: Settings.Models;
454
454
  /**
@@ -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;
@@ -473,8 +473,8 @@ export declare namespace RouterUpdateParams {
473
473
  }
474
474
  /**
475
475
  * When mode is allow_new_except, ids are excluded; when allowlist_only, ids are
476
- * the only allowed values. Each id must be a known public video model name
477
- * (unknown ids are rejected on create/update).
476
+ * the only allowed values. Each id must be a known public video or image model
477
+ * name (unknown ids are rejected on create/update).
478
478
  */
479
479
  interface Models {
480
480
  ids: Array<string>;