@nodaro/shared 3.62.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 (212) hide show
  1. package/dist/{chunk-6CSXMWL4.cjs → chunk-2PU3AGGS.cjs} +27 -4
  2. package/dist/chunk-2PU3AGGS.cjs.map +1 -0
  3. package/dist/{chunk-CC4V2B7S.js → chunk-34QLPTSA.js} +3 -3
  4. package/dist/{chunk-CC4V2B7S.js.map → chunk-34QLPTSA.js.map} +1 -1
  5. package/dist/{chunk-G4U3HW6W.js → chunk-3K24DWOH.js} +3 -3
  6. package/dist/{chunk-G4U3HW6W.js.map → chunk-3K24DWOH.js.map} +1 -1
  7. package/dist/{chunk-GSFB537T.js → chunk-4DVWXEB6.js} +23 -4
  8. package/dist/chunk-4DVWXEB6.js.map +1 -0
  9. package/dist/{chunk-ZES6EZC4.js → chunk-4MMZD63H.js} +3 -3
  10. package/dist/{chunk-ZES6EZC4.js.map → chunk-4MMZD63H.js.map} +1 -1
  11. package/dist/{chunk-N7OUQK7E.cjs → chunk-63H4C56Q.cjs} +8 -8
  12. package/dist/{chunk-N7OUQK7E.cjs.map → chunk-63H4C56Q.cjs.map} +1 -1
  13. package/dist/{chunk-2D5LQFV4.cjs → chunk-6BZC2ZHC.cjs} +9 -9
  14. package/dist/{chunk-2D5LQFV4.cjs.map → chunk-6BZC2ZHC.cjs.map} +1 -1
  15. package/dist/{chunk-3OYO3XCC.js → chunk-6M563QE6.js} +71 -9
  16. package/dist/chunk-6M563QE6.js.map +1 -0
  17. package/dist/{chunk-IDTKF5EX.cjs → chunk-6TGB7ECA.cjs} +7 -7
  18. package/dist/{chunk-IDTKF5EX.cjs.map → chunk-6TGB7ECA.cjs.map} +1 -1
  19. package/dist/{chunk-2HZGDZZN.cjs → chunk-6XUG4L7X.cjs} +6 -6
  20. package/dist/{chunk-2HZGDZZN.cjs.map → chunk-6XUG4L7X.cjs.map} +1 -1
  21. package/dist/{chunk-CIPPPT7E.cjs → chunk-77WU3V3J.cjs} +6 -6
  22. package/dist/{chunk-CIPPPT7E.cjs.map → chunk-77WU3V3J.cjs.map} +1 -1
  23. package/dist/{chunk-C7POAYFE.js → chunk-AE3AAJ4O.js} +3 -3
  24. package/dist/{chunk-C7POAYFE.js.map → chunk-AE3AAJ4O.js.map} +1 -1
  25. package/dist/{chunk-NGKKNSK6.js → chunk-BMJVKYVB.js} +36 -15
  26. package/dist/chunk-BMJVKYVB.js.map +1 -0
  27. package/dist/{chunk-YCXRSWCQ.js → chunk-CZ5IQB3L.js} +3 -3
  28. package/dist/{chunk-YCXRSWCQ.js.map → chunk-CZ5IQB3L.js.map} +1 -1
  29. package/dist/{chunk-E2HZTGYX.js → chunk-EPXGG27L.js} +7 -7
  30. package/dist/chunk-EPXGG27L.js.map +1 -0
  31. package/dist/{chunk-3M4BNKFJ.cjs → chunk-F6WGGYQW.cjs} +167 -3
  32. package/dist/chunk-F6WGGYQW.cjs.map +1 -0
  33. package/dist/{chunk-7FCTCWHD.js → chunk-FXGNRYQQ.js} +3 -3
  34. package/dist/{chunk-7FCTCWHD.js.map → chunk-FXGNRYQQ.js.map} +1 -1
  35. package/dist/{chunk-QWYFHQYK.cjs → chunk-GMBDLNLD.cjs} +86 -62
  36. package/dist/chunk-GMBDLNLD.cjs.map +1 -0
  37. package/dist/{chunk-KJSRPHJ2.cjs → chunk-GSKLPI3J.cjs} +100 -46
  38. package/dist/chunk-GSKLPI3J.cjs.map +1 -0
  39. package/dist/{chunk-S5TMRJMX.js → chunk-HBXF6RUU.js} +4 -4
  40. package/dist/{chunk-S5TMRJMX.js.map → chunk-HBXF6RUU.js.map} +1 -1
  41. package/dist/{chunk-S24ZBUB4.js → chunk-HWQ2SYNA.js} +6 -32
  42. package/dist/chunk-HWQ2SYNA.js.map +1 -0
  43. package/dist/{chunk-JJNNM23P.js → chunk-IY3Y462W.js} +3 -3
  44. package/dist/{chunk-JJNNM23P.js.map → chunk-IY3Y462W.js.map} +1 -1
  45. package/dist/{chunk-JZGZ26YB.js → chunk-KCZHQH2O.js} +4 -4
  46. package/dist/{chunk-JZGZ26YB.js.map → chunk-KCZHQH2O.js.map} +1 -1
  47. package/dist/{chunk-FVII3KHN.js → chunk-KMGCHV6O.js} +163 -4
  48. package/dist/chunk-KMGCHV6O.js.map +1 -0
  49. package/dist/{chunk-4ZEFP2FQ.cjs → chunk-L2TVY6XN.cjs} +4 -4
  50. package/dist/{chunk-4ZEFP2FQ.cjs.map → chunk-L2TVY6XN.cjs.map} +1 -1
  51. package/dist/{chunk-TRVWMKNE.cjs → chunk-LH72PQO2.cjs} +204 -52
  52. package/dist/chunk-LH72PQO2.cjs.map +1 -0
  53. package/dist/{chunk-HRY7KGAE.cjs → chunk-LMAQUR55.cjs} +6 -6
  54. package/dist/{chunk-HRY7KGAE.cjs.map → chunk-LMAQUR55.cjs.map} +1 -1
  55. package/dist/{chunk-MYJQELFN.cjs → chunk-M5OCFGHF.cjs} +254 -7
  56. package/dist/chunk-M5OCFGHF.cjs.map +1 -0
  57. package/dist/{chunk-I2RQB7VG.js → chunk-MD4XHED4.js} +3 -3
  58. package/dist/{chunk-I2RQB7VG.js.map → chunk-MD4XHED4.js.map} +1 -1
  59. package/dist/{chunk-6G7NN4S4.js → chunk-NIAFR5EE.js} +2 -2
  60. package/dist/chunk-NIAFR5EE.js.map +1 -0
  61. package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
  62. package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
  63. package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
  64. package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
  65. package/dist/{chunk-UDDVDQMF.js → chunk-OV3JTKBY.js} +166 -25
  66. package/dist/chunk-OV3JTKBY.js.map +1 -0
  67. package/dist/{chunk-5YYN5X57.js → chunk-PSKZKLDG.js} +252 -8
  68. package/dist/chunk-PSKZKLDG.js.map +1 -0
  69. package/dist/{chunk-IWWVPR3W.cjs → chunk-TM5JYSJF.cjs} +95 -19
  70. package/dist/chunk-TM5JYSJF.cjs.map +1 -0
  71. package/dist/{chunk-G3KVK7OU.cjs → chunk-V5EEQR2U.cjs} +21 -21
  72. package/dist/{chunk-G3KVK7OU.cjs.map → chunk-V5EEQR2U.cjs.map} +1 -1
  73. package/dist/{chunk-AOJ6B7K4.cjs → chunk-WZVIBAKN.cjs} +12 -12
  74. package/dist/chunk-WZVIBAKN.cjs.map +1 -0
  75. package/dist/{chunk-5M43XMRB.cjs → chunk-X5BAFW3Q.cjs} +8 -8
  76. package/dist/{chunk-5M43XMRB.cjs.map → chunk-X5BAFW3Q.cjs.map} +1 -1
  77. package/dist/{chunk-SYWR5G3T.js → chunk-XBTYGQ6Z.js} +51 -7
  78. package/dist/chunk-XBTYGQ6Z.js.map +1 -0
  79. package/dist/{chunk-AFYTX4AI.cjs → chunk-XGGZWA4A.cjs} +107 -50
  80. package/dist/chunk-XGGZWA4A.cjs.map +1 -0
  81. package/dist/{chunk-VACPZPUA.cjs → chunk-XGVJGNZW.cjs} +5 -5
  82. package/dist/{chunk-VACPZPUA.cjs.map → chunk-XGVJGNZW.cjs.map} +1 -1
  83. package/dist/{chunk-2W745U4A.cjs → chunk-Y35JQPT6.cjs} +42 -70
  84. package/dist/chunk-Y35JQPT6.cjs.map +1 -0
  85. package/dist/{chunk-KYMHFVAZ.cjs → chunk-Y4GCJJPF.cjs} +2 -2
  86. package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
  87. package/dist/{chunk-PTD6EDUU.js → chunk-YUER7TJG.js} +3 -3
  88. package/dist/{chunk-PTD6EDUU.js.map → chunk-YUER7TJG.js.map} +1 -1
  89. package/dist/{chunk-Y6X7UJSD.js → chunk-YX6TFX7H.js} +66 -14
  90. package/dist/chunk-YX6TFX7H.js.map +1 -0
  91. package/dist/{chunk-TWF2OSH4.cjs → chunk-ZPE2ZTJ4.cjs} +4 -4
  92. package/dist/{chunk-TWF2OSH4.cjs.map → chunk-ZPE2ZTJ4.cjs.map} +1 -1
  93. package/dist/entries/apps.cjs +42 -42
  94. package/dist/entries/apps.js +7 -7
  95. package/dist/entries/credits.cjs +237 -169
  96. package/dist/entries/credits.d.cts +163 -16
  97. package/dist/entries/credits.d.ts +163 -16
  98. package/dist/entries/credits.js +10 -10
  99. package/dist/entries/llm-models.cjs +77 -57
  100. package/dist/entries/llm-models.d.cts +85 -6
  101. package/dist/entries/llm-models.d.ts +85 -6
  102. package/dist/entries/llm-models.js +2 -2
  103. package/dist/entries/media.cjs +63 -63
  104. package/dist/entries/media.d.cts +8 -0
  105. package/dist/entries/media.d.ts +8 -0
  106. package/dist/entries/media.js +1 -1
  107. package/dist/entries/model-catalog.cjs +121 -105
  108. package/dist/entries/model-catalog.d.cts +48 -18
  109. package/dist/entries/model-catalog.d.ts +48 -18
  110. package/dist/entries/model-catalog.js +4 -4
  111. package/dist/entries/models.cjs +418 -322
  112. package/dist/entries/models.d.cts +71 -5
  113. package/dist/entries/models.d.ts +71 -5
  114. package/dist/entries/models.js +5 -5
  115. package/dist/entries/nodes.cjs +216 -208
  116. package/dist/entries/nodes.d.cts +22 -6
  117. package/dist/entries/nodes.d.ts +22 -6
  118. package/dist/entries/nodes.js +8 -8
  119. package/dist/entries/pipeline.cjs +152 -152
  120. package/dist/entries/pipeline.d.cts +3 -3
  121. package/dist/entries/pipeline.d.ts +3 -3
  122. package/dist/entries/pipeline.js +3 -3
  123. package/dist/entries/runtime-config.cjs +29 -29
  124. package/dist/entries/runtime-config.d.cts +10 -7
  125. package/dist/entries/runtime-config.d.ts +10 -7
  126. package/dist/entries/runtime-config.js +1 -1
  127. package/dist/entries/social.cjs +177 -177
  128. package/dist/entries/social.js +2 -2
  129. package/dist/entries/types.d.cts +8 -0
  130. package/dist/entries/types.d.ts +8 -0
  131. package/dist/entries/ugc.cjs +71 -71
  132. package/dist/entries/ugc.js +4 -4
  133. package/dist/entries/video.cjs +154 -150
  134. package/dist/entries/video.d.cts +11 -2
  135. package/dist/entries/video.d.ts +11 -2
  136. package/dist/entries/video.js +6 -6
  137. package/dist/entries/workflow.d.cts +1 -1
  138. package/dist/entries/workflow.d.ts +1 -1
  139. package/dist/index.cjs +1727 -1515
  140. package/dist/index.d.cts +8 -8
  141. package/dist/index.d.ts +8 -8
  142. package/dist/index.js +23 -23
  143. package/dist/{model-catalog-CCEcv08q.d.cts → model-catalog-C_Eo35tL.d.cts} +30 -0
  144. package/dist/{model-catalog-CCEcv08q.d.ts → model-catalog-C_Eo35tL.d.ts} +30 -0
  145. package/dist/{model-constants-Cf3zaITt.d.cts → model-constants-Bg4ccSQb.d.ts} +138 -25
  146. package/dist/{model-constants-B88p6XR0.d.ts → model-constants-DWcxOmaY.d.cts} +138 -25
  147. package/package.json +1 -1
  148. package/src/__tests__/credit-identifiers.test.ts +29 -0
  149. package/src/__tests__/extend-providers.test.ts +106 -26
  150. package/src/__tests__/gvp-supported-providers.test.ts +27 -2
  151. package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
  152. package/src/__tests__/lip-sync-levers.test.ts +31 -0
  153. package/src/__tests__/llm-models.test.ts +132 -3
  154. package/src/__tests__/llm-price-key.test.ts +152 -1
  155. package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
  156. package/src/__tests__/normalize-node-params.test.ts +25 -0
  157. package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
  158. package/src/__tests__/prompt-length-limits.test.ts +4 -0
  159. package/src/__tests__/seedance-task-type.test.ts +13 -3
  160. package/src/__tests__/transcribe-capabilities.test.ts +39 -2
  161. package/src/__tests__/transcribe-preflight.test.ts +50 -1
  162. package/src/__tests__/video-audio-capability.test.ts +35 -6
  163. package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
  164. package/src/__tests__/video-upscale-params.test.ts +62 -0
  165. package/src/catalog-projection.ts +8 -0
  166. package/src/credit-estimators/index.ts +10 -0
  167. package/src/credit-estimators/nemotron-transcribe.ts +87 -0
  168. package/src/credit-identifiers.ts +109 -35
  169. package/src/entries/credits.ts +12 -1
  170. package/src/entries/llm-models.ts +6 -0
  171. package/src/entries/model-catalog.ts +9 -0
  172. package/src/entries/models.ts +35 -0
  173. package/src/entries/nodes.ts +2 -0
  174. package/src/entries/video.ts +1 -1
  175. package/src/freecut-protocol.ts +8 -0
  176. package/src/lip-sync-levers.ts +56 -0
  177. package/src/lip-sync-pricing.ts +91 -1
  178. package/src/llm-models.ts +249 -4
  179. package/src/model-catalog.ts +250 -4
  180. package/src/model-constants.ts +277 -30
  181. package/src/model-tree.ts +2 -1
  182. package/src/nodaro-video-upscale.ts +48 -0
  183. package/src/node-default-mappings.ts +3 -0
  184. package/src/normalize-node-params.ts +49 -1
  185. package/src/runtime-config/contract.ts +10 -7
  186. package/src/seedance-draft.ts +2 -1
  187. package/src/transcribe-preflight.ts +58 -7
  188. package/src/video-duration.ts +9 -0
  189. package/src/video-ui-defaults.ts +5 -3
  190. package/src/video-upscale-params.ts +67 -0
  191. package/dist/chunk-2W745U4A.cjs.map +0 -1
  192. package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
  193. package/dist/chunk-3OYO3XCC.js.map +0 -1
  194. package/dist/chunk-5YYN5X57.js.map +0 -1
  195. package/dist/chunk-6CSXMWL4.cjs.map +0 -1
  196. package/dist/chunk-6G7NN4S4.js.map +0 -1
  197. package/dist/chunk-AFYTX4AI.cjs.map +0 -1
  198. package/dist/chunk-AOJ6B7K4.cjs.map +0 -1
  199. package/dist/chunk-E2HZTGYX.js.map +0 -1
  200. package/dist/chunk-FVII3KHN.js.map +0 -1
  201. package/dist/chunk-GSFB537T.js.map +0 -1
  202. package/dist/chunk-IWWVPR3W.cjs.map +0 -1
  203. package/dist/chunk-KJSRPHJ2.cjs.map +0 -1
  204. package/dist/chunk-KYMHFVAZ.cjs.map +0 -1
  205. package/dist/chunk-MYJQELFN.cjs.map +0 -1
  206. package/dist/chunk-NGKKNSK6.js.map +0 -1
  207. package/dist/chunk-QWYFHQYK.cjs.map +0 -1
  208. package/dist/chunk-S24ZBUB4.js.map +0 -1
  209. package/dist/chunk-SYWR5G3T.js.map +0 -1
  210. package/dist/chunk-TRVWMKNE.cjs.map +0 -1
  211. package/dist/chunk-UDDVDQMF.js.map +0 -1
  212. package/dist/chunk-Y6X7UJSD.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) {
@@ -88,7 +115,9 @@ var MODEL_MAKERS = {
88
115
  meituan: { name: "Meituan" },
89
116
  minimax: { name: "MiniMax" },
90
117
  nodaro: { name: "Nodaro" },
118
+ nvidia: { name: "NVIDIA" },
91
119
  openai: { name: "OpenAI" },
120
+ pixverse: { name: "PixVerse" },
92
121
  recraft: { name: "Recraft" },
93
122
  runway: { name: "Runway" },
94
123
  shengshu: { name: "ShengShu" },
@@ -123,7 +152,7 @@ var MODEL_RECOMMENDATIONS = [
123
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." },
124
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." },
125
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." },
126
- { 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." },
127
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." }
128
157
  ];
129
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"];
@@ -231,6 +260,7 @@ var VIDEO_RATIOS_HAPPYHORSE_11 = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5
231
260
  var VIDEO_RATIOS_WAN_3 = ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"];
232
261
  var VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"];
233
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"];
234
264
  var IMAGE_MODELS = {
235
265
  // ── Google Nano Banana ──
236
266
  "nano-banana": {
@@ -524,6 +554,48 @@ var IMAGE_MODELS = {
524
554
  // max
525
555
  ]
526
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
+ },
527
599
  // ── OpenAI (GPT Image) ──
528
600
  "gpt-image": {
529
601
  id: "gpt-image",
@@ -2706,6 +2778,49 @@ var VIDEO_MODELS = {
2706
2778
  { identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" }
2707
2779
  ]
2708
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
+ },
2709
2824
  // ── Bytedance video lite/pro ──
2710
2825
  "bytedance-lite": {
2711
2826
  id: "bytedance-lite",
@@ -2829,7 +2944,7 @@ var VIDEO_MODELS = {
2829
2944
  pricing: [{ identifier: "runway-extend", credits: 320 }]
2830
2945
  },
2831
2946
  // Seedance extends ANY video, one provider per model. Each is priced on its
2832
- // own rows (`seedanceExtendCreditId`), one per second added and resolution.
2947
+ // own rows (`tailExtendCreditId`), one per second added and resolution.
2833
2948
  // The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
2834
2949
  "seedance-2-5-extend": {
2835
2950
  id: "seedance-2-5-extend",
@@ -2869,6 +2984,29 @@ var VIDEO_MODELS = {
2869
2984
  { identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" }
2870
2985
  ]
2871
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" }
3008
+ ]
3009
+ },
2872
3010
  "veo-1080p": {
2873
3011
  id: "veo-1080p",
2874
3012
  kind: "video",
@@ -2929,6 +3067,32 @@ var VIDEO_MODELS = {
2929
3067
  // Topaz units the provider reports, never above the hold.
2930
3068
  pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }]
2931
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
+ },
2932
3096
  // ── Motion transfer ──
2933
3097
  "motion-transfer": {
2934
3098
  id: "motion-transfer",
@@ -2970,6 +3134,50 @@ var VIDEO_MODELS = {
2970
3134
  { identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
2971
3135
  ]
2972
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
+ },
2973
3181
  // ── Lip sync / talking-head ──
2974
3182
  "kling-avatar": {
2975
3183
  id: "kling-avatar",
@@ -3030,6 +3238,25 @@ var VIDEO_MODELS = {
3030
3238
  { identifier: "omnihuman-1-5:60s", credits: 4050 }
3031
3239
  ]
3032
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
+ },
3033
3260
  "hailuo-avatar": {
3034
3261
  id: "hailuo-avatar",
3035
3262
  kind: "video",
@@ -3624,6 +3851,23 @@ var AUDIO_MODELS = {
3624
3851
  useCases: ["transcription", "stt"],
3625
3852
  pricing: [{ identifier: "whisper", credits: 40 }]
3626
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
+ },
3627
3871
  "elevenlabs-isolation": {
3628
3872
  id: "elevenlabs-isolation",
3629
3873
  kind: "audio",
@@ -3780,7 +4024,7 @@ var MODEL_CATALOG = {
3780
4024
  ...AUDIO_MODELS
3781
4025
  };
3782
4026
  function listModels(filter) {
3783
- const all = Object.values(MODEL_CATALOG);
4027
+ const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true);
3784
4028
  if (!filter) return all;
3785
4029
  return all.filter((m) => {
3786
4030
  if (filter.kind && m.kind !== filter.kind) return false;
@@ -4512,7 +4756,7 @@ function creditRangesAll() {
4512
4756
  }
4513
4757
  function modelIdsByKindMode(kind, modes, opts = {}) {
4514
4758
  const includeHidden = opts.includeHidden === true;
4515
- 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();
4516
4760
  if (ids.length === 0) {
4517
4761
  throw new Error(
4518
4762
  `modelIdsByKindMode: no models match kind=${kind ?? "*"} modes=[${modes.join(",")}]`
@@ -4521,6 +4765,6 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
4521
4765
  return ids;
4522
4766
  }
4523
4767
 
4524
- export { 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, 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 };
4525
- //# sourceMappingURL=chunk-5YYN5X57.js.map
4526
- //# sourceMappingURL=chunk-5YYN5X57.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