@nodaro/shared 3.61.0 → 3.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4KYLNTR7.cjs → chunk-2PU3AGGS.cjs} +27 -4
- package/dist/chunk-2PU3AGGS.cjs.map +1 -0
- package/dist/{chunk-43TGSZRJ.js → chunk-2QKF7M2Z.js} +3 -3
- package/dist/{chunk-43TGSZRJ.js.map → chunk-2QKF7M2Z.js.map} +1 -1
- package/dist/{chunk-B6BG3LV2.js → chunk-34QLPTSA.js} +3 -3
- package/dist/{chunk-B6BG3LV2.js.map → chunk-34QLPTSA.js.map} +1 -1
- package/dist/chunk-3K24DWOH.js +453 -0
- package/dist/chunk-3K24DWOH.js.map +1 -0
- package/dist/{chunk-IRQ3SPX7.js → chunk-4DVWXEB6.js} +23 -4
- package/dist/chunk-4DVWXEB6.js.map +1 -0
- package/dist/{chunk-ZES6EZC4.js → chunk-4MMZD63H.js} +3 -3
- package/dist/{chunk-ZES6EZC4.js.map → chunk-4MMZD63H.js.map} +1 -1
- package/dist/{chunk-MQZRQ5LM.cjs → chunk-63H4C56Q.cjs} +8 -8
- package/dist/{chunk-MQZRQ5LM.cjs.map → chunk-63H4C56Q.cjs.map} +1 -1
- package/dist/{chunk-IVXSNW2B.cjs → chunk-6BZC2ZHC.cjs} +18 -332
- package/dist/chunk-6BZC2ZHC.cjs.map +1 -0
- package/dist/{chunk-M3SXUUWC.cjs → chunk-6FQBKI2A.cjs} +4 -11
- package/dist/chunk-6FQBKI2A.cjs.map +1 -0
- package/dist/{chunk-673E4KYC.js → chunk-6M563QE6.js} +134 -8
- package/dist/chunk-6M563QE6.js.map +1 -0
- package/dist/chunk-6TGB7ECA.cjs +48 -0
- package/dist/chunk-6TGB7ECA.cjs.map +1 -0
- package/dist/{chunk-XUJC6GHE.cjs → chunk-6XUG4L7X.cjs} +6 -6
- package/dist/{chunk-XUJC6GHE.cjs.map → chunk-6XUG4L7X.cjs.map} +1 -1
- package/dist/{chunk-XZKFZMRT.cjs → chunk-77WU3V3J.cjs} +6 -6
- package/dist/{chunk-XZKFZMRT.cjs.map → chunk-77WU3V3J.cjs.map} +1 -1
- package/dist/{chunk-ZFJN23V4.cjs → chunk-A2PX5IRC.cjs} +4 -4
- package/dist/{chunk-ZFJN23V4.cjs.map → chunk-A2PX5IRC.cjs.map} +1 -1
- package/dist/{chunk-ZDBPQBAA.js → chunk-AE3AAJ4O.js} +3 -3
- package/dist/{chunk-ZDBPQBAA.js.map → chunk-AE3AAJ4O.js.map} +1 -1
- package/dist/chunk-ALRXY4QH.cjs +13 -0
- package/dist/chunk-ALRXY4QH.cjs.map +1 -0
- package/dist/{chunk-UARGJ5IZ.js → chunk-BMJVKYVB.js} +56 -12
- package/dist/chunk-BMJVKYVB.js.map +1 -0
- package/dist/{chunk-6XVHYD5R.js → chunk-CLAKSLXF.js} +4 -9
- package/dist/chunk-CLAKSLXF.js.map +1 -0
- package/dist/chunk-CTANEPMY.js +61 -0
- package/dist/chunk-CTANEPMY.js.map +1 -0
- package/dist/chunk-CZ5IQB3L.js +42 -0
- package/dist/chunk-CZ5IQB3L.js.map +1 -0
- package/dist/{chunk-WGKAOUEQ.cjs → chunk-D34K455O.cjs} +3 -2
- package/dist/chunk-D34K455O.cjs.map +1 -0
- package/dist/chunk-EPXGG27L.js +331 -0
- package/dist/chunk-EPXGG27L.js.map +1 -0
- package/dist/{chunk-3M4BNKFJ.cjs → chunk-F6WGGYQW.cjs} +167 -3
- package/dist/chunk-F6WGGYQW.cjs.map +1 -0
- package/dist/{chunk-7FCTCWHD.js → chunk-FXGNRYQQ.js} +3 -3
- package/dist/{chunk-7FCTCWHD.js.map → chunk-FXGNRYQQ.js.map} +1 -1
- package/dist/{chunk-ZNM2LW3D.cjs → chunk-GMBDLNLD.cjs} +105 -56
- package/dist/chunk-GMBDLNLD.cjs.map +1 -0
- package/dist/{chunk-NJVOJXBS.cjs → chunk-GSKLPI3J.cjs} +104 -49
- package/dist/chunk-GSKLPI3J.cjs.map +1 -0
- package/dist/{chunk-EWS2VFO4.js → chunk-HBXF6RUU.js} +4 -4
- package/dist/{chunk-EWS2VFO4.js.map → chunk-HBXF6RUU.js.map} +1 -1
- package/dist/{chunk-MOMFX32D.js → chunk-HWQ2SYNA.js} +194 -325
- package/dist/chunk-HWQ2SYNA.js.map +1 -0
- package/dist/{chunk-SCMTN57Y.js → chunk-IY3Y462W.js} +3 -3
- package/dist/{chunk-SCMTN57Y.js.map → chunk-IY3Y462W.js.map} +1 -1
- package/dist/{chunk-ZZGQRRN7.js → chunk-KCZHQH2O.js} +6 -306
- package/dist/chunk-KCZHQH2O.js.map +1 -0
- package/dist/{chunk-XROE3CAS.cjs → chunk-KHH54GRP.cjs} +120 -79
- package/dist/chunk-KHH54GRP.cjs.map +1 -0
- package/dist/{chunk-FVVD6XY2.js → chunk-KL6GAYTT.js} +13 -4
- package/dist/chunk-KL6GAYTT.js.map +1 -0
- package/dist/{chunk-FVII3KHN.js → chunk-KMGCHV6O.js} +163 -4
- package/dist/chunk-KMGCHV6O.js.map +1 -0
- package/dist/{chunk-FMXFHJWX.cjs → chunk-L2TVY6XN.cjs} +4 -4
- package/dist/{chunk-FMXFHJWX.cjs.map → chunk-L2TVY6XN.cjs.map} +1 -1
- package/dist/{chunk-FQXRYPCX.cjs → chunk-LH72PQO2.cjs} +505 -68
- package/dist/chunk-LH72PQO2.cjs.map +1 -0
- package/dist/chunk-LMAQUR55.cjs +506 -0
- package/dist/chunk-LMAQUR55.cjs.map +1 -0
- package/dist/{chunk-F5YEMSNK.cjs → chunk-M5OCFGHF.cjs} +571 -30
- package/dist/chunk-M5OCFGHF.cjs.map +1 -0
- package/dist/{chunk-VOWJCUMR.js → chunk-MD4XHED4.js} +3 -3
- package/dist/{chunk-VOWJCUMR.js.map → chunk-MD4XHED4.js.map} +1 -1
- package/dist/chunk-N5HH46JF.cjs +68 -0
- package/dist/chunk-N5HH46JF.cjs.map +1 -0
- package/dist/{chunk-G4XWVWRI.js → chunk-NIAFR5EE.js} +5 -4
- package/dist/chunk-NIAFR5EE.js.map +1 -0
- package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
- package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
- package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
- package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
- package/dist/{chunk-SWVGHAYO.js → chunk-O7RZRUMZ.js} +110 -74
- package/dist/chunk-O7RZRUMZ.js.map +1 -0
- package/dist/{chunk-LLOIAGFB.js → chunk-OV3JTKBY.js} +449 -51
- package/dist/chunk-OV3JTKBY.js.map +1 -0
- package/dist/{chunk-A3FHTSLB.js → chunk-PSKZKLDG.js} +550 -31
- package/dist/chunk-PSKZKLDG.js.map +1 -0
- package/dist/{chunk-VB2ARGQ6.js → chunk-RGNHHIMN.js} +3 -3
- package/dist/chunk-RGNHHIMN.js.map +1 -0
- package/dist/chunk-SMOO5FAH.js +10 -0
- package/dist/chunk-SMOO5FAH.js.map +1 -0
- package/dist/{chunk-5XRRENHD.cjs → chunk-TM5JYSJF.cjs} +170 -17
- package/dist/chunk-TM5JYSJF.cjs.map +1 -0
- package/dist/{chunk-PONP5J5E.cjs → chunk-V24EPI5N.cjs} +13 -3
- package/dist/chunk-V24EPI5N.cjs.map +1 -0
- package/dist/{chunk-RQ4F3AJH.cjs → chunk-V5EEQR2U.cjs} +21 -21
- package/dist/{chunk-RQ4F3AJH.cjs.map → chunk-V5EEQR2U.cjs.map} +1 -1
- package/dist/chunk-WZVIBAKN.cjs +351 -0
- package/dist/chunk-WZVIBAKN.cjs.map +1 -0
- package/dist/{chunk-5M43XMRB.cjs → chunk-X5BAFW3Q.cjs} +8 -8
- package/dist/{chunk-5M43XMRB.cjs.map → chunk-X5BAFW3Q.cjs.map} +1 -1
- package/dist/{chunk-RUHKBEFF.js → chunk-XBTYGQ6Z.js} +63 -10
- package/dist/chunk-XBTYGQ6Z.js.map +1 -0
- package/dist/{chunk-JHTT2V4A.cjs → chunk-XGGZWA4A.cjs} +118 -52
- package/dist/chunk-XGGZWA4A.cjs.map +1 -0
- package/dist/{chunk-5I4T4QR5.cjs → chunk-XGVJGNZW.cjs} +5 -5
- package/dist/{chunk-5I4T4QR5.cjs.map → chunk-XGVJGNZW.cjs.map} +1 -1
- package/dist/{chunk-7ARKVJTN.cjs → chunk-Y35JQPT6.cjs} +228 -383
- package/dist/chunk-Y35JQPT6.cjs.map +1 -0
- package/dist/{chunk-AFQFGZN7.cjs → chunk-Y4GCJJPF.cjs} +8 -6
- package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
- package/dist/{chunk-C77F4ZTL.js → chunk-YUER7TJG.js} +3 -3
- package/dist/{chunk-C77F4ZTL.js.map → chunk-YUER7TJG.js.map} +1 -1
- package/dist/{chunk-HGI2VKIV.js → chunk-YX6TFX7H.js} +67 -14
- package/dist/chunk-YX6TFX7H.js.map +1 -0
- package/dist/{chunk-TWF2OSH4.cjs → chunk-ZPE2ZTJ4.cjs} +4 -4
- package/dist/{chunk-TWF2OSH4.cjs.map → chunk-ZPE2ZTJ4.cjs.map} +1 -1
- package/dist/entries/apps.cjs +44 -44
- package/dist/entries/apps.js +9 -9
- package/dist/entries/credits.cjs +286 -153
- package/dist/entries/credits.d.cts +254 -5
- package/dist/entries/credits.d.ts +254 -5
- package/dist/entries/credits.js +14 -9
- package/dist/entries/entities.cjs +188 -143
- package/dist/entries/entities.d.cts +122 -1
- package/dist/entries/entities.d.ts +122 -1
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.cjs +77 -57
- package/dist/entries/llm-models.d.cts +85 -5
- package/dist/entries/llm-models.d.ts +85 -5
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +92 -87
- package/dist/entries/media.d.cts +19 -1
- package/dist/entries/media.d.ts +19 -1
- package/dist/entries/media.js +3 -2
- package/dist/entries/model-catalog.cjs +211 -103
- package/dist/entries/model-catalog.d.cts +135 -19
- package/dist/entries/model-catalog.d.ts +135 -19
- package/dist/entries/model-catalog.js +5 -5
- package/dist/entries/models.cjs +504 -295
- package/dist/entries/models.d.cts +71 -4
- package/dist/entries/models.d.ts +71 -4
- package/dist/entries/models.js +7 -6
- package/dist/entries/nodes.cjs +249 -233
- package/dist/entries/nodes.d.cts +35 -6
- package/dist/entries/nodes.d.ts +35 -6
- package/dist/entries/nodes.js +10 -10
- package/dist/entries/pipeline.cjs +152 -152
- package/dist/entries/pipeline.d.cts +3 -2
- package/dist/entries/pipeline.d.ts +3 -2
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/runtime-config.cjs +29 -29
- package/dist/entries/runtime-config.d.cts +10 -7
- package/dist/entries/runtime-config.d.ts +10 -7
- package/dist/entries/runtime-config.js +1 -1
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/types.d.cts +8 -0
- package/dist/entries/types.d.ts +8 -0
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +316 -208
- package/dist/entries/video.d.cts +490 -99
- package/dist/entries/video.d.ts +490 -99
- package/dist/entries/video.js +8 -4
- package/dist/entries/workflow.cjs +102 -102
- package/dist/entries/workflow.d.cts +5 -4
- package/dist/entries/workflow.d.ts +5 -4
- package/dist/entries/workflow.js +2 -2
- package/dist/{gpt-image-2-6-BeZdT-pW.d.cts → gpt-image-2-6-jIRQBRag.d.cts} +6 -0
- package/dist/{gpt-image-2-6-BeZdT-pW.d.ts → gpt-image-2-6-jIRQBRag.d.ts} +6 -0
- package/dist/index.cjs +2727 -2092
- package/dist/index.d.cts +11 -11
- package/dist/index.d.ts +11 -11
- package/dist/index.js +30 -27
- package/dist/{model-catalog-BgSvskgY.d.ts → model-catalog-C_Eo35tL.d.cts} +158 -14
- package/dist/{model-catalog-BgSvskgY.d.cts → model-catalog-C_Eo35tL.d.ts} +158 -14
- package/dist/{model-constants-DHd9jwQ7.d.cts → model-constants-Bg4ccSQb.d.ts} +427 -34
- package/dist/{model-constants-DHd9jwQ7.d.ts → model-constants-DWcxOmaY.d.cts} +427 -34
- package/package.json +1 -1
- package/src/__tests__/credit-identifiers.test.ts +29 -0
- package/src/__tests__/extend-providers.test.ts +194 -0
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +118 -0
- package/src/__tests__/fixtures/root-exports.baseline.json +68 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +4 -1
- package/src/__tests__/grok-video-15-catalog.test.ts +189 -0
- package/src/__tests__/gvp-supported-providers.test.ts +32 -4
- package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
- package/src/__tests__/lip-sync-levers.test.ts +31 -0
- package/src/__tests__/llm-models.test.ts +132 -3
- package/src/__tests__/llm-price-key.test.ts +152 -1
- package/src/__tests__/minimax-h3-image.test.ts +140 -0
- package/src/__tests__/model-makers.test.ts +49 -11
- package/src/__tests__/model-tree.test.ts +13 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
- package/src/__tests__/normalize-node-params.test.ts +25 -0
- package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
- package/src/__tests__/prompt-length-limits.test.ts +4 -0
- package/src/__tests__/retired-video-provider.test.ts +15 -5
- package/src/__tests__/seedance-25-catalog-modes.test.ts +1 -1
- package/src/__tests__/seedance-task-type.test.ts +188 -0
- package/src/__tests__/seedream-5-5.test.ts +117 -0
- package/src/__tests__/transcribe-capabilities.test.ts +39 -2
- package/src/__tests__/transcribe-preflight.test.ts +50 -1
- package/src/__tests__/unit-contract-compose.test.ts +27 -1
- package/src/__tests__/unit-contracts.test.ts +20 -6
- package/src/__tests__/upscale-factors.test.ts +107 -0
- package/src/__tests__/video-audio-capability.test.ts +35 -6
- package/src/__tests__/video-character-refs.test.ts +20 -2
- package/src/__tests__/video-collapse-parity.test.ts +19 -0
- package/src/__tests__/video-overlay-geometry.test.ts +68 -0
- package/src/__tests__/video-overlay-layer-plan.test.ts +3 -4
- package/src/__tests__/video-overlay-layouts.test.ts +529 -0
- package/src/__tests__/video-overlay-pricing.test.ts +61 -0
- package/src/__tests__/video-overlay-validate.test.ts +128 -0
- package/src/__tests__/video-overlay-wired-kind.test.ts +207 -0
- package/src/__tests__/video-overlay.test.ts +280 -194
- package/src/__tests__/video-ref-limits.test.ts +2 -1
- package/src/__tests__/video-reference-only.test.ts +6 -2
- package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
- package/src/__tests__/video-start-frame-only.test.ts +98 -0
- package/src/__tests__/video-upscale-params.test.ts +62 -0
- package/src/__tests__/wired-character-names.test.ts +220 -0
- package/src/catalog-projection.ts +8 -0
- package/src/credit-estimators/index.ts +18 -0
- package/src/credit-estimators/nemotron-transcribe.ts +87 -0
- package/src/credit-estimators/video-overlay.ts +70 -0
- package/src/credit-identifiers.ts +183 -16
- package/src/entity-image-url.ts +21 -0
- package/src/entries/credits.ts +26 -1
- package/src/entries/entities.ts +14 -0
- package/src/entries/llm-models.ts +6 -0
- package/src/entries/model-catalog.ts +44 -1
- package/src/entries/models.ts +69 -0
- package/src/entries/nodes.ts +4 -0
- package/src/entries/video.ts +7 -1
- package/src/freecut-protocol.ts +8 -0
- package/src/generated/unit-contracts.ts +8 -1
- package/src/gpt-image-2-6.ts +6 -0
- package/src/input-image-pricing.ts +76 -0
- package/src/lip-sync-levers.ts +56 -0
- package/src/lip-sync-pricing.ts +91 -1
- package/src/llm-models.ts +249 -4
- package/src/mask-composite.ts +11 -0
- package/src/minimax-h3-image.ts +61 -0
- package/src/model-catalog.ts +604 -40
- package/src/model-constants.ts +860 -55
- package/src/model-tree.ts +2 -1
- package/src/nodaro-video-upscale.ts +48 -0
- package/src/node-default-mappings.ts +15 -2
- package/src/node-execution-state.ts +4 -3
- package/src/normalize-node-params.ts +49 -1
- package/src/producer-types.ts +23 -1
- package/src/runtime-config/contract.ts +10 -7
- package/src/seedance-draft.ts +2 -1
- package/src/seedance-task-type.ts +37 -0
- package/src/seedream-5-5.ts +45 -0
- package/src/transcribe-preflight.ts +58 -7
- package/src/unit-contract-compose.ts +4 -1
- package/src/upscale-factors.ts +111 -0
- package/src/video-character-refs.ts +7 -4
- package/src/video-duration.ts +9 -0
- package/src/video-overlay-geometry.ts +99 -0
- package/src/video-overlay-input.ts +25 -0
- package/src/video-overlay-layout-ids.ts +48 -0
- package/src/video-overlay-layouts.ts +315 -0
- package/src/video-overlay-validate.ts +223 -0
- package/src/video-overlay-video-layers.ts +304 -0
- package/src/video-overlay.ts +165 -297
- package/src/video-ui-defaults.ts +11 -7
- package/src/video-upscale-params.ts +67 -0
- package/src/wired-character-names.ts +202 -0
- package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
- package/dist/chunk-4KYLNTR7.cjs.map +0 -1
- package/dist/chunk-5XRRENHD.cjs.map +0 -1
- package/dist/chunk-673E4KYC.js.map +0 -1
- package/dist/chunk-6XVHYD5R.js.map +0 -1
- package/dist/chunk-7ARKVJTN.cjs.map +0 -1
- package/dist/chunk-7WGKP3EU.js +0 -23
- package/dist/chunk-7WGKP3EU.js.map +0 -1
- package/dist/chunk-A3FHTSLB.js.map +0 -1
- package/dist/chunk-AFQFGZN7.cjs.map +0 -1
- package/dist/chunk-F5YEMSNK.cjs.map +0 -1
- package/dist/chunk-FQXRYPCX.cjs.map +0 -1
- package/dist/chunk-FVII3KHN.js.map +0 -1
- package/dist/chunk-FVVD6XY2.js.map +0 -1
- package/dist/chunk-G4XWVWRI.js.map +0 -1
- package/dist/chunk-HGI2VKIV.js.map +0 -1
- package/dist/chunk-IRQ3SPX7.js.map +0 -1
- package/dist/chunk-IVXSNW2B.cjs.map +0 -1
- package/dist/chunk-JHTT2V4A.cjs.map +0 -1
- package/dist/chunk-KHZAQGRP.js +0 -17
- package/dist/chunk-KHZAQGRP.js.map +0 -1
- package/dist/chunk-LLOIAGFB.js.map +0 -1
- package/dist/chunk-M3SXUUWC.cjs.map +0 -1
- package/dist/chunk-MOMFX32D.js.map +0 -1
- package/dist/chunk-NCOGGRRP.cjs +0 -27
- package/dist/chunk-NCOGGRRP.cjs.map +0 -1
- package/dist/chunk-NJVOJXBS.cjs.map +0 -1
- package/dist/chunk-PONP5J5E.cjs.map +0 -1
- package/dist/chunk-RUHKBEFF.js.map +0 -1
- package/dist/chunk-SWVGHAYO.js.map +0 -1
- package/dist/chunk-UARGJ5IZ.js.map +0 -1
- package/dist/chunk-VB2ARGQ6.js.map +0 -1
- package/dist/chunk-WGKAOUEQ.cjs.map +0 -1
- package/dist/chunk-XROE3CAS.cjs.map +0 -1
- package/dist/chunk-ZLDFPVVI.cjs +0 -19
- package/dist/chunk-ZLDFPVVI.cjs.map +0 -1
- package/dist/chunk-ZNM2LW3D.cjs.map +0 -1
- package/dist/chunk-ZZGQRRN7.js.map +0 -1
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { cy as VideoAudioRequest, bD as SeedanceExtendProvider, bY as TailExtendProvider } from '../model-constants-DWcxOmaY.cjs';
|
|
2
|
+
import { I as ImageFormatLevers } from '../gpt-image-2-6-jIRQBRag.cjs';
|
|
3
|
+
import { j as ModelInputAdjustment, x as SourceImageSize } from '../model-catalog-C_Eo35tL.cjs';
|
|
4
|
+
import 'zod';
|
|
3
5
|
|
|
4
6
|
/** Milli-credits per credit — the intermediate rounding resolution. */
|
|
5
7
|
declare const CREDIT_ROUNDING_RESOLUTION = 1000;
|
|
@@ -243,7 +245,7 @@ declare function resolveImageGenCreditIdentifier(opts: {
|
|
|
243
245
|
refCount: number;
|
|
244
246
|
swapToI2i?: boolean;
|
|
245
247
|
}): string;
|
|
246
|
-
declare function buildVideoCreditModelIdentifier(rawProvider: string, duration?: number | string, sound?: boolean, nodeType?: "image-to-video" | "text-to-video", mode?: string, resolution?: string, hasVideoRef?: boolean): string;
|
|
248
|
+
declare function buildVideoCreditModelIdentifier(rawProvider: string, duration?: number | string, sound?: boolean | VideoAudioRequest, nodeType?: "image-to-video" | "text-to-video", mode?: string, resolution?: string, hasVideoRef?: boolean): string;
|
|
247
249
|
/**
|
|
248
250
|
* The credit identifier a video GENERATION node is quoted at — Generate Video
|
|
249
251
|
* (and the legacy Image/Text to Video nodes) and the Video to Video Seedance
|
|
@@ -267,6 +269,8 @@ declare function videoGenerationCreditId(args: {
|
|
|
267
269
|
provider: string;
|
|
268
270
|
duration?: number | string;
|
|
269
271
|
sound?: boolean;
|
|
272
|
+
/** The request's `generateAudio`, read after `sound` where the model reads it (`videoAudioIntent`). */
|
|
273
|
+
generateAudio?: boolean;
|
|
270
274
|
nodeType?: "image-to-video" | "text-to-video";
|
|
271
275
|
mode?: string;
|
|
272
276
|
resolution?: string;
|
|
@@ -293,6 +297,36 @@ declare function videoGenerationCreditId(args: {
|
|
|
293
297
|
* node's Seedance Draft toggle (priced at 480p).
|
|
294
298
|
*/
|
|
295
299
|
declare function seedanceVideoEditCreditId(provider: string, resolution?: string, draft?: boolean): string;
|
|
300
|
+
/**
|
|
301
|
+
* The resolution a tail-recipe Extend Video run (Seedance 2.5 / 2.0, Kling 4)
|
|
302
|
+
* is priced at, and so the one it must render at: the requested one when it is
|
|
303
|
+
* among the provider's catalog `resolutions`, else 720p (also when none is
|
|
304
|
+
* named). The workflow run queues it and the worker holds the job to it, so a
|
|
305
|
+
* stored or sent resolution the model does not offer (`4k`, or `480p` on Kling
|
|
306
|
+
* 4) can never render above, or bill apart from, the row it reserved.
|
|
307
|
+
*/
|
|
308
|
+
declare function tailExtendResolution(provider: TailExtendProvider, resolution?: unknown): string;
|
|
309
|
+
/**
|
|
310
|
+
* The credit identifier one tail-recipe Extend Video run is priced at — the
|
|
311
|
+
* one builder every surface that prices it reads (the route's guard and
|
|
312
|
+
* reservation, the workflow reservation and estimate, the editor), so none of
|
|
313
|
+
* them can name a different row.
|
|
314
|
+
*
|
|
315
|
+
* The seconds added snap into the provider's catalog `durations` (its catalog
|
|
316
|
+
* `defaultDuration` when unset, through {@link pricedOutputDurationSec}); the
|
|
317
|
+
* resolution is {@link tailExtendResolution}'s. Each provider has its own
|
|
318
|
+
* rows, one per second of its window and resolution: `<provider>:<N>s:<res>`
|
|
319
|
+
* (`seedance-2-5-extend` 4–30 s, `seedance-2-0-extend` 4–15 s, both at
|
|
320
|
+
* 480p / 720p / 1080p; `kling-4-extend` 3–30 s at 720p / 1080p).
|
|
321
|
+
*
|
|
322
|
+
* A retired id (`seedance-2-extend`) is not a {@link TailExtendProvider}:
|
|
323
|
+
* pass a stored or sent provider through `canonicalVideoProvider` first.
|
|
324
|
+
*/
|
|
325
|
+
declare function tailExtendCreditId(provider: TailExtendProvider, duration?: number | string, resolution?: string): string;
|
|
326
|
+
/** @deprecated Use {@link tailExtendResolution}, which also answers for Kling 4 Extend. */
|
|
327
|
+
declare function seedanceExtendResolution(provider: SeedanceExtendProvider, resolution?: unknown): string;
|
|
328
|
+
/** @deprecated Use {@link tailExtendCreditId}, which also answers for Kling 4 Extend. */
|
|
329
|
+
declare function seedanceExtendCreditId(provider: SeedanceExtendProvider, duration?: number | string, resolution?: string): string;
|
|
296
330
|
/** What the video credit identifier PRICES for a request, for the levers whose
|
|
297
331
|
* priced value must also be the value we SEND. */
|
|
298
332
|
interface PricedVideoSelection {
|
|
@@ -362,10 +396,26 @@ declare function pricedVideoSelection(opts: {
|
|
|
362
396
|
* "wan-animate-move" (480p default), "wan-animate-move:580p", "wan-animate-move:720p"
|
|
363
397
|
*
|
|
364
398
|
* @param provider - Motion control provider key ("kling" for 2.6, "kling-3.0", "wan-animate-move", "wan-animate-replace")
|
|
365
|
-
* @param resolution - "720p" or "1080p" (Kling), "480p" or "580p" or "720p" (Wan Animate)
|
|
399
|
+
* @param resolution - "720p" or "1080p" (Kling), "480p" or "580p" or "720p" (Wan Animate); a size the
|
|
400
|
+
* model does not have is priced as the size it runs at (`motionTransferResolution`: Wan Animate's 1080p as 720p)
|
|
366
401
|
* @param videoDuration - Reference video duration in seconds (defaults to 10s, unused for Wan Animate)
|
|
367
402
|
*/
|
|
368
403
|
declare function buildMotionCreditModelIdentifier(provider: string, resolution: string, videoDuration?: number): string;
|
|
404
|
+
/** The size a Motion Transfer run is sent and charged at, and what moved. */
|
|
405
|
+
interface MotionTransferResolution {
|
|
406
|
+
resolution: string;
|
|
407
|
+
/** Empty when the size it names is the one it runs at. */
|
|
408
|
+
adjustments: ModelInputAdjustment[];
|
|
409
|
+
}
|
|
410
|
+
/**
|
|
411
|
+
* The size a Motion Transfer run is sent and charged at (decided 2026-11-12):
|
|
412
|
+
* the size it names, held to the catalog entry of the model its option runs
|
|
413
|
+
* (`normalizeModelInput`), so a size that model does not have moves to the
|
|
414
|
+
* entry's `defaultResolution` — a Wan Animate request at 1080p runs, and is
|
|
415
|
+
* charged, as 720p. The route, the workflow build, the MCP workflow writes and
|
|
416
|
+
* every price (through `buildMotionCreditModelIdentifier`) read this one rule.
|
|
417
|
+
*/
|
|
418
|
+
declare function motionTransferResolution(provider: string, resolution: string): MotionTransferResolution;
|
|
369
419
|
/**
|
|
370
420
|
* The Suno operations whose credit key depends on the model VERSION.
|
|
371
421
|
*
|
|
@@ -903,6 +953,108 @@ declare function pitchTempoBaseCredits(ratePerMinute: number, minutes: number):
|
|
|
903
953
|
/** The frequency ratio for a shift of `semitones` (12 = one octave up = ×2). */
|
|
904
954
|
declare function semitonesToPitchRatio(semitones: number): number;
|
|
905
955
|
|
|
956
|
+
/**
|
|
957
|
+
* Nemotron 3.5 Transcribe pricing — per STARTED minute of the file (decided
|
|
958
|
+
* 2026-11-12): the same price with word timings or a translation.
|
|
959
|
+
*
|
|
960
|
+
* The base price is 0.75 credits a minute, which no whole-credit row can hold
|
|
961
|
+
* (`model_pricing.credit_cost` is an integer), so the rate row prices FOUR
|
|
962
|
+
* minutes — the same trick as Nodaro Video Upscale's four-second rows. A run
|
|
963
|
+
* reserves `nemotron-3-5-transcribe:<N>m` (N = started minutes, 1..60), which
|
|
964
|
+
* billing prices as that row × N ÷ 4, rounded up once for the whole run, then
|
|
965
|
+
* marked up once — never a row of its own, so a retune of the rate row moves
|
|
966
|
+
* the route, the workflow run, the node's Run button and every estimate
|
|
967
|
+
* together. The same id is built by the route (from the probed length), the
|
|
968
|
+
* workflow run (the same probe) and the editor (the upstream length it knows).
|
|
969
|
+
* That id is the HOLD: a run is then CHARGED for the minutes the provider
|
|
970
|
+
* reports it decoded, up or down (decided 2026-11-12; backend
|
|
971
|
+
* `lib/nemotron-transcribe-settle.ts`).
|
|
972
|
+
*
|
|
973
|
+
* Worked base prices at the row's launch value of 3 (per 4 minutes):
|
|
974
|
+
* 0:45 → 1, 1:00 → 1, 1:01 → 2, 10:00 → 8, 60:00 → 45.
|
|
975
|
+
* The listed (marked-up) price follows from those.
|
|
976
|
+
*/
|
|
977
|
+
/** The engine's id — the Transcribe node's `provider`, and the bare price id. */
|
|
978
|
+
declare const NEMOTRON_TRANSCRIBE_ID = "nemotron-3-5-transcribe";
|
|
979
|
+
declare const NEMOTRON_TRANSCRIBE_PRICING: {
|
|
980
|
+
/** The rate row: credits per {@link NEMOTRON_TRANSCRIBE_PRICING.RATE_MINUTES} minutes. Never reserved by itself. */
|
|
981
|
+
readonly RATE_CREDIT_ID: "nemotron-3-5-transcribe:per-4m";
|
|
982
|
+
/** The minutes the rate row prices. */
|
|
983
|
+
readonly RATE_MINUTES: 4;
|
|
984
|
+
/** The rate row's launch value (admin-retunable in /admin/models): 0.75 base credits a minute. */
|
|
985
|
+
readonly CREDITS_PER_RATE_DEFAULT: 3;
|
|
986
|
+
/** The longest file a run accepts, in seconds (KIE's 60-minute limit; the route refuses longer). */
|
|
987
|
+
readonly MAX_DURATION_SEC: 3600;
|
|
988
|
+
/** The most minutes a `nemotron-3-5-transcribe:<N>m` id can carry. */
|
|
989
|
+
readonly MAX_MINUTES: 60;
|
|
990
|
+
/** The largest file a run accepts, in bytes (KIE's 200 MB limit). */
|
|
991
|
+
readonly MAX_BYTES: number;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* Started minutes of a file of `durationSec` seconds: ceil(sec / 60), at least
|
|
995
|
+
* 1, at most 60. An unknown or non-positive length counts as one minute here; a
|
|
996
|
+
* quote of an unknown length names 60 instead ({@link nemotronTranscribeQuoteCreditId}),
|
|
997
|
+
* as does a run whose file's length cannot be read (it holds 60 minutes and
|
|
998
|
+
* settles at the provider's decoded length).
|
|
999
|
+
*/
|
|
1000
|
+
declare function nemotronTranscribeStartedMinutes(durationSec: number | null | undefined): number;
|
|
1001
|
+
/** `nemotron-3-5-transcribe:<N>m` — the id a run on a file of `durationSec` seconds reserves. */
|
|
1002
|
+
declare function nemotronTranscribeCreditId(durationSec: number | null | undefined): string;
|
|
1003
|
+
/**
|
|
1004
|
+
* The id a QUOTE names for a file of `durationSec` seconds — every estimate
|
|
1005
|
+
* before a run. A known length is the id its run reserves. An UNKNOWN length is
|
|
1006
|
+
* the 60-minute id: a run measures the file before it reserves, holds 60
|
|
1007
|
+
* minutes for one whose length cannot be read and refuses one over 60 minutes,
|
|
1008
|
+
* and the provider refuses longer audio, so 60 minutes is the most any run can
|
|
1009
|
+
* be charged and the quote is never below the charge (Pitch & Tempo's rule).
|
|
1010
|
+
*/
|
|
1011
|
+
declare function nemotronTranscribeQuoteCreditId(durationSec: number | null | undefined): string;
|
|
1012
|
+
/** The minutes of a `nemotron-3-5-transcribe:<N>m` id (1 ≤ N ≤ 60), or `undefined` for any other id. */
|
|
1013
|
+
declare function parseNemotronTranscribeCreditId(id: string): {
|
|
1014
|
+
minutes: number;
|
|
1015
|
+
} | undefined;
|
|
1016
|
+
/**
|
|
1017
|
+
* The base of a run of `minutes` started minutes from the rate row's value
|
|
1018
|
+
* (`ratePerBlock` credits per {@link NEMOTRON_TRANSCRIBE_PRICING.RATE_MINUTES}
|
|
1019
|
+
* minutes): rate × minutes ÷ 4, rounded up once for the whole run, at least 1.
|
|
1020
|
+
*/
|
|
1021
|
+
declare function nemotronTranscribeBaseCredits(ratePerBlock: number, minutes: number): number;
|
|
1022
|
+
|
|
1023
|
+
declare const VIDEO_OVERLAY_PRICING: {
|
|
1024
|
+
/** An image-only run: one flat row. */
|
|
1025
|
+
readonly IMAGE_CREDIT_ID: "video-overlay";
|
|
1026
|
+
/** A run with a video layer: one row per started {@link VIDEO_OVERLAY_PRICING.UNIT_SEC} seconds of the output. */
|
|
1027
|
+
readonly VIDEO_CREDIT_ID: "video-overlay:video";
|
|
1028
|
+
/** Seconds of output one unit of the video row covers. */
|
|
1029
|
+
readonly UNIT_SEC: 5;
|
|
1030
|
+
/** The longest base a run with a video layer accepts, in seconds. */
|
|
1031
|
+
readonly MAX_BASE_SEC: 60;
|
|
1032
|
+
};
|
|
1033
|
+
/**
|
|
1034
|
+
* How much longer, in seconds, the base the worker downloads may run than the
|
|
1035
|
+
* base measured before the run was charged, before the worker refuses it as
|
|
1036
|
+
* changed: a re-measure can read a hair longer (a re-encode, a container's
|
|
1037
|
+
* rounding), and that is not a different file. Applied to the seconds, never
|
|
1038
|
+
* to the units: a base billed for 10 s renders at up to 10.5 s.
|
|
1039
|
+
*/
|
|
1040
|
+
declare const VIDEO_OVERLAY_REMEASURE_SLACK_SEC = 0.5;
|
|
1041
|
+
/** The row a run is charged from: the flat image row, or the per-5-second video row when any layer is a video. */
|
|
1042
|
+
declare function videoOverlayCreditId(hasVideoLayer: boolean): string;
|
|
1043
|
+
/**
|
|
1044
|
+
* Units of the video row for a base `baseSec` long: one per started 5
|
|
1045
|
+
* seconds, at least one, after `pricedClipSeconds` (up to 0.05 s past a whole
|
|
1046
|
+
* second is ignored, so a 10.01 s base is 2 units). An unknown length counts
|
|
1047
|
+
* the cap — the pre-run quote for a base not measured yet — and so does a
|
|
1048
|
+
* length past it (such a base is refused before anything is reserved).
|
|
1049
|
+
*/
|
|
1050
|
+
declare function videoOverlayVideoUnits(baseSec: number | null | undefined): number;
|
|
1051
|
+
/**
|
|
1052
|
+
* Whether a measured base is past the cap for a run with a video layer. Read
|
|
1053
|
+
* on the priced seconds the units use, so a base the price counts as 60 s
|
|
1054
|
+
* (60.04 s, a whole-second cut of a 29.97 fps clip) is accepted at 12 units.
|
|
1055
|
+
*/
|
|
1056
|
+
declare function videoOverlayBaseTooLong(baseSec: number): boolean;
|
|
1057
|
+
|
|
906
1058
|
/**
|
|
907
1059
|
* Topaz image upscale — the single authority for "which lever did the user
|
|
908
1060
|
* pull, what do we send, and what do we charge".
|
|
@@ -976,6 +1128,47 @@ declare function resolveTopazUpscale(input: {
|
|
|
976
1128
|
targetResolution?: string | null;
|
|
977
1129
|
}): TopazUpscaleResolution;
|
|
978
1130
|
|
|
1131
|
+
/** Nodaro Image Upscale's model id. */
|
|
1132
|
+
declare const NODARO_IMAGE_UPSCALE_MODEL_ID = "nodaro-image-upscale";
|
|
1133
|
+
type NodaroImageUpscaleFactor = "1" | "2" | "4" | "8";
|
|
1134
|
+
/** The factors Nodaro Image Upscale renders at, smallest first. */
|
|
1135
|
+
declare const NODARO_IMAGE_UPSCALE_FACTORS: readonly NodaroImageUpscaleFactor[];
|
|
1136
|
+
/** The factor a Nodaro Image Upscale request without a valid one renders at. */
|
|
1137
|
+
declare const NODARO_IMAGE_UPSCALE_DEFAULT_FACTOR: NodaroImageUpscaleFactor;
|
|
1138
|
+
/** Every factor any image upscaler takes — the vocabulary the request enums carry. Each model's own list is {@link upscaleFactorsFor}. */
|
|
1139
|
+
declare const UPSCALE_FACTORS: readonly ["1", "2", "4", "8"];
|
|
1140
|
+
type UpscaleFactor = (typeof UPSCALE_FACTORS)[number];
|
|
1141
|
+
/** The factor Nodaro Image Upscale renders `raw` at: a listed factor as given (trimmed), anything else the default. */
|
|
1142
|
+
declare function resolveNodaroImageUpscaleFactor(raw: unknown): NodaroImageUpscaleFactor;
|
|
1143
|
+
/** The factors `provider` accepts, or undefined for a model that declares no factor list. */
|
|
1144
|
+
declare function upscaleFactorsFor(provider: unknown): readonly UpscaleFactor[] | undefined;
|
|
1145
|
+
/**
|
|
1146
|
+
* The factor a request to `provider` sends: Topaz's through `resolveTopazUpscale`
|
|
1147
|
+
* (its legacy `targetResolution` included), Nodaro Image Upscale's through
|
|
1148
|
+
* {@link resolveNodaroImageUpscaleFactor}, and any other model's value as
|
|
1149
|
+
* given — except a factor only the house model takes ("8"), which is not
|
|
1150
|
+
* sent. What the editor's panel snaps a stale value to, and what the editor's
|
|
1151
|
+
* Run and the workflow payload send.
|
|
1152
|
+
*/
|
|
1153
|
+
declare function resolveUpscaleFactor(provider: unknown, input: {
|
|
1154
|
+
upscaleFactor?: unknown;
|
|
1155
|
+
targetResolution?: unknown;
|
|
1156
|
+
}): string | undefined;
|
|
1157
|
+
/**
|
|
1158
|
+
* The factor a node on `provider` must carry instead of its stored one — the
|
|
1159
|
+
* one the run would render ({@link resolveUpscaleFactor}) — `null` when it
|
|
1160
|
+
* must carry none, or undefined when the stored factor stands. What the editor
|
|
1161
|
+
* writes when a stale factor meets a model that does not take it: a Nodaro
|
|
1162
|
+
* Image Upscale 8x switched to Topaz runs, and is stored, at 2x; one switched
|
|
1163
|
+
* to a model with no factor list (Recraft) keeps no factor. Any other factor
|
|
1164
|
+
* on such a model stands exactly as it always did (a saved Recraft node's "4"
|
|
1165
|
+
* is never rewritten), as does none stored, or one the model takes.
|
|
1166
|
+
*/
|
|
1167
|
+
declare function snappedUpscaleFactor(provider: unknown, input: {
|
|
1168
|
+
upscaleFactor?: unknown;
|
|
1169
|
+
targetResolution?: unknown;
|
|
1170
|
+
}): string | null | undefined;
|
|
1171
|
+
|
|
979
1172
|
/**
|
|
980
1173
|
* Calculate the creator's monetization markup on a base credit cost.
|
|
981
1174
|
* Returns the markup amount (not the total).
|
|
@@ -995,7 +1188,56 @@ declare function calculateMonetizedCost(baseCost: number, flatFee: number, perce
|
|
|
995
1188
|
* (e.g. `kling-avatar:60s`) so credit reservation scales with input length.
|
|
996
1189
|
*
|
|
997
1190
|
* InfiniTalk still enforces a 15s upstream cap.
|
|
1191
|
+
*
|
|
1192
|
+
* A model listed in {@link LIP_SYNC_AUDIO_RATES} is priced differently: at a
|
|
1193
|
+
* per-second RATE times the seconds of its audio, never by bucket.
|
|
1194
|
+
*/
|
|
1195
|
+
/**
|
|
1196
|
+
* A lip-sync model charged at a per-second rate: the rate's one-second price
|
|
1197
|
+
* row times the seconds of the audio that drives it, rounded up once and marked
|
|
1198
|
+
* up once by the pricing chain that charges every per-unit rate.
|
|
1199
|
+
*/
|
|
1200
|
+
interface LipSyncAudioRate {
|
|
1201
|
+
/** The one-second price row (`model_pricing`, else `STATIC_CREDIT_COSTS`). */
|
|
1202
|
+
readonly rateId: string;
|
|
1203
|
+
/** The fewest seconds a run is charged. Shorter audio is padded with silence to this length before the model sees it. */
|
|
1204
|
+
readonly minSeconds: number;
|
|
1205
|
+
/** The longest audio the model takes. Longer audio is refused before anything is held. */
|
|
1206
|
+
readonly maxSeconds: number;
|
|
1207
|
+
}
|
|
1208
|
+
/** OmniHuman 2.0's one-second price row. */
|
|
1209
|
+
declare const OMNIHUMAN_2_0_PER_SECOND_CREDIT_ID = "omnihuman-2-0:per-second";
|
|
1210
|
+
/**
|
|
1211
|
+
* The lip-sync models charged per second of audio at a rate (decided
|
|
1212
|
+
* 2026-11-11 for OmniHuman 2.0). Every price of such a run, its quote and its
|
|
1213
|
+
* hold are the rate × {@link lipSyncBilledSeconds}.
|
|
1214
|
+
*/
|
|
1215
|
+
declare const LIP_SYNC_AUDIO_RATES: Readonly<Record<string, LipSyncAudioRate>>;
|
|
1216
|
+
/** The per-second rate a lip-sync model is charged at, or undefined for every model priced another way. */
|
|
1217
|
+
declare function lipSyncAudioRateOf(provider: unknown): LipSyncAudioRate | undefined;
|
|
1218
|
+
/**
|
|
1219
|
+
* The seconds a run of a per-second-rate model is charged for audio measured at
|
|
1220
|
+
* `measuredSec`: rounded up to a whole second, and at least the rate's minimum.
|
|
1221
|
+
* THE one place this rounding happens — the route, the workflow run, the
|
|
1222
|
+
* estimates and the provider's own cost all read it. Pass the length of the
|
|
1223
|
+
* audio as it was given, never of a copy padded to the minimum (a padded clip
|
|
1224
|
+
* runs a hair past it and would round up a whole second more).
|
|
1225
|
+
*/
|
|
1226
|
+
declare function lipSyncBilledSeconds(rate: LipSyncAudioRate, measuredSec: number): number;
|
|
1227
|
+
/**
|
|
1228
|
+
* The length the editor quotes a lip-sync run on while its audio's length is
|
|
1229
|
+
* not known yet — the 15 seconds every model priced by its audio shows then
|
|
1230
|
+
* (a bucketed model's `:15s` row), marked as an estimate.
|
|
998
1231
|
*/
|
|
1232
|
+
declare const LIP_SYNC_UNMEASURED_ESTIMATE_SECONDS = 15;
|
|
1233
|
+
/**
|
|
1234
|
+
* The seconds an ESTIMATE prices a per-second-rate run at: the billed seconds
|
|
1235
|
+
* of the audio when its length is known (at most the model's maximum, the most
|
|
1236
|
+
* a run can be charged), else `unknownSec` — by default the maximum, so a
|
|
1237
|
+
* server estimate never quotes below what the run may hold; the editor passes
|
|
1238
|
+
* {@link LIP_SYNC_UNMEASURED_ESTIMATE_SECONDS} and shows the figure as an estimate.
|
|
1239
|
+
*/
|
|
1240
|
+
declare function lipSyncEstimateSeconds(rate: LipSyncAudioRate, knownSec: number | undefined, unknownSec?: number): number;
|
|
999
1241
|
declare const LIP_SYNC_DURATION_BUCKETS: readonly [15, 30, 60, 120, 300];
|
|
1000
1242
|
type LipSyncDurationBucket = typeof LIP_SYNC_DURATION_BUCKETS[number];
|
|
1001
1243
|
/** Round a measured audio duration up to the next supported bucket. */
|
|
@@ -1006,6 +1248,13 @@ declare function pickLipSyncBucket(seconds: number): LipSyncDurationBucket;
|
|
|
1006
1248
|
*/
|
|
1007
1249
|
declare const LIP_SYNC_MAX_AUDIO_SECONDS: Record<string, number>;
|
|
1008
1250
|
declare function getLipSyncMaxAudioSeconds(provider: string): number;
|
|
1251
|
+
/**
|
|
1252
|
+
* The id whose price is a 15-second run of a lip-sync model priced by the
|
|
1253
|
+
* length of its audio — the bucket row of a bucketed model (`<provider>:15s`),
|
|
1254
|
+
* the 15-second quote of a per-second-rate model — or undefined for a model
|
|
1255
|
+
* with one price. A model menu shows a per-second rate from it.
|
|
1256
|
+
*/
|
|
1257
|
+
declare function lipSyncFifteenSecondCreditId(provider: string): string | undefined;
|
|
1009
1258
|
declare function isPerSecondLipSyncProvider(provider: string): boolean;
|
|
1010
1259
|
/**
|
|
1011
1260
|
* Build the credit identifier for a lip-sync request.
|
|
@@ -1493,4 +1742,4 @@ declare function contentIdeasCreditId(count: unknown, llmModel?: unknown, reason
|
|
|
1493
1742
|
/** Every credit id the two nodes can bill — for price tables and guards. */
|
|
1494
1743
|
declare const CONTENT_RECIPE_IDEAS_CREDIT_IDS: readonly ["content-recipe:economy", "content-recipe", "content-recipe:premium", "content-recipe:premium-direct", "content-ideas:economy", "content-ideas", "content-ideas:premium", "content-ideas:premium-direct", "content-ideas:10:economy", "content-ideas:10", "content-ideas:10:premium", "content-ideas:10:premium-direct"];
|
|
1495
1744
|
|
|
1496
|
-
export { AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, AvatarPayloadError, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CREDIT_ROUNDING_RESOLUTION, type CinematicResolution, type CombineVideosEstimatorInput, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, type FilmCreditEstimate, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, KEYFRAME_CREDITS_PER_SHOT, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, type LipSyncDurationBucket, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type NormalizedImageGen, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, type PricedVideoSelection, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SPEECH_FLOOR_UNITS, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SpeakerViewCreditId, type SpeakerViewPriceTier, type SpeechQuoteCreditIdParts, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TrimVideoEstimatorInput, type UnitQuoteCreditIdParts, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_SFX_PRICING, VIDEO_UTIL_PRICING, VOICE_CHANGER_PRO_QUOTE_RATE_ID, type VideoClipCost, type VoiceChangerProQuoteCreditIdParts, type VoiceChangerProQuoteRespeakEngine, type VoiceChangerProQuoteSlot, aiAvatarReserveCreditId, applyEdlCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildCreditModelIdentifier, buildLipSyncCreditId, buildMotionCreditModelIdentifier, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSpeechLengthPriceId, ltxExtendDurationSec, ltxRetakeDurationSec, normalizedImageGenModelId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, pricedVideoSelection, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveImageGenCreditIdentifier, resolveNormalizedImageGen, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, seedanceVideoEditCreditId, semitonesToPitchRatio, speakerViewCreditId, speechCredits, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechUnitCreditId, speedRampCreditId, sunoCreditType, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoGenerationCreditId, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId };
|
|
1745
|
+
export { AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, type AiAvatarDurationBucket, type AiAvatarEngine, type AiAvatarResolution, AvatarPayloadError, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CREDIT_ROUNDING_RESOLUTION, type CinematicResolution, type CombineVideosEstimatorInput, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, type FilmCreditEstimate, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, KEYFRAME_CREDITS_PER_SHOT, LIP_SYNC_AUDIO_RATES, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LIP_SYNC_UNMEASURED_ESTIMATE_SECONDS, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, type LipSyncAudioRate, type LipSyncDurationBucket, type LoopTrimEstimatorInput, type LoopVideoEstimatorInput, type MotionTransferResolution, NEMOTRON_TRANSCRIBE_ID, NEMOTRON_TRANSCRIBE_PRICING, NODARO_IMAGE_UPSCALE_DEFAULT_FACTOR, NODARO_IMAGE_UPSCALE_FACTORS, NODARO_IMAGE_UPSCALE_MODEL_ID, type NodaroImageUpscaleFactor, type NormalizedImageGen, OMNIHUMAN_2_0_PER_SECOND_CREDIT_ID, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, type PricedVideoSelection, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SPEECH_FLOOR_UNITS, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, type SpeakerViewCreditId, type SpeakerViewPriceTier, type SpeechQuoteCreditIdParts, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, type TopazUpscaleAdjustment, type TopazUpscaleFactor, type TopazUpscaleResolution, type TrimVideoEstimatorInput, UPSCALE_FACTORS, type UnitQuoteCreditIdParts, type UpscaleFactor, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_OVERLAY_PRICING, VIDEO_OVERLAY_REMEASURE_SLACK_SEC, VIDEO_SFX_PRICING, VIDEO_UTIL_PRICING, VOICE_CHANGER_PRO_QUOTE_RATE_ID, type VideoClipCost, type VoiceChangerProQuoteCreditIdParts, type VoiceChangerProQuoteRespeakEngine, type VoiceChangerProQuoteSlot, aiAvatarReserveCreditId, applyEdlCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildCreditModelIdentifier, buildLipSyncCreditId, buildMotionCreditModelIdentifier, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSpeechLengthPriceId, lipSyncAudioRateOf, lipSyncBilledSeconds, lipSyncEstimateSeconds, lipSyncFifteenSecondCreditId, ltxExtendDurationSec, ltxRetakeDurationSec, motionTransferResolution, nemotronTranscribeBaseCredits, nemotronTranscribeCreditId, nemotronTranscribeQuoteCreditId, nemotronTranscribeStartedMinutes, normalizedImageGenModelId, parseNemotronTranscribeCreditId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, pricedVideoSelection, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveImageGenCreditIdentifier, resolveNodaroImageUpscaleFactor, resolveNormalizedImageGen, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveUpscaleFactor, seedanceExtendCreditId, seedanceExtendResolution, seedanceVideoEditCreditId, semitonesToPitchRatio, snappedUpscaleFactor, speakerViewCreditId, speechCredits, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechUnitCreditId, speedRampCreditId, sunoCreditType, tailExtendCreditId, tailExtendResolution, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, upscaleFactorsFor, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoGenerationCreditId, videoOverlayBaseTooLong, videoOverlayCreditId, videoOverlayVideoUnits, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId };
|