@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,3 +1,30 @@
1
+ // src/video-duration.ts
2
+ var CONTAINER_OVERHANG_SEC = 0.25;
3
+ function extractVideoDurationFromNode(data) {
4
+ if (!data) return void 0;
5
+ const results = data.generatedResults;
6
+ const idx = data.activeResultIndex ?? 0;
7
+ const fromResult = results?.[idx]?.duration;
8
+ if (typeof fromResult === "number" && Number.isFinite(fromResult) && fromResult > 0) {
9
+ return fromResult;
10
+ }
11
+ const fromConfig = data.duration;
12
+ if (typeof fromConfig === "number" && Number.isFinite(fromConfig) && fromConfig > 0) {
13
+ return fromConfig;
14
+ }
15
+ return void 0;
16
+ }
17
+ function editPlanSourceDurationSec(data) {
18
+ const fromVideo = extractVideoDurationFromNode(data);
19
+ if (fromVideo !== void 0) return fromVideo;
20
+ const meta = data?.metadata;
21
+ if (typeof meta?.mediaUrl === "string" && meta.mediaUrl !== data?.extractedAudioUrl && meta.mediaUrl !== data?.url) {
22
+ return void 0;
23
+ }
24
+ const d = meta?.durationSeconds;
25
+ return typeof d === "number" && Number.isFinite(d) && d > 0 ? d : void 0;
26
+ }
27
+
1
28
  // src/seedance-draft.ts
2
29
  var SEEDANCE_DRAFT_MODELS = ["seedance-2-5"];
3
30
  function isSeedanceDraftCapable(provider) {
@@ -9,7 +36,7 @@ var SEEDANCE_DRAFT_FINALIZE_RESOLUTION = "1080p";
9
36
  var SEEDANCE_DRAFT_FINALIZE_MIN_SEC = 4;
10
37
  var SEEDANCE_DRAFT_FINALIZE_MAX_SEC = 30;
11
38
  function seedanceDraftFinalizeBillableSec(measuredSec) {
12
- const whole = Math.max(1, Math.ceil(measuredSec - 0.25));
39
+ const whole = Math.max(1, Math.ceil(measuredSec - CONTAINER_OVERHANG_SEC));
13
40
  return Math.min(SEEDANCE_DRAFT_FINALIZE_MAX_SEC, Math.max(SEEDANCE_DRAFT_FINALIZE_MIN_SEC, whole));
14
41
  }
15
42
  function seedanceDraftFinalizeCreditId(durationSec, hasRefVideo) {
@@ -23,6 +50,31 @@ function isFlux2Model(m) {
23
50
  return m === "flux-2-klein" || m === "flux-2-pro" || m === "flux-2-max";
24
51
  }
25
52
 
53
+ // src/minimax-h3-image.ts
54
+ var MINIMAX_H3_IMAGE_T2I = "minimax-h3-image";
55
+ var MINIMAX_H3_IMAGE_I2I = "minimax-h3-image-i2i";
56
+ var MINIMAX_H3_IMAGE_RESOLUTIONS = ["1K", "2K", "4K"];
57
+ var MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION = "2K";
58
+ var MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES = 16;
59
+ function isMinimaxH3Image(model) {
60
+ return model === MINIMAX_H3_IMAGE_T2I || model === MINIMAX_H3_IMAGE_I2I;
61
+ }
62
+ function isMinimaxH3ImageI2i(model) {
63
+ return model === MINIMAX_H3_IMAGE_I2I;
64
+ }
65
+ function pricedResolution(resolution) {
66
+ const asked = typeof resolution === "string" ? resolution.trim().toLowerCase() : "";
67
+ return MINIMAX_H3_IMAGE_RESOLUTIONS.find((r) => r.toLowerCase() === asked) ?? MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION;
68
+ }
69
+ function minimaxH3ImageCreditId(provider, resolution, referenceImageCount) {
70
+ const size = pricedResolution(resolution);
71
+ const asked = Number.isFinite(referenceImageCount) ? Math.trunc(referenceImageCount) : 0;
72
+ const edit = provider === MINIMAX_H3_IMAGE_I2I || asked > 0;
73
+ if (!edit) return `${MINIMAX_H3_IMAGE_T2I}:${size}`;
74
+ const images = Math.min(Math.max(1, asked), MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES);
75
+ return `${MINIMAX_H3_IMAGE_I2I}:${size}:${images}ref`;
76
+ }
77
+
26
78
  // src/video-duration-auto.ts
27
79
  var VIDEO_DURATION_AUTO = -1;
28
80
  function isAutoVideoDuration(duration) {
@@ -30,6 +82,24 @@ function isAutoVideoDuration(duration) {
30
82
  return n === VIDEO_DURATION_AUTO;
31
83
  }
32
84
 
85
+ // src/seedream-5-5.ts
86
+ var SEEDREAM_5_5_T2I = "seedream-5-5";
87
+ var SEEDREAM_5_5_I2I = "seedream-5-5-i2i";
88
+ var SEEDREAM_5_5_RESOLUTIONS = ["1K", "1.5K", "2K"];
89
+ var SEEDREAM_5_5_DEFAULT_RESOLUTION = "2K";
90
+ var SEEDREAM_5_5_MAX_INPUT_IMAGES = 10;
91
+ var SEEDREAM_5_5_MIN_PROMPT_CHARS = 5;
92
+ function isSeedream55I2i(model) {
93
+ return model === SEEDREAM_5_5_I2I;
94
+ }
95
+ function isSeedream55(model) {
96
+ return model === SEEDREAM_5_5_T2I || model === SEEDREAM_5_5_I2I;
97
+ }
98
+ function seedream55Resolution(resolution) {
99
+ const asked = typeof resolution === "string" ? resolution.trim().toUpperCase() : "";
100
+ return SEEDREAM_5_5_RESOLUTIONS.find((r) => r === asked) ?? SEEDREAM_5_5_DEFAULT_RESOLUTION;
101
+ }
102
+
33
103
  // src/model-catalog.ts
34
104
  var SPEECH_UNIT_PRICE_NOTE = "per started 100 characters, at least 8 units \u2014 where length pricing is on; a request costs at most its units \xD7 this";
35
105
  var MODEL_MAKERS = {
@@ -45,7 +115,9 @@ var MODEL_MAKERS = {
45
115
  meituan: { name: "Meituan" },
46
116
  minimax: { name: "MiniMax" },
47
117
  nodaro: { name: "Nodaro" },
118
+ nvidia: { name: "NVIDIA" },
48
119
  openai: { name: "OpenAI" },
120
+ pixverse: { name: "PixVerse" },
49
121
  recraft: { name: "Recraft" },
50
122
  runway: { name: "Runway" },
51
123
  shengshu: { name: "ShengShu" },
@@ -58,6 +130,7 @@ function isModelMakerId(value) {
58
130
  return typeof value === "string" && Object.hasOwn(MODEL_MAKERS, value);
59
131
  }
60
132
  function modelMakerOf(entry) {
133
+ if (entry.ownLabel === true) return void 0;
61
134
  return isModelMakerId(entry.maker) ? { id: entry.maker, name: MODEL_MAKERS[entry.maker].name } : void 0;
62
135
  }
63
136
  var MODEL_RECOMMENDATIONS = [
@@ -70,6 +143,7 @@ var MODEL_RECOMMENDATIONS = [
70
143
  { intent: "highest fidelity image", modelIds: ["gpt-image-2", "gpt-image-2-6-sunburst", "imagen4-ultra"], note: "GPT Image 2 for characters and identity; GPT Image 2.6 Sunburst for wide or in-between ratios GPT Image 2 can't draw." },
71
144
  { intent: "image edit / restyle", modelIds: ["gpt-image-2-6-flare-i2i", "gpt-image-2-i2i", "seedream-5-pro-i2i"], note: "GPT Image 2.6 Flare changes what you ask and keeps the rest; GPT Image 2 i2i for identity-critical edits; Seedream 5 Pro for instruction-based edits." },
72
145
  { intent: "highest-resolution image", modelIds: ["topaz-image-upscale", "gpt-image-2", "gpt-image-2-6-sunburst"], note: "Generate at the model's top tier, then Topaz upscale 4x (Topaz's only lever is the 1x/2x/4x factor)." },
146
+ { intent: "upscale an image with text, labels or logos", modelIds: ["nodaro-image-upscale"], note: "Keeps lettering exactly as written. 1x enhances at the same size; up to 8x. Priced by the output's size, so a small picture costs little." },
73
147
  { intent: "background removal / cutout", modelIds: ["recraft-remove-bg"], note: "Cheap, no prompt needed." },
74
148
  // video
75
149
  { intent: "best cinematic video", modelIds: ["veo3", "kling-3.0", "seedance-2"], note: "VEO 3.1 Quality for premium narrative; Kling 3.0 for music-synced motion; Seedance 2 for reference-driven consistency." },
@@ -78,7 +152,7 @@ var MODEL_RECOMMENDATIONS = [
78
152
  { intent: "music / song generation", modelIds: ["suno-v6", "suno-v6_wild", "suno-v6_mini", "suno-v5_5"], note: "V6 is the default flagship; V6 Wild for bolder, less predictable results; V6 Mini when speed matters; v5.5 / v5 / v4 keep their own character. Same price." },
79
153
  { intent: "voice over / narration", modelIds: ["elevenlabs-v4", "elevenlabs-v3", "elevenlabs-v4-turbo", "elevenlabs-turbo"], note: "v4 is the default: [audio tags] for emotion and up to 10,000 characters per request. v3 is the previous expressive model, still selectable. v4 Turbo keeps v4's tags at Turbo's credit price; Turbo v2.5 is the cheapest for plain narration without tags." },
80
154
  { intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
81
- { intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper"], note: "Captions need WORD timestamps: ElevenLabs STT (always) or Incredibly Fast Whisper. Plain Whisper returns phrase segments only." },
155
+ { intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper", "nemotron-3-5-transcribe"], note: "Captions need WORD timestamps: ElevenLabs STT (always), Incredibly Fast Whisper or Nemotron 3.5 Transcribe (on request, with a speaker per word). Plain Whisper returns phrase segments only. To translate the speech (to or from English) instead of transcribing it, use Nemotron 3.5 Transcribe with a target language; a translation carries no word timings." },
82
156
  { intent: "motion transfer (drive a subject by another video)", modelIds: ["motion-transfer", "kling-3.0-motion"], note: "Kling 2.6 base is cheap; Kling 3.0 is premium." }
83
157
  ];
84
158
  var NANO_BANANA_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9"];
@@ -172,6 +246,10 @@ var GPT_IMAGE_2_6_SVG_LEVELS = ["standard", "detailed", "max"];
172
246
  var IMAGEN4_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
173
247
  var IDEOGRAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
174
248
  var SEEDREAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "21:9"];
249
+ var MINIMAX_H3_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "auto"];
250
+ var SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS];
251
+ var SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"];
252
+ var SEEDREAM_5_5_FORMATS = ["png", "jpeg"];
175
253
  var Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
176
254
  var VIDEO_RATIOS_HV = ["16:9", "9:16"];
177
255
  var VIDEO_RATIOS_HVS = ["16:9", "9:16", "1:1"];
@@ -182,6 +260,7 @@ var VIDEO_RATIOS_HAPPYHORSE_11 = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5
182
260
  var VIDEO_RATIOS_WAN_3 = ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"];
183
261
  var VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"];
184
262
  var VIDEO_RATIOS_KLING_4 = ["auto", "16:9", "9:16", "1:1", "21:9"];
263
+ var VIDEO_RATIOS_PIXVERSE_V6_MAX = ["16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9"];
185
264
  var IMAGE_MODELS = {
186
265
  // ── Google Nano Banana ──
187
266
  "nano-banana": {
@@ -475,6 +554,48 @@ var IMAGE_MODELS = {
475
554
  // max
476
555
  ]
477
556
  },
557
+ // A catalog entry so a deployment's model restriction can name it (decided
558
+ // 2026-11-12): before it, `models.allow` could not withhold it while the
559
+ // Modify Image node and /v1/image-to-image kept running it. It repaints the
560
+ // mask's white area of the image it is given, and its result is that image's
561
+ // size, so it takes no aspect ratio, size or quality: none is listed, and a
562
+ // value a request carries for one is dropped with an adjustment (as for
563
+ // Ideogram Edit). It never read one, so what it is sent is unchanged
564
+ // (backend flux-fill-requests-parity.test.ts). One input image, no
565
+ // reference images: no "reference-image" feature.
566
+ "flux-fill": {
567
+ id: "flux-fill",
568
+ kind: "image",
569
+ modes: ["edit"],
570
+ family: "Black Forest Labs",
571
+ maker: "black-forest-labs",
572
+ label: "FLUX Fill Pro",
573
+ series: "Flux",
574
+ description: "Masked inpainting from BFL via Replicate: repaints the mask's white area; the result keeps the image's size.",
575
+ useCases: ["edit", "inpaint"],
576
+ features: ["mask"],
577
+ pricing: [{ identifier: "flux-fill", credits: 30 }]
578
+ },
579
+ // A trained character's model (decided 2026-11-12): FLUX.1 [dev] with the
580
+ // character's own LoRA, which a Generate Image run switches to when the one
581
+ // character it names has a succeeded trained model. Never picked
582
+ // (`pickerHidden`): listed here so a deployment's restriction can name it.
583
+ // Where a deployment withholds it, a run does not switch and uses the
584
+ // character's reference pictures, as for a character with no trained model.
585
+ // Its levers are not listed: nothing snaps a request against this entry.
586
+ "flux-lora-character": {
587
+ id: "flux-lora-character",
588
+ kind: "image",
589
+ modes: ["t2i"],
590
+ family: "Black Forest Labs",
591
+ maker: "black-forest-labs",
592
+ label: "Trained character (FLUX LoRA)",
593
+ series: "Flux",
594
+ description: "A trained character's own model (FLUX.1 [dev] with its LoRA), run when a prompt names that one character.",
595
+ useCases: ["character"],
596
+ pricing: [{ identifier: "flux-lora-character", credits: 20 }],
597
+ pickerHidden: true
598
+ },
478
599
  // ── OpenAI (GPT Image) ──
479
600
  "gpt-image": {
480
601
  id: "gpt-image",
@@ -1204,6 +1325,120 @@ var IMAGE_MODELS = {
1204
1325
  resolutions: ["1K", "2K"],
1205
1326
  pricing: [{ identifier: "seedream-5-flash-i2i", credits: 10, note: "1K / 2K flat" }]
1206
1327
  },
1328
+ // Seedream 5.5 — a different model from Seedream 5 Lite, Pro and Flash, priced
1329
+ // by its size (1K and 1.5K the same, 2K dearer) and, on an edit, by each input
1330
+ // image (the rows are `ee/billing/seedream-5-5-pricing.ts`).
1331
+ // See: docs.kie.ai/market/seedream/5-5-text-to-image.md
1332
+ // docs.kie.ai/market/seedream/5-5-image-to-image.md
1333
+ "seedream-5-5": {
1334
+ id: "seedream-5-5",
1335
+ kind: "image",
1336
+ modes: ["t2i"],
1337
+ family: "Bytedance",
1338
+ maker: "bytedance",
1339
+ label: "Seedream 5.5",
1340
+ series: "Seedream",
1341
+ description: "Seedream 5.5 - more natural light, materials and skin, and dense small text that stays readable. A transparent background in one step, PNG or JPEG, at 1K, 1.5K or 2K (the default); 1K and 1.5K cost the same.",
1342
+ useCases: ["realistic", "typography", "product", "transparent"],
1343
+ features: ["reference-image"],
1344
+ aspectRatios: SEEDREAM_RATIOS,
1345
+ strictAspectRatios: true,
1346
+ resolutions: SEEDREAM_5_5_RESOLUTIONS,
1347
+ defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
1348
+ backgrounds: SEEDREAM_5_5_BACKGROUNDS,
1349
+ outputFormats: SEEDREAM_5_5_FORMATS,
1350
+ pricing: [
1351
+ { identifier: "seedream-5-5", credits: 16, note: "2K default" },
1352
+ { identifier: "seedream-5-5:1K", credits: 9, note: "1K" },
1353
+ { identifier: "seedream-5-5:1.5K", credits: 9, note: "1.5K, the same as 1K" },
1354
+ { identifier: "seedream-5-5:2K", credits: 16, note: "2K" }
1355
+ ]
1356
+ },
1357
+ "seedream-5-5-i2i": {
1358
+ id: "seedream-5-5-i2i",
1359
+ kind: "image",
1360
+ modes: ["i2i"],
1361
+ family: "Bytedance",
1362
+ maker: "bytedance",
1363
+ label: "Seedream 5.5 (I2I)",
1364
+ series: "Seedream",
1365
+ description: "Seedream 5.5 edits - change what you ask, round after round, and the rest of the picture stays as it was. Up to 10 input images, priced per image; a transparent background, PNG or JPEG, at 1K, 1.5K or 2K (the default).",
1366
+ useCases: ["edit", "iteration", "transparent"],
1367
+ features: ["reference-image"],
1368
+ aspectRatios: SEEDREAM_5_5_I2I_RATIOS,
1369
+ strictAspectRatios: true,
1370
+ resolutions: SEEDREAM_5_5_RESOLUTIONS,
1371
+ defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
1372
+ backgrounds: SEEDREAM_5_5_BACKGROUNDS,
1373
+ outputFormats: SEEDREAM_5_5_FORMATS,
1374
+ pricing: [
1375
+ { identifier: "seedream-5-5-i2i", credits: 20, note: "2K, one input image (the default)" },
1376
+ { identifier: "seedream-5-5-i2i:1K:1ref", credits: 13, note: "1K, one input image (the least)" },
1377
+ { identifier: "seedream-5-5-i2i:1.5K:1ref", credits: 13, note: "1.5K, one input image" },
1378
+ { identifier: "seedream-5-5-i2i:2K:1ref", credits: 20, note: "2K, one input image" },
1379
+ { identifier: "seedream-5-5-i2i:1K:10ref", credits: 45, note: "1K, ten input images" },
1380
+ { identifier: "seedream-5-5-i2i:2K:10ref", credits: 52, note: "2K, ten input images (the most)" }
1381
+ ]
1382
+ },
1383
+ // ── MiniMax H3 Image ──
1384
+ // MiniMax's H3 image model (KIE `minimax-h3/text-to-image` and
1385
+ // `minimax-h3/image-edit`). Not the H3 video model `minimax-h3`. A prompt
1386
+ // runs the text-to-image id; with reference images the run moves to the
1387
+ // edit id (`T2I_TO_I2I_VARIANT`). Priced by size, 1K and 2K the same, and an
1388
+ // edit by its reference images (`minimaxH3ImageCreditId`). "auto" is listed
1389
+ // LAST so a fallback that takes the first ratio lands on a real one: from a
1390
+ // prompt KIE's rewriter picks the ratio, in an edit it follows the first
1391
+ // reference image. KIE's prompt expansion is left on and its custom
1392
+ // width/height is not offered.
1393
+ // See: docs.kie.ai/market/minimax-h3/text-to-image.md
1394
+ // docs.kie.ai/market/minimax-h3/image-edit.md
1395
+ "minimax-h3-image": {
1396
+ id: "minimax-h3-image",
1397
+ kind: "image",
1398
+ modes: ["t2i"],
1399
+ family: "MiniMax",
1400
+ maker: "minimax",
1401
+ label: "MiniMax H3 Image",
1402
+ series: "MiniMax Image",
1403
+ description: "MiniMax H3 Image: detailed pictures up to about 16 MP at 4K, with readable text inside the picture. Ten shapes plus auto, the same price at 1K and 2K (2K by default), PNG or JPEG.",
1404
+ useCases: ["typography", "high-res", "general"],
1405
+ features: ["reference-image"],
1406
+ aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
1407
+ resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
1408
+ defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
1409
+ outputFormats: ["png", "jpeg"],
1410
+ pricing: [
1411
+ { identifier: "minimax-h3-image", credits: 5, note: "2K default" },
1412
+ { identifier: "minimax-h3-image:1K", credits: 5, note: "1K" },
1413
+ { identifier: "minimax-h3-image:2K", credits: 5, note: "2K" },
1414
+ { identifier: "minimax-h3-image:4K", credits: 14, note: "4K" }
1415
+ ]
1416
+ },
1417
+ "minimax-h3-image-i2i": {
1418
+ id: "minimax-h3-image-i2i",
1419
+ kind: "image",
1420
+ modes: ["i2i"],
1421
+ family: "MiniMax",
1422
+ maker: "minimax",
1423
+ label: "MiniMax H3 Image (I2I)",
1424
+ series: "MiniMax Image",
1425
+ description: "MiniMax H3 Image edits: change or combine up to 16 reference images in one edit, with readable text, up to about 16 MP at 4K. Priced by size and by reference image; auto keeps the first image's shape.",
1426
+ useCases: ["edit", "typography", "multi-reference"],
1427
+ features: ["reference-image"],
1428
+ aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
1429
+ resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
1430
+ defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
1431
+ outputFormats: ["png", "jpeg"],
1432
+ pricing: [
1433
+ { identifier: "minimax-h3-image-i2i", credits: 6, note: "2K, one reference image" },
1434
+ { identifier: "minimax-h3-image-i2i:1K:1ref", credits: 6, note: "1K, one reference image (the least)" },
1435
+ { identifier: "minimax-h3-image-i2i:2K:1ref", credits: 6, note: "2K, one reference image" },
1436
+ { identifier: "minimax-h3-image-i2i:2K:4ref", credits: 10, note: "2K, four reference images" },
1437
+ { identifier: "minimax-h3-image-i2i:4K:1ref", credits: 15, note: "4K, one reference image" },
1438
+ { identifier: "minimax-h3-image-i2i:2K:16ref", credits: 25, note: "2K, sixteen reference images" },
1439
+ { identifier: "minimax-h3-image-i2i:4K:16ref", credits: 34, note: "4K, sixteen reference images (the most)" }
1440
+ ]
1441
+ },
1207
1442
  // ── Alibaba Qwen ──
1208
1443
  "qwen": {
1209
1444
  id: "qwen",
@@ -1403,6 +1638,28 @@ var IMAGE_MODELS = {
1403
1638
  { identifier: "topaz-image-upscale", credits: 25, note: "1x / 2x" },
1404
1639
  { identifier: "topaz-image-upscale:4K", credits: 50, note: "4x (legacy identifier)" }
1405
1640
  ]
1641
+ },
1642
+ "nodaro-image-upscale": {
1643
+ id: "nodaro-image-upscale",
1644
+ kind: "image",
1645
+ modes: ["upscale"],
1646
+ family: "Nodaro Upscale",
1647
+ ownLabel: true,
1648
+ label: "Nodaro Image Upscale",
1649
+ series: "Nodaro Upscale",
1650
+ description: "Image upscale at 1x (enhance only), 2x, 4x or 8x. Restores detail and keeps lettering exactly as written; the output is the input times the factor, nothing cropped. Priced by the output's size.",
1651
+ useCases: ["upscale", "high-res", "typography", "utility"],
1652
+ features: ["reference-image"],
1653
+ // No `resolutions`: the one lever is the upscale factor (`NODARO_IMAGE_UPSCALE_FACTORS`).
1654
+ // The price follows the OUTPUT's total pixels (`@nodaro/render-rules`
1655
+ // nodaro-image-upscale-pricing.ts); the bare id is the hold when the image's size
1656
+ // cannot be read before the run, settled to the delivered output's tier.
1657
+ pricing: [
1658
+ { identifier: "nodaro-image-upscale:2K", credits: 4, note: "output up to 4,194,304 pixels (2048 \xD7 2048)" },
1659
+ { identifier: "nodaro-image-upscale:4K", credits: 10, note: "output up to 16,777,216 pixels (4096 \xD7 4096)" },
1660
+ { identifier: "nodaro-image-upscale:8K", credits: 30, note: "output up to 67,108,864 pixels (8192 \xD7 8192)" },
1661
+ { identifier: "nodaro-image-upscale", credits: 30, note: "held when the image's size cannot be read before the run; the output's tier is charged" }
1662
+ ]
1406
1663
  }
1407
1664
  };
1408
1665
  var VIDEO_MODELS = {
@@ -1868,6 +2125,50 @@ var VIDEO_MODELS = {
1868
2125
  { identifier: "kling-4-keyframes:30s:1080p", credits: 3190, note: "30s 1080p (max)" }
1869
2126
  ]
1870
2127
  },
2128
+ // Kling 4.0 Flash — ONE id over KIE's two Flash endpoints, picked by what is
2129
+ // wired (backend kie/kling4.ts): a start frame alone runs on
2130
+ // docs.kie.ai/market/kling/v4-flash-keyframe-to-video, where it is the exact
2131
+ // opening frame; everything else (text, reference images, videos,
2132
+ // characters, or a start frame beside any of them) runs on
2133
+ // docs.kie.ai/market/kling/v4-flash-reference-to-video, where a start frame
2134
+ // joins the reference images as on kling-4. Reference: up to 10 images, 5
2135
+ // videos (2-20s together) and 7 characters (15 in all). No standalone voices:
2136
+ // audio clip N becomes wired character N's voice when that character has 2-4
2137
+ // images (otherwise the clip is dropped). No end
2138
+ // frame, no 1080p, no seed. 3-20s, 720p, native audio always on. Per-second
2139
+ // billing; a reference-video run bills its input seconds too.
2140
+ "kling-4-flash": {
2141
+ id: "kling-4-flash",
2142
+ kind: "video",
2143
+ modes: ["i2v", "t2v"],
2144
+ family: "Kuaishou",
2145
+ maker: "kuaishou",
2146
+ label: "Kling 4.0 Flash",
2147
+ series: "Kling",
2148
+ description: "Kling 4.0 Flash \u2014 the faster, lower-cost Kling 4.0 at 720p, up to 20s with native audio; a start frame, reference images, videos and characters (each can carry a voice clip), or plain text.",
2149
+ useCases: ["fast", "cheap", "narrative", "reference"],
2150
+ // No `voices` array on Flash: a reference audio clip is a character's voice
2151
+ // (`voice-references` names that input "Voice Refs"). No `audio-soundtrack`
2152
+ // (the clips are voices, never a soundtrack), no `end-frame`, no
2153
+ // `video-reference` (the generate-video-pro extend chain is unwired, as on
2154
+ // kling-4).
2155
+ features: ["audio", "reference-image", "reference-to-video", "character-subjects", "voice-references"],
2156
+ aspectRatios: VIDEO_RATIOS_KLING_4,
2157
+ durations: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
2158
+ defaultDuration: 5,
2159
+ resolutions: ["720p"],
2160
+ unlistedResolutionRendersAs: "720p",
2161
+ noSeed: true,
2162
+ // neither Flash schema has a `seed` (additionalProperties: false)
2163
+ pricing: [
2164
+ { identifier: "kling-4-flash", credits: 220, note: "default 5s 720p \u2014 see :Ns:720p variants for exact" },
2165
+ { identifier: "kling-4-flash:5s:720p", credits: 220, note: "5s 720p (the default tier)" },
2166
+ { identifier: "kling-4-flash:3s:720p", credits: 130, note: "3s 720p (min)" },
2167
+ { identifier: "kling-4-flash:10s:720p", credits: 430, note: "10s 720p" },
2168
+ { identifier: "kling-4-flash:20s:720p", credits: 850, note: "20s 720p (max)" },
2169
+ { identifier: "kling-4-flash:8s:720p-ref", credits: 230, note: "per-second anchor with a reference video: billed \xD7 (output + max(output, input seconds)) \xF7 8" }
2170
+ ]
2171
+ },
1871
2172
  // ── xAI Grok video ──
1872
2173
  "grok-i2v": {
1873
2174
  id: "grok-i2v",
@@ -1891,35 +2192,50 @@ var VIDEO_MODELS = {
1891
2192
  { identifier: "grok-i2v:15s", credits: 100 }
1892
2193
  ]
1893
2194
  },
1894
- // xAI Grok Imagine Video 1.5 — KIE image-to-video (image required). True
1895
- // per-second billing split 480p/720p. modes:["i2v"] is the honest capability;
1896
- // it's also surfaced in the text-to-video dropdown for the unified node, where
1897
- // the t2v route returns a clean "requires an input image" 400.
2195
+ // xAI Grok Imagine Video 1.5 — KIE image-to-video
2196
+ // (docs.kie.ai/market/grok-imagine/1-5-preview), built by the backend's
2197
+ // bespoke runner (kie/grok-video-15.ts). The start frame is the exact first
2198
+ // frame and an end frame the exact last frame; one picture wired as both is a
2199
+ // seamless loop (KIE `loop_url`). The Image References are up to 4
2200
+ // in-between frames (KIE `keyframes`), spread evenly over the clip at whole
2201
+ // seconds — frames only, never loose references, so `keyframes` is declared
2202
+ // (it also keeps the model out of generate-video-pro, whose segments would
2203
+ // send cast references as frames). modes:["i2v"] and no `reference-to-video`:
2204
+ // every run needs its start image, in-between frames included. It is also
2205
+ // surfaced in the text-to-video dropdown for the unified node, where the t2v
2206
+ // route returns a clean "requires an input image" 400. Per-second billing by
2207
+ // resolution, with no per-image part.
1898
2208
  "grok-imagine-video-1.5": {
1899
2209
  id: "grok-imagine-video-1.5",
1900
2210
  kind: "video",
1901
2211
  modes: ["i2v"],
1902
- // No `reference-image` (locked by video-reference-features.test.ts, 2026-06-28
1903
- // audit): KIE's grok-imagine endpoint accepts a single image_url (the i2v
1904
- // start frame) only — there is no reference transport, so advertising the
1905
- // feature let the editor attach refs that were silently dropped at the
1906
- // provider. Also kept OUT of VIDEO_REF_LIMITS_BY_PROVIDER for the same reason.
2212
+ features: ["end-frame", "reference-image", "keyframes"],
1907
2213
  family: "xAI",
1908
2214
  maker: "xai",
1909
2215
  label: "Grok Imagine Video 1.5",
1910
2216
  series: "Grok",
1911
- description: "Grok Imagine 1.5 image-to-video \u2014 1\u201315s, 480p/720p, per-second pricing. Requires an input image.",
2217
+ description: "Grok Imagine Video 1.5 \u2014 1\u201315s at 480p, 720p or 1080p, per-second pricing. An exact first and last frame (the same image as both makes a seamless loop) and up to 4 in-between frames. Requires an input image.",
1912
2218
  useCases: ["stylized", "motion"],
1913
2219
  aspectRatios: ["16:9", "9:16", "1:1", "4:3", "3:4"],
1914
2220
  durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
1915
2221
  defaultDuration: 8,
1916
- resolutions: ["480p", "720p"],
2222
+ resolutions: ["480p", "720p", "1080p"],
2223
+ // normalizeGrokVideo15Resolution sends 480p for anything off the list.
2224
+ unlistedResolutionRendersAs: "480p",
2225
+ // KIE refuses 1080p beside anything but a lone start frame ("1080p is only
2226
+ // supported for text-to-video or a single image used as the first frame",
2227
+ // a staging run 2026-11-12): no end frame, loop or in-between frames.
2228
+ startFrameOnlyResolutions: ["1080p"],
2229
+ noSeed: true,
2230
+ // the KIE schema has no `seed` (additionalProperties: false)
1917
2231
  pricing: [
1918
- { identifier: "grok-imagine-video-1.5", credits: 295, note: "default 8s 480p \u2014 see :Ns:res variants" },
1919
- { identifier: "grok-imagine-video-1.5:8s:480p", credits: 300, note: "8s 480p" },
1920
- { identifier: "grok-imagine-video-1.5:8s:720p", credits: 510, note: "8s 720p" },
1921
- { identifier: "grok-imagine-video-1.5:15s:480p", credits: 550, note: "15s 480p (max)" },
1922
- { identifier: "grok-imagine-video-1.5:15s:720p", credits: 950, note: "15s 720p (max)" }
2232
+ { identifier: "grok-imagine-video-1.5", credits: 50, note: "default 8s 480p \u2014 see :Ns:res variants" },
2233
+ { identifier: "grok-imagine-video-1.5:8s:480p", credits: 50, note: "8s 480p" },
2234
+ { identifier: "grok-imagine-video-1.5:8s:720p", credits: 90, note: "8s 720p" },
2235
+ { identifier: "grok-imagine-video-1.5:8s:1080p", credits: 160, note: "8s 1080p" },
2236
+ { identifier: "grok-imagine-video-1.5:15s:480p", credits: 90, note: "15s 480p (max)" },
2237
+ { identifier: "grok-imagine-video-1.5:15s:720p", credits: 170, note: "15s 720p (max)" },
2238
+ { identifier: "grok-imagine-video-1.5:15s:1080p", credits: 300, note: "15s 1080p (max)" }
1923
2239
  ]
1924
2240
  },
1925
2241
  // ── Bytedance Seedance ──
@@ -2026,6 +2342,7 @@ var VIDEO_MODELS = {
2026
2342
  durations: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
2027
2343
  defaultDuration: 8,
2028
2344
  autoDuration: true,
2345
+ referenceTaskTypes: ["reference", "edit", "extend"],
2029
2346
  resolutions: ["480p", "720p", "1080p"],
2030
2347
  // KIE refuses a seed on Seedance 2.5 (422) — the provider config omits it.
2031
2348
  noSeed: true,
@@ -2461,6 +2778,49 @@ var VIDEO_MODELS = {
2461
2778
  { identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" }
2462
2779
  ]
2463
2780
  },
2781
+ // ── PixVerse ──
2782
+ // PixVerse V6 Max — ONE id over two KIE endpoints, picked by what is wired
2783
+ // (backend kie/pixverse-v6-max.ts): a start frame runs on
2784
+ // docs.kie.ai/market/pixverse/v6-max-image-to-video, where it is the exact
2785
+ // first frame and the output takes its shape (no aspect ratio is sent); no
2786
+ // image runs on docs.kie.ai/market/pixverse/v6-max-text-to-video, with one of
2787
+ // eight aspect ratios. No end frame, no reference images, videos or audio.
2788
+ // 1-15s, 360p-1080p (`quality` on the wire). Native audio behind the
2789
+ // `generate_audio_switch` lever: the price depends on it, so it bills on the
2790
+ // `:audio` rows (AUDIO_ADDON_PROVIDERS), and a request that names no audio
2791
+ // setting renders and bills audio ON (decided 2026-11-11). `resolutions` is
2792
+ // ascending (repo convention); the default tier (720p) is declared, never
2793
+ // carried by array position — 360p is the cheapest preview tier.
2794
+ "pixverse-v6-max": {
2795
+ id: "pixverse-v6-max",
2796
+ kind: "video",
2797
+ modes: ["i2v", "t2v"],
2798
+ family: "PixVerse",
2799
+ maker: "pixverse",
2800
+ label: "PixVerse V6 Max",
2801
+ series: "PixVerse",
2802
+ description: "PixVerse V6 Max \u2014 cinematic video from text or from an exact first frame, 1\u201315s at 360p to 1080p, with optional native audio (on by default; it changes the price). Strong prompt following, camera control and on-screen text.",
2803
+ useCases: ["cinematic", "narrative", "typography", "motion"],
2804
+ features: ["audio"],
2805
+ aspectRatios: VIDEO_RATIOS_PIXVERSE_V6_MAX,
2806
+ durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
2807
+ defaultDuration: 5,
2808
+ resolutions: ["360p", "540p", "720p", "1080p"],
2809
+ defaultResolution: "720p",
2810
+ // normalizePixverseV6MaxQuality sends 720p for anything off the list.
2811
+ unlistedResolutionRendersAs: "720p",
2812
+ // Generate Video Pro runs it from a start anchor or text (decided 2026-11-12).
2813
+ gvpWithoutReferences: true,
2814
+ pricing: [
2815
+ { identifier: "pixverse-v6-max", credits: 150, note: "default 5s 720p with audio \u2014 see :Ns:res and :Ns:res:audio variants for exact" },
2816
+ { identifier: "pixverse-v6-max:5s:720p:audio", credits: 150, note: "5s 720p with audio (the default tier)" },
2817
+ { identifier: "pixverse-v6-max:5s:720p", credits: 110, note: "5s 720p, no audio" },
2818
+ { identifier: "pixverse-v6-max:5s:360p", credits: 60, note: "5s 360p, no audio" },
2819
+ { identifier: "pixverse-v6-max:5s:1080p:audio", credits: 280, note: "5s 1080p with audio" },
2820
+ { identifier: "pixverse-v6-max:1s:360p", credits: 20, note: "1s 360p, no audio (min)" },
2821
+ { identifier: "pixverse-v6-max:15s:1080p:audio", credits: 840, note: "15s 1080p with audio (max)" }
2822
+ ]
2823
+ },
2464
2824
  // ── Bytedance video lite/pro ──
2465
2825
  "bytedance-lite": {
2466
2826
  id: "bytedance-lite",
@@ -2583,24 +2943,68 @@ var VIDEO_MODELS = {
2583
2943
  useCases: ["extend"],
2584
2944
  pricing: [{ identifier: "runway-extend", credits: 320 }]
2585
2945
  },
2586
- "seedance-2-extend": {
2587
- id: "seedance-2-extend",
2946
+ // Seedance extends ANY video, one provider per model. Each is priced on its
2947
+ // own rows (`tailExtendCreditId`), one per second added and resolution.
2948
+ // The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
2949
+ "seedance-2-5-extend": {
2950
+ id: "seedance-2-5-extend",
2588
2951
  kind: "video",
2589
2952
  modes: ["extend"],
2590
2953
  family: "Bytedance",
2591
2954
  maker: "bytedance",
2592
- label: "Seedance 2 Extend",
2955
+ label: "Seedance 2.5 Extend",
2593
2956
  series: "Seedance",
2594
- description: "Extend ANY video: generates the continuation (audio included) and trim-stitches it into one seamless clip.",
2957
+ description: "Extend ANY video with Seedance 2.5: 4\u201330s continuation (audio included), stitched into one seamless clip.",
2958
+ useCases: ["extend"],
2959
+ durations: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
2960
+ defaultDuration: 8,
2961
+ resolutions: ["480p", "720p", "1080p"],
2962
+ pricing: [
2963
+ { identifier: "seedance-2-5-extend:8s:720p", credits: 950, note: "default 8s 720p \u2014 see :Ns:res variants for exact" },
2964
+ { identifier: "seedance-2-5-extend:8s:480p", credits: 425, note: "8s 480p" },
2965
+ { identifier: "seedance-2-5-extend:8s:1080p", credits: 2375, note: "8s 1080p" }
2966
+ ]
2967
+ },
2968
+ "seedance-2-0-extend": {
2969
+ id: "seedance-2-0-extend",
2970
+ kind: "video",
2971
+ modes: ["extend"],
2972
+ family: "Bytedance",
2973
+ maker: "bytedance",
2974
+ label: "Seedance 2.0 Extend",
2975
+ series: "Seedance",
2976
+ description: "Extend ANY video with Seedance 2.0: 4\u201315s continuation (audio included), stitched into one seamless clip.",
2595
2977
  useCases: ["extend"],
2596
2978
  durations: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
2597
2979
  defaultDuration: 8,
2598
2980
  resolutions: ["480p", "720p", "1080p"],
2599
2981
  pricing: [
2600
- { identifier: "seedance-2-extend", credits: 530, note: "default 8s 720p (ref-mode 50 + 3 stitch) \u2014 see :NsR variants" },
2601
- { identifier: "seedance-2-extend:8s:480p", credits: 260, note: "8s 480p (23+3)" },
2602
- { identifier: "seedance-2-extend:8s:720p", credits: 530, note: "8s 720p (50+3)" },
2603
- { identifier: "seedance-2-extend:8s:1080p", credits: 780, note: "8s 1080p (75+3)" }
2982
+ { identifier: "seedance-2-0-extend:8s:720p", credits: 625, note: "default 8s 720p \u2014 see :Ns:res variants for exact" },
2983
+ { identifier: "seedance-2-0-extend:8s:480p", credits: 288, note: "8s 480p" },
2984
+ { identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" }
2985
+ ]
2986
+ },
2987
+ // Kling 4 extends ANY video with the same tail recipe, generated on Kling
2988
+ // 4.0 (`kling-4`, reference-to-video): its own entry, so a deployment can
2989
+ // withhold or release it apart from Kling 4.0 generation, and its own rows
2990
+ // (`tailExtendCreditId`), one per second added and resolution. Its sound is
2991
+ // always on (Kling 4.0 has no switch).
2992
+ "kling-4-extend": {
2993
+ id: "kling-4-extend",
2994
+ kind: "video",
2995
+ modes: ["extend"],
2996
+ family: "Kuaishou",
2997
+ maker: "kuaishou",
2998
+ label: "Kling 4 Extend",
2999
+ series: "Kling",
3000
+ description: "Extend ANY video with Kling 4: 3\u201330s continuation (audio included), stitched into one seamless clip.",
3001
+ useCases: ["extend"],
3002
+ durations: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
3003
+ defaultDuration: 5,
3004
+ resolutions: ["720p", "1080p"],
3005
+ pricing: [
3006
+ { identifier: "kling-4-extend:5s:720p", credits: 425, note: "default 5s 720p \u2014 see :Ns:res variants for exact" },
3007
+ { identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" }
2604
3008
  ]
2605
3009
  },
2606
3010
  "veo-1080p": {
@@ -2663,6 +3067,32 @@ var VIDEO_MODELS = {
2663
3067
  // Topaz units the provider reports, never above the hold.
2664
3068
  pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }]
2665
3069
  },
3070
+ // Nodaro Video Upscale (decided 2026-11-11): offered under the deployment's
3071
+ // own label, so it names no maker, and only where the deployment serves it
3072
+ // (the backend's house-model seam). Priced per second of the clip
3073
+ // (the clip's length rounded up to a whole second): each tier's row is the
3074
+ // price of FOUR seconds, so a per-second rate that is not a whole credit
3075
+ // still fits a whole-credit row, and a run is charged row × seconds ÷ 4,
3076
+ // rounded up once (`@nodaro/render-rules` nodaro-video-upscale-pricing.ts).
3077
+ "nodaro-video-upscale": {
3078
+ id: "nodaro-video-upscale",
3079
+ kind: "video",
3080
+ modes: ["video-upscale"],
3081
+ family: "Nodaro Upscale",
3082
+ ownLabel: true,
3083
+ label: "Nodaro Video Upscale",
3084
+ series: "Nodaro Upscale",
3085
+ description: "Upscale any clip of up to 60 seconds and 50 MB into a 1080p, 2K or 4K frame. It keeps the clip's shape (nothing is cropped), frame rate, length and sound. Priced per second of the clip; the listed price is four seconds at 1080p.",
3086
+ useCases: ["upscale", "high-res"],
3087
+ // An output box (1920×1080, 2560×1440, 3840×2160; turned for a portrait clip).
3088
+ resolutions: ["1080p", "2k", "4k"],
3089
+ defaultResolution: "1080p",
3090
+ pricing: [
3091
+ { identifier: "nodaro-video-upscale:1080p:per-4s", credits: 15, note: "per 4 seconds of the clip at 1080p; charged per whole second" },
3092
+ { identifier: "nodaro-video-upscale:2k:per-4s", credits: 30, note: "per 4 seconds of the clip at 2K; charged per whole second" },
3093
+ { identifier: "nodaro-video-upscale:4k:per-4s", credits: 60, note: "per 4 seconds of the clip at 4K; charged per whole second" }
3094
+ ]
3095
+ },
2666
3096
  // ── Motion transfer ──
2667
3097
  "motion-transfer": {
2668
3098
  id: "motion-transfer",
@@ -2704,6 +3134,50 @@ var VIDEO_MODELS = {
2704
3134
  { identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
2705
3135
  ]
2706
3136
  },
3137
+ // Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
3138
+ // restriction can name them. Before, `models.allow` could not withhold them
3139
+ // while the Motion Transfer node and /v1/motion-transfer kept running them
3140
+ // beside the Kling models. The sizes are the three each runs at and is priced
3141
+ // on today (one flat row per size, any clip length); a size it does not have
3142
+ // (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
3143
+ // size `normalizeModelInput` moves it to (`motionTransferResolution`), and
3144
+ // the size a request naming none has always run at.
3145
+ "wan-animate-move": {
3146
+ id: "wan-animate-move",
3147
+ kind: "video",
3148
+ modes: ["motion-transfer"],
3149
+ family: "Alibaba",
3150
+ maker: "alibaba",
3151
+ label: "Wan Animate Move",
3152
+ series: "Wan",
3153
+ description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
3154
+ useCases: ["motion-transfer", "cheap"],
3155
+ resolutions: ["480p", "580p", "720p"],
3156
+ defaultResolution: "720p",
3157
+ pricing: [
3158
+ { identifier: "wan-animate-move", credits: 255, note: "480p" },
3159
+ { identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
3160
+ { identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
3161
+ ]
3162
+ },
3163
+ "wan-animate-replace": {
3164
+ id: "wan-animate-replace",
3165
+ kind: "video",
3166
+ modes: ["motion-transfer"],
3167
+ family: "Alibaba",
3168
+ maker: "alibaba",
3169
+ label: "Wan Animate Replace",
3170
+ series: "Wan",
3171
+ description: "Wan 2.2 Animate: replaces the person in a driving video with the subject of a still image, keeping the motion.",
3172
+ useCases: ["motion-transfer", "character-swap"],
3173
+ resolutions: ["480p", "580p", "720p"],
3174
+ defaultResolution: "720p",
3175
+ pricing: [
3176
+ { identifier: "wan-animate-replace", credits: 255, note: "480p" },
3177
+ { identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
3178
+ { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
3179
+ ]
3180
+ },
2707
3181
  // ── Lip sync / talking-head ──
2708
3182
  "kling-avatar": {
2709
3183
  id: "kling-avatar",
@@ -2764,6 +3238,25 @@ var VIDEO_MODELS = {
2764
3238
  { identifier: "omnihuman-1-5:60s", credits: 4050 }
2765
3239
  ]
2766
3240
  },
3241
+ // A different model from 1.5, offered beside it (decided 2026-11-11): one
3242
+ // image, 4 to 300 seconds of audio, 720p output, an optional prompt. It has
3243
+ // none of 1.5's levers — no speaker mask, no resolution, no fast mode, no
3244
+ // seed — so it declares no `resolutions` (`normalizeModelInput` drops one).
3245
+ // Charged per second of its audio at one rate (LIP_SYNC_AUDIO_RATES).
3246
+ "omnihuman-2-0": {
3247
+ id: "omnihuman-2-0",
3248
+ kind: "video",
3249
+ modes: ["lip-sync"],
3250
+ family: "Bytedance",
3251
+ maker: "bytedance",
3252
+ label: "OmniHuman 2.0",
3253
+ series: "OmniHuman",
3254
+ description: "Talking avatar from one still image + audio, driven by the voice with an optional prompt for the scene, motion and camera. 720p, 4 seconds to 5 minutes, charged per second of audio.",
3255
+ useCases: ["lip-sync", "talking-head", "long-form"],
3256
+ pricing: [
3257
+ { identifier: "omnihuman-2-0:per-second", credits: 35, note: "per second of audio, rounded up; at least 4 seconds" }
3258
+ ]
3259
+ },
2767
3260
  "hailuo-avatar": {
2768
3261
  id: "hailuo-avatar",
2769
3262
  kind: "video",
@@ -3358,6 +3851,23 @@ var AUDIO_MODELS = {
3358
3851
  useCases: ["transcription", "stt"],
3359
3852
  pricing: [{ identifier: "whisper", credits: 40 }]
3360
3853
  },
3854
+ // NVIDIA's speech-to-text on KIE, priced per started minute of the file. Its
3855
+ // per-minute base fits no whole-credit row, so the row prices FOUR
3856
+ // minutes and a run is charged row × minutes ÷ 4, rounded up once
3857
+ // (`@nodaro/shared` credit-estimators/nemotron-transcribe.ts).
3858
+ "nemotron-3-5-transcribe": {
3859
+ id: "nemotron-3-5-transcribe",
3860
+ kind: "audio",
3861
+ modes: ["stt"],
3862
+ family: "NVIDIA",
3863
+ maker: "nvidia",
3864
+ label: "Nemotron 3.5 Transcribe",
3865
+ series: "Nemotron",
3866
+ description: "NVIDIA speech-to-text in 40 languages, detected automatically, with a low word error rate. On request it returns WORD-level timestamps with a speaker label per word, so its transcript can feed captions; or it translates the speech instead (to or from English: other speech into English, or English speech into one of 31 languages), with no word timings. Files up to 60 minutes and 200 MB. Priced per started minute of the file, whatever the options; the listed price is four minutes.",
3867
+ useCases: ["transcription", "stt", "captions", "translation"],
3868
+ features: ["word-timestamps", "diarization", "translation"],
3869
+ pricing: [{ identifier: "nemotron-3-5-transcribe:per-4m", credits: 3, note: "per 4 minutes of the file; charged per started minute, the whole run rounded up" }]
3870
+ },
3361
3871
  "elevenlabs-isolation": {
3362
3872
  id: "elevenlabs-isolation",
3363
3873
  kind: "audio",
@@ -3514,7 +4024,7 @@ var MODEL_CATALOG = {
3514
4024
  ...AUDIO_MODELS
3515
4025
  };
3516
4026
  function listModels(filter) {
3517
- const all = Object.values(MODEL_CATALOG);
4027
+ const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true);
3518
4028
  if (!filter) return all;
3519
4029
  return all.filter((m) => {
3520
4030
  if (filter.kind && m.kind !== filter.kind) return false;
@@ -3677,6 +4187,13 @@ function resolutionNearestSource(modelId, aspectRatio, source) {
3677
4187
  function isAutoAspectToken(value) {
3678
4188
  return typeof value === "string" && value.trim().toLowerCase() === "auto";
3679
4189
  }
4190
+ function isVideoAutoAspectToken(value) {
4191
+ return value === "Auto" || value === "auto";
4192
+ }
4193
+ function videoAutoAspectRunsAt(modelId, hasVisualInput) {
4194
+ if (!hasVisualInput || !modelId) return void 0;
4195
+ return MODEL_CATALOG[modelId]?.aspectRatios?.includes("adaptive") ? "adaptive" : void 0;
4196
+ }
3680
4197
  function usableSize(size) {
3681
4198
  return size !== void 0 && Number.isFinite(size.width) && size.width > 0 && Number.isFinite(size.height) && size.height > 0;
3682
4199
  }
@@ -4076,6 +4593,8 @@ var MODEL_VALUE_LABELS = {
4076
4593
  "adaptive": "Adaptive",
4077
4594
  // image resolutions
4078
4595
  "1K": "1K (Standard)",
4596
+ // Only Seedream 5.5 lists it.
4597
+ "1.5K": "1.5K (Medium)",
4079
4598
  "2K": "2K (High)",
4080
4599
  "4K": "4K (Ultra)",
4081
4600
  "4k": "4K",
@@ -4237,7 +4756,7 @@ function creditRangesAll() {
4237
4756
  }
4238
4757
  function modelIdsByKindMode(kind, modes, opts = {}) {
4239
4758
  const includeHidden = opts.includeHidden === true;
4240
- const ids = Object.values(MODEL_CATALOG).filter((m) => kind === null ? true : m.kind === kind).filter((m) => m.modes.some((md) => modes.includes(md))).filter((m) => includeHidden || !m.mcpHidden).filter((m) => !m.docsHidden).map((m) => m.id).sort();
4759
+ const ids = Object.values(MODEL_CATALOG).filter((m) => kind === null ? true : m.kind === kind).filter((m) => m.modes.some((md) => modes.includes(md))).filter((m) => includeHidden || !m.mcpHidden).filter((m) => !m.docsHidden && m.pickerHidden !== true).map((m) => m.id).sort();
4241
4760
  if (ids.length === 0) {
4242
4761
  throw new Error(
4243
4762
  `modelIdsByKindMode: no models match kind=${kind ?? "*"} modes=[${modes.join(",")}]`
@@ -4246,6 +4765,6 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
4246
4765
  return ids;
4247
4766
  }
4248
4767
 
4249
- export { FLUX2_RES_MP, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, fitAspectRatioToModel, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isModelMakerId, isSeedanceDraftCapable, listModels, maskEditMatchesSource, maskedEditResolution, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput };
4250
- //# sourceMappingURL=chunk-A3FHTSLB.js.map
4251
- //# sourceMappingURL=chunk-A3FHTSLB.js.map
4768
+ export { CONTAINER_OVERHANG_SEC, FLUX2_RES_MP, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, editPlanSourceDurationSec, extractVideoDurationFromNode, fitAspectRatioToModel, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt };
4769
+ //# sourceMappingURL=chunk-PSKZKLDG.js.map
4770
+ //# sourceMappingURL=chunk-PSKZKLDG.js.map