@nodaro/shared 3.61.0 → 3.62.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 (254) hide show
  1. package/dist/{chunk-IVXSNW2B.cjs → chunk-2D5LQFV4.cjs} +18 -332
  2. package/dist/chunk-2D5LQFV4.cjs.map +1 -0
  3. package/dist/{chunk-XUJC6GHE.cjs → chunk-2HZGDZZN.cjs} +6 -6
  4. package/dist/{chunk-XUJC6GHE.cjs.map → chunk-2HZGDZZN.cjs.map} +1 -1
  5. package/dist/{chunk-43TGSZRJ.js → chunk-2QKF7M2Z.js} +3 -3
  6. package/dist/{chunk-43TGSZRJ.js.map → chunk-2QKF7M2Z.js.map} +1 -1
  7. package/dist/{chunk-7ARKVJTN.cjs → chunk-2W745U4A.cjs} +228 -355
  8. package/dist/chunk-2W745U4A.cjs.map +1 -0
  9. package/dist/{chunk-673E4KYC.js → chunk-3OYO3XCC.js} +70 -6
  10. package/dist/chunk-3OYO3XCC.js.map +1 -0
  11. package/dist/{chunk-FMXFHJWX.cjs → chunk-4ZEFP2FQ.cjs} +4 -4
  12. package/dist/{chunk-FMXFHJWX.cjs.map → chunk-4ZEFP2FQ.cjs.map} +1 -1
  13. package/dist/{chunk-A3FHTSLB.js → chunk-5YYN5X57.js} +302 -27
  14. package/dist/chunk-5YYN5X57.js.map +1 -0
  15. package/dist/{chunk-4KYLNTR7.cjs → chunk-6CSXMWL4.cjs} +4 -4
  16. package/dist/{chunk-4KYLNTR7.cjs.map → chunk-6CSXMWL4.cjs.map} +1 -1
  17. package/dist/{chunk-M3SXUUWC.cjs → chunk-6FQBKI2A.cjs} +4 -11
  18. package/dist/chunk-6FQBKI2A.cjs.map +1 -0
  19. package/dist/{chunk-G4XWVWRI.js → chunk-6G7NN4S4.js} +5 -4
  20. package/dist/chunk-6G7NN4S4.js.map +1 -0
  21. package/dist/{chunk-ZFJN23V4.cjs → chunk-A2PX5IRC.cjs} +4 -4
  22. package/dist/{chunk-ZFJN23V4.cjs.map → chunk-A2PX5IRC.cjs.map} +1 -1
  23. package/dist/{chunk-JHTT2V4A.cjs → chunk-AFYTX4AI.cjs} +52 -43
  24. package/dist/chunk-AFYTX4AI.cjs.map +1 -0
  25. package/dist/chunk-ALRXY4QH.cjs +13 -0
  26. package/dist/chunk-ALRXY4QH.cjs.map +1 -0
  27. package/dist/chunk-AOJ6B7K4.cjs +351 -0
  28. package/dist/chunk-AOJ6B7K4.cjs.map +1 -0
  29. package/dist/{chunk-ZDBPQBAA.js → chunk-C7POAYFE.js} +3 -3
  30. package/dist/{chunk-ZDBPQBAA.js.map → chunk-C7POAYFE.js.map} +1 -1
  31. package/dist/{chunk-B6BG3LV2.js → chunk-CC4V2B7S.js} +3 -3
  32. package/dist/{chunk-B6BG3LV2.js.map → chunk-CC4V2B7S.js.map} +1 -1
  33. package/dist/{chunk-XZKFZMRT.cjs → chunk-CIPPPT7E.cjs} +6 -6
  34. package/dist/{chunk-XZKFZMRT.cjs.map → chunk-CIPPPT7E.cjs.map} +1 -1
  35. package/dist/{chunk-6XVHYD5R.js → chunk-CLAKSLXF.js} +4 -9
  36. package/dist/chunk-CLAKSLXF.js.map +1 -0
  37. package/dist/chunk-CTANEPMY.js +61 -0
  38. package/dist/chunk-CTANEPMY.js.map +1 -0
  39. package/dist/{chunk-WGKAOUEQ.cjs → chunk-D34K455O.cjs} +3 -2
  40. package/dist/chunk-D34K455O.cjs.map +1 -0
  41. package/dist/chunk-E2HZTGYX.js +331 -0
  42. package/dist/chunk-E2HZTGYX.js.map +1 -0
  43. package/dist/{chunk-RQ4F3AJH.cjs → chunk-G3KVK7OU.cjs} +21 -21
  44. package/dist/{chunk-RQ4F3AJH.cjs.map → chunk-G3KVK7OU.cjs.map} +1 -1
  45. package/dist/chunk-G4U3HW6W.js +453 -0
  46. package/dist/chunk-G4U3HW6W.js.map +1 -0
  47. package/dist/{chunk-IRQ3SPX7.js → chunk-GSFB537T.js} +3 -3
  48. package/dist/{chunk-IRQ3SPX7.js.map → chunk-GSFB537T.js.map} +1 -1
  49. package/dist/chunk-HRY7KGAE.cjs +506 -0
  50. package/dist/chunk-HRY7KGAE.cjs.map +1 -0
  51. package/dist/{chunk-VOWJCUMR.js → chunk-I2RQB7VG.js} +3 -3
  52. package/dist/{chunk-VOWJCUMR.js.map → chunk-I2RQB7VG.js.map} +1 -1
  53. package/dist/chunk-IDTKF5EX.cjs +48 -0
  54. package/dist/chunk-IDTKF5EX.cjs.map +1 -0
  55. package/dist/{chunk-5XRRENHD.cjs → chunk-IWWVPR3W.cjs} +88 -11
  56. package/dist/chunk-IWWVPR3W.cjs.map +1 -0
  57. package/dist/{chunk-SCMTN57Y.js → chunk-JJNNM23P.js} +3 -3
  58. package/dist/{chunk-SCMTN57Y.js.map → chunk-JJNNM23P.js.map} +1 -1
  59. package/dist/{chunk-ZZGQRRN7.js → chunk-JZGZ26YB.js} +6 -306
  60. package/dist/chunk-JZGZ26YB.js.map +1 -0
  61. package/dist/{chunk-XROE3CAS.cjs → chunk-KHH54GRP.cjs} +120 -79
  62. package/dist/chunk-KHH54GRP.cjs.map +1 -0
  63. package/dist/{chunk-NJVOJXBS.cjs → chunk-KJSRPHJ2.cjs} +48 -47
  64. package/dist/chunk-KJSRPHJ2.cjs.map +1 -0
  65. package/dist/{chunk-FVVD6XY2.js → chunk-KL6GAYTT.js} +13 -4
  66. package/dist/chunk-KL6GAYTT.js.map +1 -0
  67. package/dist/{chunk-AFQFGZN7.cjs → chunk-KYMHFVAZ.cjs} +8 -6
  68. package/dist/chunk-KYMHFVAZ.cjs.map +1 -0
  69. package/dist/{chunk-F5YEMSNK.cjs → chunk-MYJQELFN.cjs} +320 -26
  70. package/dist/chunk-MYJQELFN.cjs.map +1 -0
  71. package/dist/chunk-N5HH46JF.cjs +68 -0
  72. package/dist/chunk-N5HH46JF.cjs.map +1 -0
  73. package/dist/{chunk-MQZRQ5LM.cjs → chunk-N7OUQK7E.cjs} +8 -8
  74. package/dist/{chunk-MQZRQ5LM.cjs.map → chunk-N7OUQK7E.cjs.map} +1 -1
  75. package/dist/{chunk-UARGJ5IZ.js → chunk-NGKKNSK6.js} +30 -7
  76. package/dist/chunk-NGKKNSK6.js.map +1 -0
  77. package/dist/{chunk-SWVGHAYO.js → chunk-O7RZRUMZ.js} +110 -74
  78. package/dist/chunk-O7RZRUMZ.js.map +1 -0
  79. package/dist/{chunk-C77F4ZTL.js → chunk-PTD6EDUU.js} +3 -3
  80. package/dist/{chunk-C77F4ZTL.js.map → chunk-PTD6EDUU.js.map} +1 -1
  81. package/dist/{chunk-ZNM2LW3D.cjs → chunk-QWYFHQYK.cjs} +78 -53
  82. package/dist/chunk-QWYFHQYK.cjs.map +1 -0
  83. package/dist/{chunk-VB2ARGQ6.js → chunk-RGNHHIMN.js} +3 -3
  84. package/dist/chunk-RGNHHIMN.js.map +1 -0
  85. package/dist/{chunk-MOMFX32D.js → chunk-S24ZBUB4.js} +194 -299
  86. package/dist/chunk-S24ZBUB4.js.map +1 -0
  87. package/dist/{chunk-EWS2VFO4.js → chunk-S5TMRJMX.js} +4 -4
  88. package/dist/{chunk-EWS2VFO4.js.map → chunk-S5TMRJMX.js.map} +1 -1
  89. package/dist/chunk-SMOO5FAH.js +10 -0
  90. package/dist/chunk-SMOO5FAH.js.map +1 -0
  91. package/dist/{chunk-RUHKBEFF.js → chunk-SYWR5G3T.js} +16 -7
  92. package/dist/chunk-SYWR5G3T.js.map +1 -0
  93. package/dist/{chunk-FQXRYPCX.cjs → chunk-TRVWMKNE.cjs} +337 -52
  94. package/dist/chunk-TRVWMKNE.cjs.map +1 -0
  95. package/dist/{chunk-LLOIAGFB.js → chunk-UDDVDQMF.js} +292 -35
  96. package/dist/chunk-UDDVDQMF.js.map +1 -0
  97. package/dist/{chunk-PONP5J5E.cjs → chunk-V24EPI5N.cjs} +13 -3
  98. package/dist/chunk-V24EPI5N.cjs.map +1 -0
  99. package/dist/{chunk-5I4T4QR5.cjs → chunk-VACPZPUA.cjs} +5 -5
  100. package/dist/{chunk-5I4T4QR5.cjs.map → chunk-VACPZPUA.cjs.map} +1 -1
  101. package/dist/{chunk-HGI2VKIV.js → chunk-Y6X7UJSD.js} +10 -9
  102. package/dist/chunk-Y6X7UJSD.js.map +1 -0
  103. package/dist/chunk-YCXRSWCQ.js +42 -0
  104. package/dist/chunk-YCXRSWCQ.js.map +1 -0
  105. package/dist/entries/apps.cjs +44 -44
  106. package/dist/entries/apps.js +9 -9
  107. package/dist/entries/credits.cjs +217 -152
  108. package/dist/entries/credits.d.cts +105 -3
  109. package/dist/entries/credits.d.ts +105 -3
  110. package/dist/entries/credits.js +13 -8
  111. package/dist/entries/entities.cjs +188 -143
  112. package/dist/entries/entities.d.cts +122 -1
  113. package/dist/entries/entities.d.ts +122 -1
  114. package/dist/entries/entities.js +2 -1
  115. package/dist/entries/llm-models.d.cts +2 -1
  116. package/dist/entries/llm-models.d.ts +2 -1
  117. package/dist/entries/media.cjs +92 -87
  118. package/dist/entries/media.d.cts +11 -1
  119. package/dist/entries/media.d.ts +11 -1
  120. package/dist/entries/media.js +3 -2
  121. package/dist/entries/model-catalog.cjs +195 -103
  122. package/dist/entries/model-catalog.d.cts +90 -4
  123. package/dist/entries/model-catalog.d.ts +90 -4
  124. package/dist/entries/model-catalog.js +5 -5
  125. package/dist/entries/models.cjs +407 -294
  126. package/dist/entries/models.d.cts +4 -3
  127. package/dist/entries/models.d.ts +4 -3
  128. package/dist/entries/models.js +6 -5
  129. package/dist/entries/nodes.cjs +241 -233
  130. package/dist/entries/nodes.d.cts +15 -2
  131. package/dist/entries/nodes.d.ts +15 -2
  132. package/dist/entries/nodes.js +10 -10
  133. package/dist/entries/pipeline.cjs +152 -152
  134. package/dist/entries/pipeline.d.cts +2 -1
  135. package/dist/entries/pipeline.d.ts +2 -1
  136. package/dist/entries/pipeline.js +3 -3
  137. package/dist/entries/ugc.cjs +71 -71
  138. package/dist/entries/ugc.js +4 -4
  139. package/dist/entries/video.cjs +308 -204
  140. package/dist/entries/video.d.cts +480 -98
  141. package/dist/entries/video.d.ts +480 -98
  142. package/dist/entries/video.js +8 -4
  143. package/dist/entries/workflow.cjs +102 -102
  144. package/dist/entries/workflow.d.cts +5 -4
  145. package/dist/entries/workflow.d.ts +5 -4
  146. package/dist/entries/workflow.js +2 -2
  147. package/dist/{gpt-image-2-6-BeZdT-pW.d.cts → gpt-image-2-6-jIRQBRag.d.cts} +6 -0
  148. package/dist/{gpt-image-2-6-BeZdT-pW.d.ts → gpt-image-2-6-jIRQBRag.d.ts} +6 -0
  149. package/dist/index.cjs +2309 -1886
  150. package/dist/index.d.cts +9 -9
  151. package/dist/index.d.ts +9 -9
  152. package/dist/index.js +26 -23
  153. package/dist/{model-catalog-BgSvskgY.d.cts → model-catalog-CCEcv08q.d.cts} +128 -14
  154. package/dist/{model-catalog-BgSvskgY.d.ts → model-catalog-CCEcv08q.d.ts} +128 -14
  155. package/dist/{model-constants-DHd9jwQ7.d.ts → model-constants-B88p6XR0.d.ts} +299 -19
  156. package/dist/{model-constants-DHd9jwQ7.d.cts → model-constants-Cf3zaITt.d.cts} +299 -19
  157. package/package.json +1 -1
  158. package/src/__tests__/extend-providers.test.ts +114 -0
  159. package/src/__tests__/fixtures/mask-composite-quote-parity.json +118 -0
  160. package/src/__tests__/fixtures/root-exports.baseline.json +68 -0
  161. package/src/__tests__/gpt-image-2-6-formats.test.ts +4 -1
  162. package/src/__tests__/grok-video-15-catalog.test.ts +189 -0
  163. package/src/__tests__/gvp-supported-providers.test.ts +5 -2
  164. package/src/__tests__/minimax-h3-image.test.ts +140 -0
  165. package/src/__tests__/model-makers.test.ts +49 -11
  166. package/src/__tests__/model-tree.test.ts +13 -0
  167. package/src/__tests__/retired-video-provider.test.ts +15 -5
  168. package/src/__tests__/seedance-25-catalog-modes.test.ts +1 -1
  169. package/src/__tests__/seedance-task-type.test.ts +178 -0
  170. package/src/__tests__/seedream-5-5.test.ts +117 -0
  171. package/src/__tests__/unit-contract-compose.test.ts +27 -1
  172. package/src/__tests__/unit-contracts.test.ts +20 -6
  173. package/src/__tests__/upscale-factors.test.ts +107 -0
  174. package/src/__tests__/video-character-refs.test.ts +20 -2
  175. package/src/__tests__/video-collapse-parity.test.ts +19 -0
  176. package/src/__tests__/video-overlay-geometry.test.ts +68 -0
  177. package/src/__tests__/video-overlay-layer-plan.test.ts +3 -4
  178. package/src/__tests__/video-overlay-layouts.test.ts +529 -0
  179. package/src/__tests__/video-overlay-pricing.test.ts +61 -0
  180. package/src/__tests__/video-overlay-validate.test.ts +128 -0
  181. package/src/__tests__/video-overlay-wired-kind.test.ts +207 -0
  182. package/src/__tests__/video-overlay.test.ts +280 -194
  183. package/src/__tests__/video-ref-limits.test.ts +2 -1
  184. package/src/__tests__/video-reference-only.test.ts +6 -2
  185. package/src/__tests__/video-start-frame-only.test.ts +98 -0
  186. package/src/__tests__/wired-character-names.test.ts +220 -0
  187. package/src/credit-estimators/index.ts +8 -0
  188. package/src/credit-estimators/video-overlay.ts +70 -0
  189. package/src/credit-identifiers.ts +94 -1
  190. package/src/entity-image-url.ts +21 -0
  191. package/src/entries/credits.ts +14 -0
  192. package/src/entries/entities.ts +14 -0
  193. package/src/entries/model-catalog.ts +35 -1
  194. package/src/entries/models.ts +34 -0
  195. package/src/entries/nodes.ts +2 -0
  196. package/src/entries/video.ts +6 -0
  197. package/src/generated/unit-contracts.ts +8 -1
  198. package/src/gpt-image-2-6.ts +6 -0
  199. package/src/input-image-pricing.ts +76 -0
  200. package/src/mask-composite.ts +11 -0
  201. package/src/minimax-h3-image.ts +61 -0
  202. package/src/model-catalog.ts +355 -37
  203. package/src/model-constants.ts +590 -32
  204. package/src/node-default-mappings.ts +12 -2
  205. package/src/node-execution-state.ts +4 -3
  206. package/src/producer-types.ts +23 -1
  207. package/src/seedance-task-type.ts +37 -0
  208. package/src/seedream-5-5.ts +45 -0
  209. package/src/unit-contract-compose.ts +4 -1
  210. package/src/upscale-factors.ts +111 -0
  211. package/src/video-character-refs.ts +7 -4
  212. package/src/video-overlay-geometry.ts +99 -0
  213. package/src/video-overlay-input.ts +25 -0
  214. package/src/video-overlay-layout-ids.ts +48 -0
  215. package/src/video-overlay-layouts.ts +315 -0
  216. package/src/video-overlay-validate.ts +223 -0
  217. package/src/video-overlay-video-layers.ts +304 -0
  218. package/src/video-overlay.ts +165 -297
  219. package/src/video-ui-defaults.ts +8 -6
  220. package/src/wired-character-names.ts +202 -0
  221. package/dist/chunk-5XRRENHD.cjs.map +0 -1
  222. package/dist/chunk-673E4KYC.js.map +0 -1
  223. package/dist/chunk-6XVHYD5R.js.map +0 -1
  224. package/dist/chunk-7ARKVJTN.cjs.map +0 -1
  225. package/dist/chunk-7WGKP3EU.js +0 -23
  226. package/dist/chunk-7WGKP3EU.js.map +0 -1
  227. package/dist/chunk-A3FHTSLB.js.map +0 -1
  228. package/dist/chunk-AFQFGZN7.cjs.map +0 -1
  229. package/dist/chunk-F5YEMSNK.cjs.map +0 -1
  230. package/dist/chunk-FQXRYPCX.cjs.map +0 -1
  231. package/dist/chunk-FVVD6XY2.js.map +0 -1
  232. package/dist/chunk-G4XWVWRI.js.map +0 -1
  233. package/dist/chunk-HGI2VKIV.js.map +0 -1
  234. package/dist/chunk-IVXSNW2B.cjs.map +0 -1
  235. package/dist/chunk-JHTT2V4A.cjs.map +0 -1
  236. package/dist/chunk-KHZAQGRP.js +0 -17
  237. package/dist/chunk-KHZAQGRP.js.map +0 -1
  238. package/dist/chunk-LLOIAGFB.js.map +0 -1
  239. package/dist/chunk-M3SXUUWC.cjs.map +0 -1
  240. package/dist/chunk-MOMFX32D.js.map +0 -1
  241. package/dist/chunk-NCOGGRRP.cjs +0 -27
  242. package/dist/chunk-NCOGGRRP.cjs.map +0 -1
  243. package/dist/chunk-NJVOJXBS.cjs.map +0 -1
  244. package/dist/chunk-PONP5J5E.cjs.map +0 -1
  245. package/dist/chunk-RUHKBEFF.js.map +0 -1
  246. package/dist/chunk-SWVGHAYO.js.map +0 -1
  247. package/dist/chunk-UARGJ5IZ.js.map +0 -1
  248. package/dist/chunk-VB2ARGQ6.js.map +0 -1
  249. package/dist/chunk-WGKAOUEQ.cjs.map +0 -1
  250. package/dist/chunk-XROE3CAS.cjs.map +0 -1
  251. package/dist/chunk-ZLDFPVVI.cjs +0 -19
  252. package/dist/chunk-ZLDFPVVI.cjs.map +0 -1
  253. package/dist/chunk-ZNM2LW3D.cjs.map +0 -1
  254. package/dist/chunk-ZZGQRRN7.js.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { z } from 'zod';
2
+ import { D as DeclaredSeedanceTaskType, j as ModelInputAdjustment } from './model-catalog-CCEcv08q.js';
2
3
 
3
4
  /**
4
5
  * Model constants shared between frontend and backend.
@@ -38,14 +39,21 @@ declare const IMAGE_PROMPT_MAX = 5000;
38
39
  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
40
  /** A ratio string the image routes accept (pre-snap vocabulary, not a per-model guarantee). */
40
41
  type ImageAspectRatio = typeof IMAGE_ASPECT_RATIO_VALUES[number];
42
+ /**
43
+ * The K tiers of {@link IMAGE_RESOLUTION_VALUES}, smallest first. `1.5K` is
44
+ * Seedream 5.5's middle size; no other model lists it, and the catalog snap
45
+ * moves it to a size the chosen model does list.
46
+ */
47
+ declare const IMAGE_K_RESOLUTION_VALUES: readonly ["1K", "1.5K", "2K", "4K"];
41
48
  /**
42
49
  * The `resolution` vocabulary `/v1/generate-image` and `/v1/image-to-image`
43
- * accept: the K tiers (`1K`/`2K`/`4K`) and the Flux 2 megapixel tiers. Like
44
- * {@link IMAGE_ASPECT_RATIO_VALUES} it is a vocabulary bound, not a per-model
45
- * gate — the catalog snap corrects a value the chosen model does not declare.
46
- * One tuple for the route Zod enums and the SDK's `ImageResolution`.
50
+ * accept: the K tiers ({@link IMAGE_K_RESOLUTION_VALUES}) and the Flux 2
51
+ * megapixel tiers. Like {@link IMAGE_ASPECT_RATIO_VALUES} it is a vocabulary
52
+ * bound, not a per-model gate — the catalog snap corrects a value the chosen
53
+ * model does not declare. One tuple for the route Zod enums (the entity routes'
54
+ * too) and the SDK's `ImageResolution`.
47
55
  */
48
- declare const IMAGE_RESOLUTION_VALUES: readonly ["1K", "2K", "4K", "0.5 MP", "1 MP", "2 MP", "4 MP"];
56
+ declare const IMAGE_RESOLUTION_VALUES: readonly ["1K", "1.5K", "2K", "4K", "0.5 MP", "1 MP", "2 MP", "4 MP"];
49
57
  type ImageResolution = typeof IMAGE_RESOLUTION_VALUES[number];
50
58
  /** The `quality` vocabulary of the same two routes (vocabulary bound; the catalog snap gates per model). */
51
59
  declare const IMAGE_QUALITY_VALUES: readonly ["auto", "low", "medium", "high", "xhigh", "max", "basic"];
@@ -101,6 +109,17 @@ declare const MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER: Record<string, number>;
101
109
  * {@link IMAGE_PROMPT_MAX} default. Single source of truth shared by the prompt
102
110
  * assembler, the over-limit warning, and the image-route ceiling. */
103
111
  declare function getMaxImagePromptChars(provider: string | undefined): number;
112
+ /**
113
+ * The fewest characters (after trimming) the prompt a provider is SENT may have,
114
+ * where its schema states a minimum it refuses below. Unlike the maximum, a
115
+ * short prompt cannot be fixed by the platform without writing words for the
116
+ * person, so a run whose final prompt is shorter is refused before anything is
117
+ * reserved (the image routes and the workflow run). Only a value quoted from
118
+ * the provider's schema is listed; a provider absent here has no minimum.
119
+ */
120
+ declare const MIN_IMAGE_PROMPT_CHARS_BY_PROVIDER: Record<string, number>;
121
+ /** The minimum prompt length for a provider ({@link MIN_IMAGE_PROMPT_CHARS_BY_PROVIDER}), 0 when it states none. */
122
+ declare function getMinImagePromptChars(provider: string | undefined): number;
104
123
  /**
105
124
  * Video prompt/negative cap shared by routes + editor (MCP verbs already use
106
125
  * 8000). Providers allow far more (KIE seedance-2: 20k chars) — the old
@@ -361,9 +380,9 @@ declare const HIGH_QUALITY_PROVIDERS: Set<string>;
361
380
  declare const TWO_K_RESOLUTION_PROVIDERS: Set<string>;
362
381
  declare const IDEOGRAM_PROVIDERS: Set<string>;
363
382
  /** Text-to-image providers (no input image required) */
364
- 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"];
383
+ 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", "minimax-h3-image", "seedream-5-5", "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"];
365
384
  /** Image-to-image providers (require input image) */
366
- 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"];
385
+ 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", "minimax-h3-image-i2i", "seedream-5-5-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill"];
367
386
  /**
368
387
  * Image editing providers (upscale, remove bg, etc.)
369
388
  *
@@ -375,7 +394,7 @@ declare const IMAGE_I2I_PROVIDERS: readonly ["nano-banana", "nano-banana-2", "na
375
394
  * answers the id with a 400 naming the replacement. A Grok video upscale, if
376
395
  * ever offered, is a new id on the video-upscale node.
377
396
  */
378
- declare const IMAGE_EDIT_PROVIDERS: readonly ["recraft-upscale", "recraft-remove-bg", "nano-banana-edit", "topaz-image-upscale", "grok-2-edit", "grok-2-segment"];
397
+ declare const IMAGE_EDIT_PROVIDERS: readonly ["recraft-upscale", "recraft-remove-bg", "nano-banana-edit", "topaz-image-upscale", "nodaro-image-upscale", "grok-2-edit", "grok-2-segment"];
379
398
  /**
380
399
  * Edit providers that take a PRIOR KIE Grok generation's task id instead of
381
400
  * an image URL. Single source of truth for the taskId-vs-imageUrl branching:
@@ -392,22 +411,22 @@ declare const TASK_CHAINED_EDIT_PROVIDER_IDS: readonly ["grok-2-edit", "grok-2-s
392
411
  type TaskChainedEditProvider = typeof TASK_CHAINED_EDIT_PROVIDER_IDS[number];
393
412
  declare const TASK_CHAINED_EDIT_PROVIDERS: ReadonlySet<string>;
394
413
  /** Modify image providers (I2I + edit-with-prompt) */
395
- 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"];
414
+ 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", "minimax-h3-image-i2i", "seedream-5-5-i2i", "flux-kontext", "flux-kontext-max", "kontext-multi", "flux-2-pro", "flux-fill", "flux-2-max", "flux-fill", "nano-banana-edit"];
396
415
  type ModifyImageProvider = typeof MODIFY_IMAGE_PROVIDERS[number];
397
416
  /** Image upscale providers */
398
- declare const UPSCALE_IMAGE_PROVIDERS: readonly ["recraft-upscale", "topaz-image-upscale"];
417
+ declare const UPSCALE_IMAGE_PROVIDERS: readonly ["recraft-upscale", "topaz-image-upscale", "nodaro-image-upscale"];
399
418
  type UpscaleImageProvider = typeof UPSCALE_IMAGE_PROVIDERS[number];
400
419
  type ImageGenProvider = typeof IMAGE_GEN_PROVIDERS[number];
401
420
  type ImageI2IProvider = typeof IMAGE_I2I_PROVIDERS[number];
402
421
  type ImageEditProvider = typeof IMAGE_EDIT_PROVIDERS[number];
403
422
  /** Image-to-video providers */
404
- 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"];
423
+ 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", "kling-4-flash", "ltx-2.3-pro", "ltx-2.3-fast", "grok-imagine-video-1.5"];
405
424
  type ImageToVideoProvider = typeof IMAGE_TO_VIDEO_PROVIDERS[number];
406
425
  /** Text-to-video providers */
407
- 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"];
426
+ 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", "kling-4-flash", "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"];
408
427
  type TextToVideoProvider = typeof TEXT_TO_VIDEO_PROVIDERS[number];
409
428
  /** Unified video-generation providers (image-to-video ∪ text-to-video) for the generate-video node. */
410
- 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")[]];
429
+ 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", "kling-4-flash", "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" | "kling-4-flash" | "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")[]];
411
430
  type VideoGenProvider = typeof VIDEO_GEN_PROVIDERS[number];
412
431
  /**
413
432
  * Video models that expose DISTINCT provider ids per mode (text-to-video vs
@@ -447,6 +466,10 @@ declare const VIDEO_MODE_ALIASES: readonly VideoModeAlias[];
447
466
  * - `seedance` (Seedance 1.5 Pro, KIE `bytedance/seedance-1.5-pro`): retired
448
467
  * upstream 2026-10-25 (KIE answers 410). Runs as Seedance 2 Mini, the
449
468
  * cheapest Seedance left (owner's decision 2026-10-25).
469
+ * - `seedance-2-extend` (the one Seedance Extend Video provider, its model
470
+ * chosen by the deployment): split 2026-11-11 into one provider per model.
471
+ * Runs as `seedance-2-5-extend`, the Seedance 2.5 extend, and is priced on
472
+ * its rows; `seedance-2-0-extend` is the Seedance 2.0 one.
450
473
  */
451
474
  declare const RETIRED_VIDEO_PROVIDERS: Readonly<Record<string, string>>;
452
475
  /** A retired video model id becomes the id it runs as; any other value passes through unchanged. Own properties only. */
@@ -501,8 +524,10 @@ declare function videoProviderReferenceSyntax(provider: string | undefined): Vid
501
524
  * Reference-capable video models whose start/end frames ride a channel of
502
525
  * their OWN (separate frame parameters next to the reference list), so a frame
503
526
  * never occupies a reference seat: `kling-3-omni` (Replicate `start_image` /
504
- * `end_image`, no dispatch path today) and Kling 4.0 Keyframes (KIE
505
- * `first_frame_url` / `last_frame_url` beside its in-between `keyframe_urls`).
527
+ * `end_image`, no dispatch path today), Kling 4.0 Keyframes (KIE
528
+ * `first_frame_url` / `last_frame_url` beside its in-between `keyframe_urls`)
529
+ * and Grok Imagine Video 1.5 (KIE `first_frame_url` / `last_frame_url` /
530
+ * `loop_url` beside its in-between `keyframes`).
506
531
  */
507
532
  declare const VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL: ReadonlySet<string>;
508
533
  /**
@@ -583,6 +608,16 @@ declare const SEEDANCE_VIDEO_EDIT_SHAPE: {
583
608
  readonly aspectRatio: "adaptive";
584
609
  readonly duration: -1;
585
610
  };
611
+ /**
612
+ * The reference task type a purpose-built Seedance video edit requests (the
613
+ * Video to Video route and node, MCP `modify_video`): the reference video is
614
+ * the clip to edit, said outright instead of left to the prompt. A request, not
615
+ * a promise: `resolveSeedanceTaskType` declares it only when the edit's
616
+ * reference videos qualify, and otherwise the edit goes out undeclared, as
617
+ * before. Kept apart from `SEEDANCE_VIDEO_EDIT_SHAPE`, whose exact value other
618
+ * callers spread and pin.
619
+ */
620
+ declare const SEEDANCE_VIDEO_EDIT_TASK_TYPE: "edit";
586
621
  /** Face swap providers */
587
622
  declare const FACE_SWAP_PROVIDERS: readonly ["roop"];
588
623
  type FaceSwapProvider = typeof FACE_SWAP_PROVIDERS[number];
@@ -590,8 +625,15 @@ type FaceSwapProvider = typeof FACE_SWAP_PROVIDERS[number];
590
625
  declare const VIDEO_UPSCALE_PROVIDERS: readonly ["topaz", "veo-1080p", "veo-4k", "seedance-2-5-hd"];
591
626
  type VideoUpscaleProvider = typeof VIDEO_UPSCALE_PROVIDERS[number];
592
627
  /** Extend video providers */
593
- declare const EXTEND_VIDEO_PROVIDERS: readonly ["veo-extend", "runway-extend", "ltx-2.3-pro", "seedance-2-extend"];
628
+ declare const EXTEND_VIDEO_PROVIDERS: readonly ["veo-extend", "runway-extend", "ltx-2.3-pro", "seedance-2-5-extend", "seedance-2-0-extend"];
594
629
  type ExtendVideoProvider = typeof EXTEND_VIDEO_PROVIDERS[number];
630
+ /** The Extend Video providers that run on Seedance, one per model. */
631
+ type SeedanceExtendProvider = Extract<ExtendVideoProvider, "seedance-2-5-extend" | "seedance-2-0-extend">;
632
+ /**
633
+ * Whether a value is one of the Seedance Extend Video providers. A retired id
634
+ * answers false: pass it through {@link canonicalVideoProvider} first.
635
+ */
636
+ declare function isSeedanceExtendProvider(p: unknown): p is SeedanceExtendProvider;
595
637
  /** Lip sync providers */
596
638
  declare const LIP_SYNC_PROVIDERS: readonly ["kling-avatar", "kling-avatar-pro", "infinitalk", "omnihuman-1-5", "latentsync", "wav2lip", "video-retalking", "sadtalker", "heygen-lipsync-precision", "lipsync-2-pro", "sync-lipsync-v3", "volcengine-lipsync", "seedance-2", "seedance-2-fast", "seedance-2-mini", "seedance-2-5", "minimax-h3"];
597
639
  type LipSyncProvider = typeof LIP_SYNC_PROVIDERS[number];
@@ -977,6 +1019,77 @@ declare const KLING_4_MAX_MIDDLE_FRAMES = 8;
977
1019
  * "duration 3s allows at most 4 frames (first + keyframes + last), got 5".
978
1020
  */
979
1021
  declare function kling4KeyframeFrameCap(durationSec: number | string | undefined): number;
1022
+ /**
1023
+ * Kling 4.0 Flash — ONE Nodaro id over KIE's two Flash endpoints
1024
+ * (`kling-4.0/flash-reference-to-video` and `kling-4.0/flash-keyframe-to-video`),
1025
+ * picked by what is wired: a start frame alone runs on the keyframe endpoint,
1026
+ * everything else on the reference endpoint (backend `kling4.ts`).
1027
+ *
1028
+ * Deliberately NOT a member of {@link KLING_4_PROVIDERS}: that set's branches
1029
+ * carry Kling 4.0's 1080p tier, its `voices` array, its Keyframes frame table
1030
+ * and its materials rule, none of which Flash has. Every place Flash shares
1031
+ * with Kling 4.0 opts in explicitly ({@link isKling4RunnerProvider}).
1032
+ */
1033
+ declare const KLING_4_FLASH_PROVIDER = "kling-4-flash";
1034
+ declare function isKling4FlashProvider(provider: string | undefined): provider is "kling-4-flash";
1035
+ /** The one resolution Kling 4.0 Flash renders (both schemas: `720p` only). */
1036
+ declare const KLING_4_FLASH_RESOLUTION = "720p";
1037
+ /**
1038
+ * Every id the bespoke Kling 4.0 runner serves — Kling 4.0, its Keyframes twin
1039
+ * and Flash. Read only where the three behave the same: the provider dispatch,
1040
+ * the image normalization, the editor's UI defaults (aspect `auto`, 720p, 5s).
1041
+ * Anything about resolutions, frames, voices or the materials budget asks
1042
+ * {@link isKling4Provider} or {@link isKling4FlashProvider} instead.
1043
+ */
1044
+ declare function isKling4RunnerProvider(provider: string | undefined): provider is "kling-4" | "kling-4-keyframes" | "kling-4-flash";
1045
+ /**
1046
+ * Grok Imagine Video 1.5 — KIE `grok-imagine-video-1-5-preview`
1047
+ * (docs.kie.ai/market/grok-imagine/1-5-preview), built by the backend's bespoke
1048
+ * runner (`kie/grok-video-15.ts`). Image to video: the start frame is the exact
1049
+ * first frame, an end frame the exact last frame (one picture wired as both is
1050
+ * a seamless loop), and the Image References are up to
1051
+ * {@link GROK_VIDEO_15_MAX_MIDDLE_FRAMES} in-between frames, each placed at a
1052
+ * whole second inside the clip.
1053
+ */
1054
+ declare const GROK_VIDEO_15_PROVIDER = "grok-imagine-video-1.5";
1055
+ declare function isGrokVideo15Provider(provider: string | undefined): provider is "grok-imagine-video-1.5";
1056
+ /** Grok Imagine Video 1.5 resolution rendered when the param is omitted or
1057
+ * unknown — KIE's own default and the tier the bare credit identifier prices. */
1058
+ declare const GROK_VIDEO_15_DEFAULT_RESOLUTION = "480p";
1059
+ /**
1060
+ * SINGLE normalization for the Grok Imagine Video 1.5 resolution lever. The KIE
1061
+ * wire enum is lowercase (`480p` | `720p` | `1080p`), the same spelling as the
1062
+ * catalog and the credit identifiers; this folds case and collapses anything
1063
+ * else to {@link GROK_VIDEO_15_DEFAULT_RESOLUTION}. The runner sends what this
1064
+ * returns and the credit identifier bills what this returns.
1065
+ */
1066
+ declare function normalizeGrokVideo15Resolution(resolution: string | undefined): "480p" | "720p" | "1080p";
1067
+ /** Most in-between frames Grok Imagine Video 1.5 takes (KIE `keyframes`). */
1068
+ declare const GROK_VIDEO_15_MAX_MIDDLE_FRAMES = 4;
1069
+ /**
1070
+ * How many in-between frames a Grok Imagine Video 1.5 clip of `durationSec`
1071
+ * seconds carries. The node has no per-frame time, so the frames sit at whole
1072
+ * seconds strictly inside the clip, no two on the same second (decided
1073
+ * 2026-11-11): a D-second clip has D − 1 such seconds, and KIE takes at most
1074
+ * {@link GROK_VIDEO_15_MAX_MIDDLE_FRAMES}. Frames past this count are left out
1075
+ * (the runner logs it), never refused.
1076
+ */
1077
+ declare function grokVideo15MiddleFrameSlots(durationSec: number | string | undefined): number;
1078
+ /**
1079
+ * How many in-between frames (the Image References of a catalog `keyframes`
1080
+ * model) a run takes, given its length and which end frames are wired —
1081
+ * undefined for a model whose references are not frames. The editor's handle
1082
+ * cap and panel count read this, so the two cannot disagree.
1083
+ *
1084
+ * - Kling 4.0 Keyframes: the start and end frames share the clip's frame cap
1085
+ * ({@link kling4KeyframeFrameCap}), at most {@link KLING_4_MAX_MIDDLE_FRAMES}.
1086
+ * - Grok Imagine Video 1.5: {@link grokVideo15MiddleFrameSlots}; the start and
1087
+ * end frames ride their own fields and take no slot.
1088
+ */
1089
+ declare function videoKeyframesMiddleCap(provider: string | undefined, durationSec: number | string | undefined, frames: {
1090
+ readonly hasStartFrame: boolean;
1091
+ readonly hasEndFrame: boolean;
1092
+ }): number | undefined;
980
1093
  /**
981
1094
  * Google Gemini Omni family — the KIE "gemini-omni-video" market model and its
982
1095
  * faster/cheaper "google/gemini-omni-flash-1-1" sibling. Both take the SAME
@@ -1169,8 +1282,8 @@ declare const SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC = 1.8;
1169
1282
  */
1170
1283
  declare const SEEDANCE_2_CONTINUATION_REF_SEC = 2;
1171
1284
  /**
1172
- * Trim-stitch parameters for the seedance-2-extend provider (spike-validated
1173
- * 2026-06-11):
1285
+ * Trim-stitch parameters for the Seedance Extend Video providers
1286
+ * (`seedance-2-5-extend`, `seedance-2-0-extend`; spike-validated 2026-06-11):
1174
1287
  * the model's extension output wobbles for its first ~3 frames and the source
1175
1288
  * tail's last ~4 frames lead into it; dropping both and butt-joining yields a
1176
1289
  * seam SMOOTHER than ordinary in-clip motion (PSNR 34.4dB vs 30.6dB
@@ -1282,6 +1395,15 @@ declare const VIDEO_REF_LIMITS_BY_PROVIDER: Record<string, {
1282
1395
  * (`videoCharacterRefProblem`).
1283
1396
  */
1284
1397
  materials?: number;
1398
+ /**
1399
+ * Reference audio rides ON a character subject (its voice), not as a
1400
+ * material of its own: clip N belongs to wired character N, in the order
1401
+ * the characters arrive, and takes no seat in `materials`. A character with
1402
+ * fewer than 2 images is no subject and cannot carry a voice, so its clip
1403
+ * is dropped, as is a clip past the last character (Kling 4.0 Flash: KIE
1404
+ * `elements[].voice_url`, no standalone `voices`).
1405
+ */
1406
+ audioBindsToCharacters?: true;
1285
1407
  } | undefined>;
1286
1408
  /** Per-reference-video duration bounds, in seconds. */
1287
1409
  interface RefVideoDurationLimit {
@@ -1419,6 +1541,88 @@ declare function videoProviderRequiresImage(provider: string | undefined): boole
1419
1541
  * family here; one that does not keeps the honest `image_required` 400.
1420
1542
  */
1421
1543
  declare function videoProviderFoldsLoneEndFrame(provider: string): boolean;
1544
+ /**
1545
+ * True when the provider takes an end frame ALONE, with no start frame, as the
1546
+ * clip's closing frame: Kling 4.0 Keyframes (KIE `last_frame_url` without
1547
+ * `first_frame_url`) and Gemini Omni Flash 1.2. Every other model meets the
1548
+ * platform's general rule for a lone end frame: the workflow run moves it into
1549
+ * the start slot, while the editor's Run and the image-to-video route refuse
1550
+ * the run for having no start frame.
1551
+ *
1552
+ * Read by the three places that apply that rule (the route's image gate, the
1553
+ * workflow payload builder's swap, the editor's start-frame guard) so they
1554
+ * cannot disagree. A `keyframes` model qualifies only when its endpoint runs
1555
+ * with no start frame at all (it has a text-to-video mode): Grok Imagine Video
1556
+ * 1.5 declares `keyframes` but needs its start image, so a lone end frame
1557
+ * keeps the general rule there.
1558
+ */
1559
+ declare function videoProviderTakesLoneEndFrame(provider: string | undefined): boolean;
1560
+ /**
1561
+ * True when wired reference images can stand in for a missing start frame on
1562
+ * the image-to-video lane: the provider carries image references
1563
+ * ({@link VIDEO_REF_LIMITS_BY_PROVIDER}), unless they are a `keyframes`
1564
+ * model's in-between FRAMES and its endpoint cannot run from them alone (no
1565
+ * `reference-to-video`, {@link videoProviderRunsFromReferences}) — Grok Imagine
1566
+ * Video 1.5's in-between frames need its start frame. Read by the
1567
+ * image-to-video route's gate and the editor's start-frame guard; the workflow
1568
+ * run reaches the same answer through {@link resolveVideoModeForInputs}.
1569
+ */
1570
+ declare function videoProviderRefsReplaceStartFrame(provider: string | undefined): boolean;
1571
+ /** The error code of a {@link videoStartFrameOnlyProblem} refusal. */
1572
+ declare const VIDEO_START_FRAME_ONLY_CODE: "start_frame_only_resolution";
1573
+ /**
1574
+ * The resolution tier a run of `provider` renders for `resolution` when that
1575
+ * tier takes a start frame only (the catalog's `startFrameOnlyResolutions`),
1576
+ * else undefined. Case-folded, as the runners send it (`"1080P"` is 1080p).
1577
+ */
1578
+ declare function videoStartFrameOnlyResolution(provider: string | undefined, resolution: string | undefined): string | undefined;
1579
+ /**
1580
+ * The sentence for a start-frame-only refusal: which tier takes a start frame
1581
+ * only, and the two ways out (the highest tier that takes every frame, or
1582
+ * removing the extra frames). `nothingCharged` adds that nothing was charged —
1583
+ * for a refusal of a run (the API, the workflow run, the editor's Run), never
1584
+ * for the editor's note beside the setting.
1585
+ */
1586
+ declare function videoStartFrameOnlyMessage(provider: string, resolution: string, opts?: {
1587
+ readonly nothingCharged?: boolean;
1588
+ }): string;
1589
+ /** A {@link videoStartFrameOnlyProblem} refusal. */
1590
+ interface VideoStartFrameOnlyProblem {
1591
+ readonly code: typeof VIDEO_START_FRAME_ONLY_CODE;
1592
+ /** The sentence, in English — the API's `error.message`. */
1593
+ readonly message: string;
1594
+ /** The tier that takes a start frame only (catalog spelling). */
1595
+ readonly resolution: string;
1596
+ /** The highest tier that takes every frame, when the model has one. */
1597
+ readonly fallbackResolution?: string;
1598
+ }
1599
+ /**
1600
+ * THE rule for a resolution that takes a start frame only (decided 2026-11-12:
1601
+ * refuse up front). Given the resolution a run renders and the frames it would
1602
+ * send BESIDE its start frame, is the combination refused, and with what
1603
+ * sentence? Undefined when it runs.
1604
+ *
1605
+ * - `hasEndFrame`: an end frame is wired. The same picture as the start frame
1606
+ * (a loop) counts too — the provider refuses a loop at such a tier as well.
1607
+ * - `inBetweenFrameCount`: the in-between frames wired (a `keyframes` model's
1608
+ * image references), BEFORE the clip's cap. The cap is applied here through
1609
+ * {@link videoKeyframesMiddleCap} — the same function the provider runner
1610
+ * truncates with — so a request whose extra frames are all dropped (a
1611
+ * 1-second Grok Imagine Video 1.5 clip has no in-between second) is a
1612
+ * start-only request and runs.
1613
+ *
1614
+ * Judged only on a run that has a start frame: a run without one is refused by
1615
+ * the image-required rule first, so every caller runs this after that gate.
1616
+ * Read by `/v1/generate-video`, the workflow payload builder and the editor's
1617
+ * Run; the editor's note and resolution menus read it too.
1618
+ */
1619
+ declare function videoStartFrameOnlyProblem(provider: string | undefined, args: {
1620
+ readonly resolution: string | undefined;
1621
+ readonly durationSec?: number | string;
1622
+ readonly hasEndFrame: boolean;
1623
+ readonly inBetweenFrameCount: number;
1624
+ readonly nothingCharged?: boolean;
1625
+ }): VideoStartFrameOnlyProblem | undefined;
1422
1626
  /**
1423
1627
  * Video models where enabling audio/sound incurs an additional cost.
1424
1628
  * The audio addon is expressed as a separate composite identifier suffix.
@@ -1582,6 +1786,82 @@ declare function pricedOutputDurationSec(provider: string, requested: number | s
1582
1786
  /** Models that accept `VIDEO_DURATION_AUTO` — a catalog capability (docs.kie.ai:
1583
1787
  * the Seedance 2 family, "4-15 seconds or -1" / 2.5 "Special values -1"). */
1584
1788
  declare function supportsAutoVideoDuration(provider: string | undefined): boolean;
1789
+ /** Models that accept a reference task type declaration — a catalog capability
1790
+ * (`MODEL_CATALOG[id].referenceTaskTypes`, see `SEEDANCE_REFERENCE_TASK_TYPES`). */
1791
+ declare function supportsReferenceTaskType(provider: string | undefined): boolean;
1792
+ /** What a request knows that decides its reference task type. */
1793
+ interface SeedanceTaskTypeFacts {
1794
+ provider: string | undefined;
1795
+ /** The value the request carries, unvalidated: anything but a declared value is Auto. */
1796
+ requested: unknown;
1797
+ draft: boolean;
1798
+ /** Reference images only: a start or end frame is not counted. */
1799
+ referenceImageCount: number;
1800
+ referenceAudioCount: number;
1801
+ /** One entry per reference video; `undefined` = its length could not be measured. */
1802
+ referenceVideoSec: ReadonlyArray<number | undefined>;
1803
+ aspectRatio: string | undefined;
1804
+ duration: number | undefined;
1805
+ }
1806
+ /** The declaration a request sends (if any), and the ratio and length it runs at. */
1807
+ interface SeedanceTaskTypeResolution {
1808
+ /** `undefined`: nothing is declared and the provider guesses from the prompt. */
1809
+ taskType: DeclaredSeedanceTaskType | undefined;
1810
+ aspectRatio: string | undefined;
1811
+ duration: number | undefined;
1812
+ /** Each change made to the ratio or length, for disclosure. Empty when nothing changed. */
1813
+ adjustments: ModelInputAdjustment[];
1814
+ }
1815
+ /**
1816
+ * `requested` when the model's catalog `referenceTaskTypes` lists it (strict
1817
+ * match), else `undefined`. The one membership test: the resolver below and the
1818
+ * provider adapter that writes the value both ask it.
1819
+ */
1820
+ declare function listedSeedanceTaskType(provider: string | undefined, requested: unknown): DeclaredSeedanceTaskType | undefined;
1821
+ /** How many of each kind of reference media a request carries. A start or end frame is not reference media. */
1822
+ interface SeedanceReferenceMediaCount {
1823
+ imageCount: number;
1824
+ videoCount: number;
1825
+ audioCount: number;
1826
+ }
1827
+ /**
1828
+ * Whether a request's reference media is what the declared type needs:
1829
+ * `reference` takes any reference media; `edit` and `extend` need a reference
1830
+ * video, since both act on one. The one media rule: the resolver below asks it
1831
+ * of the request, and the provider adapter of the body as it will be sent.
1832
+ */
1833
+ declare function seedanceTaskTypeFitsMedia(type: DeclaredSeedanceTaskType, media: SeedanceReferenceMediaCount): boolean;
1834
+ /**
1835
+ * The ONE place that decides whether a request declares a reference task type,
1836
+ * and the aspect ratio and length that declaration forces.
1837
+ *
1838
+ * Declared only when every condition holds; otherwise the result is the input
1839
+ * unchanged (no declaration, ratio and length as given, nothing reported):
1840
+ * - the request asks for a value the model's catalog `referenceTaskTypes`
1841
+ * LISTS, matched exactly. The list is what is honoured: a model that lists
1842
+ * nothing, a value it does not list (`auto`, a wrong case, a number) and a
1843
+ * model that lists only some values are all Auto;
1844
+ * - the run is not a draft;
1845
+ * - it has the reference media the type needs
1846
+ * ({@link seedanceTaskTypeFitsMedia}): `edit` and `extend` need a
1847
+ * reference video;
1848
+ * - for `edit`, every reference video is measured and between
1849
+ * `SEEDANCE_EDIT_REF_VIDEO_SEC.min` and `.max` seconds inclusive.
1850
+ *
1851
+ * What a declaration forces:
1852
+ * - `reference` — nothing;
1853
+ * - `edit` — the edit shape, `SEEDANCE_VIDEO_EDIT_SHAPE` (`"adaptive"`
1854
+ * and Auto length): the output takes the video's own shape
1855
+ * and length;
1856
+ * - `extend` — `"adaptive"`; a fixed length is kept, and Auto or no length
1857
+ * becomes the model's catalog `defaultDuration`.
1858
+ *
1859
+ * Each value it changes is reported as one adjustment; a value it fills where
1860
+ * the request had none is not a correction and reports nothing, and neither is
1861
+ * a ratio that already runs at the forced one (`"Auto"` with a reference video
1862
+ * runs at `"adaptive"`). Pure.
1863
+ */
1864
+ declare function resolveSeedanceTaskType(facts: SeedanceTaskTypeFacts): SeedanceTaskTypeResolution;
1585
1865
  /** The longest clip a duration-tiered provider can render (its top priced tier). */
1586
1866
  declare function maxVideoDurationSec(provider: string): number | undefined;
1587
1867
  /**
@@ -1755,4 +2035,4 @@ declare function applyDefaultVideoSelection<D>(input: {
1755
2035
  duration: D | number | undefined;
1756
2036
  };
1757
2037
 
1758
- export { IMAGE_I2I_PROVIDERS as $, AI_WRITER_PROVIDERS as A, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, type FaceSwapProvider as G, GEMINI_OMNI_12_MAX_SOURCE_SEC as H, GEMINI_OMNI_PER_SECOND_PROVIDERS as I, GEMINI_OMNI_PROVIDERS as J, GUIDANCE_SCALE_SUPPORT as K, GVP_ANCHOR_CHOICES as L, GVP_DEFAULT_PROVIDER as M, GVP_END_FRAME_PROVIDERS as N, GVP_EXTEND_PROVIDERS as O, GVP_SUPPORTED_PROVIDERS as P, type GvpAnchorChoice as Q, type GvpAnchorWireMode as R, HIGH_QUALITY_PROVIDERS as S, I2I_MASK_SUPPORT as T, I2I_STRENGTH_SUPPORT as U, IDEOGRAM_PROVIDERS as V, IMAGE_ASPECT_RATIO_VALUES as W, IMAGE_BACKGROUND_VALUES as X, IMAGE_EDIT_PROVIDERS as Y, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as Z, IMAGE_GEN_PROVIDERS as _, ASPECT_RATIO_DIMENSIONS as a, RETIRED_VIDEO_PROVIDERS as a$, IMAGE_MASK_MODE as a0, IMAGE_OUTPUT_FORMAT_EXT as a1, IMAGE_OUTPUT_FORMAT_MIME as a2, IMAGE_OUTPUT_FORMAT_VALUES as a3, IMAGE_PROMPT_MAX as a4, IMAGE_QUALITY_VALUES as a5, IMAGE_RENDERING_SPEED_VALUES as a6, IMAGE_RESOLUTION_VALUES as a7, IMAGE_SVG_LEVEL_VALUES as a8, IMAGE_TO_VIDEO_PROVIDERS as a9, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as aA, MINIMAX_H3_DEFAULT_RESOLUTION as aB, MINIMAX_H3_PROVIDERS as aC, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as aD, MODIFY_IMAGE_PROVIDERS as aE, MOTION_TRANSFER_PROVIDERS as aF, MUSIC_CREDIT_ID as aG, MUSIC_PROVIDERS as aH, MUSIC_PROVIDER_LABELS as aI, type ModelPromptingStyle as aJ, type ModifyImageProvider as aK, type MotionTransferProviderType as aL, type MusicProvider as aM, NATIVE_ADAPTIVE_ASPECT as aN, NATIVE_NEGATIVE_PROMPT_MODELS as aO, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aP, NEGATIVE_PROMPT_MAX as aQ, OBJECT_MOTION_PROVIDERS as aR, type ObjectMotionProvider as aS, PRICING_DEFAULT_DURATION_SEC as aT, PRICING_DEFAULT_RESOLUTION as aU, PROMPT_HARD_CEILING as aV, QA_CHECK_PROVIDERS as aW, type QaCheckProvider as aX, REF_IMAGE_MAX_LIMITS as aY, RENDERING_SPEED_SUPPORT as aZ, REPLICATE_LIP_SYNC_PROVIDERS as a_, type ImageAspectRatio as aa, type ImageBackground as ab, type ImageEditProvider as ac, type ImageEditTargetResolution as ad, type ImageGenProvider as ae, type ImageI2IProvider as af, type ImageMaskMode as ag, type ImageOutputFormat as ah, type ImageQuality as ai, type ImageRenderingSpeed as aj, type ImageResolution as ak, type ImageSvgLevel as al, type ImageToVideoProvider as am, KLING_4_DEFAULT_RESOLUTION as an, KLING_4_MAX_MIDDLE_FRAMES as ao, KLING_4_PROVIDERS as ap, LIP_SYNC_PROVIDERS as aq, LLM_STRUCTURED_SYSTEM_MAX as ar, LLM_TEXT_INPUT_MAX as as, LOCATION_ATMOSPHERE_PROVIDERS as at, type LipSyncProvider as au, type LocationAtmosphereProvider as av, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as aw, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as ax, MAX_REQUEST_IMAGE_LIMIT as ay, MAX_TTS_CHARS_BY_PROVIDER as az, AUDIO_ADDON_PROVIDERS as b, VIDEO_PROVIDERS_WITHOUT_DISPATCH as b$, type RefAudioCheck as b0, type RefAudioProbe as b1, type RefAudioRule as b2, type RefVideoDurationLimit as b3, SCRIPT_PROVIDERS as b4, SEEDANCE_2_5_REF_LIMITS as b5, SEEDANCE_2_CONTINUATION_REF_SEC as b6, SEEDANCE_2_EXTEND_STITCH as b7, SEEDANCE_2_PROVIDERS as b8, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as b9, TRANSCRIBE_PROVIDERS as bA, TRANSCRIBE_PROVIDER_CAPABILITIES as bB, TTS_OUTPUT_FORMATS as bC, TTS_OUTPUT_FORMAT_FILES as bD, TTS_PROVIDERS as bE, TTS_TEXT_MAX as bF, TWO_K_RESOLUTION_PROVIDERS as bG, type TaskChainedEditProvider as bH, type TextToAudioProvider as bI, type TextToVideoProvider as bJ, type TranscribeLane as bK, type TranscribeProvider as bL, type TtsOutputFormat as bM, type TtsProvider as bN, UPSCALE_IMAGE_PROVIDERS as bO, type UpscaleImageProvider as bP, VARIABLE_PRICING_MODELS as bQ, VEO_PROVIDERS as bR, VIDEO_AUDIO_CAPABILITY as bS, VIDEO_DURATION_TIERS as bT, VIDEO_GEN_COLLAPSED_T2V_IDS as bU, VIDEO_GEN_PROVIDERS as bV, VIDEO_INPUT_LIP_SYNC_PROVIDERS as bW, VIDEO_MODEL_CAPS as bX, VIDEO_MODE_ALIASES as bY, VIDEO_PROMPT_MAX as bZ, VIDEO_PROVIDERS_REQUIRING_IMAGE as b_, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as ba, SEEDANCE_2_REF_LIMITS as bb, SEEDANCE_LIP_SYNC_PROVIDERS as bc, SEEDANCE_VIDEO_EDIT_PROVIDERS as bd, SEEDANCE_VIDEO_EDIT_SHAPE as be, SEED_SUPPORT as bf, SUNO_ACTIVE_MODELS as bg, SUNO_ADD_TRACK_MODELS as bh, SUNO_DURATION_MODELS as bi, SUNO_HARD_CEILING as bj, SUNO_LEGACY_MODELS as bk, SUNO_MODELS as bl, SUNO_TEXT_MAX as bm, SUNO_TITLE_MAX as bn, type SceneInputMode as bo, SceneInputModeSchema as bp, type ScriptProvider as bq, type SeedanceVideoEditProvider as br, type SunoAddTrackModel as bs, type SunoModel as bt, T2I_TO_I2I_VARIANT as bu, TASK_CHAINED_EDIT_PROVIDERS as bv, TASK_CHAINED_EDIT_PROVIDER_IDS as bw, TEXT_TO_AUDIO_PROVIDERS as bx, TEXT_TO_VIDEO_PROVIDERS as by, TRANSCRIBE_LANES as bz, type AiWriterProvider as c, preferredInputModeForModel as c$, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as c0, VIDEO_REF_AUDIO_RULES as c1, VIDEO_REF_LIMITS_BY_PROVIDER as c2, VIDEO_REF_RATE_PROVIDERS as c3, VIDEO_REF_VIDEO_DURATION_LIMITS as c4, VIDEO_TO_VIDEO_NODE_PROVIDERS as c5, VIDEO_TO_VIDEO_PROVIDERS as c6, VIDEO_UPSCALE_PROVIDERS as c7, VIDEO_VARIABLE_PRICING as c8, VIDU_Q4_DEFAULT_RESOLUTION as c9, getMaxSunoStyleChars as cA, getMaxTtsChars as cB, getMaxVideoPromptChars as cC, getVideoAudioCapability as cD, hasContiguousSegmentDurations as cE, imageReferenceLimit as cF, isGeminiOmniPerSecondProvider as cG, isGeminiOmniProvider as cH, isGvpSupportedProvider as cI, isKling4Provider as cJ, isLegacySunoModel as cK, isMinimaxH3Provider as cL, isSeedance2Provider as cM, isSeedanceVideoEditProvider as cN, isVeoProvider as cO, isViduQ4Provider as cP, isWan3Provider as cQ, kling4KeyframeFrameCap as cR, maxSegmentSecFor as cS, maxSegmentsFor as cT, maxVideoDurationSec as cU, minSegmentSecFor as cV, modelsForInputMode as cW, normalizeKling4Resolution as cX, normalizeMinimaxH3Resolution as cY, normalizeViduQ4Resolution as cZ, normalizeWan3Resolution as c_, VIDU_Q4_PROVIDERS as ca, VOICE_DESIGN_MODELS as cb, type VideoAudioCapability as cc, type VideoAudioMode as cd, type VideoGenProvider as ce, type VideoModeAlias as cf, type VideoModelCapabilities as cg, type VideoReferenceSyntax as ch, type VideoToVideoNodeProvider as ci, type VideoToVideoProvider as cj, type VideoUpscaleProvider as ck, type VoiceDesignModel as cl, WAN_3_DEFAULT_RESOLUTION as cm, WAN_3_PROVIDERS as cn, applyDefaultVideoSelection as co, applyVideoAudioToggle as cp, applyVideoNegativePrompt as cq, billsReferenceVideoSeconds as cr, canonicalVideoProvider as cs, checkRefAudioRules as ct, checkRefVideoDurations as cu, defaultVideoAspectRatio as cv, findSeedance2AudioOverLimit as cw, getMaxImagePromptChars as cx, getMaxNegativePromptChars as cy, getMaxSunoPromptChars as cz, COMPOSER_PLAN_FIELDS as d, pricedOutputDurationSec as d0, requestImageLimit as d1, resolveGvpAnchorWire as d2, resolveMusicProvider as d3, resolveVideoModeForInputs as d4, resolveVideoProviderForMode as d5, seedance2AudioLimitSec as d6, segmentDurationsFor as d7, snapToNearestDuration as d8, sunoModelHonoursDuration as d9, supportsAutoVideoDuration as da, supportsEndAnchor as db, supportsExtendRender as dc, transcribeLaneSupportsWordTimestamps as dd, transcribeProvidersWithWordTimestamps as de, videoDefaultDurationSec as df, videoModelCanSpeakDialogue as dg, videoModelSupportsAudio as dh, videoNegativeSuffix as di, videoProviderAppendsFrames as dj, videoProviderFoldsLoneEndFrame as dk, videoProviderRefModeFrameSeats as dl, videoProviderReferenceSyntax as dm, videoProviderRequiresImage as dn, videoProviderRunsFromReferences as dp, videoSourceTrimMaxSec as dq, 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_VIDEO_TO_VIDEO_PROVIDER as s, DEFAULT_VOICE_DESIGN_MODEL as t, DIALOGUE_PROVIDERS as u, DURATION_PRICED_PROVIDERS as v, type DialogueProvider as w, type ExtendVideoProvider as x, FAL_LIP_SYNC_PROVIDERS as y, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as z };
2038
+ export { IMAGE_EDIT_PROVIDERS as $, AI_WRITER_PROVIDERS as A, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as B, CHARACTER_MOTION_PROVIDERS as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, type FaceSwapProvider as G, GEMINI_OMNI_12_MAX_SOURCE_SEC as H, GEMINI_OMNI_PER_SECOND_PROVIDERS as I, GEMINI_OMNI_PROVIDERS as J, GROK_VIDEO_15_DEFAULT_RESOLUTION as K, GROK_VIDEO_15_MAX_MIDDLE_FRAMES as L, GROK_VIDEO_15_PROVIDER as M, GUIDANCE_SCALE_SUPPORT as N, GVP_ANCHOR_CHOICES as O, GVP_DEFAULT_PROVIDER as P, GVP_END_FRAME_PROVIDERS as Q, GVP_EXTEND_PROVIDERS as R, GVP_SUPPORTED_PROVIDERS as S, type GvpAnchorChoice as T, type GvpAnchorWireMode as U, HIGH_QUALITY_PROVIDERS as V, I2I_MASK_SUPPORT as W, I2I_STRENGTH_SUPPORT as X, IDEOGRAM_PROVIDERS as Y, IMAGE_ASPECT_RATIO_VALUES as Z, IMAGE_BACKGROUND_VALUES as _, ASPECT_RATIO_DIMENSIONS as a, PRICING_DEFAULT_RESOLUTION as a$, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as a0, IMAGE_GEN_PROVIDERS as a1, IMAGE_I2I_PROVIDERS as a2, IMAGE_K_RESOLUTION_VALUES as a3, IMAGE_MASK_MODE as a4, IMAGE_OUTPUT_FORMAT_EXT as a5, IMAGE_OUTPUT_FORMAT_MIME as a6, IMAGE_OUTPUT_FORMAT_VALUES as a7, IMAGE_PROMPT_MAX as a8, IMAGE_QUALITY_VALUES as a9, type LipSyncProvider as aA, type LocationAtmosphereProvider as aB, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as aC, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aD, MAX_REQUEST_IMAGE_LIMIT as aE, MAX_TTS_CHARS_BY_PROVIDER as aF, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as aG, MINIMAX_H3_DEFAULT_RESOLUTION as aH, MINIMAX_H3_PROVIDERS as aI, MIN_IMAGE_PROMPT_CHARS_BY_PROVIDER as aJ, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as aK, MODIFY_IMAGE_PROVIDERS as aL, MOTION_TRANSFER_PROVIDERS as aM, MUSIC_CREDIT_ID as aN, MUSIC_PROVIDERS as aO, MUSIC_PROVIDER_LABELS as aP, type ModelPromptingStyle as aQ, type ModifyImageProvider as aR, type MotionTransferProviderType as aS, type MusicProvider as aT, NATIVE_ADAPTIVE_ASPECT as aU, NATIVE_NEGATIVE_PROMPT_MODELS as aV, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aW, NEGATIVE_PROMPT_MAX as aX, OBJECT_MOTION_PROVIDERS as aY, type ObjectMotionProvider as aZ, PRICING_DEFAULT_DURATION_SEC as a_, IMAGE_RENDERING_SPEED_VALUES as aa, IMAGE_RESOLUTION_VALUES as ab, IMAGE_SVG_LEVEL_VALUES as ac, IMAGE_TO_VIDEO_PROVIDERS as ad, type ImageAspectRatio as ae, type ImageBackground as af, type ImageEditProvider as ag, type ImageEditTargetResolution as ah, type ImageGenProvider as ai, type ImageI2IProvider as aj, type ImageMaskMode as ak, type ImageOutputFormat as al, type ImageQuality as am, type ImageRenderingSpeed as an, type ImageResolution as ao, type ImageSvgLevel as ap, type ImageToVideoProvider as aq, KLING_4_DEFAULT_RESOLUTION as ar, KLING_4_FLASH_PROVIDER as as, KLING_4_FLASH_RESOLUTION as at, KLING_4_MAX_MIDDLE_FRAMES as au, KLING_4_PROVIDERS as av, LIP_SYNC_PROVIDERS as aw, LLM_STRUCTURED_SYSTEM_MAX as ax, LLM_TEXT_INPUT_MAX as ay, LOCATION_ATMOSPHERE_PROVIDERS as az, AUDIO_ADDON_PROVIDERS as b, type UpscaleImageProvider as b$, PROMPT_HARD_CEILING as b0, QA_CHECK_PROVIDERS as b1, type QaCheckProvider as b2, REF_IMAGE_MAX_LIMITS as b3, RENDERING_SPEED_SUPPORT as b4, REPLICATE_LIP_SYNC_PROVIDERS as b5, RETIRED_VIDEO_PROVIDERS as b6, type RefAudioCheck as b7, type RefAudioProbe as b8, type RefAudioRule as b9, type SeedanceReferenceMediaCount as bA, type SeedanceTaskTypeFacts as bB, type SeedanceTaskTypeResolution as bC, type SeedanceVideoEditProvider as bD, type SunoAddTrackModel as bE, type SunoModel as bF, T2I_TO_I2I_VARIANT as bG, TASK_CHAINED_EDIT_PROVIDERS as bH, TASK_CHAINED_EDIT_PROVIDER_IDS as bI, TEXT_TO_AUDIO_PROVIDERS as bJ, TEXT_TO_VIDEO_PROVIDERS as bK, TRANSCRIBE_LANES as bL, TRANSCRIBE_PROVIDERS as bM, TRANSCRIBE_PROVIDER_CAPABILITIES as bN, TTS_OUTPUT_FORMATS as bO, TTS_OUTPUT_FORMAT_FILES as bP, TTS_PROVIDERS as bQ, TTS_TEXT_MAX as bR, TWO_K_RESOLUTION_PROVIDERS as bS, type TaskChainedEditProvider as bT, type TextToAudioProvider as bU, type TextToVideoProvider as bV, type TranscribeLane as bW, type TranscribeProvider as bX, type TtsOutputFormat as bY, type TtsProvider as bZ, UPSCALE_IMAGE_PROVIDERS as b_, type RefVideoDurationLimit as ba, SCRIPT_PROVIDERS as bb, SEEDANCE_2_5_REF_LIMITS as bc, SEEDANCE_2_CONTINUATION_REF_SEC as bd, SEEDANCE_2_EXTEND_STITCH as be, SEEDANCE_2_PROVIDERS as bf, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as bg, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as bh, SEEDANCE_2_REF_LIMITS as bi, SEEDANCE_LIP_SYNC_PROVIDERS as bj, SEEDANCE_VIDEO_EDIT_PROVIDERS as bk, SEEDANCE_VIDEO_EDIT_SHAPE as bl, SEEDANCE_VIDEO_EDIT_TASK_TYPE as bm, SEED_SUPPORT as bn, SUNO_ACTIVE_MODELS as bo, SUNO_ADD_TRACK_MODELS as bp, SUNO_DURATION_MODELS as bq, SUNO_HARD_CEILING as br, SUNO_LEGACY_MODELS as bs, SUNO_MODELS as bt, SUNO_TEXT_MAX as bu, SUNO_TITLE_MAX as bv, type SceneInputMode as bw, SceneInputModeSchema as bx, type ScriptProvider as by, type SeedanceExtendProvider as bz, type AiWriterProvider as c, isKling4Provider as c$, VARIABLE_PRICING_MODELS as c0, VEO_PROVIDERS as c1, VIDEO_AUDIO_CAPABILITY as c2, VIDEO_DURATION_TIERS as c3, VIDEO_GEN_COLLAPSED_T2V_IDS as c4, VIDEO_GEN_PROVIDERS as c5, VIDEO_INPUT_LIP_SYNC_PROVIDERS as c6, VIDEO_MODEL_CAPS as c7, VIDEO_MODE_ALIASES as c8, VIDEO_PROMPT_MAX as c9, WAN_3_DEFAULT_RESOLUTION as cA, WAN_3_PROVIDERS as cB, applyDefaultVideoSelection as cC, applyVideoAudioToggle as cD, applyVideoNegativePrompt as cE, billsReferenceVideoSeconds as cF, canonicalVideoProvider as cG, checkRefAudioRules as cH, checkRefVideoDurations as cI, defaultVideoAspectRatio as cJ, findSeedance2AudioOverLimit as cK, getMaxImagePromptChars as cL, getMaxNegativePromptChars as cM, getMaxSunoPromptChars as cN, getMaxSunoStyleChars as cO, getMaxTtsChars as cP, getMaxVideoPromptChars as cQ, getMinImagePromptChars as cR, getVideoAudioCapability as cS, grokVideo15MiddleFrameSlots as cT, hasContiguousSegmentDurations as cU, imageReferenceLimit as cV, isGeminiOmniPerSecondProvider as cW, isGeminiOmniProvider as cX, isGrokVideo15Provider as cY, isGvpSupportedProvider as cZ, isKling4FlashProvider as c_, VIDEO_PROVIDERS_REQUIRING_IMAGE as ca, VIDEO_PROVIDERS_WITHOUT_DISPATCH as cb, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as cc, VIDEO_REF_AUDIO_RULES as cd, VIDEO_REF_LIMITS_BY_PROVIDER as ce, VIDEO_REF_RATE_PROVIDERS as cf, VIDEO_REF_VIDEO_DURATION_LIMITS as cg, VIDEO_START_FRAME_ONLY_CODE as ch, VIDEO_TO_VIDEO_NODE_PROVIDERS as ci, VIDEO_TO_VIDEO_PROVIDERS as cj, VIDEO_UPSCALE_PROVIDERS as ck, VIDEO_VARIABLE_PRICING as cl, VIDU_Q4_DEFAULT_RESOLUTION as cm, VIDU_Q4_PROVIDERS as cn, VOICE_DESIGN_MODELS as co, type VideoAudioCapability as cp, type VideoAudioMode as cq, type VideoGenProvider as cr, type VideoModeAlias as cs, type VideoModelCapabilities as ct, type VideoReferenceSyntax as cu, type VideoStartFrameOnlyProblem as cv, type VideoToVideoNodeProvider as cw, type VideoToVideoProvider as cx, type VideoUpscaleProvider as cy, type VoiceDesignModel as cz, COMPOSER_PLAN_FIELDS as d, isKling4RunnerProvider as d0, isLegacySunoModel as d1, isMinimaxH3Provider as d2, isSeedance2Provider as d3, isSeedanceExtendProvider as d4, isSeedanceVideoEditProvider as d5, isVeoProvider as d6, isViduQ4Provider as d7, isWan3Provider as d8, kling4KeyframeFrameCap as d9, supportsEndAnchor as dA, supportsExtendRender as dB, supportsReferenceTaskType as dC, transcribeLaneSupportsWordTimestamps as dD, transcribeProvidersWithWordTimestamps as dE, videoDefaultDurationSec as dF, videoKeyframesMiddleCap as dG, videoModelCanSpeakDialogue as dH, videoModelSupportsAudio as dI, videoNegativeSuffix as dJ, videoProviderAppendsFrames as dK, videoProviderFoldsLoneEndFrame as dL, videoProviderRefModeFrameSeats as dM, videoProviderReferenceSyntax as dN, videoProviderRefsReplaceStartFrame as dO, videoProviderRequiresImage as dP, videoProviderRunsFromReferences as dQ, videoProviderTakesLoneEndFrame as dR, videoSourceTrimMaxSec as dS, videoStartFrameOnlyMessage as dT, videoStartFrameOnlyProblem as dU, videoStartFrameOnlyResolution as dV, listedSeedanceTaskType as da, maxSegmentSecFor as db, maxSegmentsFor as dc, maxVideoDurationSec as dd, minSegmentSecFor as de, modelsForInputMode as df, normalizeGrokVideo15Resolution as dg, normalizeKling4Resolution as dh, normalizeMinimaxH3Resolution as di, normalizeViduQ4Resolution as dj, normalizeWan3Resolution as dk, preferredInputModeForModel as dl, pricedOutputDurationSec as dm, requestImageLimit as dn, resolveGvpAnchorWire as dp, resolveMusicProvider as dq, resolveSeedanceTaskType as dr, resolveVideoModeForInputs as ds, resolveVideoProviderForMode as dt, seedance2AudioLimitSec as du, seedanceTaskTypeFitsMedia as dv, segmentDurationsFor as dw, snapToNearestDuration as dx, sunoModelHonoursDuration as dy, supportsAutoVideoDuration as dz, 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_VIDEO_TO_VIDEO_PROVIDER as s, DEFAULT_VOICE_DESIGN_MODEL as t, DIALOGUE_PROVIDERS as u, DURATION_PRICED_PROVIDERS as v, type DialogueProvider as w, type ExtendVideoProvider as x, FAL_LIP_SYNC_PROVIDERS as y, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as z };