@nodaro/shared 3.63.0 → 3.65.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 (265) hide show
  1. package/dist/{chunk-3K24DWOH.js → chunk-222QM7CO.js} +3 -3
  2. package/dist/{chunk-3K24DWOH.js.map → chunk-222QM7CO.js.map} +1 -1
  3. package/dist/chunk-27HA6YOL.cjs +377 -0
  4. package/dist/chunk-27HA6YOL.cjs.map +1 -0
  5. package/dist/{chunk-4DVWXEB6.js → chunk-2NKF476Z.js} +3 -3
  6. package/dist/{chunk-4DVWXEB6.js.map → chunk-2NKF476Z.js.map} +1 -1
  7. package/dist/chunk-3AU52TSW.js +143 -0
  8. package/dist/chunk-3AU52TSW.js.map +1 -0
  9. package/dist/{chunk-F6WGGYQW.cjs → chunk-5NVGKXJV.cjs} +68 -29
  10. package/dist/chunk-5NVGKXJV.cjs.map +1 -0
  11. package/dist/{chunk-HWQ2SYNA.js → chunk-5SSMPYE5.js} +99 -9
  12. package/dist/chunk-5SSMPYE5.js.map +1 -0
  13. package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
  14. package/dist/chunk-6BRWPJPP.cjs.map +1 -0
  15. package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
  16. package/dist/chunk-6ET3KDO4.cjs.map +1 -0
  17. package/dist/{chunk-TM5JYSJF.cjs → chunk-6OSIOVF7.cjs} +98 -37
  18. package/dist/chunk-6OSIOVF7.cjs.map +1 -0
  19. package/dist/{chunk-YUER7TJG.js → chunk-6X5PBAC4.js} +13 -4
  20. package/dist/chunk-6X5PBAC4.js.map +1 -0
  21. package/dist/chunk-7BN4EDIC.cjs +185 -0
  22. package/dist/chunk-7BN4EDIC.cjs.map +1 -0
  23. package/dist/{chunk-6M563QE6.js → chunk-7OWXHW7Z.js} +78 -28
  24. package/dist/chunk-7OWXHW7Z.js.map +1 -0
  25. package/dist/{chunk-FXGNRYQQ.js → chunk-AT53ZQUC.js} +3 -3
  26. package/dist/{chunk-FXGNRYQQ.js.map → chunk-AT53ZQUC.js.map} +1 -1
  27. package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
  28. package/dist/chunk-BQYCZLMF.js.map +1 -0
  29. package/dist/{chunk-34QLPTSA.js → chunk-BSTAAGLY.js} +3 -3
  30. package/dist/{chunk-34QLPTSA.js.map → chunk-BSTAAGLY.js.map} +1 -1
  31. package/dist/{chunk-PSKZKLDG.js → chunk-CW6MMQNO.js} +562 -26
  32. package/dist/chunk-CW6MMQNO.js.map +1 -0
  33. package/dist/{chunk-EPXGG27L.js → chunk-D5Y3EYRM.js} +5 -5
  34. package/dist/{chunk-EPXGG27L.js.map → chunk-D5Y3EYRM.js.map} +1 -1
  35. package/dist/{chunk-XGVJGNZW.cjs → chunk-DQ2PARNH.cjs} +15 -5
  36. package/dist/chunk-DQ2PARNH.cjs.map +1 -0
  37. package/dist/{chunk-6BZC2ZHC.cjs → chunk-E66HSC2E.cjs} +9 -9
  38. package/dist/{chunk-6BZC2ZHC.cjs.map → chunk-E66HSC2E.cjs.map} +1 -1
  39. package/dist/{chunk-NIAFR5EE.js → chunk-FGBGKBML.js} +32 -3
  40. package/dist/chunk-FGBGKBML.js.map +1 -0
  41. package/dist/{chunk-M5OCFGHF.cjs → chunk-FI3HJZWM.cjs} +588 -25
  42. package/dist/chunk-FI3HJZWM.cjs.map +1 -0
  43. package/dist/{chunk-L2TVY6XN.cjs → chunk-FJZTQTF4.cjs} +4 -4
  44. package/dist/{chunk-L2TVY6XN.cjs.map → chunk-FJZTQTF4.cjs.map} +1 -1
  45. package/dist/{chunk-XGGZWA4A.cjs → chunk-GJ3D5X4X.cjs} +52 -49
  46. package/dist/chunk-GJ3D5X4X.cjs.map +1 -0
  47. package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
  48. package/dist/chunk-H5KHWTAE.js.map +1 -0
  49. package/dist/{chunk-MD4XHED4.js → chunk-H745DQ6V.js} +3 -3
  50. package/dist/{chunk-MD4XHED4.js.map → chunk-H745DQ6V.js.map} +1 -1
  51. package/dist/{chunk-KCZHQH2O.js → chunk-HAH2F7LT.js} +4 -4
  52. package/dist/{chunk-KCZHQH2O.js.map → chunk-HAH2F7LT.js.map} +1 -1
  53. package/dist/{chunk-V5EEQR2U.cjs → chunk-JQMFJAYU.cjs} +21 -21
  54. package/dist/{chunk-V5EEQR2U.cjs.map → chunk-JQMFJAYU.cjs.map} +1 -1
  55. package/dist/{chunk-WZVIBAKN.cjs → chunk-JYU5EIRM.cjs} +12 -12
  56. package/dist/{chunk-WZVIBAKN.cjs.map → chunk-JYU5EIRM.cjs.map} +1 -1
  57. package/dist/{chunk-Y35JQPT6.cjs → chunk-K6RIN3LW.cjs} +142 -45
  58. package/dist/chunk-K6RIN3LW.cjs.map +1 -0
  59. package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
  60. package/dist/chunk-KSHAAPQF.cjs.map +1 -0
  61. package/dist/{chunk-2PU3AGGS.cjs → chunk-KTCEKGBJ.cjs} +7 -7
  62. package/dist/{chunk-2PU3AGGS.cjs.map → chunk-KTCEKGBJ.cjs.map} +1 -1
  63. package/dist/{chunk-LH72PQO2.cjs → chunk-KWYS4IIM.cjs} +165 -50
  64. package/dist/chunk-KWYS4IIM.cjs.map +1 -0
  65. package/dist/{chunk-GSKLPI3J.cjs → chunk-MIT2USTS.cjs} +118 -61
  66. package/dist/chunk-MIT2USTS.cjs.map +1 -0
  67. package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
  68. package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
  69. package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
  70. package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
  71. package/dist/{chunk-X5BAFW3Q.cjs → chunk-PGDR7CO3.cjs} +8 -8
  72. package/dist/{chunk-X5BAFW3Q.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
  73. package/dist/{chunk-OV3JTKBY.js → chunk-PL7AQQV7.js} +123 -22
  74. package/dist/chunk-PL7AQQV7.js.map +1 -0
  75. package/dist/chunk-Q4YOLT4M.js +164 -0
  76. package/dist/chunk-Q4YOLT4M.js.map +1 -0
  77. package/dist/{chunk-GMBDLNLD.cjs → chunk-R5ILCNCC.cjs} +197 -60
  78. package/dist/chunk-R5ILCNCC.cjs.map +1 -0
  79. package/dist/chunk-RP4KQUNU.cjs +168 -0
  80. package/dist/chunk-RP4KQUNU.cjs.map +1 -0
  81. package/dist/{chunk-77WU3V3J.cjs → chunk-SPU7MUWE.cjs} +6 -6
  82. package/dist/{chunk-77WU3V3J.cjs.map → chunk-SPU7MUWE.cjs.map} +1 -1
  83. package/dist/{chunk-XBTYGQ6Z.js → chunk-ST7OBB5J.js} +8 -5
  84. package/dist/chunk-ST7OBB5J.js.map +1 -0
  85. package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
  86. package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
  87. package/dist/{chunk-BMJVKYVB.js → chunk-V5NLQ4L5.js} +123 -7
  88. package/dist/chunk-V5NLQ4L5.js.map +1 -0
  89. package/dist/{chunk-KMGCHV6O.js → chunk-V6OXSXIX.js} +63 -30
  90. package/dist/chunk-V6OXSXIX.js.map +1 -0
  91. package/dist/{chunk-LMAQUR55.cjs → chunk-WQMPIURW.cjs} +6 -6
  92. package/dist/{chunk-LMAQUR55.cjs.map → chunk-WQMPIURW.cjs.map} +1 -1
  93. package/dist/{chunk-ZPE2ZTJ4.cjs → chunk-WZG6GZIL.cjs} +4 -4
  94. package/dist/{chunk-ZPE2ZTJ4.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
  95. package/dist/{chunk-AE3AAJ4O.js → chunk-XJANKTIL.js} +3 -3
  96. package/dist/{chunk-AE3AAJ4O.js.map → chunk-XJANKTIL.js.map} +1 -1
  97. package/dist/{chunk-O7RZRUMZ.js → chunk-XJWED257.js} +14 -309
  98. package/dist/chunk-XJWED257.js.map +1 -0
  99. package/dist/chunk-XSSLNINL.js +346 -0
  100. package/dist/chunk-XSSLNINL.js.map +1 -0
  101. package/dist/{chunk-6TGB7ECA.cjs → chunk-YD4XY74W.cjs} +12 -8
  102. package/dist/chunk-YD4XY74W.cjs.map +1 -0
  103. package/dist/{chunk-YX6TFX7H.js → chunk-YMZUE2IX.js} +66 -11
  104. package/dist/chunk-YMZUE2IX.js.map +1 -0
  105. package/dist/{chunk-4MMZD63H.js → chunk-Z77M7Q2R.js} +3 -3
  106. package/dist/{chunk-4MMZD63H.js.map → chunk-Z77M7Q2R.js.map} +1 -1
  107. package/dist/{chunk-CZ5IQB3L.js → chunk-ZSRXY5YT.js} +8 -5
  108. package/dist/chunk-ZSRXY5YT.js.map +1 -0
  109. package/dist/entries/apps.cjs +43 -42
  110. package/dist/entries/apps.js +8 -7
  111. package/dist/entries/captions.cjs +38 -30
  112. package/dist/entries/captions.d.cts +48 -2
  113. package/dist/entries/captions.d.ts +48 -2
  114. package/dist/entries/captions.js +1 -1
  115. package/dist/entries/credits.cjs +319 -191
  116. package/dist/entries/credits.d.cts +260 -19
  117. package/dist/entries/credits.d.ts +260 -19
  118. package/dist/entries/credits.js +11 -11
  119. package/dist/entries/entities.cjs +202 -193
  120. package/dist/entries/entities.d.cts +44 -9
  121. package/dist/entries/entities.d.ts +44 -9
  122. package/dist/entries/entities.js +2 -1
  123. package/dist/entries/llm-models.cjs +86 -62
  124. package/dist/entries/llm-models.d.cts +73 -20
  125. package/dist/entries/llm-models.d.ts +73 -20
  126. package/dist/entries/llm-models.js +2 -2
  127. package/dist/entries/media.cjs +79 -63
  128. package/dist/entries/media.d.cts +154 -1
  129. package/dist/entries/media.d.ts +154 -1
  130. package/dist/entries/media.js +1 -1
  131. package/dist/entries/model-catalog.cjs +205 -109
  132. package/dist/entries/model-catalog.d.cts +65 -58
  133. package/dist/entries/model-catalog.d.ts +65 -58
  134. package/dist/entries/model-catalog.js +4 -4
  135. package/dist/entries/models.cjs +527 -346
  136. package/dist/entries/models.d.cts +86 -7
  137. package/dist/entries/models.d.ts +86 -7
  138. package/dist/entries/models.js +6 -5
  139. package/dist/entries/nodes.cjs +220 -211
  140. package/dist/entries/nodes.d.cts +46 -3
  141. package/dist/entries/nodes.d.ts +46 -3
  142. package/dist/entries/nodes.js +10 -9
  143. package/dist/entries/pipeline.cjs +156 -152
  144. package/dist/entries/pipeline.d.cts +14 -4
  145. package/dist/entries/pipeline.d.ts +14 -4
  146. package/dist/entries/pipeline.js +3 -3
  147. package/dist/entries/social.cjs +177 -177
  148. package/dist/entries/social.js +2 -2
  149. package/dist/entries/ugc.cjs +71 -71
  150. package/dist/entries/ugc.js +4 -4
  151. package/dist/entries/video.cjs +174 -145
  152. package/dist/entries/video.d.cts +114 -2
  153. package/dist/entries/video.d.ts +114 -2
  154. package/dist/entries/video.js +7 -6
  155. package/dist/entries/workflow.cjs +150 -150
  156. package/dist/entries/workflow.d.cts +1 -1
  157. package/dist/entries/workflow.d.ts +1 -1
  158. package/dist/entries/workflow.js +2 -2
  159. package/dist/index.cjs +2430 -1929
  160. package/dist/index.d.cts +13 -12
  161. package/dist/index.d.ts +13 -12
  162. package/dist/index.js +28 -27
  163. package/dist/{model-catalog-C_Eo35tL.d.cts → model-catalog-BoUKGFNl.d.cts} +182 -3
  164. package/dist/{model-catalog-C_Eo35tL.d.ts → model-catalog-BoUKGFNl.d.ts} +182 -3
  165. package/dist/{model-constants-DWcxOmaY.d.cts → model-constants-BElS3AeE.d.ts} +142 -23
  166. package/dist/{model-constants-Bg4ccSQb.d.ts → model-constants-CpQz1bGa.d.cts} +142 -23
  167. package/dist/tts-capabilities-BtnDWK9K.d.ts +133 -0
  168. package/dist/tts-capabilities-C52UccTI.d.cts +133 -0
  169. package/package.json +1 -1
  170. package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
  171. package/src/__tests__/dialogue-capabilities.test.ts +167 -6
  172. package/src/__tests__/extend-providers.test.ts +353 -26
  173. package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
  174. package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
  175. package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
  176. package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
  177. package/src/__tests__/flux-3-klein.test.ts +203 -0
  178. package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
  179. package/src/__tests__/kling4-catalog.test.ts +1 -1
  180. package/src/__tests__/llm-models.test.ts +48 -13
  181. package/src/__tests__/llm-price-key.test.ts +12 -0
  182. package/src/__tests__/model-makers.test.ts +3 -0
  183. package/src/__tests__/node-runtime-keys.test.ts +7 -0
  184. package/src/__tests__/normalize-node-params.test.ts +147 -1
  185. package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
  186. package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
  187. package/src/__tests__/sequence-execution.test.ts +22 -1
  188. package/src/__tests__/speech-pricing.test.ts +62 -1
  189. package/src/__tests__/suno-credit-type.test.ts +21 -2
  190. package/src/__tests__/transcribe-capabilities.test.ts +4 -2
  191. package/src/__tests__/tts-capabilities.test.ts +160 -4
  192. package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
  193. package/src/__tests__/video-analysis-pricing.test.ts +22 -9
  194. package/src/__tests__/video-subjects.test.ts +192 -0
  195. package/src/__tests__/wired-character-names.test.ts +142 -0
  196. package/src/caption-styles.ts +62 -0
  197. package/src/credit-estimators/add-captions-nemotron.ts +73 -0
  198. package/src/credit-estimators/index.ts +14 -0
  199. package/src/credit-estimators/speech.ts +57 -9
  200. package/src/credit-identifiers.ts +284 -13
  201. package/src/dialogue-capabilities.ts +220 -3
  202. package/src/dubbing-structure.ts +186 -0
  203. package/src/entries/captions.ts +2 -0
  204. package/src/entries/credits.ts +25 -1
  205. package/src/entries/entities.ts +2 -0
  206. package/src/entries/llm-models.ts +7 -0
  207. package/src/entries/media.ts +3 -1
  208. package/src/entries/model-catalog.ts +30 -0
  209. package/src/entries/models.ts +54 -0
  210. package/src/entries/nodes.ts +2 -0
  211. package/src/entries/pipeline.ts +1 -1
  212. package/src/entries/video.ts +8 -1
  213. package/src/flux-3-klein.ts +69 -0
  214. package/src/gemini-tts.ts +144 -0
  215. package/src/input-image-pricing.ts +23 -6
  216. package/src/llm-models.ts +130 -36
  217. package/src/model-catalog.ts +539 -25
  218. package/src/model-constants.ts +247 -25
  219. package/src/node-default-mappings.ts +3 -0
  220. package/src/node-runtime-keys.ts +3 -0
  221. package/src/normalize-node-params.ts +123 -2
  222. package/src/seedance-extend-rate.ts +116 -0
  223. package/src/sequence-execution.ts +24 -0
  224. package/src/transcribe-preflight.ts +23 -0
  225. package/src/tts-capabilities.ts +193 -1
  226. package/src/video-analysis-pricing.ts +39 -15
  227. package/src/video-character-refs.ts +160 -3
  228. package/src/wired-character-names.ts +134 -18
  229. package/src/wired-character-video-subjects.ts +63 -0
  230. package/dist/chunk-63H4C56Q.cjs +0 -38
  231. package/dist/chunk-63H4C56Q.cjs.map +0 -1
  232. package/dist/chunk-6M563QE6.js.map +0 -1
  233. package/dist/chunk-6TGB7ECA.cjs.map +0 -1
  234. package/dist/chunk-6XUG4L7X.cjs +0 -54
  235. package/dist/chunk-6XUG4L7X.cjs.map +0 -1
  236. package/dist/chunk-BLJUCPMV.cjs.map +0 -1
  237. package/dist/chunk-BMJVKYVB.js.map +0 -1
  238. package/dist/chunk-CZ5IQB3L.js.map +0 -1
  239. package/dist/chunk-F6WGGYQW.cjs.map +0 -1
  240. package/dist/chunk-GMBDLNLD.cjs.map +0 -1
  241. package/dist/chunk-GSKLPI3J.cjs.map +0 -1
  242. package/dist/chunk-HBXF6RUU.js +0 -31
  243. package/dist/chunk-HBXF6RUU.js.map +0 -1
  244. package/dist/chunk-HSHCCBIV.js.map +0 -1
  245. package/dist/chunk-HWQ2SYNA.js.map +0 -1
  246. package/dist/chunk-IY3Y462W.js +0 -42
  247. package/dist/chunk-IY3Y462W.js.map +0 -1
  248. package/dist/chunk-KHH54GRP.cjs.map +0 -1
  249. package/dist/chunk-KMGCHV6O.js.map +0 -1
  250. package/dist/chunk-LH72PQO2.cjs.map +0 -1
  251. package/dist/chunk-M5OCFGHF.cjs.map +0 -1
  252. package/dist/chunk-NIAFR5EE.js.map +0 -1
  253. package/dist/chunk-O7RZRUMZ.js.map +0 -1
  254. package/dist/chunk-OV3JTKBY.js.map +0 -1
  255. package/dist/chunk-PSKZKLDG.js.map +0 -1
  256. package/dist/chunk-Q6IES3U2.js.map +0 -1
  257. package/dist/chunk-TM5JYSJF.cjs.map +0 -1
  258. package/dist/chunk-WRSWH7US.cjs.map +0 -1
  259. package/dist/chunk-XBTYGQ6Z.js.map +0 -1
  260. package/dist/chunk-XGGZWA4A.cjs.map +0 -1
  261. package/dist/chunk-XGVJGNZW.cjs.map +0 -1
  262. package/dist/chunk-Y35JQPT6.cjs.map +0 -1
  263. package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
  264. package/dist/chunk-YUER7TJG.js.map +0 -1
  265. package/dist/chunk-YX6TFX7H.js.map +0 -1
@@ -102,14 +102,164 @@ function seedream55Resolution(resolution) {
102
102
  return SEEDREAM_5_5_RESOLUTIONS.find((r) => r === asked) ?? SEEDREAM_5_5_DEFAULT_RESOLUTION;
103
103
  }
104
104
 
105
+ // src/flux-3-klein.ts
106
+ var FLUX_3_KLEIN_T2I = "flux-3-klein";
107
+ var FLUX_3_KLEIN_I2I = "flux-3-klein-i2i";
108
+ var FLUX_3_KLEIN_RESOLUTIONS = ["1K", "2K", "4K"];
109
+ var FLUX_3_KLEIN_DEFAULT_RESOLUTION = "1K";
110
+ var FLUX_3_KLEIN_MAX_INPUT_IMAGES = 10;
111
+ function isFlux3Klein(model) {
112
+ return model === FLUX_3_KLEIN_T2I || model === FLUX_3_KLEIN_I2I;
113
+ }
114
+ function isFlux3KleinI2i(model) {
115
+ return model === FLUX_3_KLEIN_I2I;
116
+ }
117
+ function flux3KleinResolution(resolution) {
118
+ const asked = typeof resolution === "string" ? resolution.trim().toUpperCase() : "";
119
+ return FLUX_3_KLEIN_RESOLUTIONS.find((r) => r === asked) ?? FLUX_3_KLEIN_DEFAULT_RESOLUTION;
120
+ }
121
+ function flux3KleinCreditId(provider, resolution, referenceImageCount) {
122
+ const size = flux3KleinResolution(resolution);
123
+ const images = Number.isFinite(referenceImageCount) ? Math.trunc(referenceImageCount) : 0;
124
+ const model = provider === FLUX_3_KLEIN_I2I || images > 0 ? FLUX_3_KLEIN_I2I : FLUX_3_KLEIN_T2I;
125
+ return `${model}:${size}`;
126
+ }
127
+
128
+ // src/gemini-tts.ts
129
+ var GEMINI_TTS_VOICE_GROUPS = [
130
+ "tutor",
131
+ "commercial-voiceover",
132
+ "instructional",
133
+ "podcast",
134
+ "storyteller",
135
+ "digital-assistant",
136
+ "call-center",
137
+ "concierge",
138
+ "tech-support",
139
+ "professional"
140
+ ];
141
+ var GEMINI_3_8_VOICES_BY_GROUP = {
142
+ "tutor": ["Bodi", "Lumi", "Sadaltager", "Sola", "Sulafat", "Varo", "Zephyr"],
143
+ "commercial-voiceover": ["Koda", "Kore", "Nika", "Tavi", "Zeno"],
144
+ "instructional": ["Algenib", "Despina", "Erinome", "Kira", "Ludo", "Mako", "Rasalgethi", "Rina"],
145
+ "podcast": ["Alnilam", "Brio", "Jori", "Laomedeia", "Rami", "Veda"],
146
+ "storyteller": ["Achird", "Enzo", "Riko", "Sami", "Zali", "Zubenelgenubi"],
147
+ "digital-assistant": ["Algieba", "Aoede", "Autonoe", "Callirrhoe", "Enceladus", "Gero", "Iapetus", "Neno", "Olin", "Tari", "Umbriel"],
148
+ "call-center": ["Achernar", "Charon", "Daro", "Fola", "Hali", "Milo", "Puck"],
149
+ "concierge": ["Arlo", "Cleo", "Fenrir", "Finn", "Leda", "Lora", "Orus"],
150
+ "tech-support": ["Enya", "Jett", "Knox", "Nyla", "Sadachbia", "Vindemiatrix"],
151
+ "professional": ["Cruz", "Elio", "Gacrux", "Pulcherrima", "Schedar", "Tova", "Zuri"]
152
+ };
153
+ var GEMINI_3_8_TTS_VOICES = GEMINI_TTS_VOICE_GROUPS.flatMap(
154
+ (group) => GEMINI_3_8_VOICES_BY_GROUP[group].map((id) => ({ id, group }))
155
+ );
156
+ var GEMINI_3_1_TTS_VOICES = [
157
+ "Achernar",
158
+ "Achird",
159
+ "Algenib",
160
+ "Algieba",
161
+ "Alnilam",
162
+ "Aoede",
163
+ "Autonoe",
164
+ "Callirrhoe",
165
+ "Charon",
166
+ "Despina",
167
+ "Enceladus",
168
+ "Erinome",
169
+ "Fenrir",
170
+ "Gacrux",
171
+ "Iapetus",
172
+ "Kore",
173
+ "Laomedeia",
174
+ "Leda",
175
+ "Orus",
176
+ "Puck",
177
+ "Pulcherrima",
178
+ "Rasalgethi",
179
+ "Sadachbia",
180
+ "Sadaltager",
181
+ "Schedar",
182
+ "Sulafat",
183
+ "Umbriel",
184
+ "Vindemiatrix",
185
+ "Zephyr",
186
+ "Zubenelgenubi"
187
+ ].map((id) => ({ id }));
188
+ var GEMINI_3_8_DEFAULT_VOICE = "Fola";
189
+ var GEMINI_3_1_DEFAULT_VOICE = "Kore";
190
+ var GEMINI_3_8_TONE_TAGS = [
191
+ "argh",
192
+ "breath",
193
+ "cackle",
194
+ "cheer",
195
+ "chuckle",
196
+ "chuckles",
197
+ "cough",
198
+ "cry",
199
+ "exhales",
200
+ "gasp",
201
+ "giggle",
202
+ "groan",
203
+ "growl",
204
+ "grr",
205
+ "grunt",
206
+ "heavy breath",
207
+ "hiss",
208
+ "laugh",
209
+ "laughter",
210
+ "long pause",
211
+ "moan",
212
+ "pant",
213
+ "pff",
214
+ "phew",
215
+ "scream",
216
+ "short pause",
217
+ "shout",
218
+ "shriek",
219
+ "sigh",
220
+ "sighs",
221
+ "sneeze",
222
+ "snicker",
223
+ "snort",
224
+ "sob",
225
+ "throat-clearing",
226
+ "tsk",
227
+ "whimper",
228
+ "whispering",
229
+ "whispers",
230
+ "yawn"
231
+ ];
232
+ var GEMINI_3_1_TTS_STYLES = ["Vocal Smile", "Newscaster", "Whisper", "Empathetic", "Promo/Hype", "Deadpan"];
233
+ var GEMINI_3_1_TTS_PACES = ["Natural", "Rapid Fire", "The Drift", "Staccato"];
234
+ var GEMINI_3_1_TTS_ACCENTS = [
235
+ "Neutral",
236
+ "American (Gen)",
237
+ "American (Valley)",
238
+ "American (South)",
239
+ "British (RP)",
240
+ "British (Brixton)",
241
+ "Transatlantic",
242
+ "Australian"
243
+ ];
244
+ var TTS_DIRECTION_MAX_CHARS = 1e3;
245
+ var GEMINI_TTS_MAX_CHARS = 1e4;
246
+ var REPLICA_MAX_BYTES = 10 * 1024 * 1024;
247
+ var REPLICA_SOURCE_MIN_SEC = 10;
248
+ var REPLICA_SOURCE_MAX_SEC = 30;
249
+ var REPLICA_CONSENT_MAX_SEC = 30;
250
+ var REPLICA_CONSENT_SENTENCE = "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.";
251
+ var REPLICA_CONSENT_ATTESTATION = "I confirm the voice in these recordings is my own, or that its owner, an adult, has given me consent to clone it for this generation, and that neither recording is AI-generated.";
252
+
105
253
  // src/model-catalog.ts
106
254
  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";
255
+ var SPEECH_PER_1K_PRICE_NOTE = "per 1,000 characters, counted in started 100s, at least 800 \u2014 where length pricing is on; a request costs its hundreds \xD7 this \xF7 10, rounded up";
107
256
  var MODEL_MAKERS = {
108
257
  alibaba: { name: "Alibaba" },
109
258
  "black-forest-labs": { name: "Black Forest Labs" },
110
259
  bytedance: { name: "ByteDance" },
111
260
  elevenlabs: { name: "ElevenLabs" },
112
261
  google: { name: "Google" },
262
+ heygen: { name: "HeyGen" },
113
263
  ideogram: { name: "Ideogram" },
114
264
  kuaishou: { name: "Kuaishou" },
115
265
  lightricks: { name: "Lightricks" },
@@ -153,6 +303,7 @@ var MODEL_RECOMMENDATIONS = [
153
303
  { intent: "video with start + end frame", modelIds: ["veo3", "veo3.1", "kling-turbo", "minimax", "hailuo-standard", "seedance-2"], note: "All listed support an end frame; VEO uses imageUrls[start, end]." },
154
304
  { 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." },
155
305
  { 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." },
306
+ { intent: "low-cost narration with a named voice", modelIds: ["gemini-3-8-flash-lite-tts", "gemini-3-8-flash-tts", "gemini-3-1-flash-tts", "gemini-2-5-pro-tts"], note: "Google's Gemini voices cost far less per character than ElevenLabs. Each speaks only its own named voices (no clones or library voices) and no language is set: the text decides. 3.8 Flash-Lite is the cheapest; 3.8 Flash is the larger 3.8 model; both take their own tone tags (laugh, sigh, short pause\u2026) and a free-text style. 3.1 Flash and 2.5 Pro take [audio tags] and a style, pace, accent and audio profile." },
156
307
  { intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
157
308
  { 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." },
158
309
  { 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." }
@@ -252,6 +403,9 @@ var MINIMAX_H3_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"
252
403
  var SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS];
253
404
  var SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"];
254
405
  var SEEDREAM_5_5_FORMATS = ["png", "jpeg"];
406
+ var FLUX_3_KLEIN_RATIOS = ["1:1", "4:3", "3:4", "3:2", "2:3", "16:9", "9:16", "21:9", "9:21"];
407
+ var FLUX_3_KLEIN_I2I_RATIOS = [...FLUX_3_KLEIN_RATIOS, "auto"];
408
+ var FLUX_3_KLEIN_FORMATS = ["png", "jpeg"];
255
409
  var Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
256
410
  var VIDEO_RATIOS_HV = ["16:9", "9:16"];
257
411
  var VIDEO_RATIOS_HVS = ["16:9", "9:16", "1:1"];
@@ -475,6 +629,63 @@ var IMAGE_MODELS = {
475
629
  aspectRatios: KONTEXT_RATIOS,
476
630
  pricing: [{ identifier: "flux-kontext-max", credits: 25 }]
477
631
  },
632
+ // ── FLUX 3 Klein ──
633
+ // The light model of Black Forest Labs' FLUX 3 (KIE `flux-3/klein-text-to-image`
634
+ // and `flux-3/klein-edit-image`). A different model from FLUX 2 Klein
635
+ // (`flux-2-klein`, below). A prompt runs the text-to-image id; with reference
636
+ // images the run moves to the edit id (`T2I_TO_I2I_VARIANT`). Priced by size
637
+ // alone, the same on both ids: reference images cost nothing
638
+ // (`flux3KleinCreditId`). Both schemas list a closed set of ratios and text to
639
+ // image has no "auto", so both entries declare `strictAspectRatios`. PNG (the
640
+ // default) or JPEG, as its siblings write (decided 2026-11-12); KIE's WebP is
641
+ // not offered. KIE's prompt enhancement is left on (never sent), and its
642
+ // custom width/height and several pictures per request are not offered.
643
+ // See: docs.kie.ai/market/flux3/klein-text-to-image.md
644
+ // docs.kie.ai/market/flux3/klein-edit-image.md
645
+ "flux-3-klein": {
646
+ id: "flux-3-klein",
647
+ kind: "image",
648
+ modes: ["t2i"],
649
+ family: "Black Forest Labs",
650
+ maker: "black-forest-labs",
651
+ label: "FLUX 3 Klein",
652
+ series: "Flux",
653
+ description: "FLUX 3 Klein - the light model of FLUX 3: fast and low cost, at 1K by default, 2K or 4K, in nine shapes, PNG or JPEG. Add images and it edits from up to 10 references, at the same price.",
654
+ useCases: ["fast", "drafts", "iteration", "realistic"],
655
+ features: ["reference-image"],
656
+ aspectRatios: FLUX_3_KLEIN_RATIOS,
657
+ strictAspectRatios: true,
658
+ resolutions: FLUX_3_KLEIN_RESOLUTIONS,
659
+ outputFormats: FLUX_3_KLEIN_FORMATS,
660
+ pricing: [
661
+ { identifier: "flux-3-klein", credits: 4, note: "1K default" },
662
+ { identifier: "flux-3-klein:1K", credits: 4, note: "1K" },
663
+ { identifier: "flux-3-klein:2K", credits: 7, note: "2K" },
664
+ { identifier: "flux-3-klein:4K", credits: 17, note: "4K" }
665
+ ]
666
+ },
667
+ "flux-3-klein-i2i": {
668
+ id: "flux-3-klein-i2i",
669
+ kind: "image",
670
+ modes: ["i2i"],
671
+ family: "Black Forest Labs",
672
+ maker: "black-forest-labs",
673
+ label: "FLUX 3 Klein (I2I)",
674
+ series: "Flux",
675
+ description: "FLUX 3 Klein edits - fast, low-cost changes from 1 to 10 reference images, which cost nothing extra. 1K by default, 2K or 4K, PNG or JPEG; auto keeps the first image's shape.",
676
+ useCases: ["edit", "iteration", "multi-reference", "fast"],
677
+ features: ["reference-image"],
678
+ aspectRatios: FLUX_3_KLEIN_I2I_RATIOS,
679
+ strictAspectRatios: true,
680
+ resolutions: FLUX_3_KLEIN_RESOLUTIONS,
681
+ outputFormats: FLUX_3_KLEIN_FORMATS,
682
+ pricing: [
683
+ { identifier: "flux-3-klein-i2i", credits: 4, note: "1K default" },
684
+ { identifier: "flux-3-klein-i2i:1K", credits: 4, note: "1K" },
685
+ { identifier: "flux-3-klein-i2i:2K", credits: 7, note: "2K" },
686
+ { identifier: "flux-3-klein-i2i:4K", credits: 17, note: "4K" }
687
+ ]
688
+ },
478
689
  // ── Replicate "Open" (uncensored) — run direct via Replicate, not KIE ──
479
690
  "flux-2-klein": {
480
691
  id: "flux-2-klein",
@@ -2945,8 +3156,11 @@ var VIDEO_MODELS = {
2945
3156
  useCases: ["extend"],
2946
3157
  pricing: [{ identifier: "runway-extend", credits: 320 }]
2947
3158
  },
2948
- // Seedance extends ANY video, one provider per model. Each is priced on its
2949
- // own rows (`tailExtendCreditId`), one per second added and resolution.
3159
+ // Seedance extends ANY video, one provider per model. Seedance 2.5 is charged
3160
+ // per second of video sent (the source's last 10 s, all of a shorter one)
3161
+ // and added, at its resolution's row, the price of two seconds (decided
3162
+ // 2026-11-12). Seedance 2.0 is priced on its own rows
3163
+ // (`tailExtendCreditId`), one per second added and resolution.
2950
3164
  // The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
2951
3165
  "seedance-2-5-extend": {
2952
3166
  id: "seedance-2-5-extend",
@@ -2956,15 +3170,18 @@ var VIDEO_MODELS = {
2956
3170
  maker: "bytedance",
2957
3171
  label: "Seedance 2.5 Extend",
2958
3172
  series: "Seedance",
2959
- description: "Extend ANY video with Seedance 2.5: 4\u201330s continuation (audio included), stitched into one seamless clip.",
3173
+ description: "Extend ANY video with Seedance 2.5: a 4\u201330s continuation (audio included) of the source's last 10 seconds, joined onto it. Charged per second of video sent and added; the figure is the default run, 8s added at 720p to a source of 10s or more.",
2960
3174
  useCases: ["extend"],
2961
3175
  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
3176
  defaultDuration: 8,
2963
3177
  resolutions: ["480p", "720p", "1080p"],
2964
3178
  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" }
3179
+ // The default run (8 s added to a source of 10 s or more: 18 s sent and
3180
+ // added, 9 units of the two-second row) at each resolution. A run is
3181
+ // charged its own seconds: `seedance-2-5-extend:<res>:per-2s` × (sent + added) ÷ 2.
3182
+ { identifier: "seedance-2-5-extend:720p:per-2s:9u", credits: 1710, note: "default run: 8s added at 720p to a source of 10s or more \u2014 priced per second sent and added" },
3183
+ { identifier: "seedance-2-5-extend:480p:per-2s:9u", credits: 765, note: "8s added at 480p to a source of 10s or more" },
3184
+ { identifier: "seedance-2-5-extend:1080p:per-2s:9u", credits: 4275, note: "8s added at 1080p to a source of 10s or more" }
2968
3185
  ]
2969
3186
  },
2970
3187
  "seedance-2-0-extend": {
@@ -3009,6 +3226,63 @@ var VIDEO_MODELS = {
3009
3226
  { identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" }
3010
3227
  ]
3011
3228
  },
3229
+ // PixVerse V6 extends ANY video natively (no tail recipe): the whole source
3230
+ // goes to its extend, which returns it with the new seconds joined on; the
3231
+ // run keeps the user's own source and joins only the new seconds to it. Its
3232
+ // own entry, so a deployment can withhold it apart from PixVerse V6 Max, and
3233
+ // its own rows (`pixverseExtendCreditId`): one per second added and quality,
3234
+ // `:audio` with sound (on unless turned off). `resolutions` is ascending
3235
+ // (repo convention); the default quality (720p) is the extend's own, as on
3236
+ // the other extend entries (`pixverseExtendQuality`), never declared here.
3237
+ "pixverse-v6-extend": {
3238
+ id: "pixverse-v6-extend",
3239
+ kind: "video",
3240
+ modes: ["extend"],
3241
+ family: "PixVerse",
3242
+ maker: "pixverse",
3243
+ label: "PixVerse V6 Extend",
3244
+ series: "PixVerse",
3245
+ description: "Extend ANY video with PixVerse V6: 1\u201315s continuation at 360p to 1080p, with optional sound, joined onto your original clip.",
3246
+ useCases: ["extend"],
3247
+ durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
3248
+ defaultDuration: 5,
3249
+ resolutions: ["360p", "540p", "720p", "1080p"],
3250
+ pricing: [
3251
+ { identifier: "pixverse-v6-extend:5s:720p:audio", credits: 120, note: "default 5s 720p with sound \u2014 see :Ns:quality and :Ns:quality:audio variants for exact" },
3252
+ { identifier: "pixverse-v6-extend:5s:720p", credits: 90, note: "5s 720p, no sound" },
3253
+ { identifier: "pixverse-v6-extend:5s:540p:audio", credits: 90, note: "5s 540p with sound" },
3254
+ { identifier: "pixverse-v6-extend:1s:360p", credits: 10, note: "1s 360p, no sound (min)" },
3255
+ { identifier: "pixverse-v6-extend:15s:1080p:audio", credits: 690, note: "15s 1080p with sound (max)" }
3256
+ ]
3257
+ },
3258
+ // Grok extends only its OWN clips: a completed Grok Imagine text-to-video
3259
+ // or image-to-video run of the same user, named by its task (KIE takes no
3260
+ // clip URL and no other model's task). It adds 6 or 10 s and returns the
3261
+ // source with them joined on, delivered as it is. Billed at the SOURCE's
3262
+ // resolution, which is never a lever — so no `resolutions` here: the run is
3263
+ // priced on the row the source check answers (`grokExtendCreditId`), and a
3264
+ // run whose source is not known yet is quoted at the dearer 720p row, the
3265
+ // row this entry leads with. Its own entry, so a deployment can withhold it
3266
+ // apart from Grok Imagine.
3267
+ "grok-extend": {
3268
+ id: "grok-extend",
3269
+ kind: "video",
3270
+ modes: ["extend"],
3271
+ family: "xAI",
3272
+ maker: "xai",
3273
+ label: "Grok Imagine Extend",
3274
+ series: "Grok",
3275
+ description: "Extend a Grok Imagine video you made here (from text or an image) by 6 or 10 seconds, at the video's own resolution (480p or 720p).",
3276
+ useCases: ["extend"],
3277
+ durations: [6, 10],
3278
+ defaultDuration: 6,
3279
+ pricing: [
3280
+ { identifier: "grok-extend:6s:720p", credits: 70, note: "6s from a 720p source (the quote while the source is not known)" },
3281
+ { identifier: "grok-extend:6s:480p", credits: 40, note: "6s from a 480p source" },
3282
+ { identifier: "grok-extend:10s:480p", credits: 60, note: "10s from a 480p source" },
3283
+ { identifier: "grok-extend:10s:720p", credits: 120, note: "10s from a 720p source" }
3284
+ ]
3285
+ },
3012
3286
  "veo-1080p": {
3013
3287
  id: "veo-1080p",
3014
3288
  kind: "video",
@@ -3313,6 +3587,61 @@ var VIDEO_MODELS = {
3313
3587
  { identifier: "volcengine-lipsync:300s", credits: 6e3, note: "5-min ceiling" }
3314
3588
  ]
3315
3589
  },
3590
+ // LatentSync, HeyGen Lipsync Precision and Lipsync 2 Pro run on Replicate
3591
+ // (providers/replicate/lip-sync.ts). Listed so a deployment's model
3592
+ // restriction can name them (decided 2026-11-12); what they are sent and
3593
+ // charged did not change. They take no size: the result keeps the size of the
3594
+ // video they are given.
3595
+ "latentsync": {
3596
+ id: "latentsync",
3597
+ kind: "video",
3598
+ modes: ["lip-sync"],
3599
+ family: "LatentSync",
3600
+ maker: "bytedance",
3601
+ label: "LatentSync",
3602
+ series: "LatentSync",
3603
+ description: "Diffusion lip sync on an existing video \u2014 strong on singing and expressive vocals. Video input.",
3604
+ useCases: ["lip-sync", "dubbing", "video-to-video"],
3605
+ pricing: [{ identifier: "latentsync", credits: 7 }]
3606
+ },
3607
+ "heygen-lipsync-precision": {
3608
+ id: "heygen-lipsync-precision",
3609
+ kind: "video",
3610
+ modes: ["lip-sync"],
3611
+ family: "HeyGen",
3612
+ maker: "heygen",
3613
+ label: "HeyGen Lipsync Precision",
3614
+ series: "HeyGen",
3615
+ description: "Dub existing footage with precise lip sync to a new audio track. Video input, billed per second.",
3616
+ useCases: ["lip-sync", "dubbing", "video-to-video"],
3617
+ pricing: [
3618
+ { identifier: "heygen-lipsync-precision", credits: 10010, note: "5-min ceiling (no duration given)" },
3619
+ { identifier: "heygen-lipsync-precision:15s", credits: 510 },
3620
+ { identifier: "heygen-lipsync-precision:30s", credits: 1010 },
3621
+ { identifier: "heygen-lipsync-precision:60s", credits: 2010 },
3622
+ { identifier: "heygen-lipsync-precision:120s", credits: 4010 },
3623
+ { identifier: "heygen-lipsync-precision:300s", credits: 10010, note: "5-min ceiling" }
3624
+ ]
3625
+ },
3626
+ "lipsync-2-pro": {
3627
+ id: "lipsync-2-pro",
3628
+ kind: "video",
3629
+ modes: ["lip-sync"],
3630
+ family: "Sync",
3631
+ maker: "sync-labs",
3632
+ label: "Lipsync 2 Pro",
3633
+ series: "Sync",
3634
+ description: "Studio-grade lip sync on existing footage, re-synced to a new audio track. Video input, billed per second.",
3635
+ useCases: ["lip-sync", "dubbing", "video-to-video", "premium"],
3636
+ pricing: [
3637
+ { identifier: "lipsync-2-pro", credits: 12490, note: "5-min ceiling (no duration given)" },
3638
+ { identifier: "lipsync-2-pro:15s", credits: 630 },
3639
+ { identifier: "lipsync-2-pro:30s", credits: 1250 },
3640
+ { identifier: "lipsync-2-pro:60s", credits: 2500 },
3641
+ { identifier: "lipsync-2-pro:120s", credits: 5e3 },
3642
+ { identifier: "lipsync-2-pro:300s", credits: 12490, note: "5-min ceiling" }
3643
+ ]
3644
+ },
3316
3645
  // ── Video Depth ── (video-depth node; priced by the input clip's length via
3317
3646
  // videoDepthCreditId in video-depth.ts — `<provider>:<n>s`, one row per whole
3318
3647
  // second of the clip (`pricedClipSeconds`), representative rows below: `:1s` …
@@ -3358,8 +3687,8 @@ var VIDEO_MODELS = {
3358
3687
  // structural credit formula lives in video-analysis-pricing.ts. Composite id
3359
3688
  // shape `video-analysis:<model>:<bucket>s` mirrors volcengine-lipsync: bare
3360
3689
  // row = per-model namespace root at the 10-min ceiling, plus one row per bucket.)
3361
- "gemini-3-flash-video-analysis": {
3362
- id: "gemini-3-flash-video-analysis",
3690
+ "gemini-3.8-flash-video-analysis": {
3691
+ id: "gemini-3.8-flash-video-analysis",
3363
3692
  kind: "video",
3364
3693
  modes: ["video-analysis"],
3365
3694
  family: "Nodaro",
@@ -3368,6 +3697,24 @@ var VIDEO_MODELS = {
3368
3697
  series: "Video Analysis",
3369
3698
  description: "Analyze a video into a structured shot list (scenes, camera, audio) \u2014 fast, economy tier. Billed per duration bucket.",
3370
3699
  useCases: ["video-analysis", "shot-list", "fast"],
3700
+ pricing: [
3701
+ { identifier: "video-analysis:gemini-3.8-flash", credits: 880, note: "10-min ceiling (no duration given)" },
3702
+ { identifier: "video-analysis:gemini-3.8-flash:60s", credits: 186 },
3703
+ { identifier: "video-analysis:gemini-3.8-flash:180s", credits: 193 },
3704
+ { identifier: "video-analysis:gemini-3.8-flash:360s", credits: 534 },
3705
+ { identifier: "video-analysis:gemini-3.8-flash:600s", credits: 880, note: "10-min ceiling" }
3706
+ ]
3707
+ },
3708
+ "gemini-3-flash-video-analysis": {
3709
+ id: "gemini-3-flash-video-analysis",
3710
+ kind: "video",
3711
+ modes: ["video-analysis"],
3712
+ family: "Nodaro",
3713
+ maker: "nodaro",
3714
+ label: "Video Analysis (Fast \u2014 previous)",
3715
+ series: "Video Analysis",
3716
+ description: "Previous fast-tier analysis model (backed the fast tier until 2026-11-13). Kept so stored raw-model configs keep running and keep pricing under their own identifier; their runs are served by the current fast model.",
3717
+ useCases: ["video-analysis", "shot-list", "fast"],
3371
3718
  pricing: [
3372
3719
  { identifier: "video-analysis:gemini-3-flash", credits: 848, note: "10-min ceiling (no duration given)" },
3373
3720
  { identifier: "video-analysis:gemini-3-flash:60s", credits: 181 },
@@ -3412,6 +3759,29 @@ var VIDEO_MODELS = {
3412
3759
  { identifier: "video-analysis:gemini-3.1-pro:600s", credits: 1056, note: "10-min ceiling" }
3413
3760
  ]
3414
3761
  },
3762
+ // ULTRA (since 2026-11-13) — the deepest-reasoning analysis model reading
3763
+ // every window, at the same frame sampling as the other single-model tiers.
3764
+ // Priced between the mixed tiers and smart.
3765
+ "gemini-4-carbon-video-analysis": {
3766
+ id: "gemini-4-carbon-video-analysis",
3767
+ kind: "video",
3768
+ modes: ["video-analysis"],
3769
+ family: "Nodaro",
3770
+ maker: "nodaro",
3771
+ label: "Video Analysis (Ultra)",
3772
+ series: "Video Analysis",
3773
+ description: "Deep-reasoning analysis \u2014 the most thorough model reads every window of the video. Better on fast cuts and on scenes with many people, and it does not invent cuts. Billed per duration bucket.",
3774
+ // Not `most-accurate`: that tag is Smart's (hand-counted edit list, always
3775
+ // refined). Ultra's strengths are the footage that trips the other tiers.
3776
+ useCases: ["video-analysis", "shot-list", "premium", "fast-cuts", "many-people", "no-invented-cuts"],
3777
+ pricing: [
3778
+ { identifier: "video-analysis:gemini-4-carbon", credits: 1745, note: "10-min ceiling (no duration given)" },
3779
+ { identifier: "video-analysis:gemini-4-carbon:60s", credits: 349 },
3780
+ { identifier: "video-analysis:gemini-4-carbon:180s", credits: 375 },
3781
+ { identifier: "video-analysis:gemini-4-carbon:360s", credits: 1054 },
3782
+ { identifier: "video-analysis:gemini-4-carbon:600s", credits: 1745, note: "10-min ceiling" }
3783
+ ]
3784
+ },
3415
3785
  // Both mixed tiers are variants of the same advanced multi-engine analysis
3416
3786
  // and share this ONE credit family (videoAnalysisCreditSegment maps both;
3417
3787
  // plan internals live in the private analysis plugin).
@@ -3426,11 +3796,11 @@ var VIDEO_MODELS = {
3426
3796
  description: "Our most advanced analysis tier \u2014 multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
3427
3797
  useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
3428
3798
  pricing: [
3429
- { identifier: "video-analysis:mixed", credits: 1177, note: "10-min ceiling (no duration given)" },
3430
- { identifier: "video-analysis:mixed:60s", credits: 270 },
3431
- { identifier: "video-analysis:mixed:180s", credits: 291 },
3432
- { identifier: "video-analysis:mixed:360s", credits: 729 },
3433
- { identifier: "video-analysis:mixed:600s", credits: 1177, note: "10-min ceiling" }
3799
+ { identifier: "video-analysis:mixed", credits: 1209, note: "10-min ceiling (no duration given)" },
3800
+ { identifier: "video-analysis:mixed:60s", credits: 275 },
3801
+ { identifier: "video-analysis:mixed:180s", credits: 298 },
3802
+ { identifier: "video-analysis:mixed:360s", credits: 748 },
3803
+ { identifier: "video-analysis:mixed:600s", credits: 1209, note: "10-min ceiling" }
3434
3804
  ]
3435
3805
  },
3436
3806
  // SMART — the accuracy tier. Since the 2026-08-03 hybrid re-plan it is a
@@ -3449,11 +3819,11 @@ var VIDEO_MODELS = {
3449
3819
  description: "Highest-accuracy analysis \u2014 a hybrid pass that blends a native skeleton read with several donor analysis rolls, then always refines the merged result to find shot boundaries and identify the cast by appearance. Best choice when the shot list will drive regeneration. Billed per duration bucket.",
3450
3820
  useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
3451
3821
  pricing: [
3452
- { identifier: "video-analysis:smart", credits: 2076, note: "10-min ceiling (no duration given)" },
3453
- { identifier: "video-analysis:smart:60s", credits: 413 },
3454
- { identifier: "video-analysis:smart:180s", credits: 503 },
3455
- { identifier: "video-analysis:smart:360s", credits: 1267 },
3456
- { identifier: "video-analysis:smart:600s", credits: 2076, note: "10-min ceiling" }
3822
+ { identifier: "video-analysis:smart", credits: 2097, note: "10-min ceiling (no duration given)" },
3823
+ { identifier: "video-analysis:smart:60s", credits: 416 },
3824
+ { identifier: "video-analysis:smart:180s", credits: 508 },
3825
+ { identifier: "video-analysis:smart:360s", credits: 1280 },
3826
+ { identifier: "video-analysis:smart:600s", credits: 2097, note: "10-min ceiling" }
3457
3827
  ]
3458
3828
  },
3459
3829
  // ── AI Audit (`video-audit`) ── a SEPARATE node from video-analysis (own
@@ -3498,11 +3868,11 @@ var VIDEO_MODELS = {
3498
3868
  description: "Same video-verified audit as AI Audit, but auto-runs a fast analysis first when none is wired in, then applies corrections under guards and returns a disclosed report. Billed per duration bucket.",
3499
3869
  useCases: ["video-audit", "qa", "shot-list", "verification", "auto-analysis"],
3500
3870
  pricing: [
3501
- { identifier: "video-audit:auto", credits: 1921, note: "10-min ceiling (no duration given)" },
3502
- { identifier: "video-audit:auto:60s", credits: 396 },
3503
- { identifier: "video-audit:auto:180s", credits: 475 },
3504
- { identifier: "video-audit:auto:360s", credits: 1178 },
3505
- { identifier: "video-audit:auto:600s", credits: 1921, note: "10-min ceiling" }
3871
+ { identifier: "video-audit:auto", credits: 1953, note: "10-min ceiling (no duration given)" },
3872
+ { identifier: "video-audit:auto:60s", credits: 401 },
3873
+ { identifier: "video-audit:auto:180s", credits: 483 },
3874
+ { identifier: "video-audit:auto:360s", credits: 1197 },
3875
+ { identifier: "video-audit:auto:600s", credits: 1953, note: "10-min ceiling" }
3506
3876
  ]
3507
3877
  }
3508
3878
  };
@@ -3558,6 +3928,51 @@ var TTS_LANGS_V3 = [
3558
3928
  var TTS_LEVERS_V2 = ["stability", "similarity", "style", "speed", "speakerBoost"];
3559
3929
  var DIALOGUE_V4_MAX_CHARS = 1e4;
3560
3930
  var V4_TURBO_MAX_CHARS = 1e4;
3931
+ var GEMINI_3_8_TTS_SHEET = {
3932
+ audioTags: true,
3933
+ tagSyntax: "angle",
3934
+ tags: GEMINI_3_8_TONE_TAGS,
3935
+ ssmlBreaks: false,
3936
+ levers: [],
3937
+ languageCode: false,
3938
+ timestamps: false,
3939
+ stitching: false,
3940
+ maxChars: GEMINI_TTS_MAX_CHARS,
3941
+ // No picker: the language follows the text.
3942
+ languages: [],
3943
+ voices: GEMINI_3_8_TTS_VOICES,
3944
+ defaultVoice: GEMINI_3_8_DEFAULT_VOICE,
3945
+ direction: { styleMaxChars: TTS_DIRECTION_MAX_CHARS },
3946
+ ratePer1kChars: true,
3947
+ // Two-speaker dialogue (decided 2026-11-12): one or two voices, a style per line, filler words on request.
3948
+ dialogueSpeakers: 2,
3949
+ fillerWords: true,
3950
+ // A dialogue's file is chosen as one speaker's is: MP3 or the WAV as rendered (decided 2026-11-13).
3951
+ dialogueAnyOutputFormat: true
3952
+ };
3953
+ var GEMINI_3_1_TTS_SHEET = {
3954
+ audioTags: true,
3955
+ ssmlBreaks: false,
3956
+ levers: [],
3957
+ languageCode: false,
3958
+ timestamps: false,
3959
+ stitching: false,
3960
+ maxChars: GEMINI_TTS_MAX_CHARS,
3961
+ languages: [],
3962
+ voices: GEMINI_3_1_TTS_VOICES,
3963
+ defaultVoice: GEMINI_3_1_DEFAULT_VOICE,
3964
+ direction: {
3965
+ styles: GEMINI_3_1_TTS_STYLES,
3966
+ paces: GEMINI_3_1_TTS_PACES,
3967
+ accents: GEMINI_3_1_TTS_ACCENTS,
3968
+ audioProfileMaxChars: TTS_DIRECTION_MAX_CHARS
3969
+ },
3970
+ ratePer1kChars: true,
3971
+ // Two-speaker dialogue (decided 2026-11-12): one or two voices, the style, pace, accent and profile per speaker.
3972
+ dialogueSpeakers: 2,
3973
+ // A dialogue's file is chosen as one speaker's is: MP3 or the WAV as rendered (decided 2026-11-13).
3974
+ dialogueAnyOutputFormat: true
3975
+ };
3561
3976
  var AUDIO_MODELS = {
3562
3977
  // ── ElevenLabs TTS ──
3563
3978
  "elevenlabs-v3": {
@@ -3718,6 +4133,85 @@ var AUDIO_MODELS = {
3718
4133
  languages: TTS_LANGS_MULTILINGUAL_V2
3719
4134
  }
3720
4135
  },
4136
+ // ── Google Gemini TTS (through KIE) ──
4137
+ // One id per model for both lanes: the same KIE model takes one speaker
4138
+ // (Text to Speech) and two (Text to Dialogue), and dialogue costs the same per
4139
+ // character as one speaker (decided 2026-11-12) — so `tts` AND `dialogue`,
4140
+ // one sheet and one price row, the same rate by construction.
4141
+ // Named voices of their own (never ElevenLabs'), no language field (the
4142
+ // language follows the text), no timings, no neighbour text. Priced per
4143
+ // 1,000 characters on the same count as every speech model (decided
4144
+ // 2026-11-12, provisional until measured on staging); the flat row is the
4145
+ // price of 1,000 characters.
4146
+ "gemini-3-8-flash-lite-tts": {
4147
+ id: "gemini-3-8-flash-lite-tts",
4148
+ kind: "audio",
4149
+ modes: ["tts", "dialogue"],
4150
+ family: "Google",
4151
+ maker: "google",
4152
+ label: "Gemini 3.8 Flash-Lite TTS",
4153
+ series: "Gemini",
4154
+ description: "Google's lightest Gemini speech model and the cheapest speech on the platform \u2014 70 named voices grouped by use, its own tone tags (laugh, sigh, short pause and more) and a free-text style direction. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
4155
+ useCases: ["tts", "voice-over", "narration", "fast", "budget"],
4156
+ features: ["audio-tags"],
4157
+ pricing: [
4158
+ { identifier: "gemini-3-8-flash-lite-tts", credits: 4 },
4159
+ { identifier: "gemini-3-8-flash-lite-tts:per-1k-chars", credits: 4, note: SPEECH_PER_1K_PRICE_NOTE }
4160
+ ],
4161
+ tts: GEMINI_3_8_TTS_SHEET
4162
+ },
4163
+ "gemini-3-8-flash-tts": {
4164
+ id: "gemini-3-8-flash-tts",
4165
+ kind: "audio",
4166
+ modes: ["tts", "dialogue"],
4167
+ family: "Google",
4168
+ maker: "google",
4169
+ label: "Gemini 3.8 Flash TTS",
4170
+ series: "Gemini",
4171
+ description: "Google's Gemini 3.8 speech model \u2014 the same 70 voices, tone tags and free-text style direction as Flash-Lite, from the larger model of the generation. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
4172
+ useCases: ["tts", "voice-over", "narration", "expressive"],
4173
+ features: ["audio-tags"],
4174
+ pricing: [
4175
+ { identifier: "gemini-3-8-flash-tts", credits: 6 },
4176
+ { identifier: "gemini-3-8-flash-tts:per-1k-chars", credits: 6, note: SPEECH_PER_1K_PRICE_NOTE }
4177
+ ],
4178
+ // A one-off clone (`replica`, decided 2026-11-13) on 3.8 Flash alone: its Flash-Lite sibling refuses it.
4179
+ tts: { ...GEMINI_3_8_TTS_SHEET, replica: true }
4180
+ },
4181
+ "gemini-3-1-flash-tts": {
4182
+ id: "gemini-3-1-flash-tts",
4183
+ kind: "audio",
4184
+ modes: ["tts", "dialogue"],
4185
+ family: "Google",
4186
+ maker: "google",
4187
+ label: "Gemini 3.1 Flash TTS",
4188
+ series: "Gemini",
4189
+ description: "Google's Gemini 3.1 speech model \u2014 30 named voices, [audio tags] written freely, and a speaking style, pace, accent and audio profile for the speaker. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
4190
+ useCases: ["tts", "voice-over", "narration", "expressive"],
4191
+ features: ["audio-tags"],
4192
+ pricing: [
4193
+ { identifier: "gemini-3-1-flash-tts", credits: 13 },
4194
+ { identifier: "gemini-3-1-flash-tts:per-1k-chars", credits: 13, note: SPEECH_PER_1K_PRICE_NOTE }
4195
+ ],
4196
+ tts: GEMINI_3_1_TTS_SHEET
4197
+ },
4198
+ "gemini-2-5-pro-tts": {
4199
+ id: "gemini-2-5-pro-tts",
4200
+ kind: "audio",
4201
+ modes: ["tts", "dialogue"],
4202
+ family: "Google",
4203
+ maker: "google",
4204
+ label: "Gemini 2.5 Pro TTS",
4205
+ series: "Gemini",
4206
+ description: "Google's Gemini 2.5 Pro speech model \u2014 the same 30 voices, [audio tags] and speaker controls (style, pace, accent, audio profile) as Gemini 3.1 Flash TTS, from the Pro model. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
4207
+ useCases: ["tts", "voice-over", "narration", "expressive", "long-form"],
4208
+ features: ["audio-tags"],
4209
+ pricing: [
4210
+ { identifier: "gemini-2-5-pro-tts", credits: 16 },
4211
+ { identifier: "gemini-2-5-pro-tts:per-1k-chars", credits: 16, note: SPEECH_PER_1K_PRICE_NOTE }
4212
+ ],
4213
+ tts: GEMINI_3_1_TTS_SHEET
4214
+ },
3721
4215
  "elevenlabs-dialogue": {
3722
4216
  id: "elevenlabs-dialogue",
3723
4217
  kind: "audio",
@@ -3953,6 +4447,48 @@ var AUDIO_MODELS = {
3953
4447
  useCases: ["music", "song", "vocals"],
3954
4448
  pricing: [{ identifier: "suno", credits: 30, note: "per generation" }]
3955
4449
  },
4450
+ // Suno v4.5, v4.5 All and v4.5+ (decided 2026-11-12): listed so a
4451
+ // deployment's model restriction can name them, each with a price row of its
4452
+ // own (SUNO_VERSION_CREDIT_KEYS) at the price those runs were charged before.
4453
+ "suno-v4_5": {
4454
+ id: "suno-v4_5",
4455
+ kind: "audio",
4456
+ modes: ["music"],
4457
+ family: "Suno",
4458
+ maker: "suno",
4459
+ label: "Suno v4.5",
4460
+ series: "Suno",
4461
+ dataValue: "V4_5",
4462
+ description: "Suno v4.5 \u2014 improved quality and coherence over v4.",
4463
+ useCases: ["music", "song", "vocals"],
4464
+ pricing: [{ identifier: "suno-v4_5", credits: 30, note: "per generation" }]
4465
+ },
4466
+ "suno-v4_5all": {
4467
+ id: "suno-v4_5all",
4468
+ kind: "audio",
4469
+ modes: ["music"],
4470
+ family: "Suno",
4471
+ maker: "suno",
4472
+ label: "Suno v4.5 All",
4473
+ series: "Suno",
4474
+ dataValue: "V4_5ALL",
4475
+ description: "Suno v4.5 All \u2014 full instrument and vocal generation.",
4476
+ useCases: ["music", "song", "vocals"],
4477
+ pricing: [{ identifier: "suno-v4_5all", credits: 30, note: "per generation" }]
4478
+ },
4479
+ "suno-v4_5plus": {
4480
+ id: "suno-v4_5plus",
4481
+ kind: "audio",
4482
+ modes: ["music"],
4483
+ family: "Suno",
4484
+ maker: "suno",
4485
+ label: "Suno v4.5 Plus",
4486
+ series: "Suno",
4487
+ dataValue: "V4_5PLUS",
4488
+ description: "Suno v4.5 Plus \u2014 richer production than v4.5.",
4489
+ useCases: ["music", "song", "vocals"],
4490
+ pricing: [{ identifier: "suno-v4_5plus", credits: 30, note: "per generation" }]
4491
+ },
3956
4492
  "suno-v5": {
3957
4493
  id: "suno-v5",
3958
4494
  kind: "audio",
@@ -4769,6 +5305,21 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
4769
5305
 
4770
5306
  exports.CONTAINER_OVERHANG_SEC = CONTAINER_OVERHANG_SEC;
4771
5307
  exports.FLUX2_RES_MP = FLUX2_RES_MP;
5308
+ exports.FLUX_3_KLEIN_DEFAULT_RESOLUTION = FLUX_3_KLEIN_DEFAULT_RESOLUTION;
5309
+ exports.FLUX_3_KLEIN_I2I = FLUX_3_KLEIN_I2I;
5310
+ exports.FLUX_3_KLEIN_MAX_INPUT_IMAGES = FLUX_3_KLEIN_MAX_INPUT_IMAGES;
5311
+ exports.FLUX_3_KLEIN_RESOLUTIONS = FLUX_3_KLEIN_RESOLUTIONS;
5312
+ exports.FLUX_3_KLEIN_T2I = FLUX_3_KLEIN_T2I;
5313
+ exports.GEMINI_3_1_DEFAULT_VOICE = GEMINI_3_1_DEFAULT_VOICE;
5314
+ exports.GEMINI_3_1_TTS_ACCENTS = GEMINI_3_1_TTS_ACCENTS;
5315
+ exports.GEMINI_3_1_TTS_PACES = GEMINI_3_1_TTS_PACES;
5316
+ exports.GEMINI_3_1_TTS_STYLES = GEMINI_3_1_TTS_STYLES;
5317
+ exports.GEMINI_3_1_TTS_VOICES = GEMINI_3_1_TTS_VOICES;
5318
+ exports.GEMINI_3_8_DEFAULT_VOICE = GEMINI_3_8_DEFAULT_VOICE;
5319
+ exports.GEMINI_3_8_TONE_TAGS = GEMINI_3_8_TONE_TAGS;
5320
+ exports.GEMINI_3_8_TTS_VOICES = GEMINI_3_8_TTS_VOICES;
5321
+ exports.GEMINI_TTS_MAX_CHARS = GEMINI_TTS_MAX_CHARS;
5322
+ exports.GEMINI_TTS_VOICE_GROUPS = GEMINI_TTS_VOICE_GROUPS;
4772
5323
  exports.IMAGE_GIF_FRAME_SIZE = IMAGE_GIF_FRAME_SIZE;
4773
5324
  exports.IMAGE_OUTPUT_FORMAT_LABELS = IMAGE_OUTPUT_FORMAT_LABELS;
4774
5325
  exports.IMAGE_SVG_LEVEL_LABELS = IMAGE_SVG_LEVEL_LABELS;
@@ -4783,6 +5334,12 @@ exports.MODEL_INPUT_ADJUSTMENT_FIELDS = MODEL_INPUT_ADJUSTMENT_FIELDS;
4783
5334
  exports.MODEL_KINDS = MODEL_KINDS;
4784
5335
  exports.MODEL_MAKERS = MODEL_MAKERS;
4785
5336
  exports.MODEL_RECOMMENDATIONS = MODEL_RECOMMENDATIONS;
5337
+ exports.REPLICA_CONSENT_ATTESTATION = REPLICA_CONSENT_ATTESTATION;
5338
+ exports.REPLICA_CONSENT_MAX_SEC = REPLICA_CONSENT_MAX_SEC;
5339
+ exports.REPLICA_CONSENT_SENTENCE = REPLICA_CONSENT_SENTENCE;
5340
+ exports.REPLICA_MAX_BYTES = REPLICA_MAX_BYTES;
5341
+ exports.REPLICA_SOURCE_MAX_SEC = REPLICA_SOURCE_MAX_SEC;
5342
+ exports.REPLICA_SOURCE_MIN_SEC = REPLICA_SOURCE_MIN_SEC;
4786
5343
  exports.SEEDANCE_DRAFT_FINALIZE_MAX_SEC = SEEDANCE_DRAFT_FINALIZE_MAX_SEC;
4787
5344
  exports.SEEDANCE_DRAFT_FINALIZE_MIN_SEC = SEEDANCE_DRAFT_FINALIZE_MIN_SEC;
4788
5345
  exports.SEEDANCE_DRAFT_FINALIZE_PROVIDER = SEEDANCE_DRAFT_FINALIZE_PROVIDER;
@@ -4795,8 +5352,10 @@ exports.SEEDREAM_5_5_MAX_INPUT_IMAGES = SEEDREAM_5_5_MAX_INPUT_IMAGES;
4795
5352
  exports.SEEDREAM_5_5_MIN_PROMPT_CHARS = SEEDREAM_5_5_MIN_PROMPT_CHARS;
4796
5353
  exports.SEEDREAM_5_5_RESOLUTIONS = SEEDREAM_5_5_RESOLUTIONS;
4797
5354
  exports.SEEDREAM_5_5_T2I = SEEDREAM_5_5_T2I;
5355
+ exports.SPEECH_PER_1K_PRICE_NOTE = SPEECH_PER_1K_PRICE_NOTE;
4798
5356
  exports.SPEECH_UNIT_PRICE_NOTE = SPEECH_UNIT_PRICE_NOTE;
4799
5357
  exports.TRANSPARENT_OUTPUT_FORMATS = TRANSPARENT_OUTPUT_FORMATS;
5358
+ exports.TTS_DIRECTION_MAX_CHARS = TTS_DIRECTION_MAX_CHARS;
4800
5359
  exports.VIDEO_DURATION_AUTO = VIDEO_DURATION_AUTO;
4801
5360
  exports.aspectRatioOptionsByKind = aspectRatioOptionsByKind;
4802
5361
  exports.autoAspectNeedsSourceImage = autoAspectNeedsSourceImage;
@@ -4808,6 +5367,8 @@ exports.durationsByMode = durationsByMode;
4808
5367
  exports.editPlanSourceDurationSec = editPlanSourceDurationSec;
4809
5368
  exports.extractVideoDurationFromNode = extractVideoDurationFromNode;
4810
5369
  exports.fitAspectRatioToModel = fitAspectRatioToModel;
5370
+ exports.flux3KleinCreditId = flux3KleinCreditId;
5371
+ exports.flux3KleinResolution = flux3KleinResolution;
4811
5372
  exports.getAspectRatioOptions = getAspectRatioOptions;
4812
5373
  exports.getCreditRange = getCreditRange;
4813
5374
  exports.getDurationsForModel = getDurationsForModel;
@@ -4820,6 +5381,8 @@ exports.hasFeature = hasFeature;
4820
5381
  exports.isAutoAspectToken = isAutoAspectToken;
4821
5382
  exports.isAutoVideoDuration = isAutoVideoDuration;
4822
5383
  exports.isFlux2Model = isFlux2Model;
5384
+ exports.isFlux3Klein = isFlux3Klein;
5385
+ exports.isFlux3KleinI2i = isFlux3KleinI2i;
4823
5386
  exports.isMinimaxH3Image = isMinimaxH3Image;
4824
5387
  exports.isMinimaxH3ImageI2i = isMinimaxH3ImageI2i;
4825
5388
  exports.isModelMakerId = isModelMakerId;
@@ -4851,5 +5414,5 @@ exports.sourceImageSizeNeeded = sourceImageSizeNeeded;
4851
5414
  exports.svgLevelOptionsByKind = svgLevelOptionsByKind;
4852
5415
  exports.validateModelInput = validateModelInput;
4853
5416
  exports.videoAutoAspectRunsAt = videoAutoAspectRunsAt;
4854
- //# sourceMappingURL=chunk-M5OCFGHF.cjs.map
4855
- //# sourceMappingURL=chunk-M5OCFGHF.cjs.map
5417
+ //# sourceMappingURL=chunk-FI3HJZWM.cjs.map
5418
+ //# sourceMappingURL=chunk-FI3HJZWM.cjs.map