@nodaro/shared 3.63.0 → 3.65.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-3K24DWOH.js → chunk-222QM7CO.js} +3 -3
- package/dist/{chunk-3K24DWOH.js.map → chunk-222QM7CO.js.map} +1 -1
- package/dist/chunk-27HA6YOL.cjs +377 -0
- package/dist/chunk-27HA6YOL.cjs.map +1 -0
- package/dist/{chunk-4DVWXEB6.js → chunk-2NKF476Z.js} +3 -3
- package/dist/{chunk-4DVWXEB6.js.map → chunk-2NKF476Z.js.map} +1 -1
- package/dist/chunk-3AU52TSW.js +143 -0
- package/dist/chunk-3AU52TSW.js.map +1 -0
- package/dist/{chunk-F6WGGYQW.cjs → chunk-5NVGKXJV.cjs} +68 -29
- package/dist/chunk-5NVGKXJV.cjs.map +1 -0
- package/dist/{chunk-HWQ2SYNA.js → chunk-5SSMPYE5.js} +99 -9
- package/dist/chunk-5SSMPYE5.js.map +1 -0
- package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
- package/dist/chunk-6BRWPJPP.cjs.map +1 -0
- package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
- package/dist/chunk-6ET3KDO4.cjs.map +1 -0
- package/dist/{chunk-TM5JYSJF.cjs → chunk-6OSIOVF7.cjs} +98 -37
- package/dist/chunk-6OSIOVF7.cjs.map +1 -0
- package/dist/{chunk-YUER7TJG.js → chunk-6X5PBAC4.js} +13 -4
- package/dist/chunk-6X5PBAC4.js.map +1 -0
- package/dist/chunk-7BN4EDIC.cjs +185 -0
- package/dist/chunk-7BN4EDIC.cjs.map +1 -0
- package/dist/{chunk-6M563QE6.js → chunk-7OWXHW7Z.js} +78 -28
- package/dist/chunk-7OWXHW7Z.js.map +1 -0
- package/dist/{chunk-FXGNRYQQ.js → chunk-AT53ZQUC.js} +3 -3
- package/dist/{chunk-FXGNRYQQ.js.map → chunk-AT53ZQUC.js.map} +1 -1
- package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
- package/dist/chunk-BQYCZLMF.js.map +1 -0
- package/dist/{chunk-34QLPTSA.js → chunk-BSTAAGLY.js} +3 -3
- package/dist/{chunk-34QLPTSA.js.map → chunk-BSTAAGLY.js.map} +1 -1
- package/dist/{chunk-PSKZKLDG.js → chunk-CW6MMQNO.js} +562 -26
- package/dist/chunk-CW6MMQNO.js.map +1 -0
- package/dist/{chunk-EPXGG27L.js → chunk-D5Y3EYRM.js} +5 -5
- package/dist/{chunk-EPXGG27L.js.map → chunk-D5Y3EYRM.js.map} +1 -1
- package/dist/{chunk-XGVJGNZW.cjs → chunk-DQ2PARNH.cjs} +15 -5
- package/dist/chunk-DQ2PARNH.cjs.map +1 -0
- package/dist/{chunk-6BZC2ZHC.cjs → chunk-E66HSC2E.cjs} +9 -9
- package/dist/{chunk-6BZC2ZHC.cjs.map → chunk-E66HSC2E.cjs.map} +1 -1
- package/dist/{chunk-NIAFR5EE.js → chunk-FGBGKBML.js} +32 -3
- package/dist/chunk-FGBGKBML.js.map +1 -0
- package/dist/{chunk-M5OCFGHF.cjs → chunk-FI3HJZWM.cjs} +588 -25
- package/dist/chunk-FI3HJZWM.cjs.map +1 -0
- package/dist/{chunk-L2TVY6XN.cjs → chunk-FJZTQTF4.cjs} +4 -4
- package/dist/{chunk-L2TVY6XN.cjs.map → chunk-FJZTQTF4.cjs.map} +1 -1
- package/dist/{chunk-XGGZWA4A.cjs → chunk-GJ3D5X4X.cjs} +52 -49
- package/dist/chunk-GJ3D5X4X.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-MD4XHED4.js → chunk-H745DQ6V.js} +3 -3
- package/dist/{chunk-MD4XHED4.js.map → chunk-H745DQ6V.js.map} +1 -1
- package/dist/{chunk-KCZHQH2O.js → chunk-HAH2F7LT.js} +4 -4
- package/dist/{chunk-KCZHQH2O.js.map → chunk-HAH2F7LT.js.map} +1 -1
- package/dist/{chunk-V5EEQR2U.cjs → chunk-JQMFJAYU.cjs} +21 -21
- package/dist/{chunk-V5EEQR2U.cjs.map → chunk-JQMFJAYU.cjs.map} +1 -1
- package/dist/{chunk-WZVIBAKN.cjs → chunk-JYU5EIRM.cjs} +12 -12
- package/dist/{chunk-WZVIBAKN.cjs.map → chunk-JYU5EIRM.cjs.map} +1 -1
- package/dist/{chunk-Y35JQPT6.cjs → chunk-K6RIN3LW.cjs} +142 -45
- package/dist/chunk-K6RIN3LW.cjs.map +1 -0
- package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
- package/dist/chunk-KSHAAPQF.cjs.map +1 -0
- package/dist/{chunk-2PU3AGGS.cjs → chunk-KTCEKGBJ.cjs} +7 -7
- package/dist/{chunk-2PU3AGGS.cjs.map → chunk-KTCEKGBJ.cjs.map} +1 -1
- package/dist/{chunk-LH72PQO2.cjs → chunk-KWYS4IIM.cjs} +165 -50
- package/dist/chunk-KWYS4IIM.cjs.map +1 -0
- package/dist/{chunk-GSKLPI3J.cjs → chunk-MIT2USTS.cjs} +118 -61
- package/dist/chunk-MIT2USTS.cjs.map +1 -0
- package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
- package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
- 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-X5BAFW3Q.cjs → chunk-PGDR7CO3.cjs} +8 -8
- package/dist/{chunk-X5BAFW3Q.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
- package/dist/{chunk-OV3JTKBY.js → chunk-PL7AQQV7.js} +123 -22
- package/dist/chunk-PL7AQQV7.js.map +1 -0
- package/dist/chunk-Q4YOLT4M.js +164 -0
- package/dist/chunk-Q4YOLT4M.js.map +1 -0
- package/dist/{chunk-GMBDLNLD.cjs → chunk-R5ILCNCC.cjs} +197 -60
- package/dist/chunk-R5ILCNCC.cjs.map +1 -0
- package/dist/chunk-RP4KQUNU.cjs +168 -0
- package/dist/chunk-RP4KQUNU.cjs.map +1 -0
- package/dist/{chunk-77WU3V3J.cjs → chunk-SPU7MUWE.cjs} +6 -6
- package/dist/{chunk-77WU3V3J.cjs.map → chunk-SPU7MUWE.cjs.map} +1 -1
- package/dist/{chunk-XBTYGQ6Z.js → chunk-ST7OBB5J.js} +8 -5
- package/dist/chunk-ST7OBB5J.js.map +1 -0
- 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-BMJVKYVB.js → chunk-V5NLQ4L5.js} +123 -7
- package/dist/chunk-V5NLQ4L5.js.map +1 -0
- package/dist/{chunk-KMGCHV6O.js → chunk-V6OXSXIX.js} +63 -30
- package/dist/chunk-V6OXSXIX.js.map +1 -0
- package/dist/{chunk-LMAQUR55.cjs → chunk-WQMPIURW.cjs} +6 -6
- package/dist/{chunk-LMAQUR55.cjs.map → chunk-WQMPIURW.cjs.map} +1 -1
- package/dist/{chunk-ZPE2ZTJ4.cjs → chunk-WZG6GZIL.cjs} +4 -4
- package/dist/{chunk-ZPE2ZTJ4.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
- package/dist/{chunk-AE3AAJ4O.js → chunk-XJANKTIL.js} +3 -3
- package/dist/{chunk-AE3AAJ4O.js.map → chunk-XJANKTIL.js.map} +1 -1
- package/dist/{chunk-O7RZRUMZ.js → chunk-XJWED257.js} +14 -309
- package/dist/chunk-XJWED257.js.map +1 -0
- package/dist/chunk-XSSLNINL.js +346 -0
- package/dist/chunk-XSSLNINL.js.map +1 -0
- package/dist/{chunk-6TGB7ECA.cjs → chunk-YD4XY74W.cjs} +12 -8
- package/dist/chunk-YD4XY74W.cjs.map +1 -0
- package/dist/{chunk-YX6TFX7H.js → chunk-YMZUE2IX.js} +66 -11
- package/dist/chunk-YMZUE2IX.js.map +1 -0
- package/dist/{chunk-4MMZD63H.js → chunk-Z77M7Q2R.js} +3 -3
- package/dist/{chunk-4MMZD63H.js.map → chunk-Z77M7Q2R.js.map} +1 -1
- package/dist/{chunk-CZ5IQB3L.js → chunk-ZSRXY5YT.js} +8 -5
- package/dist/chunk-ZSRXY5YT.js.map +1 -0
- 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 +48 -2
- package/dist/entries/captions.d.ts +48 -2
- package/dist/entries/captions.js +1 -1
- package/dist/entries/credits.cjs +319 -191
- package/dist/entries/credits.d.cts +260 -19
- package/dist/entries/credits.d.ts +260 -19
- package/dist/entries/credits.js +11 -11
- package/dist/entries/entities.cjs +202 -193
- package/dist/entries/entities.d.cts +44 -9
- package/dist/entries/entities.d.ts +44 -9
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.cjs +86 -62
- package/dist/entries/llm-models.d.cts +73 -20
- package/dist/entries/llm-models.d.ts +73 -20
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +79 -63
- package/dist/entries/media.d.cts +154 -1
- package/dist/entries/media.d.ts +154 -1
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +205 -109
- package/dist/entries/model-catalog.d.cts +65 -58
- package/dist/entries/model-catalog.d.ts +65 -58
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +527 -346
- package/dist/entries/models.d.cts +86 -7
- package/dist/entries/models.d.ts +86 -7
- package/dist/entries/models.js +6 -5
- package/dist/entries/nodes.cjs +220 -211
- package/dist/entries/nodes.d.cts +46 -3
- package/dist/entries/nodes.d.ts +46 -3
- 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/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +174 -145
- package/dist/entries/video.d.cts +114 -2
- package/dist/entries/video.d.ts +114 -2
- package/dist/entries/video.js +7 -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 +2430 -1929
- package/dist/index.d.cts +13 -12
- package/dist/index.d.ts +13 -12
- package/dist/index.js +28 -27
- package/dist/{model-catalog-C_Eo35tL.d.cts → model-catalog-BoUKGFNl.d.cts} +182 -3
- package/dist/{model-catalog-C_Eo35tL.d.ts → model-catalog-BoUKGFNl.d.ts} +182 -3
- package/dist/{model-constants-DWcxOmaY.d.cts → model-constants-BElS3AeE.d.ts} +142 -23
- package/dist/{model-constants-Bg4ccSQb.d.ts → model-constants-CpQz1bGa.d.cts} +142 -23
- package/dist/tts-capabilities-BtnDWK9K.d.ts +133 -0
- package/dist/tts-capabilities-C52UccTI.d.cts +133 -0
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
- package/src/__tests__/dialogue-capabilities.test.ts +167 -6
- package/src/__tests__/extend-providers.test.ts +353 -26
- 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__/kling4-catalog.test.ts +1 -1
- package/src/__tests__/llm-models.test.ts +48 -13
- package/src/__tests__/llm-price-key.test.ts +12 -0
- package/src/__tests__/model-makers.test.ts +3 -0
- package/src/__tests__/node-runtime-keys.test.ts +7 -0
- package/src/__tests__/normalize-node-params.test.ts +147 -1
- 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__/sequence-execution.test.ts +22 -1
- package/src/__tests__/speech-pricing.test.ts +62 -1
- package/src/__tests__/suno-credit-type.test.ts +21 -2
- package/src/__tests__/transcribe-capabilities.test.ts +4 -2
- package/src/__tests__/tts-capabilities.test.ts +160 -4
- package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
- package/src/__tests__/video-analysis-pricing.test.ts +22 -9
- package/src/__tests__/video-subjects.test.ts +192 -0
- package/src/__tests__/wired-character-names.test.ts +142 -0
- package/src/caption-styles.ts +62 -0
- package/src/credit-estimators/add-captions-nemotron.ts +73 -0
- package/src/credit-estimators/index.ts +14 -0
- package/src/credit-estimators/speech.ts +57 -9
- package/src/credit-identifiers.ts +284 -13
- package/src/dialogue-capabilities.ts +220 -3
- package/src/dubbing-structure.ts +186 -0
- package/src/entries/captions.ts +2 -0
- package/src/entries/credits.ts +25 -1
- package/src/entries/entities.ts +2 -0
- package/src/entries/llm-models.ts +7 -0
- package/src/entries/media.ts +3 -1
- package/src/entries/model-catalog.ts +30 -0
- package/src/entries/models.ts +54 -0
- package/src/entries/nodes.ts +2 -0
- package/src/entries/pipeline.ts +1 -1
- package/src/entries/video.ts +8 -1
- package/src/flux-3-klein.ts +69 -0
- package/src/gemini-tts.ts +144 -0
- package/src/input-image-pricing.ts +23 -6
- package/src/llm-models.ts +130 -36
- package/src/model-catalog.ts +539 -25
- package/src/model-constants.ts +247 -25
- package/src/node-default-mappings.ts +3 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +123 -2
- package/src/seedance-extend-rate.ts +116 -0
- package/src/sequence-execution.ts +24 -0
- package/src/transcribe-preflight.ts +23 -0
- package/src/tts-capabilities.ts +193 -1
- package/src/video-analysis-pricing.ts +39 -15
- package/src/video-character-refs.ts +160 -3
- package/src/wired-character-names.ts +134 -18
- package/src/wired-character-video-subjects.ts +63 -0
- package/dist/chunk-63H4C56Q.cjs +0 -38
- package/dist/chunk-63H4C56Q.cjs.map +0 -1
- package/dist/chunk-6M563QE6.js.map +0 -1
- package/dist/chunk-6TGB7ECA.cjs.map +0 -1
- package/dist/chunk-6XUG4L7X.cjs +0 -54
- package/dist/chunk-6XUG4L7X.cjs.map +0 -1
- package/dist/chunk-BLJUCPMV.cjs.map +0 -1
- package/dist/chunk-BMJVKYVB.js.map +0 -1
- package/dist/chunk-CZ5IQB3L.js.map +0 -1
- package/dist/chunk-F6WGGYQW.cjs.map +0 -1
- package/dist/chunk-GMBDLNLD.cjs.map +0 -1
- package/dist/chunk-GSKLPI3J.cjs.map +0 -1
- package/dist/chunk-HBXF6RUU.js +0 -31
- package/dist/chunk-HBXF6RUU.js.map +0 -1
- package/dist/chunk-HSHCCBIV.js.map +0 -1
- package/dist/chunk-HWQ2SYNA.js.map +0 -1
- package/dist/chunk-IY3Y462W.js +0 -42
- package/dist/chunk-IY3Y462W.js.map +0 -1
- package/dist/chunk-KHH54GRP.cjs.map +0 -1
- package/dist/chunk-KMGCHV6O.js.map +0 -1
- package/dist/chunk-LH72PQO2.cjs.map +0 -1
- package/dist/chunk-M5OCFGHF.cjs.map +0 -1
- package/dist/chunk-NIAFR5EE.js.map +0 -1
- package/dist/chunk-O7RZRUMZ.js.map +0 -1
- package/dist/chunk-OV3JTKBY.js.map +0 -1
- package/dist/chunk-PSKZKLDG.js.map +0 -1
- package/dist/chunk-Q6IES3U2.js.map +0 -1
- package/dist/chunk-TM5JYSJF.cjs.map +0 -1
- package/dist/chunk-WRSWH7US.cjs.map +0 -1
- package/dist/chunk-XBTYGQ6Z.js.map +0 -1
- package/dist/chunk-XGGZWA4A.cjs.map +0 -1
- package/dist/chunk-XGVJGNZW.cjs.map +0 -1
- package/dist/chunk-Y35JQPT6.cjs.map +0 -1
- package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
- package/dist/chunk-YUER7TJG.js.map +0 -1
- package/dist/chunk-YX6TFX7H.js.map +0 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { G as GPT_IMAGE_2_6_DEFAULT_QUALITY, a as GPT_IMAGE_2_6_DEFAULT_RESOLUTION, b as GPT_IMAGE_2_6_DEFAULT_SVG_LEVEL, c as GPT_IMAGE_2_6_GIF_BANDS, d as GPT_IMAGE_2_6_GIF_DEFAULT_FRAMES, e as GPT_IMAGE_2_6_MAX_INPUT_IMAGES, f as GPT_IMAGE_2_6_METERED_QUALITY, g as GPT_IMAGE_2_6_QUALITIES, h as GPT_IMAGE_2_6_RESOLUTIONS, i as GPT_IMAGE_2_6_SVG_LEVELS, j as GPT_IMAGE_2_6_TIERED_I2I, k as GPT_IMAGE_2_6_TIERED_T2I, l as GptImage26GifBand, m as GptImage26PricedFormat, n as GptImage26SvgLevel, I as ImageFormatLevers, o as gptImage26EstimatedImages, p as gptImage26GifBand, q as gptImage26PricedFormat, r as gptImage26SentImages, s as imageFormatLeversOf, t as isGptImage26AutoRun, u as isGptImage26I2i, v as isGptImage26Tiered } from '../gpt-image-2-6-jIRQBRag.cjs';
|
|
2
|
-
import {
|
|
3
|
-
export { I as IMAGE_GIF_FRAME_SIZE,
|
|
2
|
+
import { t as ModelInputAdjustment } from '../model-catalog-BoUKGFNl.cjs';
|
|
3
|
+
export { j as GeminiTtsVoiceGroup, I as IMAGE_GIF_FRAME_SIZE, k as IMAGE_OUTPUT_FORMAT_LABELS, l as IMAGE_SVG_LEVEL_LABELS, L as LabeledOption, M as MASKLESS_OUTPUT_FORMATS, m as MODEL_CATALOG, n as MODEL_INPUT_ADJUSTMENT_FIELDS, o as MODEL_KINDS, p as MODEL_MAKERS, q as MODEL_RECOMMENDATIONS, r as ModelCatalogEntry, s as ModelCatalogEntryFields, u as ModelInputAdjustmentField, v as ModelInputContext, w as ModelKind, x as ModelMaker, y as ModelMakerId, z as ModelMenuOption, A as ModelMode, B as ModelRecommendation, C as ModelValidationIssue, N as NormalizedModelInput, E as NormalizedVideoRequest, P as PriceVariant, T as SPEECH_PER_1K_PRICE_NOTE, U as SPEECH_UNIT_PRICE_NOTE, W as SourceImageSize, X as TRANSPARENT_OUTPUT_FORMATS, Z as TtsCapabilities, _ as TtsDirectionSheet, $ as TtsNamedVoice, a2 as TtsSettingLever, a3 as ValidationField, a4 as aspectRatioOptionsByKind, a5 as autoAspectNeedsSourceImage, a6 as backgroundOptionsByKind, a7 as buildModelMenu, a8 as creditRangesAll, a9 as defaultResolutionFor, aa as durationsByMode, ab as fitAspectRatioToModel, ac as getAspectRatioOptions, ad as getCreditRange, ae as getDurationsForModel, af as getModel, ag as getQualityOptions, ah as getResolutionOptions, ai as groupByFamily, aj as groupByKindAndFamily, ak as hasFeature, al as isAutoAspectToken, am as isModelMakerId, an as isVideoAutoAspectToken, ao as listModels, ap as maskEditMatchesSource, aq as maskedEditResolution, ar as modelIdsByKindMode, as as modelMakerOf, at as modelTakesSeed, au as modelsWithFeature, av as nearestCatalogAspectRatio, aw as normalizeModelInput, ax as normalizeVideoRequestParams, ay as outputFormatOptionsByKind, az as qualityOptionsByKind, aA as resolutionAtAspectRatio, aB as resolutionNearestSource, aC as resolutionOptionsByKind, aD as resolutionsAtAspectRatio, aE as sourceImageSizeNeeded, aF as svgLevelOptionsByKind, aG as validateModelInput, aH as videoAutoAspectRunsAt } from '../model-catalog-BoUKGFNl.cjs';
|
|
4
|
+
export { T as TTS_FALLBACK_PROVIDER, a as TTS_PROVIDER_ALIASES, b as TtsDirectionValues, c as canonicalTtsProvider, g as getTtsCapabilities, r as replicaConsentProblem, d as replicaModels, e as replicaOf, t as ttsAcceptsVoice, f as ttsAngleTags, h as ttsDirection, i as ttsDirectionFor, j as ttsDirectionProblem, k as ttsHasLever, l as ttsLanguageCodes, m as ttsNamedVoiceFor, n as ttsNamedVoices, o as ttsReplicaProblem, p as ttsSupportsAudioTags, q as ttsSupportsSsmlBreaks, s as ttsSupportsStitching, u as ttsSupportsTimestamps, v as ttsTakesReplica, w as ttsVoiceForModel } from '../tts-capabilities-C52UccTI.cjs';
|
|
4
5
|
|
|
5
6
|
/** Models that accept the draft flag. */
|
|
6
7
|
declare const SEEDANCE_DRAFT_MODELS: readonly ["seedance-2-5"];
|
|
@@ -117,75 +118,81 @@ declare function isSeedream55(model: unknown): model is Seedream55Model;
|
|
|
117
118
|
*/
|
|
118
119
|
declare function seedream55Resolution(resolution: unknown): Seedream55Resolution;
|
|
119
120
|
|
|
120
|
-
/** True for a model whose price counts the input images a run sends. */
|
|
121
|
-
declare function isPricedPerInputImage(model: unknown): boolean;
|
|
122
|
-
/** True for the edit id of such a model: it always sends at least its source. */
|
|
123
|
-
declare function isPricedPerInputImageEdit(model: unknown): boolean;
|
|
124
121
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
122
|
+
* FLUX 3 Klein: a text-to-image id and its edit sibling, priced by size alone
|
|
123
|
+
* (1K, 2K or 4K). An edit's reference images cost nothing extra, so the edit
|
|
124
|
+
* id has the same rows as the text-to-image id.
|
|
125
|
+
*
|
|
126
|
+
* Only the ids and levers live in this published package. The rates are
|
|
127
|
+
* `backend/src/ee/billing/flux-3-klein-pricing.ts`.
|
|
128
|
+
*
|
|
129
|
+
* A different model from FLUX 2 Klein (`flux-2-klein`, which runs elsewhere):
|
|
130
|
+
* neither id may join a set keyed on the FLUX 2 family (`isFlux2Model`).
|
|
129
131
|
*/
|
|
130
|
-
declare
|
|
132
|
+
declare const FLUX_3_KLEIN_T2I = "flux-3-klein";
|
|
133
|
+
declare const FLUX_3_KLEIN_I2I = "flux-3-klein-i2i";
|
|
134
|
+
type Flux3KleinModel = typeof FLUX_3_KLEIN_T2I | typeof FLUX_3_KLEIN_I2I;
|
|
135
|
+
/** The sizes it renders, smallest first. */
|
|
136
|
+
declare const FLUX_3_KLEIN_RESOLUTIONS: readonly ["1K", "2K", "4K"];
|
|
137
|
+
type Flux3KleinResolution = (typeof FLUX_3_KLEIN_RESOLUTIONS)[number];
|
|
131
138
|
/**
|
|
132
|
-
* The
|
|
133
|
-
*
|
|
134
|
-
* wired in, a moodboard its direction names (at the most a moodboard holds),
|
|
135
|
-
* and an edit model's own source. An estimate may over-quote, never under.
|
|
139
|
+
* The size a run renders when it names none: the provider's own default, and
|
|
140
|
+
* the size an unset or unknown value is priced and sent at.
|
|
136
141
|
*/
|
|
137
|
-
declare
|
|
138
|
-
|
|
142
|
+
declare const FLUX_3_KLEIN_DEFAULT_RESOLUTION: Flux3KleinResolution;
|
|
143
|
+
/** The most reference images one edit takes (`REF_IMAGE_MAX_LIMITS`). */
|
|
144
|
+
declare const FLUX_3_KLEIN_MAX_INPUT_IMAGES = 10;
|
|
145
|
+
declare function isFlux3Klein(model: unknown): model is Flux3KleinModel;
|
|
146
|
+
declare function isFlux3KleinI2i(model: unknown): model is typeof FLUX_3_KLEIN_I2I;
|
|
139
147
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* provider id by hand.
|
|
148
|
+
* The size a FLUX 3 Klein run is priced and sent at: the one asked for when it
|
|
149
|
+
* is one of its sizes (any case), else the default. Unset is the default.
|
|
150
|
+
*/
|
|
151
|
+
declare function flux3KleinResolution(resolution: unknown): Flux3KleinResolution;
|
|
152
|
+
/**
|
|
153
|
+
* The price id of a FLUX 3 Klein run: `flux-3-klein:<size>`, or
|
|
154
|
+
* `flux-3-klein-i2i:<size>` for an edit. The bare ids are never built here.
|
|
148
155
|
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
156
|
+
* A size off its list (a stored node, the multi-model preview pricing one
|
|
157
|
+
* node's data against every model) or none is priced at the default, 1K, which
|
|
158
|
+
* is what the provider renders with none. A text-to-image id sent any image
|
|
159
|
+
* runs on the edit endpoint (the KIE provider swaps it), so it is priced on the
|
|
160
|
+
* edit id whenever `referenceImageCount` is above 0. Every caller passes the
|
|
161
|
+
* images the run sends (`priceReadsInputImages` in `input-image-pricing.ts`: a
|
|
162
|
+
* base image, references, wired images, an entity's source), so the id priced
|
|
163
|
+
* is the id run. Both ids cost the same at each size.
|
|
153
164
|
*/
|
|
165
|
+
declare function flux3KleinCreditId(provider: Flux3KleinModel, resolution: unknown, referenceImageCount: number | undefined): string;
|
|
154
166
|
|
|
155
|
-
/**
|
|
156
|
-
declare
|
|
157
|
-
/**
|
|
158
|
-
declare
|
|
167
|
+
/** True for a model whose price counts the input images a run sends. */
|
|
168
|
+
declare function isPricedPerInputImage(model: unknown): boolean;
|
|
169
|
+
/** True for the edit id of such a model: it always sends at least its source. */
|
|
170
|
+
declare function isPricedPerInputImageEdit(model: unknown): boolean;
|
|
159
171
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* an
|
|
163
|
-
*
|
|
172
|
+
* True for a model whose price id reads the input images a run sends: one
|
|
173
|
+
* priced per input image ({@link isPricedPerInputImage}), or FLUX 3 Klein, which
|
|
174
|
+
* runs on its edit id whenever an image goes (its text-to-image endpoint takes
|
|
175
|
+
* none) and is priced on that id, at the same price. Every place that prices a
|
|
176
|
+
* run counts the images through {@link pricedSentImages} and
|
|
177
|
+
* {@link pricedEstimatedImages} for such a model, so the id priced is the id
|
|
178
|
+
* the provider runs.
|
|
164
179
|
*/
|
|
165
|
-
declare function
|
|
180
|
+
declare function priceReadsInputImages(model: unknown): boolean;
|
|
166
181
|
/**
|
|
167
|
-
* The
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
182
|
+
* The images a Generate Image run sends its provider: its references and, when
|
|
183
|
+
* it edits a base image, that image too (the worker puts it first, unless it is
|
|
184
|
+
* already one of the references). The base is counted only on a model whose
|
|
185
|
+
* price reads the images ({@link priceReadsInputImages}); any other model is
|
|
186
|
+
* priced, and held to its image limit, on its references alone, as before.
|
|
171
187
|
*/
|
|
172
|
-
declare function
|
|
173
|
-
/** The model performs inline `[audio tags]`. false ⇒ strip them before sending. */
|
|
174
|
-
declare function ttsSupportsAudioTags(provider: string | undefined): boolean;
|
|
175
|
-
/** The model honours SSML `<break time="…"/>` tags. */
|
|
176
|
-
declare function ttsSupportsSsmlBreaks(provider: string | undefined): boolean;
|
|
188
|
+
declare function pricedSentImages(provider: string | undefined, references: readonly string[], baseImageUrl: unknown): number;
|
|
177
189
|
/**
|
|
178
|
-
* The
|
|
179
|
-
*
|
|
180
|
-
*
|
|
190
|
+
* The input images a workflow estimate counts for one node on a model whose
|
|
191
|
+
* price reads them ({@link priceReadsInputImages}): every list on the node, its source or base image, what is
|
|
192
|
+
* wired in, a moodboard its direction names (at the most a moodboard holds),
|
|
193
|
+
* and an edit model's own source. An estimate may over-quote, never under.
|
|
181
194
|
*/
|
|
182
|
-
declare function
|
|
183
|
-
/** The model honours this voice-setting lever. */
|
|
184
|
-
declare function ttsHasLever(provider: string | undefined, lever: TtsSettingLever): boolean;
|
|
185
|
-
/** The model answers `/v1/text-to-speech/{voice}/with-timestamps` (character timings). */
|
|
186
|
-
declare function ttsSupportsTimestamps(provider: string | undefined): boolean;
|
|
187
|
-
/** Language codes offered for the model, in catalog order. */
|
|
188
|
-
declare function ttsLanguageCodes(provider: string | undefined): readonly string[];
|
|
195
|
+
declare function pricedEstimatedImages(model: string, data: Record<string, unknown>, wiredImages: number): number;
|
|
189
196
|
|
|
190
197
|
/**
|
|
191
198
|
* Retry/fallback behavior derived from a catalog entry's `safetyFilter`
|
|
@@ -324,4 +331,4 @@ interface NormalizedVideoUpscaleResolution {
|
|
|
324
331
|
*/
|
|
325
332
|
declare function normalizeVideoUpscaleResolution(provider: string | undefined, targetResolution: unknown): NormalizedVideoUpscaleResolution;
|
|
326
333
|
|
|
327
|
-
export { FLUX2_RES_MP, type Flux2Model, IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, type ImageModelRole, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, type MinimaxH3ImageModel, type MinimaxH3ImageResolution, ModelInputAdjustment, type NormalizedVideoUpscaleResolution, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, type SafetyRetryPolicy, type SeedanceDraftModel, type Seedream55Model, type Seedream55Resolution,
|
|
334
|
+
export { FLUX2_RES_MP, FLUX_3_KLEIN_DEFAULT_RESOLUTION, FLUX_3_KLEIN_I2I, FLUX_3_KLEIN_MAX_INPUT_IMAGES, FLUX_3_KLEIN_RESOLUTIONS, FLUX_3_KLEIN_T2I, type Flux2Model, type Flux3KleinModel, type Flux3KleinResolution, IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, type ImageModelRole, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, type MinimaxH3ImageModel, type MinimaxH3ImageResolution, ModelInputAdjustment, type NormalizedVideoUpscaleResolution, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, type SafetyRetryPolicy, type SeedanceDraftModel, type Seedream55Model, type Seedream55Resolution, VIDEO_DURATION_AUTO, VIDEO_UPSCALE_RESOLUTIONS, type VideoUpscaleResolution, defaultImageModel, defaultImageModelForNode, flux3KleinCreditId, flux3KleinResolution, imageModelDrawsRatio, isAutoVideoDuration, isFlux2Model, isFlux3Klein, isFlux3KleinI2i, isMinimaxH3Image, isMinimaxH3ImageI2i, isPricedPerInputImage, isPricedPerInputImageEdit, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, minimaxH3ImageCreditId, normalizeVideoUpscaleResolution, priceReadsInputImages, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, videoUpscaleModelOf, videoUpscaleResolutionsFor };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { G as GPT_IMAGE_2_6_DEFAULT_QUALITY, a as GPT_IMAGE_2_6_DEFAULT_RESOLUTION, b as GPT_IMAGE_2_6_DEFAULT_SVG_LEVEL, c as GPT_IMAGE_2_6_GIF_BANDS, d as GPT_IMAGE_2_6_GIF_DEFAULT_FRAMES, e as GPT_IMAGE_2_6_MAX_INPUT_IMAGES, f as GPT_IMAGE_2_6_METERED_QUALITY, g as GPT_IMAGE_2_6_QUALITIES, h as GPT_IMAGE_2_6_RESOLUTIONS, i as GPT_IMAGE_2_6_SVG_LEVELS, j as GPT_IMAGE_2_6_TIERED_I2I, k as GPT_IMAGE_2_6_TIERED_T2I, l as GptImage26GifBand, m as GptImage26PricedFormat, n as GptImage26SvgLevel, I as ImageFormatLevers, o as gptImage26EstimatedImages, p as gptImage26GifBand, q as gptImage26PricedFormat, r as gptImage26SentImages, s as imageFormatLeversOf, t as isGptImage26AutoRun, u as isGptImage26I2i, v as isGptImage26Tiered } from '../gpt-image-2-6-jIRQBRag.js';
|
|
2
|
-
import {
|
|
3
|
-
export { I as IMAGE_GIF_FRAME_SIZE,
|
|
2
|
+
import { t as ModelInputAdjustment } from '../model-catalog-BoUKGFNl.js';
|
|
3
|
+
export { j as GeminiTtsVoiceGroup, I as IMAGE_GIF_FRAME_SIZE, k as IMAGE_OUTPUT_FORMAT_LABELS, l as IMAGE_SVG_LEVEL_LABELS, L as LabeledOption, M as MASKLESS_OUTPUT_FORMATS, m as MODEL_CATALOG, n as MODEL_INPUT_ADJUSTMENT_FIELDS, o as MODEL_KINDS, p as MODEL_MAKERS, q as MODEL_RECOMMENDATIONS, r as ModelCatalogEntry, s as ModelCatalogEntryFields, u as ModelInputAdjustmentField, v as ModelInputContext, w as ModelKind, x as ModelMaker, y as ModelMakerId, z as ModelMenuOption, A as ModelMode, B as ModelRecommendation, C as ModelValidationIssue, N as NormalizedModelInput, E as NormalizedVideoRequest, P as PriceVariant, T as SPEECH_PER_1K_PRICE_NOTE, U as SPEECH_UNIT_PRICE_NOTE, W as SourceImageSize, X as TRANSPARENT_OUTPUT_FORMATS, Z as TtsCapabilities, _ as TtsDirectionSheet, $ as TtsNamedVoice, a2 as TtsSettingLever, a3 as ValidationField, a4 as aspectRatioOptionsByKind, a5 as autoAspectNeedsSourceImage, a6 as backgroundOptionsByKind, a7 as buildModelMenu, a8 as creditRangesAll, a9 as defaultResolutionFor, aa as durationsByMode, ab as fitAspectRatioToModel, ac as getAspectRatioOptions, ad as getCreditRange, ae as getDurationsForModel, af as getModel, ag as getQualityOptions, ah as getResolutionOptions, ai as groupByFamily, aj as groupByKindAndFamily, ak as hasFeature, al as isAutoAspectToken, am as isModelMakerId, an as isVideoAutoAspectToken, ao as listModels, ap as maskEditMatchesSource, aq as maskedEditResolution, ar as modelIdsByKindMode, as as modelMakerOf, at as modelTakesSeed, au as modelsWithFeature, av as nearestCatalogAspectRatio, aw as normalizeModelInput, ax as normalizeVideoRequestParams, ay as outputFormatOptionsByKind, az as qualityOptionsByKind, aA as resolutionAtAspectRatio, aB as resolutionNearestSource, aC as resolutionOptionsByKind, aD as resolutionsAtAspectRatio, aE as sourceImageSizeNeeded, aF as svgLevelOptionsByKind, aG as validateModelInput, aH as videoAutoAspectRunsAt } from '../model-catalog-BoUKGFNl.js';
|
|
4
|
+
export { T as TTS_FALLBACK_PROVIDER, a as TTS_PROVIDER_ALIASES, b as TtsDirectionValues, c as canonicalTtsProvider, g as getTtsCapabilities, r as replicaConsentProblem, d as replicaModels, e as replicaOf, t as ttsAcceptsVoice, f as ttsAngleTags, h as ttsDirection, i as ttsDirectionFor, j as ttsDirectionProblem, k as ttsHasLever, l as ttsLanguageCodes, m as ttsNamedVoiceFor, n as ttsNamedVoices, o as ttsReplicaProblem, p as ttsSupportsAudioTags, q as ttsSupportsSsmlBreaks, s as ttsSupportsStitching, u as ttsSupportsTimestamps, v as ttsTakesReplica, w as ttsVoiceForModel } from '../tts-capabilities-BtnDWK9K.js';
|
|
4
5
|
|
|
5
6
|
/** Models that accept the draft flag. */
|
|
6
7
|
declare const SEEDANCE_DRAFT_MODELS: readonly ["seedance-2-5"];
|
|
@@ -117,75 +118,81 @@ declare function isSeedream55(model: unknown): model is Seedream55Model;
|
|
|
117
118
|
*/
|
|
118
119
|
declare function seedream55Resolution(resolution: unknown): Seedream55Resolution;
|
|
119
120
|
|
|
120
|
-
/** True for a model whose price counts the input images a run sends. */
|
|
121
|
-
declare function isPricedPerInputImage(model: unknown): boolean;
|
|
122
|
-
/** True for the edit id of such a model: it always sends at least its source. */
|
|
123
|
-
declare function isPricedPerInputImageEdit(model: unknown): boolean;
|
|
124
121
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
*
|
|
122
|
+
* FLUX 3 Klein: a text-to-image id and its edit sibling, priced by size alone
|
|
123
|
+
* (1K, 2K or 4K). An edit's reference images cost nothing extra, so the edit
|
|
124
|
+
* id has the same rows as the text-to-image id.
|
|
125
|
+
*
|
|
126
|
+
* Only the ids and levers live in this published package. The rates are
|
|
127
|
+
* `backend/src/ee/billing/flux-3-klein-pricing.ts`.
|
|
128
|
+
*
|
|
129
|
+
* A different model from FLUX 2 Klein (`flux-2-klein`, which runs elsewhere):
|
|
130
|
+
* neither id may join a set keyed on the FLUX 2 family (`isFlux2Model`).
|
|
129
131
|
*/
|
|
130
|
-
declare
|
|
132
|
+
declare const FLUX_3_KLEIN_T2I = "flux-3-klein";
|
|
133
|
+
declare const FLUX_3_KLEIN_I2I = "flux-3-klein-i2i";
|
|
134
|
+
type Flux3KleinModel = typeof FLUX_3_KLEIN_T2I | typeof FLUX_3_KLEIN_I2I;
|
|
135
|
+
/** The sizes it renders, smallest first. */
|
|
136
|
+
declare const FLUX_3_KLEIN_RESOLUTIONS: readonly ["1K", "2K", "4K"];
|
|
137
|
+
type Flux3KleinResolution = (typeof FLUX_3_KLEIN_RESOLUTIONS)[number];
|
|
131
138
|
/**
|
|
132
|
-
* The
|
|
133
|
-
*
|
|
134
|
-
* wired in, a moodboard its direction names (at the most a moodboard holds),
|
|
135
|
-
* and an edit model's own source. An estimate may over-quote, never under.
|
|
139
|
+
* The size a run renders when it names none: the provider's own default, and
|
|
140
|
+
* the size an unset or unknown value is priced and sent at.
|
|
136
141
|
*/
|
|
137
|
-
declare
|
|
138
|
-
|
|
142
|
+
declare const FLUX_3_KLEIN_DEFAULT_RESOLUTION: Flux3KleinResolution;
|
|
143
|
+
/** The most reference images one edit takes (`REF_IMAGE_MAX_LIMITS`). */
|
|
144
|
+
declare const FLUX_3_KLEIN_MAX_INPUT_IMAGES = 10;
|
|
145
|
+
declare function isFlux3Klein(model: unknown): model is Flux3KleinModel;
|
|
146
|
+
declare function isFlux3KleinI2i(model: unknown): model is typeof FLUX_3_KLEIN_I2I;
|
|
139
147
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* provider id by hand.
|
|
148
|
+
* The size a FLUX 3 Klein run is priced and sent at: the one asked for when it
|
|
149
|
+
* is one of its sizes (any case), else the default. Unset is the default.
|
|
150
|
+
*/
|
|
151
|
+
declare function flux3KleinResolution(resolution: unknown): Flux3KleinResolution;
|
|
152
|
+
/**
|
|
153
|
+
* The price id of a FLUX 3 Klein run: `flux-3-klein:<size>`, or
|
|
154
|
+
* `flux-3-klein-i2i:<size>` for an edit. The bare ids are never built here.
|
|
148
155
|
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
156
|
+
* A size off its list (a stored node, the multi-model preview pricing one
|
|
157
|
+
* node's data against every model) or none is priced at the default, 1K, which
|
|
158
|
+
* is what the provider renders with none. A text-to-image id sent any image
|
|
159
|
+
* runs on the edit endpoint (the KIE provider swaps it), so it is priced on the
|
|
160
|
+
* edit id whenever `referenceImageCount` is above 0. Every caller passes the
|
|
161
|
+
* images the run sends (`priceReadsInputImages` in `input-image-pricing.ts`: a
|
|
162
|
+
* base image, references, wired images, an entity's source), so the id priced
|
|
163
|
+
* is the id run. Both ids cost the same at each size.
|
|
153
164
|
*/
|
|
165
|
+
declare function flux3KleinCreditId(provider: Flux3KleinModel, resolution: unknown, referenceImageCount: number | undefined): string;
|
|
154
166
|
|
|
155
|
-
/**
|
|
156
|
-
declare
|
|
157
|
-
/**
|
|
158
|
-
declare
|
|
167
|
+
/** True for a model whose price counts the input images a run sends. */
|
|
168
|
+
declare function isPricedPerInputImage(model: unknown): boolean;
|
|
169
|
+
/** True for the edit id of such a model: it always sends at least its source. */
|
|
170
|
+
declare function isPricedPerInputImageEdit(model: unknown): boolean;
|
|
159
171
|
/**
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
* an
|
|
163
|
-
*
|
|
172
|
+
* True for a model whose price id reads the input images a run sends: one
|
|
173
|
+
* priced per input image ({@link isPricedPerInputImage}), or FLUX 3 Klein, which
|
|
174
|
+
* runs on its edit id whenever an image goes (its text-to-image endpoint takes
|
|
175
|
+
* none) and is priced on that id, at the same price. Every place that prices a
|
|
176
|
+
* run counts the images through {@link pricedSentImages} and
|
|
177
|
+
* {@link pricedEstimatedImages} for such a model, so the id priced is the id
|
|
178
|
+
* the provider runs.
|
|
164
179
|
*/
|
|
165
|
-
declare function
|
|
180
|
+
declare function priceReadsInputImages(model: unknown): boolean;
|
|
166
181
|
/**
|
|
167
|
-
* The
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
182
|
+
* The images a Generate Image run sends its provider: its references and, when
|
|
183
|
+
* it edits a base image, that image too (the worker puts it first, unless it is
|
|
184
|
+
* already one of the references). The base is counted only on a model whose
|
|
185
|
+
* price reads the images ({@link priceReadsInputImages}); any other model is
|
|
186
|
+
* priced, and held to its image limit, on its references alone, as before.
|
|
171
187
|
*/
|
|
172
|
-
declare function
|
|
173
|
-
/** The model performs inline `[audio tags]`. false ⇒ strip them before sending. */
|
|
174
|
-
declare function ttsSupportsAudioTags(provider: string | undefined): boolean;
|
|
175
|
-
/** The model honours SSML `<break time="…"/>` tags. */
|
|
176
|
-
declare function ttsSupportsSsmlBreaks(provider: string | undefined): boolean;
|
|
188
|
+
declare function pricedSentImages(provider: string | undefined, references: readonly string[], baseImageUrl: unknown): number;
|
|
177
189
|
/**
|
|
178
|
-
* The
|
|
179
|
-
*
|
|
180
|
-
*
|
|
190
|
+
* The input images a workflow estimate counts for one node on a model whose
|
|
191
|
+
* price reads them ({@link priceReadsInputImages}): every list on the node, its source or base image, what is
|
|
192
|
+
* wired in, a moodboard its direction names (at the most a moodboard holds),
|
|
193
|
+
* and an edit model's own source. An estimate may over-quote, never under.
|
|
181
194
|
*/
|
|
182
|
-
declare function
|
|
183
|
-
/** The model honours this voice-setting lever. */
|
|
184
|
-
declare function ttsHasLever(provider: string | undefined, lever: TtsSettingLever): boolean;
|
|
185
|
-
/** The model answers `/v1/text-to-speech/{voice}/with-timestamps` (character timings). */
|
|
186
|
-
declare function ttsSupportsTimestamps(provider: string | undefined): boolean;
|
|
187
|
-
/** Language codes offered for the model, in catalog order. */
|
|
188
|
-
declare function ttsLanguageCodes(provider: string | undefined): readonly string[];
|
|
195
|
+
declare function pricedEstimatedImages(model: string, data: Record<string, unknown>, wiredImages: number): number;
|
|
189
196
|
|
|
190
197
|
/**
|
|
191
198
|
* Retry/fallback behavior derived from a catalog entry's `safetyFilter`
|
|
@@ -324,4 +331,4 @@ interface NormalizedVideoUpscaleResolution {
|
|
|
324
331
|
*/
|
|
325
332
|
declare function normalizeVideoUpscaleResolution(provider: string | undefined, targetResolution: unknown): NormalizedVideoUpscaleResolution;
|
|
326
333
|
|
|
327
|
-
export { FLUX2_RES_MP, type Flux2Model, IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, type ImageModelRole, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, type MinimaxH3ImageModel, type MinimaxH3ImageResolution, ModelInputAdjustment, type NormalizedVideoUpscaleResolution, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, type SafetyRetryPolicy, type SeedanceDraftModel, type Seedream55Model, type Seedream55Resolution,
|
|
334
|
+
export { FLUX2_RES_MP, FLUX_3_KLEIN_DEFAULT_RESOLUTION, FLUX_3_KLEIN_I2I, FLUX_3_KLEIN_MAX_INPUT_IMAGES, FLUX_3_KLEIN_RESOLUTIONS, FLUX_3_KLEIN_T2I, type Flux2Model, type Flux3KleinModel, type Flux3KleinResolution, IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, type ImageModelRole, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, type MinimaxH3ImageModel, type MinimaxH3ImageResolution, ModelInputAdjustment, type NormalizedVideoUpscaleResolution, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, type SafetyRetryPolicy, type SeedanceDraftModel, type Seedream55Model, type Seedream55Resolution, VIDEO_DURATION_AUTO, VIDEO_UPSCALE_RESOLUTIONS, type VideoUpscaleResolution, defaultImageModel, defaultImageModelForNode, flux3KleinCreditId, flux3KleinResolution, imageModelDrawsRatio, isAutoVideoDuration, isFlux2Model, isFlux3Klein, isFlux3KleinI2i, isMinimaxH3Image, isMinimaxH3ImageI2i, isPricedPerInputImage, isPricedPerInputImageEdit, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, minimaxH3ImageCreditId, normalizeVideoUpscaleResolution, priceReadsInputImages, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, videoUpscaleModelOf, videoUpscaleResolutionsFor };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { isPricedPerInputImage, isPricedPerInputImageEdit, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy } from '../chunk-
|
|
2
|
-
export { IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, VIDEO_UPSCALE_RESOLUTIONS, defaultImageModel, defaultImageModelForNode, imageModelDrawsRatio, normalizeVideoUpscaleResolution, videoUpscaleModelOf, videoUpscaleResolutionsFor } from '../chunk-
|
|
3
|
-
export { TTS_FALLBACK_PROVIDER, TTS_PROVIDER_ALIASES, canonicalTtsProvider, getTtsCapabilities, ttsHasLever, ttsLanguageCodes, ttsSupportsAudioTags, ttsSupportsSsmlBreaks, ttsSupportsStitching, ttsSupportsTimestamps } from '../chunk-
|
|
1
|
+
export { isPricedPerInputImage, isPricedPerInputImageEdit, priceReadsInputImages, pricedEstimatedImages, pricedSentImages, safetyRetryPolicy } from '../chunk-ZSRXY5YT.js';
|
|
2
|
+
export { IMAGE_MODEL_RATIO_FALLBACKS, IMAGE_MODEL_ROLE_DEFAULTS, VIDEO_UPSCALE_RESOLUTIONS, defaultImageModel, defaultImageModelForNode, imageModelDrawsRatio, normalizeVideoUpscaleResolution, videoUpscaleModelOf, videoUpscaleResolutionsFor } from '../chunk-2NKF476Z.js';
|
|
3
|
+
export { TTS_FALLBACK_PROVIDER, TTS_PROVIDER_ALIASES, canonicalTtsProvider, getTtsCapabilities, replicaConsentProblem, replicaModels, replicaOf, ttsAcceptsVoice, ttsAngleTags, ttsDirection, ttsDirectionFor, ttsDirectionProblem, ttsHasLever, ttsLanguageCodes, ttsNamedVoiceFor, ttsNamedVoices, ttsReplicaProblem, ttsSupportsAudioTags, ttsSupportsSsmlBreaks, ttsSupportsStitching, ttsSupportsTimestamps, ttsTakesReplica, ttsVoiceForModel } from '../chunk-3AU52TSW.js';
|
|
4
4
|
export { GPT_IMAGE_2_6_DEFAULT_QUALITY, GPT_IMAGE_2_6_DEFAULT_RESOLUTION, GPT_IMAGE_2_6_DEFAULT_SVG_LEVEL, GPT_IMAGE_2_6_GIF_BANDS, GPT_IMAGE_2_6_GIF_DEFAULT_FRAMES, GPT_IMAGE_2_6_MAX_INPUT_IMAGES, GPT_IMAGE_2_6_METERED_QUALITY, GPT_IMAGE_2_6_QUALITIES, GPT_IMAGE_2_6_RESOLUTIONS, GPT_IMAGE_2_6_SVG_LEVELS, GPT_IMAGE_2_6_TIERED_I2I, GPT_IMAGE_2_6_TIERED_T2I, gptImage26EstimatedImages, gptImage26GifBand, gptImage26PricedFormat, gptImage26SentImages, imageFormatLeversOf, isGptImage26AutoRun, isGptImage26I2i, isGptImage26Tiered } from '../chunk-RGNHHIMN.js';
|
|
5
|
-
export { FLUX2_RES_MP, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, fitAspectRatioToModel, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt } from '../chunk-
|
|
5
|
+
export { FLUX2_RES_MP, FLUX_3_KLEIN_DEFAULT_RESOLUTION, FLUX_3_KLEIN_I2I, FLUX_3_KLEIN_MAX_INPUT_IMAGES, FLUX_3_KLEIN_RESOLUTIONS, FLUX_3_KLEIN_T2I, IMAGE_GIF_FRAME_SIZE, IMAGE_OUTPUT_FORMAT_LABELS, IMAGE_SVG_LEVEL_LABELS, MASKLESS_OUTPUT_FORMATS, MINIMAX_H3_IMAGE_DEFAULT_RESOLUTION, MINIMAX_H3_IMAGE_I2I, MINIMAX_H3_IMAGE_MAX_INPUT_IMAGES, MINIMAX_H3_IMAGE_RESOLUTIONS, MINIMAX_H3_IMAGE_T2I, MODEL_CATALOG, MODEL_INPUT_ADJUSTMENT_FIELDS, MODEL_KINDS, MODEL_MAKERS, MODEL_RECOMMENDATIONS, SEEDANCE_DRAFT_FINALIZE_MAX_SEC, SEEDANCE_DRAFT_FINALIZE_MIN_SEC, SEEDANCE_DRAFT_FINALIZE_PROVIDER, SEEDANCE_DRAFT_FINALIZE_RESOLUTION, SEEDANCE_DRAFT_MODELS, SEEDANCE_DRAFT_RESOLUTION, SEEDREAM_5_5_DEFAULT_RESOLUTION, SEEDREAM_5_5_I2I, SEEDREAM_5_5_MAX_INPUT_IMAGES, SEEDREAM_5_5_MIN_PROMPT_CHARS, SEEDREAM_5_5_RESOLUTIONS, SEEDREAM_5_5_T2I, SPEECH_PER_1K_PRICE_NOTE, SPEECH_UNIT_PRICE_NOTE, TRANSPARENT_OUTPUT_FORMATS, VIDEO_DURATION_AUTO, aspectRatioOptionsByKind, autoAspectNeedsSourceImage, backgroundOptionsByKind, buildModelMenu, creditRangesAll, defaultResolutionFor, durationsByMode, fitAspectRatioToModel, flux3KleinCreditId, flux3KleinResolution, getAspectRatioOptions, getCreditRange, getDurationsForModel, getModel, getQualityOptions, getResolutionOptions, groupByFamily, groupByKindAndFamily, hasFeature, isAutoAspectToken, isAutoVideoDuration, isFlux2Model, isFlux3Klein, isFlux3KleinI2i, isMinimaxH3Image, isMinimaxH3ImageI2i, isModelMakerId, isSeedanceDraftCapable, isSeedream55, isSeedream55I2i, isVideoAutoAspectToken, listModels, maskEditMatchesSource, maskedEditResolution, minimaxH3ImageCreditId, modelIdsByKindMode, modelMakerOf, modelTakesSeed, modelsWithFeature, nearestCatalogAspectRatio, normalizeModelInput, normalizeVideoRequestParams, outputFormatOptionsByKind, qualityOptionsByKind, resolutionAtAspectRatio, resolutionNearestSource, resolutionOptionsByKind, resolutionsAtAspectRatio, seedanceDraftFinalizeBillableSec, seedanceDraftFinalizeCreditId, seedream55Resolution, sourceImageSizeNeeded, svgLevelOptionsByKind, validateModelInput, videoAutoAspectRunsAt } from '../chunk-CW6MMQNO.js';
|
|
6
6
|
//# sourceMappingURL=model-catalog.js.map
|
|
7
7
|
//# sourceMappingURL=model-catalog.js.map
|