@nodaro/shared 3.55.0 → 3.57.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 (183) hide show
  1. package/dist/{chunk-MCIBQ5BF.js → chunk-2LRBQOKA.js} +9 -9
  2. package/dist/{chunk-MCIBQ5BF.js.map → chunk-2LRBQOKA.js.map} +1 -1
  3. package/dist/{chunk-OVIIJVXH.cjs → chunk-2LWHRJPB.cjs} +21 -21
  4. package/dist/{chunk-OVIIJVXH.cjs.map → chunk-2LWHRJPB.cjs.map} +1 -1
  5. package/dist/{chunk-C5S75476.js → chunk-3SH5ZUNJ.js} +9 -4
  6. package/dist/{chunk-C5S75476.js.map → chunk-3SH5ZUNJ.js.map} +1 -1
  7. package/dist/{chunk-KM35K2M5.cjs → chunk-4KKFO6YR.cjs} +143 -32
  8. package/dist/chunk-4KKFO6YR.cjs.map +1 -0
  9. package/dist/{chunk-3633VD2M.cjs → chunk-5SXI7IYW.cjs} +8 -8
  10. package/dist/{chunk-3633VD2M.cjs.map → chunk-5SXI7IYW.cjs.map} +1 -1
  11. package/dist/{chunk-ZKHQSG76.js → chunk-6NZWWMVY.js} +5 -5
  12. package/dist/chunk-6NZWWMVY.js.map +1 -0
  13. package/dist/{chunk-2OYV6K7D.cjs → chunk-7JM5EZF3.cjs} +13 -13
  14. package/dist/{chunk-2OYV6K7D.cjs.map → chunk-7JM5EZF3.cjs.map} +1 -1
  15. package/dist/chunk-ALVO5Q36.cjs +48 -0
  16. package/dist/chunk-ALVO5Q36.cjs.map +1 -0
  17. package/dist/{chunk-SEEQ3H22.cjs → chunk-ASSJKIZO.cjs} +59 -6
  18. package/dist/chunk-ASSJKIZO.cjs.map +1 -0
  19. package/dist/{chunk-HZL7QMXK.js → chunk-AWS4BWEC.js} +7 -3
  20. package/dist/chunk-AWS4BWEC.js.map +1 -0
  21. package/dist/chunk-BBMK5XNO.js +42 -0
  22. package/dist/chunk-BBMK5XNO.js.map +1 -0
  23. package/dist/{chunk-IPCWYKX5.cjs → chunk-BH2IDJVO.cjs} +60 -46
  24. package/dist/chunk-BH2IDJVO.cjs.map +1 -0
  25. package/dist/{chunk-HG3KKCJJ.js → chunk-C3E6UZS4.js} +3 -3
  26. package/dist/{chunk-HG3KKCJJ.js.map → chunk-C3E6UZS4.js.map} +1 -1
  27. package/dist/{chunk-N3WL6IOJ.js → chunk-D56ALOLY.js} +55 -5
  28. package/dist/chunk-D56ALOLY.js.map +1 -0
  29. package/dist/{chunk-SZUDEFX2.cjs → chunk-D5J332XS.cjs} +44 -39
  30. package/dist/{chunk-SZUDEFX2.cjs.map → chunk-D5J332XS.cjs.map} +1 -1
  31. package/dist/{chunk-ZWB3NG4M.js → chunk-EXCZD5ZY.js} +3 -3
  32. package/dist/{chunk-ZWB3NG4M.js.map → chunk-EXCZD5ZY.js.map} +1 -1
  33. package/dist/{chunk-5R6LTKE5.cjs → chunk-FFW2HTR2.cjs} +5 -5
  34. package/dist/{chunk-5R6LTKE5.cjs.map → chunk-FFW2HTR2.cjs.map} +1 -1
  35. package/dist/{chunk-KMSEU6FK.js → chunk-INGQNLY4.js} +3 -3
  36. package/dist/{chunk-KMSEU6FK.js.map → chunk-INGQNLY4.js.map} +1 -1
  37. package/dist/chunk-IOET54EV.js +39 -0
  38. package/dist/chunk-IOET54EV.js.map +1 -0
  39. package/dist/{chunk-3CHOZ573.js → chunk-IQS3WQXQ.js} +309 -18
  40. package/dist/chunk-IQS3WQXQ.js.map +1 -0
  41. package/dist/{chunk-2R74OU76.cjs → chunk-JYNW4QK7.cjs} +309 -17
  42. package/dist/chunk-JYNW4QK7.cjs.map +1 -0
  43. package/dist/{chunk-UWMXMLMV.js → chunk-KZTXGMVH.js} +3 -3
  44. package/dist/{chunk-UWMXMLMV.js.map → chunk-KZTXGMVH.js.map} +1 -1
  45. package/dist/{chunk-5DVDHL7Y.js → chunk-MBKJ7IBS.js} +21 -7
  46. package/dist/chunk-MBKJ7IBS.js.map +1 -0
  47. package/dist/{chunk-G7IUQKRU.cjs → chunk-NJTLBZIP.cjs} +51 -51
  48. package/dist/{chunk-G7IUQKRU.cjs.map → chunk-NJTLBZIP.cjs.map} +1 -1
  49. package/dist/{chunk-J4CVGAAV.cjs → chunk-NZRG5CXQ.cjs} +7 -2
  50. package/dist/chunk-NZRG5CXQ.cjs.map +1 -0
  51. package/dist/{chunk-AGTCHDG5.cjs → chunk-O33WVAYQ.cjs} +6 -6
  52. package/dist/{chunk-AGTCHDG5.cjs.map → chunk-O33WVAYQ.cjs.map} +1 -1
  53. package/dist/{chunk-WVACGZYV.cjs → chunk-OHQBQOGH.cjs} +8 -8
  54. package/dist/{chunk-WVACGZYV.cjs.map → chunk-OHQBQOGH.cjs.map} +1 -1
  55. package/dist/chunk-OWNPYQSH.cjs +283 -0
  56. package/dist/chunk-OWNPYQSH.cjs.map +1 -0
  57. package/dist/{chunk-C6IQCKJT.cjs → chunk-P5KH7GAI.cjs} +4 -4
  58. package/dist/{chunk-C6IQCKJT.cjs.map → chunk-P5KH7GAI.cjs.map} +1 -1
  59. package/dist/{chunk-25KAGSPT.js → chunk-QMP3W5GA.js} +3 -3
  60. package/dist/{chunk-25KAGSPT.js.map → chunk-QMP3W5GA.js.map} +1 -1
  61. package/dist/chunk-QSWUSXRL.cjs +53 -0
  62. package/dist/chunk-QSWUSXRL.cjs.map +1 -0
  63. package/dist/{chunk-E4YES25K.js → chunk-QTTVIQJP.js} +4 -4
  64. package/dist/{chunk-E4YES25K.js.map → chunk-QTTVIQJP.js.map} +1 -1
  65. package/dist/{chunk-6HUWQLF2.cjs → chunk-R3OIZ2BM.cjs} +6 -6
  66. package/dist/{chunk-6HUWQLF2.cjs.map → chunk-R3OIZ2BM.cjs.map} +1 -1
  67. package/dist/{chunk-YBZQXZ6A.js → chunk-R5GOPHYB.js} +115 -15
  68. package/dist/chunk-R5GOPHYB.js.map +1 -0
  69. package/dist/chunk-RKTWLAJO.cjs +27 -0
  70. package/dist/chunk-RKTWLAJO.cjs.map +1 -0
  71. package/dist/chunk-S7FCFQ6X.js +255 -0
  72. package/dist/chunk-S7FCFQ6X.js.map +1 -0
  73. package/dist/{chunk-HEF4BIMA.js → chunk-SWPTF7QJ.js} +4 -4
  74. package/dist/{chunk-HEF4BIMA.js.map → chunk-SWPTF7QJ.js.map} +1 -1
  75. package/dist/{chunk-LKCPFD5X.js → chunk-SWVGHAYO.js} +5 -3
  76. package/dist/chunk-SWVGHAYO.js.map +1 -0
  77. package/dist/{chunk-ZAK276QF.js → chunk-UFB36LWU.js} +4 -4
  78. package/dist/{chunk-ZAK276QF.js.map → chunk-UFB36LWU.js.map} +1 -1
  79. package/dist/{chunk-LYWJAXPT.js → chunk-UMPZR56R.js} +3 -3
  80. package/dist/{chunk-LYWJAXPT.js.map → chunk-UMPZR56R.js.map} +1 -1
  81. package/dist/{chunk-G5NTNQ7W.cjs → chunk-XROE3CAS.cjs} +5 -3
  82. package/dist/chunk-XROE3CAS.cjs.map +1 -0
  83. package/dist/{chunk-MTUNORQB.cjs → chunk-ZLSPGMES.cjs} +11 -11
  84. package/dist/{chunk-MTUNORQB.cjs.map → chunk-ZLSPGMES.cjs.map} +1 -1
  85. package/dist/{chunk-MGJR5OXO.js → chunk-ZPPFPQPO.js} +5 -5
  86. package/dist/{chunk-MGJR5OXO.js.map → chunk-ZPPFPQPO.js.map} +1 -1
  87. package/dist/{chunk-FIYVKW7F.cjs → chunk-ZSTL4JEJ.cjs} +12 -12
  88. package/dist/{chunk-FIYVKW7F.cjs.map → chunk-ZSTL4JEJ.cjs.map} +1 -1
  89. package/dist/entries/apps.cjs +43 -42
  90. package/dist/entries/apps.js +8 -7
  91. package/dist/entries/credits.cjs +151 -150
  92. package/dist/entries/credits.d.cts +4 -1
  93. package/dist/entries/credits.d.ts +4 -1
  94. package/dist/entries/credits.js +8 -7
  95. package/dist/entries/entities.cjs +125 -125
  96. package/dist/entries/entities.d.cts +1 -1
  97. package/dist/entries/entities.d.ts +1 -1
  98. package/dist/entries/entities.js +1 -1
  99. package/dist/entries/llm-models.d.cts +1 -1
  100. package/dist/entries/llm-models.d.ts +1 -1
  101. package/dist/entries/model-catalog.cjs +127 -66
  102. package/dist/entries/model-catalog.d.cts +61 -9
  103. package/dist/entries/model-catalog.d.ts +61 -9
  104. package/dist/entries/model-catalog.js +5 -4
  105. package/dist/entries/models.cjs +320 -276
  106. package/dist/entries/models.d.cts +3 -3
  107. package/dist/entries/models.d.ts +3 -3
  108. package/dist/entries/models.js +4 -4
  109. package/dist/entries/nodes.cjs +208 -207
  110. package/dist/entries/nodes.d.cts +1 -1
  111. package/dist/entries/nodes.d.ts +1 -1
  112. package/dist/entries/nodes.js +10 -9
  113. package/dist/entries/pipeline.cjs +161 -149
  114. package/dist/entries/pipeline.d.cts +165 -26
  115. package/dist/entries/pipeline.d.ts +165 -26
  116. package/dist/entries/pipeline.js +3 -3
  117. package/dist/entries/runtime-config.cjs +116 -0
  118. package/dist/entries/runtime-config.cjs.map +1 -0
  119. package/dist/entries/runtime-config.d.cts +308 -0
  120. package/dist/entries/runtime-config.d.ts +308 -0
  121. package/dist/entries/runtime-config.js +3 -0
  122. package/dist/entries/runtime-config.js.map +1 -0
  123. package/dist/entries/ugc.cjs +71 -71
  124. package/dist/entries/ugc.js +4 -4
  125. package/dist/entries/video.cjs +117 -117
  126. package/dist/entries/video.js +4 -4
  127. package/dist/entries/workflow.cjs +150 -146
  128. package/dist/entries/workflow.d.cts +8 -1
  129. package/dist/entries/workflow.d.ts +8 -1
  130. package/dist/entries/workflow.js +2 -2
  131. package/dist/index.cjs +3172 -2942
  132. package/dist/index.d.cts +6 -5
  133. package/dist/index.d.ts +6 -5
  134. package/dist/index.js +23 -21
  135. package/dist/{model-catalog-Dm2UiwUe.d.cts → model-catalog-CwkG9xi-.d.cts} +40 -4
  136. package/dist/{model-catalog-Dm2UiwUe.d.ts → model-catalog-CwkG9xi-.d.ts} +40 -4
  137. package/dist/{model-constants-DZUGVDOw.d.cts → model-constants-BbsZSVTA.d.cts} +57 -13
  138. package/dist/{model-constants-DZUGVDOw.d.ts → model-constants-BbsZSVTA.d.ts} +57 -13
  139. package/package.json +6 -1
  140. package/src/__tests__/fixtures/root-exports.baseline.json +2 -0
  141. package/src/__tests__/gpt-image-2-6.test.ts +277 -0
  142. package/src/__tests__/gvp-supported-providers.test.ts +2 -0
  143. package/src/__tests__/image-model-roles.test.ts +28 -9
  144. package/src/__tests__/runtime-config.test.ts +398 -0
  145. package/src/__tests__/seedance-25-catalog-modes.test.ts +35 -0
  146. package/src/__tests__/voice-library-values.test.ts +24 -0
  147. package/src/credit-identifiers.ts +45 -1
  148. package/src/entries/model-catalog.ts +17 -0
  149. package/src/entries/models.ts +13 -0
  150. package/src/entries/runtime-config.ts +51 -0
  151. package/src/entries/workflow.ts +1 -1
  152. package/src/gpt-image-2-6.ts +104 -0
  153. package/src/image-model-roles.ts +31 -10
  154. package/src/index.ts +1 -0
  155. package/src/model-catalog.ts +341 -17
  156. package/src/model-constants.ts +149 -9
  157. package/src/node-default-mappings.ts +5 -0
  158. package/src/node-refs.ts +11 -0
  159. package/src/pipeline-types.ts +2 -0
  160. package/src/reference-board-templates.ts +2 -0
  161. package/src/runtime-config/contract.ts +492 -0
  162. package/src/runtime-config/worlds.ts +77 -0
  163. package/src/video-ui-defaults.ts +2 -1
  164. package/src/voices.ts +175 -2
  165. package/dist/chunk-2R74OU76.cjs.map +0 -1
  166. package/dist/chunk-3CHOZ573.js.map +0 -1
  167. package/dist/chunk-5DVDHL7Y.js.map +0 -1
  168. package/dist/chunk-ATWLKUAI.cjs +0 -34
  169. package/dist/chunk-ATWLKUAI.cjs.map +0 -1
  170. package/dist/chunk-DUL5ZLTJ.js +0 -29
  171. package/dist/chunk-DUL5ZLTJ.js.map +0 -1
  172. package/dist/chunk-G5NTNQ7W.cjs.map +0 -1
  173. package/dist/chunk-HD45Y7QU.cjs +0 -27
  174. package/dist/chunk-HD45Y7QU.cjs.map +0 -1
  175. package/dist/chunk-HZL7QMXK.js.map +0 -1
  176. package/dist/chunk-IPCWYKX5.cjs.map +0 -1
  177. package/dist/chunk-J4CVGAAV.cjs.map +0 -1
  178. package/dist/chunk-KM35K2M5.cjs.map +0 -1
  179. package/dist/chunk-LKCPFD5X.js.map +0 -1
  180. package/dist/chunk-N3WL6IOJ.js.map +0 -1
  181. package/dist/chunk-SEEQ3H22.cjs.map +0 -1
  182. package/dist/chunk-YBZQXZ6A.js.map +0 -1
  183. package/dist/chunk-ZKHQSG76.js.map +0 -1
@@ -35,7 +35,7 @@ declare const IMAGE_PROMPT_MAX = 5000;
35
35
  * "native"); it lives here for the same reason as the rest — the snap drops or
36
36
  * replaces it for models that do not declare it.
37
37
  */
38
- declare const IMAGE_ASPECT_RATIO_VALUES: readonly ["auto", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "4:1", "1:4", "8:1", "1:8", "27:16", "16:27", "9:8", "8:9"];
38
+ declare const IMAGE_ASPECT_RATIO_VALUES: readonly ["auto", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "4:1", "1:4", "8:1", "1:8", "27:16", "16:27", "9:8", "8:9", "2:1", "1:2", "9:21", "3:1", "1:3"];
39
39
  /** A ratio string the image routes accept (pre-snap vocabulary, not a per-model guarantee). */
40
40
  type ImageAspectRatio = typeof IMAGE_ASPECT_RATIO_VALUES[number];
41
41
  /**
@@ -48,8 +48,11 @@ type ImageAspectRatio = typeof IMAGE_ASPECT_RATIO_VALUES[number];
48
48
  declare const IMAGE_RESOLUTION_VALUES: readonly ["1K", "2K", "4K", "0.5 MP", "1 MP", "2 MP", "4 MP"];
49
49
  type ImageResolution = typeof IMAGE_RESOLUTION_VALUES[number];
50
50
  /** The `quality` vocabulary of the same two routes (vocabulary bound; the catalog snap gates per model). */
51
- declare const IMAGE_QUALITY_VALUES: readonly ["medium", "high", "basic"];
51
+ declare const IMAGE_QUALITY_VALUES: readonly ["auto", "low", "medium", "high", "xhigh", "max", "basic"];
52
52
  type ImageQuality = typeof IMAGE_QUALITY_VALUES[number];
53
+ /** The `background` vocabulary of the same two routes (vocabulary bound; the catalog snap gates per model). */
54
+ declare const IMAGE_BACKGROUND_VALUES: readonly ["auto", "opaque", "transparent"];
55
+ type ImageBackground = typeof IMAGE_BACKGROUND_VALUES[number];
53
56
  /** The `renderingSpeed` vocabulary (Ideogram's speed tiers — see {@link RENDERING_SPEED_SUPPORT}). */
54
57
  declare const IMAGE_RENDERING_SPEED_VALUES: readonly ["TURBO", "BALANCED", "QUALITY"];
55
58
  type ImageRenderingSpeed = typeof IMAGE_RENDERING_SPEED_VALUES[number];
@@ -317,14 +320,23 @@ declare const DEFAULT_REF_IMAGE_MAX = 4;
317
320
  * reader reads this map verbatim — do NOT "fix" these to the schema maxima.
318
321
  */
319
322
  declare function imageReferenceLimit(provider: string | undefined): number;
323
+ /** The most input images one request may carry, on a model with no row below. */
324
+ declare const DEFAULT_REQUEST_IMAGE_LIMIT = 14;
325
+ /** The largest per-model limit: the outer bound of the routes' array schemas. */
326
+ declare const MAX_REQUEST_IMAGE_LIMIT: number;
327
+ /**
328
+ * The most input images one request may carry for `provider` (a text-to-image
329
+ * id reads its edit sibling's row, the model that consumes them).
330
+ */
331
+ declare function requestImageLimit(provider: string | undefined): number;
320
332
  declare const VARIABLE_PRICING_MODELS: Record<string, "quality" | "resolution" | "rendering-speed">;
321
333
  declare const HIGH_QUALITY_PROVIDERS: Set<string>;
322
334
  declare const TWO_K_RESOLUTION_PROVIDERS: Set<string>;
323
335
  declare const IDEOGRAM_PROVIDERS: Set<string>;
324
336
  /** Text-to-image providers (no input image required) */
325
- declare const IMAGE_GEN_PROVIDERS: readonly ["nano-banana", "flux", "nano-banana-pro", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "grok", "grok-2", "gpt-image", "gpt-image-2", "gpt-image-2-5-flare", "gpt-image-2-5-sunburst", "imagen4", "imagen4-fast", "imagen4-ultra", "ideogram-v3", "qwen", "seedream", "seedream-5-lite", "seedream-5-pro", "seedream-5-flash", "flux-flex", "flux-kontext", "flux-kontext-max", "z-image", "wan-2.7", "wan-2.7-pro", "flux-2-klein", "flux-2-pro", "flux-2-max"];
337
+ declare const IMAGE_GEN_PROVIDERS: readonly ["nano-banana", "flux", "nano-banana-pro", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "grok", "grok-2", "gpt-image", "gpt-image-2", "gpt-image-2-5-flare", "gpt-image-2-5-sunburst", "gpt-image-2-6-flare", "gpt-image-2-6-sunburst", "gpt-image-2-6-economy", "imagen4", "imagen4-fast", "imagen4-ultra", "ideogram-v3", "qwen", "seedream", "seedream-5-lite", "seedream-5-pro", "seedream-5-flash", "flux-flex", "flux-kontext", "flux-kontext-max", "z-image", "wan-2.7", "wan-2.7-pro", "flux-2-klein", "flux-2-pro", "flux-2-max"];
326
338
  /** Image-to-image providers (require input image) */
327
- declare const IMAGE_I2I_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill"];
339
+ declare const IMAGE_I2I_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "gpt-image-2-6-flare-i2i", "gpt-image-2-6-sunburst-i2i", "gpt-image-2-6-economy-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill"];
328
340
  /**
329
341
  * Image editing providers (upscale, remove bg, etc.)
330
342
  *
@@ -353,7 +365,7 @@ declare const TASK_CHAINED_EDIT_PROVIDER_IDS: readonly ["grok-2-edit", "grok-2-s
353
365
  type TaskChainedEditProvider = typeof TASK_CHAINED_EDIT_PROVIDER_IDS[number];
354
366
  declare const TASK_CHAINED_EDIT_PROVIDERS: ReadonlySet<string>;
355
367
  /** Modify image providers (I2I + edit-with-prompt) */
356
- declare const MODIFY_IMAGE_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill", "nano-banana-edit"];
368
+ declare const MODIFY_IMAGE_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "gpt-image-2-6-flare-i2i", "gpt-image-2-6-sunburst-i2i", "gpt-image-2-6-economy-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill", "nano-banana-edit"];
357
369
  type ModifyImageProvider = typeof MODIFY_IMAGE_PROVIDERS[number];
358
370
  /** Image upscale providers */
359
371
  declare const UPSCALE_IMAGE_PROVIDERS: readonly ["recraft-upscale", "topaz-image-upscale"];
@@ -362,13 +374,13 @@ type ImageGenProvider = typeof IMAGE_GEN_PROVIDERS[number];
362
374
  type ImageI2IProvider = typeof IMAGE_I2I_PROVIDERS[number];
363
375
  type ImageEditProvider = typeof IMAGE_EDIT_PROVIDERS[number];
364
376
  /** Image-to-video providers */
365
- declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
377
+ declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
366
378
  type ImageToVideoProvider = typeof IMAGE_TO_VIDEO_PROVIDERS[number];
367
379
  /** Text-to-video providers */
368
- declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
380
+ declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
369
381
  type TextToVideoProvider = typeof TEXT_TO_VIDEO_PROVIDERS[number];
370
382
  /** Unified video-generation providers (image-to-video ∪ text-to-video) for the generate-video node. */
371
- declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
383
+ declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "gemini-omni-flash-1-2" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
372
384
  type VideoGenProvider = typeof VIDEO_GEN_PROVIDERS[number];
373
385
  /**
374
386
  * Video models that expose DISTINCT provider ids per mode (text-to-video vs
@@ -575,6 +587,23 @@ type MotionTransferProviderType = typeof MOTION_TRANSFER_PROVIDERS[number];
575
587
  /** Text-to-speech providers */
576
588
  declare const TTS_PROVIDERS: readonly ["elevenlabs-v3", "elevenlabs-v4", "elevenlabs-v4-turbo", "elevenlabs-turbo", "elevenlabs-multilingual", "elevenlabs"];
577
589
  type TtsProvider = typeof TTS_PROVIDERS[number];
590
+ /**
591
+ * The file a speech request can ask for (`outputFormat` on `/v1/text-to-speech`
592
+ * and the `text-to-speech` node run), named as the vendor names its formats:
593
+ * `codec_samplerate_bitrate`. Omitted ⇒ the first, which is exactly what every
594
+ * request delivered before the field existed. The list is deliberately short:
595
+ * the three the hosted deployment's vendor account serves (measured 2026-11-08);
596
+ * a self-hosted install's account must serve them too, or a run asking for one
597
+ * fails with the vendor's own message.
598
+ */
599
+ declare const TTS_OUTPUT_FORMATS: readonly ["mp3_44100_128", "mp3_44100_192", "wav_24000"];
600
+ type TtsOutputFormat = typeof TTS_OUTPUT_FORMATS[number];
601
+ declare const DEFAULT_TTS_OUTPUT_FORMAT: TtsOutputFormat;
602
+ /** How each format is stored and served: the file extension and the MIME type. */
603
+ declare const TTS_OUTPUT_FORMAT_FILES: Readonly<Record<TtsOutputFormat, {
604
+ readonly ext: "mp3" | "wav";
605
+ readonly mime: "audio/mpeg" | "audio/wav";
606
+ }>>;
578
607
  /**
579
608
  * Text-to-dialogue models (the `provider` of `/v1/text-to-dialogue` and of the
580
609
  * Text to Dialogue node). Each IS its catalog id and its credit identifier.
@@ -924,6 +953,20 @@ declare function kling4KeyframeFrameCap(durationSec: number | string | undefined
924
953
  */
925
954
  declare const GEMINI_OMNI_PROVIDERS: Set<string>;
926
955
  declare function isGeminiOmniProvider(provider: string | undefined): boolean;
956
+ /**
957
+ * The Gemini Omni SKUs billed per second of video (Gemini Omni Flash 1.2). What
958
+ * the family shares (V2V through the i2v handle, the panels) comes from
959
+ * {@link GEMINI_OMNI_PROVIDERS}. These differ in two ways: the price is a
960
+ * `:<N>s:<res>` ladder, and a run with a source video bills that clip's own
961
+ * seconds and nothing else (the output follows the clip), so they also answer
962
+ * {@link billsReferenceVideoSeconds}.
963
+ */
964
+ declare const GEMINI_OMNI_PER_SECOND_PROVIDERS: Set<string>;
965
+ declare function isGeminiOmniPerSecondProvider(provider: string | undefined): boolean;
966
+ /** The longest source clip Gemini Omni Flash 1.2 takes (docs.kie.ai/market/google/gemini-omni-flash-1-2). */
967
+ declare const GEMINI_OMNI_12_MAX_SOURCE_SEC = 15;
968
+ /** The widest trim window a request may set on a Gemini Omni source clip, in seconds. */
969
+ declare function videoSourceTrimMaxSec(provider: string | undefined): number;
927
970
  /**
928
971
  * Video models that are CATALOGUED and priced but have NO working dispatch
929
972
  * path today — selecting one fails at the router, not at validation.
@@ -1259,8 +1302,9 @@ declare function checkRefVideoDurations(provider: string, durationsSec: readonly
1259
1302
  declare const VIDEO_REF_RATE_PROVIDERS: Set<string>;
1260
1303
  /**
1261
1304
  * Video models whose reference-VIDEO runs also bill the clips' own seconds:
1262
- * the Seedance 2 family (`unit × (input + output)`) and the
1263
- * VIDEO_REF_RATE_PROVIDERS (Kling 4.0: `unit × (output + max(output, input))`).
1305
+ * the Seedance 2 family (`unit × (input + output)`), the
1306
+ * VIDEO_REF_RATE_PROVIDERS (Kling 4.0: `unit × (output + max(output, input))`)
1307
+ * and the per-second Gemini Omni SKUs (`unit × source clip`, the output follows it).
1264
1308
  * The reservation holds the worst case from the probed clips and the
1265
1309
  * settlement meters down to what was delivered (backend
1266
1310
  * ee/billing/seedance2-ref-video-credits.ts) — this is the one gate every lane
@@ -1327,8 +1371,8 @@ declare function videoProviderRequiresImage(provider: string | undefined): boole
1327
1371
  * reference mode takes a lone last frame as the sole reference image plus a
1328
1372
  * closing-frame prompt hint. NOTHING else does: VEO ships `[imageUrl,
1329
1373
  * endFrameUrl]` verbatim (a lone end frame would reach KIE as `[null, url]`),
1330
- * the Gemini Omni branch drops the frame when there is no start frame, and the
1331
- * generic KIE path sends `end_frame` with no image param at all. So the
1374
+ * the per-clip Gemini Omni branch drops the frame when there is no start frame (Omni
1375
+ * Flash 1.2 folds it, with its own builder), and the generic KIE path sends `end_frame` with no image param at all. So the
1332
1376
  * exemption is keyed to the FOLD, not to "carries image references" — the
1333
1377
  * catalog has no capability for it, and these three family predicates are the
1334
1378
  * same membership the provider layer itself branches on (the backend's
@@ -1673,4 +1717,4 @@ declare function applyDefaultVideoSelection<D>(input: {
1673
1717
  duration: D | number | undefined;
1674
1718
  };
1675
1719
 
1676
- export { IMAGE_TO_VIDEO_PROVIDERS as $, AI_WRITER_PROVIDERS as A, GVP_ANCHOR_CHOICES as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_PROVIDERS as G, GVP_DEFAULT_PROVIDER as H, GVP_END_FRAME_PROVIDERS as I, GVP_EXTEND_PROVIDERS as J, GVP_SUPPORTED_PROVIDERS as K, type GvpAnchorChoice as L, type GvpAnchorWireMode as M, HIGH_QUALITY_PROVIDERS as N, I2I_MASK_SUPPORT as O, I2I_STRENGTH_SUPPORT as P, IDEOGRAM_PROVIDERS as Q, IMAGE_ASPECT_RATIO_VALUES as R, IMAGE_EDIT_PROVIDERS as S, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as T, IMAGE_GEN_PROVIDERS as U, IMAGE_I2I_PROVIDERS as V, IMAGE_MASK_MODE as W, IMAGE_PROMPT_MAX as X, IMAGE_QUALITY_VALUES as Y, IMAGE_RENDERING_SPEED_VALUES as Z, IMAGE_RESOLUTION_VALUES as _, ASPECT_RATIO_DIMENSIONS as a, SEEDANCE_VIDEO_EDIT_SHAPE as a$, type ImageAspectRatio as a0, type ImageEditProvider as a1, type ImageEditTargetResolution as a2, type ImageGenProvider as a3, type ImageI2IProvider as a4, type ImageMaskMode as a5, type ImageQuality as a6, type ImageRenderingSpeed as a7, type ImageResolution as a8, type ImageToVideoProvider as a9, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aA, NEGATIVE_PROMPT_MAX as aB, OBJECT_MOTION_PROVIDERS as aC, type ObjectMotionProvider as aD, PRICING_DEFAULT_DURATION_SEC as aE, PRICING_DEFAULT_RESOLUTION as aF, PROMPT_HARD_CEILING as aG, QA_CHECK_PROVIDERS as aH, type QaCheckProvider as aI, REF_IMAGE_MAX_LIMITS as aJ, RENDERING_SPEED_SUPPORT as aK, REPLICATE_LIP_SYNC_PROVIDERS as aL, RETIRED_VIDEO_PROVIDERS as aM, type RefAudioCheck as aN, type RefAudioProbe as aO, type RefAudioRule as aP, type RefVideoDurationLimit as aQ, SCRIPT_PROVIDERS as aR, SEEDANCE_2_5_REF_LIMITS as aS, SEEDANCE_2_CONTINUATION_REF_SEC as aT, SEEDANCE_2_EXTEND_STITCH as aU, SEEDANCE_2_PROVIDERS as aV, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as aW, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as aX, SEEDANCE_2_REF_LIMITS as aY, SEEDANCE_LIP_SYNC_PROVIDERS as aZ, SEEDANCE_VIDEO_EDIT_PROVIDERS as a_, KLING_4_DEFAULT_RESOLUTION as aa, KLING_4_MAX_MIDDLE_FRAMES as ab, KLING_4_PROVIDERS as ac, LIP_SYNC_PROVIDERS as ad, LLM_TEXT_INPUT_MAX as ae, LOCATION_ATMOSPHERE_PROVIDERS as af, type LipSyncProvider as ag, type LocationAtmosphereProvider as ah, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ai, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aj, MAX_TTS_CHARS_BY_PROVIDER as ak, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as al, MINIMAX_H3_DEFAULT_RESOLUTION as am, MINIMAX_H3_PROVIDERS as an, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as ao, MODIFY_IMAGE_PROVIDERS as ap, MOTION_TRANSFER_PROVIDERS as aq, MUSIC_CREDIT_ID as ar, MUSIC_PROVIDERS as as, MUSIC_PROVIDER_LABELS as at, type ModelPromptingStyle as au, type ModifyImageProvider as av, type MotionTransferProviderType as aw, type MusicProvider as ax, NATIVE_ADAPTIVE_ASPECT as ay, NATIVE_NEGATIVE_PROMPT_MODELS as az, AUDIO_ADDON_PROVIDERS as b, type VideoReferenceSyntax as b$, SEED_SUPPORT as b0, SUNO_ACTIVE_MODELS as b1, SUNO_ADD_TRACK_MODELS as b2, SUNO_DURATION_MODELS as b3, SUNO_HARD_CEILING as b4, SUNO_LEGACY_MODELS as b5, SUNO_MODELS as b6, SUNO_TEXT_MAX as b7, SUNO_TITLE_MAX as b8, type SceneInputMode as b9, VIDEO_AUDIO_CAPABILITY as bA, VIDEO_DURATION_TIERS as bB, VIDEO_GEN_COLLAPSED_T2V_IDS as bC, VIDEO_GEN_PROVIDERS as bD, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bE, VIDEO_MODEL_CAPS as bF, VIDEO_MODE_ALIASES as bG, VIDEO_PROMPT_MAX as bH, VIDEO_PROVIDERS_REQUIRING_IMAGE as bI, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bJ, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bK, VIDEO_REF_AUDIO_RULES as bL, VIDEO_REF_LIMITS_BY_PROVIDER as bM, VIDEO_REF_RATE_PROVIDERS as bN, VIDEO_REF_VIDEO_DURATION_LIMITS as bO, VIDEO_TO_VIDEO_NODE_PROVIDERS as bP, VIDEO_TO_VIDEO_PROVIDERS as bQ, VIDEO_UPSCALE_PROVIDERS as bR, VIDEO_VARIABLE_PRICING as bS, VIDU_Q4_DEFAULT_RESOLUTION as bT, VIDU_Q4_PROVIDERS as bU, VOICE_DESIGN_MODELS as bV, type VideoAudioCapability as bW, type VideoAudioMode as bX, type VideoGenProvider as bY, type VideoModeAlias as bZ, type VideoModelCapabilities as b_, SceneInputModeSchema as ba, type ScriptProvider as bb, type SeedanceVideoEditProvider as bc, type SunoAddTrackModel as bd, type SunoModel as be, T2I_TO_I2I_VARIANT as bf, TASK_CHAINED_EDIT_PROVIDERS as bg, TASK_CHAINED_EDIT_PROVIDER_IDS as bh, TEXT_TO_AUDIO_PROVIDERS as bi, TEXT_TO_VIDEO_PROVIDERS as bj, TRANSCRIBE_LANES as bk, TRANSCRIBE_PROVIDERS as bl, TRANSCRIBE_PROVIDER_CAPABILITIES as bm, TTS_PROVIDERS as bn, TTS_TEXT_MAX as bo, TWO_K_RESOLUTION_PROVIDERS as bp, type TaskChainedEditProvider as bq, type TextToAudioProvider as br, type TextToVideoProvider as bs, type TranscribeLane as bt, type TranscribeProvider as bu, type TtsProvider as bv, UPSCALE_IMAGE_PROVIDERS as bw, type UpscaleImageProvider as bx, VARIABLE_PRICING_MODELS as by, VEO_PROVIDERS as bz, type AiWriterProvider as c, videoProviderAppendsFrames as c$, type VideoToVideoNodeProvider as c0, type VideoToVideoProvider as c1, type VideoUpscaleProvider as c2, type VoiceDesignModel as c3, WAN_3_DEFAULT_RESOLUTION as c4, WAN_3_PROVIDERS as c5, applyDefaultVideoSelection as c6, applyVideoAudioToggle as c7, applyVideoNegativePrompt as c8, billsReferenceVideoSeconds as c9, maxSegmentsFor as cA, maxVideoDurationSec as cB, minSegmentSecFor as cC, modelsForInputMode as cD, normalizeKling4Resolution as cE, normalizeMinimaxH3Resolution as cF, normalizeViduQ4Resolution as cG, normalizeWan3Resolution as cH, preferredInputModeForModel as cI, pricedOutputDurationSec as cJ, resolveGvpAnchorWire as cK, resolveMusicProvider as cL, resolveVideoModeForInputs as cM, resolveVideoProviderForMode as cN, seedance2AudioLimitSec as cO, segmentDurationsFor as cP, snapToNearestDuration as cQ, sunoModelHonoursDuration as cR, supportsAutoVideoDuration as cS, supportsEndAnchor as cT, supportsExtendRender as cU, transcribeLaneSupportsWordTimestamps as cV, transcribeProvidersWithWordTimestamps as cW, videoDefaultDurationSec as cX, videoModelCanSpeakDialogue as cY, videoModelSupportsAudio as cZ, videoNegativeSuffix as c_, canonicalVideoProvider as ca, checkRefAudioRules as cb, checkRefVideoDurations as cc, defaultVideoAspectRatio as cd, findSeedance2AudioOverLimit as ce, getMaxImagePromptChars as cf, getMaxNegativePromptChars as cg, getMaxSunoPromptChars as ch, getMaxSunoStyleChars as ci, getMaxTtsChars as cj, getMaxVideoPromptChars as ck, getVideoAudioCapability as cl, hasContiguousSegmentDurations as cm, imageReferenceLimit as cn, isGeminiOmniProvider as co, isGvpSupportedProvider as cp, isKling4Provider as cq, isLegacySunoModel as cr, isMinimaxH3Provider as cs, isSeedance2Provider as ct, isSeedanceVideoEditProvider as cu, isVeoProvider as cv, isViduQ4Provider as cw, isWan3Provider as cx, kling4KeyframeFrameCap as cy, maxSegmentSecFor as cz, COMPOSER_PLAN_FIELDS as d, videoProviderFoldsLoneEndFrame as d0, videoProviderRefModeFrameSeats as d1, videoProviderReferenceSyntax as d2, videoProviderRequiresImage as d3, videoProviderRunsFromReferences as d4, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_SUNO_MODEL as j, DEFAULT_TEXT_TO_AUDIO_PROVIDER as k, DEFAULT_TRANSCRIBE_NODE_PROVIDER as l, DEFAULT_TRANSCRIBE_PROVIDER as m, DEFAULT_TTS_PROVIDER as n, DEFAULT_VIDEO_DURATION_SEC as o, DEFAULT_VIDEO_PROVIDER as p, DEFAULT_VOICE_DESIGN_MODEL as q, DIALOGUE_PROVIDERS as r, DURATION_PRICED_PROVIDERS as s, type DialogueProvider as t, type ExtendVideoProvider as u, FAL_LIP_SYNC_PROVIDERS as v, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as w, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as x, type FaceSwapProvider as y, GUIDANCE_SCALE_SUPPORT as z };
1720
+ export { IMAGE_MASK_MODE as $, AI_WRITER_PROVIDERS as A, type FaceSwapProvider as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_12_MAX_SOURCE_SEC as G, GEMINI_OMNI_PER_SECOND_PROVIDERS as H, GEMINI_OMNI_PROVIDERS as I, GUIDANCE_SCALE_SUPPORT as J, GVP_ANCHOR_CHOICES as K, GVP_DEFAULT_PROVIDER as L, GVP_END_FRAME_PROVIDERS as M, GVP_EXTEND_PROVIDERS as N, GVP_SUPPORTED_PROVIDERS as O, type GvpAnchorChoice as P, type GvpAnchorWireMode as Q, HIGH_QUALITY_PROVIDERS as R, I2I_MASK_SUPPORT as S, I2I_STRENGTH_SUPPORT as T, IDEOGRAM_PROVIDERS as U, IMAGE_ASPECT_RATIO_VALUES as V, IMAGE_BACKGROUND_VALUES as W, IMAGE_EDIT_PROVIDERS as X, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as Y, IMAGE_GEN_PROVIDERS as Z, IMAGE_I2I_PROVIDERS as _, ASPECT_RATIO_DIMENSIONS as a, SEEDANCE_2_EXTEND_STITCH as a$, IMAGE_PROMPT_MAX as a0, IMAGE_QUALITY_VALUES as a1, IMAGE_RENDERING_SPEED_VALUES as a2, IMAGE_RESOLUTION_VALUES as a3, IMAGE_TO_VIDEO_PROVIDERS as a4, type ImageAspectRatio as a5, type ImageBackground as a6, type ImageEditProvider as a7, type ImageEditTargetResolution as a8, type ImageGenProvider as a9, MUSIC_PROVIDER_LABELS as aA, type ModelPromptingStyle as aB, type ModifyImageProvider as aC, type MotionTransferProviderType as aD, type MusicProvider as aE, NATIVE_ADAPTIVE_ASPECT as aF, NATIVE_NEGATIVE_PROMPT_MODELS as aG, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aH, NEGATIVE_PROMPT_MAX as aI, OBJECT_MOTION_PROVIDERS as aJ, type ObjectMotionProvider as aK, PRICING_DEFAULT_DURATION_SEC as aL, PRICING_DEFAULT_RESOLUTION as aM, PROMPT_HARD_CEILING as aN, QA_CHECK_PROVIDERS as aO, type QaCheckProvider as aP, REF_IMAGE_MAX_LIMITS as aQ, RENDERING_SPEED_SUPPORT as aR, REPLICATE_LIP_SYNC_PROVIDERS as aS, RETIRED_VIDEO_PROVIDERS as aT, type RefAudioCheck as aU, type RefAudioProbe as aV, type RefAudioRule as aW, type RefVideoDurationLimit as aX, SCRIPT_PROVIDERS as aY, SEEDANCE_2_5_REF_LIMITS as aZ, SEEDANCE_2_CONTINUATION_REF_SEC as a_, type ImageI2IProvider as aa, type ImageMaskMode as ab, type ImageQuality as ac, type ImageRenderingSpeed as ad, type ImageResolution as ae, type ImageToVideoProvider as af, KLING_4_DEFAULT_RESOLUTION as ag, KLING_4_MAX_MIDDLE_FRAMES as ah, KLING_4_PROVIDERS as ai, LIP_SYNC_PROVIDERS as aj, LLM_TEXT_INPUT_MAX as ak, LOCATION_ATMOSPHERE_PROVIDERS as al, type LipSyncProvider as am, type LocationAtmosphereProvider as an, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ao, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as ap, MAX_REQUEST_IMAGE_LIMIT as aq, MAX_TTS_CHARS_BY_PROVIDER as ar, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as as, MINIMAX_H3_DEFAULT_RESOLUTION as at, MINIMAX_H3_PROVIDERS as au, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as av, MODIFY_IMAGE_PROVIDERS as aw, MOTION_TRANSFER_PROVIDERS as ax, MUSIC_CREDIT_ID as ay, MUSIC_PROVIDERS as az, AUDIO_ADDON_PROVIDERS as b, VIDEO_UPSCALE_PROVIDERS as b$, SEEDANCE_2_PROVIDERS as b0, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as b1, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as b2, SEEDANCE_2_REF_LIMITS as b3, SEEDANCE_LIP_SYNC_PROVIDERS as b4, SEEDANCE_VIDEO_EDIT_PROVIDERS as b5, SEEDANCE_VIDEO_EDIT_SHAPE as b6, SEED_SUPPORT as b7, SUNO_ACTIVE_MODELS as b8, SUNO_ADD_TRACK_MODELS as b9, type TextToAudioProvider as bA, type TextToVideoProvider as bB, type TranscribeLane as bC, type TranscribeProvider as bD, type TtsOutputFormat as bE, type TtsProvider as bF, UPSCALE_IMAGE_PROVIDERS as bG, type UpscaleImageProvider as bH, VARIABLE_PRICING_MODELS as bI, VEO_PROVIDERS as bJ, VIDEO_AUDIO_CAPABILITY as bK, VIDEO_DURATION_TIERS as bL, VIDEO_GEN_COLLAPSED_T2V_IDS as bM, VIDEO_GEN_PROVIDERS as bN, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bO, VIDEO_MODEL_CAPS as bP, VIDEO_MODE_ALIASES as bQ, VIDEO_PROMPT_MAX as bR, VIDEO_PROVIDERS_REQUIRING_IMAGE as bS, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bT, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bU, VIDEO_REF_AUDIO_RULES as bV, VIDEO_REF_LIMITS_BY_PROVIDER as bW, VIDEO_REF_RATE_PROVIDERS as bX, VIDEO_REF_VIDEO_DURATION_LIMITS as bY, VIDEO_TO_VIDEO_NODE_PROVIDERS as bZ, VIDEO_TO_VIDEO_PROVIDERS as b_, SUNO_DURATION_MODELS as ba, SUNO_HARD_CEILING as bb, SUNO_LEGACY_MODELS as bc, SUNO_MODELS as bd, SUNO_TEXT_MAX as be, SUNO_TITLE_MAX as bf, type SceneInputMode as bg, SceneInputModeSchema as bh, type ScriptProvider as bi, type SeedanceVideoEditProvider as bj, type SunoAddTrackModel as bk, type SunoModel as bl, T2I_TO_I2I_VARIANT as bm, TASK_CHAINED_EDIT_PROVIDERS as bn, TASK_CHAINED_EDIT_PROVIDER_IDS as bo, TEXT_TO_AUDIO_PROVIDERS as bp, TEXT_TO_VIDEO_PROVIDERS as bq, TRANSCRIBE_LANES as br, TRANSCRIBE_PROVIDERS as bs, TRANSCRIBE_PROVIDER_CAPABILITIES as bt, TTS_OUTPUT_FORMATS as bu, TTS_OUTPUT_FORMAT_FILES as bv, TTS_PROVIDERS as bw, TTS_TEXT_MAX as bx, TWO_K_RESOLUTION_PROVIDERS as by, type TaskChainedEditProvider as bz, type AiWriterProvider as c, segmentDurationsFor as c$, VIDEO_VARIABLE_PRICING as c0, VIDU_Q4_DEFAULT_RESOLUTION as c1, VIDU_Q4_PROVIDERS as c2, VOICE_DESIGN_MODELS as c3, type VideoAudioCapability as c4, type VideoAudioMode as c5, type VideoGenProvider as c6, type VideoModeAlias as c7, type VideoModelCapabilities as c8, type VideoReferenceSyntax as c9, isGvpSupportedProvider as cA, isKling4Provider as cB, isLegacySunoModel as cC, isMinimaxH3Provider as cD, isSeedance2Provider as cE, isSeedanceVideoEditProvider as cF, isVeoProvider as cG, isViduQ4Provider as cH, isWan3Provider as cI, kling4KeyframeFrameCap as cJ, maxSegmentSecFor as cK, maxSegmentsFor as cL, maxVideoDurationSec as cM, minSegmentSecFor as cN, modelsForInputMode as cO, normalizeKling4Resolution as cP, normalizeMinimaxH3Resolution as cQ, normalizeViduQ4Resolution as cR, normalizeWan3Resolution as cS, preferredInputModeForModel as cT, pricedOutputDurationSec as cU, requestImageLimit as cV, resolveGvpAnchorWire as cW, resolveMusicProvider as cX, resolveVideoModeForInputs as cY, resolveVideoProviderForMode as cZ, seedance2AudioLimitSec as c_, type VideoToVideoNodeProvider as ca, type VideoToVideoProvider as cb, type VideoUpscaleProvider as cc, type VoiceDesignModel as cd, WAN_3_DEFAULT_RESOLUTION as ce, WAN_3_PROVIDERS as cf, applyDefaultVideoSelection as cg, applyVideoAudioToggle as ch, applyVideoNegativePrompt as ci, billsReferenceVideoSeconds as cj, canonicalVideoProvider as ck, checkRefAudioRules as cl, checkRefVideoDurations as cm, defaultVideoAspectRatio as cn, findSeedance2AudioOverLimit as co, getMaxImagePromptChars as cp, getMaxNegativePromptChars as cq, getMaxSunoPromptChars as cr, getMaxSunoStyleChars as cs, getMaxTtsChars as ct, getMaxVideoPromptChars as cu, getVideoAudioCapability as cv, hasContiguousSegmentDurations as cw, imageReferenceLimit as cx, isGeminiOmniPerSecondProvider as cy, isGeminiOmniProvider as cz, COMPOSER_PLAN_FIELDS as d, snapToNearestDuration as d0, sunoModelHonoursDuration as d1, supportsAutoVideoDuration as d2, supportsEndAnchor as d3, supportsExtendRender as d4, transcribeLaneSupportsWordTimestamps as d5, transcribeProvidersWithWordTimestamps as d6, videoDefaultDurationSec as d7, videoModelCanSpeakDialogue as d8, videoModelSupportsAudio as d9, videoNegativeSuffix as da, videoProviderAppendsFrames as db, videoProviderFoldsLoneEndFrame as dc, videoProviderRefModeFrameSeats as dd, videoProviderReferenceSyntax as de, videoProviderRequiresImage as df, videoProviderRunsFromReferences as dg, videoSourceTrimMaxSec as dh, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_REQUEST_IMAGE_LIMIT as j, DEFAULT_SUNO_MODEL as k, DEFAULT_TEXT_TO_AUDIO_PROVIDER as l, DEFAULT_TRANSCRIBE_NODE_PROVIDER as m, DEFAULT_TRANSCRIBE_PROVIDER as n, DEFAULT_TTS_OUTPUT_FORMAT as o, DEFAULT_TTS_PROVIDER as p, DEFAULT_VIDEO_DURATION_SEC as q, DEFAULT_VIDEO_PROVIDER as r, DEFAULT_VOICE_DESIGN_MODEL as s, DIALOGUE_PROVIDERS as t, DURATION_PRICED_PROVIDERS as u, type DialogueProvider as v, type ExtendVideoProvider as w, FAL_LIP_SYNC_PROVIDERS as x, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as y, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as z };
@@ -35,7 +35,7 @@ declare const IMAGE_PROMPT_MAX = 5000;
35
35
  * "native"); it lives here for the same reason as the rest — the snap drops or
36
36
  * replaces it for models that do not declare it.
37
37
  */
38
- declare const IMAGE_ASPECT_RATIO_VALUES: readonly ["auto", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "4:1", "1:4", "8:1", "1:8", "27:16", "16:27", "9:8", "8:9"];
38
+ declare const IMAGE_ASPECT_RATIO_VALUES: readonly ["auto", "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "4:1", "1:4", "8:1", "1:8", "27:16", "16:27", "9:8", "8:9", "2:1", "1:2", "9:21", "3:1", "1:3"];
39
39
  /** A ratio string the image routes accept (pre-snap vocabulary, not a per-model guarantee). */
40
40
  type ImageAspectRatio = typeof IMAGE_ASPECT_RATIO_VALUES[number];
41
41
  /**
@@ -48,8 +48,11 @@ type ImageAspectRatio = typeof IMAGE_ASPECT_RATIO_VALUES[number];
48
48
  declare const IMAGE_RESOLUTION_VALUES: readonly ["1K", "2K", "4K", "0.5 MP", "1 MP", "2 MP", "4 MP"];
49
49
  type ImageResolution = typeof IMAGE_RESOLUTION_VALUES[number];
50
50
  /** The `quality` vocabulary of the same two routes (vocabulary bound; the catalog snap gates per model). */
51
- declare const IMAGE_QUALITY_VALUES: readonly ["medium", "high", "basic"];
51
+ declare const IMAGE_QUALITY_VALUES: readonly ["auto", "low", "medium", "high", "xhigh", "max", "basic"];
52
52
  type ImageQuality = typeof IMAGE_QUALITY_VALUES[number];
53
+ /** The `background` vocabulary of the same two routes (vocabulary bound; the catalog snap gates per model). */
54
+ declare const IMAGE_BACKGROUND_VALUES: readonly ["auto", "opaque", "transparent"];
55
+ type ImageBackground = typeof IMAGE_BACKGROUND_VALUES[number];
53
56
  /** The `renderingSpeed` vocabulary (Ideogram's speed tiers — see {@link RENDERING_SPEED_SUPPORT}). */
54
57
  declare const IMAGE_RENDERING_SPEED_VALUES: readonly ["TURBO", "BALANCED", "QUALITY"];
55
58
  type ImageRenderingSpeed = typeof IMAGE_RENDERING_SPEED_VALUES[number];
@@ -317,14 +320,23 @@ declare const DEFAULT_REF_IMAGE_MAX = 4;
317
320
  * reader reads this map verbatim — do NOT "fix" these to the schema maxima.
318
321
  */
319
322
  declare function imageReferenceLimit(provider: string | undefined): number;
323
+ /** The most input images one request may carry, on a model with no row below. */
324
+ declare const DEFAULT_REQUEST_IMAGE_LIMIT = 14;
325
+ /** The largest per-model limit: the outer bound of the routes' array schemas. */
326
+ declare const MAX_REQUEST_IMAGE_LIMIT: number;
327
+ /**
328
+ * The most input images one request may carry for `provider` (a text-to-image
329
+ * id reads its edit sibling's row, the model that consumes them).
330
+ */
331
+ declare function requestImageLimit(provider: string | undefined): number;
320
332
  declare const VARIABLE_PRICING_MODELS: Record<string, "quality" | "resolution" | "rendering-speed">;
321
333
  declare const HIGH_QUALITY_PROVIDERS: Set<string>;
322
334
  declare const TWO_K_RESOLUTION_PROVIDERS: Set<string>;
323
335
  declare const IDEOGRAM_PROVIDERS: Set<string>;
324
336
  /** Text-to-image providers (no input image required) */
325
- declare const IMAGE_GEN_PROVIDERS: readonly ["nano-banana", "flux", "nano-banana-pro", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "grok", "grok-2", "gpt-image", "gpt-image-2", "gpt-image-2-5-flare", "gpt-image-2-5-sunburst", "imagen4", "imagen4-fast", "imagen4-ultra", "ideogram-v3", "qwen", "seedream", "seedream-5-lite", "seedream-5-pro", "seedream-5-flash", "flux-flex", "flux-kontext", "flux-kontext-max", "z-image", "wan-2.7", "wan-2.7-pro", "flux-2-klein", "flux-2-pro", "flux-2-max"];
337
+ declare const IMAGE_GEN_PROVIDERS: readonly ["nano-banana", "flux", "nano-banana-pro", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "grok", "grok-2", "gpt-image", "gpt-image-2", "gpt-image-2-5-flare", "gpt-image-2-5-sunburst", "gpt-image-2-6-flare", "gpt-image-2-6-sunburst", "gpt-image-2-6-economy", "imagen4", "imagen4-fast", "imagen4-ultra", "ideogram-v3", "qwen", "seedream", "seedream-5-lite", "seedream-5-pro", "seedream-5-flash", "flux-flex", "flux-kontext", "flux-kontext-max", "z-image", "wan-2.7", "wan-2.7-pro", "flux-2-klein", "flux-2-pro", "flux-2-max"];
326
338
  /** Image-to-image providers (require input image) */
327
- declare const IMAGE_I2I_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill"];
339
+ declare const IMAGE_I2I_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "gpt-image-2-6-flare-i2i", "gpt-image-2-6-sunburst-i2i", "gpt-image-2-6-economy-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill"];
328
340
  /**
329
341
  * Image editing providers (upscale, remove bg, etc.)
330
342
  *
@@ -353,7 +365,7 @@ declare const TASK_CHAINED_EDIT_PROVIDER_IDS: readonly ["grok-2-edit", "grok-2-s
353
365
  type TaskChainedEditProvider = typeof TASK_CHAINED_EDIT_PROVIDER_IDS[number];
354
366
  declare const TASK_CHAINED_EDIT_PROVIDERS: ReadonlySet<string>;
355
367
  /** Modify image providers (I2I + edit-with-prompt) */
356
- declare const MODIFY_IMAGE_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill", "nano-banana-edit"];
368
+ declare const MODIFY_IMAGE_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "nano-banana-2-lite", "nano-banana-2-1", "nano-banana-pro", "grok-i2i", "flux-i2i", "flux-pro-i2i", "gpt-image-i2i", "gpt-image-2-i2i", "gpt-image-2-5-flare-i2i", "gpt-image-2-5-sunburst-i2i", "gpt-image-2-6-flare-i2i", "gpt-image-2-6-sunburst-i2i", "gpt-image-2-6-economy-i2i", "grok-2-i2i", "ideogram-edit", "ideogram-remix", "qwen-i2i", "qwen-edit", "seedream-edit", "seedream-5-lite-i2i", "seedream-5-pro-i2i", "seedream-5-flash-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill", "nano-banana-edit"];
357
369
  type ModifyImageProvider = typeof MODIFY_IMAGE_PROVIDERS[number];
358
370
  /** Image upscale providers */
359
371
  declare const UPSCALE_IMAGE_PROVIDERS: readonly ["recraft-upscale", "topaz-image-upscale"];
@@ -362,13 +374,13 @@ type ImageGenProvider = typeof IMAGE_GEN_PROVIDERS[number];
362
374
  type ImageI2IProvider = typeof IMAGE_I2I_PROVIDERS[number];
363
375
  type ImageEditProvider = typeof IMAGE_EDIT_PROVIDERS[number];
364
376
  /** Image-to-video providers */
365
- declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
377
+ declare const IMAGE_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
366
378
  type ImageToVideoProvider = typeof IMAGE_TO_VIDEO_PROVIDERS[number];
367
379
  /** Text-to-video providers */
368
- declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
380
+ declare const TEXT_TO_VIDEO_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "grok", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "wan", "hailuo-standard", "bytedance-lite", "bytedance-pro", "wan-turbo", "wan-2.7-t2v", "happyhorse", "runway-kie", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", "kling-3-omni", "kling-master", "hailuo-2.3", "hailuo-2.3-pro", "bytedance-pro-fast", "happyhorse-ref2v", "vidu-q4"];
369
381
  type TextToVideoProvider = typeof TEXT_TO_VIDEO_PROVIDERS[number];
370
382
  /** Unified video-generation providers (image-to-video ∪ text-to-video) for the generate-video node. */
371
- declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
383
+ declare const VIDEO_GEN_PROVIDERS: readonly ["minimax", "veo3", "veo3.1", "veo3_lite", "kling", "kling-turbo", "kling-3.0", "kling-master", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3", "hailuo-2.3-pro", "hailuo-2.3", "hailuo-standard", "wan-i2v", "wan-turbo", "bytedance-lite", "bytedance-pro", "bytedance-pro-fast", "grok-i2v", "wan-2.7-i2v", "happyhorse-i2v", "happyhorse-ref2v", "runway-kie", "kling-3-omni", "gemini-omni-video", "gemini-omni-flash", "gemini-omni-flash-1-2", "wan-3", "wan-3-prime", "vidu-q4", "kling-4", "kling-4-keyframes", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5", ...("seedance-2-5" | "minimax" | "veo3" | "kling-3.0" | "seedance-2" | "veo3.1" | "wan-turbo" | "bytedance-lite" | "kling-turbo" | "hailuo-standard" | "grok" | "minimax-h3" | "hailuo-2.3-pro" | "hailuo-2.3" | "veo3_lite" | "gemini-omni-video" | "gemini-omni-flash" | "gemini-omni-flash-1-2" | "kling" | "kling-master" | "kling-3-omni" | "kling-4" | "kling-4-keyframes" | "grok-imagine-video-1.5" | "seedance-2-fast" | "seedance-2-mini" | "wan-3" | "wan-3-prime" | "wan" | "wan-2.7-t2v" | "ltx-2.3-pro" | "ltx-2.3-fast" | "happyhorse" | "happyhorse-ref2v" | "vidu-q4" | "bytedance-pro" | "bytedance-pro-fast" | "runway-kie")[]];
372
384
  type VideoGenProvider = typeof VIDEO_GEN_PROVIDERS[number];
373
385
  /**
374
386
  * Video models that expose DISTINCT provider ids per mode (text-to-video vs
@@ -575,6 +587,23 @@ type MotionTransferProviderType = typeof MOTION_TRANSFER_PROVIDERS[number];
575
587
  /** Text-to-speech providers */
576
588
  declare const TTS_PROVIDERS: readonly ["elevenlabs-v3", "elevenlabs-v4", "elevenlabs-v4-turbo", "elevenlabs-turbo", "elevenlabs-multilingual", "elevenlabs"];
577
589
  type TtsProvider = typeof TTS_PROVIDERS[number];
590
+ /**
591
+ * The file a speech request can ask for (`outputFormat` on `/v1/text-to-speech`
592
+ * and the `text-to-speech` node run), named as the vendor names its formats:
593
+ * `codec_samplerate_bitrate`. Omitted ⇒ the first, which is exactly what every
594
+ * request delivered before the field existed. The list is deliberately short:
595
+ * the three the hosted deployment's vendor account serves (measured 2026-11-08);
596
+ * a self-hosted install's account must serve them too, or a run asking for one
597
+ * fails with the vendor's own message.
598
+ */
599
+ declare const TTS_OUTPUT_FORMATS: readonly ["mp3_44100_128", "mp3_44100_192", "wav_24000"];
600
+ type TtsOutputFormat = typeof TTS_OUTPUT_FORMATS[number];
601
+ declare const DEFAULT_TTS_OUTPUT_FORMAT: TtsOutputFormat;
602
+ /** How each format is stored and served: the file extension and the MIME type. */
603
+ declare const TTS_OUTPUT_FORMAT_FILES: Readonly<Record<TtsOutputFormat, {
604
+ readonly ext: "mp3" | "wav";
605
+ readonly mime: "audio/mpeg" | "audio/wav";
606
+ }>>;
578
607
  /**
579
608
  * Text-to-dialogue models (the `provider` of `/v1/text-to-dialogue` and of the
580
609
  * Text to Dialogue node). Each IS its catalog id and its credit identifier.
@@ -924,6 +953,20 @@ declare function kling4KeyframeFrameCap(durationSec: number | string | undefined
924
953
  */
925
954
  declare const GEMINI_OMNI_PROVIDERS: Set<string>;
926
955
  declare function isGeminiOmniProvider(provider: string | undefined): boolean;
956
+ /**
957
+ * The Gemini Omni SKUs billed per second of video (Gemini Omni Flash 1.2). What
958
+ * the family shares (V2V through the i2v handle, the panels) comes from
959
+ * {@link GEMINI_OMNI_PROVIDERS}. These differ in two ways: the price is a
960
+ * `:<N>s:<res>` ladder, and a run with a source video bills that clip's own
961
+ * seconds and nothing else (the output follows the clip), so they also answer
962
+ * {@link billsReferenceVideoSeconds}.
963
+ */
964
+ declare const GEMINI_OMNI_PER_SECOND_PROVIDERS: Set<string>;
965
+ declare function isGeminiOmniPerSecondProvider(provider: string | undefined): boolean;
966
+ /** The longest source clip Gemini Omni Flash 1.2 takes (docs.kie.ai/market/google/gemini-omni-flash-1-2). */
967
+ declare const GEMINI_OMNI_12_MAX_SOURCE_SEC = 15;
968
+ /** The widest trim window a request may set on a Gemini Omni source clip, in seconds. */
969
+ declare function videoSourceTrimMaxSec(provider: string | undefined): number;
927
970
  /**
928
971
  * Video models that are CATALOGUED and priced but have NO working dispatch
929
972
  * path today — selecting one fails at the router, not at validation.
@@ -1259,8 +1302,9 @@ declare function checkRefVideoDurations(provider: string, durationsSec: readonly
1259
1302
  declare const VIDEO_REF_RATE_PROVIDERS: Set<string>;
1260
1303
  /**
1261
1304
  * Video models whose reference-VIDEO runs also bill the clips' own seconds:
1262
- * the Seedance 2 family (`unit × (input + output)`) and the
1263
- * VIDEO_REF_RATE_PROVIDERS (Kling 4.0: `unit × (output + max(output, input))`).
1305
+ * the Seedance 2 family (`unit × (input + output)`), the
1306
+ * VIDEO_REF_RATE_PROVIDERS (Kling 4.0: `unit × (output + max(output, input))`)
1307
+ * and the per-second Gemini Omni SKUs (`unit × source clip`, the output follows it).
1264
1308
  * The reservation holds the worst case from the probed clips and the
1265
1309
  * settlement meters down to what was delivered (backend
1266
1310
  * ee/billing/seedance2-ref-video-credits.ts) — this is the one gate every lane
@@ -1327,8 +1371,8 @@ declare function videoProviderRequiresImage(provider: string | undefined): boole
1327
1371
  * reference mode takes a lone last frame as the sole reference image plus a
1328
1372
  * closing-frame prompt hint. NOTHING else does: VEO ships `[imageUrl,
1329
1373
  * endFrameUrl]` verbatim (a lone end frame would reach KIE as `[null, url]`),
1330
- * the Gemini Omni branch drops the frame when there is no start frame, and the
1331
- * generic KIE path sends `end_frame` with no image param at all. So the
1374
+ * the per-clip Gemini Omni branch drops the frame when there is no start frame (Omni
1375
+ * Flash 1.2 folds it, with its own builder), and the generic KIE path sends `end_frame` with no image param at all. So the
1332
1376
  * exemption is keyed to the FOLD, not to "carries image references" — the
1333
1377
  * catalog has no capability for it, and these three family predicates are the
1334
1378
  * same membership the provider layer itself branches on (the backend's
@@ -1673,4 +1717,4 @@ declare function applyDefaultVideoSelection<D>(input: {
1673
1717
  duration: D | number | undefined;
1674
1718
  };
1675
1719
 
1676
- export { IMAGE_TO_VIDEO_PROVIDERS as $, AI_WRITER_PROVIDERS as A, GVP_ANCHOR_CHOICES as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_PROVIDERS as G, GVP_DEFAULT_PROVIDER as H, GVP_END_FRAME_PROVIDERS as I, GVP_EXTEND_PROVIDERS as J, GVP_SUPPORTED_PROVIDERS as K, type GvpAnchorChoice as L, type GvpAnchorWireMode as M, HIGH_QUALITY_PROVIDERS as N, I2I_MASK_SUPPORT as O, I2I_STRENGTH_SUPPORT as P, IDEOGRAM_PROVIDERS as Q, IMAGE_ASPECT_RATIO_VALUES as R, IMAGE_EDIT_PROVIDERS as S, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as T, IMAGE_GEN_PROVIDERS as U, IMAGE_I2I_PROVIDERS as V, IMAGE_MASK_MODE as W, IMAGE_PROMPT_MAX as X, IMAGE_QUALITY_VALUES as Y, IMAGE_RENDERING_SPEED_VALUES as Z, IMAGE_RESOLUTION_VALUES as _, ASPECT_RATIO_DIMENSIONS as a, SEEDANCE_VIDEO_EDIT_SHAPE as a$, type ImageAspectRatio as a0, type ImageEditProvider as a1, type ImageEditTargetResolution as a2, type ImageGenProvider as a3, type ImageI2IProvider as a4, type ImageMaskMode as a5, type ImageQuality as a6, type ImageRenderingSpeed as a7, type ImageResolution as a8, type ImageToVideoProvider as a9, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aA, NEGATIVE_PROMPT_MAX as aB, OBJECT_MOTION_PROVIDERS as aC, type ObjectMotionProvider as aD, PRICING_DEFAULT_DURATION_SEC as aE, PRICING_DEFAULT_RESOLUTION as aF, PROMPT_HARD_CEILING as aG, QA_CHECK_PROVIDERS as aH, type QaCheckProvider as aI, REF_IMAGE_MAX_LIMITS as aJ, RENDERING_SPEED_SUPPORT as aK, REPLICATE_LIP_SYNC_PROVIDERS as aL, RETIRED_VIDEO_PROVIDERS as aM, type RefAudioCheck as aN, type RefAudioProbe as aO, type RefAudioRule as aP, type RefVideoDurationLimit as aQ, SCRIPT_PROVIDERS as aR, SEEDANCE_2_5_REF_LIMITS as aS, SEEDANCE_2_CONTINUATION_REF_SEC as aT, SEEDANCE_2_EXTEND_STITCH as aU, SEEDANCE_2_PROVIDERS as aV, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as aW, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as aX, SEEDANCE_2_REF_LIMITS as aY, SEEDANCE_LIP_SYNC_PROVIDERS as aZ, SEEDANCE_VIDEO_EDIT_PROVIDERS as a_, KLING_4_DEFAULT_RESOLUTION as aa, KLING_4_MAX_MIDDLE_FRAMES as ab, KLING_4_PROVIDERS as ac, LIP_SYNC_PROVIDERS as ad, LLM_TEXT_INPUT_MAX as ae, LOCATION_ATMOSPHERE_PROVIDERS as af, type LipSyncProvider as ag, type LocationAtmosphereProvider as ah, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ai, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aj, MAX_TTS_CHARS_BY_PROVIDER as ak, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as al, MINIMAX_H3_DEFAULT_RESOLUTION as am, MINIMAX_H3_PROVIDERS as an, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as ao, MODIFY_IMAGE_PROVIDERS as ap, MOTION_TRANSFER_PROVIDERS as aq, MUSIC_CREDIT_ID as ar, MUSIC_PROVIDERS as as, MUSIC_PROVIDER_LABELS as at, type ModelPromptingStyle as au, type ModifyImageProvider as av, type MotionTransferProviderType as aw, type MusicProvider as ax, NATIVE_ADAPTIVE_ASPECT as ay, NATIVE_NEGATIVE_PROMPT_MODELS as az, AUDIO_ADDON_PROVIDERS as b, type VideoReferenceSyntax as b$, SEED_SUPPORT as b0, SUNO_ACTIVE_MODELS as b1, SUNO_ADD_TRACK_MODELS as b2, SUNO_DURATION_MODELS as b3, SUNO_HARD_CEILING as b4, SUNO_LEGACY_MODELS as b5, SUNO_MODELS as b6, SUNO_TEXT_MAX as b7, SUNO_TITLE_MAX as b8, type SceneInputMode as b9, VIDEO_AUDIO_CAPABILITY as bA, VIDEO_DURATION_TIERS as bB, VIDEO_GEN_COLLAPSED_T2V_IDS as bC, VIDEO_GEN_PROVIDERS as bD, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bE, VIDEO_MODEL_CAPS as bF, VIDEO_MODE_ALIASES as bG, VIDEO_PROMPT_MAX as bH, VIDEO_PROVIDERS_REQUIRING_IMAGE as bI, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bJ, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bK, VIDEO_REF_AUDIO_RULES as bL, VIDEO_REF_LIMITS_BY_PROVIDER as bM, VIDEO_REF_RATE_PROVIDERS as bN, VIDEO_REF_VIDEO_DURATION_LIMITS as bO, VIDEO_TO_VIDEO_NODE_PROVIDERS as bP, VIDEO_TO_VIDEO_PROVIDERS as bQ, VIDEO_UPSCALE_PROVIDERS as bR, VIDEO_VARIABLE_PRICING as bS, VIDU_Q4_DEFAULT_RESOLUTION as bT, VIDU_Q4_PROVIDERS as bU, VOICE_DESIGN_MODELS as bV, type VideoAudioCapability as bW, type VideoAudioMode as bX, type VideoGenProvider as bY, type VideoModeAlias as bZ, type VideoModelCapabilities as b_, SceneInputModeSchema as ba, type ScriptProvider as bb, type SeedanceVideoEditProvider as bc, type SunoAddTrackModel as bd, type SunoModel as be, T2I_TO_I2I_VARIANT as bf, TASK_CHAINED_EDIT_PROVIDERS as bg, TASK_CHAINED_EDIT_PROVIDER_IDS as bh, TEXT_TO_AUDIO_PROVIDERS as bi, TEXT_TO_VIDEO_PROVIDERS as bj, TRANSCRIBE_LANES as bk, TRANSCRIBE_PROVIDERS as bl, TRANSCRIBE_PROVIDER_CAPABILITIES as bm, TTS_PROVIDERS as bn, TTS_TEXT_MAX as bo, TWO_K_RESOLUTION_PROVIDERS as bp, type TaskChainedEditProvider as bq, type TextToAudioProvider as br, type TextToVideoProvider as bs, type TranscribeLane as bt, type TranscribeProvider as bu, type TtsProvider as bv, UPSCALE_IMAGE_PROVIDERS as bw, type UpscaleImageProvider as bx, VARIABLE_PRICING_MODELS as by, VEO_PROVIDERS as bz, type AiWriterProvider as c, videoProviderAppendsFrames as c$, type VideoToVideoNodeProvider as c0, type VideoToVideoProvider as c1, type VideoUpscaleProvider as c2, type VoiceDesignModel as c3, WAN_3_DEFAULT_RESOLUTION as c4, WAN_3_PROVIDERS as c5, applyDefaultVideoSelection as c6, applyVideoAudioToggle as c7, applyVideoNegativePrompt as c8, billsReferenceVideoSeconds as c9, maxSegmentsFor as cA, maxVideoDurationSec as cB, minSegmentSecFor as cC, modelsForInputMode as cD, normalizeKling4Resolution as cE, normalizeMinimaxH3Resolution as cF, normalizeViduQ4Resolution as cG, normalizeWan3Resolution as cH, preferredInputModeForModel as cI, pricedOutputDurationSec as cJ, resolveGvpAnchorWire as cK, resolveMusicProvider as cL, resolveVideoModeForInputs as cM, resolveVideoProviderForMode as cN, seedance2AudioLimitSec as cO, segmentDurationsFor as cP, snapToNearestDuration as cQ, sunoModelHonoursDuration as cR, supportsAutoVideoDuration as cS, supportsEndAnchor as cT, supportsExtendRender as cU, transcribeLaneSupportsWordTimestamps as cV, transcribeProvidersWithWordTimestamps as cW, videoDefaultDurationSec as cX, videoModelCanSpeakDialogue as cY, videoModelSupportsAudio as cZ, videoNegativeSuffix as c_, canonicalVideoProvider as ca, checkRefAudioRules as cb, checkRefVideoDurations as cc, defaultVideoAspectRatio as cd, findSeedance2AudioOverLimit as ce, getMaxImagePromptChars as cf, getMaxNegativePromptChars as cg, getMaxSunoPromptChars as ch, getMaxSunoStyleChars as ci, getMaxTtsChars as cj, getMaxVideoPromptChars as ck, getVideoAudioCapability as cl, hasContiguousSegmentDurations as cm, imageReferenceLimit as cn, isGeminiOmniProvider as co, isGvpSupportedProvider as cp, isKling4Provider as cq, isLegacySunoModel as cr, isMinimaxH3Provider as cs, isSeedance2Provider as ct, isSeedanceVideoEditProvider as cu, isVeoProvider as cv, isViduQ4Provider as cw, isWan3Provider as cx, kling4KeyframeFrameCap as cy, maxSegmentSecFor as cz, COMPOSER_PLAN_FIELDS as d, videoProviderFoldsLoneEndFrame as d0, videoProviderRefModeFrameSeats as d1, videoProviderReferenceSyntax as d2, videoProviderRequiresImage as d3, videoProviderRunsFromReferences as d4, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_SUNO_MODEL as j, DEFAULT_TEXT_TO_AUDIO_PROVIDER as k, DEFAULT_TRANSCRIBE_NODE_PROVIDER as l, DEFAULT_TRANSCRIBE_PROVIDER as m, DEFAULT_TTS_PROVIDER as n, DEFAULT_VIDEO_DURATION_SEC as o, DEFAULT_VIDEO_PROVIDER as p, DEFAULT_VOICE_DESIGN_MODEL as q, DIALOGUE_PROVIDERS as r, DURATION_PRICED_PROVIDERS as s, type DialogueProvider as t, type ExtendVideoProvider as u, FAL_LIP_SYNC_PROVIDERS as v, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as w, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as x, type FaceSwapProvider as y, GUIDANCE_SCALE_SUPPORT as z };
1720
+ export { IMAGE_MASK_MODE as $, AI_WRITER_PROVIDERS as A, type FaceSwapProvider as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, GEMINI_OMNI_12_MAX_SOURCE_SEC as G, GEMINI_OMNI_PER_SECOND_PROVIDERS as H, GEMINI_OMNI_PROVIDERS as I, GUIDANCE_SCALE_SUPPORT as J, GVP_ANCHOR_CHOICES as K, GVP_DEFAULT_PROVIDER as L, GVP_END_FRAME_PROVIDERS as M, GVP_EXTEND_PROVIDERS as N, GVP_SUPPORTED_PROVIDERS as O, type GvpAnchorChoice as P, type GvpAnchorWireMode as Q, HIGH_QUALITY_PROVIDERS as R, I2I_MASK_SUPPORT as S, I2I_STRENGTH_SUPPORT as T, IDEOGRAM_PROVIDERS as U, IMAGE_ASPECT_RATIO_VALUES as V, IMAGE_BACKGROUND_VALUES as W, IMAGE_EDIT_PROVIDERS as X, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as Y, IMAGE_GEN_PROVIDERS as Z, IMAGE_I2I_PROVIDERS as _, ASPECT_RATIO_DIMENSIONS as a, SEEDANCE_2_EXTEND_STITCH as a$, IMAGE_PROMPT_MAX as a0, IMAGE_QUALITY_VALUES as a1, IMAGE_RENDERING_SPEED_VALUES as a2, IMAGE_RESOLUTION_VALUES as a3, IMAGE_TO_VIDEO_PROVIDERS as a4, type ImageAspectRatio as a5, type ImageBackground as a6, type ImageEditProvider as a7, type ImageEditTargetResolution as a8, type ImageGenProvider as a9, MUSIC_PROVIDER_LABELS as aA, type ModelPromptingStyle as aB, type ModifyImageProvider as aC, type MotionTransferProviderType as aD, type MusicProvider as aE, NATIVE_ADAPTIVE_ASPECT as aF, NATIVE_NEGATIVE_PROMPT_MODELS as aG, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aH, NEGATIVE_PROMPT_MAX as aI, OBJECT_MOTION_PROVIDERS as aJ, type ObjectMotionProvider as aK, PRICING_DEFAULT_DURATION_SEC as aL, PRICING_DEFAULT_RESOLUTION as aM, PROMPT_HARD_CEILING as aN, QA_CHECK_PROVIDERS as aO, type QaCheckProvider as aP, REF_IMAGE_MAX_LIMITS as aQ, RENDERING_SPEED_SUPPORT as aR, REPLICATE_LIP_SYNC_PROVIDERS as aS, RETIRED_VIDEO_PROVIDERS as aT, type RefAudioCheck as aU, type RefAudioProbe as aV, type RefAudioRule as aW, type RefVideoDurationLimit as aX, SCRIPT_PROVIDERS as aY, SEEDANCE_2_5_REF_LIMITS as aZ, SEEDANCE_2_CONTINUATION_REF_SEC as a_, type ImageI2IProvider as aa, type ImageMaskMode as ab, type ImageQuality as ac, type ImageRenderingSpeed as ad, type ImageResolution as ae, type ImageToVideoProvider as af, KLING_4_DEFAULT_RESOLUTION as ag, KLING_4_MAX_MIDDLE_FRAMES as ah, KLING_4_PROVIDERS as ai, LIP_SYNC_PROVIDERS as aj, LLM_TEXT_INPUT_MAX as ak, LOCATION_ATMOSPHERE_PROVIDERS as al, type LipSyncProvider as am, type LocationAtmosphereProvider as an, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as ao, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as ap, MAX_REQUEST_IMAGE_LIMIT as aq, MAX_TTS_CHARS_BY_PROVIDER as ar, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as as, MINIMAX_H3_DEFAULT_RESOLUTION as at, MINIMAX_H3_PROVIDERS as au, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as av, MODIFY_IMAGE_PROVIDERS as aw, MOTION_TRANSFER_PROVIDERS as ax, MUSIC_CREDIT_ID as ay, MUSIC_PROVIDERS as az, AUDIO_ADDON_PROVIDERS as b, VIDEO_UPSCALE_PROVIDERS as b$, SEEDANCE_2_PROVIDERS as b0, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as b1, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as b2, SEEDANCE_2_REF_LIMITS as b3, SEEDANCE_LIP_SYNC_PROVIDERS as b4, SEEDANCE_VIDEO_EDIT_PROVIDERS as b5, SEEDANCE_VIDEO_EDIT_SHAPE as b6, SEED_SUPPORT as b7, SUNO_ACTIVE_MODELS as b8, SUNO_ADD_TRACK_MODELS as b9, type TextToAudioProvider as bA, type TextToVideoProvider as bB, type TranscribeLane as bC, type TranscribeProvider as bD, type TtsOutputFormat as bE, type TtsProvider as bF, UPSCALE_IMAGE_PROVIDERS as bG, type UpscaleImageProvider as bH, VARIABLE_PRICING_MODELS as bI, VEO_PROVIDERS as bJ, VIDEO_AUDIO_CAPABILITY as bK, VIDEO_DURATION_TIERS as bL, VIDEO_GEN_COLLAPSED_T2V_IDS as bM, VIDEO_GEN_PROVIDERS as bN, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bO, VIDEO_MODEL_CAPS as bP, VIDEO_MODE_ALIASES as bQ, VIDEO_PROMPT_MAX as bR, VIDEO_PROVIDERS_REQUIRING_IMAGE as bS, VIDEO_PROVIDERS_WITHOUT_DISPATCH as bT, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as bU, VIDEO_REF_AUDIO_RULES as bV, VIDEO_REF_LIMITS_BY_PROVIDER as bW, VIDEO_REF_RATE_PROVIDERS as bX, VIDEO_REF_VIDEO_DURATION_LIMITS as bY, VIDEO_TO_VIDEO_NODE_PROVIDERS as bZ, VIDEO_TO_VIDEO_PROVIDERS as b_, SUNO_DURATION_MODELS as ba, SUNO_HARD_CEILING as bb, SUNO_LEGACY_MODELS as bc, SUNO_MODELS as bd, SUNO_TEXT_MAX as be, SUNO_TITLE_MAX as bf, type SceneInputMode as bg, SceneInputModeSchema as bh, type ScriptProvider as bi, type SeedanceVideoEditProvider as bj, type SunoAddTrackModel as bk, type SunoModel as bl, T2I_TO_I2I_VARIANT as bm, TASK_CHAINED_EDIT_PROVIDERS as bn, TASK_CHAINED_EDIT_PROVIDER_IDS as bo, TEXT_TO_AUDIO_PROVIDERS as bp, TEXT_TO_VIDEO_PROVIDERS as bq, TRANSCRIBE_LANES as br, TRANSCRIBE_PROVIDERS as bs, TRANSCRIBE_PROVIDER_CAPABILITIES as bt, TTS_OUTPUT_FORMATS as bu, TTS_OUTPUT_FORMAT_FILES as bv, TTS_PROVIDERS as bw, TTS_TEXT_MAX as bx, TWO_K_RESOLUTION_PROVIDERS as by, type TaskChainedEditProvider as bz, type AiWriterProvider as c, segmentDurationsFor as c$, VIDEO_VARIABLE_PRICING as c0, VIDU_Q4_DEFAULT_RESOLUTION as c1, VIDU_Q4_PROVIDERS as c2, VOICE_DESIGN_MODELS as c3, type VideoAudioCapability as c4, type VideoAudioMode as c5, type VideoGenProvider as c6, type VideoModeAlias as c7, type VideoModelCapabilities as c8, type VideoReferenceSyntax as c9, isGvpSupportedProvider as cA, isKling4Provider as cB, isLegacySunoModel as cC, isMinimaxH3Provider as cD, isSeedance2Provider as cE, isSeedanceVideoEditProvider as cF, isVeoProvider as cG, isViduQ4Provider as cH, isWan3Provider as cI, kling4KeyframeFrameCap as cJ, maxSegmentSecFor as cK, maxSegmentsFor as cL, maxVideoDurationSec as cM, minSegmentSecFor as cN, modelsForInputMode as cO, normalizeKling4Resolution as cP, normalizeMinimaxH3Resolution as cQ, normalizeViduQ4Resolution as cR, normalizeWan3Resolution as cS, preferredInputModeForModel as cT, pricedOutputDurationSec as cU, requestImageLimit as cV, resolveGvpAnchorWire as cW, resolveMusicProvider as cX, resolveVideoModeForInputs as cY, resolveVideoProviderForMode as cZ, seedance2AudioLimitSec as c_, type VideoToVideoNodeProvider as ca, type VideoToVideoProvider as cb, type VideoUpscaleProvider as cc, type VoiceDesignModel as cd, WAN_3_DEFAULT_RESOLUTION as ce, WAN_3_PROVIDERS as cf, applyDefaultVideoSelection as cg, applyVideoAudioToggle as ch, applyVideoNegativePrompt as ci, billsReferenceVideoSeconds as cj, canonicalVideoProvider as ck, checkRefAudioRules as cl, checkRefVideoDurations as cm, defaultVideoAspectRatio as cn, findSeedance2AudioOverLimit as co, getMaxImagePromptChars as cp, getMaxNegativePromptChars as cq, getMaxSunoPromptChars as cr, getMaxSunoStyleChars as cs, getMaxTtsChars as ct, getMaxVideoPromptChars as cu, getVideoAudioCapability as cv, hasContiguousSegmentDurations as cw, imageReferenceLimit as cx, isGeminiOmniPerSecondProvider as cy, isGeminiOmniProvider as cz, COMPOSER_PLAN_FIELDS as d, snapToNearestDuration as d0, sunoModelHonoursDuration as d1, supportsAutoVideoDuration as d2, supportsEndAnchor as d3, supportsExtendRender as d4, transcribeLaneSupportsWordTimestamps as d5, transcribeProvidersWithWordTimestamps as d6, videoDefaultDurationSec as d7, videoModelCanSpeakDialogue as d8, videoModelSupportsAudio as d9, videoNegativeSuffix as da, videoProviderAppendsFrames as db, videoProviderFoldsLoneEndFrame as dc, videoProviderRefModeFrameSeats as dd, videoProviderReferenceSyntax as de, videoProviderRequiresImage as df, videoProviderRunsFromReferences as dg, videoSourceTrimMaxSec as dh, COMPOSER_PLAN_MAP as e, CREDIT_BASE_USD as f, type CharacterMotionProvider as g, DEFAULT_MUSIC_PROVIDER as h, DEFAULT_REF_IMAGE_MAX as i, DEFAULT_REQUEST_IMAGE_LIMIT as j, DEFAULT_SUNO_MODEL as k, DEFAULT_TEXT_TO_AUDIO_PROVIDER as l, DEFAULT_TRANSCRIBE_NODE_PROVIDER as m, DEFAULT_TRANSCRIBE_PROVIDER as n, DEFAULT_TTS_OUTPUT_FORMAT as o, DEFAULT_TTS_PROVIDER as p, DEFAULT_VIDEO_DURATION_SEC as q, DEFAULT_VIDEO_PROVIDER as r, DEFAULT_VOICE_DESIGN_MODEL as s, DIALOGUE_PROVIDERS as t, DURATION_PRICED_PROVIDERS as u, type DialogueProvider as v, type ExtendVideoProvider as w, FAL_LIP_SYNC_PROVIDERS as x, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as y, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as z };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nodaro/shared",
3
- "version": "3.55.0",
3
+ "version": "3.57.0",
4
4
  "description": "Shared types, model catalog, wire contracts, and structural vocabularies for the Nodaro platform and SDK.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -90,6 +90,11 @@
90
90
  "import": "./dist/entries/pipeline.js",
91
91
  "require": "./dist/entries/pipeline.cjs"
92
92
  },
93
+ "./runtime-config": {
94
+ "types": "./dist/entries/runtime-config.d.ts",
95
+ "import": "./dist/entries/runtime-config.js",
96
+ "require": "./dist/entries/runtime-config.cjs"
97
+ },
93
98
  "./scene3d": {
94
99
  "types": "./dist/entries/scene3d.d.ts",
95
100
  "import": "./dist/entries/scene3d.js",
@@ -1917,6 +1917,7 @@
1917
1917
  "defaultCarriedFraction",
1918
1918
  "defaultEdgeOutputMode",
1919
1919
  "defaultImageModel",
1920
+ "defaultImageModelForNode",
1920
1921
  "defaultReasoningEffort",
1921
1922
  "defaultResolutionFor",
1922
1923
  "defaultRoleForSource",
@@ -3823,6 +3824,7 @@
3823
3824
  "defaultCarriedFraction",
3824
3825
  "defaultEdgeOutputMode",
3825
3826
  "defaultImageModel",
3827
+ "defaultImageModelForNode",
3826
3828
  "defaultReasoningEffort",
3827
3829
  "defaultResolutionFor",
3828
3830
  "defaultRoleForSource",