@nodaro/shared 3.61.0 → 3.63.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 (313) hide show
  1. package/dist/{chunk-4KYLNTR7.cjs → chunk-2PU3AGGS.cjs} +27 -4
  2. package/dist/chunk-2PU3AGGS.cjs.map +1 -0
  3. package/dist/{chunk-43TGSZRJ.js → chunk-2QKF7M2Z.js} +3 -3
  4. package/dist/{chunk-43TGSZRJ.js.map → chunk-2QKF7M2Z.js.map} +1 -1
  5. package/dist/{chunk-B6BG3LV2.js → chunk-34QLPTSA.js} +3 -3
  6. package/dist/{chunk-B6BG3LV2.js.map → chunk-34QLPTSA.js.map} +1 -1
  7. package/dist/chunk-3K24DWOH.js +453 -0
  8. package/dist/chunk-3K24DWOH.js.map +1 -0
  9. package/dist/{chunk-IRQ3SPX7.js → chunk-4DVWXEB6.js} +23 -4
  10. package/dist/chunk-4DVWXEB6.js.map +1 -0
  11. package/dist/{chunk-ZES6EZC4.js → chunk-4MMZD63H.js} +3 -3
  12. package/dist/{chunk-ZES6EZC4.js.map → chunk-4MMZD63H.js.map} +1 -1
  13. package/dist/{chunk-MQZRQ5LM.cjs → chunk-63H4C56Q.cjs} +8 -8
  14. package/dist/{chunk-MQZRQ5LM.cjs.map → chunk-63H4C56Q.cjs.map} +1 -1
  15. package/dist/{chunk-IVXSNW2B.cjs → chunk-6BZC2ZHC.cjs} +18 -332
  16. package/dist/chunk-6BZC2ZHC.cjs.map +1 -0
  17. package/dist/{chunk-M3SXUUWC.cjs → chunk-6FQBKI2A.cjs} +4 -11
  18. package/dist/chunk-6FQBKI2A.cjs.map +1 -0
  19. package/dist/{chunk-673E4KYC.js → chunk-6M563QE6.js} +134 -8
  20. package/dist/chunk-6M563QE6.js.map +1 -0
  21. package/dist/chunk-6TGB7ECA.cjs +48 -0
  22. package/dist/chunk-6TGB7ECA.cjs.map +1 -0
  23. package/dist/{chunk-XUJC6GHE.cjs → chunk-6XUG4L7X.cjs} +6 -6
  24. package/dist/{chunk-XUJC6GHE.cjs.map → chunk-6XUG4L7X.cjs.map} +1 -1
  25. package/dist/{chunk-XZKFZMRT.cjs → chunk-77WU3V3J.cjs} +6 -6
  26. package/dist/{chunk-XZKFZMRT.cjs.map → chunk-77WU3V3J.cjs.map} +1 -1
  27. package/dist/{chunk-ZFJN23V4.cjs → chunk-A2PX5IRC.cjs} +4 -4
  28. package/dist/{chunk-ZFJN23V4.cjs.map → chunk-A2PX5IRC.cjs.map} +1 -1
  29. package/dist/{chunk-ZDBPQBAA.js → chunk-AE3AAJ4O.js} +3 -3
  30. package/dist/{chunk-ZDBPQBAA.js.map → chunk-AE3AAJ4O.js.map} +1 -1
  31. package/dist/chunk-ALRXY4QH.cjs +13 -0
  32. package/dist/chunk-ALRXY4QH.cjs.map +1 -0
  33. package/dist/{chunk-UARGJ5IZ.js → chunk-BMJVKYVB.js} +56 -12
  34. package/dist/chunk-BMJVKYVB.js.map +1 -0
  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-CZ5IQB3L.js +42 -0
  40. package/dist/chunk-CZ5IQB3L.js.map +1 -0
  41. package/dist/{chunk-WGKAOUEQ.cjs → chunk-D34K455O.cjs} +3 -2
  42. package/dist/chunk-D34K455O.cjs.map +1 -0
  43. package/dist/chunk-EPXGG27L.js +331 -0
  44. package/dist/chunk-EPXGG27L.js.map +1 -0
  45. package/dist/{chunk-3M4BNKFJ.cjs → chunk-F6WGGYQW.cjs} +167 -3
  46. package/dist/chunk-F6WGGYQW.cjs.map +1 -0
  47. package/dist/{chunk-7FCTCWHD.js → chunk-FXGNRYQQ.js} +3 -3
  48. package/dist/{chunk-7FCTCWHD.js.map → chunk-FXGNRYQQ.js.map} +1 -1
  49. package/dist/{chunk-ZNM2LW3D.cjs → chunk-GMBDLNLD.cjs} +105 -56
  50. package/dist/chunk-GMBDLNLD.cjs.map +1 -0
  51. package/dist/{chunk-NJVOJXBS.cjs → chunk-GSKLPI3J.cjs} +104 -49
  52. package/dist/chunk-GSKLPI3J.cjs.map +1 -0
  53. package/dist/{chunk-EWS2VFO4.js → chunk-HBXF6RUU.js} +4 -4
  54. package/dist/{chunk-EWS2VFO4.js.map → chunk-HBXF6RUU.js.map} +1 -1
  55. package/dist/{chunk-MOMFX32D.js → chunk-HWQ2SYNA.js} +194 -325
  56. package/dist/chunk-HWQ2SYNA.js.map +1 -0
  57. package/dist/{chunk-SCMTN57Y.js → chunk-IY3Y462W.js} +3 -3
  58. package/dist/{chunk-SCMTN57Y.js.map → chunk-IY3Y462W.js.map} +1 -1
  59. package/dist/{chunk-ZZGQRRN7.js → chunk-KCZHQH2O.js} +6 -306
  60. package/dist/chunk-KCZHQH2O.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-FVVD6XY2.js → chunk-KL6GAYTT.js} +13 -4
  64. package/dist/chunk-KL6GAYTT.js.map +1 -0
  65. package/dist/{chunk-FVII3KHN.js → chunk-KMGCHV6O.js} +163 -4
  66. package/dist/chunk-KMGCHV6O.js.map +1 -0
  67. package/dist/{chunk-FMXFHJWX.cjs → chunk-L2TVY6XN.cjs} +4 -4
  68. package/dist/{chunk-FMXFHJWX.cjs.map → chunk-L2TVY6XN.cjs.map} +1 -1
  69. package/dist/{chunk-FQXRYPCX.cjs → chunk-LH72PQO2.cjs} +505 -68
  70. package/dist/chunk-LH72PQO2.cjs.map +1 -0
  71. package/dist/chunk-LMAQUR55.cjs +506 -0
  72. package/dist/chunk-LMAQUR55.cjs.map +1 -0
  73. package/dist/{chunk-F5YEMSNK.cjs → chunk-M5OCFGHF.cjs} +571 -30
  74. package/dist/chunk-M5OCFGHF.cjs.map +1 -0
  75. package/dist/{chunk-VOWJCUMR.js → chunk-MD4XHED4.js} +3 -3
  76. package/dist/{chunk-VOWJCUMR.js.map → chunk-MD4XHED4.js.map} +1 -1
  77. package/dist/chunk-N5HH46JF.cjs +68 -0
  78. package/dist/chunk-N5HH46JF.cjs.map +1 -0
  79. package/dist/{chunk-G4XWVWRI.js → chunk-NIAFR5EE.js} +5 -4
  80. package/dist/chunk-NIAFR5EE.js.map +1 -0
  81. package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
  82. package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
  83. package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
  84. package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
  85. package/dist/{chunk-SWVGHAYO.js → chunk-O7RZRUMZ.js} +110 -74
  86. package/dist/chunk-O7RZRUMZ.js.map +1 -0
  87. package/dist/{chunk-LLOIAGFB.js → chunk-OV3JTKBY.js} +449 -51
  88. package/dist/chunk-OV3JTKBY.js.map +1 -0
  89. package/dist/{chunk-A3FHTSLB.js → chunk-PSKZKLDG.js} +550 -31
  90. package/dist/chunk-PSKZKLDG.js.map +1 -0
  91. package/dist/{chunk-VB2ARGQ6.js → chunk-RGNHHIMN.js} +3 -3
  92. package/dist/chunk-RGNHHIMN.js.map +1 -0
  93. package/dist/chunk-SMOO5FAH.js +10 -0
  94. package/dist/chunk-SMOO5FAH.js.map +1 -0
  95. package/dist/{chunk-5XRRENHD.cjs → chunk-TM5JYSJF.cjs} +170 -17
  96. package/dist/chunk-TM5JYSJF.cjs.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-RQ4F3AJH.cjs → chunk-V5EEQR2U.cjs} +21 -21
  100. package/dist/{chunk-RQ4F3AJH.cjs.map → chunk-V5EEQR2U.cjs.map} +1 -1
  101. package/dist/chunk-WZVIBAKN.cjs +351 -0
  102. package/dist/chunk-WZVIBAKN.cjs.map +1 -0
  103. package/dist/{chunk-5M43XMRB.cjs → chunk-X5BAFW3Q.cjs} +8 -8
  104. package/dist/{chunk-5M43XMRB.cjs.map → chunk-X5BAFW3Q.cjs.map} +1 -1
  105. package/dist/{chunk-RUHKBEFF.js → chunk-XBTYGQ6Z.js} +63 -10
  106. package/dist/chunk-XBTYGQ6Z.js.map +1 -0
  107. package/dist/{chunk-JHTT2V4A.cjs → chunk-XGGZWA4A.cjs} +118 -52
  108. package/dist/chunk-XGGZWA4A.cjs.map +1 -0
  109. package/dist/{chunk-5I4T4QR5.cjs → chunk-XGVJGNZW.cjs} +5 -5
  110. package/dist/{chunk-5I4T4QR5.cjs.map → chunk-XGVJGNZW.cjs.map} +1 -1
  111. package/dist/{chunk-7ARKVJTN.cjs → chunk-Y35JQPT6.cjs} +228 -383
  112. package/dist/chunk-Y35JQPT6.cjs.map +1 -0
  113. package/dist/{chunk-AFQFGZN7.cjs → chunk-Y4GCJJPF.cjs} +8 -6
  114. package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
  115. package/dist/{chunk-C77F4ZTL.js → chunk-YUER7TJG.js} +3 -3
  116. package/dist/{chunk-C77F4ZTL.js.map → chunk-YUER7TJG.js.map} +1 -1
  117. package/dist/{chunk-HGI2VKIV.js → chunk-YX6TFX7H.js} +67 -14
  118. package/dist/chunk-YX6TFX7H.js.map +1 -0
  119. package/dist/{chunk-TWF2OSH4.cjs → chunk-ZPE2ZTJ4.cjs} +4 -4
  120. package/dist/{chunk-TWF2OSH4.cjs.map → chunk-ZPE2ZTJ4.cjs.map} +1 -1
  121. package/dist/entries/apps.cjs +44 -44
  122. package/dist/entries/apps.js +9 -9
  123. package/dist/entries/credits.cjs +286 -153
  124. package/dist/entries/credits.d.cts +254 -5
  125. package/dist/entries/credits.d.ts +254 -5
  126. package/dist/entries/credits.js +14 -9
  127. package/dist/entries/entities.cjs +188 -143
  128. package/dist/entries/entities.d.cts +122 -1
  129. package/dist/entries/entities.d.ts +122 -1
  130. package/dist/entries/entities.js +2 -1
  131. package/dist/entries/llm-models.cjs +77 -57
  132. package/dist/entries/llm-models.d.cts +85 -5
  133. package/dist/entries/llm-models.d.ts +85 -5
  134. package/dist/entries/llm-models.js +2 -2
  135. package/dist/entries/media.cjs +92 -87
  136. package/dist/entries/media.d.cts +19 -1
  137. package/dist/entries/media.d.ts +19 -1
  138. package/dist/entries/media.js +3 -2
  139. package/dist/entries/model-catalog.cjs +211 -103
  140. package/dist/entries/model-catalog.d.cts +135 -19
  141. package/dist/entries/model-catalog.d.ts +135 -19
  142. package/dist/entries/model-catalog.js +5 -5
  143. package/dist/entries/models.cjs +504 -295
  144. package/dist/entries/models.d.cts +71 -4
  145. package/dist/entries/models.d.ts +71 -4
  146. package/dist/entries/models.js +7 -6
  147. package/dist/entries/nodes.cjs +249 -233
  148. package/dist/entries/nodes.d.cts +35 -6
  149. package/dist/entries/nodes.d.ts +35 -6
  150. package/dist/entries/nodes.js +10 -10
  151. package/dist/entries/pipeline.cjs +152 -152
  152. package/dist/entries/pipeline.d.cts +3 -2
  153. package/dist/entries/pipeline.d.ts +3 -2
  154. package/dist/entries/pipeline.js +3 -3
  155. package/dist/entries/runtime-config.cjs +29 -29
  156. package/dist/entries/runtime-config.d.cts +10 -7
  157. package/dist/entries/runtime-config.d.ts +10 -7
  158. package/dist/entries/runtime-config.js +1 -1
  159. package/dist/entries/social.cjs +177 -177
  160. package/dist/entries/social.js +2 -2
  161. package/dist/entries/types.d.cts +8 -0
  162. package/dist/entries/types.d.ts +8 -0
  163. package/dist/entries/ugc.cjs +71 -71
  164. package/dist/entries/ugc.js +4 -4
  165. package/dist/entries/video.cjs +316 -208
  166. package/dist/entries/video.d.cts +490 -99
  167. package/dist/entries/video.d.ts +490 -99
  168. package/dist/entries/video.js +8 -4
  169. package/dist/entries/workflow.cjs +102 -102
  170. package/dist/entries/workflow.d.cts +5 -4
  171. package/dist/entries/workflow.d.ts +5 -4
  172. package/dist/entries/workflow.js +2 -2
  173. package/dist/{gpt-image-2-6-BeZdT-pW.d.cts → gpt-image-2-6-jIRQBRag.d.cts} +6 -0
  174. package/dist/{gpt-image-2-6-BeZdT-pW.d.ts → gpt-image-2-6-jIRQBRag.d.ts} +6 -0
  175. package/dist/index.cjs +2727 -2092
  176. package/dist/index.d.cts +11 -11
  177. package/dist/index.d.ts +11 -11
  178. package/dist/index.js +30 -27
  179. package/dist/{model-catalog-BgSvskgY.d.ts → model-catalog-C_Eo35tL.d.cts} +158 -14
  180. package/dist/{model-catalog-BgSvskgY.d.cts → model-catalog-C_Eo35tL.d.ts} +158 -14
  181. package/dist/{model-constants-DHd9jwQ7.d.cts → model-constants-Bg4ccSQb.d.ts} +427 -34
  182. package/dist/{model-constants-DHd9jwQ7.d.ts → model-constants-DWcxOmaY.d.cts} +427 -34
  183. package/package.json +1 -1
  184. package/src/__tests__/credit-identifiers.test.ts +29 -0
  185. package/src/__tests__/extend-providers.test.ts +194 -0
  186. package/src/__tests__/fixtures/mask-composite-quote-parity.json +118 -0
  187. package/src/__tests__/fixtures/root-exports.baseline.json +68 -0
  188. package/src/__tests__/gpt-image-2-6-formats.test.ts +4 -1
  189. package/src/__tests__/grok-video-15-catalog.test.ts +189 -0
  190. package/src/__tests__/gvp-supported-providers.test.ts +32 -4
  191. package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
  192. package/src/__tests__/lip-sync-levers.test.ts +31 -0
  193. package/src/__tests__/llm-models.test.ts +132 -3
  194. package/src/__tests__/llm-price-key.test.ts +152 -1
  195. package/src/__tests__/minimax-h3-image.test.ts +140 -0
  196. package/src/__tests__/model-makers.test.ts +49 -11
  197. package/src/__tests__/model-tree.test.ts +13 -0
  198. package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
  199. package/src/__tests__/normalize-node-params.test.ts +25 -0
  200. package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
  201. package/src/__tests__/prompt-length-limits.test.ts +4 -0
  202. package/src/__tests__/retired-video-provider.test.ts +15 -5
  203. package/src/__tests__/seedance-25-catalog-modes.test.ts +1 -1
  204. package/src/__tests__/seedance-task-type.test.ts +188 -0
  205. package/src/__tests__/seedream-5-5.test.ts +117 -0
  206. package/src/__tests__/transcribe-capabilities.test.ts +39 -2
  207. package/src/__tests__/transcribe-preflight.test.ts +50 -1
  208. package/src/__tests__/unit-contract-compose.test.ts +27 -1
  209. package/src/__tests__/unit-contracts.test.ts +20 -6
  210. package/src/__tests__/upscale-factors.test.ts +107 -0
  211. package/src/__tests__/video-audio-capability.test.ts +35 -6
  212. package/src/__tests__/video-character-refs.test.ts +20 -2
  213. package/src/__tests__/video-collapse-parity.test.ts +19 -0
  214. package/src/__tests__/video-overlay-geometry.test.ts +68 -0
  215. package/src/__tests__/video-overlay-layer-plan.test.ts +3 -4
  216. package/src/__tests__/video-overlay-layouts.test.ts +529 -0
  217. package/src/__tests__/video-overlay-pricing.test.ts +61 -0
  218. package/src/__tests__/video-overlay-validate.test.ts +128 -0
  219. package/src/__tests__/video-overlay-wired-kind.test.ts +207 -0
  220. package/src/__tests__/video-overlay.test.ts +280 -194
  221. package/src/__tests__/video-ref-limits.test.ts +2 -1
  222. package/src/__tests__/video-reference-only.test.ts +6 -2
  223. package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
  224. package/src/__tests__/video-start-frame-only.test.ts +98 -0
  225. package/src/__tests__/video-upscale-params.test.ts +62 -0
  226. package/src/__tests__/wired-character-names.test.ts +220 -0
  227. package/src/catalog-projection.ts +8 -0
  228. package/src/credit-estimators/index.ts +18 -0
  229. package/src/credit-estimators/nemotron-transcribe.ts +87 -0
  230. package/src/credit-estimators/video-overlay.ts +70 -0
  231. package/src/credit-identifiers.ts +183 -16
  232. package/src/entity-image-url.ts +21 -0
  233. package/src/entries/credits.ts +26 -1
  234. package/src/entries/entities.ts +14 -0
  235. package/src/entries/llm-models.ts +6 -0
  236. package/src/entries/model-catalog.ts +44 -1
  237. package/src/entries/models.ts +69 -0
  238. package/src/entries/nodes.ts +4 -0
  239. package/src/entries/video.ts +7 -1
  240. package/src/freecut-protocol.ts +8 -0
  241. package/src/generated/unit-contracts.ts +8 -1
  242. package/src/gpt-image-2-6.ts +6 -0
  243. package/src/input-image-pricing.ts +76 -0
  244. package/src/lip-sync-levers.ts +56 -0
  245. package/src/lip-sync-pricing.ts +91 -1
  246. package/src/llm-models.ts +249 -4
  247. package/src/mask-composite.ts +11 -0
  248. package/src/minimax-h3-image.ts +61 -0
  249. package/src/model-catalog.ts +604 -40
  250. package/src/model-constants.ts +860 -55
  251. package/src/model-tree.ts +2 -1
  252. package/src/nodaro-video-upscale.ts +48 -0
  253. package/src/node-default-mappings.ts +15 -2
  254. package/src/node-execution-state.ts +4 -3
  255. package/src/normalize-node-params.ts +49 -1
  256. package/src/producer-types.ts +23 -1
  257. package/src/runtime-config/contract.ts +10 -7
  258. package/src/seedance-draft.ts +2 -1
  259. package/src/seedance-task-type.ts +37 -0
  260. package/src/seedream-5-5.ts +45 -0
  261. package/src/transcribe-preflight.ts +58 -7
  262. package/src/unit-contract-compose.ts +4 -1
  263. package/src/upscale-factors.ts +111 -0
  264. package/src/video-character-refs.ts +7 -4
  265. package/src/video-duration.ts +9 -0
  266. package/src/video-overlay-geometry.ts +99 -0
  267. package/src/video-overlay-input.ts +25 -0
  268. package/src/video-overlay-layout-ids.ts +48 -0
  269. package/src/video-overlay-layouts.ts +315 -0
  270. package/src/video-overlay-validate.ts +223 -0
  271. package/src/video-overlay-video-layers.ts +304 -0
  272. package/src/video-overlay.ts +165 -297
  273. package/src/video-ui-defaults.ts +11 -7
  274. package/src/video-upscale-params.ts +67 -0
  275. package/src/wired-character-names.ts +202 -0
  276. package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
  277. package/dist/chunk-4KYLNTR7.cjs.map +0 -1
  278. package/dist/chunk-5XRRENHD.cjs.map +0 -1
  279. package/dist/chunk-673E4KYC.js.map +0 -1
  280. package/dist/chunk-6XVHYD5R.js.map +0 -1
  281. package/dist/chunk-7ARKVJTN.cjs.map +0 -1
  282. package/dist/chunk-7WGKP3EU.js +0 -23
  283. package/dist/chunk-7WGKP3EU.js.map +0 -1
  284. package/dist/chunk-A3FHTSLB.js.map +0 -1
  285. package/dist/chunk-AFQFGZN7.cjs.map +0 -1
  286. package/dist/chunk-F5YEMSNK.cjs.map +0 -1
  287. package/dist/chunk-FQXRYPCX.cjs.map +0 -1
  288. package/dist/chunk-FVII3KHN.js.map +0 -1
  289. package/dist/chunk-FVVD6XY2.js.map +0 -1
  290. package/dist/chunk-G4XWVWRI.js.map +0 -1
  291. package/dist/chunk-HGI2VKIV.js.map +0 -1
  292. package/dist/chunk-IRQ3SPX7.js.map +0 -1
  293. package/dist/chunk-IVXSNW2B.cjs.map +0 -1
  294. package/dist/chunk-JHTT2V4A.cjs.map +0 -1
  295. package/dist/chunk-KHZAQGRP.js +0 -17
  296. package/dist/chunk-KHZAQGRP.js.map +0 -1
  297. package/dist/chunk-LLOIAGFB.js.map +0 -1
  298. package/dist/chunk-M3SXUUWC.cjs.map +0 -1
  299. package/dist/chunk-MOMFX32D.js.map +0 -1
  300. package/dist/chunk-NCOGGRRP.cjs +0 -27
  301. package/dist/chunk-NCOGGRRP.cjs.map +0 -1
  302. package/dist/chunk-NJVOJXBS.cjs.map +0 -1
  303. package/dist/chunk-PONP5J5E.cjs.map +0 -1
  304. package/dist/chunk-RUHKBEFF.js.map +0 -1
  305. package/dist/chunk-SWVGHAYO.js.map +0 -1
  306. package/dist/chunk-UARGJ5IZ.js.map +0 -1
  307. package/dist/chunk-VB2ARGQ6.js.map +0 -1
  308. package/dist/chunk-WGKAOUEQ.cjs.map +0 -1
  309. package/dist/chunk-XROE3CAS.cjs.map +0 -1
  310. package/dist/chunk-ZLDFPVVI.cjs +0 -19
  311. package/dist/chunk-ZLDFPVVI.cjs.map +0 -1
  312. package/dist/chunk-ZNM2LW3D.cjs.map +0 -1
  313. 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-C_Eo35tL.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", "pixverse-v6-max", "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", "pixverse-v6-max", "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", "pixverse-v6-max", "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" | "pixverse-v6-max" | "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,17 +608,50 @@ 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];
589
624
  /** Video upscale providers */
590
- declare const VIDEO_UPSCALE_PROVIDERS: readonly ["topaz", "veo-1080p", "veo-4k", "seedance-2-5-hd"];
625
+ declare const VIDEO_UPSCALE_PROVIDERS: readonly ["topaz", "veo-1080p", "veo-4k", "seedance-2-5-hd", "nodaro-video-upscale"];
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", "kling-4-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. It
635
+ * decides the levers only Seedance has (reference images, the sound switch);
636
+ * the length, the resolution and the price follow {@link isTailExtendProvider}.
637
+ */
638
+ declare function isSeedanceExtendProvider(p: unknown): p is SeedanceExtendProvider;
639
+ /**
640
+ * The Extend Video providers that continue a video from its tail: the
641
+ * source's last frame opens the new footage and its last seconds ride as the
642
+ * `@video_1` reference, then the two are stitched into one clip. Each has its
643
+ * own catalog entry (its seconds added and resolutions) and price rows, one
644
+ * per second and resolution (`tailExtendCreditId`).
645
+ */
646
+ type TailExtendProvider = SeedanceExtendProvider | Extract<ExtendVideoProvider, "kling-4-extend">;
647
+ /**
648
+ * Whether a value is one of the tail-recipe Extend Video providers
649
+ * ({@link TailExtendProvider}). A retired id answers false: pass it through
650
+ * {@link canonicalVideoProvider} first.
651
+ */
652
+ declare function isTailExtendProvider(p: unknown): p is TailExtendProvider;
595
653
  /** Lip sync providers */
596
- 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"];
654
+ declare const LIP_SYNC_PROVIDERS: readonly ["kling-avatar", "kling-avatar-pro", "infinitalk", "omnihuman-1-5", "omnihuman-2-0", "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
655
  type LipSyncProvider = typeof LIP_SYNC_PROVIDERS[number];
598
656
  /** Multimodal video models exposed via the lip-sync surface (Seedance 2 family
599
657
  * + MiniMax Hailuo 3). They go through the i2v provider with the audio
@@ -698,9 +756,10 @@ declare function resolveMusicProvider(value: unknown): MusicProvider;
698
756
  * (the canvas picker re-offered the two Replicate lanes in #768 while this enum
699
757
  * still hid them, so a single-node Run on Whisper 400'd where the same node in a
700
758
  * workflow Run worked). `elevenlabs-stt` stays FIRST: several call sites take
701
- * "the first enabled word-capable provider" from this order.
759
+ * "the first enabled word-capable provider" from this order. A new engine goes
760
+ * at the END (Nemotron 3.5 Transcribe, 2026-11-12), so that answer never moves.
702
761
  */
703
- declare const TRANSCRIBE_PROVIDERS: readonly ["elevenlabs-stt", "whisper", "incredibly-fast-whisper"];
762
+ declare const TRANSCRIBE_PROVIDERS: readonly ["elevenlabs-stt", "whisper", "incredibly-fast-whisper", "nemotron-3-5-transcribe"];
704
763
  type TranscribeProvider = typeof TRANSCRIBE_PROVIDERS[number];
705
764
  /**
706
765
  * Every transcription LANE the platform implements. Today this is the same set
@@ -710,8 +769,19 @@ type TranscribeProvider = typeof TRANSCRIBE_PROVIDERS[number];
710
769
  * while still reached at runtime via the route default and add-captions'
711
770
  * auto-transcribe). Capability questions must be asked over THIS union.
712
771
  */
713
- declare const TRANSCRIBE_LANES: readonly ["whisper", "incredibly-fast-whisper", "elevenlabs-stt"];
772
+ declare const TRANSCRIBE_LANES: readonly ["whisper", "incredibly-fast-whisper", "elevenlabs-stt", "nemotron-3-5-transcribe"];
714
773
  type TranscribeLane = typeof TRANSCRIBE_LANES[number];
774
+ /**
775
+ * The lanes Add Captions may transcribe on (its `transcribe_provider`, on the
776
+ * route, MCP `add_captions` and the SDK's `media.addCaptions`). Add Captions
777
+ * charges its own flat render price (`add-captions`, `add-captions:kinetic`)
778
+ * and reserves nothing for the transcription it runs inside, so a lane priced
779
+ * by the file's length (Nemotron 3.5 Transcribe, per minute) is not one of
780
+ * them: it would run unpriced inside the render. Kept to the lanes it offered
781
+ * before Nemotron (2026-11-12); widening it is a pricing decision, not a sync.
782
+ */
783
+ declare const CAPTION_TRANSCRIBE_LANES: readonly ["whisper", "incredibly-fast-whisper", "elevenlabs-stt"];
784
+ type CaptionTranscribeLane = typeof CAPTION_TRANSCRIBE_LANES[number];
715
785
  /**
716
786
  * What each transcription lane can actually DO. Single source of truth — never
717
787
  * re-derive a capability from a provider-name check.
@@ -723,10 +793,32 @@ type TranscribeLane = typeof TRANSCRIBE_LANES[number];
723
793
  * for word timings yields an empty array, never an error.
724
794
  * - `incredibly-fast-whisper` — yes, via `timestamp: "word"`.
725
795
  * - `elevenlabs-stt` (direct Scribe) — always word-level, flag or not.
796
+ * - `nemotron-3-5-transcribe` (KIE) — yes, with a speaker per word, via
797
+ * `timestamps: true` (transcription only: never with a translation).
798
+ *
799
+ * `translation`: can the lane translate the speech instead of transcribing it
800
+ * (`targetLanguage`)? Only Nemotron 3.5 Transcribe, to or from English, and
801
+ * never together with word timings (KIE refuses the pair).
726
802
  */
727
803
  declare const TRANSCRIBE_PROVIDER_CAPABILITIES: Record<TranscribeLane, {
728
804
  wordTimestamps: boolean;
805
+ translation: boolean;
729
806
  }>;
807
+ /**
808
+ * The languages Nemotron 3.5 Transcribe translates INTO (KIE's
809
+ * `target_language` enum, ISO 639-1). Translation is supported to or from
810
+ * English: other speech into `en`, or English speech into any other listed
811
+ * language. Fewer than the 40 it transcribes.
812
+ */
813
+ declare const TRANSCRIBE_TARGET_LANGUAGES: readonly ["en", "zh", "ja", "ko", "fr", "de", "es", "pt", "it", "ru", "nl", "pl", "cs", "sk", "hi", "bg", "hr", "da", "et", "fi", "hu", "lv", "lt", "ro", "sl", "sv", "th", "uk", "ar", "el", "he", "mt"];
814
+ type TranscribeTargetLanguage = typeof TRANSCRIBE_TARGET_LANGUAGES[number];
815
+ /** The lanes that can translate, in declaration order. */
816
+ declare function transcribeProvidersWithTranslation(): TranscribeLane[];
817
+ /**
818
+ * Capability question for a lane id from UNTRUSTED data (node data, an
819
+ * imported workflow, a wire body): an unknown lane answers `false`.
820
+ */
821
+ declare function transcribeLaneSupportsTranslation(lane: string | null | undefined): boolean;
730
822
  /** The lanes that can honour a word-timestamps request, in declaration order. */
731
823
  declare function transcribeProvidersWithWordTimestamps(): TranscribeLane[];
732
824
  /**
@@ -977,6 +1069,98 @@ declare const KLING_4_MAX_MIDDLE_FRAMES = 8;
977
1069
  * "duration 3s allows at most 4 frames (first + keyframes + last), got 5".
978
1070
  */
979
1071
  declare function kling4KeyframeFrameCap(durationSec: number | string | undefined): number;
1072
+ /**
1073
+ * Kling 4.0 Flash — ONE Nodaro id over KIE's two Flash endpoints
1074
+ * (`kling-4.0/flash-reference-to-video` and `kling-4.0/flash-keyframe-to-video`),
1075
+ * picked by what is wired: a start frame alone runs on the keyframe endpoint,
1076
+ * everything else on the reference endpoint (backend `kling4.ts`).
1077
+ *
1078
+ * Deliberately NOT a member of {@link KLING_4_PROVIDERS}: that set's branches
1079
+ * carry Kling 4.0's 1080p tier, its `voices` array, its Keyframes frame table
1080
+ * and its materials rule, none of which Flash has. Every place Flash shares
1081
+ * with Kling 4.0 opts in explicitly ({@link isKling4RunnerProvider}).
1082
+ */
1083
+ declare const KLING_4_FLASH_PROVIDER = "kling-4-flash";
1084
+ declare function isKling4FlashProvider(provider: string | undefined): provider is "kling-4-flash";
1085
+ /** The one resolution Kling 4.0 Flash renders (both schemas: `720p` only). */
1086
+ declare const KLING_4_FLASH_RESOLUTION = "720p";
1087
+ /**
1088
+ * Every id the bespoke Kling 4.0 runner serves — Kling 4.0, its Keyframes twin
1089
+ * and Flash. Read only where the three behave the same: the provider dispatch,
1090
+ * the image normalization, the editor's UI defaults (aspect `auto`, 720p, 5s).
1091
+ * Anything about resolutions, frames, voices or the materials budget asks
1092
+ * {@link isKling4Provider} or {@link isKling4FlashProvider} instead.
1093
+ */
1094
+ declare function isKling4RunnerProvider(provider: string | undefined): provider is "kling-4" | "kling-4-keyframes" | "kling-4-flash";
1095
+ /**
1096
+ * Grok Imagine Video 1.5 — KIE `grok-imagine-video-1-5-preview`
1097
+ * (docs.kie.ai/market/grok-imagine/1-5-preview), built by the backend's bespoke
1098
+ * runner (`kie/grok-video-15.ts`). Image to video: the start frame is the exact
1099
+ * first frame, an end frame the exact last frame (one picture wired as both is
1100
+ * a seamless loop), and the Image References are up to
1101
+ * {@link GROK_VIDEO_15_MAX_MIDDLE_FRAMES} in-between frames, each placed at a
1102
+ * whole second inside the clip.
1103
+ */
1104
+ declare const GROK_VIDEO_15_PROVIDER = "grok-imagine-video-1.5";
1105
+ declare function isGrokVideo15Provider(provider: string | undefined): provider is "grok-imagine-video-1.5";
1106
+ /** Grok Imagine Video 1.5 resolution rendered when the param is omitted or
1107
+ * unknown — KIE's own default and the tier the bare credit identifier prices. */
1108
+ declare const GROK_VIDEO_15_DEFAULT_RESOLUTION = "480p";
1109
+ /**
1110
+ * SINGLE normalization for the Grok Imagine Video 1.5 resolution lever. The KIE
1111
+ * wire enum is lowercase (`480p` | `720p` | `1080p`), the same spelling as the
1112
+ * catalog and the credit identifiers; this folds case and collapses anything
1113
+ * else to {@link GROK_VIDEO_15_DEFAULT_RESOLUTION}. The runner sends what this
1114
+ * returns and the credit identifier bills what this returns.
1115
+ */
1116
+ declare function normalizeGrokVideo15Resolution(resolution: string | undefined): "480p" | "720p" | "1080p";
1117
+ /** Most in-between frames Grok Imagine Video 1.5 takes (KIE `keyframes`). */
1118
+ declare const GROK_VIDEO_15_MAX_MIDDLE_FRAMES = 4;
1119
+ /**
1120
+ * PixVerse V6 Max — ONE Nodaro id over KIE's two V6 Max endpoints
1121
+ * (`pixverse-v6-max/image-to-video` with a start frame,
1122
+ * `pixverse-v6-max/text-to-video` without one), built by the backend's bespoke
1123
+ * runner (`kie/pixverse-v6-max.ts`).
1124
+ */
1125
+ declare const PIXVERSE_V6_MAX_PROVIDER = "pixverse-v6-max";
1126
+ declare function isPixverseV6MaxProvider(provider: string | undefined): provider is "pixverse-v6-max";
1127
+ /** PixVerse V6 Max quality rendered when the param is omitted or unknown — the
1128
+ * tier the bare credit identifier prices. Never `resolutions[0]`, the 360p
1129
+ * preview tier. (KIE requires a quality; it has no default of its own.) */
1130
+ declare const PIXVERSE_V6_MAX_DEFAULT_QUALITY = "720p";
1131
+ /**
1132
+ * SINGLE normalization for the PixVerse V6 Max quality lever (KIE `quality`,
1133
+ * the platform's `resolution`). The wire enum is lowercase (`360p` | `540p` |
1134
+ * `720p` | `1080p`), the same spelling as the catalog and the credit
1135
+ * identifiers; this folds case and collapses anything else to
1136
+ * {@link PIXVERSE_V6_MAX_DEFAULT_QUALITY}. The runner sends what this returns
1137
+ * and the credit identifier bills what this returns.
1138
+ */
1139
+ declare function normalizePixverseV6MaxQuality(resolution: string | undefined): "360p" | "540p" | "720p" | "1080p";
1140
+ /**
1141
+ * How many in-between frames a Grok Imagine Video 1.5 clip of `durationSec`
1142
+ * seconds carries. The node has no per-frame time, so the frames sit at whole
1143
+ * seconds strictly inside the clip, no two on the same second (decided
1144
+ * 2026-11-11): a D-second clip has D − 1 such seconds, and KIE takes at most
1145
+ * {@link GROK_VIDEO_15_MAX_MIDDLE_FRAMES}. Frames past this count are left out
1146
+ * (the runner logs it), never refused.
1147
+ */
1148
+ declare function grokVideo15MiddleFrameSlots(durationSec: number | string | undefined): number;
1149
+ /**
1150
+ * How many in-between frames (the Image References of a catalog `keyframes`
1151
+ * model) a run takes, given its length and which end frames are wired —
1152
+ * undefined for a model whose references are not frames. The editor's handle
1153
+ * cap and panel count read this, so the two cannot disagree.
1154
+ *
1155
+ * - Kling 4.0 Keyframes: the start and end frames share the clip's frame cap
1156
+ * ({@link kling4KeyframeFrameCap}), at most {@link KLING_4_MAX_MIDDLE_FRAMES}.
1157
+ * - Grok Imagine Video 1.5: {@link grokVideo15MiddleFrameSlots}; the start and
1158
+ * end frames ride their own fields and take no slot.
1159
+ */
1160
+ declare function videoKeyframesMiddleCap(provider: string | undefined, durationSec: number | string | undefined, frames: {
1161
+ readonly hasStartFrame: boolean;
1162
+ readonly hasEndFrame: boolean;
1163
+ }): number | undefined;
980
1164
  /**
981
1165
  * Google Gemini Omni family — the KIE "gemini-omni-video" market model and its
982
1166
  * faster/cheaper "google/gemini-omni-flash-1-1" sibling. Both take the SAME
@@ -1088,7 +1272,7 @@ type GvpAnchorWireMode = "upfront" | "progressive" | "none";
1088
1272
  * here would mean duplicating the plugin's `MAX_SEGMENTS` cap in this repo
1089
1273
  * where nothing could keep the two in step.
1090
1274
  */
1091
- declare function resolveGvpAnchorWire(choice: string | undefined): GvpAnchorWireMode | undefined;
1275
+ declare function resolveGvpAnchorWire(choice: string | undefined, provider?: string): GvpAnchorWireMode | undefined;
1092
1276
  /** Allowed single-segment durations (seconds, ascending) for a pro provider.
1093
1277
  * Empty for anything not in the catalog — callers treat that as ineligible
1094
1278
  * rather than falling back to a window the provider may reject. */
@@ -1169,8 +1353,8 @@ declare const SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC = 1.8;
1169
1353
  */
1170
1354
  declare const SEEDANCE_2_CONTINUATION_REF_SEC = 2;
1171
1355
  /**
1172
- * Trim-stitch parameters for the seedance-2-extend provider (spike-validated
1173
- * 2026-06-11):
1356
+ * Trim-stitch parameters for the Seedance Extend Video providers
1357
+ * (`seedance-2-5-extend`, `seedance-2-0-extend`; spike-validated 2026-06-11):
1174
1358
  * the model's extension output wobbles for its first ~3 frames and the source
1175
1359
  * tail's last ~4 frames lead into it; dropping both and butt-joining yields a
1176
1360
  * seam SMOOTHER than ordinary in-clip motion (PSNR 34.4dB vs 30.6dB
@@ -1282,6 +1466,15 @@ declare const VIDEO_REF_LIMITS_BY_PROVIDER: Record<string, {
1282
1466
  * (`videoCharacterRefProblem`).
1283
1467
  */
1284
1468
  materials?: number;
1469
+ /**
1470
+ * Reference audio rides ON a character subject (its voice), not as a
1471
+ * material of its own: clip N belongs to wired character N, in the order
1472
+ * the characters arrive, and takes no seat in `materials`. A character with
1473
+ * fewer than 2 images is no subject and cannot carry a voice, so its clip
1474
+ * is dropped, as is a clip past the last character (Kling 4.0 Flash: KIE
1475
+ * `elements[].voice_url`, no standalone `voices`).
1476
+ */
1477
+ audioBindsToCharacters?: true;
1285
1478
  } | undefined>;
1286
1479
  /** Per-reference-video duration bounds, in seconds. */
1287
1480
  interface RefVideoDurationLimit {
@@ -1419,6 +1612,88 @@ declare function videoProviderRequiresImage(provider: string | undefined): boole
1419
1612
  * family here; one that does not keeps the honest `image_required` 400.
1420
1613
  */
1421
1614
  declare function videoProviderFoldsLoneEndFrame(provider: string): boolean;
1615
+ /**
1616
+ * True when the provider takes an end frame ALONE, with no start frame, as the
1617
+ * clip's closing frame: Kling 4.0 Keyframes (KIE `last_frame_url` without
1618
+ * `first_frame_url`) and Gemini Omni Flash 1.2. Every other model meets the
1619
+ * platform's general rule for a lone end frame: the workflow run moves it into
1620
+ * the start slot, while the editor's Run and the image-to-video route refuse
1621
+ * the run for having no start frame.
1622
+ *
1623
+ * Read by the three places that apply that rule (the route's image gate, the
1624
+ * workflow payload builder's swap, the editor's start-frame guard) so they
1625
+ * cannot disagree. A `keyframes` model qualifies only when its endpoint runs
1626
+ * with no start frame at all (it has a text-to-video mode): Grok Imagine Video
1627
+ * 1.5 declares `keyframes` but needs its start image, so a lone end frame
1628
+ * keeps the general rule there.
1629
+ */
1630
+ declare function videoProviderTakesLoneEndFrame(provider: string | undefined): boolean;
1631
+ /**
1632
+ * True when wired reference images can stand in for a missing start frame on
1633
+ * the image-to-video lane: the provider carries image references
1634
+ * ({@link VIDEO_REF_LIMITS_BY_PROVIDER}), unless they are a `keyframes`
1635
+ * model's in-between FRAMES and its endpoint cannot run from them alone (no
1636
+ * `reference-to-video`, {@link videoProviderRunsFromReferences}) — Grok Imagine
1637
+ * Video 1.5's in-between frames need its start frame. Read by the
1638
+ * image-to-video route's gate and the editor's start-frame guard; the workflow
1639
+ * run reaches the same answer through {@link resolveVideoModeForInputs}.
1640
+ */
1641
+ declare function videoProviderRefsReplaceStartFrame(provider: string | undefined): boolean;
1642
+ /** The error code of a {@link videoStartFrameOnlyProblem} refusal. */
1643
+ declare const VIDEO_START_FRAME_ONLY_CODE: "start_frame_only_resolution";
1644
+ /**
1645
+ * The resolution tier a run of `provider` renders for `resolution` when that
1646
+ * tier takes a start frame only (the catalog's `startFrameOnlyResolutions`),
1647
+ * else undefined. Case-folded, as the runners send it (`"1080P"` is 1080p).
1648
+ */
1649
+ declare function videoStartFrameOnlyResolution(provider: string | undefined, resolution: string | undefined): string | undefined;
1650
+ /**
1651
+ * The sentence for a start-frame-only refusal: which tier takes a start frame
1652
+ * only, and the two ways out (the highest tier that takes every frame, or
1653
+ * removing the extra frames). `nothingCharged` adds that nothing was charged —
1654
+ * for a refusal of a run (the API, the workflow run, the editor's Run), never
1655
+ * for the editor's note beside the setting.
1656
+ */
1657
+ declare function videoStartFrameOnlyMessage(provider: string, resolution: string, opts?: {
1658
+ readonly nothingCharged?: boolean;
1659
+ }): string;
1660
+ /** A {@link videoStartFrameOnlyProblem} refusal. */
1661
+ interface VideoStartFrameOnlyProblem {
1662
+ readonly code: typeof VIDEO_START_FRAME_ONLY_CODE;
1663
+ /** The sentence, in English — the API's `error.message`. */
1664
+ readonly message: string;
1665
+ /** The tier that takes a start frame only (catalog spelling). */
1666
+ readonly resolution: string;
1667
+ /** The highest tier that takes every frame, when the model has one. */
1668
+ readonly fallbackResolution?: string;
1669
+ }
1670
+ /**
1671
+ * THE rule for a resolution that takes a start frame only (decided 2026-11-12:
1672
+ * refuse up front). Given the resolution a run renders and the frames it would
1673
+ * send BESIDE its start frame, is the combination refused, and with what
1674
+ * sentence? Undefined when it runs.
1675
+ *
1676
+ * - `hasEndFrame`: an end frame is wired. The same picture as the start frame
1677
+ * (a loop) counts too — the provider refuses a loop at such a tier as well.
1678
+ * - `inBetweenFrameCount`: the in-between frames wired (a `keyframes` model's
1679
+ * image references), BEFORE the clip's cap. The cap is applied here through
1680
+ * {@link videoKeyframesMiddleCap} — the same function the provider runner
1681
+ * truncates with — so a request whose extra frames are all dropped (a
1682
+ * 1-second Grok Imagine Video 1.5 clip has no in-between second) is a
1683
+ * start-only request and runs.
1684
+ *
1685
+ * Judged only on a run that has a start frame: a run without one is refused by
1686
+ * the image-required rule first, so every caller runs this after that gate.
1687
+ * Read by `/v1/generate-video`, the workflow payload builder and the editor's
1688
+ * Run; the editor's note and resolution menus read it too.
1689
+ */
1690
+ declare function videoStartFrameOnlyProblem(provider: string | undefined, args: {
1691
+ readonly resolution: string | undefined;
1692
+ readonly durationSec?: number | string;
1693
+ readonly hasEndFrame: boolean;
1694
+ readonly inBetweenFrameCount: number;
1695
+ readonly nothingCharged?: boolean;
1696
+ }): VideoStartFrameOnlyProblem | undefined;
1422
1697
  /**
1423
1698
  * Video models where enabling audio/sound incurs an additional cost.
1424
1699
  * The audio addon is expressed as a separate composite identifier suffix.
@@ -1460,8 +1735,9 @@ type VideoAudioMode = "none" | "ambient" | "native_speech" | "audio_driven";
1460
1735
  interface VideoAudioCapability {
1461
1736
  mode: VideoAudioMode;
1462
1737
  /** Provider-option field carrying the on/off toggle, when user-controllable.
1463
- * `audio` is Wan 3.0's own boolean lever (KIE `input.audio`, default true). */
1464
- field?: "generateAudio" | "sound" | "audio";
1738
+ * `audio` is Wan 3.0's own boolean lever (KIE `input.audio`, default true);
1739
+ * `generateAudioSwitch` is PixVerse V6 Max's (KIE `input.generate_audio_switch`). */
1740
+ field?: "generateAudio" | "sound" | "audio" | "generateAudioSwitch";
1465
1741
  /** Audio is always produced and can't be turned off by the user (VEO 3.x). */
1466
1742
  alwaysOn?: boolean;
1467
1743
  /** Enabling audio raises the credit cost (Kling — see AUDIO_ADDON_PROVIDERS). */
@@ -1474,6 +1750,20 @@ interface VideoAudioCapability {
1474
1750
  * (see buildVideoCreditModelIdentifier). Absent ⇒ default off.
1475
1751
  */
1476
1752
  defaultOn?: boolean;
1753
+ /**
1754
+ * A cost-affecting model whose audio intent the `generateAudio` request field
1755
+ * also carries, after `sound` (PixVerse V6 Max, decided 2026-11-12: the
1756
+ * Generate Video Pro engine sends only `generateAudio`). Read through
1757
+ * {@link videoAudioIntent}, so the switch the model gets and the `:audio`
1758
+ * row the run is priced at follow the same fields. Absent on Kling, which
1759
+ * keeps reading `sound` alone.
1760
+ */
1761
+ readsGenerateAudio?: true;
1762
+ }
1763
+ /** The audio fields a video request carries: `sound` (canonical) and the older `generateAudio`. */
1764
+ interface VideoAudioRequest {
1765
+ readonly sound?: boolean;
1766
+ readonly generateAudio?: boolean;
1477
1767
  }
1478
1768
  /**
1479
1769
  * Per-model audio capability. Only models that produce SOME audio are listed;
@@ -1502,6 +1792,25 @@ declare function videoModelSupportsAudio(model: string | undefined): boolean;
1502
1792
  * return `false` — their audio is SFX, not speech.
1503
1793
  */
1504
1794
  declare function videoModelCanSpeakDialogue(model: string | undefined): boolean;
1795
+ /**
1796
+ * THE audio intent of a video request for one model — `undefined` when the
1797
+ * request expresses none (the model's own default then applies). The ONE
1798
+ * reading of the request's audio fields: {@link applyVideoAudioToggle} (what
1799
+ * the model is SENT) and `buildVideoCreditModelIdentifier` (the `:audio` row
1800
+ * it is PRICED at) both resolve through it, so the two cannot disagree.
1801
+ *
1802
+ * - A cost-affecting model reads `sound` alone (Kling: the field its `:audio`
1803
+ * surcharge has always keyed off), unless it declares `readsGenerateAudio`
1804
+ * (PixVerse V6 Max): then `sound`, else `generateAudio`.
1805
+ * - Every other model reads `sound`, else the `generateAudio` alias.
1806
+ */
1807
+ declare function videoAudioIntent(provider: string | undefined, req: VideoAudioRequest | undefined): boolean | undefined;
1808
+ /**
1809
+ * Whether a request PRICES with audio on a cost-affecting model: its intent
1810
+ * ({@link videoAudioIntent}), else the model's own default (`defaultOn`). The
1811
+ * provider runner of such a model renders the same state.
1812
+ */
1813
+ declare function videoAudioPricedOn(provider: string | undefined, req: VideoAudioRequest | undefined): boolean;
1505
1814
  /**
1506
1815
  * Write the caller's neutral "enable native audio" intent onto a KIE provider
1507
1816
  * `input` under whichever field the chosen model actually reads, per
@@ -1513,12 +1822,12 @@ declare function videoModelCanSpeakDialogue(model: string | undefined): boolean;
1513
1822
  * - `sound` is the canonical neutral name; `generateAudio` is accepted as a
1514
1823
  * legacy alias (the workflow node + some clients send that key). `sound` wins
1515
1824
  * if both are present.
1516
- * - **Cost-affecting models (Kling) honour ONLY the canonical `sound` lever** —
1517
- * the same field the `:audio` credit surcharge keys off (`AUDIO_ADDON_PROVIDERS`
1518
- * in `credit-identifiers.ts`). This makes a billed-but-not-generated (or
1519
- * generated-but-not-billed) divergence structurally impossible: the model and
1520
- * the surcharge read the same flag. Free models accept the `generateAudio`
1521
- * alias too, where mis-billing isn't possible.
1825
+ * - **The intent is {@link videoAudioIntent}'s** — the same reading the `:audio`
1826
+ * credit surcharge (`AUDIO_ADDON_PROVIDERS` in `credit-identifiers.ts`) is
1827
+ * built from. That makes a billed-but-not-generated (or generated-but-not-
1828
+ * billed) divergence structurally impossible: the model and the surcharge
1829
+ * read the same fields. Kling honours ONLY `sound`; PixVerse V6 Max
1830
+ * (`readsGenerateAudio`) and every free model also the `generateAudio` alias.
1522
1831
  * - No-op for `alwaysOn` models (VEO — audio can't be toggled) and silent /
1523
1832
  * unlisted models (no `field`), and when the caller expressed no intent
1524
1833
  * (leaves the model's own default in place).
@@ -1535,8 +1844,9 @@ declare function applyVideoAudioToggle(input: Record<string, unknown>, provider:
1535
1844
  * Video variable pricing config — which params affect credit cost per model.
1536
1845
  * "duration" = cost varies by video length
1537
1846
  * "duration+audio" = cost varies by length AND audio on/off
1847
+ * "duration+resolution+audio" = cost varies by length, resolution AND audio on/off
1538
1848
  */
1539
- declare const VIDEO_VARIABLE_PRICING: Record<string, "duration" | "duration+audio" | "duration+mode" | "duration+resolution+ref" | "duration+resolution">;
1849
+ declare const VIDEO_VARIABLE_PRICING: Record<string, "duration" | "duration+audio" | "duration+mode" | "duration+resolution+ref" | "duration+resolution" | "duration+resolution+audio">;
1540
1850
  /**
1541
1851
  * @deprecated Read {@link pricedOutputDurationSec} (or the catalog's
1542
1852
  * `defaultDuration`). Kept only as a derived view of `MODEL_CATALOG` for
@@ -1582,6 +1892,89 @@ declare function pricedOutputDurationSec(provider: string, requested: number | s
1582
1892
  /** Models that accept `VIDEO_DURATION_AUTO` — a catalog capability (docs.kie.ai:
1583
1893
  * the Seedance 2 family, "4-15 seconds or -1" / 2.5 "Special values -1"). */
1584
1894
  declare function supportsAutoVideoDuration(provider: string | undefined): boolean;
1895
+ /** Models that accept a reference task type declaration — a catalog capability
1896
+ * (`MODEL_CATALOG[id].referenceTaskTypes`, see `SEEDANCE_REFERENCE_TASK_TYPES`). */
1897
+ declare function supportsReferenceTaskType(provider: string | undefined): boolean;
1898
+ /** What a request knows that decides its reference task type. */
1899
+ interface SeedanceTaskTypeFacts {
1900
+ provider: string | undefined;
1901
+ /** The value the request carries, unvalidated: anything but a declared value is Auto. */
1902
+ requested: unknown;
1903
+ /**
1904
+ * @deprecated Not read: a draft declares exactly as any other run does. Kept
1905
+ * so a caller that still passes it compiles; leave it out.
1906
+ */
1907
+ draft?: boolean;
1908
+ /** Reference images only: a start or end frame is not counted. */
1909
+ referenceImageCount: number;
1910
+ referenceAudioCount: number;
1911
+ /** One entry per reference video; `undefined` = its length could not be measured. */
1912
+ referenceVideoSec: ReadonlyArray<number | undefined>;
1913
+ aspectRatio: string | undefined;
1914
+ duration: number | undefined;
1915
+ }
1916
+ /** The declaration a request sends (if any), and the ratio and length it runs at. */
1917
+ interface SeedanceTaskTypeResolution {
1918
+ /** `undefined`: nothing is declared and the provider guesses from the prompt. */
1919
+ taskType: DeclaredSeedanceTaskType | undefined;
1920
+ aspectRatio: string | undefined;
1921
+ duration: number | undefined;
1922
+ /** Each change made to the ratio or length, for disclosure. Empty when nothing changed. */
1923
+ adjustments: ModelInputAdjustment[];
1924
+ }
1925
+ /**
1926
+ * `requested` when the model's catalog `referenceTaskTypes` lists it (strict
1927
+ * match), else `undefined`. The one membership test: the resolver below and the
1928
+ * provider adapter that writes the value both ask it.
1929
+ */
1930
+ declare function listedSeedanceTaskType(provider: string | undefined, requested: unknown): DeclaredSeedanceTaskType | undefined;
1931
+ /** How many of each kind of reference media a request carries. A start or end frame is not reference media. */
1932
+ interface SeedanceReferenceMediaCount {
1933
+ imageCount: number;
1934
+ videoCount: number;
1935
+ audioCount: number;
1936
+ }
1937
+ /**
1938
+ * Whether a request's reference media is what the declared type needs:
1939
+ * `reference` takes any reference media; `edit` and `extend` need a reference
1940
+ * video, since both act on one. The one media rule: the resolver below asks it
1941
+ * of the request, and the provider adapter of the body as it will be sent.
1942
+ */
1943
+ declare function seedanceTaskTypeFitsMedia(type: DeclaredSeedanceTaskType, media: SeedanceReferenceMediaCount): boolean;
1944
+ /**
1945
+ * The ONE place that decides whether a request declares a reference task type,
1946
+ * and the aspect ratio and length that declaration forces.
1947
+ *
1948
+ * Declared only when every condition holds; otherwise the result is the input
1949
+ * unchanged (no declaration, ratio and length as given, nothing reported):
1950
+ * - the request asks for a value the model's catalog `referenceTaskTypes`
1951
+ * LISTS, matched exactly. The list is what is honoured: a model that lists
1952
+ * nothing, a value it does not list (`auto`, a wrong case, a number) and a
1953
+ * model that lists only some values are all Auto;
1954
+ * - it has the reference media the type needs
1955
+ * ({@link seedanceTaskTypeFitsMedia}): `edit` and `extend` need a
1956
+ * reference video;
1957
+ * - for `edit`, every reference video is measured and between
1958
+ * `SEEDANCE_EDIT_REF_VIDEO_SEC.min` and `.max` seconds inclusive.
1959
+ *
1960
+ * What a declaration forces:
1961
+ * - `reference` — nothing;
1962
+ * - `edit` — the edit shape, `SEEDANCE_VIDEO_EDIT_SHAPE` (`"adaptive"`
1963
+ * and Auto length): the output takes the video's own shape
1964
+ * and length;
1965
+ * - `extend` — `"adaptive"`; a fixed length is kept, and Auto or no length
1966
+ * becomes the model's catalog `defaultDuration`.
1967
+ *
1968
+ * Each value it changes is reported as one adjustment; a value it fills where
1969
+ * the request had none is not a correction and reports nothing, and neither is
1970
+ * a ratio that already runs at the forced one (`"Auto"` with a reference video
1971
+ * runs at `"adaptive"`).
1972
+ *
1973
+ * A draft (`draft: true`) is no exception: it declares, and is forced, exactly
1974
+ * as the same request without Draft (a draft and its 1080p finalize keep an
1975
+ * edit's own length and framing, measured). Pure.
1976
+ */
1977
+ declare function resolveSeedanceTaskType(facts: SeedanceTaskTypeFacts): SeedanceTaskTypeResolution;
1585
1978
  /** The longest clip a duration-tiered provider can render (its top priced tier). */
1586
1979
  declare function maxVideoDurationSec(provider: string): number | undefined;
1587
1980
  /**
@@ -1755,4 +2148,4 @@ declare function applyDefaultVideoSelection<D>(input: {
1755
2148
  duration: D | number | undefined;
1756
2149
  };
1757
2150
 
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 };
2151
+ export { IMAGE_ASPECT_RATIO_VALUES as $, AI_WRITER_PROVIDERS as A, FAL_LIP_SYNC_PROVIDERS as B, CAPTION_TRANSCRIBE_LANES as C, DEFAULT_DIALOGUE_PROVIDER as D, EXTEND_VIDEO_PROVIDERS as E, FACE_SWAP_PROVIDERS as F, FLEXIBLE_INPUT_LIP_SYNC_PROVIDERS as G, FRAME_MODE_ADAPTIVE_ONLY_ASPECT as H, type FaceSwapProvider as I, GEMINI_OMNI_12_MAX_SOURCE_SEC as J, GEMINI_OMNI_PER_SECOND_PROVIDERS as K, GEMINI_OMNI_PROVIDERS as L, GROK_VIDEO_15_DEFAULT_RESOLUTION as M, GROK_VIDEO_15_MAX_MIDDLE_FRAMES as N, GROK_VIDEO_15_PROVIDER as O, GUIDANCE_SCALE_SUPPORT as P, GVP_ANCHOR_CHOICES as Q, GVP_DEFAULT_PROVIDER as R, GVP_END_FRAME_PROVIDERS as S, GVP_EXTEND_PROVIDERS as T, GVP_SUPPORTED_PROVIDERS as U, type GvpAnchorChoice as V, type GvpAnchorWireMode as W, HIGH_QUALITY_PROVIDERS as X, I2I_MASK_SUPPORT as Y, I2I_STRENGTH_SUPPORT as Z, IDEOGRAM_PROVIDERS as _, ASPECT_RATIO_DIMENSIONS as a, type ObjectMotionProvider as a$, IMAGE_BACKGROUND_VALUES as a0, IMAGE_EDIT_PROVIDERS as a1, IMAGE_EDIT_TARGET_RESOLUTION_VALUES as a2, IMAGE_GEN_PROVIDERS as a3, IMAGE_I2I_PROVIDERS as a4, IMAGE_K_RESOLUTION_VALUES as a5, IMAGE_MASK_MODE as a6, IMAGE_OUTPUT_FORMAT_EXT as a7, IMAGE_OUTPUT_FORMAT_MIME as a8, IMAGE_OUTPUT_FORMAT_VALUES as a9, LLM_TEXT_INPUT_MAX as aA, LOCATION_ATMOSPHERE_PROVIDERS as aB, type LipSyncProvider as aC, type LocationAtmosphereProvider as aD, MAX_IMAGE_PROMPT_CHARS_BY_PROVIDER as aE, MAX_NEGATIVE_PROMPT_CHARS_BY_PROVIDER as aF, MAX_REQUEST_IMAGE_LIMIT as aG, MAX_TTS_CHARS_BY_PROVIDER as aH, MAX_VIDEO_PROMPT_CHARS_BY_PROVIDER as aI, MINIMAX_H3_DEFAULT_RESOLUTION as aJ, MINIMAX_H3_PROVIDERS as aK, MIN_IMAGE_PROMPT_CHARS_BY_PROVIDER as aL, MODELS_WITH_REFERENCE_IMAGE_SUPPORT as aM, MODIFY_IMAGE_PROVIDERS as aN, MOTION_TRANSFER_PROVIDERS as aO, MUSIC_CREDIT_ID as aP, MUSIC_PROVIDERS as aQ, MUSIC_PROVIDER_LABELS as aR, type ModelPromptingStyle as aS, type ModifyImageProvider as aT, type MotionTransferProviderType as aU, type MusicProvider as aV, NATIVE_ADAPTIVE_ASPECT as aW, NATIVE_NEGATIVE_PROMPT_MODELS as aX, NATIVE_NEGATIVE_VIDEO_PROVIDERS as aY, NEGATIVE_PROMPT_MAX as aZ, OBJECT_MOTION_PROVIDERS as a_, IMAGE_PROMPT_MAX as aa, IMAGE_QUALITY_VALUES as ab, IMAGE_RENDERING_SPEED_VALUES as ac, IMAGE_RESOLUTION_VALUES as ad, IMAGE_SVG_LEVEL_VALUES as ae, IMAGE_TO_VIDEO_PROVIDERS as af, type ImageAspectRatio as ag, type ImageBackground as ah, type ImageEditProvider as ai, type ImageEditTargetResolution as aj, type ImageGenProvider as ak, type ImageI2IProvider as al, type ImageMaskMode as am, type ImageOutputFormat as an, type ImageQuality as ao, type ImageRenderingSpeed as ap, type ImageResolution as aq, type ImageSvgLevel as ar, type ImageToVideoProvider as as, KLING_4_DEFAULT_RESOLUTION as at, KLING_4_FLASH_PROVIDER as au, KLING_4_FLASH_RESOLUTION as av, KLING_4_MAX_MIDDLE_FRAMES as aw, KLING_4_PROVIDERS as ax, LIP_SYNC_PROVIDERS as ay, LLM_STRUCTURED_SYSTEM_MAX as az, AUDIO_ADDON_PROVIDERS as b, type TextToVideoProvider as b$, PIXVERSE_V6_MAX_DEFAULT_QUALITY as b0, PIXVERSE_V6_MAX_PROVIDER as b1, PRICING_DEFAULT_DURATION_SEC as b2, PRICING_DEFAULT_RESOLUTION as b3, PROMPT_HARD_CEILING as b4, QA_CHECK_PROVIDERS as b5, type QaCheckProvider as b6, REF_IMAGE_MAX_LIMITS as b7, RENDERING_SPEED_SUPPORT as b8, REPLICATE_LIP_SYNC_PROVIDERS as b9, type SceneInputMode as bA, SceneInputModeSchema as bB, type ScriptProvider as bC, type SeedanceExtendProvider as bD, type SeedanceReferenceMediaCount as bE, type SeedanceTaskTypeFacts as bF, type SeedanceTaskTypeResolution as bG, type SeedanceVideoEditProvider as bH, type SunoAddTrackModel as bI, type SunoModel as bJ, T2I_TO_I2I_VARIANT as bK, TASK_CHAINED_EDIT_PROVIDERS as bL, TASK_CHAINED_EDIT_PROVIDER_IDS as bM, TEXT_TO_AUDIO_PROVIDERS as bN, TEXT_TO_VIDEO_PROVIDERS as bO, TRANSCRIBE_LANES as bP, TRANSCRIBE_PROVIDERS as bQ, TRANSCRIBE_PROVIDER_CAPABILITIES as bR, TRANSCRIBE_TARGET_LANGUAGES as bS, TTS_OUTPUT_FORMATS as bT, TTS_OUTPUT_FORMAT_FILES as bU, TTS_PROVIDERS as bV, TTS_TEXT_MAX as bW, TWO_K_RESOLUTION_PROVIDERS as bX, type TailExtendProvider as bY, type TaskChainedEditProvider as bZ, type TextToAudioProvider as b_, RETIRED_VIDEO_PROVIDERS as ba, type RefAudioCheck as bb, type RefAudioProbe as bc, type RefAudioRule as bd, type RefVideoDurationLimit as be, SCRIPT_PROVIDERS as bf, SEEDANCE_2_5_REF_LIMITS as bg, SEEDANCE_2_CONTINUATION_REF_SEC as bh, SEEDANCE_2_EXTEND_STITCH as bi, SEEDANCE_2_PROVIDERS as bj, SEEDANCE_2_R2V_MAX_AUDIO_SEC_BY_PROVIDER as bk, SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC as bl, SEEDANCE_2_REF_LIMITS as bm, SEEDANCE_LIP_SYNC_PROVIDERS as bn, SEEDANCE_VIDEO_EDIT_PROVIDERS as bo, SEEDANCE_VIDEO_EDIT_SHAPE as bp, SEEDANCE_VIDEO_EDIT_TASK_TYPE as bq, SEED_SUPPORT as br, SUNO_ACTIVE_MODELS as bs, SUNO_ADD_TRACK_MODELS as bt, SUNO_DURATION_MODELS as bu, SUNO_HARD_CEILING as bv, SUNO_LEGACY_MODELS as bw, SUNO_MODELS as bx, SUNO_TEXT_MAX as by, SUNO_TITLE_MAX as bz, type AiWriterProvider as c, grokVideo15MiddleFrameSlots as c$, type TranscribeLane as c0, type TranscribeProvider as c1, type TranscribeTargetLanguage as c2, type TtsOutputFormat as c3, type TtsProvider as c4, UPSCALE_IMAGE_PROVIDERS as c5, type UpscaleImageProvider as c6, VARIABLE_PRICING_MODELS as c7, VEO_PROVIDERS as c8, VIDEO_AUDIO_CAPABILITY as c9, type VideoModeAlias as cA, type VideoModelCapabilities as cB, type VideoReferenceSyntax as cC, type VideoStartFrameOnlyProblem as cD, type VideoToVideoNodeProvider as cE, type VideoToVideoProvider as cF, type VideoUpscaleProvider as cG, type VoiceDesignModel as cH, WAN_3_DEFAULT_RESOLUTION as cI, WAN_3_PROVIDERS as cJ, applyDefaultVideoSelection as cK, applyVideoAudioToggle as cL, applyVideoNegativePrompt as cM, billsReferenceVideoSeconds as cN, canonicalVideoProvider as cO, checkRefAudioRules as cP, checkRefVideoDurations as cQ, defaultVideoAspectRatio as cR, findSeedance2AudioOverLimit as cS, getMaxImagePromptChars as cT, getMaxNegativePromptChars as cU, getMaxSunoPromptChars as cV, getMaxSunoStyleChars as cW, getMaxTtsChars as cX, getMaxVideoPromptChars as cY, getMinImagePromptChars as cZ, getVideoAudioCapability as c_, VIDEO_DURATION_TIERS as ca, VIDEO_GEN_COLLAPSED_T2V_IDS as cb, VIDEO_GEN_PROVIDERS as cc, VIDEO_INPUT_LIP_SYNC_PROVIDERS as cd, VIDEO_MODEL_CAPS as ce, VIDEO_MODE_ALIASES as cf, VIDEO_PROMPT_MAX as cg, VIDEO_PROVIDERS_REQUIRING_IMAGE as ch, VIDEO_PROVIDERS_WITHOUT_DISPATCH as ci, VIDEO_PROVIDERS_WITH_SEPARATE_FRAME_CHANNEL as cj, VIDEO_REF_AUDIO_RULES as ck, VIDEO_REF_LIMITS_BY_PROVIDER as cl, VIDEO_REF_RATE_PROVIDERS as cm, VIDEO_REF_VIDEO_DURATION_LIMITS as cn, VIDEO_START_FRAME_ONLY_CODE as co, VIDEO_TO_VIDEO_NODE_PROVIDERS as cp, VIDEO_TO_VIDEO_PROVIDERS as cq, VIDEO_UPSCALE_PROVIDERS as cr, VIDEO_VARIABLE_PRICING as cs, VIDU_Q4_DEFAULT_RESOLUTION as ct, VIDU_Q4_PROVIDERS as cu, VOICE_DESIGN_MODELS as cv, type VideoAudioCapability as cw, type VideoAudioMode as cx, type VideoAudioRequest as cy, type VideoGenProvider as cz, CHARACTER_MOTION_PROVIDERS as d, videoProviderRefModeFrameSeats as d$, hasContiguousSegmentDurations as d0, imageReferenceLimit as d1, isGeminiOmniPerSecondProvider as d2, isGeminiOmniProvider as d3, isGrokVideo15Provider as d4, isGvpSupportedProvider as d5, isKling4FlashProvider as d6, isKling4Provider as d7, isKling4RunnerProvider as d8, isLegacySunoModel as d9, resolveGvpAnchorWire as dA, resolveMusicProvider as dB, resolveSeedanceTaskType as dC, resolveVideoModeForInputs as dD, resolveVideoProviderForMode as dE, seedance2AudioLimitSec as dF, seedanceTaskTypeFitsMedia as dG, segmentDurationsFor as dH, snapToNearestDuration as dI, sunoModelHonoursDuration as dJ, supportsAutoVideoDuration as dK, supportsEndAnchor as dL, supportsExtendRender as dM, supportsReferenceTaskType as dN, transcribeLaneSupportsTranslation as dO, transcribeLaneSupportsWordTimestamps as dP, transcribeProvidersWithTranslation as dQ, transcribeProvidersWithWordTimestamps as dR, videoAudioIntent as dS, videoAudioPricedOn as dT, videoDefaultDurationSec as dU, videoKeyframesMiddleCap as dV, videoModelCanSpeakDialogue as dW, videoModelSupportsAudio as dX, videoNegativeSuffix as dY, videoProviderAppendsFrames as dZ, videoProviderFoldsLoneEndFrame as d_, isMinimaxH3Provider as da, isPixverseV6MaxProvider as db, isSeedance2Provider as dc, isSeedanceExtendProvider as dd, isSeedanceVideoEditProvider as de, isTailExtendProvider as df, isVeoProvider as dg, isViduQ4Provider as dh, isWan3Provider as di, kling4KeyframeFrameCap as dj, listedSeedanceTaskType as dk, maxSegmentSecFor as dl, maxSegmentsFor as dm, maxVideoDurationSec as dn, minSegmentSecFor as dp, modelsForInputMode as dq, normalizeGrokVideo15Resolution as dr, normalizeKling4Resolution as ds, normalizeMinimaxH3Resolution as dt, normalizePixverseV6MaxQuality as du, normalizeViduQ4Resolution as dv, normalizeWan3Resolution as dw, preferredInputModeForModel as dx, pricedOutputDurationSec as dy, requestImageLimit as dz, COMPOSER_PLAN_FIELDS as e, videoProviderReferenceSyntax as e0, videoProviderRefsReplaceStartFrame as e1, videoProviderRequiresImage as e2, videoProviderRunsFromReferences as e3, videoProviderTakesLoneEndFrame as e4, videoSourceTrimMaxSec as e5, videoStartFrameOnlyMessage as e6, videoStartFrameOnlyProblem as e7, videoStartFrameOnlyResolution as e8, COMPOSER_PLAN_MAP as f, CREDIT_BASE_USD as g, type CaptionTranscribeLane as h, type CharacterMotionProvider as i, DEFAULT_MUSIC_PROVIDER as j, DEFAULT_REF_IMAGE_MAX as k, DEFAULT_REQUEST_IMAGE_LIMIT as l, DEFAULT_SUNO_MODEL as m, DEFAULT_TEXT_TO_AUDIO_PROVIDER as n, DEFAULT_TRANSCRIBE_NODE_PROVIDER as o, DEFAULT_TRANSCRIBE_PROVIDER as p, DEFAULT_TTS_OUTPUT_FORMAT as q, DEFAULT_TTS_PROVIDER as r, DEFAULT_VIDEO_DURATION_SEC as s, DEFAULT_VIDEO_PROVIDER as t, DEFAULT_VIDEO_TO_VIDEO_PROVIDER as u, DEFAULT_VOICE_DESIGN_MODEL as v, DIALOGUE_PROVIDERS as w, DURATION_PRICED_PROVIDERS as x, type DialogueProvider as y, type ExtendVideoProvider as z };