@nodaro/shared 3.62.0 → 3.64.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-C7POAYFE.js → chunk-36VWLB4J.js} +3 -3
- package/dist/{chunk-C7POAYFE.js.map → chunk-36VWLB4J.js.map} +1 -1
- package/dist/{chunk-S24ZBUB4.js → chunk-3AYM47GW.js} +6 -32
- package/dist/chunk-3AYM47GW.js.map +1 -0
- package/dist/{chunk-YCXRSWCQ.js → chunk-3KTWYYCN.js} +8 -5
- package/dist/chunk-3KTWYYCN.js.map +1 -0
- package/dist/{chunk-ZES6EZC4.js → chunk-4IUE2JB7.js} +3 -3
- package/dist/{chunk-ZES6EZC4.js.map → chunk-4IUE2JB7.js.map} +1 -1
- package/dist/{chunk-MYJQELFN.cjs → chunk-5OBTGNUQ.cjs} +547 -29
- package/dist/chunk-5OBTGNUQ.cjs.map +1 -0
- package/dist/{chunk-TWF2OSH4.cjs → chunk-67CMMTLN.cjs} +4 -4
- package/dist/{chunk-TWF2OSH4.cjs.map → chunk-67CMMTLN.cjs.map} +1 -1
- package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
- package/dist/chunk-6BRWPJPP.cjs.map +1 -0
- package/dist/{chunk-S5TMRJMX.js → chunk-6YIV37V7.js} +4 -4
- package/dist/{chunk-S5TMRJMX.js.map → chunk-6YIV37V7.js.map} +1 -1
- package/dist/{chunk-3M4BNKFJ.cjs → chunk-7AJGUI7L.cjs} +202 -16
- package/dist/chunk-7AJGUI7L.cjs.map +1 -0
- package/dist/{chunk-JZGZ26YB.js → chunk-7KQ6W5DS.js} +4 -4
- package/dist/{chunk-JZGZ26YB.js.map → chunk-7KQ6W5DS.js.map} +1 -1
- package/dist/{chunk-IWWVPR3W.cjs → chunk-ACZZHHFZ.cjs} +149 -34
- package/dist/chunk-ACZZHHFZ.cjs.map +1 -0
- package/dist/{chunk-2W745U4A.cjs → chunk-AZNZ5WNZ.cjs} +42 -70
- package/dist/chunk-AZNZ5WNZ.cjs.map +1 -0
- package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
- package/dist/chunk-BQYCZLMF.js.map +1 -0
- package/dist/chunk-CHS2SIP6.cjs +504 -0
- package/dist/chunk-CHS2SIP6.cjs.map +1 -0
- package/dist/{chunk-CIPPPT7E.cjs → chunk-CHTZZRAL.cjs} +6 -6
- package/dist/{chunk-CIPPPT7E.cjs.map → chunk-CHTZZRAL.cjs.map} +1 -1
- package/dist/{chunk-AOJ6B7K4.cjs → chunk-D4KWNDPH.cjs} +12 -12
- package/dist/chunk-D4KWNDPH.cjs.map +1 -0
- package/dist/{chunk-5YYN5X57.js → chunk-DZ4IOP3Q.js} +536 -30
- package/dist/chunk-DZ4IOP3Q.js.map +1 -0
- package/dist/{chunk-VACPZPUA.cjs → chunk-EXEVT6D2.cjs} +15 -5
- package/dist/chunk-EXEVT6D2.cjs.map +1 -0
- package/dist/{chunk-5M43XMRB.cjs → chunk-FHGRKQVZ.cjs} +8 -8
- package/dist/{chunk-5M43XMRB.cjs.map → chunk-FHGRKQVZ.cjs.map} +1 -1
- package/dist/{chunk-KJSRPHJ2.cjs → chunk-GTWUS6MQ.cjs} +165 -54
- package/dist/chunk-GTWUS6MQ.cjs.map +1 -0
- package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
- package/dist/chunk-H5KHWTAE.js.map +1 -0
- package/dist/{chunk-G3KVK7OU.cjs → chunk-HDPJNNMF.cjs} +21 -21
- package/dist/{chunk-G3KVK7OU.cjs.map → chunk-HDPJNNMF.cjs.map} +1 -1
- package/dist/{chunk-3OYO3XCC.js → chunk-IYSOVS7O.js} +118 -24
- package/dist/chunk-IYSOVS7O.js.map +1 -0
- package/dist/{chunk-AFYTX4AI.cjs → chunk-J6B7J73J.cjs} +110 -50
- package/dist/chunk-J6B7J73J.cjs.map +1 -0
- package/dist/{chunk-I2RQB7VG.js → chunk-KB2SQAR3.js} +3 -3
- package/dist/{chunk-I2RQB7VG.js.map → chunk-KB2SQAR3.js.map} +1 -1
- package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
- package/dist/chunk-KSHAAPQF.cjs.map +1 -0
- package/dist/{chunk-6G7NN4S4.js → chunk-NIAFR5EE.js} +2 -2
- 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-IDTKF5EX.cjs → chunk-O4RPXBDZ.cjs} +12 -8
- package/dist/chunk-O4RPXBDZ.cjs.map +1 -0
- 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-PTD6EDUU.js → chunk-OBOOHG3N.js} +13 -4
- package/dist/chunk-OBOOHG3N.js.map +1 -0
- package/dist/{chunk-2D5LQFV4.cjs → chunk-OOZW2MM6.cjs} +9 -9
- package/dist/{chunk-2D5LQFV4.cjs.map → chunk-OOZW2MM6.cjs.map} +1 -1
- package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
- package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
- package/dist/{chunk-G4U3HW6W.js → chunk-PJJAZQVZ.js} +3 -3
- package/dist/{chunk-G4U3HW6W.js.map → chunk-PJJAZQVZ.js.map} +1 -1
- package/dist/{chunk-E2HZTGYX.js → chunk-Q2Y4JHF7.js} +7 -7
- package/dist/chunk-Q2Y4JHF7.js.map +1 -0
- package/dist/{chunk-FVII3KHN.js → chunk-QYU7J5EQ.js} +198 -17
- package/dist/chunk-QYU7J5EQ.js.map +1 -0
- package/dist/{chunk-JJNNM23P.js → chunk-S3UGLZSF.js} +3 -3
- package/dist/{chunk-JJNNM23P.js.map → chunk-S3UGLZSF.js.map} +1 -1
- package/dist/{chunk-CC4V2B7S.js → chunk-SHH2T4CR.js} +3 -3
- package/dist/{chunk-CC4V2B7S.js.map → chunk-SHH2T4CR.js.map} +1 -1
- package/dist/{chunk-4ZEFP2FQ.cjs → chunk-SPAHI7DY.cjs} +4 -4
- package/dist/{chunk-4ZEFP2FQ.cjs.map → chunk-SPAHI7DY.cjs.map} +1 -1
- package/dist/{chunk-Y6X7UJSD.js → chunk-SXHHLZ22.js} +122 -15
- package/dist/chunk-SXHHLZ22.js.map +1 -0
- package/dist/{chunk-HRY7KGAE.cjs → chunk-T2OVDF2M.cjs} +6 -6
- package/dist/{chunk-HRY7KGAE.cjs.map → chunk-T2OVDF2M.cjs.map} +1 -1
- package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
- package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
- package/dist/{chunk-NGKKNSK6.js → chunk-TPQJKS7D.js} +139 -16
- package/dist/chunk-TPQJKS7D.js.map +1 -0
- package/dist/{chunk-N7OUQK7E.cjs → chunk-TQW3R44P.cjs} +8 -8
- package/dist/{chunk-N7OUQK7E.cjs.map → chunk-TQW3R44P.cjs.map} +1 -1
- package/dist/{chunk-GSFB537T.js → chunk-TTGZ2L3O.js} +23 -4
- package/dist/chunk-TTGZ2L3O.js.map +1 -0
- package/dist/{chunk-SYWR5G3T.js → chunk-VPTA4Z7G.js} +54 -7
- package/dist/chunk-VPTA4Z7G.js.map +1 -0
- package/dist/{chunk-2HZGDZZN.cjs → chunk-VZ6TE23U.cjs} +6 -6
- package/dist/{chunk-2HZGDZZN.cjs.map → chunk-VZ6TE23U.cjs.map} +1 -1
- package/dist/{chunk-TRVWMKNE.cjs → chunk-W6VJAUGM.cjs} +285 -64
- package/dist/chunk-W6VJAUGM.cjs.map +1 -0
- package/dist/{chunk-UDDVDQMF.js → chunk-W7KHHNZR.js} +235 -37
- package/dist/chunk-W7KHHNZR.js.map +1 -0
- package/dist/{chunk-KYMHFVAZ.cjs → chunk-Y4GCJJPF.cjs} +2 -2
- package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
- package/dist/{chunk-6CSXMWL4.cjs → chunk-YQV53HRR.cjs} +27 -4
- package/dist/chunk-YQV53HRR.cjs.map +1 -0
- package/dist/{chunk-7FCTCWHD.js → chunk-ZI3QDUHO.js} +3 -3
- package/dist/{chunk-7FCTCWHD.js.map → chunk-ZI3QDUHO.js.map} +1 -1
- package/dist/entries/apps.cjs +43 -42
- package/dist/entries/apps.js +8 -7
- package/dist/entries/captions.cjs +38 -30
- package/dist/entries/captions.d.cts +47 -1
- package/dist/entries/captions.d.ts +47 -1
- package/dist/entries/captions.js +1 -1
- package/dist/entries/credits.cjs +354 -174
- package/dist/entries/credits.d.cts +378 -27
- package/dist/entries/credits.d.ts +378 -27
- package/dist/entries/credits.js +11 -11
- package/dist/entries/llm-models.cjs +77 -57
- package/dist/entries/llm-models.d.cts +108 -7
- package/dist/entries/llm-models.d.ts +108 -7
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +63 -63
- package/dist/entries/media.d.cts +8 -0
- package/dist/entries/media.d.ts +8 -0
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +161 -105
- package/dist/entries/model-catalog.d.cts +109 -22
- package/dist/entries/model-catalog.d.ts +109 -22
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +466 -322
- package/dist/entries/models.d.cts +71 -5
- package/dist/entries/models.d.ts +71 -5
- package/dist/entries/models.js +5 -5
- package/dist/entries/nodes.cjs +226 -209
- package/dist/entries/nodes.d.cts +66 -7
- package/dist/entries/nodes.d.ts +66 -7
- package/dist/entries/nodes.js +10 -9
- package/dist/entries/pipeline.cjs +156 -152
- package/dist/entries/pipeline.d.cts +14 -4
- package/dist/entries/pipeline.d.ts +14 -4
- 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 +154 -150
- package/dist/entries/video.d.cts +11 -2
- package/dist/entries/video.d.ts +11 -2
- package/dist/entries/video.js +6 -6
- package/dist/entries/workflow.cjs +150 -150
- package/dist/entries/workflow.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +2136 -1704
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +27 -27
- package/dist/{model-catalog-CCEcv08q.d.ts → model-catalog-Cf9fkEUp.d.cts} +45 -2
- package/dist/{model-catalog-CCEcv08q.d.cts → model-catalog-Cf9fkEUp.d.ts} +45 -2
- package/dist/{model-constants-B88p6XR0.d.ts → model-constants-BxjiWVQ9.d.ts} +215 -32
- package/dist/{model-constants-Cf3zaITt.d.cts → model-constants-C_Nyft_i.d.cts} +215 -32
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
- package/src/__tests__/credit-identifiers.test.ts +29 -0
- package/src/__tests__/extend-providers.test.ts +359 -39
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
- package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
- package/src/__tests__/flux-3-klein.test.ts +203 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
- package/src/__tests__/gvp-supported-providers.test.ts +27 -2
- 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 +139 -12
- package/src/__tests__/llm-price-key.test.ts +164 -1
- package/src/__tests__/model-makers.test.ts +3 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
- package/src/__tests__/node-runtime-keys.test.ts +7 -0
- package/src/__tests__/normalize-node-params.test.ts +172 -1
- 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-lip-sync-providers.test.ts +43 -0
- package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
- package/src/__tests__/seedance-task-type.test.ts +13 -3
- package/src/__tests__/sequence-execution.test.ts +22 -1
- package/src/__tests__/suno-credit-type.test.ts +21 -2
- package/src/__tests__/transcribe-capabilities.test.ts +41 -2
- package/src/__tests__/transcribe-preflight.test.ts +50 -1
- package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
- package/src/__tests__/video-analysis-pricing.test.ts +10 -9
- package/src/__tests__/video-audio-capability.test.ts +35 -6
- package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
- package/src/__tests__/video-upscale-params.test.ts +62 -0
- package/src/caption-styles.ts +62 -0
- package/src/catalog-projection.ts +8 -0
- package/src/credit-estimators/add-captions-nemotron.ts +73 -0
- package/src/credit-estimators/index.ts +20 -0
- package/src/credit-estimators/nemotron-transcribe.ts +87 -0
- package/src/credit-identifiers.ts +351 -41
- package/src/entries/captions.ts +2 -0
- package/src/entries/credits.ts +37 -2
- package/src/entries/llm-models.ts +6 -0
- package/src/entries/model-catalog.ts +22 -0
- package/src/entries/models.ts +50 -0
- package/src/entries/nodes.ts +4 -0
- package/src/entries/pipeline.ts +1 -1
- package/src/entries/video.ts +1 -1
- package/src/flux-3-klein.ts +69 -0
- package/src/freecut-protocol.ts +8 -0
- package/src/input-image-pricing.ts +23 -6
- package/src/lip-sync-levers.ts +56 -0
- package/src/lip-sync-pricing.ts +91 -1
- package/src/llm-models.ts +305 -16
- package/src/model-catalog.ts +529 -28
- package/src/model-constants.ts +417 -41
- package/src/model-tree.ts +2 -1
- package/src/nodaro-video-upscale.ts +48 -0
- package/src/node-default-mappings.ts +6 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +172 -3
- package/src/runtime-config/contract.ts +10 -7
- package/src/seedance-draft.ts +2 -1
- package/src/seedance-extend-rate.ts +116 -0
- package/src/sequence-execution.ts +24 -0
- package/src/transcribe-preflight.ts +81 -7
- package/src/video-analysis-pricing.ts +28 -15
- package/src/video-duration.ts +9 -0
- package/src/video-ui-defaults.ts +5 -3
- package/src/video-upscale-params.ts +67 -0
- package/dist/chunk-2W745U4A.cjs.map +0 -1
- package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
- package/dist/chunk-3OYO3XCC.js.map +0 -1
- package/dist/chunk-5YYN5X57.js.map +0 -1
- package/dist/chunk-6CSXMWL4.cjs.map +0 -1
- package/dist/chunk-6G7NN4S4.js.map +0 -1
- package/dist/chunk-AFYTX4AI.cjs.map +0 -1
- package/dist/chunk-AOJ6B7K4.cjs.map +0 -1
- package/dist/chunk-BLJUCPMV.cjs.map +0 -1
- package/dist/chunk-E2HZTGYX.js.map +0 -1
- package/dist/chunk-FVII3KHN.js.map +0 -1
- package/dist/chunk-GSFB537T.js.map +0 -1
- package/dist/chunk-HSHCCBIV.js.map +0 -1
- package/dist/chunk-IDTKF5EX.cjs.map +0 -1
- package/dist/chunk-IWWVPR3W.cjs.map +0 -1
- package/dist/chunk-KJSRPHJ2.cjs.map +0 -1
- package/dist/chunk-KYMHFVAZ.cjs.map +0 -1
- package/dist/chunk-MYJQELFN.cjs.map +0 -1
- package/dist/chunk-NGKKNSK6.js.map +0 -1
- package/dist/chunk-PTD6EDUU.js.map +0 -1
- package/dist/chunk-Q6IES3U2.js.map +0 -1
- package/dist/chunk-QWYFHQYK.cjs +0 -357
- package/dist/chunk-QWYFHQYK.cjs.map +0 -1
- package/dist/chunk-S24ZBUB4.js.map +0 -1
- package/dist/chunk-SYWR5G3T.js.map +0 -1
- package/dist/chunk-TRVWMKNE.cjs.map +0 -1
- package/dist/chunk-UDDVDQMF.js.map +0 -1
- package/dist/chunk-VACPZPUA.cjs.map +0 -1
- package/dist/chunk-WRSWH7US.cjs.map +0 -1
- package/dist/chunk-Y6X7UJSD.js.map +0 -1
- package/dist/chunk-YCXRSWCQ.js.map +0 -1
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
// src/video-duration.ts
|
|
2
|
+
var CONTAINER_OVERHANG_SEC = 0.25;
|
|
3
|
+
function extractVideoDurationFromNode(data) {
|
|
4
|
+
if (!data) return void 0;
|
|
5
|
+
const results = data.generatedResults;
|
|
6
|
+
const idx = data.activeResultIndex ?? 0;
|
|
7
|
+
const fromResult = results?.[idx]?.duration;
|
|
8
|
+
if (typeof fromResult === "number" && Number.isFinite(fromResult) && fromResult > 0) {
|
|
9
|
+
return fromResult;
|
|
10
|
+
}
|
|
11
|
+
const fromConfig = data.duration;
|
|
12
|
+
if (typeof fromConfig === "number" && Number.isFinite(fromConfig) && fromConfig > 0) {
|
|
13
|
+
return fromConfig;
|
|
14
|
+
}
|
|
15
|
+
return void 0;
|
|
16
|
+
}
|
|
17
|
+
function editPlanSourceDurationSec(data) {
|
|
18
|
+
const fromVideo = extractVideoDurationFromNode(data);
|
|
19
|
+
if (fromVideo !== void 0) return fromVideo;
|
|
20
|
+
const meta = data?.metadata;
|
|
21
|
+
if (typeof meta?.mediaUrl === "string" && meta.mediaUrl !== data?.extractedAudioUrl && meta.mediaUrl !== data?.url) {
|
|
22
|
+
return void 0;
|
|
23
|
+
}
|
|
24
|
+
const d = meta?.durationSeconds;
|
|
25
|
+
return typeof d === "number" && Number.isFinite(d) && d > 0 ? d : void 0;
|
|
26
|
+
}
|
|
27
|
+
|
|
1
28
|
// src/seedance-draft.ts
|
|
2
29
|
var SEEDANCE_DRAFT_MODELS = ["seedance-2-5"];
|
|
3
30
|
function isSeedanceDraftCapable(provider) {
|
|
@@ -9,7 +36,7 @@ var SEEDANCE_DRAFT_FINALIZE_RESOLUTION = "1080p";
|
|
|
9
36
|
var SEEDANCE_DRAFT_FINALIZE_MIN_SEC = 4;
|
|
10
37
|
var SEEDANCE_DRAFT_FINALIZE_MAX_SEC = 30;
|
|
11
38
|
function seedanceDraftFinalizeBillableSec(measuredSec) {
|
|
12
|
-
const whole = Math.max(1, Math.ceil(measuredSec -
|
|
39
|
+
const whole = Math.max(1, Math.ceil(measuredSec - CONTAINER_OVERHANG_SEC));
|
|
13
40
|
return Math.min(SEEDANCE_DRAFT_FINALIZE_MAX_SEC, Math.max(SEEDANCE_DRAFT_FINALIZE_MIN_SEC, whole));
|
|
14
41
|
}
|
|
15
42
|
function seedanceDraftFinalizeCreditId(durationSec, hasRefVideo) {
|
|
@@ -73,6 +100,29 @@ function seedream55Resolution(resolution) {
|
|
|
73
100
|
return SEEDREAM_5_5_RESOLUTIONS.find((r) => r === asked) ?? SEEDREAM_5_5_DEFAULT_RESOLUTION;
|
|
74
101
|
}
|
|
75
102
|
|
|
103
|
+
// src/flux-3-klein.ts
|
|
104
|
+
var FLUX_3_KLEIN_T2I = "flux-3-klein";
|
|
105
|
+
var FLUX_3_KLEIN_I2I = "flux-3-klein-i2i";
|
|
106
|
+
var FLUX_3_KLEIN_RESOLUTIONS = ["1K", "2K", "4K"];
|
|
107
|
+
var FLUX_3_KLEIN_DEFAULT_RESOLUTION = "1K";
|
|
108
|
+
var FLUX_3_KLEIN_MAX_INPUT_IMAGES = 10;
|
|
109
|
+
function isFlux3Klein(model) {
|
|
110
|
+
return model === FLUX_3_KLEIN_T2I || model === FLUX_3_KLEIN_I2I;
|
|
111
|
+
}
|
|
112
|
+
function isFlux3KleinI2i(model) {
|
|
113
|
+
return model === FLUX_3_KLEIN_I2I;
|
|
114
|
+
}
|
|
115
|
+
function flux3KleinResolution(resolution) {
|
|
116
|
+
const asked = typeof resolution === "string" ? resolution.trim().toUpperCase() : "";
|
|
117
|
+
return FLUX_3_KLEIN_RESOLUTIONS.find((r) => r === asked) ?? FLUX_3_KLEIN_DEFAULT_RESOLUTION;
|
|
118
|
+
}
|
|
119
|
+
function flux3KleinCreditId(provider, resolution, referenceImageCount) {
|
|
120
|
+
const size = flux3KleinResolution(resolution);
|
|
121
|
+
const images = Number.isFinite(referenceImageCount) ? Math.trunc(referenceImageCount) : 0;
|
|
122
|
+
const model = provider === FLUX_3_KLEIN_I2I || images > 0 ? FLUX_3_KLEIN_I2I : FLUX_3_KLEIN_T2I;
|
|
123
|
+
return `${model}:${size}`;
|
|
124
|
+
}
|
|
125
|
+
|
|
76
126
|
// src/model-catalog.ts
|
|
77
127
|
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";
|
|
78
128
|
var MODEL_MAKERS = {
|
|
@@ -81,6 +131,7 @@ var MODEL_MAKERS = {
|
|
|
81
131
|
bytedance: { name: "ByteDance" },
|
|
82
132
|
elevenlabs: { name: "ElevenLabs" },
|
|
83
133
|
google: { name: "Google" },
|
|
134
|
+
heygen: { name: "HeyGen" },
|
|
84
135
|
ideogram: { name: "Ideogram" },
|
|
85
136
|
kuaishou: { name: "Kuaishou" },
|
|
86
137
|
lightricks: { name: "Lightricks" },
|
|
@@ -88,7 +139,9 @@ var MODEL_MAKERS = {
|
|
|
88
139
|
meituan: { name: "Meituan" },
|
|
89
140
|
minimax: { name: "MiniMax" },
|
|
90
141
|
nodaro: { name: "Nodaro" },
|
|
142
|
+
nvidia: { name: "NVIDIA" },
|
|
91
143
|
openai: { name: "OpenAI" },
|
|
144
|
+
pixverse: { name: "PixVerse" },
|
|
92
145
|
recraft: { name: "Recraft" },
|
|
93
146
|
runway: { name: "Runway" },
|
|
94
147
|
shengshu: { name: "ShengShu" },
|
|
@@ -123,7 +176,7 @@ var MODEL_RECOMMENDATIONS = [
|
|
|
123
176
|
{ intent: "music / song generation", modelIds: ["suno-v6", "suno-v6_wild", "suno-v6_mini", "suno-v5_5"], note: "V6 is the default flagship; V6 Wild for bolder, less predictable results; V6 Mini when speed matters; v5.5 / v5 / v4 keep their own character. Same price." },
|
|
124
177
|
{ intent: "voice over / narration", modelIds: ["elevenlabs-v4", "elevenlabs-v3", "elevenlabs-v4-turbo", "elevenlabs-turbo"], note: "v4 is the default: [audio tags] for emotion and up to 10,000 characters per request. v3 is the previous expressive model, still selectable. v4 Turbo keeps v4's tags at Turbo's credit price; Turbo v2.5 is the cheapest for plain narration without tags." },
|
|
125
178
|
{ intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
|
|
126
|
-
{ intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper"], note: "Captions need WORD timestamps: ElevenLabs STT (always)
|
|
179
|
+
{ intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper", "nemotron-3-5-transcribe"], note: "Captions need WORD timestamps: ElevenLabs STT (always), Incredibly Fast Whisper or Nemotron 3.5 Transcribe (on request, with a speaker per word). Plain Whisper returns phrase segments only. To translate the speech (to or from English) instead of transcribing it, use Nemotron 3.5 Transcribe with a target language; a translation carries no word timings." },
|
|
127
180
|
{ intent: "motion transfer (drive a subject by another video)", modelIds: ["motion-transfer", "kling-3.0-motion"], note: "Kling 2.6 base is cheap; Kling 3.0 is premium." }
|
|
128
181
|
];
|
|
129
182
|
var NANO_BANANA_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9"];
|
|
@@ -221,6 +274,9 @@ var MINIMAX_H3_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"
|
|
|
221
274
|
var SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS];
|
|
222
275
|
var SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"];
|
|
223
276
|
var SEEDREAM_5_5_FORMATS = ["png", "jpeg"];
|
|
277
|
+
var FLUX_3_KLEIN_RATIOS = ["1:1", "4:3", "3:4", "3:2", "2:3", "16:9", "9:16", "21:9", "9:21"];
|
|
278
|
+
var FLUX_3_KLEIN_I2I_RATIOS = [...FLUX_3_KLEIN_RATIOS, "auto"];
|
|
279
|
+
var FLUX_3_KLEIN_FORMATS = ["png", "jpeg"];
|
|
224
280
|
var Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
|
|
225
281
|
var VIDEO_RATIOS_HV = ["16:9", "9:16"];
|
|
226
282
|
var VIDEO_RATIOS_HVS = ["16:9", "9:16", "1:1"];
|
|
@@ -231,6 +287,7 @@ var VIDEO_RATIOS_HAPPYHORSE_11 = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5
|
|
|
231
287
|
var VIDEO_RATIOS_WAN_3 = ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"];
|
|
232
288
|
var VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"];
|
|
233
289
|
var VIDEO_RATIOS_KLING_4 = ["auto", "16:9", "9:16", "1:1", "21:9"];
|
|
290
|
+
var VIDEO_RATIOS_PIXVERSE_V6_MAX = ["16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9"];
|
|
234
291
|
var IMAGE_MODELS = {
|
|
235
292
|
// ── Google Nano Banana ──
|
|
236
293
|
"nano-banana": {
|
|
@@ -443,6 +500,63 @@ var IMAGE_MODELS = {
|
|
|
443
500
|
aspectRatios: KONTEXT_RATIOS,
|
|
444
501
|
pricing: [{ identifier: "flux-kontext-max", credits: 25 }]
|
|
445
502
|
},
|
|
503
|
+
// ── FLUX 3 Klein ──
|
|
504
|
+
// The light model of Black Forest Labs' FLUX 3 (KIE `flux-3/klein-text-to-image`
|
|
505
|
+
// and `flux-3/klein-edit-image`). A different model from FLUX 2 Klein
|
|
506
|
+
// (`flux-2-klein`, below). A prompt runs the text-to-image id; with reference
|
|
507
|
+
// images the run moves to the edit id (`T2I_TO_I2I_VARIANT`). Priced by size
|
|
508
|
+
// alone, the same on both ids: reference images cost nothing
|
|
509
|
+
// (`flux3KleinCreditId`). Both schemas list a closed set of ratios and text to
|
|
510
|
+
// image has no "auto", so both entries declare `strictAspectRatios`. PNG (the
|
|
511
|
+
// default) or JPEG, as its siblings write (decided 2026-11-12); KIE's WebP is
|
|
512
|
+
// not offered. KIE's prompt enhancement is left on (never sent), and its
|
|
513
|
+
// custom width/height and several pictures per request are not offered.
|
|
514
|
+
// See: docs.kie.ai/market/flux3/klein-text-to-image.md
|
|
515
|
+
// docs.kie.ai/market/flux3/klein-edit-image.md
|
|
516
|
+
"flux-3-klein": {
|
|
517
|
+
id: "flux-3-klein",
|
|
518
|
+
kind: "image",
|
|
519
|
+
modes: ["t2i"],
|
|
520
|
+
family: "Black Forest Labs",
|
|
521
|
+
maker: "black-forest-labs",
|
|
522
|
+
label: "FLUX 3 Klein",
|
|
523
|
+
series: "Flux",
|
|
524
|
+
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.",
|
|
525
|
+
useCases: ["fast", "drafts", "iteration", "realistic"],
|
|
526
|
+
features: ["reference-image"],
|
|
527
|
+
aspectRatios: FLUX_3_KLEIN_RATIOS,
|
|
528
|
+
strictAspectRatios: true,
|
|
529
|
+
resolutions: FLUX_3_KLEIN_RESOLUTIONS,
|
|
530
|
+
outputFormats: FLUX_3_KLEIN_FORMATS,
|
|
531
|
+
pricing: [
|
|
532
|
+
{ identifier: "flux-3-klein", credits: 4, note: "1K default" },
|
|
533
|
+
{ identifier: "flux-3-klein:1K", credits: 4, note: "1K" },
|
|
534
|
+
{ identifier: "flux-3-klein:2K", credits: 7, note: "2K" },
|
|
535
|
+
{ identifier: "flux-3-klein:4K", credits: 17, note: "4K" }
|
|
536
|
+
]
|
|
537
|
+
},
|
|
538
|
+
"flux-3-klein-i2i": {
|
|
539
|
+
id: "flux-3-klein-i2i",
|
|
540
|
+
kind: "image",
|
|
541
|
+
modes: ["i2i"],
|
|
542
|
+
family: "Black Forest Labs",
|
|
543
|
+
maker: "black-forest-labs",
|
|
544
|
+
label: "FLUX 3 Klein (I2I)",
|
|
545
|
+
series: "Flux",
|
|
546
|
+
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.",
|
|
547
|
+
useCases: ["edit", "iteration", "multi-reference", "fast"],
|
|
548
|
+
features: ["reference-image"],
|
|
549
|
+
aspectRatios: FLUX_3_KLEIN_I2I_RATIOS,
|
|
550
|
+
strictAspectRatios: true,
|
|
551
|
+
resolutions: FLUX_3_KLEIN_RESOLUTIONS,
|
|
552
|
+
outputFormats: FLUX_3_KLEIN_FORMATS,
|
|
553
|
+
pricing: [
|
|
554
|
+
{ identifier: "flux-3-klein-i2i", credits: 4, note: "1K default" },
|
|
555
|
+
{ identifier: "flux-3-klein-i2i:1K", credits: 4, note: "1K" },
|
|
556
|
+
{ identifier: "flux-3-klein-i2i:2K", credits: 7, note: "2K" },
|
|
557
|
+
{ identifier: "flux-3-klein-i2i:4K", credits: 17, note: "4K" }
|
|
558
|
+
]
|
|
559
|
+
},
|
|
446
560
|
// ── Replicate "Open" (uncensored) — run direct via Replicate, not KIE ──
|
|
447
561
|
"flux-2-klein": {
|
|
448
562
|
id: "flux-2-klein",
|
|
@@ -524,6 +638,48 @@ var IMAGE_MODELS = {
|
|
|
524
638
|
// max
|
|
525
639
|
]
|
|
526
640
|
},
|
|
641
|
+
// A catalog entry so a deployment's model restriction can name it (decided
|
|
642
|
+
// 2026-11-12): before it, `models.allow` could not withhold it while the
|
|
643
|
+
// Modify Image node and /v1/image-to-image kept running it. It repaints the
|
|
644
|
+
// mask's white area of the image it is given, and its result is that image's
|
|
645
|
+
// size, so it takes no aspect ratio, size or quality: none is listed, and a
|
|
646
|
+
// value a request carries for one is dropped with an adjustment (as for
|
|
647
|
+
// Ideogram Edit). It never read one, so what it is sent is unchanged
|
|
648
|
+
// (backend flux-fill-requests-parity.test.ts). One input image, no
|
|
649
|
+
// reference images: no "reference-image" feature.
|
|
650
|
+
"flux-fill": {
|
|
651
|
+
id: "flux-fill",
|
|
652
|
+
kind: "image",
|
|
653
|
+
modes: ["edit"],
|
|
654
|
+
family: "Black Forest Labs",
|
|
655
|
+
maker: "black-forest-labs",
|
|
656
|
+
label: "FLUX Fill Pro",
|
|
657
|
+
series: "Flux",
|
|
658
|
+
description: "Masked inpainting from BFL via Replicate: repaints the mask's white area; the result keeps the image's size.",
|
|
659
|
+
useCases: ["edit", "inpaint"],
|
|
660
|
+
features: ["mask"],
|
|
661
|
+
pricing: [{ identifier: "flux-fill", credits: 30 }]
|
|
662
|
+
},
|
|
663
|
+
// A trained character's model (decided 2026-11-12): FLUX.1 [dev] with the
|
|
664
|
+
// character's own LoRA, which a Generate Image run switches to when the one
|
|
665
|
+
// character it names has a succeeded trained model. Never picked
|
|
666
|
+
// (`pickerHidden`): listed here so a deployment's restriction can name it.
|
|
667
|
+
// Where a deployment withholds it, a run does not switch and uses the
|
|
668
|
+
// character's reference pictures, as for a character with no trained model.
|
|
669
|
+
// Its levers are not listed: nothing snaps a request against this entry.
|
|
670
|
+
"flux-lora-character": {
|
|
671
|
+
id: "flux-lora-character",
|
|
672
|
+
kind: "image",
|
|
673
|
+
modes: ["t2i"],
|
|
674
|
+
family: "Black Forest Labs",
|
|
675
|
+
maker: "black-forest-labs",
|
|
676
|
+
label: "Trained character (FLUX LoRA)",
|
|
677
|
+
series: "Flux",
|
|
678
|
+
description: "A trained character's own model (FLUX.1 [dev] with its LoRA), run when a prompt names that one character.",
|
|
679
|
+
useCases: ["character"],
|
|
680
|
+
pricing: [{ identifier: "flux-lora-character", credits: 20 }],
|
|
681
|
+
pickerHidden: true
|
|
682
|
+
},
|
|
527
683
|
// ── OpenAI (GPT Image) ──
|
|
528
684
|
"gpt-image": {
|
|
529
685
|
id: "gpt-image",
|
|
@@ -2706,6 +2862,49 @@ var VIDEO_MODELS = {
|
|
|
2706
2862
|
{ identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" }
|
|
2707
2863
|
]
|
|
2708
2864
|
},
|
|
2865
|
+
// ── PixVerse ──
|
|
2866
|
+
// PixVerse V6 Max — ONE id over two KIE endpoints, picked by what is wired
|
|
2867
|
+
// (backend kie/pixverse-v6-max.ts): a start frame runs on
|
|
2868
|
+
// docs.kie.ai/market/pixverse/v6-max-image-to-video, where it is the exact
|
|
2869
|
+
// first frame and the output takes its shape (no aspect ratio is sent); no
|
|
2870
|
+
// image runs on docs.kie.ai/market/pixverse/v6-max-text-to-video, with one of
|
|
2871
|
+
// eight aspect ratios. No end frame, no reference images, videos or audio.
|
|
2872
|
+
// 1-15s, 360p-1080p (`quality` on the wire). Native audio behind the
|
|
2873
|
+
// `generate_audio_switch` lever: the price depends on it, so it bills on the
|
|
2874
|
+
// `:audio` rows (AUDIO_ADDON_PROVIDERS), and a request that names no audio
|
|
2875
|
+
// setting renders and bills audio ON (decided 2026-11-11). `resolutions` is
|
|
2876
|
+
// ascending (repo convention); the default tier (720p) is declared, never
|
|
2877
|
+
// carried by array position — 360p is the cheapest preview tier.
|
|
2878
|
+
"pixverse-v6-max": {
|
|
2879
|
+
id: "pixverse-v6-max",
|
|
2880
|
+
kind: "video",
|
|
2881
|
+
modes: ["i2v", "t2v"],
|
|
2882
|
+
family: "PixVerse",
|
|
2883
|
+
maker: "pixverse",
|
|
2884
|
+
label: "PixVerse V6 Max",
|
|
2885
|
+
series: "PixVerse",
|
|
2886
|
+
description: "PixVerse V6 Max \u2014 cinematic video from text or from an exact first frame, 1\u201315s at 360p to 1080p, with optional native audio (on by default; it changes the price). Strong prompt following, camera control and on-screen text.",
|
|
2887
|
+
useCases: ["cinematic", "narrative", "typography", "motion"],
|
|
2888
|
+
features: ["audio"],
|
|
2889
|
+
aspectRatios: VIDEO_RATIOS_PIXVERSE_V6_MAX,
|
|
2890
|
+
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
2891
|
+
defaultDuration: 5,
|
|
2892
|
+
resolutions: ["360p", "540p", "720p", "1080p"],
|
|
2893
|
+
defaultResolution: "720p",
|
|
2894
|
+
// normalizePixverseV6MaxQuality sends 720p for anything off the list.
|
|
2895
|
+
unlistedResolutionRendersAs: "720p",
|
|
2896
|
+
// Generate Video Pro runs it from a start anchor or text (decided 2026-11-12).
|
|
2897
|
+
gvpWithoutReferences: true,
|
|
2898
|
+
pricing: [
|
|
2899
|
+
{ identifier: "pixverse-v6-max", credits: 150, note: "default 5s 720p with audio \u2014 see :Ns:res and :Ns:res:audio variants for exact" },
|
|
2900
|
+
{ identifier: "pixverse-v6-max:5s:720p:audio", credits: 150, note: "5s 720p with audio (the default tier)" },
|
|
2901
|
+
{ identifier: "pixverse-v6-max:5s:720p", credits: 110, note: "5s 720p, no audio" },
|
|
2902
|
+
{ identifier: "pixverse-v6-max:5s:360p", credits: 60, note: "5s 360p, no audio" },
|
|
2903
|
+
{ identifier: "pixverse-v6-max:5s:1080p:audio", credits: 280, note: "5s 1080p with audio" },
|
|
2904
|
+
{ identifier: "pixverse-v6-max:1s:360p", credits: 20, note: "1s 360p, no audio (min)" },
|
|
2905
|
+
{ identifier: "pixverse-v6-max:15s:1080p:audio", credits: 840, note: "15s 1080p with audio (max)" }
|
|
2906
|
+
]
|
|
2907
|
+
},
|
|
2709
2908
|
// ── Bytedance video lite/pro ──
|
|
2710
2909
|
"bytedance-lite": {
|
|
2711
2910
|
id: "bytedance-lite",
|
|
@@ -2828,8 +3027,11 @@ var VIDEO_MODELS = {
|
|
|
2828
3027
|
useCases: ["extend"],
|
|
2829
3028
|
pricing: [{ identifier: "runway-extend", credits: 320 }]
|
|
2830
3029
|
},
|
|
2831
|
-
// Seedance extends ANY video, one provider per model.
|
|
2832
|
-
//
|
|
3030
|
+
// Seedance extends ANY video, one provider per model. Seedance 2.5 is charged
|
|
3031
|
+
// per second of video sent (the source's last 10 s, all of a shorter one)
|
|
3032
|
+
// and added, at its resolution's row, the price of two seconds (decided
|
|
3033
|
+
// 2026-11-12). Seedance 2.0 is priced on its own rows
|
|
3034
|
+
// (`tailExtendCreditId`), one per second added and resolution.
|
|
2833
3035
|
// The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
|
|
2834
3036
|
"seedance-2-5-extend": {
|
|
2835
3037
|
id: "seedance-2-5-extend",
|
|
@@ -2839,15 +3041,18 @@ var VIDEO_MODELS = {
|
|
|
2839
3041
|
maker: "bytedance",
|
|
2840
3042
|
label: "Seedance 2.5 Extend",
|
|
2841
3043
|
series: "Seedance",
|
|
2842
|
-
description: "Extend ANY video with Seedance 2.5: 4\u201330s continuation (audio included),
|
|
3044
|
+
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.",
|
|
2843
3045
|
useCases: ["extend"],
|
|
2844
3046
|
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],
|
|
2845
3047
|
defaultDuration: 8,
|
|
2846
3048
|
resolutions: ["480p", "720p", "1080p"],
|
|
2847
3049
|
pricing: [
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
3050
|
+
// The default run (8 s added to a source of 10 s or more: 18 s sent and
|
|
3051
|
+
// added, 9 units of the two-second row) at each resolution. A run is
|
|
3052
|
+
// charged its own seconds: `seedance-2-5-extend:<res>:per-2s` × (sent + added) ÷ 2.
|
|
3053
|
+
{ 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" },
|
|
3054
|
+
{ identifier: "seedance-2-5-extend:480p:per-2s:9u", credits: 765, note: "8s added at 480p to a source of 10s or more" },
|
|
3055
|
+
{ identifier: "seedance-2-5-extend:1080p:per-2s:9u", credits: 4275, note: "8s added at 1080p to a source of 10s or more" }
|
|
2851
3056
|
]
|
|
2852
3057
|
},
|
|
2853
3058
|
"seedance-2-0-extend": {
|
|
@@ -2869,6 +3074,86 @@ var VIDEO_MODELS = {
|
|
|
2869
3074
|
{ identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" }
|
|
2870
3075
|
]
|
|
2871
3076
|
},
|
|
3077
|
+
// Kling 4 extends ANY video with the same tail recipe, generated on Kling
|
|
3078
|
+
// 4.0 (`kling-4`, reference-to-video): its own entry, so a deployment can
|
|
3079
|
+
// withhold or release it apart from Kling 4.0 generation, and its own rows
|
|
3080
|
+
// (`tailExtendCreditId`), one per second added and resolution. Its sound is
|
|
3081
|
+
// always on (Kling 4.0 has no switch).
|
|
3082
|
+
"kling-4-extend": {
|
|
3083
|
+
id: "kling-4-extend",
|
|
3084
|
+
kind: "video",
|
|
3085
|
+
modes: ["extend"],
|
|
3086
|
+
family: "Kuaishou",
|
|
3087
|
+
maker: "kuaishou",
|
|
3088
|
+
label: "Kling 4 Extend",
|
|
3089
|
+
series: "Kling",
|
|
3090
|
+
description: "Extend ANY video with Kling 4: 3\u201330s continuation (audio included), stitched into one seamless clip.",
|
|
3091
|
+
useCases: ["extend"],
|
|
3092
|
+
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],
|
|
3093
|
+
defaultDuration: 5,
|
|
3094
|
+
resolutions: ["720p", "1080p"],
|
|
3095
|
+
pricing: [
|
|
3096
|
+
{ identifier: "kling-4-extend:5s:720p", credits: 425, note: "default 5s 720p \u2014 see :Ns:res variants for exact" },
|
|
3097
|
+
{ identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" }
|
|
3098
|
+
]
|
|
3099
|
+
},
|
|
3100
|
+
// PixVerse V6 extends ANY video natively (no tail recipe): the whole source
|
|
3101
|
+
// goes to its extend, which returns it with the new seconds joined on; the
|
|
3102
|
+
// run keeps the user's own source and joins only the new seconds to it. Its
|
|
3103
|
+
// own entry, so a deployment can withhold it apart from PixVerse V6 Max, and
|
|
3104
|
+
// its own rows (`pixverseExtendCreditId`): one per second added and quality,
|
|
3105
|
+
// `:audio` with sound (on unless turned off). `resolutions` is ascending
|
|
3106
|
+
// (repo convention); the default quality (720p) is the extend's own, as on
|
|
3107
|
+
// the other extend entries (`pixverseExtendQuality`), never declared here.
|
|
3108
|
+
"pixverse-v6-extend": {
|
|
3109
|
+
id: "pixverse-v6-extend",
|
|
3110
|
+
kind: "video",
|
|
3111
|
+
modes: ["extend"],
|
|
3112
|
+
family: "PixVerse",
|
|
3113
|
+
maker: "pixverse",
|
|
3114
|
+
label: "PixVerse V6 Extend",
|
|
3115
|
+
series: "PixVerse",
|
|
3116
|
+
description: "Extend ANY video with PixVerse V6: 1\u201315s continuation at 360p to 1080p, with optional sound, joined onto your original clip.",
|
|
3117
|
+
useCases: ["extend"],
|
|
3118
|
+
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
3119
|
+
defaultDuration: 5,
|
|
3120
|
+
resolutions: ["360p", "540p", "720p", "1080p"],
|
|
3121
|
+
pricing: [
|
|
3122
|
+
{ 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" },
|
|
3123
|
+
{ identifier: "pixverse-v6-extend:5s:720p", credits: 90, note: "5s 720p, no sound" },
|
|
3124
|
+
{ identifier: "pixverse-v6-extend:5s:540p:audio", credits: 90, note: "5s 540p with sound" },
|
|
3125
|
+
{ identifier: "pixverse-v6-extend:1s:360p", credits: 10, note: "1s 360p, no sound (min)" },
|
|
3126
|
+
{ identifier: "pixverse-v6-extend:15s:1080p:audio", credits: 690, note: "15s 1080p with sound (max)" }
|
|
3127
|
+
]
|
|
3128
|
+
},
|
|
3129
|
+
// Grok extends only its OWN clips: a completed Grok Imagine text-to-video
|
|
3130
|
+
// or image-to-video run of the same user, named by its task (KIE takes no
|
|
3131
|
+
// clip URL and no other model's task). It adds 6 or 10 s and returns the
|
|
3132
|
+
// source with them joined on, delivered as it is. Billed at the SOURCE's
|
|
3133
|
+
// resolution, which is never a lever — so no `resolutions` here: the run is
|
|
3134
|
+
// priced on the row the source check answers (`grokExtendCreditId`), and a
|
|
3135
|
+
// run whose source is not known yet is quoted at the dearer 720p row, the
|
|
3136
|
+
// row this entry leads with. Its own entry, so a deployment can withhold it
|
|
3137
|
+
// apart from Grok Imagine.
|
|
3138
|
+
"grok-extend": {
|
|
3139
|
+
id: "grok-extend",
|
|
3140
|
+
kind: "video",
|
|
3141
|
+
modes: ["extend"],
|
|
3142
|
+
family: "xAI",
|
|
3143
|
+
maker: "xai",
|
|
3144
|
+
label: "Grok Imagine Extend",
|
|
3145
|
+
series: "Grok",
|
|
3146
|
+
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).",
|
|
3147
|
+
useCases: ["extend"],
|
|
3148
|
+
durations: [6, 10],
|
|
3149
|
+
defaultDuration: 6,
|
|
3150
|
+
pricing: [
|
|
3151
|
+
{ identifier: "grok-extend:6s:720p", credits: 70, note: "6s from a 720p source (the quote while the source is not known)" },
|
|
3152
|
+
{ identifier: "grok-extend:6s:480p", credits: 40, note: "6s from a 480p source" },
|
|
3153
|
+
{ identifier: "grok-extend:10s:480p", credits: 60, note: "10s from a 480p source" },
|
|
3154
|
+
{ identifier: "grok-extend:10s:720p", credits: 120, note: "10s from a 720p source" }
|
|
3155
|
+
]
|
|
3156
|
+
},
|
|
2872
3157
|
"veo-1080p": {
|
|
2873
3158
|
id: "veo-1080p",
|
|
2874
3159
|
kind: "video",
|
|
@@ -2929,6 +3214,32 @@ var VIDEO_MODELS = {
|
|
|
2929
3214
|
// Topaz units the provider reports, never above the hold.
|
|
2930
3215
|
pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }]
|
|
2931
3216
|
},
|
|
3217
|
+
// Nodaro Video Upscale (decided 2026-11-11): offered under the deployment's
|
|
3218
|
+
// own label, so it names no maker, and only where the deployment serves it
|
|
3219
|
+
// (the backend's house-model seam). Priced per second of the clip
|
|
3220
|
+
// (the clip's length rounded up to a whole second): each tier's row is the
|
|
3221
|
+
// price of FOUR seconds, so a per-second rate that is not a whole credit
|
|
3222
|
+
// still fits a whole-credit row, and a run is charged row × seconds ÷ 4,
|
|
3223
|
+
// rounded up once (`@nodaro/render-rules` nodaro-video-upscale-pricing.ts).
|
|
3224
|
+
"nodaro-video-upscale": {
|
|
3225
|
+
id: "nodaro-video-upscale",
|
|
3226
|
+
kind: "video",
|
|
3227
|
+
modes: ["video-upscale"],
|
|
3228
|
+
family: "Nodaro Upscale",
|
|
3229
|
+
ownLabel: true,
|
|
3230
|
+
label: "Nodaro Video Upscale",
|
|
3231
|
+
series: "Nodaro Upscale",
|
|
3232
|
+
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.",
|
|
3233
|
+
useCases: ["upscale", "high-res"],
|
|
3234
|
+
// An output box (1920×1080, 2560×1440, 3840×2160; turned for a portrait clip).
|
|
3235
|
+
resolutions: ["1080p", "2k", "4k"],
|
|
3236
|
+
defaultResolution: "1080p",
|
|
3237
|
+
pricing: [
|
|
3238
|
+
{ identifier: "nodaro-video-upscale:1080p:per-4s", credits: 15, note: "per 4 seconds of the clip at 1080p; charged per whole second" },
|
|
3239
|
+
{ identifier: "nodaro-video-upscale:2k:per-4s", credits: 30, note: "per 4 seconds of the clip at 2K; charged per whole second" },
|
|
3240
|
+
{ identifier: "nodaro-video-upscale:4k:per-4s", credits: 60, note: "per 4 seconds of the clip at 4K; charged per whole second" }
|
|
3241
|
+
]
|
|
3242
|
+
},
|
|
2932
3243
|
// ── Motion transfer ──
|
|
2933
3244
|
"motion-transfer": {
|
|
2934
3245
|
id: "motion-transfer",
|
|
@@ -2970,6 +3281,50 @@ var VIDEO_MODELS = {
|
|
|
2970
3281
|
{ identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
|
|
2971
3282
|
]
|
|
2972
3283
|
},
|
|
3284
|
+
// Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
|
|
3285
|
+
// restriction can name them. Before, `models.allow` could not withhold them
|
|
3286
|
+
// while the Motion Transfer node and /v1/motion-transfer kept running them
|
|
3287
|
+
// beside the Kling models. The sizes are the three each runs at and is priced
|
|
3288
|
+
// on today (one flat row per size, any clip length); a size it does not have
|
|
3289
|
+
// (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
|
|
3290
|
+
// size `normalizeModelInput` moves it to (`motionTransferResolution`), and
|
|
3291
|
+
// the size a request naming none has always run at.
|
|
3292
|
+
"wan-animate-move": {
|
|
3293
|
+
id: "wan-animate-move",
|
|
3294
|
+
kind: "video",
|
|
3295
|
+
modes: ["motion-transfer"],
|
|
3296
|
+
family: "Alibaba",
|
|
3297
|
+
maker: "alibaba",
|
|
3298
|
+
label: "Wan Animate Move",
|
|
3299
|
+
series: "Wan",
|
|
3300
|
+
description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
|
|
3301
|
+
useCases: ["motion-transfer", "cheap"],
|
|
3302
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3303
|
+
defaultResolution: "720p",
|
|
3304
|
+
pricing: [
|
|
3305
|
+
{ identifier: "wan-animate-move", credits: 255, note: "480p" },
|
|
3306
|
+
{ identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
|
|
3307
|
+
{ identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
|
|
3308
|
+
]
|
|
3309
|
+
},
|
|
3310
|
+
"wan-animate-replace": {
|
|
3311
|
+
id: "wan-animate-replace",
|
|
3312
|
+
kind: "video",
|
|
3313
|
+
modes: ["motion-transfer"],
|
|
3314
|
+
family: "Alibaba",
|
|
3315
|
+
maker: "alibaba",
|
|
3316
|
+
label: "Wan Animate Replace",
|
|
3317
|
+
series: "Wan",
|
|
3318
|
+
description: "Wan 2.2 Animate: replaces the person in a driving video with the subject of a still image, keeping the motion.",
|
|
3319
|
+
useCases: ["motion-transfer", "character-swap"],
|
|
3320
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3321
|
+
defaultResolution: "720p",
|
|
3322
|
+
pricing: [
|
|
3323
|
+
{ identifier: "wan-animate-replace", credits: 255, note: "480p" },
|
|
3324
|
+
{ identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
|
|
3325
|
+
{ identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
|
|
3326
|
+
]
|
|
3327
|
+
},
|
|
2973
3328
|
// ── Lip sync / talking-head ──
|
|
2974
3329
|
"kling-avatar": {
|
|
2975
3330
|
id: "kling-avatar",
|
|
@@ -3030,6 +3385,25 @@ var VIDEO_MODELS = {
|
|
|
3030
3385
|
{ identifier: "omnihuman-1-5:60s", credits: 4050 }
|
|
3031
3386
|
]
|
|
3032
3387
|
},
|
|
3388
|
+
// A different model from 1.5, offered beside it (decided 2026-11-11): one
|
|
3389
|
+
// image, 4 to 300 seconds of audio, 720p output, an optional prompt. It has
|
|
3390
|
+
// none of 1.5's levers — no speaker mask, no resolution, no fast mode, no
|
|
3391
|
+
// seed — so it declares no `resolutions` (`normalizeModelInput` drops one).
|
|
3392
|
+
// Charged per second of its audio at one rate (LIP_SYNC_AUDIO_RATES).
|
|
3393
|
+
"omnihuman-2-0": {
|
|
3394
|
+
id: "omnihuman-2-0",
|
|
3395
|
+
kind: "video",
|
|
3396
|
+
modes: ["lip-sync"],
|
|
3397
|
+
family: "Bytedance",
|
|
3398
|
+
maker: "bytedance",
|
|
3399
|
+
label: "OmniHuman 2.0",
|
|
3400
|
+
series: "OmniHuman",
|
|
3401
|
+
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.",
|
|
3402
|
+
useCases: ["lip-sync", "talking-head", "long-form"],
|
|
3403
|
+
pricing: [
|
|
3404
|
+
{ identifier: "omnihuman-2-0:per-second", credits: 35, note: "per second of audio, rounded up; at least 4 seconds" }
|
|
3405
|
+
]
|
|
3406
|
+
},
|
|
3033
3407
|
"hailuo-avatar": {
|
|
3034
3408
|
id: "hailuo-avatar",
|
|
3035
3409
|
kind: "video",
|
|
@@ -3084,6 +3458,61 @@ var VIDEO_MODELS = {
|
|
|
3084
3458
|
{ identifier: "volcengine-lipsync:300s", credits: 6e3, note: "5-min ceiling" }
|
|
3085
3459
|
]
|
|
3086
3460
|
},
|
|
3461
|
+
// LatentSync, HeyGen Lipsync Precision and Lipsync 2 Pro run on Replicate
|
|
3462
|
+
// (providers/replicate/lip-sync.ts). Listed so a deployment's model
|
|
3463
|
+
// restriction can name them (decided 2026-11-12); what they are sent and
|
|
3464
|
+
// charged did not change. They take no size: the result keeps the size of the
|
|
3465
|
+
// video they are given.
|
|
3466
|
+
"latentsync": {
|
|
3467
|
+
id: "latentsync",
|
|
3468
|
+
kind: "video",
|
|
3469
|
+
modes: ["lip-sync"],
|
|
3470
|
+
family: "LatentSync",
|
|
3471
|
+
maker: "bytedance",
|
|
3472
|
+
label: "LatentSync",
|
|
3473
|
+
series: "LatentSync",
|
|
3474
|
+
description: "Diffusion lip sync on an existing video \u2014 strong on singing and expressive vocals. Video input.",
|
|
3475
|
+
useCases: ["lip-sync", "dubbing", "video-to-video"],
|
|
3476
|
+
pricing: [{ identifier: "latentsync", credits: 7 }]
|
|
3477
|
+
},
|
|
3478
|
+
"heygen-lipsync-precision": {
|
|
3479
|
+
id: "heygen-lipsync-precision",
|
|
3480
|
+
kind: "video",
|
|
3481
|
+
modes: ["lip-sync"],
|
|
3482
|
+
family: "HeyGen",
|
|
3483
|
+
maker: "heygen",
|
|
3484
|
+
label: "HeyGen Lipsync Precision",
|
|
3485
|
+
series: "HeyGen",
|
|
3486
|
+
description: "Dub existing footage with precise lip sync to a new audio track. Video input, billed per second.",
|
|
3487
|
+
useCases: ["lip-sync", "dubbing", "video-to-video"],
|
|
3488
|
+
pricing: [
|
|
3489
|
+
{ identifier: "heygen-lipsync-precision", credits: 10010, note: "5-min ceiling (no duration given)" },
|
|
3490
|
+
{ identifier: "heygen-lipsync-precision:15s", credits: 510 },
|
|
3491
|
+
{ identifier: "heygen-lipsync-precision:30s", credits: 1010 },
|
|
3492
|
+
{ identifier: "heygen-lipsync-precision:60s", credits: 2010 },
|
|
3493
|
+
{ identifier: "heygen-lipsync-precision:120s", credits: 4010 },
|
|
3494
|
+
{ identifier: "heygen-lipsync-precision:300s", credits: 10010, note: "5-min ceiling" }
|
|
3495
|
+
]
|
|
3496
|
+
},
|
|
3497
|
+
"lipsync-2-pro": {
|
|
3498
|
+
id: "lipsync-2-pro",
|
|
3499
|
+
kind: "video",
|
|
3500
|
+
modes: ["lip-sync"],
|
|
3501
|
+
family: "Sync",
|
|
3502
|
+
maker: "sync-labs",
|
|
3503
|
+
label: "Lipsync 2 Pro",
|
|
3504
|
+
series: "Sync",
|
|
3505
|
+
description: "Studio-grade lip sync on existing footage, re-synced to a new audio track. Video input, billed per second.",
|
|
3506
|
+
useCases: ["lip-sync", "dubbing", "video-to-video", "premium"],
|
|
3507
|
+
pricing: [
|
|
3508
|
+
{ identifier: "lipsync-2-pro", credits: 12490, note: "5-min ceiling (no duration given)" },
|
|
3509
|
+
{ identifier: "lipsync-2-pro:15s", credits: 630 },
|
|
3510
|
+
{ identifier: "lipsync-2-pro:30s", credits: 1250 },
|
|
3511
|
+
{ identifier: "lipsync-2-pro:60s", credits: 2500 },
|
|
3512
|
+
{ identifier: "lipsync-2-pro:120s", credits: 5e3 },
|
|
3513
|
+
{ identifier: "lipsync-2-pro:300s", credits: 12490, note: "5-min ceiling" }
|
|
3514
|
+
]
|
|
3515
|
+
},
|
|
3087
3516
|
// ── Video Depth ── (video-depth node; priced by the input clip's length via
|
|
3088
3517
|
// videoDepthCreditId in video-depth.ts — `<provider>:<n>s`, one row per whole
|
|
3089
3518
|
// second of the clip (`pricedClipSeconds`), representative rows below: `:1s` …
|
|
@@ -3129,8 +3558,8 @@ var VIDEO_MODELS = {
|
|
|
3129
3558
|
// structural credit formula lives in video-analysis-pricing.ts. Composite id
|
|
3130
3559
|
// shape `video-analysis:<model>:<bucket>s` mirrors volcengine-lipsync: bare
|
|
3131
3560
|
// row = per-model namespace root at the 10-min ceiling, plus one row per bucket.)
|
|
3132
|
-
"gemini-3-flash-video-analysis": {
|
|
3133
|
-
id: "gemini-3-flash-video-analysis",
|
|
3561
|
+
"gemini-3.8-flash-video-analysis": {
|
|
3562
|
+
id: "gemini-3.8-flash-video-analysis",
|
|
3134
3563
|
kind: "video",
|
|
3135
3564
|
modes: ["video-analysis"],
|
|
3136
3565
|
family: "Nodaro",
|
|
@@ -3139,6 +3568,24 @@ var VIDEO_MODELS = {
|
|
|
3139
3568
|
series: "Video Analysis",
|
|
3140
3569
|
description: "Analyze a video into a structured shot list (scenes, camera, audio) \u2014 fast, economy tier. Billed per duration bucket.",
|
|
3141
3570
|
useCases: ["video-analysis", "shot-list", "fast"],
|
|
3571
|
+
pricing: [
|
|
3572
|
+
{ identifier: "video-analysis:gemini-3.8-flash", credits: 880, note: "10-min ceiling (no duration given)" },
|
|
3573
|
+
{ identifier: "video-analysis:gemini-3.8-flash:60s", credits: 186 },
|
|
3574
|
+
{ identifier: "video-analysis:gemini-3.8-flash:180s", credits: 193 },
|
|
3575
|
+
{ identifier: "video-analysis:gemini-3.8-flash:360s", credits: 534 },
|
|
3576
|
+
{ identifier: "video-analysis:gemini-3.8-flash:600s", credits: 880, note: "10-min ceiling" }
|
|
3577
|
+
]
|
|
3578
|
+
},
|
|
3579
|
+
"gemini-3-flash-video-analysis": {
|
|
3580
|
+
id: "gemini-3-flash-video-analysis",
|
|
3581
|
+
kind: "video",
|
|
3582
|
+
modes: ["video-analysis"],
|
|
3583
|
+
family: "Nodaro",
|
|
3584
|
+
maker: "nodaro",
|
|
3585
|
+
label: "Video Analysis (Fast \u2014 previous)",
|
|
3586
|
+
series: "Video Analysis",
|
|
3587
|
+
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.",
|
|
3588
|
+
useCases: ["video-analysis", "shot-list", "fast"],
|
|
3142
3589
|
pricing: [
|
|
3143
3590
|
{ identifier: "video-analysis:gemini-3-flash", credits: 848, note: "10-min ceiling (no duration given)" },
|
|
3144
3591
|
{ identifier: "video-analysis:gemini-3-flash:60s", credits: 181 },
|
|
@@ -3197,11 +3644,11 @@ var VIDEO_MODELS = {
|
|
|
3197
3644
|
description: "Our most advanced analysis tier \u2014 multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
|
|
3198
3645
|
useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
|
|
3199
3646
|
pricing: [
|
|
3200
|
-
{ identifier: "video-analysis:mixed", credits:
|
|
3201
|
-
{ identifier: "video-analysis:mixed:60s", credits:
|
|
3202
|
-
{ identifier: "video-analysis:mixed:180s", credits:
|
|
3203
|
-
{ identifier: "video-analysis:mixed:360s", credits:
|
|
3204
|
-
{ identifier: "video-analysis:mixed:600s", credits:
|
|
3647
|
+
{ identifier: "video-analysis:mixed", credits: 1209, note: "10-min ceiling (no duration given)" },
|
|
3648
|
+
{ identifier: "video-analysis:mixed:60s", credits: 275 },
|
|
3649
|
+
{ identifier: "video-analysis:mixed:180s", credits: 298 },
|
|
3650
|
+
{ identifier: "video-analysis:mixed:360s", credits: 748 },
|
|
3651
|
+
{ identifier: "video-analysis:mixed:600s", credits: 1209, note: "10-min ceiling" }
|
|
3205
3652
|
]
|
|
3206
3653
|
},
|
|
3207
3654
|
// SMART — the accuracy tier. Since the 2026-08-03 hybrid re-plan it is a
|
|
@@ -3220,11 +3667,11 @@ var VIDEO_MODELS = {
|
|
|
3220
3667
|
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.",
|
|
3221
3668
|
useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
|
|
3222
3669
|
pricing: [
|
|
3223
|
-
{ identifier: "video-analysis:smart", credits:
|
|
3224
|
-
{ identifier: "video-analysis:smart:60s", credits:
|
|
3225
|
-
{ identifier: "video-analysis:smart:180s", credits:
|
|
3226
|
-
{ identifier: "video-analysis:smart:360s", credits:
|
|
3227
|
-
{ identifier: "video-analysis:smart:600s", credits:
|
|
3670
|
+
{ identifier: "video-analysis:smart", credits: 2097, note: "10-min ceiling (no duration given)" },
|
|
3671
|
+
{ identifier: "video-analysis:smart:60s", credits: 416 },
|
|
3672
|
+
{ identifier: "video-analysis:smart:180s", credits: 508 },
|
|
3673
|
+
{ identifier: "video-analysis:smart:360s", credits: 1280 },
|
|
3674
|
+
{ identifier: "video-analysis:smart:600s", credits: 2097, note: "10-min ceiling" }
|
|
3228
3675
|
]
|
|
3229
3676
|
},
|
|
3230
3677
|
// ── AI Audit (`video-audit`) ── a SEPARATE node from video-analysis (own
|
|
@@ -3269,11 +3716,11 @@ var VIDEO_MODELS = {
|
|
|
3269
3716
|
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.",
|
|
3270
3717
|
useCases: ["video-audit", "qa", "shot-list", "verification", "auto-analysis"],
|
|
3271
3718
|
pricing: [
|
|
3272
|
-
{ identifier: "video-audit:auto", credits:
|
|
3273
|
-
{ identifier: "video-audit:auto:60s", credits:
|
|
3274
|
-
{ identifier: "video-audit:auto:180s", credits:
|
|
3275
|
-
{ identifier: "video-audit:auto:360s", credits:
|
|
3276
|
-
{ identifier: "video-audit:auto:600s", credits:
|
|
3719
|
+
{ identifier: "video-audit:auto", credits: 1953, note: "10-min ceiling (no duration given)" },
|
|
3720
|
+
{ identifier: "video-audit:auto:60s", credits: 401 },
|
|
3721
|
+
{ identifier: "video-audit:auto:180s", credits: 483 },
|
|
3722
|
+
{ identifier: "video-audit:auto:360s", credits: 1197 },
|
|
3723
|
+
{ identifier: "video-audit:auto:600s", credits: 1953, note: "10-min ceiling" }
|
|
3277
3724
|
]
|
|
3278
3725
|
}
|
|
3279
3726
|
};
|
|
@@ -3624,6 +4071,23 @@ var AUDIO_MODELS = {
|
|
|
3624
4071
|
useCases: ["transcription", "stt"],
|
|
3625
4072
|
pricing: [{ identifier: "whisper", credits: 40 }]
|
|
3626
4073
|
},
|
|
4074
|
+
// NVIDIA's speech-to-text on KIE, priced per started minute of the file. Its
|
|
4075
|
+
// per-minute base fits no whole-credit row, so the row prices FOUR
|
|
4076
|
+
// minutes and a run is charged row × minutes ÷ 4, rounded up once
|
|
4077
|
+
// (`@nodaro/shared` credit-estimators/nemotron-transcribe.ts).
|
|
4078
|
+
"nemotron-3-5-transcribe": {
|
|
4079
|
+
id: "nemotron-3-5-transcribe",
|
|
4080
|
+
kind: "audio",
|
|
4081
|
+
modes: ["stt"],
|
|
4082
|
+
family: "NVIDIA",
|
|
4083
|
+
maker: "nvidia",
|
|
4084
|
+
label: "Nemotron 3.5 Transcribe",
|
|
4085
|
+
series: "Nemotron",
|
|
4086
|
+
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.",
|
|
4087
|
+
useCases: ["transcription", "stt", "captions", "translation"],
|
|
4088
|
+
features: ["word-timestamps", "diarization", "translation"],
|
|
4089
|
+
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" }]
|
|
4090
|
+
},
|
|
3627
4091
|
"elevenlabs-isolation": {
|
|
3628
4092
|
id: "elevenlabs-isolation",
|
|
3629
4093
|
kind: "audio",
|
|
@@ -3707,6 +4171,48 @@ var AUDIO_MODELS = {
|
|
|
3707
4171
|
useCases: ["music", "song", "vocals"],
|
|
3708
4172
|
pricing: [{ identifier: "suno", credits: 30, note: "per generation" }]
|
|
3709
4173
|
},
|
|
4174
|
+
// Suno v4.5, v4.5 All and v4.5+ (decided 2026-11-12): listed so a
|
|
4175
|
+
// deployment's model restriction can name them, each with a price row of its
|
|
4176
|
+
// own (SUNO_VERSION_CREDIT_KEYS) at the price those runs were charged before.
|
|
4177
|
+
"suno-v4_5": {
|
|
4178
|
+
id: "suno-v4_5",
|
|
4179
|
+
kind: "audio",
|
|
4180
|
+
modes: ["music"],
|
|
4181
|
+
family: "Suno",
|
|
4182
|
+
maker: "suno",
|
|
4183
|
+
label: "Suno v4.5",
|
|
4184
|
+
series: "Suno",
|
|
4185
|
+
dataValue: "V4_5",
|
|
4186
|
+
description: "Suno v4.5 \u2014 improved quality and coherence over v4.",
|
|
4187
|
+
useCases: ["music", "song", "vocals"],
|
|
4188
|
+
pricing: [{ identifier: "suno-v4_5", credits: 30, note: "per generation" }]
|
|
4189
|
+
},
|
|
4190
|
+
"suno-v4_5all": {
|
|
4191
|
+
id: "suno-v4_5all",
|
|
4192
|
+
kind: "audio",
|
|
4193
|
+
modes: ["music"],
|
|
4194
|
+
family: "Suno",
|
|
4195
|
+
maker: "suno",
|
|
4196
|
+
label: "Suno v4.5 All",
|
|
4197
|
+
series: "Suno",
|
|
4198
|
+
dataValue: "V4_5ALL",
|
|
4199
|
+
description: "Suno v4.5 All \u2014 full instrument and vocal generation.",
|
|
4200
|
+
useCases: ["music", "song", "vocals"],
|
|
4201
|
+
pricing: [{ identifier: "suno-v4_5all", credits: 30, note: "per generation" }]
|
|
4202
|
+
},
|
|
4203
|
+
"suno-v4_5plus": {
|
|
4204
|
+
id: "suno-v4_5plus",
|
|
4205
|
+
kind: "audio",
|
|
4206
|
+
modes: ["music"],
|
|
4207
|
+
family: "Suno",
|
|
4208
|
+
maker: "suno",
|
|
4209
|
+
label: "Suno v4.5 Plus",
|
|
4210
|
+
series: "Suno",
|
|
4211
|
+
dataValue: "V4_5PLUS",
|
|
4212
|
+
description: "Suno v4.5 Plus \u2014 richer production than v4.5.",
|
|
4213
|
+
useCases: ["music", "song", "vocals"],
|
|
4214
|
+
pricing: [{ identifier: "suno-v4_5plus", credits: 30, note: "per generation" }]
|
|
4215
|
+
},
|
|
3710
4216
|
"suno-v5": {
|
|
3711
4217
|
id: "suno-v5",
|
|
3712
4218
|
kind: "audio",
|
|
@@ -3780,7 +4286,7 @@ var MODEL_CATALOG = {
|
|
|
3780
4286
|
...AUDIO_MODELS
|
|
3781
4287
|
};
|
|
3782
4288
|
function listModels(filter) {
|
|
3783
|
-
const all = Object.values(MODEL_CATALOG);
|
|
4289
|
+
const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true);
|
|
3784
4290
|
if (!filter) return all;
|
|
3785
4291
|
return all.filter((m) => {
|
|
3786
4292
|
if (filter.kind && m.kind !== filter.kind) return false;
|
|
@@ -4512,7 +5018,7 @@ function creditRangesAll() {
|
|
|
4512
5018
|
}
|
|
4513
5019
|
function modelIdsByKindMode(kind, modes, opts = {}) {
|
|
4514
5020
|
const includeHidden = opts.includeHidden === true;
|
|
4515
|
-
const ids = Object.values(MODEL_CATALOG).filter((m) => kind === null ? true : m.kind === kind).filter((m) => m.modes.some((md) => modes.includes(md))).filter((m) => includeHidden || !m.mcpHidden).filter((m) => !m.docsHidden).map((m) => m.id).sort();
|
|
5021
|
+
const ids = Object.values(MODEL_CATALOG).filter((m) => kind === null ? true : m.kind === kind).filter((m) => m.modes.some((md) => modes.includes(md))).filter((m) => includeHidden || !m.mcpHidden).filter((m) => !m.docsHidden && m.pickerHidden !== true).map((m) => m.id).sort();
|
|
4516
5022
|
if (ids.length === 0) {
|
|
4517
5023
|
throw new Error(
|
|
4518
5024
|
`modelIdsByKindMode: no models match kind=${kind ?? "*"} modes=[${modes.join(",")}]`
|
|
@@ -4521,6 +5027,6 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
|
|
|
4521
5027
|
return ids;
|
|
4522
5028
|
}
|
|
4523
5029
|
|
|
4524
|
-
export { FLUX2_RES_MP, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, fitAspectRatioToModel, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt };
|
|
4525
|
-
//# sourceMappingURL=chunk-
|
|
4526
|
-
//# sourceMappingURL=chunk-
|
|
5030
|
+
export { CONTAINER_OVERHANG_SEC, FLUX2_RES_MP, FLUX_3_KLEIN_DEFAULT_RESOLUTION, FLUX_3_KLEIN_I2I, FLUX_3_KLEIN_MAX_INPUT_IMAGES, FLUX_3_KLEIN_RESOLUTIONS, FLUX_3_KLEIN_T2I, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, editPlanSourceDurationSec, extractVideoDurationFromNode, fitAspectRatioToModel, flux3KleinCreditId, flux3KleinResolution, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isFlux3Klein, isFlux3KleinI2i, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt };
|
|
5031
|
+
//# sourceMappingURL=chunk-DZ4IOP3Q.js.map
|
|
5032
|
+
//# sourceMappingURL=chunk-DZ4IOP3Q.js.map
|