@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,5 +1,32 @@
1
1
  'use strict';
2
2
 
3
+ // src/video-duration.ts
4
+ var CONTAINER_OVERHANG_SEC = 0.25;
5
+ function extractVideoDurationFromNode(data) {
6
+ if (!data) return void 0;
7
+ const results = data.generatedResults;
8
+ const idx = data.activeResultIndex ?? 0;
9
+ const fromResult = results?.[idx]?.duration;
10
+ if (typeof fromResult === "number" && Number.isFinite(fromResult) && fromResult > 0) {
11
+ return fromResult;
12
+ }
13
+ const fromConfig = data.duration;
14
+ if (typeof fromConfig === "number" && Number.isFinite(fromConfig) && fromConfig > 0) {
15
+ return fromConfig;
16
+ }
17
+ return void 0;
18
+ }
19
+ function editPlanSourceDurationSec(data) {
20
+ const fromVideo = extractVideoDurationFromNode(data);
21
+ if (fromVideo !== void 0) return fromVideo;
22
+ const meta = data?.metadata;
23
+ if (typeof meta?.mediaUrl === "string" && meta.mediaUrl !== data?.extractedAudioUrl && meta.mediaUrl !== data?.url) {
24
+ return void 0;
25
+ }
26
+ const d = meta?.durationSeconds;
27
+ return typeof d === "number" && Number.isFinite(d) && d > 0 ? d : void 0;
28
+ }
29
+
3
30
  // src/seedance-draft.ts
4
31
  var SEEDANCE_DRAFT_MODELS = ["seedance-2-5"];
5
32
  function isSeedanceDraftCapable(provider) {
@@ -11,7 +38,7 @@ var SEEDANCE_DRAFT_FINALIZE_RESOLUTION = "1080p";
11
38
  var SEEDANCE_DRAFT_FINALIZE_MIN_SEC = 4;
12
39
  var SEEDANCE_DRAFT_FINALIZE_MAX_SEC = 30;
13
40
  function seedanceDraftFinalizeBillableSec(measuredSec) {
14
- const whole = Math.max(1, Math.ceil(measuredSec - 0.25));
41
+ const whole = Math.max(1, Math.ceil(measuredSec - CONTAINER_OVERHANG_SEC));
15
42
  return Math.min(SEEDANCE_DRAFT_FINALIZE_MAX_SEC, Math.max(SEEDANCE_DRAFT_FINALIZE_MIN_SEC, whole));
16
43
  }
17
44
  function seedanceDraftFinalizeCreditId(durationSec, hasRefVideo) {
@@ -25,6 +52,31 @@ function isFlux2Model(m) {
25
52
  return m === "flux-2-klein" || m === "flux-2-pro" || m === "flux-2-max";
26
53
  }
27
54
 
55
+ // src/minimax-h3-image.ts
56
+ var MINIMAX_H3_IMAGE_T2I = "minimax-h3-image";
57
+ var MINIMAX_H3_IMAGE_I2I = "minimax-h3-image-i2i";
58
+ var MINIMAX_H3_IMAGE_RESOLUTIONS = ["1K", "2K", "4K"];
59
+ var MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION = "2K";
60
+ var MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES = 16;
61
+ function isMinimaxH3Image(model) {
62
+ return model === MINIMAX_H3_IMAGE_T2I || model === MINIMAX_H3_IMAGE_I2I;
63
+ }
64
+ function isMinimaxH3ImageI2i(model) {
65
+ return model === MINIMAX_H3_IMAGE_I2I;
66
+ }
67
+ function pricedResolution(resolution) {
68
+ const asked = typeof resolution === "string" ? resolution.trim().toLowerCase() : "";
69
+ return MINIMAX_H3_IMAGE_RESOLUTIONS.find((r) => r.toLowerCase() === asked) ?? MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION;
70
+ }
71
+ function minimaxH3ImageCreditId(provider, resolution, referenceImageCount) {
72
+ const size = pricedResolution(resolution);
73
+ const asked = Number.isFinite(referenceImageCount) ? Math.trunc(referenceImageCount) : 0;
74
+ const edit = provider === MINIMAX_H3_IMAGE_I2I || asked > 0;
75
+ if (!edit) return `${MINIMAX_H3_IMAGE_T2I}:${size}`;
76
+ const images = Math.min(Math.max(1, asked), MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES);
77
+ return `${MINIMAX_H3_IMAGE_I2I}:${size}:${images}ref`;
78
+ }
79
+
28
80
  // src/video-duration-auto.ts
29
81
  var VIDEO_DURATION_AUTO = -1;
30
82
  function isAutoVideoDuration(duration) {
@@ -32,6 +84,24 @@ function isAutoVideoDuration(duration) {
32
84
  return n === VIDEO_DURATION_AUTO;
33
85
  }
34
86
 
87
+ // src/seedream-5-5.ts
88
+ var SEEDREAM_5_5_T2I = "seedream-5-5";
89
+ var SEEDREAM_5_5_I2I = "seedream-5-5-i2i";
90
+ var SEEDREAM_5_5_RESOLUTIONS = ["1K", "1.5K", "2K"];
91
+ var SEEDREAM_5_5_DEFAULT_RESOLUTION = "2K";
92
+ var SEEDREAM_5_5_MAX_INPUT_IMAGES = 10;
93
+ var SEEDREAM_5_5_MIN_PROMPT_CHARS = 5;
94
+ function isSeedream55I2i(model) {
95
+ return model === SEEDREAM_5_5_I2I;
96
+ }
97
+ function isSeedream55(model) {
98
+ return model === SEEDREAM_5_5_T2I || model === SEEDREAM_5_5_I2I;
99
+ }
100
+ function seedream55Resolution(resolution) {
101
+ const asked = typeof resolution === "string" ? resolution.trim().toUpperCase() : "";
102
+ return SEEDREAM_5_5_RESOLUTIONS.find((r) => r === asked) ?? SEEDREAM_5_5_DEFAULT_RESOLUTION;
103
+ }
104
+
35
105
  // src/model-catalog.ts
36
106
  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";
37
107
  var MODEL_MAKERS = {
@@ -47,7 +117,9 @@ var MODEL_MAKERS = {
47
117
  meituan: { name: "Meituan" },
48
118
  minimax: { name: "MiniMax" },
49
119
  nodaro: { name: "Nodaro" },
120
+ nvidia: { name: "NVIDIA" },
50
121
  openai: { name: "OpenAI" },
122
+ pixverse: { name: "PixVerse" },
51
123
  recraft: { name: "Recraft" },
52
124
  runway: { name: "Runway" },
53
125
  shengshu: { name: "ShengShu" },
@@ -60,6 +132,7 @@ function isModelMakerId(value) {
60
132
  return typeof value === "string" && Object.hasOwn(MODEL_MAKERS, value);
61
133
  }
62
134
  function modelMakerOf(entry) {
135
+ if (entry.ownLabel === true) return void 0;
63
136
  return isModelMakerId(entry.maker) ? { id: entry.maker, name: MODEL_MAKERS[entry.maker].name } : void 0;
64
137
  }
65
138
  var MODEL_RECOMMENDATIONS = [
@@ -72,6 +145,7 @@ var MODEL_RECOMMENDATIONS = [
72
145
  { 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." },
73
146
  { 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." },
74
147
  { 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)." },
148
+ { 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." },
75
149
  { intent: "background removal / cutout", modelIds: ["recraft-remove-bg"], note: "Cheap, no prompt needed." },
76
150
  // video
77
151
  { 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." },
@@ -80,7 +154,7 @@ var MODEL_RECOMMENDATIONS = [
80
154
  { 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." },
81
155
  { 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." },
82
156
  { intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
83
- { 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." },
157
+ { 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." },
84
158
  { 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." }
85
159
  ];
86
160
  var NANO_BANANA_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9"];
@@ -174,6 +248,10 @@ var GPT_IMAGE_2_6_SVG_LEVELS = ["standard", "detailed", "max"];
174
248
  var IMAGEN4_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
175
249
  var IDEOGRAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
176
250
  var SEEDREAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "21:9"];
251
+ 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"];
252
+ var SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS];
253
+ var SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"];
254
+ var SEEDREAM_5_5_FORMATS = ["png", "jpeg"];
177
255
  var Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
178
256
  var VIDEO_RATIOS_HV = ["16:9", "9:16"];
179
257
  var VIDEO_RATIOS_HVS = ["16:9", "9:16", "1:1"];
@@ -184,6 +262,7 @@ var VIDEO_RATIOS_HAPPYHORSE_11 = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5
184
262
  var VIDEO_RATIOS_WAN_3 = ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"];
185
263
  var VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"];
186
264
  var VIDEO_RATIOS_KLING_4 = ["auto", "16:9", "9:16", "1:1", "21:9"];
265
+ var VIDEO_RATIOS_PIXVERSE_V6_MAX = ["16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9"];
187
266
  var IMAGE_MODELS = {
188
267
  // ── Google Nano Banana ──
189
268
  "nano-banana": {
@@ -477,6 +556,48 @@ var IMAGE_MODELS = {
477
556
  // max
478
557
  ]
479
558
  },
559
+ // A catalog entry so a deployment's model restriction can name it (decided
560
+ // 2026-11-12): before it, `models.allow` could not withhold it while the
561
+ // Modify Image node and /v1/image-to-image kept running it. It repaints the
562
+ // mask's white area of the image it is given, and its result is that image's
563
+ // size, so it takes no aspect ratio, size or quality: none is listed, and a
564
+ // value a request carries for one is dropped with an adjustment (as for
565
+ // Ideogram Edit). It never read one, so what it is sent is unchanged
566
+ // (backend flux-fill-requests-parity.test.ts). One input image, no
567
+ // reference images: no "reference-image" feature.
568
+ "flux-fill": {
569
+ id: "flux-fill",
570
+ kind: "image",
571
+ modes: ["edit"],
572
+ family: "Black Forest Labs",
573
+ maker: "black-forest-labs",
574
+ label: "FLUX Fill Pro",
575
+ series: "Flux",
576
+ description: "Masked inpainting from BFL via Replicate: repaints the mask's white area; the result keeps the image's size.",
577
+ useCases: ["edit", "inpaint"],
578
+ features: ["mask"],
579
+ pricing: [{ identifier: "flux-fill", credits: 30 }]
580
+ },
581
+ // A trained character's model (decided 2026-11-12): FLUX.1 [dev] with the
582
+ // character's own LoRA, which a Generate Image run switches to when the one
583
+ // character it names has a succeeded trained model. Never picked
584
+ // (`pickerHidden`): listed here so a deployment's restriction can name it.
585
+ // Where a deployment withholds it, a run does not switch and uses the
586
+ // character's reference pictures, as for a character with no trained model.
587
+ // Its levers are not listed: nothing snaps a request against this entry.
588
+ "flux-lora-character": {
589
+ id: "flux-lora-character",
590
+ kind: "image",
591
+ modes: ["t2i"],
592
+ family: "Black Forest Labs",
593
+ maker: "black-forest-labs",
594
+ label: "Trained character (FLUX LoRA)",
595
+ series: "Flux",
596
+ description: "A trained character's own model (FLUX.1 [dev] with its LoRA), run when a prompt names that one character.",
597
+ useCases: ["character"],
598
+ pricing: [{ identifier: "flux-lora-character", credits: 20 }],
599
+ pickerHidden: true
600
+ },
480
601
  // ── OpenAI (GPT Image) ──
481
602
  "gpt-image": {
482
603
  id: "gpt-image",
@@ -1206,6 +1327,120 @@ var IMAGE_MODELS = {
1206
1327
  resolutions: ["1K", "2K"],
1207
1328
  pricing: [{ identifier: "seedream-5-flash-i2i", credits: 10, note: "1K / 2K flat" }]
1208
1329
  },
1330
+ // Seedream 5.5 — a different model from Seedream 5 Lite, Pro and Flash, priced
1331
+ // by its size (1K and 1.5K the same, 2K dearer) and, on an edit, by each input
1332
+ // image (the rows are `ee/billing/seedream-5-5-pricing.ts`).
1333
+ // See: docs.kie.ai/market/seedream/5-5-text-to-image.md
1334
+ // docs.kie.ai/market/seedream/5-5-image-to-image.md
1335
+ "seedream-5-5": {
1336
+ id: "seedream-5-5",
1337
+ kind: "image",
1338
+ modes: ["t2i"],
1339
+ family: "Bytedance",
1340
+ maker: "bytedance",
1341
+ label: "Seedream 5.5",
1342
+ series: "Seedream",
1343
+ 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.",
1344
+ useCases: ["realistic", "typography", "product", "transparent"],
1345
+ features: ["reference-image"],
1346
+ aspectRatios: SEEDREAM_RATIOS,
1347
+ strictAspectRatios: true,
1348
+ resolutions: SEEDREAM_5_5_RESOLUTIONS,
1349
+ defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
1350
+ backgrounds: SEEDREAM_5_5_BACKGROUNDS,
1351
+ outputFormats: SEEDREAM_5_5_FORMATS,
1352
+ pricing: [
1353
+ { identifier: "seedream-5-5", credits: 16, note: "2K default" },
1354
+ { identifier: "seedream-5-5:1K", credits: 9, note: "1K" },
1355
+ { identifier: "seedream-5-5:1.5K", credits: 9, note: "1.5K, the same as 1K" },
1356
+ { identifier: "seedream-5-5:2K", credits: 16, note: "2K" }
1357
+ ]
1358
+ },
1359
+ "seedream-5-5-i2i": {
1360
+ id: "seedream-5-5-i2i",
1361
+ kind: "image",
1362
+ modes: ["i2i"],
1363
+ family: "Bytedance",
1364
+ maker: "bytedance",
1365
+ label: "Seedream 5.5 (I2I)",
1366
+ series: "Seedream",
1367
+ 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).",
1368
+ useCases: ["edit", "iteration", "transparent"],
1369
+ features: ["reference-image"],
1370
+ aspectRatios: SEEDREAM_5_5_I2I_RATIOS,
1371
+ strictAspectRatios: true,
1372
+ resolutions: SEEDREAM_5_5_RESOLUTIONS,
1373
+ defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
1374
+ backgrounds: SEEDREAM_5_5_BACKGROUNDS,
1375
+ outputFormats: SEEDREAM_5_5_FORMATS,
1376
+ pricing: [
1377
+ { identifier: "seedream-5-5-i2i", credits: 20, note: "2K, one input image (the default)" },
1378
+ { identifier: "seedream-5-5-i2i:1K:1ref", credits: 13, note: "1K, one input image (the least)" },
1379
+ { identifier: "seedream-5-5-i2i:1.5K:1ref", credits: 13, note: "1.5K, one input image" },
1380
+ { identifier: "seedream-5-5-i2i:2K:1ref", credits: 20, note: "2K, one input image" },
1381
+ { identifier: "seedream-5-5-i2i:1K:10ref", credits: 45, note: "1K, ten input images" },
1382
+ { identifier: "seedream-5-5-i2i:2K:10ref", credits: 52, note: "2K, ten input images (the most)" }
1383
+ ]
1384
+ },
1385
+ // ── MiniMax H3 Image ──
1386
+ // MiniMax's H3 image model (KIE `minimax-h3/text-to-image` and
1387
+ // `minimax-h3/image-edit`). Not the H3 video model `minimax-h3`. A prompt
1388
+ // runs the text-to-image id; with reference images the run moves to the
1389
+ // edit id (`T2I_TO_I2I_VARIANT`). Priced by size, 1K and 2K the same, and an
1390
+ // edit by its reference images (`minimaxH3ImageCreditId`). "auto" is listed
1391
+ // LAST so a fallback that takes the first ratio lands on a real one: from a
1392
+ // prompt KIE's rewriter picks the ratio, in an edit it follows the first
1393
+ // reference image. KIE's prompt expansion is left on and its custom
1394
+ // width/height is not offered.
1395
+ // See: docs.kie.ai/market/minimax-h3/text-to-image.md
1396
+ // docs.kie.ai/market/minimax-h3/image-edit.md
1397
+ "minimax-h3-image": {
1398
+ id: "minimax-h3-image",
1399
+ kind: "image",
1400
+ modes: ["t2i"],
1401
+ family: "MiniMax",
1402
+ maker: "minimax",
1403
+ label: "MiniMax H3 Image",
1404
+ series: "MiniMax Image",
1405
+ 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.",
1406
+ useCases: ["typography", "high-res", "general"],
1407
+ features: ["reference-image"],
1408
+ aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
1409
+ resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
1410
+ defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
1411
+ outputFormats: ["png", "jpeg"],
1412
+ pricing: [
1413
+ { identifier: "minimax-h3-image", credits: 5, note: "2K default" },
1414
+ { identifier: "minimax-h3-image:1K", credits: 5, note: "1K" },
1415
+ { identifier: "minimax-h3-image:2K", credits: 5, note: "2K" },
1416
+ { identifier: "minimax-h3-image:4K", credits: 14, note: "4K" }
1417
+ ]
1418
+ },
1419
+ "minimax-h3-image-i2i": {
1420
+ id: "minimax-h3-image-i2i",
1421
+ kind: "image",
1422
+ modes: ["i2i"],
1423
+ family: "MiniMax",
1424
+ maker: "minimax",
1425
+ label: "MiniMax H3 Image (I2I)",
1426
+ series: "MiniMax Image",
1427
+ 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.",
1428
+ useCases: ["edit", "typography", "multi-reference"],
1429
+ features: ["reference-image"],
1430
+ aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
1431
+ resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
1432
+ defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
1433
+ outputFormats: ["png", "jpeg"],
1434
+ pricing: [
1435
+ { identifier: "minimax-h3-image-i2i", credits: 6, note: "2K, one reference image" },
1436
+ { identifier: "minimax-h3-image-i2i:1K:1ref", credits: 6, note: "1K, one reference image (the least)" },
1437
+ { identifier: "minimax-h3-image-i2i:2K:1ref", credits: 6, note: "2K, one reference image" },
1438
+ { identifier: "minimax-h3-image-i2i:2K:4ref", credits: 10, note: "2K, four reference images" },
1439
+ { identifier: "minimax-h3-image-i2i:4K:1ref", credits: 15, note: "4K, one reference image" },
1440
+ { identifier: "minimax-h3-image-i2i:2K:16ref", credits: 25, note: "2K, sixteen reference images" },
1441
+ { identifier: "minimax-h3-image-i2i:4K:16ref", credits: 34, note: "4K, sixteen reference images (the most)" }
1442
+ ]
1443
+ },
1209
1444
  // ── Alibaba Qwen ──
1210
1445
  "qwen": {
1211
1446
  id: "qwen",
@@ -1405,6 +1640,28 @@ var IMAGE_MODELS = {
1405
1640
  { identifier: "topaz-image-upscale", credits: 25, note: "1x / 2x" },
1406
1641
  { identifier: "topaz-image-upscale:4K", credits: 50, note: "4x (legacy identifier)" }
1407
1642
  ]
1643
+ },
1644
+ "nodaro-image-upscale": {
1645
+ id: "nodaro-image-upscale",
1646
+ kind: "image",
1647
+ modes: ["upscale"],
1648
+ family: "Nodaro Upscale",
1649
+ ownLabel: true,
1650
+ label: "Nodaro Image Upscale",
1651
+ series: "Nodaro Upscale",
1652
+ 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.",
1653
+ useCases: ["upscale", "high-res", "typography", "utility"],
1654
+ features: ["reference-image"],
1655
+ // No `resolutions`: the one lever is the upscale factor (`NODARO_IMAGE_UPSCALE_FACTORS`).
1656
+ // The price follows the OUTPUT's total pixels (`@nodaro/render-rules`
1657
+ // nodaro-image-upscale-pricing.ts); the bare id is the hold when the image's size
1658
+ // cannot be read before the run, settled to the delivered output's tier.
1659
+ pricing: [
1660
+ { identifier: "nodaro-image-upscale:2K", credits: 4, note: "output up to 4,194,304 pixels (2048 \xD7 2048)" },
1661
+ { identifier: "nodaro-image-upscale:4K", credits: 10, note: "output up to 16,777,216 pixels (4096 \xD7 4096)" },
1662
+ { identifier: "nodaro-image-upscale:8K", credits: 30, note: "output up to 67,108,864 pixels (8192 \xD7 8192)" },
1663
+ { 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" }
1664
+ ]
1408
1665
  }
1409
1666
  };
1410
1667
  var VIDEO_MODELS = {
@@ -1870,6 +2127,50 @@ var VIDEO_MODELS = {
1870
2127
  { identifier: "kling-4-keyframes:30s:1080p", credits: 3190, note: "30s 1080p (max)" }
1871
2128
  ]
1872
2129
  },
2130
+ // Kling 4.0 Flash — ONE id over KIE's two Flash endpoints, picked by what is
2131
+ // wired (backend kie/kling4.ts): a start frame alone runs on
2132
+ // docs.kie.ai/market/kling/v4-flash-keyframe-to-video, where it is the exact
2133
+ // opening frame; everything else (text, reference images, videos,
2134
+ // characters, or a start frame beside any of them) runs on
2135
+ // docs.kie.ai/market/kling/v4-flash-reference-to-video, where a start frame
2136
+ // joins the reference images as on kling-4. Reference: up to 10 images, 5
2137
+ // videos (2-20s together) and 7 characters (15 in all). No standalone voices:
2138
+ // audio clip N becomes wired character N's voice when that character has 2-4
2139
+ // images (otherwise the clip is dropped). No end
2140
+ // frame, no 1080p, no seed. 3-20s, 720p, native audio always on. Per-second
2141
+ // billing; a reference-video run bills its input seconds too.
2142
+ "kling-4-flash": {
2143
+ id: "kling-4-flash",
2144
+ kind: "video",
2145
+ modes: ["i2v", "t2v"],
2146
+ family: "Kuaishou",
2147
+ maker: "kuaishou",
2148
+ label: "Kling 4.0 Flash",
2149
+ series: "Kling",
2150
+ 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.",
2151
+ useCases: ["fast", "cheap", "narrative", "reference"],
2152
+ // No `voices` array on Flash: a reference audio clip is a character's voice
2153
+ // (`voice-references` names that input "Voice Refs"). No `audio-soundtrack`
2154
+ // (the clips are voices, never a soundtrack), no `end-frame`, no
2155
+ // `video-reference` (the generate-video-pro extend chain is unwired, as on
2156
+ // kling-4).
2157
+ features: ["audio", "reference-image", "reference-to-video", "character-subjects", "voice-references"],
2158
+ aspectRatios: VIDEO_RATIOS_KLING_4,
2159
+ durations: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
2160
+ defaultDuration: 5,
2161
+ resolutions: ["720p"],
2162
+ unlistedResolutionRendersAs: "720p",
2163
+ noSeed: true,
2164
+ // neither Flash schema has a `seed` (additionalProperties: false)
2165
+ pricing: [
2166
+ { identifier: "kling-4-flash", credits: 220, note: "default 5s 720p \u2014 see :Ns:720p variants for exact" },
2167
+ { identifier: "kling-4-flash:5s:720p", credits: 220, note: "5s 720p (the default tier)" },
2168
+ { identifier: "kling-4-flash:3s:720p", credits: 130, note: "3s 720p (min)" },
2169
+ { identifier: "kling-4-flash:10s:720p", credits: 430, note: "10s 720p" },
2170
+ { identifier: "kling-4-flash:20s:720p", credits: 850, note: "20s 720p (max)" },
2171
+ { 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" }
2172
+ ]
2173
+ },
1873
2174
  // ── xAI Grok video ──
1874
2175
  "grok-i2v": {
1875
2176
  id: "grok-i2v",
@@ -1893,35 +2194,50 @@ var VIDEO_MODELS = {
1893
2194
  { identifier: "grok-i2v:15s", credits: 100 }
1894
2195
  ]
1895
2196
  },
1896
- // xAI Grok Imagine Video 1.5 — KIE image-to-video (image required). True
1897
- // per-second billing split 480p/720p. modes:["i2v"] is the honest capability;
1898
- // it's also surfaced in the text-to-video dropdown for the unified node, where
1899
- // the t2v route returns a clean "requires an input image" 400.
2197
+ // xAI Grok Imagine Video 1.5 — KIE image-to-video
2198
+ // (docs.kie.ai/market/grok-imagine/1-5-preview), built by the backend's
2199
+ // bespoke runner (kie/grok-video-15.ts). The start frame is the exact first
2200
+ // frame and an end frame the exact last frame; one picture wired as both is a
2201
+ // seamless loop (KIE `loop_url`). The Image References are up to 4
2202
+ // in-between frames (KIE `keyframes`), spread evenly over the clip at whole
2203
+ // seconds — frames only, never loose references, so `keyframes` is declared
2204
+ // (it also keeps the model out of generate-video-pro, whose segments would
2205
+ // send cast references as frames). modes:["i2v"] and no `reference-to-video`:
2206
+ // every run needs its start image, in-between frames included. It is also
2207
+ // surfaced in the text-to-video dropdown for the unified node, where the t2v
2208
+ // route returns a clean "requires an input image" 400. Per-second billing by
2209
+ // resolution, with no per-image part.
1900
2210
  "grok-imagine-video-1.5": {
1901
2211
  id: "grok-imagine-video-1.5",
1902
2212
  kind: "video",
1903
2213
  modes: ["i2v"],
1904
- // No `reference-image` (locked by video-reference-features.test.ts, 2026-06-28
1905
- // audit): KIE's grok-imagine endpoint accepts a single image_url (the i2v
1906
- // start frame) only — there is no reference transport, so advertising the
1907
- // feature let the editor attach refs that were silently dropped at the
1908
- // provider. Also kept OUT of VIDEO_REF_LIMITS_BY_PROVIDER for the same reason.
2214
+ features: ["end-frame", "reference-image", "keyframes"],
1909
2215
  family: "xAI",
1910
2216
  maker: "xai",
1911
2217
  label: "Grok Imagine Video 1.5",
1912
2218
  series: "Grok",
1913
- description: "Grok Imagine 1.5 image-to-video \u2014 1\u201315s, 480p/720p, per-second pricing. Requires an input image.",
2219
+ 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.",
1914
2220
  useCases: ["stylized", "motion"],
1915
2221
  aspectRatios: ["16:9", "9:16", "1:1", "4:3", "3:4"],
1916
2222
  durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
1917
2223
  defaultDuration: 8,
1918
- resolutions: ["480p", "720p"],
2224
+ resolutions: ["480p", "720p", "1080p"],
2225
+ // normalizeGrokVideo15Resolution sends 480p for anything off the list.
2226
+ unlistedResolutionRendersAs: "480p",
2227
+ // KIE refuses 1080p beside anything but a lone start frame ("1080p is only
2228
+ // supported for text-to-video or a single image used as the first frame",
2229
+ // a staging run 2026-11-12): no end frame, loop or in-between frames.
2230
+ startFrameOnlyResolutions: ["1080p"],
2231
+ noSeed: true,
2232
+ // the KIE schema has no `seed` (additionalProperties: false)
1919
2233
  pricing: [
1920
- { identifier: "grok-imagine-video-1.5", credits: 295, note: "default 8s 480p \u2014 see :Ns:res variants" },
1921
- { identifier: "grok-imagine-video-1.5:8s:480p", credits: 300, note: "8s 480p" },
1922
- { identifier: "grok-imagine-video-1.5:8s:720p", credits: 510, note: "8s 720p" },
1923
- { identifier: "grok-imagine-video-1.5:15s:480p", credits: 550, note: "15s 480p (max)" },
1924
- { identifier: "grok-imagine-video-1.5:15s:720p", credits: 950, note: "15s 720p (max)" }
2234
+ { identifier: "grok-imagine-video-1.5", credits: 50, note: "default 8s 480p \u2014 see :Ns:res variants" },
2235
+ { identifier: "grok-imagine-video-1.5:8s:480p", credits: 50, note: "8s 480p" },
2236
+ { identifier: "grok-imagine-video-1.5:8s:720p", credits: 90, note: "8s 720p" },
2237
+ { identifier: "grok-imagine-video-1.5:8s:1080p", credits: 160, note: "8s 1080p" },
2238
+ { identifier: "grok-imagine-video-1.5:15s:480p", credits: 90, note: "15s 480p (max)" },
2239
+ { identifier: "grok-imagine-video-1.5:15s:720p", credits: 170, note: "15s 720p (max)" },
2240
+ { identifier: "grok-imagine-video-1.5:15s:1080p", credits: 300, note: "15s 1080p (max)" }
1925
2241
  ]
1926
2242
  },
1927
2243
  // ── Bytedance Seedance ──
@@ -2028,6 +2344,7 @@ var VIDEO_MODELS = {
2028
2344
  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],
2029
2345
  defaultDuration: 8,
2030
2346
  autoDuration: true,
2347
+ referenceTaskTypes: ["reference", "edit", "extend"],
2031
2348
  resolutions: ["480p", "720p", "1080p"],
2032
2349
  // KIE refuses a seed on Seedance 2.5 (422) — the provider config omits it.
2033
2350
  noSeed: true,
@@ -2463,6 +2780,49 @@ var VIDEO_MODELS = {
2463
2780
  { identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" }
2464
2781
  ]
2465
2782
  },
2783
+ // ── PixVerse ──
2784
+ // PixVerse V6 Max — ONE id over two KIE endpoints, picked by what is wired
2785
+ // (backend kie/pixverse-v6-max.ts): a start frame runs on
2786
+ // docs.kie.ai/market/pixverse/v6-max-image-to-video, where it is the exact
2787
+ // first frame and the output takes its shape (no aspect ratio is sent); no
2788
+ // image runs on docs.kie.ai/market/pixverse/v6-max-text-to-video, with one of
2789
+ // eight aspect ratios. No end frame, no reference images, videos or audio.
2790
+ // 1-15s, 360p-1080p (`quality` on the wire). Native audio behind the
2791
+ // `generate_audio_switch` lever: the price depends on it, so it bills on the
2792
+ // `:audio` rows (AUDIO_ADDON_PROVIDERS), and a request that names no audio
2793
+ // setting renders and bills audio ON (decided 2026-11-11). `resolutions` is
2794
+ // ascending (repo convention); the default tier (720p) is declared, never
2795
+ // carried by array position — 360p is the cheapest preview tier.
2796
+ "pixverse-v6-max": {
2797
+ id: "pixverse-v6-max",
2798
+ kind: "video",
2799
+ modes: ["i2v", "t2v"],
2800
+ family: "PixVerse",
2801
+ maker: "pixverse",
2802
+ label: "PixVerse V6 Max",
2803
+ series: "PixVerse",
2804
+ 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.",
2805
+ useCases: ["cinematic", "narrative", "typography", "motion"],
2806
+ features: ["audio"],
2807
+ aspectRatios: VIDEO_RATIOS_PIXVERSE_V6_MAX,
2808
+ durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
2809
+ defaultDuration: 5,
2810
+ resolutions: ["360p", "540p", "720p", "1080p"],
2811
+ defaultResolution: "720p",
2812
+ // normalizePixverseV6MaxQuality sends 720p for anything off the list.
2813
+ unlistedResolutionRendersAs: "720p",
2814
+ // Generate Video Pro runs it from a start anchor or text (decided 2026-11-12).
2815
+ gvpWithoutReferences: true,
2816
+ pricing: [
2817
+ { identifier: "pixverse-v6-max", credits: 150, note: "default 5s 720p with audio \u2014 see :Ns:res and :Ns:res:audio variants for exact" },
2818
+ { identifier: "pixverse-v6-max:5s:720p:audio", credits: 150, note: "5s 720p with audio (the default tier)" },
2819
+ { identifier: "pixverse-v6-max:5s:720p", credits: 110, note: "5s 720p, no audio" },
2820
+ { identifier: "pixverse-v6-max:5s:360p", credits: 60, note: "5s 360p, no audio" },
2821
+ { identifier: "pixverse-v6-max:5s:1080p:audio", credits: 280, note: "5s 1080p with audio" },
2822
+ { identifier: "pixverse-v6-max:1s:360p", credits: 20, note: "1s 360p, no audio (min)" },
2823
+ { identifier: "pixverse-v6-max:15s:1080p:audio", credits: 840, note: "15s 1080p with audio (max)" }
2824
+ ]
2825
+ },
2466
2826
  // ── Bytedance video lite/pro ──
2467
2827
  "bytedance-lite": {
2468
2828
  id: "bytedance-lite",
@@ -2585,24 +2945,68 @@ var VIDEO_MODELS = {
2585
2945
  useCases: ["extend"],
2586
2946
  pricing: [{ identifier: "runway-extend", credits: 320 }]
2587
2947
  },
2588
- "seedance-2-extend": {
2589
- id: "seedance-2-extend",
2948
+ // Seedance extends ANY video, one provider per model. Each is priced on its
2949
+ // own rows (`tailExtendCreditId`), one per second added and resolution.
2950
+ // The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
2951
+ "seedance-2-5-extend": {
2952
+ id: "seedance-2-5-extend",
2590
2953
  kind: "video",
2591
2954
  modes: ["extend"],
2592
2955
  family: "Bytedance",
2593
2956
  maker: "bytedance",
2594
- label: "Seedance 2 Extend",
2957
+ label: "Seedance 2.5 Extend",
2595
2958
  series: "Seedance",
2596
- description: "Extend ANY video: generates the continuation (audio included) and trim-stitches it into one seamless clip.",
2959
+ description: "Extend ANY video with Seedance 2.5: 4\u201330s continuation (audio included), stitched into one seamless clip.",
2960
+ useCases: ["extend"],
2961
+ 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],
2962
+ defaultDuration: 8,
2963
+ resolutions: ["480p", "720p", "1080p"],
2964
+ pricing: [
2965
+ { identifier: "seedance-2-5-extend:8s:720p", credits: 950, note: "default 8s 720p \u2014 see :Ns:res variants for exact" },
2966
+ { identifier: "seedance-2-5-extend:8s:480p", credits: 425, note: "8s 480p" },
2967
+ { identifier: "seedance-2-5-extend:8s:1080p", credits: 2375, note: "8s 1080p" }
2968
+ ]
2969
+ },
2970
+ "seedance-2-0-extend": {
2971
+ id: "seedance-2-0-extend",
2972
+ kind: "video",
2973
+ modes: ["extend"],
2974
+ family: "Bytedance",
2975
+ maker: "bytedance",
2976
+ label: "Seedance 2.0 Extend",
2977
+ series: "Seedance",
2978
+ description: "Extend ANY video with Seedance 2.0: 4\u201315s continuation (audio included), stitched into one seamless clip.",
2597
2979
  useCases: ["extend"],
2598
2980
  durations: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
2599
2981
  defaultDuration: 8,
2600
2982
  resolutions: ["480p", "720p", "1080p"],
2601
2983
  pricing: [
2602
- { identifier: "seedance-2-extend", credits: 530, note: "default 8s 720p (ref-mode 50 + 3 stitch) \u2014 see :NsR variants" },
2603
- { identifier: "seedance-2-extend:8s:480p", credits: 260, note: "8s 480p (23+3)" },
2604
- { identifier: "seedance-2-extend:8s:720p", credits: 530, note: "8s 720p (50+3)" },
2605
- { identifier: "seedance-2-extend:8s:1080p", credits: 780, note: "8s 1080p (75+3)" }
2984
+ { identifier: "seedance-2-0-extend:8s:720p", credits: 625, note: "default 8s 720p \u2014 see :Ns:res variants for exact" },
2985
+ { identifier: "seedance-2-0-extend:8s:480p", credits: 288, note: "8s 480p" },
2986
+ { identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" }
2987
+ ]
2988
+ },
2989
+ // Kling 4 extends ANY video with the same tail recipe, generated on Kling
2990
+ // 4.0 (`kling-4`, reference-to-video): its own entry, so a deployment can
2991
+ // withhold or release it apart from Kling 4.0 generation, and its own rows
2992
+ // (`tailExtendCreditId`), one per second added and resolution. Its sound is
2993
+ // always on (Kling 4.0 has no switch).
2994
+ "kling-4-extend": {
2995
+ id: "kling-4-extend",
2996
+ kind: "video",
2997
+ modes: ["extend"],
2998
+ family: "Kuaishou",
2999
+ maker: "kuaishou",
3000
+ label: "Kling 4 Extend",
3001
+ series: "Kling",
3002
+ description: "Extend ANY video with Kling 4: 3\u201330s continuation (audio included), stitched into one seamless clip.",
3003
+ useCases: ["extend"],
3004
+ 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],
3005
+ defaultDuration: 5,
3006
+ resolutions: ["720p", "1080p"],
3007
+ pricing: [
3008
+ { identifier: "kling-4-extend:5s:720p", credits: 425, note: "default 5s 720p \u2014 see :Ns:res variants for exact" },
3009
+ { identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" }
2606
3010
  ]
2607
3011
  },
2608
3012
  "veo-1080p": {
@@ -2665,6 +3069,32 @@ var VIDEO_MODELS = {
2665
3069
  // Topaz units the provider reports, never above the hold.
2666
3070
  pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }]
2667
3071
  },
3072
+ // Nodaro Video Upscale (decided 2026-11-11): offered under the deployment's
3073
+ // own label, so it names no maker, and only where the deployment serves it
3074
+ // (the backend's house-model seam). Priced per second of the clip
3075
+ // (the clip's length rounded up to a whole second): each tier's row is the
3076
+ // price of FOUR seconds, so a per-second rate that is not a whole credit
3077
+ // still fits a whole-credit row, and a run is charged row × seconds ÷ 4,
3078
+ // rounded up once (`@nodaro/render-rules` nodaro-video-upscale-pricing.ts).
3079
+ "nodaro-video-upscale": {
3080
+ id: "nodaro-video-upscale",
3081
+ kind: "video",
3082
+ modes: ["video-upscale"],
3083
+ family: "Nodaro Upscale",
3084
+ ownLabel: true,
3085
+ label: "Nodaro Video Upscale",
3086
+ series: "Nodaro Upscale",
3087
+ 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.",
3088
+ useCases: ["upscale", "high-res"],
3089
+ // An output box (1920×1080, 2560×1440, 3840×2160; turned for a portrait clip).
3090
+ resolutions: ["1080p", "2k", "4k"],
3091
+ defaultResolution: "1080p",
3092
+ pricing: [
3093
+ { identifier: "nodaro-video-upscale:1080p:per-4s", credits: 15, note: "per 4 seconds of the clip at 1080p; charged per whole second" },
3094
+ { identifier: "nodaro-video-upscale:2k:per-4s", credits: 30, note: "per 4 seconds of the clip at 2K; charged per whole second" },
3095
+ { identifier: "nodaro-video-upscale:4k:per-4s", credits: 60, note: "per 4 seconds of the clip at 4K; charged per whole second" }
3096
+ ]
3097
+ },
2668
3098
  // ── Motion transfer ──
2669
3099
  "motion-transfer": {
2670
3100
  id: "motion-transfer",
@@ -2706,6 +3136,50 @@ var VIDEO_MODELS = {
2706
3136
  { identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
2707
3137
  ]
2708
3138
  },
3139
+ // Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
3140
+ // restriction can name them. Before, `models.allow` could not withhold them
3141
+ // while the Motion Transfer node and /v1/motion-transfer kept running them
3142
+ // beside the Kling models. The sizes are the three each runs at and is priced
3143
+ // on today (one flat row per size, any clip length); a size it does not have
3144
+ // (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
3145
+ // size `normalizeModelInput` moves it to (`motionTransferResolution`), and
3146
+ // the size a request naming none has always run at.
3147
+ "wan-animate-move": {
3148
+ id: "wan-animate-move",
3149
+ kind: "video",
3150
+ modes: ["motion-transfer"],
3151
+ family: "Alibaba",
3152
+ maker: "alibaba",
3153
+ label: "Wan Animate Move",
3154
+ series: "Wan",
3155
+ description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
3156
+ useCases: ["motion-transfer", "cheap"],
3157
+ resolutions: ["480p", "580p", "720p"],
3158
+ defaultResolution: "720p",
3159
+ pricing: [
3160
+ { identifier: "wan-animate-move", credits: 255, note: "480p" },
3161
+ { identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
3162
+ { identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
3163
+ ]
3164
+ },
3165
+ "wan-animate-replace": {
3166
+ id: "wan-animate-replace",
3167
+ kind: "video",
3168
+ modes: ["motion-transfer"],
3169
+ family: "Alibaba",
3170
+ maker: "alibaba",
3171
+ label: "Wan Animate Replace",
3172
+ series: "Wan",
3173
+ description: "Wan 2.2 Animate: replaces the person in a driving video with the subject of a still image, keeping the motion.",
3174
+ useCases: ["motion-transfer", "character-swap"],
3175
+ resolutions: ["480p", "580p", "720p"],
3176
+ defaultResolution: "720p",
3177
+ pricing: [
3178
+ { identifier: "wan-animate-replace", credits: 255, note: "480p" },
3179
+ { identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
3180
+ { identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
3181
+ ]
3182
+ },
2709
3183
  // ── Lip sync / talking-head ──
2710
3184
  "kling-avatar": {
2711
3185
  id: "kling-avatar",
@@ -2766,6 +3240,25 @@ var VIDEO_MODELS = {
2766
3240
  { identifier: "omnihuman-1-5:60s", credits: 4050 }
2767
3241
  ]
2768
3242
  },
3243
+ // A different model from 1.5, offered beside it (decided 2026-11-11): one
3244
+ // image, 4 to 300 seconds of audio, 720p output, an optional prompt. It has
3245
+ // none of 1.5's levers — no speaker mask, no resolution, no fast mode, no
3246
+ // seed — so it declares no `resolutions` (`normalizeModelInput` drops one).
3247
+ // Charged per second of its audio at one rate (LIP_SYNC_AUDIO_RATES).
3248
+ "omnihuman-2-0": {
3249
+ id: "omnihuman-2-0",
3250
+ kind: "video",
3251
+ modes: ["lip-sync"],
3252
+ family: "Bytedance",
3253
+ maker: "bytedance",
3254
+ label: "OmniHuman 2.0",
3255
+ series: "OmniHuman",
3256
+ 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.",
3257
+ useCases: ["lip-sync", "talking-head", "long-form"],
3258
+ pricing: [
3259
+ { identifier: "omnihuman-2-0:per-second", credits: 35, note: "per second of audio, rounded up; at least 4 seconds" }
3260
+ ]
3261
+ },
2769
3262
  "hailuo-avatar": {
2770
3263
  id: "hailuo-avatar",
2771
3264
  kind: "video",
@@ -3360,6 +3853,23 @@ var AUDIO_MODELS = {
3360
3853
  useCases: ["transcription", "stt"],
3361
3854
  pricing: [{ identifier: "whisper", credits: 40 }]
3362
3855
  },
3856
+ // NVIDIA's speech-to-text on KIE, priced per started minute of the file. Its
3857
+ // per-minute base fits no whole-credit row, so the row prices FOUR
3858
+ // minutes and a run is charged row × minutes ÷ 4, rounded up once
3859
+ // (`@nodaro/shared` credit-estimators/nemotron-transcribe.ts).
3860
+ "nemotron-3-5-transcribe": {
3861
+ id: "nemotron-3-5-transcribe",
3862
+ kind: "audio",
3863
+ modes: ["stt"],
3864
+ family: "NVIDIA",
3865
+ maker: "nvidia",
3866
+ label: "Nemotron 3.5 Transcribe",
3867
+ series: "Nemotron",
3868
+ 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.",
3869
+ useCases: ["transcription", "stt", "captions", "translation"],
3870
+ features: ["word-timestamps", "diarization", "translation"],
3871
+ 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" }]
3872
+ },
3363
3873
  "elevenlabs-isolation": {
3364
3874
  id: "elevenlabs-isolation",
3365
3875
  kind: "audio",
@@ -3516,7 +4026,7 @@ var MODEL_CATALOG = {
3516
4026
  ...AUDIO_MODELS
3517
4027
  };
3518
4028
  function listModels(filter) {
3519
- const all = Object.values(MODEL_CATALOG);
4029
+ const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true);
3520
4030
  if (!filter) return all;
3521
4031
  return all.filter((m) => {
3522
4032
  if (filter.kind && m.kind !== filter.kind) return false;
@@ -3679,6 +4189,13 @@ function resolutionNearestSource(modelId, aspectRatio, source) {
3679
4189
  function isAutoAspectToken(value) {
3680
4190
  return typeof value === "string" && value.trim().toLowerCase() === "auto";
3681
4191
  }
4192
+ function isVideoAutoAspectToken(value) {
4193
+ return value === "Auto" || value === "auto";
4194
+ }
4195
+ function videoAutoAspectRunsAt(modelId, hasVisualInput) {
4196
+ if (!hasVisualInput || !modelId) return void 0;
4197
+ return MODEL_CATALOG[modelId]?.aspectRatios?.includes("adaptive") ? "adaptive" : void 0;
4198
+ }
3682
4199
  function usableSize(size) {
3683
4200
  return size !== void 0 && Number.isFinite(size.width) && size.width > 0 && Number.isFinite(size.height) && size.height > 0;
3684
4201
  }
@@ -4078,6 +4595,8 @@ var MODEL_VALUE_LABELS = {
4078
4595
  "adaptive": "Adaptive",
4079
4596
  // image resolutions
4080
4597
  "1K": "1K (Standard)",
4598
+ // Only Seedream 5.5 lists it.
4599
+ "1.5K": "1.5K (Medium)",
4081
4600
  "2K": "2K (High)",
4082
4601
  "4K": "4K (Ultra)",
4083
4602
  "4k": "4K",
@@ -4239,7 +4758,7 @@ function creditRangesAll() {
4239
4758
  }
4240
4759
  function modelIdsByKindMode(kind, modes, opts = {}) {
4241
4760
  const includeHidden = opts.includeHidden === true;
4242
- 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();
4761
+ 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();
4243
4762
  if (ids.length === 0) {
4244
4763
  throw new Error(
4245
4764
  `modelIdsByKindMode: no models match kind=${kind ?? "*"} modes=[${modes.join(",")}]`
@@ -4248,11 +4767,17 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
4248
4767
  return ids;
4249
4768
  }
4250
4769
 
4770
+ exports.CONTAINER_OVERHANG_SEC = CONTAINER_OVERHANG_SEC;
4251
4771
  exports.FLUX2_RES_MP = FLUX2_RES_MP;
4252
4772
  exports.IMAGE_GIF_FRAME_SIZE = IMAGE_GIF_FRAME_SIZE;
4253
4773
  exports.IMAGE_OUTPUT_FORMAT_LABELS = IMAGE_OUTPUT_FORMAT_LABELS;
4254
4774
  exports.IMAGE_SVG_LEVEL_LABELS = IMAGE_SVG_LEVEL_LABELS;
4255
4775
  exports.MASKLESS_OUTPUT_FORMATS = MASKLESS_OUTPUT_FORMATS;
4776
+ exports.MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION = MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION;
4777
+ exports.MINIMAX_H3_IMAGE_I2I = MINIMAX_H3_IMAGE_I2I;
4778
+ exports.MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES = MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES;
4779
+ exports.MINIMAX_H3_IMAGE_RESOLUTIONS = MINIMAX_H3_IMAGE_RESOLUTIONS;
4780
+ exports.MINIMAX_H3_IMAGE_T2I = MINIMAX_H3_IMAGE_T2I;
4256
4781
  exports.MODEL_CATALOG = MODEL_CATALOG;
4257
4782
  exports.MODEL_INPUT_ADJUSTMENT_FIELDS = MODEL_INPUT_ADJUSTMENT_FIELDS;
4258
4783
  exports.MODEL_KINDS = MODEL_KINDS;
@@ -4264,6 +4789,12 @@ exports.SEEDANCE_DRAFT_FINALIZE_PROVIDER = SEEDANCE_DRAFT_FINALIZE_PROVIDER;
4264
4789
  exports.SEEDANCE_DRAFT_FINALIZE_RESOLUTION = SEEDANCE_DRAFT_FINALIZE_RESOLUTION;
4265
4790
  exports.SEEDANCE_DRAFT_MODELS = SEEDANCE_DRAFT_MODELS;
4266
4791
  exports.SEEDANCE_DRAFT_RESOLUTION = SEEDANCE_DRAFT_RESOLUTION;
4792
+ exports.SEEDREAM_5_5_DEFAULT_RESOLUTION = SEEDREAM_5_5_DEFAULT_RESOLUTION;
4793
+ exports.SEEDREAM_5_5_I2I = SEEDREAM_5_5_I2I;
4794
+ exports.SEEDREAM_5_5_MAX_INPUT_IMAGES = SEEDREAM_5_5_MAX_INPUT_IMAGES;
4795
+ exports.SEEDREAM_5_5_MIN_PROMPT_CHARS = SEEDREAM_5_5_MIN_PROMPT_CHARS;
4796
+ exports.SEEDREAM_5_5_RESOLUTIONS = SEEDREAM_5_5_RESOLUTIONS;
4797
+ exports.SEEDREAM_5_5_T2I = SEEDREAM_5_5_T2I;
4267
4798
  exports.SPEECH_UNIT_PRICE_NOTE = SPEECH_UNIT_PRICE_NOTE;
4268
4799
  exports.TRANSPARENT_OUTPUT_FORMATS = TRANSPARENT_OUTPUT_FORMATS;
4269
4800
  exports.VIDEO_DURATION_AUTO = VIDEO_DURATION_AUTO;
@@ -4274,6 +4805,8 @@ exports.buildModelMenu = buildModelMenu;
4274
4805
  exports.creditRangesAll = creditRangesAll;
4275
4806
  exports.defaultResolutionFor = defaultResolutionFor;
4276
4807
  exports.durationsByMode = durationsByMode;
4808
+ exports.editPlanSourceDurationSec = editPlanSourceDurationSec;
4809
+ exports.extractVideoDurationFromNode = extractVideoDurationFromNode;
4277
4810
  exports.fitAspectRatioToModel = fitAspectRatioToModel;
4278
4811
  exports.getAspectRatioOptions = getAspectRatioOptions;
4279
4812
  exports.getCreditRange = getCreditRange;
@@ -4287,11 +4820,17 @@ exports.hasFeature = hasFeature;
4287
4820
  exports.isAutoAspectToken = isAutoAspectToken;
4288
4821
  exports.isAutoVideoDuration = isAutoVideoDuration;
4289
4822
  exports.isFlux2Model = isFlux2Model;
4823
+ exports.isMinimaxH3Image = isMinimaxH3Image;
4824
+ exports.isMinimaxH3ImageI2i = isMinimaxH3ImageI2i;
4290
4825
  exports.isModelMakerId = isModelMakerId;
4291
4826
  exports.isSeedanceDraftCapable = isSeedanceDraftCapable;
4827
+ exports.isSeedream55 = isSeedream55;
4828
+ exports.isSeedream55I2i = isSeedream55I2i;
4829
+ exports.isVideoAutoAspectToken = isVideoAutoAspectToken;
4292
4830
  exports.listModels = listModels;
4293
4831
  exports.maskEditMatchesSource = maskEditMatchesSource;
4294
4832
  exports.maskedEditResolution = maskedEditResolution;
4833
+ exports.minimaxH3ImageCreditId = minimaxH3ImageCreditId;
4295
4834
  exports.modelIdsByKindMode = modelIdsByKindMode;
4296
4835
  exports.modelMakerOf = modelMakerOf;
4297
4836
  exports.modelTakesSeed = modelTakesSeed;
@@ -4307,8 +4846,10 @@ exports.resolutionOptionsByKind = resolutionOptionsByKind;
4307
4846
  exports.resolutionsAtAspectRatio = resolutionsAtAspectRatio;
4308
4847
  exports.seedanceDraftFinalizeBillableSec = seedanceDraftFinalizeBillableSec;
4309
4848
  exports.seedanceDraftFinalizeCreditId = seedanceDraftFinalizeCreditId;
4849
+ exports.seedream55Resolution = seedream55Resolution;
4310
4850
  exports.sourceImageSizeNeeded = sourceImageSizeNeeded;
4311
4851
  exports.svgLevelOptionsByKind = svgLevelOptionsByKind;
4312
4852
  exports.validateModelInput = validateModelInput;
4313
- //# sourceMappingURL=chunk-F5YEMSNK.cjs.map
4314
- //# sourceMappingURL=chunk-F5YEMSNK.cjs.map
4853
+ exports.videoAutoAspectRunsAt = videoAutoAspectRunsAt;
4854
+ //# sourceMappingURL=chunk-M5OCFGHF.cjs.map
4855
+ //# sourceMappingURL=chunk-M5OCFGHF.cjs.map