@nodaro/shared 3.61.0 → 3.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4KYLNTR7.cjs → chunk-2PU3AGGS.cjs} +27 -4
- package/dist/chunk-2PU3AGGS.cjs.map +1 -0
- package/dist/{chunk-43TGSZRJ.js → chunk-2QKF7M2Z.js} +3 -3
- package/dist/{chunk-43TGSZRJ.js.map → chunk-2QKF7M2Z.js.map} +1 -1
- package/dist/{chunk-B6BG3LV2.js → chunk-34QLPTSA.js} +3 -3
- package/dist/{chunk-B6BG3LV2.js.map → chunk-34QLPTSA.js.map} +1 -1
- package/dist/chunk-3K24DWOH.js +453 -0
- package/dist/chunk-3K24DWOH.js.map +1 -0
- package/dist/{chunk-IRQ3SPX7.js → chunk-4DVWXEB6.js} +23 -4
- package/dist/chunk-4DVWXEB6.js.map +1 -0
- package/dist/{chunk-ZES6EZC4.js → chunk-4MMZD63H.js} +3 -3
- package/dist/{chunk-ZES6EZC4.js.map → chunk-4MMZD63H.js.map} +1 -1
- package/dist/{chunk-MQZRQ5LM.cjs → chunk-63H4C56Q.cjs} +8 -8
- package/dist/{chunk-MQZRQ5LM.cjs.map → chunk-63H4C56Q.cjs.map} +1 -1
- package/dist/{chunk-IVXSNW2B.cjs → chunk-6BZC2ZHC.cjs} +18 -332
- package/dist/chunk-6BZC2ZHC.cjs.map +1 -0
- package/dist/{chunk-M3SXUUWC.cjs → chunk-6FQBKI2A.cjs} +4 -11
- package/dist/chunk-6FQBKI2A.cjs.map +1 -0
- package/dist/{chunk-673E4KYC.js → chunk-6M563QE6.js} +134 -8
- package/dist/chunk-6M563QE6.js.map +1 -0
- package/dist/chunk-6TGB7ECA.cjs +48 -0
- package/dist/chunk-6TGB7ECA.cjs.map +1 -0
- package/dist/{chunk-XUJC6GHE.cjs → chunk-6XUG4L7X.cjs} +6 -6
- package/dist/{chunk-XUJC6GHE.cjs.map → chunk-6XUG4L7X.cjs.map} +1 -1
- package/dist/{chunk-XZKFZMRT.cjs → chunk-77WU3V3J.cjs} +6 -6
- package/dist/{chunk-XZKFZMRT.cjs.map → chunk-77WU3V3J.cjs.map} +1 -1
- package/dist/{chunk-ZFJN23V4.cjs → chunk-A2PX5IRC.cjs} +4 -4
- package/dist/{chunk-ZFJN23V4.cjs.map → chunk-A2PX5IRC.cjs.map} +1 -1
- package/dist/{chunk-ZDBPQBAA.js → chunk-AE3AAJ4O.js} +3 -3
- package/dist/{chunk-ZDBPQBAA.js.map → chunk-AE3AAJ4O.js.map} +1 -1
- package/dist/chunk-ALRXY4QH.cjs +13 -0
- package/dist/chunk-ALRXY4QH.cjs.map +1 -0
- package/dist/{chunk-UARGJ5IZ.js → chunk-BMJVKYVB.js} +56 -12
- package/dist/chunk-BMJVKYVB.js.map +1 -0
- package/dist/{chunk-6XVHYD5R.js → chunk-CLAKSLXF.js} +4 -9
- package/dist/chunk-CLAKSLXF.js.map +1 -0
- package/dist/chunk-CTANEPMY.js +61 -0
- package/dist/chunk-CTANEPMY.js.map +1 -0
- package/dist/chunk-CZ5IQB3L.js +42 -0
- package/dist/chunk-CZ5IQB3L.js.map +1 -0
- package/dist/{chunk-WGKAOUEQ.cjs → chunk-D34K455O.cjs} +3 -2
- package/dist/chunk-D34K455O.cjs.map +1 -0
- package/dist/chunk-EPXGG27L.js +331 -0
- package/dist/chunk-EPXGG27L.js.map +1 -0
- package/dist/{chunk-3M4BNKFJ.cjs → chunk-F6WGGYQW.cjs} +167 -3
- package/dist/chunk-F6WGGYQW.cjs.map +1 -0
- package/dist/{chunk-7FCTCWHD.js → chunk-FXGNRYQQ.js} +3 -3
- package/dist/{chunk-7FCTCWHD.js.map → chunk-FXGNRYQQ.js.map} +1 -1
- package/dist/{chunk-ZNM2LW3D.cjs → chunk-GMBDLNLD.cjs} +105 -56
- package/dist/chunk-GMBDLNLD.cjs.map +1 -0
- package/dist/{chunk-NJVOJXBS.cjs → chunk-GSKLPI3J.cjs} +104 -49
- package/dist/chunk-GSKLPI3J.cjs.map +1 -0
- package/dist/{chunk-EWS2VFO4.js → chunk-HBXF6RUU.js} +4 -4
- package/dist/{chunk-EWS2VFO4.js.map → chunk-HBXF6RUU.js.map} +1 -1
- package/dist/{chunk-MOMFX32D.js → chunk-HWQ2SYNA.js} +194 -325
- package/dist/chunk-HWQ2SYNA.js.map +1 -0
- package/dist/{chunk-SCMTN57Y.js → chunk-IY3Y462W.js} +3 -3
- package/dist/{chunk-SCMTN57Y.js.map → chunk-IY3Y462W.js.map} +1 -1
- package/dist/{chunk-ZZGQRRN7.js → chunk-KCZHQH2O.js} +6 -306
- package/dist/chunk-KCZHQH2O.js.map +1 -0
- package/dist/{chunk-XROE3CAS.cjs → chunk-KHH54GRP.cjs} +120 -79
- package/dist/chunk-KHH54GRP.cjs.map +1 -0
- package/dist/{chunk-FVVD6XY2.js → chunk-KL6GAYTT.js} +13 -4
- package/dist/chunk-KL6GAYTT.js.map +1 -0
- package/dist/{chunk-FVII3KHN.js → chunk-KMGCHV6O.js} +163 -4
- package/dist/chunk-KMGCHV6O.js.map +1 -0
- package/dist/{chunk-FMXFHJWX.cjs → chunk-L2TVY6XN.cjs} +4 -4
- package/dist/{chunk-FMXFHJWX.cjs.map → chunk-L2TVY6XN.cjs.map} +1 -1
- package/dist/{chunk-FQXRYPCX.cjs → chunk-LH72PQO2.cjs} +505 -68
- package/dist/chunk-LH72PQO2.cjs.map +1 -0
- package/dist/chunk-LMAQUR55.cjs +506 -0
- package/dist/chunk-LMAQUR55.cjs.map +1 -0
- package/dist/{chunk-F5YEMSNK.cjs → chunk-M5OCFGHF.cjs} +571 -30
- package/dist/chunk-M5OCFGHF.cjs.map +1 -0
- package/dist/{chunk-VOWJCUMR.js → chunk-MD4XHED4.js} +3 -3
- package/dist/{chunk-VOWJCUMR.js.map → chunk-MD4XHED4.js.map} +1 -1
- package/dist/chunk-N5HH46JF.cjs +68 -0
- package/dist/chunk-N5HH46JF.cjs.map +1 -0
- package/dist/{chunk-G4XWVWRI.js → chunk-NIAFR5EE.js} +5 -4
- package/dist/chunk-NIAFR5EE.js.map +1 -0
- package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
- package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
- package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
- package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
- package/dist/{chunk-SWVGHAYO.js → chunk-O7RZRUMZ.js} +110 -74
- package/dist/chunk-O7RZRUMZ.js.map +1 -0
- package/dist/{chunk-LLOIAGFB.js → chunk-OV3JTKBY.js} +449 -51
- package/dist/chunk-OV3JTKBY.js.map +1 -0
- package/dist/{chunk-A3FHTSLB.js → chunk-PSKZKLDG.js} +550 -31
- package/dist/chunk-PSKZKLDG.js.map +1 -0
- package/dist/{chunk-VB2ARGQ6.js → chunk-RGNHHIMN.js} +3 -3
- package/dist/chunk-RGNHHIMN.js.map +1 -0
- package/dist/chunk-SMOO5FAH.js +10 -0
- package/dist/chunk-SMOO5FAH.js.map +1 -0
- package/dist/{chunk-5XRRENHD.cjs → chunk-TM5JYSJF.cjs} +170 -17
- package/dist/chunk-TM5JYSJF.cjs.map +1 -0
- package/dist/{chunk-PONP5J5E.cjs → chunk-V24EPI5N.cjs} +13 -3
- package/dist/chunk-V24EPI5N.cjs.map +1 -0
- package/dist/{chunk-RQ4F3AJH.cjs → chunk-V5EEQR2U.cjs} +21 -21
- package/dist/{chunk-RQ4F3AJH.cjs.map → chunk-V5EEQR2U.cjs.map} +1 -1
- package/dist/chunk-WZVIBAKN.cjs +351 -0
- package/dist/chunk-WZVIBAKN.cjs.map +1 -0
- package/dist/{chunk-5M43XMRB.cjs → chunk-X5BAFW3Q.cjs} +8 -8
- package/dist/{chunk-5M43XMRB.cjs.map → chunk-X5BAFW3Q.cjs.map} +1 -1
- package/dist/{chunk-RUHKBEFF.js → chunk-XBTYGQ6Z.js} +63 -10
- package/dist/chunk-XBTYGQ6Z.js.map +1 -0
- package/dist/{chunk-JHTT2V4A.cjs → chunk-XGGZWA4A.cjs} +118 -52
- package/dist/chunk-XGGZWA4A.cjs.map +1 -0
- package/dist/{chunk-5I4T4QR5.cjs → chunk-XGVJGNZW.cjs} +5 -5
- package/dist/{chunk-5I4T4QR5.cjs.map → chunk-XGVJGNZW.cjs.map} +1 -1
- package/dist/{chunk-7ARKVJTN.cjs → chunk-Y35JQPT6.cjs} +228 -383
- package/dist/chunk-Y35JQPT6.cjs.map +1 -0
- package/dist/{chunk-AFQFGZN7.cjs → chunk-Y4GCJJPF.cjs} +8 -6
- package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
- package/dist/{chunk-C77F4ZTL.js → chunk-YUER7TJG.js} +3 -3
- package/dist/{chunk-C77F4ZTL.js.map → chunk-YUER7TJG.js.map} +1 -1
- package/dist/{chunk-HGI2VKIV.js → chunk-YX6TFX7H.js} +67 -14
- package/dist/chunk-YX6TFX7H.js.map +1 -0
- package/dist/{chunk-TWF2OSH4.cjs → chunk-ZPE2ZTJ4.cjs} +4 -4
- package/dist/{chunk-TWF2OSH4.cjs.map → chunk-ZPE2ZTJ4.cjs.map} +1 -1
- package/dist/entries/apps.cjs +44 -44
- package/dist/entries/apps.js +9 -9
- package/dist/entries/credits.cjs +286 -153
- package/dist/entries/credits.d.cts +254 -5
- package/dist/entries/credits.d.ts +254 -5
- package/dist/entries/credits.js +14 -9
- package/dist/entries/entities.cjs +188 -143
- package/dist/entries/entities.d.cts +122 -1
- package/dist/entries/entities.d.ts +122 -1
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.cjs +77 -57
- package/dist/entries/llm-models.d.cts +85 -5
- package/dist/entries/llm-models.d.ts +85 -5
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +92 -87
- package/dist/entries/media.d.cts +19 -1
- package/dist/entries/media.d.ts +19 -1
- package/dist/entries/media.js +3 -2
- package/dist/entries/model-catalog.cjs +211 -103
- package/dist/entries/model-catalog.d.cts +135 -19
- package/dist/entries/model-catalog.d.ts +135 -19
- package/dist/entries/model-catalog.js +5 -5
- package/dist/entries/models.cjs +504 -295
- package/dist/entries/models.d.cts +71 -4
- package/dist/entries/models.d.ts +71 -4
- package/dist/entries/models.js +7 -6
- package/dist/entries/nodes.cjs +249 -233
- package/dist/entries/nodes.d.cts +35 -6
- package/dist/entries/nodes.d.ts +35 -6
- package/dist/entries/nodes.js +10 -10
- package/dist/entries/pipeline.cjs +152 -152
- package/dist/entries/pipeline.d.cts +3 -2
- package/dist/entries/pipeline.d.ts +3 -2
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/runtime-config.cjs +29 -29
- package/dist/entries/runtime-config.d.cts +10 -7
- package/dist/entries/runtime-config.d.ts +10 -7
- package/dist/entries/runtime-config.js +1 -1
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/types.d.cts +8 -0
- package/dist/entries/types.d.ts +8 -0
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +316 -208
- package/dist/entries/video.d.cts +490 -99
- package/dist/entries/video.d.ts +490 -99
- package/dist/entries/video.js +8 -4
- package/dist/entries/workflow.cjs +102 -102
- package/dist/entries/workflow.d.cts +5 -4
- package/dist/entries/workflow.d.ts +5 -4
- package/dist/entries/workflow.js +2 -2
- package/dist/{gpt-image-2-6-BeZdT-pW.d.cts → gpt-image-2-6-jIRQBRag.d.cts} +6 -0
- package/dist/{gpt-image-2-6-BeZdT-pW.d.ts → gpt-image-2-6-jIRQBRag.d.ts} +6 -0
- package/dist/index.cjs +2727 -2092
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +30 -27
- package/dist/{model-catalog-BgSvskgY.d.ts → model-catalog-C_Eo35tL.d.cts} +158 -14
- package/dist/{model-catalog-BgSvskgY.d.cts → model-catalog-C_Eo35tL.d.ts} +158 -14
- package/dist/{model-constants-DHd9jwQ7.d.cts → model-constants-Bg4ccSQb.d.ts} +427 -34
- package/dist/{model-constants-DHd9jwQ7.d.ts → model-constants-DWcxOmaY.d.cts} +427 -34
- package/package.json +1 -1
- package/src/__tests__/credit-identifiers.test.ts +29 -0
- package/src/__tests__/extend-providers.test.ts +194 -0
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +118 -0
- package/src/__tests__/fixtures/root-exports.baseline.json +68 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +4 -1
- package/src/__tests__/grok-video-15-catalog.test.ts +189 -0
- package/src/__tests__/gvp-supported-providers.test.ts +32 -4
- package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
- package/src/__tests__/lip-sync-levers.test.ts +31 -0
- package/src/__tests__/llm-models.test.ts +132 -3
- package/src/__tests__/llm-price-key.test.ts +152 -1
- package/src/__tests__/minimax-h3-image.test.ts +140 -0
- package/src/__tests__/model-makers.test.ts +49 -11
- package/src/__tests__/model-tree.test.ts +13 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
- package/src/__tests__/normalize-node-params.test.ts +25 -0
- package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
- package/src/__tests__/prompt-length-limits.test.ts +4 -0
- package/src/__tests__/retired-video-provider.test.ts +15 -5
- package/src/__tests__/seedance-25-catalog-modes.test.ts +1 -1
- package/src/__tests__/seedance-task-type.test.ts +188 -0
- package/src/__tests__/seedream-5-5.test.ts +117 -0
- package/src/__tests__/transcribe-capabilities.test.ts +39 -2
- package/src/__tests__/transcribe-preflight.test.ts +50 -1
- package/src/__tests__/unit-contract-compose.test.ts +27 -1
- package/src/__tests__/unit-contracts.test.ts +20 -6
- package/src/__tests__/upscale-factors.test.ts +107 -0
- package/src/__tests__/video-audio-capability.test.ts +35 -6
- package/src/__tests__/video-character-refs.test.ts +20 -2
- package/src/__tests__/video-collapse-parity.test.ts +19 -0
- package/src/__tests__/video-overlay-geometry.test.ts +68 -0
- package/src/__tests__/video-overlay-layer-plan.test.ts +3 -4
- package/src/__tests__/video-overlay-layouts.test.ts +529 -0
- package/src/__tests__/video-overlay-pricing.test.ts +61 -0
- package/src/__tests__/video-overlay-validate.test.ts +128 -0
- package/src/__tests__/video-overlay-wired-kind.test.ts +207 -0
- package/src/__tests__/video-overlay.test.ts +280 -194
- package/src/__tests__/video-ref-limits.test.ts +2 -1
- package/src/__tests__/video-reference-only.test.ts +6 -2
- package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
- package/src/__tests__/video-start-frame-only.test.ts +98 -0
- package/src/__tests__/video-upscale-params.test.ts +62 -0
- package/src/__tests__/wired-character-names.test.ts +220 -0
- package/src/catalog-projection.ts +8 -0
- package/src/credit-estimators/index.ts +18 -0
- package/src/credit-estimators/nemotron-transcribe.ts +87 -0
- package/src/credit-estimators/video-overlay.ts +70 -0
- package/src/credit-identifiers.ts +183 -16
- package/src/entity-image-url.ts +21 -0
- package/src/entries/credits.ts +26 -1
- package/src/entries/entities.ts +14 -0
- package/src/entries/llm-models.ts +6 -0
- package/src/entries/model-catalog.ts +44 -1
- package/src/entries/models.ts +69 -0
- package/src/entries/nodes.ts +4 -0
- package/src/entries/video.ts +7 -1
- package/src/freecut-protocol.ts +8 -0
- package/src/generated/unit-contracts.ts +8 -1
- package/src/gpt-image-2-6.ts +6 -0
- package/src/input-image-pricing.ts +76 -0
- package/src/lip-sync-levers.ts +56 -0
- package/src/lip-sync-pricing.ts +91 -1
- package/src/llm-models.ts +249 -4
- package/src/mask-composite.ts +11 -0
- package/src/minimax-h3-image.ts +61 -0
- package/src/model-catalog.ts +604 -40
- package/src/model-constants.ts +860 -55
- package/src/model-tree.ts +2 -1
- package/src/nodaro-video-upscale.ts +48 -0
- package/src/node-default-mappings.ts +15 -2
- package/src/node-execution-state.ts +4 -3
- package/src/normalize-node-params.ts +49 -1
- package/src/producer-types.ts +23 -1
- package/src/runtime-config/contract.ts +10 -7
- package/src/seedance-draft.ts +2 -1
- package/src/seedance-task-type.ts +37 -0
- package/src/seedream-5-5.ts +45 -0
- package/src/transcribe-preflight.ts +58 -7
- package/src/unit-contract-compose.ts +4 -1
- package/src/upscale-factors.ts +111 -0
- package/src/video-character-refs.ts +7 -4
- package/src/video-duration.ts +9 -0
- package/src/video-overlay-geometry.ts +99 -0
- package/src/video-overlay-input.ts +25 -0
- package/src/video-overlay-layout-ids.ts +48 -0
- package/src/video-overlay-layouts.ts +315 -0
- package/src/video-overlay-validate.ts +223 -0
- package/src/video-overlay-video-layers.ts +304 -0
- package/src/video-overlay.ts +165 -297
- package/src/video-ui-defaults.ts +11 -7
- package/src/video-upscale-params.ts +67 -0
- package/src/wired-character-names.ts +202 -0
- package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
- package/dist/chunk-4KYLNTR7.cjs.map +0 -1
- package/dist/chunk-5XRRENHD.cjs.map +0 -1
- package/dist/chunk-673E4KYC.js.map +0 -1
- package/dist/chunk-6XVHYD5R.js.map +0 -1
- package/dist/chunk-7ARKVJTN.cjs.map +0 -1
- package/dist/chunk-7WGKP3EU.js +0 -23
- package/dist/chunk-7WGKP3EU.js.map +0 -1
- package/dist/chunk-A3FHTSLB.js.map +0 -1
- package/dist/chunk-AFQFGZN7.cjs.map +0 -1
- package/dist/chunk-F5YEMSNK.cjs.map +0 -1
- package/dist/chunk-FQXRYPCX.cjs.map +0 -1
- package/dist/chunk-FVII3KHN.js.map +0 -1
- package/dist/chunk-FVVD6XY2.js.map +0 -1
- package/dist/chunk-G4XWVWRI.js.map +0 -1
- package/dist/chunk-HGI2VKIV.js.map +0 -1
- package/dist/chunk-IRQ3SPX7.js.map +0 -1
- package/dist/chunk-IVXSNW2B.cjs.map +0 -1
- package/dist/chunk-JHTT2V4A.cjs.map +0 -1
- package/dist/chunk-KHZAQGRP.js +0 -17
- package/dist/chunk-KHZAQGRP.js.map +0 -1
- package/dist/chunk-LLOIAGFB.js.map +0 -1
- package/dist/chunk-M3SXUUWC.cjs.map +0 -1
- package/dist/chunk-MOMFX32D.js.map +0 -1
- package/dist/chunk-NCOGGRRP.cjs +0 -27
- package/dist/chunk-NCOGGRRP.cjs.map +0 -1
- package/dist/chunk-NJVOJXBS.cjs.map +0 -1
- package/dist/chunk-PONP5J5E.cjs.map +0 -1
- package/dist/chunk-RUHKBEFF.js.map +0 -1
- package/dist/chunk-SWVGHAYO.js.map +0 -1
- package/dist/chunk-UARGJ5IZ.js.map +0 -1
- package/dist/chunk-VB2ARGQ6.js.map +0 -1
- package/dist/chunk-WGKAOUEQ.cjs.map +0 -1
- package/dist/chunk-XROE3CAS.cjs.map +0 -1
- package/dist/chunk-ZLDFPVVI.cjs +0 -19
- package/dist/chunk-ZLDFPVVI.cjs.map +0 -1
- package/dist/chunk-ZNM2LW3D.cjs.map +0 -1
- package/dist/chunk-ZZGQRRN7.js.map +0 -1
package/src/model-catalog.ts
CHANGED
|
@@ -30,7 +30,10 @@
|
|
|
30
30
|
|
|
31
31
|
import { isSeedanceDraftCapable, SEEDANCE_DRAFT_RESOLUTION } from "./seedance-draft.js"
|
|
32
32
|
import { isFlux2Model } from "./flux2-pricing.js"
|
|
33
|
+
import { MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_RESOLUTIONS } from "./minimax-h3-image.js"
|
|
33
34
|
import { isAutoVideoDuration } from "./video-duration-auto.js"
|
|
35
|
+
import type { DeclaredSeedanceTaskType } from "./seedance-task-type.js"
|
|
36
|
+
import { SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_RESOLUTIONS } from "./seedream-5-5.js"
|
|
34
37
|
|
|
35
38
|
export type ModelKind = "image" | "video" | "audio"
|
|
36
39
|
|
|
@@ -177,7 +180,9 @@ export const MODEL_MAKERS = {
|
|
|
177
180
|
meituan: { name: "Meituan" },
|
|
178
181
|
minimax: { name: "MiniMax" },
|
|
179
182
|
nodaro: { name: "Nodaro" },
|
|
183
|
+
nvidia: { name: "NVIDIA" },
|
|
180
184
|
openai: { name: "OpenAI" },
|
|
185
|
+
pixverse: { name: "PixVerse" },
|
|
181
186
|
recraft: { name: "Recraft" },
|
|
182
187
|
runway: { name: "Runway" },
|
|
183
188
|
shengshu: { name: "ShengShu" },
|
|
@@ -202,15 +207,20 @@ export function isModelMakerId(value: unknown): value is ModelMakerId {
|
|
|
202
207
|
}
|
|
203
208
|
|
|
204
209
|
/**
|
|
205
|
-
* The maker of a catalog entry, in its wire shape — undefined
|
|
206
|
-
*
|
|
207
|
-
*
|
|
210
|
+
* The maker of a catalog entry, in its wire shape — undefined for a model
|
|
211
|
+
* offered under the deployment's own label (`ownLabel`, which names none —
|
|
212
|
+
* even an entry built at run time, or by a JavaScript caller, that also names a
|
|
213
|
+
* maker) and when its `maker` is not a registry id (an entry built at run time
|
|
214
|
+
* without one). Never throws, so one bad entry cannot fail a whole model
|
|
215
|
+
* listing.
|
|
208
216
|
*/
|
|
209
|
-
export function modelMakerOf(entry: Pick<ModelCatalogEntry, "maker">): ModelMaker | undefined {
|
|
217
|
+
export function modelMakerOf(entry: Pick<ModelCatalogEntry, "maker" | "ownLabel">): ModelMaker | undefined {
|
|
218
|
+
if (entry.ownLabel === true) return undefined
|
|
210
219
|
return isModelMakerId(entry.maker) ? { id: entry.maker, name: MODEL_MAKERS[entry.maker].name } : undefined
|
|
211
220
|
}
|
|
212
221
|
|
|
213
|
-
|
|
222
|
+
/** Every field of a catalog entry but who it is offered under (`maker` / `ownLabel`, {@link ModelCatalogEntry}). */
|
|
223
|
+
export interface ModelCatalogEntryFields {
|
|
214
224
|
id: string
|
|
215
225
|
kind: ModelKind
|
|
216
226
|
/**
|
|
@@ -223,12 +233,6 @@ export interface ModelCatalogEntry {
|
|
|
223
233
|
modes: readonly ModelMode[]
|
|
224
234
|
/** Vendor / lab that produced the model. Used for UI grouping. */
|
|
225
235
|
family: string
|
|
226
|
-
/**
|
|
227
|
-
* The company that made the model (see {@link MODEL_MAKERS}). REQUIRED, so a
|
|
228
|
-
* new model cannot ship without one; every model of a `family` names the same
|
|
229
|
-
* maker.
|
|
230
|
-
*/
|
|
231
|
-
maker: ModelMakerId
|
|
232
236
|
/** Display name (NOT the id — the id is the API enum value). */
|
|
233
237
|
label: string
|
|
234
238
|
/**
|
|
@@ -291,8 +295,10 @@ export interface ModelCatalogEntry {
|
|
|
291
295
|
* `"voice-references"` (video models only) means the model takes each
|
|
292
296
|
* reference AUDIO clip as a VOICE sample — who speaks and how they sound —
|
|
293
297
|
* and makes its own soundtrack, rather than conditioning on the audio itself
|
|
294
|
-
* (Kling 4.0: KIE `voices`, `@VoiceN` in the prompt
|
|
295
|
-
*
|
|
298
|
+
* (Kling 4.0: KIE `voices`, `@VoiceN` in the prompt; Kling 4.0 Flash: each
|
|
299
|
+
* clip is a wired character's voice, KIE `elements[].voice_url` — see
|
|
300
|
+
* `audioBindsToCharacters`). The editor names that input "Voice Refs" for
|
|
301
|
+
* such a model.
|
|
296
302
|
*
|
|
297
303
|
* `"audio-soundtrack"` (video models only) means the platform can play the
|
|
298
304
|
* model's FIRST reference audio clip as the result's soundtrack: it sends
|
|
@@ -327,6 +333,24 @@ export interface ModelCatalogEntry {
|
|
|
327
333
|
* as before. "auto" stays in `aspectRatios`, so every menu still offers it.
|
|
328
334
|
*/
|
|
329
335
|
autoAspectFromSourceImage?: true
|
|
336
|
+
/**
|
|
337
|
+
* The provider's endpoint refuses an aspect ratio this model does not list.
|
|
338
|
+
* Set only when that was read from the provider's own schema: a ratio field
|
|
339
|
+
* marked required, with a closed list (Seedream 5.5: text to image requires
|
|
340
|
+
* one of its eight ratios and has no "auto"; its edit takes "auto" and the
|
|
341
|
+
* same eight; docs.kie.ai/market/seedream/5-5-text-to-image.md and
|
|
342
|
+
* 5-5-image-to-image.md). The lanes that pass a stored ratio straight on (a
|
|
343
|
+
* Scene, a surround continuation) move a ratio such a model does not list to
|
|
344
|
+
* the nearest one it does, checked against the model the request reaches
|
|
345
|
+
* (`aspectRatioForStrictModel` in the backend), and send every other model's
|
|
346
|
+
* ratio exactly as stored.
|
|
347
|
+
*
|
|
348
|
+
* A ratio missing from `aspectRatios` is NOT evidence the provider refuses
|
|
349
|
+
* it. Measured 2026-11-11: the provider rendered 21:9 (1916×821) and 4:5
|
|
350
|
+
* (1122×1402) for GPT Image 2, whose list names neither. Do not set this flag
|
|
351
|
+
* from a catalog list alone, and do not snap those lanes for every model.
|
|
352
|
+
*/
|
|
353
|
+
strictAspectRatios?: true
|
|
330
354
|
/**
|
|
331
355
|
* The pixel size (width, height) this model renders at each aspect ratio and
|
|
332
356
|
* size, from the provider's own table, for a PNG, JPEG or WebP. Read where a
|
|
@@ -373,6 +397,16 @@ export interface ModelCatalogEntry {
|
|
|
373
397
|
* the two cannot drift.
|
|
374
398
|
*/
|
|
375
399
|
unlistedResolutionRendersAs?: string
|
|
400
|
+
/**
|
|
401
|
+
* The resolutions (catalog spelling) at which this video model takes a start
|
|
402
|
+
* frame ONLY: no end frame, no loop and no in-between frames beside it. A run
|
|
403
|
+
* that would send any of them at such a resolution is refused before any
|
|
404
|
+
* credits are held, with one sentence (`videoStartFrameOnlyProblem`), on the
|
|
405
|
+
* API routes, the workflow run and the editor's Run; the editor offers the
|
|
406
|
+
* resolution only while nothing but a start frame is wired. Declared from the
|
|
407
|
+
* provider's own refusal, never guessed.
|
|
408
|
+
*/
|
|
409
|
+
startFrameOnlyResolutions?: readonly string[]
|
|
376
410
|
qualities?: readonly string[]
|
|
377
411
|
/**
|
|
378
412
|
* The quality a run renders at when none is named, where that is not the
|
|
@@ -430,6 +464,16 @@ export interface ModelCatalogEntry {
|
|
|
430
464
|
* the longest clip and settled on the delivered one.
|
|
431
465
|
*/
|
|
432
466
|
autoDuration?: boolean
|
|
467
|
+
/**
|
|
468
|
+
* The reference task types this model accepts as a declaration (see
|
|
469
|
+
* `SEEDANCE_REFERENCE_TASK_TYPES`): what the request's reference media is for
|
|
470
|
+
* — a `reference`, an `edit` of the reference video, or an `extend` of it.
|
|
471
|
+
* The list is what is honoured: `resolveSeedanceTaskType` declares only a
|
|
472
|
+
* value listed here, and anything else runs as Auto. Absent or empty: the
|
|
473
|
+
* model takes no such declaration and the provider guesses from the prompt.
|
|
474
|
+
* `supportsReferenceTaskType` says whether the list is non-empty.
|
|
475
|
+
*/
|
|
476
|
+
referenceTaskTypes?: readonly DeclaredSeedanceTaskType[]
|
|
433
477
|
/**
|
|
434
478
|
* The model takes NO seed: its provider schema has none, so a seed the
|
|
435
479
|
* request carries is dropped before the provider call and repeat runs vary.
|
|
@@ -439,6 +483,18 @@ export interface ModelCatalogEntry {
|
|
|
439
483
|
* `omitSeed` in both directions by `seed-capability-parity.test.ts`.
|
|
440
484
|
*/
|
|
441
485
|
noSeed?: boolean
|
|
486
|
+
/**
|
|
487
|
+
* Generate Video Pro may use this video model although it takes no reference
|
|
488
|
+
* images (decided 2026-11-12, PixVerse V6 Max). The pro engine's bar is a
|
|
489
|
+
* model that takes a start still AND reference images (it attaches identity
|
|
490
|
+
* and continuity references to every segment), so a model without
|
|
491
|
+
* `"reference-image"` is out unless it says so here. With it, each segment
|
|
492
|
+
* runs from its start anchor or from text alone: the references a segment
|
|
493
|
+
* carries are not sent, the "reference" anchor choice is not offered
|
|
494
|
+
* (`gvpAnchorChoicesFor`, `@nodaro/render-rules`), and the run is keyframes only. Never set it on a
|
|
495
|
+
* model that has `"reference-image"` (`gvp-supported-providers.test.ts`).
|
|
496
|
+
*/
|
|
497
|
+
gvpWithoutReferences?: true
|
|
442
498
|
pricing: readonly PriceVariant[]
|
|
443
499
|
/** Editorial highlight — "best in tier". Surfaces in MCP output as a ⭐. */
|
|
444
500
|
featured?: boolean
|
|
@@ -466,6 +522,18 @@ export interface ModelCatalogEntry {
|
|
|
466
522
|
* is the admin's `model_pricing.is_enabled` (backend lib/model-switch.ts).
|
|
467
523
|
*/
|
|
468
524
|
docsHidden?: boolean
|
|
525
|
+
/**
|
|
526
|
+
* Never picked: the platform runs this model on its own, never because a
|
|
527
|
+
* person or a client chose it (a trained character's model, which a Generate
|
|
528
|
+
* Image run switches to when its one character has one). It is listed
|
|
529
|
+
* nowhere a model is offered — `listModels` (so `GET /v1/models` and MCP
|
|
530
|
+
* `list_models`), the editor's Models tab and add-node search
|
|
531
|
+
* (`buildModelTree`), the MCP tool model enums (`modelIdsByKindMode`), the
|
|
532
|
+
* docs' model tables and the recommendations — and is still a model a
|
|
533
|
+
* deployment's restriction can name: it counts in the gateable model ids and
|
|
534
|
+
* Admin → Availability shows it.
|
|
535
|
+
*/
|
|
536
|
+
pickerHidden?: true
|
|
469
537
|
/**
|
|
470
538
|
* The provider's safety filter is known to be non-deterministic on this
|
|
471
539
|
* model — the platform retries a blocked request once; `fallback` names
|
|
@@ -479,6 +547,23 @@ export interface ModelCatalogEntry {
|
|
|
479
547
|
tts?: TtsCapabilities
|
|
480
548
|
}
|
|
481
549
|
|
|
550
|
+
/**
|
|
551
|
+
* Who a model is offered under — exactly one of:
|
|
552
|
+
*
|
|
553
|
+
* - `maker`: the company that made it (see {@link MODEL_MAKERS}). Every model
|
|
554
|
+
* names one unless it is marked `ownLabel`, so a new model cannot ship
|
|
555
|
+
* without saying whose it is; every model of a `family` names the same maker.
|
|
556
|
+
* - `ownLabel: true`: the model is offered under the deployment's own label and
|
|
557
|
+
* names no maker (decided 2026-11-11). `GET /v1/models` leaves `maker` out
|
|
558
|
+
* for it and returns `logoUrl: null`; MCP `list_models` leaves `maker` out (it
|
|
559
|
+
* never carries `logoUrl`); a client shows no maker. Such a model may not
|
|
560
|
+
* carry a `maker` (`model-makers.test.ts`).
|
|
561
|
+
*/
|
|
562
|
+
export type ModelCatalogEntry = ModelCatalogEntryFields & (
|
|
563
|
+
| { maker: ModelMakerId; ownLabel?: never }
|
|
564
|
+
| { ownLabel: true; maker?: never }
|
|
565
|
+
)
|
|
566
|
+
|
|
482
567
|
/**
|
|
483
568
|
* Editorial recommendations — short "best for X" picks Claude can echo back
|
|
484
569
|
* to the user when they don't know which model to use. Surfaces as a "Quick
|
|
@@ -500,6 +585,7 @@ export const MODEL_RECOMMENDATIONS: readonly ModelRecommendation[] = [
|
|
|
500
585
|
{ intent: "highest fidelity image", modelIds: ["gpt-image-2", "gpt-image-2-6-sunburst", "imagen4-ultra"], note: "GPT Image 2 for characters and identity; GPT Image 2.6 Sunburst for wide or in-between ratios GPT Image 2 can't draw." },
|
|
501
586
|
{ intent: "image edit / restyle", modelIds: ["gpt-image-2-6-flare-i2i", "gpt-image-2-i2i", "seedream-5-pro-i2i"], note: "GPT Image 2.6 Flare changes what you ask and keeps the rest; GPT Image 2 i2i for identity-critical edits; Seedream 5 Pro for instruction-based edits." },
|
|
502
587
|
{ intent: "highest-resolution image", modelIds: ["topaz-image-upscale", "gpt-image-2", "gpt-image-2-6-sunburst"], note: "Generate at the model's top tier, then Topaz upscale 4x (Topaz's only lever is the 1x/2x/4x factor)." },
|
|
588
|
+
{ intent: "upscale an image with text, labels or logos", modelIds: ["nodaro-image-upscale"], note: "Keeps lettering exactly as written. 1x enhances at the same size; up to 8x. Priced by the output's size, so a small picture costs little." },
|
|
503
589
|
{ intent: "background removal / cutout", modelIds: ["recraft-remove-bg"], note: "Cheap, no prompt needed." },
|
|
504
590
|
// video
|
|
505
591
|
{ intent: "best cinematic video", modelIds: ["veo3", "kling-3.0", "seedance-2"], note: "VEO 3.1 Quality for premium narrative; Kling 3.0 for music-synced motion; Seedance 2 for reference-driven consistency." },
|
|
@@ -508,7 +594,7 @@ export const MODEL_RECOMMENDATIONS: readonly ModelRecommendation[] = [
|
|
|
508
594
|
{ 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." },
|
|
509
595
|
{ 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." },
|
|
510
596
|
{ intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
|
|
511
|
-
{ intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper"], note: "Captions need WORD timestamps: ElevenLabs STT (always)
|
|
597
|
+
{ 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." },
|
|
512
598
|
{ 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." },
|
|
513
599
|
] as const
|
|
514
600
|
|
|
@@ -610,6 +696,21 @@ const GPT_IMAGE_2_6_SVG_LEVELS = ["standard", "detailed", "max"] as const
|
|
|
610
696
|
const IMAGEN4_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"] as const
|
|
611
697
|
const IDEOGRAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"] as const
|
|
612
698
|
const SEEDREAM_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "21:9"] as const
|
|
699
|
+
// MiniMax H3 Image: ten fixed ratios at every size, and "auto" — listed last, so
|
|
700
|
+
// a fallback that takes the first ratio never lands on it
|
|
701
|
+
// (docs.kie.ai/market/minimax-h3/text-to-image + image-edit).
|
|
702
|
+
const MINIMAX_H3_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "5:4", "4:5", "21:9", "auto"] as const
|
|
703
|
+
// Seedream 5.5 (docs.kie.ai/market/seedream/5-5-{text,image}-to-image): the
|
|
704
|
+
// text-to-image endpoint REQUIRES a real ratio, the eight above; the edit
|
|
705
|
+
// endpoint takes the same eight plus `auto`, its own default (listed first, as
|
|
706
|
+
// on the GPT Image edits, so a stale ratio on an edit falls back to keeping the
|
|
707
|
+
// photo's shape rather than to a fixed one).
|
|
708
|
+
const SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS] as const
|
|
709
|
+
// Its sizes (KIE's `size`), the default being 2K (`SEEDREAM_5_5_DEFAULT_RESOLUTION`),
|
|
710
|
+
// a background setting (transparent only with PNG: TRANSPARENT_OUTPUT_FORMATS
|
|
711
|
+
// moves it to auto with JPEG), and PNG (its default) or JPEG.
|
|
712
|
+
const SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"] as const
|
|
713
|
+
const SEEDREAM_5_5_FORMATS = ["png", "jpeg"] as const
|
|
613
714
|
const Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"] as const
|
|
614
715
|
|
|
615
716
|
const VIDEO_RATIOS_HV = ["16:9", "9:16"] as const
|
|
@@ -640,6 +741,11 @@ const VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"] as const
|
|
|
640
741
|
// /v4-keyframe-to-video). `auto` follows the materials; with none it renders 16:9.
|
|
641
742
|
// The keyframe endpoint ignores the ratio once any frame is attached.
|
|
642
743
|
const VIDEO_RATIOS_KLING_4 = ["auto", "16:9", "9:16", "1:1", "21:9"] as const
|
|
744
|
+
// PixVerse V6 Max — the text-to-video enum, in KIE's own order
|
|
745
|
+
// (docs.kie.ai/market/pixverse/v6-max-text-to-video). The image-to-video
|
|
746
|
+
// endpoint takes NO aspect ratio: its output follows the start frame, so these
|
|
747
|
+
// apply to text-only runs.
|
|
748
|
+
const VIDEO_RATIOS_PIXVERSE_V6_MAX = ["16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9"] as const
|
|
643
749
|
|
|
644
750
|
// =============================================================================
|
|
645
751
|
// IMAGE MODELS
|
|
@@ -929,6 +1035,48 @@ const IMAGE_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
929
1035
|
{ identifier: "flux-2-max:4MP:8ref", credits: 620 }, // max
|
|
930
1036
|
],
|
|
931
1037
|
},
|
|
1038
|
+
// A catalog entry so a deployment's model restriction can name it (decided
|
|
1039
|
+
// 2026-11-12): before it, `models.allow` could not withhold it while the
|
|
1040
|
+
// Modify Image node and /v1/image-to-image kept running it. It repaints the
|
|
1041
|
+
// mask's white area of the image it is given, and its result is that image's
|
|
1042
|
+
// size, so it takes no aspect ratio, size or quality: none is listed, and a
|
|
1043
|
+
// value a request carries for one is dropped with an adjustment (as for
|
|
1044
|
+
// Ideogram Edit). It never read one, so what it is sent is unchanged
|
|
1045
|
+
// (backend flux-fill-requests-parity.test.ts). One input image, no
|
|
1046
|
+
// reference images: no "reference-image" feature.
|
|
1047
|
+
"flux-fill": {
|
|
1048
|
+
id: "flux-fill",
|
|
1049
|
+
kind: "image",
|
|
1050
|
+
modes: ["edit"] as const,
|
|
1051
|
+
family: "Black Forest Labs",
|
|
1052
|
+
maker: "black-forest-labs",
|
|
1053
|
+
label: "FLUX Fill Pro",
|
|
1054
|
+
series: "Flux",
|
|
1055
|
+
description: "Masked inpainting from BFL via Replicate: repaints the mask's white area; the result keeps the image's size.",
|
|
1056
|
+
useCases: ["edit", "inpaint"],
|
|
1057
|
+
features: ["mask"],
|
|
1058
|
+
pricing: [{ identifier: "flux-fill", credits: 30 }],
|
|
1059
|
+
},
|
|
1060
|
+
// A trained character's model (decided 2026-11-12): FLUX.1 [dev] with the
|
|
1061
|
+
// character's own LoRA, which a Generate Image run switches to when the one
|
|
1062
|
+
// character it names has a succeeded trained model. Never picked
|
|
1063
|
+
// (`pickerHidden`): listed here so a deployment's restriction can name it.
|
|
1064
|
+
// Where a deployment withholds it, a run does not switch and uses the
|
|
1065
|
+
// character's reference pictures, as for a character with no trained model.
|
|
1066
|
+
// Its levers are not listed: nothing snaps a request against this entry.
|
|
1067
|
+
"flux-lora-character": {
|
|
1068
|
+
id: "flux-lora-character",
|
|
1069
|
+
kind: "image",
|
|
1070
|
+
modes: ["t2i"] as const,
|
|
1071
|
+
family: "Black Forest Labs",
|
|
1072
|
+
maker: "black-forest-labs",
|
|
1073
|
+
label: "Trained character (FLUX LoRA)",
|
|
1074
|
+
series: "Flux",
|
|
1075
|
+
description: "A trained character's own model (FLUX.1 [dev] with its LoRA), run when a prompt names that one character.",
|
|
1076
|
+
useCases: ["character"],
|
|
1077
|
+
pricing: [{ identifier: "flux-lora-character", credits: 20 }],
|
|
1078
|
+
pickerHidden: true,
|
|
1079
|
+
},
|
|
932
1080
|
|
|
933
1081
|
// ── OpenAI (GPT Image) ──
|
|
934
1082
|
"gpt-image": {
|
|
@@ -1651,6 +1799,121 @@ const IMAGE_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1651
1799
|
resolutions: ["1K", "2K"],
|
|
1652
1800
|
pricing: [{ identifier: "seedream-5-flash-i2i", credits: 10, note: "1K / 2K flat" }],
|
|
1653
1801
|
},
|
|
1802
|
+
// Seedream 5.5 — a different model from Seedream 5 Lite, Pro and Flash, priced
|
|
1803
|
+
// by its size (1K and 1.5K the same, 2K dearer) and, on an edit, by each input
|
|
1804
|
+
// image (the rows are `ee/billing/seedream-5-5-pricing.ts`).
|
|
1805
|
+
// See: docs.kie.ai/market/seedream/5-5-text-to-image.md
|
|
1806
|
+
// docs.kie.ai/market/seedream/5-5-image-to-image.md
|
|
1807
|
+
"seedream-5-5": {
|
|
1808
|
+
id: "seedream-5-5",
|
|
1809
|
+
kind: "image",
|
|
1810
|
+
modes: ["t2i"] as const,
|
|
1811
|
+
family: "Bytedance",
|
|
1812
|
+
maker: "bytedance",
|
|
1813
|
+
label: "Seedream 5.5",
|
|
1814
|
+
series: "Seedream",
|
|
1815
|
+
description: "Seedream 5.5 - more natural light, materials and skin, and dense small text that stays readable. A transparent background in one step, PNG or JPEG, at 1K, 1.5K or 2K (the default); 1K and 1.5K cost the same.",
|
|
1816
|
+
useCases: ["realistic", "typography", "product", "transparent"],
|
|
1817
|
+
features: ["reference-image"],
|
|
1818
|
+
aspectRatios: SEEDREAM_RATIOS,
|
|
1819
|
+
strictAspectRatios: true,
|
|
1820
|
+
resolutions: SEEDREAM_5_5_RESOLUTIONS,
|
|
1821
|
+
defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
|
|
1822
|
+
backgrounds: SEEDREAM_5_5_BACKGROUNDS,
|
|
1823
|
+
outputFormats: SEEDREAM_5_5_FORMATS,
|
|
1824
|
+
pricing: [
|
|
1825
|
+
{ identifier: "seedream-5-5", credits: 16, note: "2K default" },
|
|
1826
|
+
{ identifier: "seedream-5-5:1K", credits: 9, note: "1K" },
|
|
1827
|
+
{ identifier: "seedream-5-5:1.5K", credits: 9, note: "1.5K, the same as 1K" },
|
|
1828
|
+
{ identifier: "seedream-5-5:2K", credits: 16, note: "2K" },
|
|
1829
|
+
],
|
|
1830
|
+
},
|
|
1831
|
+
"seedream-5-5-i2i": {
|
|
1832
|
+
id: "seedream-5-5-i2i",
|
|
1833
|
+
kind: "image",
|
|
1834
|
+
modes: ["i2i"] as const,
|
|
1835
|
+
family: "Bytedance",
|
|
1836
|
+
maker: "bytedance",
|
|
1837
|
+
label: "Seedream 5.5 (I2I)",
|
|
1838
|
+
series: "Seedream",
|
|
1839
|
+
description: "Seedream 5.5 edits - change what you ask, round after round, and the rest of the picture stays as it was. Up to 10 input images, priced per image; a transparent background, PNG or JPEG, at 1K, 1.5K or 2K (the default).",
|
|
1840
|
+
useCases: ["edit", "iteration", "transparent"],
|
|
1841
|
+
features: ["reference-image"],
|
|
1842
|
+
aspectRatios: SEEDREAM_5_5_I2I_RATIOS,
|
|
1843
|
+
strictAspectRatios: true,
|
|
1844
|
+
resolutions: SEEDREAM_5_5_RESOLUTIONS,
|
|
1845
|
+
defaultResolution: SEEDREAM_5_5_DEFAULT_RESOLUTION,
|
|
1846
|
+
backgrounds: SEEDREAM_5_5_BACKGROUNDS,
|
|
1847
|
+
outputFormats: SEEDREAM_5_5_FORMATS,
|
|
1848
|
+
pricing: [
|
|
1849
|
+
{ identifier: "seedream-5-5-i2i", credits: 20, note: "2K, one input image (the default)" },
|
|
1850
|
+
{ identifier: "seedream-5-5-i2i:1K:1ref", credits: 13, note: "1K, one input image (the least)" },
|
|
1851
|
+
{ identifier: "seedream-5-5-i2i:1.5K:1ref", credits: 13, note: "1.5K, one input image" },
|
|
1852
|
+
{ identifier: "seedream-5-5-i2i:2K:1ref", credits: 20, note: "2K, one input image" },
|
|
1853
|
+
{ identifier: "seedream-5-5-i2i:1K:10ref", credits: 45, note: "1K, ten input images" },
|
|
1854
|
+
{ identifier: "seedream-5-5-i2i:2K:10ref", credits: 52, note: "2K, ten input images (the most)" },
|
|
1855
|
+
],
|
|
1856
|
+
},
|
|
1857
|
+
|
|
1858
|
+
// ── MiniMax H3 Image ──
|
|
1859
|
+
// MiniMax's H3 image model (KIE `minimax-h3/text-to-image` and
|
|
1860
|
+
// `minimax-h3/image-edit`). Not the H3 video model `minimax-h3`. A prompt
|
|
1861
|
+
// runs the text-to-image id; with reference images the run moves to the
|
|
1862
|
+
// edit id (`T2I_TO_I2I_VARIANT`). Priced by size, 1K and 2K the same, and an
|
|
1863
|
+
// edit by its reference images (`minimaxH3ImageCreditId`). "auto" is listed
|
|
1864
|
+
// LAST so a fallback that takes the first ratio lands on a real one: from a
|
|
1865
|
+
// prompt KIE's rewriter picks the ratio, in an edit it follows the first
|
|
1866
|
+
// reference image. KIE's prompt expansion is left on and its custom
|
|
1867
|
+
// width/height is not offered.
|
|
1868
|
+
// See: docs.kie.ai/market/minimax-h3/text-to-image.md
|
|
1869
|
+
// docs.kie.ai/market/minimax-h3/image-edit.md
|
|
1870
|
+
"minimax-h3-image": {
|
|
1871
|
+
id: "minimax-h3-image",
|
|
1872
|
+
kind: "image",
|
|
1873
|
+
modes: ["t2i"] as const,
|
|
1874
|
+
family: "MiniMax",
|
|
1875
|
+
maker: "minimax",
|
|
1876
|
+
label: "MiniMax H3 Image",
|
|
1877
|
+
series: "MiniMax Image",
|
|
1878
|
+
description: "MiniMax H3 Image: detailed pictures up to about 16 MP at 4K, with readable text inside the picture. Ten shapes plus auto, the same price at 1K and 2K (2K by default), PNG or JPEG.",
|
|
1879
|
+
useCases: ["typography", "high-res", "general"],
|
|
1880
|
+
features: ["reference-image"],
|
|
1881
|
+
aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
|
|
1882
|
+
resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
|
|
1883
|
+
defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
|
|
1884
|
+
outputFormats: ["png", "jpeg"],
|
|
1885
|
+
pricing: [
|
|
1886
|
+
{ identifier: "minimax-h3-image", credits: 5, note: "2K default" },
|
|
1887
|
+
{ identifier: "minimax-h3-image:1K", credits: 5, note: "1K" },
|
|
1888
|
+
{ identifier: "minimax-h3-image:2K", credits: 5, note: "2K" },
|
|
1889
|
+
{ identifier: "minimax-h3-image:4K", credits: 14, note: "4K" },
|
|
1890
|
+
],
|
|
1891
|
+
},
|
|
1892
|
+
"minimax-h3-image-i2i": {
|
|
1893
|
+
id: "minimax-h3-image-i2i",
|
|
1894
|
+
kind: "image",
|
|
1895
|
+
modes: ["i2i"] as const,
|
|
1896
|
+
family: "MiniMax",
|
|
1897
|
+
maker: "minimax",
|
|
1898
|
+
label: "MiniMax H3 Image (I2I)",
|
|
1899
|
+
series: "MiniMax Image",
|
|
1900
|
+
description: "MiniMax H3 Image edits: change or combine up to 16 reference images in one edit, with readable text, up to about 16 MP at 4K. Priced by size and by reference image; auto keeps the first image's shape.",
|
|
1901
|
+
useCases: ["edit", "typography", "multi-reference"],
|
|
1902
|
+
features: ["reference-image"],
|
|
1903
|
+
aspectRatios: MINIMAX_H3_IMAGE_RATIOS,
|
|
1904
|
+
resolutions: MINIMAX_H3_IMAGE_RESOLUTIONS,
|
|
1905
|
+
defaultResolution: MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION,
|
|
1906
|
+
outputFormats: ["png", "jpeg"],
|
|
1907
|
+
pricing: [
|
|
1908
|
+
{ identifier: "minimax-h3-image-i2i", credits: 6, note: "2K, one reference image" },
|
|
1909
|
+
{ identifier: "minimax-h3-image-i2i:1K:1ref", credits: 6, note: "1K, one reference image (the least)" },
|
|
1910
|
+
{ identifier: "minimax-h3-image-i2i:2K:1ref", credits: 6, note: "2K, one reference image" },
|
|
1911
|
+
{ identifier: "minimax-h3-image-i2i:2K:4ref", credits: 10, note: "2K, four reference images" },
|
|
1912
|
+
{ identifier: "minimax-h3-image-i2i:4K:1ref", credits: 15, note: "4K, one reference image" },
|
|
1913
|
+
{ identifier: "minimax-h3-image-i2i:2K:16ref", credits: 25, note: "2K, sixteen reference images" },
|
|
1914
|
+
{ identifier: "minimax-h3-image-i2i:4K:16ref", credits: 34, note: "4K, sixteen reference images (the most)" },
|
|
1915
|
+
],
|
|
1916
|
+
},
|
|
1654
1917
|
|
|
1655
1918
|
// ── Alibaba Qwen ──
|
|
1656
1919
|
"qwen": {
|
|
@@ -1859,6 +2122,28 @@ const IMAGE_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1859
2122
|
{ identifier: "topaz-image-upscale:4K", credits: 50, note: "4x (legacy identifier)" },
|
|
1860
2123
|
],
|
|
1861
2124
|
},
|
|
2125
|
+
"nodaro-image-upscale": {
|
|
2126
|
+
id: "nodaro-image-upscale",
|
|
2127
|
+
kind: "image",
|
|
2128
|
+
modes: ["upscale"] as const,
|
|
2129
|
+
family: "Nodaro Upscale",
|
|
2130
|
+
ownLabel: true,
|
|
2131
|
+
label: "Nodaro Image Upscale",
|
|
2132
|
+
series: "Nodaro Upscale",
|
|
2133
|
+
description: "Image upscale at 1x (enhance only), 2x, 4x or 8x. Restores detail and keeps lettering exactly as written; the output is the input times the factor, nothing cropped. Priced by the output's size.",
|
|
2134
|
+
useCases: ["upscale", "high-res", "typography", "utility"],
|
|
2135
|
+
features: ["reference-image"],
|
|
2136
|
+
// No `resolutions`: the one lever is the upscale factor (`NODARO_IMAGE_UPSCALE_FACTORS`).
|
|
2137
|
+
// The price follows the OUTPUT's total pixels (`@nodaro/render-rules`
|
|
2138
|
+
// nodaro-image-upscale-pricing.ts); the bare id is the hold when the image's size
|
|
2139
|
+
// cannot be read before the run, settled to the delivered output's tier.
|
|
2140
|
+
pricing: [
|
|
2141
|
+
{ identifier: "nodaro-image-upscale:2K", credits: 4, note: "output up to 4,194,304 pixels (2048 × 2048)" },
|
|
2142
|
+
{ identifier: "nodaro-image-upscale:4K", credits: 10, note: "output up to 16,777,216 pixels (4096 × 4096)" },
|
|
2143
|
+
{ identifier: "nodaro-image-upscale:8K", credits: 30, note: "output up to 67,108,864 pixels (8192 × 8192)" },
|
|
2144
|
+
{ identifier: "nodaro-image-upscale", credits: 30, note: "held when the image's size cannot be read before the run; the output's tier is charged" },
|
|
2145
|
+
],
|
|
2146
|
+
},
|
|
1862
2147
|
}
|
|
1863
2148
|
|
|
1864
2149
|
// =============================================================================
|
|
@@ -2325,6 +2610,49 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
2325
2610
|
{ identifier: "kling-4-keyframes:30s:1080p", credits: 3190, note: "30s 1080p (max)" },
|
|
2326
2611
|
],
|
|
2327
2612
|
},
|
|
2613
|
+
// Kling 4.0 Flash — ONE id over KIE's two Flash endpoints, picked by what is
|
|
2614
|
+
// wired (backend kie/kling4.ts): a start frame alone runs on
|
|
2615
|
+
// docs.kie.ai/market/kling/v4-flash-keyframe-to-video, where it is the exact
|
|
2616
|
+
// opening frame; everything else (text, reference images, videos,
|
|
2617
|
+
// characters, or a start frame beside any of them) runs on
|
|
2618
|
+
// docs.kie.ai/market/kling/v4-flash-reference-to-video, where a start frame
|
|
2619
|
+
// joins the reference images as on kling-4. Reference: up to 10 images, 5
|
|
2620
|
+
// videos (2-20s together) and 7 characters (15 in all). No standalone voices:
|
|
2621
|
+
// audio clip N becomes wired character N's voice when that character has 2-4
|
|
2622
|
+
// images (otherwise the clip is dropped). No end
|
|
2623
|
+
// frame, no 1080p, no seed. 3-20s, 720p, native audio always on. Per-second
|
|
2624
|
+
// billing; a reference-video run bills its input seconds too.
|
|
2625
|
+
"kling-4-flash": {
|
|
2626
|
+
id: "kling-4-flash",
|
|
2627
|
+
kind: "video",
|
|
2628
|
+
modes: ["i2v", "t2v"] as const,
|
|
2629
|
+
family: "Kuaishou",
|
|
2630
|
+
maker: "kuaishou",
|
|
2631
|
+
label: "Kling 4.0 Flash",
|
|
2632
|
+
series: "Kling",
|
|
2633
|
+
description: "Kling 4.0 Flash — the faster, lower-cost Kling 4.0 at 720p, up to 20s with native audio; a start frame, reference images, videos and characters (each can carry a voice clip), or plain text.",
|
|
2634
|
+
useCases: ["fast", "cheap", "narrative", "reference"],
|
|
2635
|
+
// No `voices` array on Flash: a reference audio clip is a character's voice
|
|
2636
|
+
// (`voice-references` names that input "Voice Refs"). No `audio-soundtrack`
|
|
2637
|
+
// (the clips are voices, never a soundtrack), no `end-frame`, no
|
|
2638
|
+
// `video-reference` (the generate-video-pro extend chain is unwired, as on
|
|
2639
|
+
// kling-4).
|
|
2640
|
+
features: ["audio", "reference-image", "reference-to-video", "character-subjects", "voice-references"],
|
|
2641
|
+
aspectRatios: VIDEO_RATIOS_KLING_4,
|
|
2642
|
+
durations: [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
|
|
2643
|
+
defaultDuration: 5,
|
|
2644
|
+
resolutions: ["720p"],
|
|
2645
|
+
unlistedResolutionRendersAs: "720p",
|
|
2646
|
+
noSeed: true, // neither Flash schema has a `seed` (additionalProperties: false)
|
|
2647
|
+
pricing: [
|
|
2648
|
+
{ identifier: "kling-4-flash", credits: 220, note: "default 5s 720p — see :Ns:720p variants for exact" },
|
|
2649
|
+
{ identifier: "kling-4-flash:5s:720p", credits: 220, note: "5s 720p (the default tier)" },
|
|
2650
|
+
{ identifier: "kling-4-flash:3s:720p", credits: 130, note: "3s 720p (min)" },
|
|
2651
|
+
{ identifier: "kling-4-flash:10s:720p", credits: 430, note: "10s 720p" },
|
|
2652
|
+
{ identifier: "kling-4-flash:20s:720p", credits: 850, note: "20s 720p (max)" },
|
|
2653
|
+
{ identifier: "kling-4-flash:8s:720p-ref", credits: 230, note: "per-second anchor with a reference video: billed × (output + max(output, input seconds)) ÷ 8" },
|
|
2654
|
+
],
|
|
2655
|
+
},
|
|
2328
2656
|
|
|
2329
2657
|
// ── xAI Grok video ──
|
|
2330
2658
|
"grok-i2v": {
|
|
@@ -2349,35 +2677,49 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
2349
2677
|
{ identifier: "grok-i2v:15s", credits: 100 },
|
|
2350
2678
|
],
|
|
2351
2679
|
},
|
|
2352
|
-
// xAI Grok Imagine Video 1.5 — KIE image-to-video
|
|
2353
|
-
//
|
|
2354
|
-
//
|
|
2355
|
-
// the
|
|
2680
|
+
// xAI Grok Imagine Video 1.5 — KIE image-to-video
|
|
2681
|
+
// (docs.kie.ai/market/grok-imagine/1-5-preview), built by the backend's
|
|
2682
|
+
// bespoke runner (kie/grok-video-15.ts). The start frame is the exact first
|
|
2683
|
+
// frame and an end frame the exact last frame; one picture wired as both is a
|
|
2684
|
+
// seamless loop (KIE `loop_url`). The Image References are up to 4
|
|
2685
|
+
// in-between frames (KIE `keyframes`), spread evenly over the clip at whole
|
|
2686
|
+
// seconds — frames only, never loose references, so `keyframes` is declared
|
|
2687
|
+
// (it also keeps the model out of generate-video-pro, whose segments would
|
|
2688
|
+
// send cast references as frames). modes:["i2v"] and no `reference-to-video`:
|
|
2689
|
+
// every run needs its start image, in-between frames included. It is also
|
|
2690
|
+
// surfaced in the text-to-video dropdown for the unified node, where the t2v
|
|
2691
|
+
// route returns a clean "requires an input image" 400. Per-second billing by
|
|
2692
|
+
// resolution, with no per-image part.
|
|
2356
2693
|
"grok-imagine-video-1.5": {
|
|
2357
2694
|
id: "grok-imagine-video-1.5",
|
|
2358
2695
|
kind: "video",
|
|
2359
2696
|
modes: ["i2v"] as const,
|
|
2360
|
-
|
|
2361
|
-
// audit): KIE's grok-imagine endpoint accepts a single image_url (the i2v
|
|
2362
|
-
// start frame) only — there is no reference transport, so advertising the
|
|
2363
|
-
// feature let the editor attach refs that were silently dropped at the
|
|
2364
|
-
// provider. Also kept OUT of VIDEO_REF_LIMITS_BY_PROVIDER for the same reason.
|
|
2697
|
+
features: ["end-frame", "reference-image", "keyframes"],
|
|
2365
2698
|
family: "xAI",
|
|
2366
2699
|
maker: "xai",
|
|
2367
2700
|
label: "Grok Imagine Video 1.5",
|
|
2368
2701
|
series: "Grok",
|
|
2369
|
-
description: "Grok Imagine 1.5
|
|
2702
|
+
description: "Grok Imagine Video 1.5 — 1–15s at 480p, 720p or 1080p, per-second pricing. An exact first and last frame (the same image as both makes a seamless loop) and up to 4 in-between frames. Requires an input image.",
|
|
2370
2703
|
useCases: ["stylized", "motion"],
|
|
2371
2704
|
aspectRatios: ["16:9", "9:16", "1:1", "4:3", "3:4"],
|
|
2372
2705
|
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
2373
2706
|
defaultDuration: 8,
|
|
2374
|
-
resolutions: ["480p", "720p"],
|
|
2707
|
+
resolutions: ["480p", "720p", "1080p"],
|
|
2708
|
+
// normalizeGrokVideo15Resolution sends 480p for anything off the list.
|
|
2709
|
+
unlistedResolutionRendersAs: "480p",
|
|
2710
|
+
// KIE refuses 1080p beside anything but a lone start frame ("1080p is only
|
|
2711
|
+
// supported for text-to-video or a single image used as the first frame",
|
|
2712
|
+
// a staging run 2026-11-12): no end frame, loop or in-between frames.
|
|
2713
|
+
startFrameOnlyResolutions: ["1080p"],
|
|
2714
|
+
noSeed: true, // the KIE schema has no `seed` (additionalProperties: false)
|
|
2375
2715
|
pricing: [
|
|
2376
|
-
{ identifier: "grok-imagine-video-1.5", credits:
|
|
2377
|
-
{ identifier: "grok-imagine-video-1.5:8s:480p", credits:
|
|
2378
|
-
{ identifier: "grok-imagine-video-1.5:8s:720p", credits:
|
|
2379
|
-
{ identifier: "grok-imagine-video-1.5:
|
|
2380
|
-
{ identifier: "grok-imagine-video-1.5:15s:
|
|
2716
|
+
{ identifier: "grok-imagine-video-1.5", credits: 50, note: "default 8s 480p — see :Ns:res variants" },
|
|
2717
|
+
{ identifier: "grok-imagine-video-1.5:8s:480p", credits: 50, note: "8s 480p" },
|
|
2718
|
+
{ identifier: "grok-imagine-video-1.5:8s:720p", credits: 90, note: "8s 720p" },
|
|
2719
|
+
{ identifier: "grok-imagine-video-1.5:8s:1080p", credits: 160, note: "8s 1080p" },
|
|
2720
|
+
{ identifier: "grok-imagine-video-1.5:15s:480p", credits: 90, note: "15s 480p (max)" },
|
|
2721
|
+
{ identifier: "grok-imagine-video-1.5:15s:720p", credits: 170, note: "15s 720p (max)" },
|
|
2722
|
+
{ identifier: "grok-imagine-video-1.5:15s:1080p", credits: 300, note: "15s 1080p (max)" },
|
|
2381
2723
|
],
|
|
2382
2724
|
},
|
|
2383
2725
|
|
|
@@ -2485,6 +2827,7 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
2485
2827
|
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],
|
|
2486
2828
|
defaultDuration: 8,
|
|
2487
2829
|
autoDuration: true,
|
|
2830
|
+
referenceTaskTypes: ["reference", "edit", "extend"],
|
|
2488
2831
|
resolutions: ["480p", "720p", "1080p"],
|
|
2489
2832
|
// KIE refuses a seed on Seedance 2.5 (422) — the provider config omits it.
|
|
2490
2833
|
noSeed: true,
|
|
@@ -2917,6 +3260,49 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
2917
3260
|
{ identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" },
|
|
2918
3261
|
],
|
|
2919
3262
|
},
|
|
3263
|
+
// ── PixVerse ──
|
|
3264
|
+
// PixVerse V6 Max — ONE id over two KIE endpoints, picked by what is wired
|
|
3265
|
+
// (backend kie/pixverse-v6-max.ts): a start frame runs on
|
|
3266
|
+
// docs.kie.ai/market/pixverse/v6-max-image-to-video, where it is the exact
|
|
3267
|
+
// first frame and the output takes its shape (no aspect ratio is sent); no
|
|
3268
|
+
// image runs on docs.kie.ai/market/pixverse/v6-max-text-to-video, with one of
|
|
3269
|
+
// eight aspect ratios. No end frame, no reference images, videos or audio.
|
|
3270
|
+
// 1-15s, 360p-1080p (`quality` on the wire). Native audio behind the
|
|
3271
|
+
// `generate_audio_switch` lever: the price depends on it, so it bills on the
|
|
3272
|
+
// `:audio` rows (AUDIO_ADDON_PROVIDERS), and a request that names no audio
|
|
3273
|
+
// setting renders and bills audio ON (decided 2026-11-11). `resolutions` is
|
|
3274
|
+
// ascending (repo convention); the default tier (720p) is declared, never
|
|
3275
|
+
// carried by array position — 360p is the cheapest preview tier.
|
|
3276
|
+
"pixverse-v6-max": {
|
|
3277
|
+
id: "pixverse-v6-max",
|
|
3278
|
+
kind: "video",
|
|
3279
|
+
modes: ["i2v", "t2v"] as const,
|
|
3280
|
+
family: "PixVerse",
|
|
3281
|
+
maker: "pixverse",
|
|
3282
|
+
label: "PixVerse V6 Max",
|
|
3283
|
+
series: "PixVerse",
|
|
3284
|
+
description: "PixVerse V6 Max — cinematic video from text or from an exact first frame, 1–15s at 360p to 1080p, with optional native audio (on by default; it changes the price). Strong prompt following, camera control and on-screen text.",
|
|
3285
|
+
useCases: ["cinematic", "narrative", "typography", "motion"],
|
|
3286
|
+
features: ["audio"],
|
|
3287
|
+
aspectRatios: VIDEO_RATIOS_PIXVERSE_V6_MAX,
|
|
3288
|
+
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
3289
|
+
defaultDuration: 5,
|
|
3290
|
+
resolutions: ["360p", "540p", "720p", "1080p"],
|
|
3291
|
+
defaultResolution: "720p",
|
|
3292
|
+
// normalizePixverseV6MaxQuality sends 720p for anything off the list.
|
|
3293
|
+
unlistedResolutionRendersAs: "720p",
|
|
3294
|
+
// Generate Video Pro runs it from a start anchor or text (decided 2026-11-12).
|
|
3295
|
+
gvpWithoutReferences: true,
|
|
3296
|
+
pricing: [
|
|
3297
|
+
{ identifier: "pixverse-v6-max", credits: 150, note: "default 5s 720p with audio — see :Ns:res and :Ns:res:audio variants for exact" },
|
|
3298
|
+
{ identifier: "pixverse-v6-max:5s:720p:audio", credits: 150, note: "5s 720p with audio (the default tier)" },
|
|
3299
|
+
{ identifier: "pixverse-v6-max:5s:720p", credits: 110, note: "5s 720p, no audio" },
|
|
3300
|
+
{ identifier: "pixverse-v6-max:5s:360p", credits: 60, note: "5s 360p, no audio" },
|
|
3301
|
+
{ identifier: "pixverse-v6-max:5s:1080p:audio", credits: 280, note: "5s 1080p with audio" },
|
|
3302
|
+
{ identifier: "pixverse-v6-max:1s:360p", credits: 20, note: "1s 360p, no audio (min)" },
|
|
3303
|
+
{ identifier: "pixverse-v6-max:15s:1080p:audio", credits: 840, note: "15s 1080p with audio (max)" },
|
|
3304
|
+
],
|
|
3305
|
+
},
|
|
2920
3306
|
// ── Bytedance video lite/pro ──
|
|
2921
3307
|
"bytedance-lite": {
|
|
2922
3308
|
id: "bytedance-lite",
|
|
@@ -3042,24 +3428,68 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
3042
3428
|
useCases: ["extend"],
|
|
3043
3429
|
pricing: [{ identifier: "runway-extend", credits: 320 }],
|
|
3044
3430
|
},
|
|
3045
|
-
|
|
3046
|
-
|
|
3431
|
+
// Seedance extends ANY video, one provider per model. Each is priced on its
|
|
3432
|
+
// own rows (`tailExtendCreditId`), one per second added and resolution.
|
|
3433
|
+
// The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
|
|
3434
|
+
"seedance-2-5-extend": {
|
|
3435
|
+
id: "seedance-2-5-extend",
|
|
3436
|
+
kind: "video",
|
|
3437
|
+
modes: ["extend"] as const,
|
|
3438
|
+
family: "Bytedance",
|
|
3439
|
+
maker: "bytedance",
|
|
3440
|
+
label: "Seedance 2.5 Extend",
|
|
3441
|
+
series: "Seedance",
|
|
3442
|
+
description: "Extend ANY video with Seedance 2.5: 4–30s continuation (audio included), stitched into one seamless clip.",
|
|
3443
|
+
useCases: ["extend"],
|
|
3444
|
+
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],
|
|
3445
|
+
defaultDuration: 8,
|
|
3446
|
+
resolutions: ["480p", "720p", "1080p"],
|
|
3447
|
+
pricing: [
|
|
3448
|
+
{ identifier: "seedance-2-5-extend:8s:720p", credits: 950, note: "default 8s 720p — see :Ns:res variants for exact" },
|
|
3449
|
+
{ identifier: "seedance-2-5-extend:8s:480p", credits: 425, note: "8s 480p" },
|
|
3450
|
+
{ identifier: "seedance-2-5-extend:8s:1080p", credits: 2375, note: "8s 1080p" },
|
|
3451
|
+
],
|
|
3452
|
+
},
|
|
3453
|
+
"seedance-2-0-extend": {
|
|
3454
|
+
id: "seedance-2-0-extend",
|
|
3047
3455
|
kind: "video",
|
|
3048
3456
|
modes: ["extend"] as const,
|
|
3049
3457
|
family: "Bytedance",
|
|
3050
3458
|
maker: "bytedance",
|
|
3051
|
-
label: "Seedance 2 Extend",
|
|
3459
|
+
label: "Seedance 2.0 Extend",
|
|
3052
3460
|
series: "Seedance",
|
|
3053
|
-
description: "Extend ANY video:
|
|
3461
|
+
description: "Extend ANY video with Seedance 2.0: 4–15s continuation (audio included), stitched into one seamless clip.",
|
|
3054
3462
|
useCases: ["extend"],
|
|
3055
3463
|
durations: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
3056
3464
|
defaultDuration: 8,
|
|
3057
3465
|
resolutions: ["480p", "720p", "1080p"],
|
|
3058
3466
|
pricing: [
|
|
3059
|
-
{ identifier: "seedance-2-extend", credits:
|
|
3060
|
-
{ identifier: "seedance-2-extend:8s:480p", credits:
|
|
3061
|
-
{ identifier: "seedance-2-extend:8s:
|
|
3062
|
-
|
|
3467
|
+
{ identifier: "seedance-2-0-extend:8s:720p", credits: 625, note: "default 8s 720p — see :Ns:res variants for exact" },
|
|
3468
|
+
{ identifier: "seedance-2-0-extend:8s:480p", credits: 288, note: "8s 480p" },
|
|
3469
|
+
{ identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" },
|
|
3470
|
+
],
|
|
3471
|
+
},
|
|
3472
|
+
// Kling 4 extends ANY video with the same tail recipe, generated on Kling
|
|
3473
|
+
// 4.0 (`kling-4`, reference-to-video): its own entry, so a deployment can
|
|
3474
|
+
// withhold or release it apart from Kling 4.0 generation, and its own rows
|
|
3475
|
+
// (`tailExtendCreditId`), one per second added and resolution. Its sound is
|
|
3476
|
+
// always on (Kling 4.0 has no switch).
|
|
3477
|
+
"kling-4-extend": {
|
|
3478
|
+
id: "kling-4-extend",
|
|
3479
|
+
kind: "video",
|
|
3480
|
+
modes: ["extend"] as const,
|
|
3481
|
+
family: "Kuaishou",
|
|
3482
|
+
maker: "kuaishou",
|
|
3483
|
+
label: "Kling 4 Extend",
|
|
3484
|
+
series: "Kling",
|
|
3485
|
+
description: "Extend ANY video with Kling 4: 3–30s continuation (audio included), stitched into one seamless clip.",
|
|
3486
|
+
useCases: ["extend"],
|
|
3487
|
+
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],
|
|
3488
|
+
defaultDuration: 5,
|
|
3489
|
+
resolutions: ["720p", "1080p"],
|
|
3490
|
+
pricing: [
|
|
3491
|
+
{ identifier: "kling-4-extend:5s:720p", credits: 425, note: "default 5s 720p — see :Ns:res variants for exact" },
|
|
3492
|
+
{ identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" },
|
|
3063
3493
|
],
|
|
3064
3494
|
},
|
|
3065
3495
|
"veo-1080p": {
|
|
@@ -3122,6 +3552,32 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
3122
3552
|
// Topaz units the provider reports, never above the hold.
|
|
3123
3553
|
pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }],
|
|
3124
3554
|
},
|
|
3555
|
+
// Nodaro Video Upscale (decided 2026-11-11): offered under the deployment's
|
|
3556
|
+
// own label, so it names no maker, and only where the deployment serves it
|
|
3557
|
+
// (the backend's house-model seam). Priced per second of the clip
|
|
3558
|
+
// (the clip's length rounded up to a whole second): each tier's row is the
|
|
3559
|
+
// price of FOUR seconds, so a per-second rate that is not a whole credit
|
|
3560
|
+
// still fits a whole-credit row, and a run is charged row × seconds ÷ 4,
|
|
3561
|
+
// rounded up once (`@nodaro/render-rules` nodaro-video-upscale-pricing.ts).
|
|
3562
|
+
"nodaro-video-upscale": {
|
|
3563
|
+
id: "nodaro-video-upscale",
|
|
3564
|
+
kind: "video",
|
|
3565
|
+
modes: ["video-upscale"] as const,
|
|
3566
|
+
family: "Nodaro Upscale",
|
|
3567
|
+
ownLabel: true,
|
|
3568
|
+
label: "Nodaro Video Upscale",
|
|
3569
|
+
series: "Nodaro Upscale",
|
|
3570
|
+
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.",
|
|
3571
|
+
useCases: ["upscale", "high-res"],
|
|
3572
|
+
// An output box (1920×1080, 2560×1440, 3840×2160; turned for a portrait clip).
|
|
3573
|
+
resolutions: ["1080p", "2k", "4k"],
|
|
3574
|
+
defaultResolution: "1080p",
|
|
3575
|
+
pricing: [
|
|
3576
|
+
{ identifier: "nodaro-video-upscale:1080p:per-4s", credits: 15, note: "per 4 seconds of the clip at 1080p; charged per whole second" },
|
|
3577
|
+
{ identifier: "nodaro-video-upscale:2k:per-4s", credits: 30, note: "per 4 seconds of the clip at 2K; charged per whole second" },
|
|
3578
|
+
{ identifier: "nodaro-video-upscale:4k:per-4s", credits: 60, note: "per 4 seconds of the clip at 4K; charged per whole second" },
|
|
3579
|
+
],
|
|
3580
|
+
},
|
|
3125
3581
|
|
|
3126
3582
|
// ── Motion transfer ──
|
|
3127
3583
|
"motion-transfer": {
|
|
@@ -3164,6 +3620,50 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
3164
3620
|
{ identifier: "kling-3.0-motion:1080p:10s", credits: 500 },
|
|
3165
3621
|
],
|
|
3166
3622
|
},
|
|
3623
|
+
// Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
|
|
3624
|
+
// restriction can name them. Before, `models.allow` could not withhold them
|
|
3625
|
+
// while the Motion Transfer node and /v1/motion-transfer kept running them
|
|
3626
|
+
// beside the Kling models. The sizes are the three each runs at and is priced
|
|
3627
|
+
// on today (one flat row per size, any clip length); a size it does not have
|
|
3628
|
+
// (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
|
|
3629
|
+
// size `normalizeModelInput` moves it to (`motionTransferResolution`), and
|
|
3630
|
+
// the size a request naming none has always run at.
|
|
3631
|
+
"wan-animate-move": {
|
|
3632
|
+
id: "wan-animate-move",
|
|
3633
|
+
kind: "video",
|
|
3634
|
+
modes: ["motion-transfer"] as const,
|
|
3635
|
+
family: "Alibaba",
|
|
3636
|
+
maker: "alibaba",
|
|
3637
|
+
label: "Wan Animate Move",
|
|
3638
|
+
series: "Wan",
|
|
3639
|
+
description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
|
|
3640
|
+
useCases: ["motion-transfer", "cheap"],
|
|
3641
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3642
|
+
defaultResolution: "720p",
|
|
3643
|
+
pricing: [
|
|
3644
|
+
{ identifier: "wan-animate-move", credits: 255, note: "480p" },
|
|
3645
|
+
{ identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
|
|
3646
|
+
{ identifier: "wan-animate-move:720p", credits: 410, note: "720p" },
|
|
3647
|
+
],
|
|
3648
|
+
},
|
|
3649
|
+
"wan-animate-replace": {
|
|
3650
|
+
id: "wan-animate-replace",
|
|
3651
|
+
kind: "video",
|
|
3652
|
+
modes: ["motion-transfer"] as const,
|
|
3653
|
+
family: "Alibaba",
|
|
3654
|
+
maker: "alibaba",
|
|
3655
|
+
label: "Wan Animate Replace",
|
|
3656
|
+
series: "Wan",
|
|
3657
|
+
description: "Wan 2.2 Animate: replaces the person in a driving video with the subject of a still image, keeping the motion.",
|
|
3658
|
+
useCases: ["motion-transfer", "character-swap"],
|
|
3659
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3660
|
+
defaultResolution: "720p",
|
|
3661
|
+
pricing: [
|
|
3662
|
+
{ identifier: "wan-animate-replace", credits: 255, note: "480p" },
|
|
3663
|
+
{ identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
|
|
3664
|
+
{ identifier: "wan-animate-replace:720p", credits: 410, note: "720p" },
|
|
3665
|
+
],
|
|
3666
|
+
},
|
|
3167
3667
|
|
|
3168
3668
|
// ── Lip sync / talking-head ──
|
|
3169
3669
|
"kling-avatar": {
|
|
@@ -3225,6 +3725,25 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
3225
3725
|
{ identifier: "omnihuman-1-5:60s", credits: 4050 },
|
|
3226
3726
|
],
|
|
3227
3727
|
},
|
|
3728
|
+
// A different model from 1.5, offered beside it (decided 2026-11-11): one
|
|
3729
|
+
// image, 4 to 300 seconds of audio, 720p output, an optional prompt. It has
|
|
3730
|
+
// none of 1.5's levers — no speaker mask, no resolution, no fast mode, no
|
|
3731
|
+
// seed — so it declares no `resolutions` (`normalizeModelInput` drops one).
|
|
3732
|
+
// Charged per second of its audio at one rate (LIP_SYNC_AUDIO_RATES).
|
|
3733
|
+
"omnihuman-2-0": {
|
|
3734
|
+
id: "omnihuman-2-0",
|
|
3735
|
+
kind: "video",
|
|
3736
|
+
modes: ["lip-sync"] as const,
|
|
3737
|
+
family: "Bytedance",
|
|
3738
|
+
maker: "bytedance",
|
|
3739
|
+
label: "OmniHuman 2.0",
|
|
3740
|
+
series: "OmniHuman",
|
|
3741
|
+
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.",
|
|
3742
|
+
useCases: ["lip-sync", "talking-head", "long-form"],
|
|
3743
|
+
pricing: [
|
|
3744
|
+
{ identifier: "omnihuman-2-0:per-second", credits: 35, note: "per second of audio, rounded up; at least 4 seconds" },
|
|
3745
|
+
],
|
|
3746
|
+
},
|
|
3228
3747
|
"hailuo-avatar": {
|
|
3229
3748
|
id: "hailuo-avatar",
|
|
3230
3749
|
kind: "video",
|
|
@@ -3794,6 +4313,23 @@ const AUDIO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
3794
4313
|
useCases: ["transcription", "stt"],
|
|
3795
4314
|
pricing: [{ identifier: "whisper", credits: 40 }],
|
|
3796
4315
|
},
|
|
4316
|
+
// NVIDIA's speech-to-text on KIE, priced per started minute of the file. Its
|
|
4317
|
+
// per-minute base fits no whole-credit row, so the row prices FOUR
|
|
4318
|
+
// minutes and a run is charged row × minutes ÷ 4, rounded up once
|
|
4319
|
+
// (`@nodaro/shared` credit-estimators/nemotron-transcribe.ts).
|
|
4320
|
+
"nemotron-3-5-transcribe": {
|
|
4321
|
+
id: "nemotron-3-5-transcribe",
|
|
4322
|
+
kind: "audio",
|
|
4323
|
+
modes: ["stt"] as const,
|
|
4324
|
+
family: "NVIDIA",
|
|
4325
|
+
maker: "nvidia",
|
|
4326
|
+
label: "Nemotron 3.5 Transcribe",
|
|
4327
|
+
series: "Nemotron",
|
|
4328
|
+
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.",
|
|
4329
|
+
useCases: ["transcription", "stt", "captions", "translation"],
|
|
4330
|
+
features: ["word-timestamps", "diarization", "translation"],
|
|
4331
|
+
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" }],
|
|
4332
|
+
},
|
|
3797
4333
|
"elevenlabs-isolation": {
|
|
3798
4334
|
id: "elevenlabs-isolation",
|
|
3799
4335
|
kind: "audio",
|
|
@@ -3964,7 +4500,8 @@ export function listModels(filter?: {
|
|
|
3964
4500
|
mode?: ModelMode
|
|
3965
4501
|
family?: string
|
|
3966
4502
|
}): ModelCatalogEntry[] {
|
|
3967
|
-
|
|
4503
|
+
// A model the platform runs on its own is offered nowhere (`pickerHidden`).
|
|
4504
|
+
const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true)
|
|
3968
4505
|
if (!filter) return all
|
|
3969
4506
|
return all.filter((m) => {
|
|
3970
4507
|
if (filter.kind && m.kind !== filter.kind) return false
|
|
@@ -4303,6 +4840,31 @@ export function isAutoAspectToken(value: unknown): boolean {
|
|
|
4303
4840
|
return typeof value === "string" && value.trim().toLowerCase() === "auto"
|
|
4304
4841
|
}
|
|
4305
4842
|
|
|
4843
|
+
/**
|
|
4844
|
+
* True for the video request's "Auto" ratio — the unified node's
|
|
4845
|
+
* provider-agnostic token — in exactly the spellings a video provider adapter
|
|
4846
|
+
* receives it as (`"Auto"`, `"auto"`). Narrower than {@link isAutoAspectToken}
|
|
4847
|
+
* on purpose: it is the wire rule's own match, so a reader of it agrees with
|
|
4848
|
+
* what is sent.
|
|
4849
|
+
*/
|
|
4850
|
+
export function isVideoAutoAspectToken(value: string | undefined): boolean {
|
|
4851
|
+
return value === "Auto" || value === "auto"
|
|
4852
|
+
}
|
|
4853
|
+
|
|
4854
|
+
/**
|
|
4855
|
+
* The ratio a video model runs the "Auto" token ({@link isVideoAutoAspectToken})
|
|
4856
|
+
* at: `"adaptive"` (match the input) when the request has a visual input to
|
|
4857
|
+
* match — a frame, a reference image or a reference video — and the model's
|
|
4858
|
+
* catalog lists `"adaptive"`; otherwise `undefined`, and the provider adapter
|
|
4859
|
+
* sends its own fixed default. The ONE mapping: the KIE adapter sends what it
|
|
4860
|
+
* says, and the Seedance reference task type resolver reads it to tell a ratio
|
|
4861
|
+
* it would replace from one that already runs at the ratio it forces.
|
|
4862
|
+
*/
|
|
4863
|
+
export function videoAutoAspectRunsAt(modelId: string | undefined, hasVisualInput: boolean): "adaptive" | undefined {
|
|
4864
|
+
if (!hasVisualInput || !modelId) return undefined
|
|
4865
|
+
return MODEL_CATALOG[modelId]?.aspectRatios?.includes("adaptive") ? "adaptive" : undefined
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4306
4868
|
function usableSize(size: SourceImageSize | undefined): size is SourceImageSize {
|
|
4307
4869
|
return (
|
|
4308
4870
|
size !== undefined &&
|
|
@@ -5005,6 +5567,8 @@ const MODEL_VALUE_LABELS: Record<string, string> = {
|
|
|
5005
5567
|
"adaptive": "Adaptive",
|
|
5006
5568
|
// image resolutions
|
|
5007
5569
|
"1K": "1K (Standard)",
|
|
5570
|
+
// Only Seedream 5.5 lists it.
|
|
5571
|
+
"1.5K": "1.5K (Medium)",
|
|
5008
5572
|
"2K": "2K (High)",
|
|
5009
5573
|
"4K": "4K (Ultra)",
|
|
5010
5574
|
"4k": "4K",
|
|
@@ -5282,7 +5846,7 @@ export function modelIdsByKindMode(
|
|
|
5282
5846
|
.filter((m) => (kind === null ? true : m.kind === kind))
|
|
5283
5847
|
.filter((m) => m.modes.some((md) => modes.includes(md)))
|
|
5284
5848
|
.filter((m) => includeHidden || !m.mcpHidden)
|
|
5285
|
-
.filter((m) => !m.docsHidden)
|
|
5849
|
+
.filter((m) => !m.docsHidden && m.pickerHidden !== true)
|
|
5286
5850
|
.map((m) => m.id)
|
|
5287
5851
|
.sort()
|
|
5288
5852
|
if (ids.length === 0) {
|