@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,5 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
// src/video-duration.ts
|
|
4
|
+
var CONTAINER_OVERHANG_SEC = 0.25;
|
|
5
|
+
function extractVideoDurationFromNode(data) {
|
|
6
|
+
if (!data) return void 0;
|
|
7
|
+
const results = data.generatedResults;
|
|
8
|
+
const idx = data.activeResultIndex ?? 0;
|
|
9
|
+
const fromResult = results?.[idx]?.duration;
|
|
10
|
+
if (typeof fromResult === "number" && Number.isFinite(fromResult) && fromResult > 0) {
|
|
11
|
+
return fromResult;
|
|
12
|
+
}
|
|
13
|
+
const fromConfig = data.duration;
|
|
14
|
+
if (typeof fromConfig === "number" && Number.isFinite(fromConfig) && fromConfig > 0) {
|
|
15
|
+
return fromConfig;
|
|
16
|
+
}
|
|
17
|
+
return void 0;
|
|
18
|
+
}
|
|
19
|
+
function editPlanSourceDurationSec(data) {
|
|
20
|
+
const fromVideo = extractVideoDurationFromNode(data);
|
|
21
|
+
if (fromVideo !== void 0) return fromVideo;
|
|
22
|
+
const meta = data?.metadata;
|
|
23
|
+
if (typeof meta?.mediaUrl === "string" && meta.mediaUrl !== data?.extractedAudioUrl && meta.mediaUrl !== data?.url) {
|
|
24
|
+
return void 0;
|
|
25
|
+
}
|
|
26
|
+
const d = meta?.durationSeconds;
|
|
27
|
+
return typeof d === "number" && Number.isFinite(d) && d > 0 ? d : void 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
3
30
|
// src/seedance-draft.ts
|
|
4
31
|
var SEEDANCE_DRAFT_MODELS = ["seedance-2-5"];
|
|
5
32
|
function isSeedanceDraftCapable(provider) {
|
|
@@ -11,7 +38,7 @@ var SEEDANCE_DRAFT_FINALIZE_RESOLUTION = "1080p";
|
|
|
11
38
|
var SEEDANCE_DRAFT_FINALIZE_MIN_SEC = 4;
|
|
12
39
|
var SEEDANCE_DRAFT_FINALIZE_MAX_SEC = 30;
|
|
13
40
|
function seedanceDraftFinalizeBillableSec(measuredSec) {
|
|
14
|
-
const whole = Math.max(1, Math.ceil(measuredSec -
|
|
41
|
+
const whole = Math.max(1, Math.ceil(measuredSec - CONTAINER_OVERHANG_SEC));
|
|
15
42
|
return Math.min(SEEDANCE_DRAFT_FINALIZE_MAX_SEC, Math.max(SEEDANCE_DRAFT_FINALIZE_MIN_SEC, whole));
|
|
16
43
|
}
|
|
17
44
|
function seedanceDraftFinalizeCreditId(durationSec, hasRefVideo) {
|
|
@@ -75,6 +102,29 @@ function seedream55Resolution(resolution) {
|
|
|
75
102
|
return SEEDREAM_5_5_RESOLUTIONS.find((r) => r === asked) ?? SEEDREAM_5_5_DEFAULT_RESOLUTION;
|
|
76
103
|
}
|
|
77
104
|
|
|
105
|
+
// src/flux-3-klein.ts
|
|
106
|
+
var FLUX_3_KLEIN_T2I = "flux-3-klein";
|
|
107
|
+
var FLUX_3_KLEIN_I2I = "flux-3-klein-i2i";
|
|
108
|
+
var FLUX_3_KLEIN_RESOLUTIONS = ["1K", "2K", "4K"];
|
|
109
|
+
var FLUX_3_KLEIN_DEFAULT_RESOLUTION = "1K";
|
|
110
|
+
var FLUX_3_KLEIN_MAX_INPUT_IMAGES = 10;
|
|
111
|
+
function isFlux3Klein(model) {
|
|
112
|
+
return model === FLUX_3_KLEIN_T2I || model === FLUX_3_KLEIN_I2I;
|
|
113
|
+
}
|
|
114
|
+
function isFlux3KleinI2i(model) {
|
|
115
|
+
return model === FLUX_3_KLEIN_I2I;
|
|
116
|
+
}
|
|
117
|
+
function flux3KleinResolution(resolution) {
|
|
118
|
+
const asked = typeof resolution === "string" ? resolution.trim().toUpperCase() : "";
|
|
119
|
+
return FLUX_3_KLEIN_RESOLUTIONS.find((r) => r === asked) ?? FLUX_3_KLEIN_DEFAULT_RESOLUTION;
|
|
120
|
+
}
|
|
121
|
+
function flux3KleinCreditId(provider, resolution, referenceImageCount) {
|
|
122
|
+
const size = flux3KleinResolution(resolution);
|
|
123
|
+
const images = Number.isFinite(referenceImageCount) ? Math.trunc(referenceImageCount) : 0;
|
|
124
|
+
const model = provider === FLUX_3_KLEIN_I2I || images > 0 ? FLUX_3_KLEIN_I2I : FLUX_3_KLEIN_T2I;
|
|
125
|
+
return `${model}:${size}`;
|
|
126
|
+
}
|
|
127
|
+
|
|
78
128
|
// src/model-catalog.ts
|
|
79
129
|
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";
|
|
80
130
|
var MODEL_MAKERS = {
|
|
@@ -83,6 +133,7 @@ var MODEL_MAKERS = {
|
|
|
83
133
|
bytedance: { name: "ByteDance" },
|
|
84
134
|
elevenlabs: { name: "ElevenLabs" },
|
|
85
135
|
google: { name: "Google" },
|
|
136
|
+
heygen: { name: "HeyGen" },
|
|
86
137
|
ideogram: { name: "Ideogram" },
|
|
87
138
|
kuaishou: { name: "Kuaishou" },
|
|
88
139
|
lightricks: { name: "Lightricks" },
|
|
@@ -90,7 +141,9 @@ var MODEL_MAKERS = {
|
|
|
90
141
|
meituan: { name: "Meituan" },
|
|
91
142
|
minimax: { name: "MiniMax" },
|
|
92
143
|
nodaro: { name: "Nodaro" },
|
|
144
|
+
nvidia: { name: "NVIDIA" },
|
|
93
145
|
openai: { name: "OpenAI" },
|
|
146
|
+
pixverse: { name: "PixVerse" },
|
|
94
147
|
recraft: { name: "Recraft" },
|
|
95
148
|
runway: { name: "Runway" },
|
|
96
149
|
shengshu: { name: "ShengShu" },
|
|
@@ -125,7 +178,7 @@ var MODEL_RECOMMENDATIONS = [
|
|
|
125
178
|
{ 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." },
|
|
126
179
|
{ 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." },
|
|
127
180
|
{ intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
|
|
128
|
-
{ intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper"], note: "Captions need WORD timestamps: ElevenLabs STT (always)
|
|
181
|
+
{ 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." },
|
|
129
182
|
{ 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." }
|
|
130
183
|
];
|
|
131
184
|
var NANO_BANANA_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3", "4:5", "5:4", "21:9"];
|
|
@@ -223,6 +276,9 @@ var MINIMAX_H3_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"
|
|
|
223
276
|
var SEEDREAM_5_5_I2I_RATIOS = ["auto", ...SEEDREAM_RATIOS];
|
|
224
277
|
var SEEDREAM_5_5_BACKGROUNDS = ["auto", "opaque", "transparent"];
|
|
225
278
|
var SEEDREAM_5_5_FORMATS = ["png", "jpeg"];
|
|
279
|
+
var FLUX_3_KLEIN_RATIOS = ["1:1", "4:3", "3:4", "3:2", "2:3", "16:9", "9:16", "21:9", "9:21"];
|
|
280
|
+
var FLUX_3_KLEIN_I2I_RATIOS = [...FLUX_3_KLEIN_RATIOS, "auto"];
|
|
281
|
+
var FLUX_3_KLEIN_FORMATS = ["png", "jpeg"];
|
|
226
282
|
var Z_IMAGE_RATIOS = ["1:1", "16:9", "9:16", "4:3", "3:4"];
|
|
227
283
|
var VIDEO_RATIOS_HV = ["16:9", "9:16"];
|
|
228
284
|
var VIDEO_RATIOS_HVS = ["16:9", "9:16", "1:1"];
|
|
@@ -233,6 +289,7 @@ var VIDEO_RATIOS_HAPPYHORSE_11 = ["16:9", "9:16", "1:1", "4:3", "3:4", "4:5", "5
|
|
|
233
289
|
var VIDEO_RATIOS_WAN_3 = ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16"];
|
|
234
290
|
var VIDEO_RATIOS_VIDU_Q4 = ["16:9", "9:16", "1:1", "4:3", "3:4"];
|
|
235
291
|
var VIDEO_RATIOS_KLING_4 = ["auto", "16:9", "9:16", "1:1", "21:9"];
|
|
292
|
+
var VIDEO_RATIOS_PIXVERSE_V6_MAX = ["16:9", "4:3", "1:1", "3:4", "9:16", "2:3", "3:2", "21:9"];
|
|
236
293
|
var IMAGE_MODELS = {
|
|
237
294
|
// ── Google Nano Banana ──
|
|
238
295
|
"nano-banana": {
|
|
@@ -445,6 +502,63 @@ var IMAGE_MODELS = {
|
|
|
445
502
|
aspectRatios: KONTEXT_RATIOS,
|
|
446
503
|
pricing: [{ identifier: "flux-kontext-max", credits: 25 }]
|
|
447
504
|
},
|
|
505
|
+
// ── FLUX 3 Klein ──
|
|
506
|
+
// The light model of Black Forest Labs' FLUX 3 (KIE `flux-3/klein-text-to-image`
|
|
507
|
+
// and `flux-3/klein-edit-image`). A different model from FLUX 2 Klein
|
|
508
|
+
// (`flux-2-klein`, below). A prompt runs the text-to-image id; with reference
|
|
509
|
+
// images the run moves to the edit id (`T2I_TO_I2I_VARIANT`). Priced by size
|
|
510
|
+
// alone, the same on both ids: reference images cost nothing
|
|
511
|
+
// (`flux3KleinCreditId`). Both schemas list a closed set of ratios and text to
|
|
512
|
+
// image has no "auto", so both entries declare `strictAspectRatios`. PNG (the
|
|
513
|
+
// default) or JPEG, as its siblings write (decided 2026-11-12); KIE's WebP is
|
|
514
|
+
// not offered. KIE's prompt enhancement is left on (never sent), and its
|
|
515
|
+
// custom width/height and several pictures per request are not offered.
|
|
516
|
+
// See: docs.kie.ai/market/flux3/klein-text-to-image.md
|
|
517
|
+
// docs.kie.ai/market/flux3/klein-edit-image.md
|
|
518
|
+
"flux-3-klein": {
|
|
519
|
+
id: "flux-3-klein",
|
|
520
|
+
kind: "image",
|
|
521
|
+
modes: ["t2i"],
|
|
522
|
+
family: "Black Forest Labs",
|
|
523
|
+
maker: "black-forest-labs",
|
|
524
|
+
label: "FLUX 3 Klein",
|
|
525
|
+
series: "Flux",
|
|
526
|
+
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.",
|
|
527
|
+
useCases: ["fast", "drafts", "iteration", "realistic"],
|
|
528
|
+
features: ["reference-image"],
|
|
529
|
+
aspectRatios: FLUX_3_KLEIN_RATIOS,
|
|
530
|
+
strictAspectRatios: true,
|
|
531
|
+
resolutions: FLUX_3_KLEIN_RESOLUTIONS,
|
|
532
|
+
outputFormats: FLUX_3_KLEIN_FORMATS,
|
|
533
|
+
pricing: [
|
|
534
|
+
{ identifier: "flux-3-klein", credits: 4, note: "1K default" },
|
|
535
|
+
{ identifier: "flux-3-klein:1K", credits: 4, note: "1K" },
|
|
536
|
+
{ identifier: "flux-3-klein:2K", credits: 7, note: "2K" },
|
|
537
|
+
{ identifier: "flux-3-klein:4K", credits: 17, note: "4K" }
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"flux-3-klein-i2i": {
|
|
541
|
+
id: "flux-3-klein-i2i",
|
|
542
|
+
kind: "image",
|
|
543
|
+
modes: ["i2i"],
|
|
544
|
+
family: "Black Forest Labs",
|
|
545
|
+
maker: "black-forest-labs",
|
|
546
|
+
label: "FLUX 3 Klein (I2I)",
|
|
547
|
+
series: "Flux",
|
|
548
|
+
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.",
|
|
549
|
+
useCases: ["edit", "iteration", "multi-reference", "fast"],
|
|
550
|
+
features: ["reference-image"],
|
|
551
|
+
aspectRatios: FLUX_3_KLEIN_I2I_RATIOS,
|
|
552
|
+
strictAspectRatios: true,
|
|
553
|
+
resolutions: FLUX_3_KLEIN_RESOLUTIONS,
|
|
554
|
+
outputFormats: FLUX_3_KLEIN_FORMATS,
|
|
555
|
+
pricing: [
|
|
556
|
+
{ identifier: "flux-3-klein-i2i", credits: 4, note: "1K default" },
|
|
557
|
+
{ identifier: "flux-3-klein-i2i:1K", credits: 4, note: "1K" },
|
|
558
|
+
{ identifier: "flux-3-klein-i2i:2K", credits: 7, note: "2K" },
|
|
559
|
+
{ identifier: "flux-3-klein-i2i:4K", credits: 17, note: "4K" }
|
|
560
|
+
]
|
|
561
|
+
},
|
|
448
562
|
// ── Replicate "Open" (uncensored) — run direct via Replicate, not KIE ──
|
|
449
563
|
"flux-2-klein": {
|
|
450
564
|
id: "flux-2-klein",
|
|
@@ -526,6 +640,48 @@ var IMAGE_MODELS = {
|
|
|
526
640
|
// max
|
|
527
641
|
]
|
|
528
642
|
},
|
|
643
|
+
// A catalog entry so a deployment's model restriction can name it (decided
|
|
644
|
+
// 2026-11-12): before it, `models.allow` could not withhold it while the
|
|
645
|
+
// Modify Image node and /v1/image-to-image kept running it. It repaints the
|
|
646
|
+
// mask's white area of the image it is given, and its result is that image's
|
|
647
|
+
// size, so it takes no aspect ratio, size or quality: none is listed, and a
|
|
648
|
+
// value a request carries for one is dropped with an adjustment (as for
|
|
649
|
+
// Ideogram Edit). It never read one, so what it is sent is unchanged
|
|
650
|
+
// (backend flux-fill-requests-parity.test.ts). One input image, no
|
|
651
|
+
// reference images: no "reference-image" feature.
|
|
652
|
+
"flux-fill": {
|
|
653
|
+
id: "flux-fill",
|
|
654
|
+
kind: "image",
|
|
655
|
+
modes: ["edit"],
|
|
656
|
+
family: "Black Forest Labs",
|
|
657
|
+
maker: "black-forest-labs",
|
|
658
|
+
label: "FLUX Fill Pro",
|
|
659
|
+
series: "Flux",
|
|
660
|
+
description: "Masked inpainting from BFL via Replicate: repaints the mask's white area; the result keeps the image's size.",
|
|
661
|
+
useCases: ["edit", "inpaint"],
|
|
662
|
+
features: ["mask"],
|
|
663
|
+
pricing: [{ identifier: "flux-fill", credits: 30 }]
|
|
664
|
+
},
|
|
665
|
+
// A trained character's model (decided 2026-11-12): FLUX.1 [dev] with the
|
|
666
|
+
// character's own LoRA, which a Generate Image run switches to when the one
|
|
667
|
+
// character it names has a succeeded trained model. Never picked
|
|
668
|
+
// (`pickerHidden`): listed here so a deployment's restriction can name it.
|
|
669
|
+
// Where a deployment withholds it, a run does not switch and uses the
|
|
670
|
+
// character's reference pictures, as for a character with no trained model.
|
|
671
|
+
// Its levers are not listed: nothing snaps a request against this entry.
|
|
672
|
+
"flux-lora-character": {
|
|
673
|
+
id: "flux-lora-character",
|
|
674
|
+
kind: "image",
|
|
675
|
+
modes: ["t2i"],
|
|
676
|
+
family: "Black Forest Labs",
|
|
677
|
+
maker: "black-forest-labs",
|
|
678
|
+
label: "Trained character (FLUX LoRA)",
|
|
679
|
+
series: "Flux",
|
|
680
|
+
description: "A trained character's own model (FLUX.1 [dev] with its LoRA), run when a prompt names that one character.",
|
|
681
|
+
useCases: ["character"],
|
|
682
|
+
pricing: [{ identifier: "flux-lora-character", credits: 20 }],
|
|
683
|
+
pickerHidden: true
|
|
684
|
+
},
|
|
529
685
|
// ── OpenAI (GPT Image) ──
|
|
530
686
|
"gpt-image": {
|
|
531
687
|
id: "gpt-image",
|
|
@@ -2708,6 +2864,49 @@ var VIDEO_MODELS = {
|
|
|
2708
2864
|
{ identifier: "vidu-q4:16s:4k", credits: 2500, note: "16s 4K (max)" }
|
|
2709
2865
|
]
|
|
2710
2866
|
},
|
|
2867
|
+
// ── PixVerse ──
|
|
2868
|
+
// PixVerse V6 Max — ONE id over two KIE endpoints, picked by what is wired
|
|
2869
|
+
// (backend kie/pixverse-v6-max.ts): a start frame runs on
|
|
2870
|
+
// docs.kie.ai/market/pixverse/v6-max-image-to-video, where it is the exact
|
|
2871
|
+
// first frame and the output takes its shape (no aspect ratio is sent); no
|
|
2872
|
+
// image runs on docs.kie.ai/market/pixverse/v6-max-text-to-video, with one of
|
|
2873
|
+
// eight aspect ratios. No end frame, no reference images, videos or audio.
|
|
2874
|
+
// 1-15s, 360p-1080p (`quality` on the wire). Native audio behind the
|
|
2875
|
+
// `generate_audio_switch` lever: the price depends on it, so it bills on the
|
|
2876
|
+
// `:audio` rows (AUDIO_ADDON_PROVIDERS), and a request that names no audio
|
|
2877
|
+
// setting renders and bills audio ON (decided 2026-11-11). `resolutions` is
|
|
2878
|
+
// ascending (repo convention); the default tier (720p) is declared, never
|
|
2879
|
+
// carried by array position — 360p is the cheapest preview tier.
|
|
2880
|
+
"pixverse-v6-max": {
|
|
2881
|
+
id: "pixverse-v6-max",
|
|
2882
|
+
kind: "video",
|
|
2883
|
+
modes: ["i2v", "t2v"],
|
|
2884
|
+
family: "PixVerse",
|
|
2885
|
+
maker: "pixverse",
|
|
2886
|
+
label: "PixVerse V6 Max",
|
|
2887
|
+
series: "PixVerse",
|
|
2888
|
+
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.",
|
|
2889
|
+
useCases: ["cinematic", "narrative", "typography", "motion"],
|
|
2890
|
+
features: ["audio"],
|
|
2891
|
+
aspectRatios: VIDEO_RATIOS_PIXVERSE_V6_MAX,
|
|
2892
|
+
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
2893
|
+
defaultDuration: 5,
|
|
2894
|
+
resolutions: ["360p", "540p", "720p", "1080p"],
|
|
2895
|
+
defaultResolution: "720p",
|
|
2896
|
+
// normalizePixverseV6MaxQuality sends 720p for anything off the list.
|
|
2897
|
+
unlistedResolutionRendersAs: "720p",
|
|
2898
|
+
// Generate Video Pro runs it from a start anchor or text (decided 2026-11-12).
|
|
2899
|
+
gvpWithoutReferences: true,
|
|
2900
|
+
pricing: [
|
|
2901
|
+
{ identifier: "pixverse-v6-max", credits: 150, note: "default 5s 720p with audio \u2014 see :Ns:res and :Ns:res:audio variants for exact" },
|
|
2902
|
+
{ identifier: "pixverse-v6-max:5s:720p:audio", credits: 150, note: "5s 720p with audio (the default tier)" },
|
|
2903
|
+
{ identifier: "pixverse-v6-max:5s:720p", credits: 110, note: "5s 720p, no audio" },
|
|
2904
|
+
{ identifier: "pixverse-v6-max:5s:360p", credits: 60, note: "5s 360p, no audio" },
|
|
2905
|
+
{ identifier: "pixverse-v6-max:5s:1080p:audio", credits: 280, note: "5s 1080p with audio" },
|
|
2906
|
+
{ identifier: "pixverse-v6-max:1s:360p", credits: 20, note: "1s 360p, no audio (min)" },
|
|
2907
|
+
{ identifier: "pixverse-v6-max:15s:1080p:audio", credits: 840, note: "15s 1080p with audio (max)" }
|
|
2908
|
+
]
|
|
2909
|
+
},
|
|
2711
2910
|
// ── Bytedance video lite/pro ──
|
|
2712
2911
|
"bytedance-lite": {
|
|
2713
2912
|
id: "bytedance-lite",
|
|
@@ -2830,8 +3029,11 @@ var VIDEO_MODELS = {
|
|
|
2830
3029
|
useCases: ["extend"],
|
|
2831
3030
|
pricing: [{ identifier: "runway-extend", credits: 320 }]
|
|
2832
3031
|
},
|
|
2833
|
-
// Seedance extends ANY video, one provider per model.
|
|
2834
|
-
//
|
|
3032
|
+
// Seedance extends ANY video, one provider per model. Seedance 2.5 is charged
|
|
3033
|
+
// per second of video sent (the source's last 10 s, all of a shorter one)
|
|
3034
|
+
// and added, at its resolution's row, the price of two seconds (decided
|
|
3035
|
+
// 2026-11-12). Seedance 2.0 is priced on its own rows
|
|
3036
|
+
// (`tailExtendCreditId`), one per second added and resolution.
|
|
2835
3037
|
// The earlier single id `seedance-2-extend` is retired and runs as Seedance 2.5.
|
|
2836
3038
|
"seedance-2-5-extend": {
|
|
2837
3039
|
id: "seedance-2-5-extend",
|
|
@@ -2841,15 +3043,18 @@ var VIDEO_MODELS = {
|
|
|
2841
3043
|
maker: "bytedance",
|
|
2842
3044
|
label: "Seedance 2.5 Extend",
|
|
2843
3045
|
series: "Seedance",
|
|
2844
|
-
description: "Extend ANY video with Seedance 2.5: 4\u201330s continuation (audio included),
|
|
3046
|
+
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.",
|
|
2845
3047
|
useCases: ["extend"],
|
|
2846
3048
|
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],
|
|
2847
3049
|
defaultDuration: 8,
|
|
2848
3050
|
resolutions: ["480p", "720p", "1080p"],
|
|
2849
3051
|
pricing: [
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
3052
|
+
// The default run (8 s added to a source of 10 s or more: 18 s sent and
|
|
3053
|
+
// added, 9 units of the two-second row) at each resolution. A run is
|
|
3054
|
+
// charged its own seconds: `seedance-2-5-extend:<res>:per-2s` × (sent + added) ÷ 2.
|
|
3055
|
+
{ 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" },
|
|
3056
|
+
{ identifier: "seedance-2-5-extend:480p:per-2s:9u", credits: 765, note: "8s added at 480p to a source of 10s or more" },
|
|
3057
|
+
{ identifier: "seedance-2-5-extend:1080p:per-2s:9u", credits: 4275, note: "8s added at 1080p to a source of 10s or more" }
|
|
2853
3058
|
]
|
|
2854
3059
|
},
|
|
2855
3060
|
"seedance-2-0-extend": {
|
|
@@ -2871,6 +3076,86 @@ var VIDEO_MODELS = {
|
|
|
2871
3076
|
{ identifier: "seedance-2-0-extend:8s:1080p", credits: 1550, note: "8s 1080p" }
|
|
2872
3077
|
]
|
|
2873
3078
|
},
|
|
3079
|
+
// Kling 4 extends ANY video with the same tail recipe, generated on Kling
|
|
3080
|
+
// 4.0 (`kling-4`, reference-to-video): its own entry, so a deployment can
|
|
3081
|
+
// withhold or release it apart from Kling 4.0 generation, and its own rows
|
|
3082
|
+
// (`tailExtendCreditId`), one per second added and resolution. Its sound is
|
|
3083
|
+
// always on (Kling 4.0 has no switch).
|
|
3084
|
+
"kling-4-extend": {
|
|
3085
|
+
id: "kling-4-extend",
|
|
3086
|
+
kind: "video",
|
|
3087
|
+
modes: ["extend"],
|
|
3088
|
+
family: "Kuaishou",
|
|
3089
|
+
maker: "kuaishou",
|
|
3090
|
+
label: "Kling 4 Extend",
|
|
3091
|
+
series: "Kling",
|
|
3092
|
+
description: "Extend ANY video with Kling 4: 3\u201330s continuation (audio included), stitched into one seamless clip.",
|
|
3093
|
+
useCases: ["extend"],
|
|
3094
|
+
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],
|
|
3095
|
+
defaultDuration: 5,
|
|
3096
|
+
resolutions: ["720p", "1080p"],
|
|
3097
|
+
pricing: [
|
|
3098
|
+
{ identifier: "kling-4-extend:5s:720p", credits: 425, note: "default 5s 720p \u2014 see :Ns:res variants for exact" },
|
|
3099
|
+
{ identifier: "kling-4-extend:5s:1080p", credits: 638, note: "5s 1080p" }
|
|
3100
|
+
]
|
|
3101
|
+
},
|
|
3102
|
+
// PixVerse V6 extends ANY video natively (no tail recipe): the whole source
|
|
3103
|
+
// goes to its extend, which returns it with the new seconds joined on; the
|
|
3104
|
+
// run keeps the user's own source and joins only the new seconds to it. Its
|
|
3105
|
+
// own entry, so a deployment can withhold it apart from PixVerse V6 Max, and
|
|
3106
|
+
// its own rows (`pixverseExtendCreditId`): one per second added and quality,
|
|
3107
|
+
// `:audio` with sound (on unless turned off). `resolutions` is ascending
|
|
3108
|
+
// (repo convention); the default quality (720p) is the extend's own, as on
|
|
3109
|
+
// the other extend entries (`pixverseExtendQuality`), never declared here.
|
|
3110
|
+
"pixverse-v6-extend": {
|
|
3111
|
+
id: "pixverse-v6-extend",
|
|
3112
|
+
kind: "video",
|
|
3113
|
+
modes: ["extend"],
|
|
3114
|
+
family: "PixVerse",
|
|
3115
|
+
maker: "pixverse",
|
|
3116
|
+
label: "PixVerse V6 Extend",
|
|
3117
|
+
series: "PixVerse",
|
|
3118
|
+
description: "Extend ANY video with PixVerse V6: 1\u201315s continuation at 360p to 1080p, with optional sound, joined onto your original clip.",
|
|
3119
|
+
useCases: ["extend"],
|
|
3120
|
+
durations: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
|
|
3121
|
+
defaultDuration: 5,
|
|
3122
|
+
resolutions: ["360p", "540p", "720p", "1080p"],
|
|
3123
|
+
pricing: [
|
|
3124
|
+
{ 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" },
|
|
3125
|
+
{ identifier: "pixverse-v6-extend:5s:720p", credits: 90, note: "5s 720p, no sound" },
|
|
3126
|
+
{ identifier: "pixverse-v6-extend:5s:540p:audio", credits: 90, note: "5s 540p with sound" },
|
|
3127
|
+
{ identifier: "pixverse-v6-extend:1s:360p", credits: 10, note: "1s 360p, no sound (min)" },
|
|
3128
|
+
{ identifier: "pixverse-v6-extend:15s:1080p:audio", credits: 690, note: "15s 1080p with sound (max)" }
|
|
3129
|
+
]
|
|
3130
|
+
},
|
|
3131
|
+
// Grok extends only its OWN clips: a completed Grok Imagine text-to-video
|
|
3132
|
+
// or image-to-video run of the same user, named by its task (KIE takes no
|
|
3133
|
+
// clip URL and no other model's task). It adds 6 or 10 s and returns the
|
|
3134
|
+
// source with them joined on, delivered as it is. Billed at the SOURCE's
|
|
3135
|
+
// resolution, which is never a lever — so no `resolutions` here: the run is
|
|
3136
|
+
// priced on the row the source check answers (`grokExtendCreditId`), and a
|
|
3137
|
+
// run whose source is not known yet is quoted at the dearer 720p row, the
|
|
3138
|
+
// row this entry leads with. Its own entry, so a deployment can withhold it
|
|
3139
|
+
// apart from Grok Imagine.
|
|
3140
|
+
"grok-extend": {
|
|
3141
|
+
id: "grok-extend",
|
|
3142
|
+
kind: "video",
|
|
3143
|
+
modes: ["extend"],
|
|
3144
|
+
family: "xAI",
|
|
3145
|
+
maker: "xai",
|
|
3146
|
+
label: "Grok Imagine Extend",
|
|
3147
|
+
series: "Grok",
|
|
3148
|
+
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).",
|
|
3149
|
+
useCases: ["extend"],
|
|
3150
|
+
durations: [6, 10],
|
|
3151
|
+
defaultDuration: 6,
|
|
3152
|
+
pricing: [
|
|
3153
|
+
{ identifier: "grok-extend:6s:720p", credits: 70, note: "6s from a 720p source (the quote while the source is not known)" },
|
|
3154
|
+
{ identifier: "grok-extend:6s:480p", credits: 40, note: "6s from a 480p source" },
|
|
3155
|
+
{ identifier: "grok-extend:10s:480p", credits: 60, note: "10s from a 480p source" },
|
|
3156
|
+
{ identifier: "grok-extend:10s:720p", credits: 120, note: "10s from a 720p source" }
|
|
3157
|
+
]
|
|
3158
|
+
},
|
|
2874
3159
|
"veo-1080p": {
|
|
2875
3160
|
id: "veo-1080p",
|
|
2876
3161
|
kind: "video",
|
|
@@ -2931,6 +3216,32 @@ var VIDEO_MODELS = {
|
|
|
2931
3216
|
// Topaz units the provider reports, never above the hold.
|
|
2932
3217
|
pricing: [{ identifier: "topaz-video:per-unit", credits: 40, note: "per Topaz unit (metered)" }]
|
|
2933
3218
|
},
|
|
3219
|
+
// Nodaro Video Upscale (decided 2026-11-11): offered under the deployment's
|
|
3220
|
+
// own label, so it names no maker, and only where the deployment serves it
|
|
3221
|
+
// (the backend's house-model seam). Priced per second of the clip
|
|
3222
|
+
// (the clip's length rounded up to a whole second): each tier's row is the
|
|
3223
|
+
// price of FOUR seconds, so a per-second rate that is not a whole credit
|
|
3224
|
+
// still fits a whole-credit row, and a run is charged row × seconds ÷ 4,
|
|
3225
|
+
// rounded up once (`@nodaro/render-rules` nodaro-video-upscale-pricing.ts).
|
|
3226
|
+
"nodaro-video-upscale": {
|
|
3227
|
+
id: "nodaro-video-upscale",
|
|
3228
|
+
kind: "video",
|
|
3229
|
+
modes: ["video-upscale"],
|
|
3230
|
+
family: "Nodaro Upscale",
|
|
3231
|
+
ownLabel: true,
|
|
3232
|
+
label: "Nodaro Video Upscale",
|
|
3233
|
+
series: "Nodaro Upscale",
|
|
3234
|
+
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.",
|
|
3235
|
+
useCases: ["upscale", "high-res"],
|
|
3236
|
+
// An output box (1920×1080, 2560×1440, 3840×2160; turned for a portrait clip).
|
|
3237
|
+
resolutions: ["1080p", "2k", "4k"],
|
|
3238
|
+
defaultResolution: "1080p",
|
|
3239
|
+
pricing: [
|
|
3240
|
+
{ identifier: "nodaro-video-upscale:1080p:per-4s", credits: 15, note: "per 4 seconds of the clip at 1080p; charged per whole second" },
|
|
3241
|
+
{ identifier: "nodaro-video-upscale:2k:per-4s", credits: 30, note: "per 4 seconds of the clip at 2K; charged per whole second" },
|
|
3242
|
+
{ identifier: "nodaro-video-upscale:4k:per-4s", credits: 60, note: "per 4 seconds of the clip at 4K; charged per whole second" }
|
|
3243
|
+
]
|
|
3244
|
+
},
|
|
2934
3245
|
// ── Motion transfer ──
|
|
2935
3246
|
"motion-transfer": {
|
|
2936
3247
|
id: "motion-transfer",
|
|
@@ -2972,6 +3283,50 @@ var VIDEO_MODELS = {
|
|
|
2972
3283
|
{ identifier: "kling-3.0-motion:1080p:10s", credits: 500 }
|
|
2973
3284
|
]
|
|
2974
3285
|
},
|
|
3286
|
+
// Wan Animate (decided 2026-11-12): catalog entries so a deployment's model
|
|
3287
|
+
// restriction can name them. Before, `models.allow` could not withhold them
|
|
3288
|
+
// while the Motion Transfer node and /v1/motion-transfer kept running them
|
|
3289
|
+
// beside the Kling models. The sizes are the three each runs at and is priced
|
|
3290
|
+
// on today (one flat row per size, any clip length); a size it does not have
|
|
3291
|
+
// (the route's 1080p) runs, and is charged, as 720p — `defaultResolution`, the
|
|
3292
|
+
// size `normalizeModelInput` moves it to (`motionTransferResolution`), and
|
|
3293
|
+
// the size a request naming none has always run at.
|
|
3294
|
+
"wan-animate-move": {
|
|
3295
|
+
id: "wan-animate-move",
|
|
3296
|
+
kind: "video",
|
|
3297
|
+
modes: ["motion-transfer"],
|
|
3298
|
+
family: "Alibaba",
|
|
3299
|
+
maker: "alibaba",
|
|
3300
|
+
label: "Wan Animate Move",
|
|
3301
|
+
series: "Wan",
|
|
3302
|
+
description: "Wan 2.2 Animate: moves the subject of a still image with the motion of a driving video.",
|
|
3303
|
+
useCases: ["motion-transfer", "cheap"],
|
|
3304
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3305
|
+
defaultResolution: "720p",
|
|
3306
|
+
pricing: [
|
|
3307
|
+
{ identifier: "wan-animate-move", credits: 255, note: "480p" },
|
|
3308
|
+
{ identifier: "wan-animate-move:580p", credits: 330, note: "580p" },
|
|
3309
|
+
{ identifier: "wan-animate-move:720p", credits: 410, note: "720p" }
|
|
3310
|
+
]
|
|
3311
|
+
},
|
|
3312
|
+
"wan-animate-replace": {
|
|
3313
|
+
id: "wan-animate-replace",
|
|
3314
|
+
kind: "video",
|
|
3315
|
+
modes: ["motion-transfer"],
|
|
3316
|
+
family: "Alibaba",
|
|
3317
|
+
maker: "alibaba",
|
|
3318
|
+
label: "Wan Animate Replace",
|
|
3319
|
+
series: "Wan",
|
|
3320
|
+
description: "Wan 2.2 Animate: replaces the person in a driving video with the subject of a still image, keeping the motion.",
|
|
3321
|
+
useCases: ["motion-transfer", "character-swap"],
|
|
3322
|
+
resolutions: ["480p", "580p", "720p"],
|
|
3323
|
+
defaultResolution: "720p",
|
|
3324
|
+
pricing: [
|
|
3325
|
+
{ identifier: "wan-animate-replace", credits: 255, note: "480p" },
|
|
3326
|
+
{ identifier: "wan-animate-replace:580p", credits: 330, note: "580p" },
|
|
3327
|
+
{ identifier: "wan-animate-replace:720p", credits: 410, note: "720p" }
|
|
3328
|
+
]
|
|
3329
|
+
},
|
|
2975
3330
|
// ── Lip sync / talking-head ──
|
|
2976
3331
|
"kling-avatar": {
|
|
2977
3332
|
id: "kling-avatar",
|
|
@@ -3032,6 +3387,25 @@ var VIDEO_MODELS = {
|
|
|
3032
3387
|
{ identifier: "omnihuman-1-5:60s", credits: 4050 }
|
|
3033
3388
|
]
|
|
3034
3389
|
},
|
|
3390
|
+
// A different model from 1.5, offered beside it (decided 2026-11-11): one
|
|
3391
|
+
// image, 4 to 300 seconds of audio, 720p output, an optional prompt. It has
|
|
3392
|
+
// none of 1.5's levers — no speaker mask, no resolution, no fast mode, no
|
|
3393
|
+
// seed — so it declares no `resolutions` (`normalizeModelInput` drops one).
|
|
3394
|
+
// Charged per second of its audio at one rate (LIP_SYNC_AUDIO_RATES).
|
|
3395
|
+
"omnihuman-2-0": {
|
|
3396
|
+
id: "omnihuman-2-0",
|
|
3397
|
+
kind: "video",
|
|
3398
|
+
modes: ["lip-sync"],
|
|
3399
|
+
family: "Bytedance",
|
|
3400
|
+
maker: "bytedance",
|
|
3401
|
+
label: "OmniHuman 2.0",
|
|
3402
|
+
series: "OmniHuman",
|
|
3403
|
+
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.",
|
|
3404
|
+
useCases: ["lip-sync", "talking-head", "long-form"],
|
|
3405
|
+
pricing: [
|
|
3406
|
+
{ identifier: "omnihuman-2-0:per-second", credits: 35, note: "per second of audio, rounded up; at least 4 seconds" }
|
|
3407
|
+
]
|
|
3408
|
+
},
|
|
3035
3409
|
"hailuo-avatar": {
|
|
3036
3410
|
id: "hailuo-avatar",
|
|
3037
3411
|
kind: "video",
|
|
@@ -3086,6 +3460,61 @@ var VIDEO_MODELS = {
|
|
|
3086
3460
|
{ identifier: "volcengine-lipsync:300s", credits: 6e3, note: "5-min ceiling" }
|
|
3087
3461
|
]
|
|
3088
3462
|
},
|
|
3463
|
+
// LatentSync, HeyGen Lipsync Precision and Lipsync 2 Pro run on Replicate
|
|
3464
|
+
// (providers/replicate/lip-sync.ts). Listed so a deployment's model
|
|
3465
|
+
// restriction can name them (decided 2026-11-12); what they are sent and
|
|
3466
|
+
// charged did not change. They take no size: the result keeps the size of the
|
|
3467
|
+
// video they are given.
|
|
3468
|
+
"latentsync": {
|
|
3469
|
+
id: "latentsync",
|
|
3470
|
+
kind: "video",
|
|
3471
|
+
modes: ["lip-sync"],
|
|
3472
|
+
family: "LatentSync",
|
|
3473
|
+
maker: "bytedance",
|
|
3474
|
+
label: "LatentSync",
|
|
3475
|
+
series: "LatentSync",
|
|
3476
|
+
description: "Diffusion lip sync on an existing video \u2014 strong on singing and expressive vocals. Video input.",
|
|
3477
|
+
useCases: ["lip-sync", "dubbing", "video-to-video"],
|
|
3478
|
+
pricing: [{ identifier: "latentsync", credits: 7 }]
|
|
3479
|
+
},
|
|
3480
|
+
"heygen-lipsync-precision": {
|
|
3481
|
+
id: "heygen-lipsync-precision",
|
|
3482
|
+
kind: "video",
|
|
3483
|
+
modes: ["lip-sync"],
|
|
3484
|
+
family: "HeyGen",
|
|
3485
|
+
maker: "heygen",
|
|
3486
|
+
label: "HeyGen Lipsync Precision",
|
|
3487
|
+
series: "HeyGen",
|
|
3488
|
+
description: "Dub existing footage with precise lip sync to a new audio track. Video input, billed per second.",
|
|
3489
|
+
useCases: ["lip-sync", "dubbing", "video-to-video"],
|
|
3490
|
+
pricing: [
|
|
3491
|
+
{ identifier: "heygen-lipsync-precision", credits: 10010, note: "5-min ceiling (no duration given)" },
|
|
3492
|
+
{ identifier: "heygen-lipsync-precision:15s", credits: 510 },
|
|
3493
|
+
{ identifier: "heygen-lipsync-precision:30s", credits: 1010 },
|
|
3494
|
+
{ identifier: "heygen-lipsync-precision:60s", credits: 2010 },
|
|
3495
|
+
{ identifier: "heygen-lipsync-precision:120s", credits: 4010 },
|
|
3496
|
+
{ identifier: "heygen-lipsync-precision:300s", credits: 10010, note: "5-min ceiling" }
|
|
3497
|
+
]
|
|
3498
|
+
},
|
|
3499
|
+
"lipsync-2-pro": {
|
|
3500
|
+
id: "lipsync-2-pro",
|
|
3501
|
+
kind: "video",
|
|
3502
|
+
modes: ["lip-sync"],
|
|
3503
|
+
family: "Sync",
|
|
3504
|
+
maker: "sync-labs",
|
|
3505
|
+
label: "Lipsync 2 Pro",
|
|
3506
|
+
series: "Sync",
|
|
3507
|
+
description: "Studio-grade lip sync on existing footage, re-synced to a new audio track. Video input, billed per second.",
|
|
3508
|
+
useCases: ["lip-sync", "dubbing", "video-to-video", "premium"],
|
|
3509
|
+
pricing: [
|
|
3510
|
+
{ identifier: "lipsync-2-pro", credits: 12490, note: "5-min ceiling (no duration given)" },
|
|
3511
|
+
{ identifier: "lipsync-2-pro:15s", credits: 630 },
|
|
3512
|
+
{ identifier: "lipsync-2-pro:30s", credits: 1250 },
|
|
3513
|
+
{ identifier: "lipsync-2-pro:60s", credits: 2500 },
|
|
3514
|
+
{ identifier: "lipsync-2-pro:120s", credits: 5e3 },
|
|
3515
|
+
{ identifier: "lipsync-2-pro:300s", credits: 12490, note: "5-min ceiling" }
|
|
3516
|
+
]
|
|
3517
|
+
},
|
|
3089
3518
|
// ── Video Depth ── (video-depth node; priced by the input clip's length via
|
|
3090
3519
|
// videoDepthCreditId in video-depth.ts — `<provider>:<n>s`, one row per whole
|
|
3091
3520
|
// second of the clip (`pricedClipSeconds`), representative rows below: `:1s` …
|
|
@@ -3131,8 +3560,8 @@ var VIDEO_MODELS = {
|
|
|
3131
3560
|
// structural credit formula lives in video-analysis-pricing.ts. Composite id
|
|
3132
3561
|
// shape `video-analysis:<model>:<bucket>s` mirrors volcengine-lipsync: bare
|
|
3133
3562
|
// row = per-model namespace root at the 10-min ceiling, plus one row per bucket.)
|
|
3134
|
-
"gemini-3-flash-video-analysis": {
|
|
3135
|
-
id: "gemini-3-flash-video-analysis",
|
|
3563
|
+
"gemini-3.8-flash-video-analysis": {
|
|
3564
|
+
id: "gemini-3.8-flash-video-analysis",
|
|
3136
3565
|
kind: "video",
|
|
3137
3566
|
modes: ["video-analysis"],
|
|
3138
3567
|
family: "Nodaro",
|
|
@@ -3141,6 +3570,24 @@ var VIDEO_MODELS = {
|
|
|
3141
3570
|
series: "Video Analysis",
|
|
3142
3571
|
description: "Analyze a video into a structured shot list (scenes, camera, audio) \u2014 fast, economy tier. Billed per duration bucket.",
|
|
3143
3572
|
useCases: ["video-analysis", "shot-list", "fast"],
|
|
3573
|
+
pricing: [
|
|
3574
|
+
{ identifier: "video-analysis:gemini-3.8-flash", credits: 880, note: "10-min ceiling (no duration given)" },
|
|
3575
|
+
{ identifier: "video-analysis:gemini-3.8-flash:60s", credits: 186 },
|
|
3576
|
+
{ identifier: "video-analysis:gemini-3.8-flash:180s", credits: 193 },
|
|
3577
|
+
{ identifier: "video-analysis:gemini-3.8-flash:360s", credits: 534 },
|
|
3578
|
+
{ identifier: "video-analysis:gemini-3.8-flash:600s", credits: 880, note: "10-min ceiling" }
|
|
3579
|
+
]
|
|
3580
|
+
},
|
|
3581
|
+
"gemini-3-flash-video-analysis": {
|
|
3582
|
+
id: "gemini-3-flash-video-analysis",
|
|
3583
|
+
kind: "video",
|
|
3584
|
+
modes: ["video-analysis"],
|
|
3585
|
+
family: "Nodaro",
|
|
3586
|
+
maker: "nodaro",
|
|
3587
|
+
label: "Video Analysis (Fast \u2014 previous)",
|
|
3588
|
+
series: "Video Analysis",
|
|
3589
|
+
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.",
|
|
3590
|
+
useCases: ["video-analysis", "shot-list", "fast"],
|
|
3144
3591
|
pricing: [
|
|
3145
3592
|
{ identifier: "video-analysis:gemini-3-flash", credits: 848, note: "10-min ceiling (no duration given)" },
|
|
3146
3593
|
{ identifier: "video-analysis:gemini-3-flash:60s", credits: 181 },
|
|
@@ -3199,11 +3646,11 @@ var VIDEO_MODELS = {
|
|
|
3199
3646
|
description: "Our most advanced analysis tier \u2014 multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
|
|
3200
3647
|
useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
|
|
3201
3648
|
pricing: [
|
|
3202
|
-
{ identifier: "video-analysis:mixed", credits:
|
|
3203
|
-
{ identifier: "video-analysis:mixed:60s", credits:
|
|
3204
|
-
{ identifier: "video-analysis:mixed:180s", credits:
|
|
3205
|
-
{ identifier: "video-analysis:mixed:360s", credits:
|
|
3206
|
-
{ identifier: "video-analysis:mixed:600s", credits:
|
|
3649
|
+
{ identifier: "video-analysis:mixed", credits: 1209, note: "10-min ceiling (no duration given)" },
|
|
3650
|
+
{ identifier: "video-analysis:mixed:60s", credits: 275 },
|
|
3651
|
+
{ identifier: "video-analysis:mixed:180s", credits: 298 },
|
|
3652
|
+
{ identifier: "video-analysis:mixed:360s", credits: 748 },
|
|
3653
|
+
{ identifier: "video-analysis:mixed:600s", credits: 1209, note: "10-min ceiling" }
|
|
3207
3654
|
]
|
|
3208
3655
|
},
|
|
3209
3656
|
// SMART — the accuracy tier. Since the 2026-08-03 hybrid re-plan it is a
|
|
@@ -3222,11 +3669,11 @@ var VIDEO_MODELS = {
|
|
|
3222
3669
|
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.",
|
|
3223
3670
|
useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
|
|
3224
3671
|
pricing: [
|
|
3225
|
-
{ identifier: "video-analysis:smart", credits:
|
|
3226
|
-
{ identifier: "video-analysis:smart:60s", credits:
|
|
3227
|
-
{ identifier: "video-analysis:smart:180s", credits:
|
|
3228
|
-
{ identifier: "video-analysis:smart:360s", credits:
|
|
3229
|
-
{ identifier: "video-analysis:smart:600s", credits:
|
|
3672
|
+
{ identifier: "video-analysis:smart", credits: 2097, note: "10-min ceiling (no duration given)" },
|
|
3673
|
+
{ identifier: "video-analysis:smart:60s", credits: 416 },
|
|
3674
|
+
{ identifier: "video-analysis:smart:180s", credits: 508 },
|
|
3675
|
+
{ identifier: "video-analysis:smart:360s", credits: 1280 },
|
|
3676
|
+
{ identifier: "video-analysis:smart:600s", credits: 2097, note: "10-min ceiling" }
|
|
3230
3677
|
]
|
|
3231
3678
|
},
|
|
3232
3679
|
// ── AI Audit (`video-audit`) ── a SEPARATE node from video-analysis (own
|
|
@@ -3271,11 +3718,11 @@ var VIDEO_MODELS = {
|
|
|
3271
3718
|
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.",
|
|
3272
3719
|
useCases: ["video-audit", "qa", "shot-list", "verification", "auto-analysis"],
|
|
3273
3720
|
pricing: [
|
|
3274
|
-
{ identifier: "video-audit:auto", credits:
|
|
3275
|
-
{ identifier: "video-audit:auto:60s", credits:
|
|
3276
|
-
{ identifier: "video-audit:auto:180s", credits:
|
|
3277
|
-
{ identifier: "video-audit:auto:360s", credits:
|
|
3278
|
-
{ identifier: "video-audit:auto:600s", credits:
|
|
3721
|
+
{ identifier: "video-audit:auto", credits: 1953, note: "10-min ceiling (no duration given)" },
|
|
3722
|
+
{ identifier: "video-audit:auto:60s", credits: 401 },
|
|
3723
|
+
{ identifier: "video-audit:auto:180s", credits: 483 },
|
|
3724
|
+
{ identifier: "video-audit:auto:360s", credits: 1197 },
|
|
3725
|
+
{ identifier: "video-audit:auto:600s", credits: 1953, note: "10-min ceiling" }
|
|
3279
3726
|
]
|
|
3280
3727
|
}
|
|
3281
3728
|
};
|
|
@@ -3626,6 +4073,23 @@ var AUDIO_MODELS = {
|
|
|
3626
4073
|
useCases: ["transcription", "stt"],
|
|
3627
4074
|
pricing: [{ identifier: "whisper", credits: 40 }]
|
|
3628
4075
|
},
|
|
4076
|
+
// NVIDIA's speech-to-text on KIE, priced per started minute of the file. Its
|
|
4077
|
+
// per-minute base fits no whole-credit row, so the row prices FOUR
|
|
4078
|
+
// minutes and a run is charged row × minutes ÷ 4, rounded up once
|
|
4079
|
+
// (`@nodaro/shared` credit-estimators/nemotron-transcribe.ts).
|
|
4080
|
+
"nemotron-3-5-transcribe": {
|
|
4081
|
+
id: "nemotron-3-5-transcribe",
|
|
4082
|
+
kind: "audio",
|
|
4083
|
+
modes: ["stt"],
|
|
4084
|
+
family: "NVIDIA",
|
|
4085
|
+
maker: "nvidia",
|
|
4086
|
+
label: "Nemotron 3.5 Transcribe",
|
|
4087
|
+
series: "Nemotron",
|
|
4088
|
+
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.",
|
|
4089
|
+
useCases: ["transcription", "stt", "captions", "translation"],
|
|
4090
|
+
features: ["word-timestamps", "diarization", "translation"],
|
|
4091
|
+
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" }]
|
|
4092
|
+
},
|
|
3629
4093
|
"elevenlabs-isolation": {
|
|
3630
4094
|
id: "elevenlabs-isolation",
|
|
3631
4095
|
kind: "audio",
|
|
@@ -3709,6 +4173,48 @@ var AUDIO_MODELS = {
|
|
|
3709
4173
|
useCases: ["music", "song", "vocals"],
|
|
3710
4174
|
pricing: [{ identifier: "suno", credits: 30, note: "per generation" }]
|
|
3711
4175
|
},
|
|
4176
|
+
// Suno v4.5, v4.5 All and v4.5+ (decided 2026-11-12): listed so a
|
|
4177
|
+
// deployment's model restriction can name them, each with a price row of its
|
|
4178
|
+
// own (SUNO_VERSION_CREDIT_KEYS) at the price those runs were charged before.
|
|
4179
|
+
"suno-v4_5": {
|
|
4180
|
+
id: "suno-v4_5",
|
|
4181
|
+
kind: "audio",
|
|
4182
|
+
modes: ["music"],
|
|
4183
|
+
family: "Suno",
|
|
4184
|
+
maker: "suno",
|
|
4185
|
+
label: "Suno v4.5",
|
|
4186
|
+
series: "Suno",
|
|
4187
|
+
dataValue: "V4_5",
|
|
4188
|
+
description: "Suno v4.5 \u2014 improved quality and coherence over v4.",
|
|
4189
|
+
useCases: ["music", "song", "vocals"],
|
|
4190
|
+
pricing: [{ identifier: "suno-v4_5", credits: 30, note: "per generation" }]
|
|
4191
|
+
},
|
|
4192
|
+
"suno-v4_5all": {
|
|
4193
|
+
id: "suno-v4_5all",
|
|
4194
|
+
kind: "audio",
|
|
4195
|
+
modes: ["music"],
|
|
4196
|
+
family: "Suno",
|
|
4197
|
+
maker: "suno",
|
|
4198
|
+
label: "Suno v4.5 All",
|
|
4199
|
+
series: "Suno",
|
|
4200
|
+
dataValue: "V4_5ALL",
|
|
4201
|
+
description: "Suno v4.5 All \u2014 full instrument and vocal generation.",
|
|
4202
|
+
useCases: ["music", "song", "vocals"],
|
|
4203
|
+
pricing: [{ identifier: "suno-v4_5all", credits: 30, note: "per generation" }]
|
|
4204
|
+
},
|
|
4205
|
+
"suno-v4_5plus": {
|
|
4206
|
+
id: "suno-v4_5plus",
|
|
4207
|
+
kind: "audio",
|
|
4208
|
+
modes: ["music"],
|
|
4209
|
+
family: "Suno",
|
|
4210
|
+
maker: "suno",
|
|
4211
|
+
label: "Suno v4.5 Plus",
|
|
4212
|
+
series: "Suno",
|
|
4213
|
+
dataValue: "V4_5PLUS",
|
|
4214
|
+
description: "Suno v4.5 Plus \u2014 richer production than v4.5.",
|
|
4215
|
+
useCases: ["music", "song", "vocals"],
|
|
4216
|
+
pricing: [{ identifier: "suno-v4_5plus", credits: 30, note: "per generation" }]
|
|
4217
|
+
},
|
|
3712
4218
|
"suno-v5": {
|
|
3713
4219
|
id: "suno-v5",
|
|
3714
4220
|
kind: "audio",
|
|
@@ -3782,7 +4288,7 @@ var MODEL_CATALOG = {
|
|
|
3782
4288
|
...AUDIO_MODELS
|
|
3783
4289
|
};
|
|
3784
4290
|
function listModels(filter) {
|
|
3785
|
-
const all = Object.values(MODEL_CATALOG);
|
|
4291
|
+
const all = Object.values(MODEL_CATALOG).filter((m) => m.pickerHidden !== true);
|
|
3786
4292
|
if (!filter) return all;
|
|
3787
4293
|
return all.filter((m) => {
|
|
3788
4294
|
if (filter.kind && m.kind !== filter.kind) return false;
|
|
@@ -4514,7 +5020,7 @@ function creditRangesAll() {
|
|
|
4514
5020
|
}
|
|
4515
5021
|
function modelIdsByKindMode(kind, modes, opts = {}) {
|
|
4516
5022
|
const includeHidden = opts.includeHidden === true;
|
|
4517
|
-
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();
|
|
5023
|
+
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();
|
|
4518
5024
|
if (ids.length === 0) {
|
|
4519
5025
|
throw new Error(
|
|
4520
5026
|
`modelIdsByKindMode: no models match kind=${kind ?? "*"} modes=[${modes.join(",")}]`
|
|
@@ -4523,7 +5029,13 @@ function modelIdsByKindMode(kind, modes, opts = {}) {
|
|
|
4523
5029
|
return ids;
|
|
4524
5030
|
}
|
|
4525
5031
|
|
|
5032
|
+
exports.CONTAINER_OVERHANG_SEC = CONTAINER_OVERHANG_SEC;
|
|
4526
5033
|
exports.FLUX2_RES_MP = FLUX2_RES_MP;
|
|
5034
|
+
exports.FLUX_3_KLEIN_DEFAULT_RESOLUTION = FLUX_3_KLEIN_DEFAULT_RESOLUTION;
|
|
5035
|
+
exports.FLUX_3_KLEIN_I2I = FLUX_3_KLEIN_I2I;
|
|
5036
|
+
exports.FLUX_3_KLEIN_MAX_INPUT_IMAGES = FLUX_3_KLEIN_MAX_INPUT_IMAGES;
|
|
5037
|
+
exports.FLUX_3_KLEIN_RESOLUTIONS = FLUX_3_KLEIN_RESOLUTIONS;
|
|
5038
|
+
exports.FLUX_3_KLEIN_T2I = FLUX_3_KLEIN_T2I;
|
|
4527
5039
|
exports.IMAGE_GIF_FRAME_SIZE = IMAGE_GIF_FRAME_SIZE;
|
|
4528
5040
|
exports.IMAGE_OUTPUT_FORMAT_LABELS = IMAGE_OUTPUT_FORMAT_LABELS;
|
|
4529
5041
|
exports.IMAGE_SVG_LEVEL_LABELS = IMAGE_SVG_LEVEL_LABELS;
|
|
@@ -4560,7 +5072,11 @@ exports.buildModelMenu = buildModelMenu;
|
|
|
4560
5072
|
exports.creditRangesAll = creditRangesAll;
|
|
4561
5073
|
exports.defaultResolutionFor = defaultResolutionFor;
|
|
4562
5074
|
exports.durationsByMode = durationsByMode;
|
|
5075
|
+
exports.editPlanSourceDurationSec = editPlanSourceDurationSec;
|
|
5076
|
+
exports.extractVideoDurationFromNode = extractVideoDurationFromNode;
|
|
4563
5077
|
exports.fitAspectRatioToModel = fitAspectRatioToModel;
|
|
5078
|
+
exports.flux3KleinCreditId = flux3KleinCreditId;
|
|
5079
|
+
exports.flux3KleinResolution = flux3KleinResolution;
|
|
4564
5080
|
exports.getAspectRatioOptions = getAspectRatioOptions;
|
|
4565
5081
|
exports.getCreditRange = getCreditRange;
|
|
4566
5082
|
exports.getDurationsForModel = getDurationsForModel;
|
|
@@ -4573,6 +5089,8 @@ exports.hasFeature = hasFeature;
|
|
|
4573
5089
|
exports.isAutoAspectToken = isAutoAspectToken;
|
|
4574
5090
|
exports.isAutoVideoDuration = isAutoVideoDuration;
|
|
4575
5091
|
exports.isFlux2Model = isFlux2Model;
|
|
5092
|
+
exports.isFlux3Klein = isFlux3Klein;
|
|
5093
|
+
exports.isFlux3KleinI2i = isFlux3KleinI2i;
|
|
4576
5094
|
exports.isMinimaxH3Image = isMinimaxH3Image;
|
|
4577
5095
|
exports.isMinimaxH3ImageI2i = isMinimaxH3ImageI2i;
|
|
4578
5096
|
exports.isModelMakerId = isModelMakerId;
|
|
@@ -4604,5 +5122,5 @@ exports.sourceImageSizeNeeded = sourceImageSizeNeeded;
|
|
|
4604
5122
|
exports.svgLevelOptionsByKind = svgLevelOptionsByKind;
|
|
4605
5123
|
exports.validateModelInput = validateModelInput;
|
|
4606
5124
|
exports.videoAutoAspectRunsAt = videoAutoAspectRunsAt;
|
|
4607
|
-
//# sourceMappingURL=chunk-
|
|
4608
|
-
//# sourceMappingURL=chunk-
|
|
5125
|
+
//# sourceMappingURL=chunk-5OBTGNUQ.cjs.map
|
|
5126
|
+
//# sourceMappingURL=chunk-5OBTGNUQ.cjs.map
|