@nodaro/shared 3.67.0 → 3.69.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-T4GIHHXY.cjs → chunk-25C2E2GI.cjs} +6 -6
- package/dist/{chunk-T4GIHHXY.cjs.map → chunk-25C2E2GI.cjs.map} +1 -1
- package/dist/{chunk-OXTF4Y3P.cjs → chunk-3AB3YIFM.cjs} +6 -6
- package/dist/{chunk-OXTF4Y3P.cjs.map → chunk-3AB3YIFM.cjs.map} +1 -1
- package/dist/{chunk-23IKLMRL.cjs → chunk-3OHRFSQL.cjs} +53 -51
- package/dist/{chunk-23IKLMRL.cjs.map → chunk-3OHRFSQL.cjs.map} +1 -1
- package/dist/{chunk-GNLA5NTT.cjs → chunk-4IMEJQVQ.cjs} +4 -4
- package/dist/{chunk-GNLA5NTT.cjs.map → chunk-4IMEJQVQ.cjs.map} +1 -1
- package/dist/{chunk-JTYCJ5OL.cjs → chunk-54E2JO4E.cjs} +100 -33
- package/dist/chunk-54E2JO4E.cjs.map +1 -0
- package/dist/{chunk-HTDKEYMY.cjs → chunk-5EQRIUGI.cjs} +139 -91
- package/dist/chunk-5EQRIUGI.cjs.map +1 -0
- package/dist/{chunk-AT53ZQUC.js → chunk-5WHU7CYE.js} +3 -3
- package/dist/{chunk-AT53ZQUC.js.map → chunk-5WHU7CYE.js.map} +1 -1
- package/dist/{chunk-BNR5FKL5.js → chunk-5ZCZL73I.js} +3 -3
- package/dist/{chunk-BNR5FKL5.js.map → chunk-5ZCZL73I.js.map} +1 -1
- package/dist/{chunk-6FQBKI2A.cjs → chunk-6JSYNKFL.cjs} +4 -4
- package/dist/{chunk-6FQBKI2A.cjs.map → chunk-6JSYNKFL.cjs.map} +1 -1
- package/dist/{chunk-WZG6GZIL.cjs → chunk-6QJHSN6J.cjs} +4 -4
- package/dist/{chunk-WZG6GZIL.cjs.map → chunk-6QJHSN6J.cjs.map} +1 -1
- package/dist/{chunk-OFQ6CU6S.js → chunk-7EQJIGVT.js} +3 -3
- package/dist/{chunk-OFQ6CU6S.js.map → chunk-7EQJIGVT.js.map} +1 -1
- package/dist/{chunk-XEPKONJC.js → chunk-7OSUEYZ4.js} +3 -3
- package/dist/{chunk-XEPKONJC.js.map → chunk-7OSUEYZ4.js.map} +1 -1
- package/dist/{chunk-3L7GMQ4M.cjs → chunk-7PC2YHBN.cjs} +54 -49
- package/dist/chunk-7PC2YHBN.cjs.map +1 -0
- package/dist/{chunk-BMDOPJBP.cjs → chunk-AGIG5HUU.cjs} +17 -17
- package/dist/{chunk-BMDOPJBP.cjs.map → chunk-AGIG5HUU.cjs.map} +1 -1
- package/dist/{chunk-5LWYX4GV.js → chunk-AH6OQXLW.js} +3 -3
- package/dist/{chunk-5LWYX4GV.js.map → chunk-AH6OQXLW.js.map} +1 -1
- package/dist/{chunk-RVQW623D.js → chunk-BDW25A7Y.js} +72 -18
- package/dist/chunk-BDW25A7Y.js.map +1 -0
- package/dist/{chunk-5J2LIQYU.js → chunk-DE55SA2X.js} +5 -5
- package/dist/{chunk-5J2LIQYU.js.map → chunk-DE55SA2X.js.map} +1 -1
- package/dist/{chunk-VBP4DH37.js → chunk-DNWFFVC6.js} +130 -15
- package/dist/chunk-DNWFFVC6.js.map +1 -0
- package/dist/{chunk-CLAKSLXF.js → chunk-E3PU7YC6.js} +3 -3
- package/dist/{chunk-CLAKSLXF.js.map → chunk-E3PU7YC6.js.map} +1 -1
- package/dist/{chunk-MVXZP6VB.js → chunk-FUYBUT65.js} +97 -2
- package/dist/chunk-FUYBUT65.js.map +1 -0
- package/dist/{chunk-SW5ZD7BO.js → chunk-G6AOKNAY.js} +3 -3
- package/dist/{chunk-SW5ZD7BO.js.map → chunk-G6AOKNAY.js.map} +1 -1
- package/dist/{chunk-EFYWV2V5.cjs → chunk-I6TBKTW3.cjs} +61 -61
- package/dist/{chunk-EFYWV2V5.cjs.map → chunk-I6TBKTW3.cjs.map} +1 -1
- package/dist/{chunk-3YWZ5SOZ.js → chunk-KLEKJUQI.js} +5 -5
- package/dist/{chunk-3YWZ5SOZ.js.map → chunk-KLEKJUQI.js.map} +1 -1
- package/dist/{chunk-OXBU5AGH.js → chunk-LSX2OFNB.js} +3 -3
- package/dist/{chunk-OXBU5AGH.js.map → chunk-LSX2OFNB.js.map} +1 -1
- package/dist/{chunk-66QSUUB4.cjs → chunk-LY6IR5LL.cjs} +12 -12
- package/dist/{chunk-66QSUUB4.cjs.map → chunk-LY6IR5LL.cjs.map} +1 -1
- package/dist/{chunk-5GG4CG4Y.js → chunk-LZPG4XHT.js} +3 -3
- package/dist/{chunk-5GG4CG4Y.js.map → chunk-LZPG4XHT.js.map} +1 -1
- package/dist/{chunk-PGDR7CO3.cjs → chunk-MGSGLRHZ.cjs} +8 -8
- package/dist/{chunk-PGDR7CO3.cjs.map → chunk-MGSGLRHZ.cjs.map} +1 -1
- package/dist/{chunk-Z77M7Q2R.js → chunk-ML55U7WM.js} +3 -3
- package/dist/{chunk-Z77M7Q2R.js.map → chunk-ML55U7WM.js.map} +1 -1
- package/dist/{chunk-ALRXY4QH.cjs → chunk-N7ZJD4CK.cjs} +6 -2
- package/dist/chunk-N7ZJD4CK.cjs.map +1 -0
- package/dist/{chunk-O2QOBA6Q.js → chunk-NPGP6FMU.js} +43 -3
- package/dist/chunk-NPGP6FMU.js.map +1 -0
- package/dist/{chunk-IWUW3YPM.cjs → chunk-NTCSXKZ3.cjs} +5 -5
- package/dist/{chunk-IWUW3YPM.cjs.map → chunk-NTCSXKZ3.cjs.map} +1 -1
- package/dist/chunk-NWNRATS3.js +13 -0
- package/dist/chunk-NWNRATS3.js.map +1 -0
- package/dist/{chunk-SCDE676D.js → chunk-OEOOXL3F.js} +65 -23
- package/dist/chunk-OEOOXL3F.js.map +1 -0
- package/dist/{chunk-GF7ZA26H.js → chunk-OOUJZR4K.js} +4 -4
- package/dist/{chunk-GF7ZA26H.js.map → chunk-OOUJZR4K.js.map} +1 -1
- package/dist/{chunk-5IZHECUP.js → chunk-OZA4DE23.js} +3 -3
- package/dist/{chunk-5IZHECUP.js.map → chunk-OZA4DE23.js.map} +1 -1
- package/dist/{chunk-GTBW2KAY.js → chunk-PHQVAPSD.js} +8 -6
- package/dist/{chunk-GTBW2KAY.js.map → chunk-PHQVAPSD.js.map} +1 -1
- package/dist/{chunk-5NVGKXJV.cjs → chunk-PLANUXQL.cjs} +89 -3
- package/dist/chunk-PLANUXQL.cjs.map +1 -0
- package/dist/{chunk-ZQ2BHOFH.cjs → chunk-Q2LEJXLZ.cjs} +6 -6
- package/dist/{chunk-ZQ2BHOFH.cjs.map → chunk-Q2LEJXLZ.cjs.map} +1 -1
- package/dist/{chunk-PJAJCFLP.cjs → chunk-QNPYYSLT.cjs} +168 -44
- package/dist/chunk-QNPYYSLT.cjs.map +1 -0
- package/dist/{chunk-G2G7XGFU.cjs → chunk-RURPG6IS.cjs} +7 -7
- package/dist/{chunk-G2G7XGFU.cjs.map → chunk-RURPG6IS.cjs.map} +1 -1
- package/dist/{chunk-PAUWEWTY.js → chunk-TDU45K6Z.js} +12 -7
- package/dist/chunk-TDU45K6Z.js.map +1 -0
- package/dist/{chunk-X2YHKP4D.cjs → chunk-TWUFC32F.cjs} +8 -8
- package/dist/{chunk-X2YHKP4D.cjs.map → chunk-TWUFC32F.cjs.map} +1 -1
- package/dist/{chunk-O6TBB4IF.cjs → chunk-TZWXZDSX.cjs} +48 -2
- package/dist/chunk-TZWXZDSX.cjs.map +1 -0
- package/dist/{chunk-F6XIH3TZ.cjs → chunk-UJREE6EQ.cjs} +9 -9
- package/dist/{chunk-F6XIH3TZ.cjs.map → chunk-UJREE6EQ.cjs.map} +1 -1
- package/dist/{chunk-CFTXW3ZL.js → chunk-UVUHVY7F.js} +3 -3
- package/dist/{chunk-CFTXW3ZL.js.map → chunk-UVUHVY7F.js.map} +1 -1
- package/dist/{chunk-37ZSFS6A.cjs → chunk-WML66SUV.cjs} +9 -9
- package/dist/{chunk-37ZSFS6A.cjs.map → chunk-WML66SUV.cjs.map} +1 -1
- package/dist/{chunk-M5QY464F.cjs → chunk-XZYZYWKG.cjs} +21 -21
- package/dist/{chunk-M5QY464F.cjs.map → chunk-XZYZYWKG.cjs.map} +1 -1
- package/dist/{chunk-3QJ3UR5Z.js → chunk-YT4ZTJVC.js} +9 -9
- package/dist/{chunk-3QJ3UR5Z.js.map → chunk-YT4ZTJVC.js.map} +1 -1
- package/dist/{chunk-V6OXSXIX.js → chunk-YVQFYW2U.js} +86 -4
- package/dist/chunk-YVQFYW2U.js.map +1 -0
- package/dist/{chunk-E62W5I6A.cjs → chunk-ZWEVRMFN.cjs} +97 -2
- package/dist/chunk-ZWEVRMFN.cjs.map +1 -0
- package/dist/entries/apps.cjs +42 -42
- package/dist/entries/apps.js +7 -7
- package/dist/entries/credits.cjs +295 -219
- package/dist/entries/credits.d.cts +233 -70
- package/dist/entries/credits.d.ts +233 -70
- package/dist/entries/credits.js +11 -11
- package/dist/entries/llm-models.cjs +84 -68
- package/dist/entries/llm-models.d.cts +36 -3
- package/dist/entries/llm-models.d.ts +36 -3
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +111 -107
- package/dist/entries/media.d.cts +17 -2
- package/dist/entries/media.d.ts +17 -2
- package/dist/entries/media.js +3 -3
- package/dist/entries/model-catalog.cjs +133 -133
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +433 -397
- package/dist/entries/models.d.cts +2 -2
- package/dist/entries/models.d.ts +2 -2
- package/dist/entries/models.js +8 -8
- package/dist/entries/nodes.cjs +212 -212
- package/dist/entries/nodes.js +8 -8
- package/dist/entries/pipeline.cjs +153 -153
- package/dist/entries/pipeline.d.cts +1 -1
- package/dist/entries/pipeline.d.ts +1 -1
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/runtime-config.cjs +53 -29
- package/dist/entries/runtime-config.d.cts +53 -1
- package/dist/entries/runtime-config.d.ts +53 -1
- 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 +12 -5
- package/dist/entries/types.d.ts +12 -5
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +152 -152
- package/dist/entries/video.d.cts +2 -1
- package/dist/entries/video.d.ts +2 -1
- package/dist/entries/video.js +6 -6
- package/dist/index.cjs +1882 -1726
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +25 -25
- package/dist/{model-constants-DZ3tPGFO.d.ts → model-constants-B5DNHIP8.d.ts} +156 -12
- package/dist/{model-constants-BstsUup6.d.cts → model-constants-CQr_d3Kw.d.cts} +156 -12
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +13 -1
- package/src/__tests__/extend-providers.test.ts +43 -6
- package/src/__tests__/fixtures/measured-input-quote-parity.json +2352 -1
- package/src/__tests__/fixtures/planned-length-quote-parity.json +100 -10
- package/src/__tests__/fixtures/probed-node-quote-parity.json +132 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +945 -38
- package/src/__tests__/gemini-omni-extend.test.ts +110 -0
- package/src/__tests__/gvp-supported-providers.test.ts +3 -0
- package/src/__tests__/llm-models.test.ts +116 -2
- package/src/__tests__/llm-price-key.test.ts +2 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +32 -0
- package/src/__tests__/runtime-config-lists.test.ts +92 -0
- package/src/__tests__/seedance-2-5-flash-catalog.test.ts +194 -0
- package/src/__tests__/video-character-refs.test.ts +48 -0
- package/src/catalog-projection.ts +12 -5
- package/src/credit-estimators/add-captions-nemotron.ts +11 -1
- package/src/credit-estimators/index.ts +6 -1
- package/src/credit-estimators/nemotron-transcribe.ts +35 -3
- package/src/credit-estimators/pitch-tempo.ts +14 -0
- package/src/credit-estimators/video-sfx.ts +15 -0
- package/src/credit-estimators/video-utils.ts +48 -12
- package/src/credit-identifiers.ts +51 -32
- package/src/entries/credits.ts +18 -0
- package/src/entries/llm-models.ts +4 -0
- package/src/entries/models.ts +11 -0
- package/src/entries/runtime-config.ts +10 -1
- package/src/gemini-omni-extend-quote.ts +76 -0
- package/src/lip-sync-pricing.ts +16 -1
- package/src/llm-models.ts +117 -2
- package/src/model-catalog.ts +95 -0
- package/src/model-constants.ts +274 -11
- package/src/node-default-mappings.ts +2 -0
- package/src/priced-clip-seconds.ts +19 -1
- package/src/runtime-config/lists.ts +87 -0
- package/src/runtime-config/worlds.ts +10 -0
- package/src/seedance-extend-rate.ts +83 -20
- package/src/seedance-lip-sync.ts +68 -0
- package/src/video-character-refs.ts +26 -6
- package/dist/chunk-3L7GMQ4M.cjs.map +0 -1
- package/dist/chunk-5NVGKXJV.cjs.map +0 -1
- package/dist/chunk-ALRXY4QH.cjs.map +0 -1
- package/dist/chunk-E62W5I6A.cjs.map +0 -1
- package/dist/chunk-HTDKEYMY.cjs.map +0 -1
- package/dist/chunk-JTYCJ5OL.cjs.map +0 -1
- package/dist/chunk-MVXZP6VB.js.map +0 -1
- package/dist/chunk-O2QOBA6Q.js.map +0 -1
- package/dist/chunk-O6TBB4IF.cjs.map +0 -1
- package/dist/chunk-PAUWEWTY.js.map +0 -1
- package/dist/chunk-PJAJCFLP.cjs.map +0 -1
- package/dist/chunk-RVQW623D.js.map +0 -1
- package/dist/chunk-SCDE676D.js.map +0 -1
- package/dist/chunk-SMOO5FAH.js +0 -10
- package/dist/chunk-SMOO5FAH.js.map +0 -1
- package/dist/chunk-V6OXSXIX.js.map +0 -1
- package/dist/chunk-VBP4DH37.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c9 as TailExtendProvider, cN as VideoAudioRequest, i as CatalogExtendProvider, bQ as SeedanceExtendProvider } from '../model-constants-B5DNHIP8.js';
|
|
2
2
|
import { I as ImageFormatLevers } from '../gpt-image-2-6-jIRQBRag.js';
|
|
3
3
|
import { t as ModelInputAdjustment, W as SourceImageSize } from '../model-catalog-B-aQnUS8.js';
|
|
4
4
|
import 'zod';
|
|
@@ -83,6 +83,89 @@ interface FilmCreditEstimate {
|
|
|
83
83
|
*/
|
|
84
84
|
declare function estimateFilmCredits(durationSeconds: number, videoModel?: string): FilmCreditEstimate;
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* The Extend Video providers priced by the seconds they send, each on its own
|
|
88
|
+
* rows (decided 2026-11-16: Seedance 2.5 Flash Extend beside Seedance 2.5
|
|
89
|
+
* Extend). The window ({@link SEEDANCE_EXTEND_CONTEXT_MAX_SEC}), the two
|
|
90
|
+
* seconds a row prices and the seconds rule are the same for all of them; the
|
|
91
|
+
* rows are each provider's own, one per resolution its catalog entry offers.
|
|
92
|
+
*/
|
|
93
|
+
declare const SEEDANCE_EXTEND_SENT_PRICED_PROVIDERS: readonly ["seedance-2-5-extend", "seedance-2-5-flash-extend"];
|
|
94
|
+
/** An Extend Video provider priced by the seconds it sends. */
|
|
95
|
+
type SentPricedSeedanceExtendProvider = typeof SEEDANCE_EXTEND_SENT_PRICED_PROVIDERS[number];
|
|
96
|
+
/**
|
|
97
|
+
* The first provider priced by the seconds it sends, Seedance 2.5 Extend: what
|
|
98
|
+
* the helpers below price when a caller names no provider (their signatures
|
|
99
|
+
* before Seedance 2.5 Flash Extend joined).
|
|
100
|
+
*/
|
|
101
|
+
declare const SEEDANCE_EXTEND_SENT_PRICED_PROVIDER = "seedance-2-5-extend";
|
|
102
|
+
/** The most of the source's end a run sends as `@video_1`, in seconds. */
|
|
103
|
+
declare const SEEDANCE_EXTEND_CONTEXT_MAX_SEC = 10;
|
|
104
|
+
/** The seconds one rate row prices. */
|
|
105
|
+
declare const SEEDANCE_EXTEND_RATE_SECONDS = 2;
|
|
106
|
+
/**
|
|
107
|
+
* Each sent-priced provider's rate rows, by resolution: one per resolution its
|
|
108
|
+
* catalog entry offers (Seedance 2.5 Extend 480p / 720p / 1080p; Seedance 2.5
|
|
109
|
+
* Flash Extend 480p / 720p), each the price of
|
|
110
|
+
* {@link SEEDANCE_EXTEND_RATE_SECONDS} seconds. Read from the catalog, so a
|
|
111
|
+
* provider's rows and the resolutions it renders cannot differ.
|
|
112
|
+
*/
|
|
113
|
+
declare const SEEDANCE_EXTEND_RATE_CREDIT_IDS_BY_PROVIDER: Readonly<Record<SentPricedSeedanceExtendProvider, Readonly<Record<string, string>>>>;
|
|
114
|
+
/** Seedance 2.5 Extend's rate row of each resolution: the price of {@link SEEDANCE_EXTEND_RATE_SECONDS} seconds. */
|
|
115
|
+
declare const SEEDANCE_EXTEND_RATE_CREDIT_IDS: Readonly<Record<"480p" | "720p" | "1080p", string>>;
|
|
116
|
+
/** Is `provider` an Extend Video provider priced by the seconds it sends? A retired id answers false: pass it through `canonicalVideoProvider` first. */
|
|
117
|
+
declare function isSeedanceExtendPricedBySecondsSent(provider: unknown): provider is SentPricedSeedanceExtendProvider;
|
|
118
|
+
/** Is `id` one of the rate rows (of any sent-priced provider)? */
|
|
119
|
+
declare function isSeedanceExtendRateCreditId(id: unknown): boolean;
|
|
120
|
+
/**
|
|
121
|
+
* The seconds a tail-recipe extend run (Seedance 2.5 / 2.0, Kling 4) adds for a requested `duration`: the
|
|
122
|
+
* seconds its price counts (`pricedOutputDurationSec`, the provider's catalog
|
|
123
|
+
* default when unset or unreadable), held in the provider's catalog window.
|
|
124
|
+
* The one reading of the length: the route queues it, the worker generates
|
|
125
|
+
* it, and every price and quote counts it.
|
|
126
|
+
*/
|
|
127
|
+
declare function seedanceExtendAddedSec(provider: TailExtendProvider, duration: unknown): number;
|
|
128
|
+
/**
|
|
129
|
+
* The shortest source (its picture) each sent-priced provider continues, in
|
|
130
|
+
* seconds: the shortest reference video its model takes. Seedance 2.5 Extend:
|
|
131
|
+
* 1.8 s, measured on the 2.0 family (`SEEDANCE_2_R2V_MIN_REF_VIDEO_SEC`; a
|
|
132
|
+
* nominal 2 s clip that probes a frame short still runs). Seedance 2.5 Flash
|
|
133
|
+
* Extend: Flash's documented 2 s (`VIDEO_REF_VIDEO_DURATION_LIMITS`, decided
|
|
134
|
+
* 2026-11-16). The route and a quote refuse a shorter source, and the worker
|
|
135
|
+
* again before it generates.
|
|
136
|
+
*/
|
|
137
|
+
declare const SEEDANCE_EXTEND_MIN_SOURCE_SEC: Readonly<Record<SentPricedSeedanceExtendProvider, number>>;
|
|
138
|
+
/**
|
|
139
|
+
* A picture's measured length as the seconds it is charged as — the
|
|
140
|
+
* platform's container-overhang rule: at most `CONTAINER_OVERHANG_SEC` (a
|
|
141
|
+
* quarter second) past a whole second is that whole second (8.04 s is 8 s,
|
|
142
|
+
* 8.25 s is 8 s); anything else is exactly as measured (8.3 s is 8.3 s).
|
|
143
|
+
* Under a second there is no whole second to read it as.
|
|
144
|
+
*/
|
|
145
|
+
declare function seedanceExtendSourceSec(pictureSec: number): number;
|
|
146
|
+
/**
|
|
147
|
+
* The seconds of the source a run is charged for sending: its last
|
|
148
|
+
* {@link SEEDANCE_EXTEND_CONTEXT_MAX_SEC}, or all of a shorter source, its
|
|
149
|
+
* picture's length read by the container-overhang rule
|
|
150
|
+
* ({@link seedanceExtendSourceSec}). A source whose length is not known (a
|
|
151
|
+
* quote before the upstream video exists, or a length that is not a positive
|
|
152
|
+
* finite number) counts the whole window: the most a run sends.
|
|
153
|
+
*/
|
|
154
|
+
declare function seedanceExtendSentSec(sourcePictureSec: number | null | undefined): number;
|
|
155
|
+
/**
|
|
156
|
+
* Whether a sent-priced extend on `provider` refuses a source of this measured
|
|
157
|
+
* picture length: a known length (positive, finite) under the shortest source
|
|
158
|
+
* the provider takes ({@link SEEDANCE_EXTEND_MIN_SOURCE_SEC}: 1.8 s, 2 s on
|
|
159
|
+
* Seedance 2.5 Flash Extend), compared as measured, as the route refuses it
|
|
160
|
+
* before anything is reserved and the worker before it generates. A length
|
|
161
|
+
* that is not known is never refused here (the run measures the source itself).
|
|
162
|
+
*/
|
|
163
|
+
declare function seedanceExtendSourceRefused(provider: SentPricedSeedanceExtendProvider, sourcePictureSec: number | null | undefined): boolean;
|
|
164
|
+
/** Seedance 2.5 Extend's {@link seedanceExtendSourceRefused} (its 1.8 s floor). */
|
|
165
|
+
declare function seedanceExtendRefusesSource(sourcePictureSec: number | null | undefined): boolean;
|
|
166
|
+
/** The units of a rate row a run that sends `sentSec` and adds `addedSec` is charged. */
|
|
167
|
+
declare function seedanceExtendUnits(sentSec: number, addedSec: number): number;
|
|
168
|
+
|
|
86
169
|
/**
|
|
87
170
|
* Build composite credit model identifiers for variable pricing.
|
|
88
171
|
* Shared between frontend and backend.
|
|
@@ -307,16 +390,18 @@ declare function seedanceVideoEditCreditId(provider: string, resolution?: string
|
|
|
307
390
|
*/
|
|
308
391
|
declare function tailExtendResolution(provider: TailExtendProvider, resolution?: unknown): string;
|
|
309
392
|
/**
|
|
310
|
-
* The rate row a
|
|
311
|
-
* of:
|
|
312
|
-
* ({@link tailExtendResolution}:
|
|
393
|
+
* The rate row a sent-priced Extend Video run at `resolution` is charged a
|
|
394
|
+
* multiple of: `provider`'s row (Seedance 2.5 Extend when none is named) of the
|
|
395
|
+
* resolution the run is priced and rendered at ({@link tailExtendResolution}:
|
|
396
|
+
* one the model offers, else 720p).
|
|
313
397
|
*/
|
|
314
|
-
declare function seedanceExtendRateCreditId(resolution: unknown): string;
|
|
398
|
+
declare function seedanceExtendRateCreditId(resolution: unknown, provider?: SentPricedSeedanceExtendProvider): string;
|
|
315
399
|
/**
|
|
316
|
-
* The ONE id a Seedance 2.5 Extend
|
|
317
|
-
*
|
|
318
|
-
* run, which the
|
|
319
|
-
* `POST /v1/credits/model-costs`)
|
|
400
|
+
* The ONE id a sent-priced Extend Video run (Seedance 2.5 Extend, Seedance 2.5
|
|
401
|
+
* Flash Extend) on a known source is charged: the whole-run quote
|
|
402
|
+
* (`<rate row>:<units>u`, {@link unitQuoteCreditId}) of that run, which the
|
|
403
|
+
* price lookups (`GET /v1/credits/model-cost`, `POST /v1/credits/model-costs`)
|
|
404
|
+
* answer with exactly what the run is charged.
|
|
320
405
|
*
|
|
321
406
|
* The units are (seconds sent + seconds added) ÷ 2, by the rule the server
|
|
322
407
|
* charges a run by (seedance-extend-rate.ts): the seconds sent are the
|
|
@@ -331,15 +416,16 @@ declare function seedanceExtendRateCreditId(resolution: unknown): string;
|
|
|
331
416
|
* the most a run of that length costs.
|
|
332
417
|
* @param duration the seconds added (the request's `duration`).
|
|
333
418
|
* @param resolution the request's resolution (one the model does not offer is 720p).
|
|
419
|
+
* @param provider the extend provider (Seedance 2.5 Extend when none is named).
|
|
334
420
|
* @returns the id, or `undefined` for a source the extend refuses: a measured
|
|
335
421
|
* picture shorter than the shortest source it takes
|
|
336
|
-
* (`
|
|
422
|
+
* (`SEEDANCE_EXTEND_MIN_SOURCE_SEC`: 1.8 s, 2 s on Flash; compared as measured, as the
|
|
337
423
|
* route and the worker compare it), whatever the seconds added. No run on
|
|
338
424
|
* such a source is made or charged, so there is no price to name.
|
|
339
425
|
*/
|
|
340
|
-
declare function seedanceExtendSourceCreditId(sourcePictureSec: number | null | undefined, duration?: number | string, resolution?: unknown): string | undefined;
|
|
426
|
+
declare function seedanceExtendSourceCreditId(sourcePictureSec: number | null | undefined, duration?: number | string, resolution?: unknown, provider?: SentPricedSeedanceExtendProvider): string | undefined;
|
|
341
427
|
/**
|
|
342
|
-
* The most a
|
|
428
|
+
* The most a sent-priced Extend Video run that adds `duration` seconds at
|
|
343
429
|
* `resolution` can cost, as ONE id: the whole-run quote
|
|
344
430
|
* (`<rate row>:<units>u`, {@link unitQuoteCreditId}) of a run that sends the
|
|
345
431
|
* whole {@link SEEDANCE_EXTEND_CONTEXT_MAX_SEC}-second window — the units are
|
|
@@ -347,12 +433,12 @@ declare function seedanceExtendSourceCreditId(sourcePictureSec: number | null |
|
|
|
347
433
|
* never below what a run of that length is charged; the price lookups answer
|
|
348
434
|
* it at the rate row's current price. A client that knows the source names
|
|
349
435
|
* its run exactly with {@link seedanceExtendSourceCreditId}; this is that id
|
|
350
|
-
* for a source not known.
|
|
436
|
+
* for a source not known. `provider`: Seedance 2.5 Extend when none is named.
|
|
351
437
|
*
|
|
352
438
|
* The seconds added snap into the catalog window exactly as
|
|
353
439
|
* {@link tailExtendCreditId} reads them for every tail-recipe provider.
|
|
354
440
|
*/
|
|
355
|
-
declare function seedanceExtendFullWindowCreditId(duration?: number | string, resolution?: unknown): string;
|
|
441
|
+
declare function seedanceExtendFullWindowCreditId(duration?: number | string, resolution?: unknown, provider?: SentPricedSeedanceExtendProvider): string;
|
|
356
442
|
/**
|
|
357
443
|
* The credit identifier a client prices one tail-recipe Extend Video run at —
|
|
358
444
|
* the one builder every surface that prices it reads (the route's guard and
|
|
@@ -365,11 +451,11 @@ declare function seedanceExtendFullWindowCreditId(duration?: number | string, re
|
|
|
365
451
|
* - Seedance 2.0 Extend (4–15 s) and Kling 4 Extend (3–30 s): their own rows,
|
|
366
452
|
* one per second of the window and resolution, `<provider>:<N>s:<res>`
|
|
367
453
|
* (480p / 720p / 1080p; Kling 4 720p / 1080p) — the price a run is charged.
|
|
368
|
-
* - Seedance 2.5 Extend (4–30 s)
|
|
369
|
-
*
|
|
370
|
-
* that length costs, the whole
|
|
371
|
-
* ({@link seedanceExtendFullWindowCreditId},
|
|
372
|
-
*
|
|
454
|
+
* - Seedance 2.5 Extend and Seedance 2.5 Flash Extend (4–30 s) are charged
|
|
455
|
+
* per second they send and add, and how much is sent depends on the
|
|
456
|
+
* source: this names the most a run of that length costs, the whole
|
|
457
|
+
* 10-second window sent ({@link seedanceExtendFullWindowCreditId},
|
|
458
|
+
* `<provider>:<res>:per-2s:<units>u`). A client that knows the
|
|
373
459
|
* source names the run's own id with {@link seedanceExtendSourceCreditId}.
|
|
374
460
|
*
|
|
375
461
|
* A retired id (`seedance-2-extend`) is not a {@link TailExtendProvider}:
|
|
@@ -643,56 +729,32 @@ declare function sunoCreditType(model: string | undefined, operation: string): s
|
|
|
643
729
|
*/
|
|
644
730
|
declare const SUNO_VERSION_CREDIT_KEYS: Readonly<Record<string, string>>;
|
|
645
731
|
|
|
646
|
-
/**
|
|
647
|
-
|
|
648
|
-
/** The
|
|
649
|
-
|
|
650
|
-
/** The
|
|
651
|
-
|
|
652
|
-
/** The seconds
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
declare const SEEDANCE_EXTEND_RATE_CREDIT_IDS: Readonly<Record<"480p" | "720p" | "1080p", string>>;
|
|
656
|
-
/** Is `provider` the Extend Video provider priced by the seconds it sends? A retired id answers false: pass it through `canonicalVideoProvider` first. */
|
|
657
|
-
declare function isSeedanceExtendPricedBySecondsSent(provider: unknown): provider is SentPricedSeedanceExtendProvider;
|
|
658
|
-
/** Is `id` one of the rate rows? */
|
|
659
|
-
declare function isSeedanceExtendRateCreditId(id: unknown): boolean;
|
|
660
|
-
/**
|
|
661
|
-
* The seconds a tail-recipe extend run (Seedance 2.5 / 2.0, Kling 4) adds for a requested `duration`: the
|
|
662
|
-
* seconds its price counts (`pricedOutputDurationSec`, the provider's catalog
|
|
663
|
-
* default when unset or unreadable), held in the provider's catalog window.
|
|
664
|
-
* The one reading of the length: the route queues it, the worker generates
|
|
665
|
-
* it, and every price and quote counts it.
|
|
666
|
-
*/
|
|
667
|
-
declare function seedanceExtendAddedSec(provider: TailExtendProvider, duration: unknown): number;
|
|
668
|
-
/**
|
|
669
|
-
* A picture's measured length as the seconds it is charged as — the
|
|
670
|
-
* platform's container-overhang rule: at most `CONTAINER_OVERHANG_SEC` (a
|
|
671
|
-
* quarter second) past a whole second is that whole second (8.04 s is 8 s,
|
|
672
|
-
* 8.25 s is 8 s); anything else is exactly as measured (8.3 s is 8.3 s).
|
|
673
|
-
* Under a second there is no whole second to read it as.
|
|
674
|
-
*/
|
|
675
|
-
declare function seedanceExtendSourceSec(pictureSec: number): number;
|
|
732
|
+
/** A `gemini-omni-flash-1-2-extend:<res>:sent-<S>s:added-<A>s` id, read back. */
|
|
733
|
+
interface GeminiOmniExtendQuoteCreditIdParts {
|
|
734
|
+
/** The resolution the run renders at. */
|
|
735
|
+
readonly resolution: string;
|
|
736
|
+
/** The seconds of the source sent. */
|
|
737
|
+
readonly sentSec: number;
|
|
738
|
+
/** The whole seconds added. */
|
|
739
|
+
readonly addedSec: number;
|
|
740
|
+
}
|
|
676
741
|
/**
|
|
677
|
-
* The
|
|
678
|
-
*
|
|
679
|
-
*
|
|
680
|
-
*
|
|
681
|
-
* quote before the upstream video exists, or a length that is not a positive
|
|
682
|
-
* finite number) counts the whole window: the most a run sends.
|
|
742
|
+
* The id of the whole price of one Gemini Omni Flash 1.2 Extend run that adds
|
|
743
|
+
* `duration` seconds at `resolution` to a source whose picture lasts
|
|
744
|
+
* `sourcePictureSec` (undefined, or not a positive number: not known — the
|
|
745
|
+
* whole 10 s window, the most a run of that length costs).
|
|
683
746
|
*/
|
|
684
|
-
declare function
|
|
747
|
+
declare function geminiOmniExtendQuoteCreditId(args: {
|
|
748
|
+
readonly sourcePictureSec?: number | null;
|
|
749
|
+
readonly duration?: number | string;
|
|
750
|
+
readonly resolution?: unknown;
|
|
751
|
+
}): string;
|
|
685
752
|
/**
|
|
686
|
-
*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
* the route refuses it before anything is reserved and the worker before it
|
|
690
|
-
* generates. A length that is not known is never refused here (the run
|
|
691
|
-
* measures the source itself).
|
|
753
|
+
* The parts of such an id by its shape alone, or undefined. Which
|
|
754
|
+
* resolutions, lengths and sources the server prices is the server's to say:
|
|
755
|
+
* an id it does not price lands in `missing`.
|
|
692
756
|
*/
|
|
693
|
-
declare function
|
|
694
|
-
/** The units of a rate row a run that sends `sentSec` and adds `addedSec` is charged. */
|
|
695
|
-
declare function seedanceExtendUnits(sentSec: number, addedSec: number): number;
|
|
757
|
+
declare function parseGeminiOmniExtendQuoteCreditId(id: string): GeminiOmniExtendQuoteCreditIdParts | undefined;
|
|
696
758
|
|
|
697
759
|
/**
|
|
698
760
|
* Pure credit estimators for video-utility nodes (loop-video, trim-video,
|
|
@@ -745,6 +807,26 @@ interface CombineVideosEstimatorInput {
|
|
|
745
807
|
transitionDuration?: number;
|
|
746
808
|
trimStartFrames?: number;
|
|
747
809
|
trimEndFrames?: number;
|
|
810
|
+
/**
|
|
811
|
+
* The frame rate the clips' frame trims are cut at (the rate the join
|
|
812
|
+
* conforms its clips to), when known. Absent, 24 fps, the estimate's
|
|
813
|
+
* long-standing assumption. The trims come off at the joins only: the start
|
|
814
|
+
* of every clip but the first, the end of every clip but the last.
|
|
815
|
+
*/
|
|
816
|
+
trimFramesPerSecond?: number;
|
|
817
|
+
/**
|
|
818
|
+
* Per-join transitions (Combine Videos' `transitions`): `index` k is the
|
|
819
|
+
* join between clip k and clip k + 1. A join with an entry blends for its
|
|
820
|
+
* own `duration` (a `"cut"`, or a duration of 0, overlaps nothing); every
|
|
821
|
+
* other join keeps `transition` / `transitionDuration`. An index outside the
|
|
822
|
+
* joins is ignored, and a later entry for the same join wins, as the join
|
|
823
|
+
* renders them.
|
|
824
|
+
*/
|
|
825
|
+
transitions?: ReadonlyArray<{
|
|
826
|
+
readonly index?: number;
|
|
827
|
+
readonly transition?: string;
|
|
828
|
+
readonly duration?: number;
|
|
829
|
+
}>;
|
|
748
830
|
}
|
|
749
831
|
declare function estimateLoopVideoCredits(data: LoopVideoEstimatorInput, upstreamDuration?: number): number;
|
|
750
832
|
declare function estimateTrimVideoCredits(data: TrimVideoEstimatorInput, upstreamDuration?: number): number;
|
|
@@ -807,6 +889,15 @@ declare const VIDEO_SFX_PRICING: {
|
|
|
807
889
|
* the last bucket (the route refuses such a video before it gets here).
|
|
808
890
|
*/
|
|
809
891
|
declare function videoSfxCreditId(durationSec: number | null | undefined): string;
|
|
892
|
+
/**
|
|
893
|
+
* The price row a run HOLDS and is CHARGED for an input video it measured at
|
|
894
|
+
* `measuredSec` seconds: the row of the length less `CLIP_PRICE_GRACE_SEC`
|
|
895
|
+
* (0.05 s, decided 2026-11-14), so a container a hair past a row's length (a
|
|
896
|
+
* re-encoded 30 s cut measures 30.016 s) is charged that row, the one its
|
|
897
|
+
* length is quoted at ({@link videoSfxQuoteCreditId}, which reads the length
|
|
898
|
+
* exactly). Past the grace, the next row.
|
|
899
|
+
*/
|
|
900
|
+
declare function videoSfxHeldCreditId(measuredSec: number): string;
|
|
810
901
|
/**
|
|
811
902
|
* The price row a QUOTE names for an input video of `durationSec` seconds —
|
|
812
903
|
* every estimate before a run (the node's Run button, the workflow estimate,
|
|
@@ -1149,6 +1240,14 @@ declare const PITCH_TEMPO_LIMITS: {
|
|
|
1149
1240
|
declare function pitchTempoStartedMinutes(durationSec: number | null | undefined): number;
|
|
1150
1241
|
/** `pitch-tempo:<N>m` — the id a run on an input of `durationSec` seconds reserves. */
|
|
1151
1242
|
declare function pitchTempoCreditId(durationSec: number | null | undefined): string;
|
|
1243
|
+
/**
|
|
1244
|
+
* `pitch-tempo:<N>m` — the id a run HOLDS and is CHARGED for an input it
|
|
1245
|
+
* measured at `measuredSec` seconds: the started minutes of the length less
|
|
1246
|
+
* `CLIP_PRICE_GRACE_SEC` (0.05 s, decided 2026-11-14), so a file a hair past a
|
|
1247
|
+
* minute is charged the minute its length is quoted at
|
|
1248
|
+
* ({@link pitchTempoQuoteCreditId} reads the length exactly).
|
|
1249
|
+
*/
|
|
1250
|
+
declare function pitchTempoHeldCreditId(measuredSec: number): string;
|
|
1152
1251
|
/**
|
|
1153
1252
|
* The id a QUOTE names for an input of `durationSec` seconds — every estimate
|
|
1154
1253
|
* before a run. A known length is the id its run reserves
|
|
@@ -1174,7 +1273,8 @@ declare function semitonesToPitchRatio(semitones: number): number;
|
|
|
1174
1273
|
* The base price is 0.75 credits a minute, which no whole-credit row can hold
|
|
1175
1274
|
* (`model_pricing.credit_cost` is an integer), so the rate row prices FOUR
|
|
1176
1275
|
* minutes — the same trick as Nodaro Video Upscale's four-second rows. A run
|
|
1177
|
-
* reserves `nemotron-3-5-transcribe:<N>m` (N = started minutes, 1..60
|
|
1276
|
+
* reserves `nemotron-3-5-transcribe:<N>m` (N = started minutes, 1..60; a
|
|
1277
|
+
* measured file's less the one second its charge forgives), which
|
|
1178
1278
|
* billing prices as that row × N ÷ 4, rounded up once for the whole run, then
|
|
1179
1279
|
* marked up once — never a row of its own, so a retune of the rate row moves
|
|
1180
1280
|
* the route, the workflow run, the node's Run button and every estimate
|
|
@@ -1185,7 +1285,9 @@ declare function semitonesToPitchRatio(semitones: number): number;
|
|
|
1185
1285
|
* `lib/nemotron-transcribe-settle.ts`).
|
|
1186
1286
|
*
|
|
1187
1287
|
* Worked base prices at the row's launch value of 3 (per 4 minutes):
|
|
1188
|
-
* 0:45 → 1, 1:00 → 1, 1:
|
|
1288
|
+
* 0:45 → 1, 1:00 → 1, 1:05 → 2, 10:00 → 8, 60:00 → 45
|
|
1289
|
+
* (a length's started minutes; a measured file up to 1 s past a minute is
|
|
1290
|
+
* held and charged the minute below, {@link nemotronHeldMinutes}).
|
|
1189
1291
|
* The listed (marked-up) price follows from those.
|
|
1190
1292
|
*/
|
|
1191
1293
|
/** The engine's id — the Transcribe node's `provider`, and the bare price id. */
|
|
@@ -1212,8 +1314,30 @@ declare const NEMOTRON_TRANSCRIBE_PRICING: {
|
|
|
1212
1314
|
* settles at the provider's decoded length).
|
|
1213
1315
|
*/
|
|
1214
1316
|
declare function nemotronTranscribeStartedMinutes(durationSec: number | null | undefined): number;
|
|
1215
|
-
/** `nemotron-3-5-transcribe:<N>m` — the id
|
|
1317
|
+
/** `nemotron-3-5-transcribe:<N>m` — the id of `durationSec` seconds' started minutes (the price of that length; a quote names it). */
|
|
1216
1318
|
declare function nemotronTranscribeCreditId(durationSec: number | null | undefined): string;
|
|
1319
|
+
/**
|
|
1320
|
+
* How far past a whole minute a file may run and still be held and charged the
|
|
1321
|
+
* minute below it: one second (decided 2026-11-12 for the charge, which reads
|
|
1322
|
+
* KIE's decoded length; the hold reads it too, {@link nemotronHeldMinutes}).
|
|
1323
|
+
* Decoders and containers disagree by a few hundredths at a file's end — a
|
|
1324
|
+
* 60-second cut re-encoded with its sound measures 60.0004–60.011 s.
|
|
1325
|
+
*/
|
|
1326
|
+
declare const NEMOTRON_UPWARD_GRACE_SEC = 1;
|
|
1327
|
+
/**
|
|
1328
|
+
* The started minutes a run HOLDS for a file it measured at `measuredSec`
|
|
1329
|
+
* before it runs: those of the length less {@link NEMOTRON_UPWARD_GRACE_SEC},
|
|
1330
|
+
* at least 1, at most 60 — the minutes its charge settles at when KIE decodes
|
|
1331
|
+
* the file within the grace of them (backend `nemotronChargeId`, which forgives
|
|
1332
|
+
* only a length past the HELD minutes). So a quote of a length the graph knows
|
|
1333
|
+
* is never below the hold of a file that measures up to the grace past it, and
|
|
1334
|
+
* a file a hair past a minute is held and charged as that minute. The one rule
|
|
1335
|
+
* both holds read: the Transcribe node's (`nemotronTranscribeHeldCreditId`) and
|
|
1336
|
+
* Add Captions' on Nemotron (`addCaptionsNemotronHeldCreditId`).
|
|
1337
|
+
*/
|
|
1338
|
+
declare function nemotronHeldMinutes(measuredSec: number): number;
|
|
1339
|
+
/** `nemotron-3-5-transcribe:<N>m` — the id a run on a file it measured at `measuredSec` seconds holds ({@link nemotronHeldMinutes}). */
|
|
1340
|
+
declare function nemotronTranscribeHeldCreditId(measuredSec: number): string;
|
|
1217
1341
|
/**
|
|
1218
1342
|
* The id a QUOTE names for a file of `durationSec` seconds — every estimate
|
|
1219
1343
|
* before a run. A known length is the id its run reserves. An UNKNOWN length is
|
|
@@ -1240,8 +1364,14 @@ declare const ADD_CAPTIONS_KINETIC_CREDIT_ID = "add-captions:kinetic";
|
|
|
1240
1364
|
declare const ADD_CAPTIONS_NEMOTRON_ID_PREFIX = "add-captions:kinetic:nemotron";
|
|
1241
1365
|
/** `add-captions:kinetic:nemotron:<N>m` for N started minutes (1..60, clamped). */
|
|
1242
1366
|
declare function addCaptionsNemotronMinutesId(minutes: number): string;
|
|
1243
|
-
/** The id a Nemotron caption run on a video of `durationSec` seconds
|
|
1367
|
+
/** The id of a Nemotron caption run on a video of `durationSec` seconds' started minutes (the price of that length; a quote names it). */
|
|
1244
1368
|
declare function addCaptionsNemotronCreditId(durationSec: number | null | undefined): string;
|
|
1369
|
+
/**
|
|
1370
|
+
* The id a Nemotron caption run on a video it measured at `measuredSec`
|
|
1371
|
+
* seconds HOLDS: the started minutes less the one second its charge forgives
|
|
1372
|
+
* (`nemotronHeldMinutes`, the Transcribe node's own rule).
|
|
1373
|
+
*/
|
|
1374
|
+
declare function addCaptionsNemotronHeldCreditId(measuredSec: number): string;
|
|
1245
1375
|
/**
|
|
1246
1376
|
* The id a QUOTE names for a video of `durationSec` seconds — every estimate
|
|
1247
1377
|
* before a run. A known length is the id its run holds; an UNKNOWN length is
|
|
@@ -1465,6 +1595,15 @@ declare function lipSyncAudioRateOf(provider: unknown): LipSyncAudioRate | undef
|
|
|
1465
1595
|
* runs a hair past it and would round up a whole second more).
|
|
1466
1596
|
*/
|
|
1467
1597
|
declare function lipSyncBilledSeconds(rate: LipSyncAudioRate, measuredSec: number): number;
|
|
1598
|
+
/**
|
|
1599
|
+
* The seconds a run of a per-second-rate model is HELD and CHARGED for audio
|
|
1600
|
+
* it measured at `measuredSec`: {@link lipSyncBilledSeconds} of the length less
|
|
1601
|
+
* `CLIP_PRICE_GRACE_SEC` (0.05 s, decided 2026-11-14), so audio a hair past a
|
|
1602
|
+
* whole second (a decoder's few hundredths at a file's end) is charged the
|
|
1603
|
+
* second its length is quoted at. A quote reads the length exactly
|
|
1604
|
+
* ({@link lipSyncEstimateSeconds}).
|
|
1605
|
+
*/
|
|
1606
|
+
declare function lipSyncHeldSeconds(rate: LipSyncAudioRate, measuredSec: number): number;
|
|
1468
1607
|
/**
|
|
1469
1608
|
* The length the editor quotes a lip-sync run on while its audio's length is
|
|
1470
1609
|
* not known yet — the 15 seconds every model priced by its audio shows then
|
|
@@ -1510,6 +1649,30 @@ declare function isPerSecondLipSyncProvider(provider: string): boolean;
|
|
|
1510
1649
|
*/
|
|
1511
1650
|
declare function buildLipSyncCreditId(provider: string, audioDurationSec: number | undefined): string;
|
|
1512
1651
|
|
|
1652
|
+
/** The length, in seconds, a Seedance Lip Sync run renders and is priced at. */
|
|
1653
|
+
declare const SEEDANCE_LIP_SYNC_SECONDS = 8;
|
|
1654
|
+
/** Whether this Lip Sync model is a Seedance model priced by {@link seedanceLipSyncCreditId}. */
|
|
1655
|
+
declare function isSeedanceLipSyncProvider(provider: unknown): provider is string;
|
|
1656
|
+
/** The resolution a Seedance Lip Sync run renders and is priced at (see the file comment). */
|
|
1657
|
+
declare function seedanceLipSyncResolution(provider: string, resolution?: unknown): string;
|
|
1658
|
+
/** The credit id a Seedance Lip Sync run is held and charged on: its plain 8-second row. */
|
|
1659
|
+
declare function seedanceLipSyncCreditId(provider: string, resolution?: unknown): string;
|
|
1660
|
+
/**
|
|
1661
|
+
* MiniMax Hailuo 3 on Lip Sync: the same portrait-plus-voice-line run, held on
|
|
1662
|
+
* its 8-second 2K row on every path (decided 2026-11-16). The Lip Sync
|
|
1663
|
+
* resolution never names H3's own 768P tier, and KIE renders 2K when none is
|
|
1664
|
+
* sent, so the row does not follow the resolution and nothing sent changes.
|
|
1665
|
+
*/
|
|
1666
|
+
declare const MINIMAX_H3_LIP_SYNC_CREDIT_ID = "minimax-h3:8s";
|
|
1667
|
+
/**
|
|
1668
|
+
* The credit id a Lip Sync run on a multimodal video model (the Seedance 2
|
|
1669
|
+
* family and MiniMax Hailuo 3: a portrait plus the voice line as reference
|
|
1670
|
+
* audio) is held and charged on — the ONE rule the route, the workflow run,
|
|
1671
|
+
* the film pipeline and both estimates read. Undefined for every other Lip
|
|
1672
|
+
* Sync model.
|
|
1673
|
+
*/
|
|
1674
|
+
declare function referenceAudioLipSyncCreditId(provider: unknown, resolution?: unknown): string | undefined;
|
|
1675
|
+
|
|
1513
1676
|
/**
|
|
1514
1677
|
* AI Avatar (HeyGen) duration-bucketing + credit-identifier helpers.
|
|
1515
1678
|
* Single source of truth for the NON-monetary side of ai-avatar billing
|
|
@@ -1983,4 +2146,4 @@ declare function contentIdeasCreditId(count: unknown, llmModel?: unknown, reason
|
|
|
1983
2146
|
/** Every credit id the two nodes can bill — for price tables and guards. */
|
|
1984
2147
|
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"];
|
|
1985
2148
|
|
|
1986
|
-
export { ADD_CAPTIONS_KINETIC_CREDIT_ID, ADD_CAPTIONS_NEMOTRON_ID_PREFIX, 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, type GrokExtendSourceResolution, 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, SEEDANCE_EXTEND_CONTEXT_MAX_SEC, SEEDANCE_EXTEND_RATE_CREDIT_IDS, SEEDANCE_EXTEND_RATE_SECONDS, SEEDANCE_EXTEND_SENT_PRICED_PROVIDER, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SPEECH_FLOOR_UNITS, SPEECH_PER_1K_CREDIT_SUFFIX, 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 SentPricedSeedanceExtendProvider, 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, addCaptionsNemotronBaseCredits, addCaptionsNemotronCreditId, addCaptionsNemotronMinutesId, addCaptionsNemotronQuoteCreditId, aiAvatarReserveCreditId, applyEdlCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildCreditModelIdentifier, buildLipSyncCreditId, buildMotionCreditModelIdentifier, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateMonetizationMarkup, calculateMonetizedCost, catalogExtendCreditId, catalogExtendResolution, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, grokExtendCreditId, grokExtendSeconds, grokExtendWiredSourceResolution, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSeedanceExtendPricedBySecondsSent, isSeedanceExtendRateCreditId, isSpeechLengthPriceId, lipSyncAudioRateOf, lipSyncBilledSeconds, lipSyncEstimateSeconds, lipSyncFifteenSecondCreditId, ltxExtendDurationSec, ltxRetakeDurationSec, motionTransferResolution, nemotronTranscribeBaseCredits, nemotronTranscribeCreditId, nemotronTranscribeQuoteCreditId, nemotronTranscribeStartedMinutes, normalizedImageGenModelId, parseAddCaptionsNemotronCreditId, parseNemotronTranscribeCreditId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, pixverseExtendCreditId, pixverseExtendQuality, pricedVideoSelection, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveImageGenCreditIdentifier, resolveNodaroImageUpscaleFactor, resolveNormalizedImageGen, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveUpscaleFactor, seedanceExtendAddedSec, seedanceExtendCreditId, seedanceExtendFullWindowCreditId, seedanceExtendRateCreditId, seedanceExtendRefusesSource, seedanceExtendResolution, seedanceExtendSentSec, seedanceExtendSourceCreditId, seedanceExtendSourceSec, seedanceExtendUnits, seedanceVideoEditCreditId, semitonesToPitchRatio, snappedUpscaleFactor, speakerViewCreditId, speechCredits, speechCreditsFor, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechRowCredits, speechRowUnits, speechUnitCreditId, speedRampCreditId, sunoCreditType, tailExtendCreditId, tailExtendResolution, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, upscaleFactorsFor, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoGenerationCreditId, videoOverlayBaseTooLong, videoOverlayCreditId, videoOverlayVideoUnits, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId };
|
|
2149
|
+
export { ADD_CAPTIONS_KINETIC_CREDIT_ID, ADD_CAPTIONS_NEMOTRON_ID_PREFIX, 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, type GeminiOmniExtendQuoteCreditIdParts, type GrokExtendSourceResolution, 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, MINIMAX_H3_LIP_SYNC_CREDIT_ID, type MotionTransferResolution, NEMOTRON_TRANSCRIBE_ID, NEMOTRON_TRANSCRIBE_PRICING, NEMOTRON_UPWARD_GRACE_SEC, 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, SEEDANCE_EXTEND_CONTEXT_MAX_SEC, SEEDANCE_EXTEND_MIN_SOURCE_SEC, SEEDANCE_EXTEND_RATE_CREDIT_IDS, SEEDANCE_EXTEND_RATE_CREDIT_IDS_BY_PROVIDER, SEEDANCE_EXTEND_RATE_SECONDS, SEEDANCE_EXTEND_SENT_PRICED_PROVIDER, SEEDANCE_EXTEND_SENT_PRICED_PROVIDERS, SEEDANCE_LIP_SYNC_SECONDS, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SPEECH_FLOOR_UNITS, SPEECH_PER_1K_CREDIT_SUFFIX, 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 SentPricedSeedanceExtendProvider, 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, addCaptionsNemotronBaseCredits, addCaptionsNemotronCreditId, addCaptionsNemotronHeldCreditId, addCaptionsNemotronMinutesId, addCaptionsNemotronQuoteCreditId, aiAvatarReserveCreditId, applyEdlCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildCreditModelIdentifier, buildLipSyncCreditId, buildMotionCreditModelIdentifier, buildVideoAnalysisCreditId, buildVideoAuditCreditId, buildVideoCreditModelIdentifier, calculateMonetizationMarkup, calculateMonetizedCost, catalogExtendCreditId, catalogExtendResolution, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, geminiOmniExtendQuoteCreditId, getLipSyncMaxAudioSeconds, grokExtendCreditId, grokExtendSeconds, grokExtendWiredSourceResolution, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSeedanceExtendPricedBySecondsSent, isSeedanceExtendRateCreditId, isSeedanceLipSyncProvider, isSpeechLengthPriceId, lipSyncAudioRateOf, lipSyncBilledSeconds, lipSyncEstimateSeconds, lipSyncFifteenSecondCreditId, lipSyncHeldSeconds, ltxExtendDurationSec, ltxRetakeDurationSec, motionTransferResolution, nemotronHeldMinutes, nemotronTranscribeBaseCredits, nemotronTranscribeCreditId, nemotronTranscribeHeldCreditId, nemotronTranscribeQuoteCreditId, nemotronTranscribeStartedMinutes, normalizedImageGenModelId, parseAddCaptionsNemotronCreditId, parseGeminiOmniExtendQuoteCreditId, parseNemotronTranscribeCreditId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoHeldCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, pixverseExtendCreditId, pixverseExtendQuality, pricedVideoSelection, referenceAudioLipSyncCreditId, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveImageGenCreditIdentifier, resolveNodaroImageUpscaleFactor, resolveNormalizedImageGen, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveUpscaleFactor, seedanceExtendAddedSec, seedanceExtendCreditId, seedanceExtendFullWindowCreditId, seedanceExtendRateCreditId, seedanceExtendRefusesSource, seedanceExtendResolution, seedanceExtendSentSec, seedanceExtendSourceCreditId, seedanceExtendSourceRefused, seedanceExtendSourceSec, seedanceExtendUnits, seedanceLipSyncCreditId, seedanceLipSyncResolution, seedanceVideoEditCreditId, semitonesToPitchRatio, snappedUpscaleFactor, speakerViewCreditId, speechCredits, speechCreditsFor, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechRowCredits, speechRowUnits, speechUnitCreditId, speedRampCreditId, sunoCreditType, tailExtendCreditId, tailExtendResolution, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, upscaleFactorsFor, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoGenerationCreditId, videoOverlayBaseTooLong, videoOverlayCreditId, videoOverlayVideoUnits, videoSfxCreditId, videoSfxHeldCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId };
|
package/dist/entries/credits.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export { ADD_CAPTIONS_KINETIC_CREDIT_ID, ADD_CAPTIONS_NEMOTRON_ID_PREFIX, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, 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, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, 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, NEMOTRON_TRANSCRIBE_ID, NEMOTRON_TRANSCRIBE_PRICING, NODARO_IMAGE_UPSCALE_DEFAULT_FACTOR, NODARO_IMAGE_UPSCALE_FACTORS, NODARO_IMAGE_UPSCALE_MODEL_ID, OMNIHUMAN_2_0_PER_SECOND_CREDIT_ID, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, SPEECH_FLOOR_UNITS, SPEECH_PER_1K_CREDIT_SUFFIX, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, UPSCALE_FACTORS, 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, addCaptionsNemotronBaseCredits, addCaptionsNemotronCreditId, addCaptionsNemotronMinutesId, addCaptionsNemotronQuoteCreditId, aiAvatarReserveCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildLipSyncCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSpeechLengthPriceId, lipSyncAudioRateOf, lipSyncBilledSeconds, lipSyncEstimateSeconds, lipSyncFifteenSecondCreditId, ltxExtendDurationSec, ltxRetakeDurationSec, nemotronTranscribeBaseCredits, nemotronTranscribeCreditId, nemotronTranscribeQuoteCreditId, nemotronTranscribeStartedMinutes, parseAddCaptionsNemotronCreditId, parseNemotronTranscribeCreditId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveNodaroImageUpscaleFactor, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveUpscaleFactor, semitonesToPitchRatio, snappedUpscaleFactor, speechCredits, speechCreditsFor, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechRowCredits, speechRowUnits, speechUnitCreditId, textToAudioBilledSeconds, textToAudioCreditId, upscaleFactorsFor, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoOverlayBaseTooLong, videoOverlayCreditId, videoOverlayVideoUnits, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ADD_CAPTIONS_KINETIC_CREDIT_ID, ADD_CAPTIONS_NEMOTRON_ID_PREFIX, AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, 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, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, 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, MINIMAX_H3_LIP_SYNC_CREDIT_ID, NEMOTRON_TRANSCRIBE_ID, NEMOTRON_TRANSCRIBE_PRICING, NEMOTRON_UPWARD_GRACE_SEC, NODARO_IMAGE_UPSCALE_DEFAULT_FACTOR, NODARO_IMAGE_UPSCALE_FACTORS, NODARO_IMAGE_UPSCALE_MODEL_ID, OMNIHUMAN_2_0_PER_SECOND_CREDIT_ID, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, SEEDANCE_LIP_SYNC_SECONDS, SPEECH_FLOOR_UNITS, SPEECH_PER_1K_CREDIT_SUFFIX, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, UPSCALE_FACTORS, 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, addCaptionsNemotronBaseCredits, addCaptionsNemotronCreditId, addCaptionsNemotronHeldCreditId, addCaptionsNemotronMinutesId, addCaptionsNemotronQuoteCreditId, aiAvatarReserveCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildLipSyncCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSeedanceLipSyncProvider, isSpeechLengthPriceId, lipSyncAudioRateOf, lipSyncBilledSeconds, lipSyncEstimateSeconds, lipSyncFifteenSecondCreditId, lipSyncHeldSeconds, ltxExtendDurationSec, ltxRetakeDurationSec, nemotronHeldMinutes, nemotronTranscribeBaseCredits, nemotronTranscribeCreditId, nemotronTranscribeHeldCreditId, nemotronTranscribeQuoteCreditId, nemotronTranscribeStartedMinutes, parseAddCaptionsNemotronCreditId, parseNemotronTranscribeCreditId, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoHeldCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, referenceAudioLipSyncCreditId, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveNodaroImageUpscaleFactor, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, resolveUpscaleFactor, seedanceLipSyncCreditId, seedanceLipSyncResolution, semitonesToPitchRatio, snappedUpscaleFactor, speechCredits, speechCreditsFor, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechRowCredits, speechRowUnits, speechUnitCreditId, textToAudioBilledSeconds, textToAudioCreditId, upscaleFactorsFor, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoOverlayBaseTooLong, videoOverlayCreditId, videoOverlayVideoUnits, videoSfxCreditId, videoSfxHeldCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId } from '../chunk-BDW25A7Y.js';
|
|
2
|
+
import '../chunk-5ZCZL73I.js';
|
|
3
3
|
import '../chunk-5THUHJ3E.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
export { SEEDANCE_EXTEND_CONTEXT_MAX_SEC, SEEDANCE_EXTEND_RATE_CREDIT_IDS, SEEDANCE_EXTEND_RATE_SECONDS, SEEDANCE_EXTEND_SENT_PRICED_PROVIDER, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, applyEdlCreditId, buildCreditModelIdentifier, buildMotionCreditModelIdentifier, buildVideoCreditModelIdentifier, catalogExtendCreditId, catalogExtendResolution, grokExtendCreditId, grokExtendSeconds, grokExtendWiredSourceResolution, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, isSeedanceExtendPricedBySecondsSent, isSeedanceExtendRateCreditId, motionTransferResolution, normalizedImageGenModelId, pixverseExtendCreditId, pixverseExtendQuality, pricedVideoSelection, resolveImageGenCreditIdentifier, resolveNormalizedImageGen, seedanceExtendAddedSec, seedanceExtendCreditId, seedanceExtendFullWindowCreditId, seedanceExtendRateCreditId, seedanceExtendRefusesSource, seedanceExtendResolution, seedanceExtendSentSec, seedanceExtendSourceCreditId, seedanceExtendSourceSec, seedanceExtendUnits, seedanceVideoEditCreditId, speakerViewCreditId, speedRampCreditId, sunoCreditType, tailExtendCreditId, tailExtendResolution, videoGenerationCreditId } from '../chunk-
|
|
4
|
+
import '../chunk-KLEKJUQI.js';
|
|
5
|
+
import '../chunk-YVQFYW2U.js';
|
|
6
|
+
import '../chunk-NWNRATS3.js';
|
|
7
|
+
import '../chunk-G6AOKNAY.js';
|
|
8
|
+
export { SEEDANCE_EXTEND_CONTEXT_MAX_SEC, SEEDANCE_EXTEND_MIN_SOURCE_SEC, SEEDANCE_EXTEND_RATE_CREDIT_IDS, SEEDANCE_EXTEND_RATE_CREDIT_IDS_BY_PROVIDER, SEEDANCE_EXTEND_RATE_SECONDS, SEEDANCE_EXTEND_SENT_PRICED_PROVIDER, SEEDANCE_EXTEND_SENT_PRICED_PROVIDERS, SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, applyEdlCreditId, buildCreditModelIdentifier, buildMotionCreditModelIdentifier, buildVideoCreditModelIdentifier, catalogExtendCreditId, catalogExtendResolution, geminiOmniExtendQuoteCreditId, grokExtendCreditId, grokExtendSeconds, grokExtendWiredSourceResolution, imageFormatInputOf, imageGenAutoAspectNeedsSourceImage, isSeedanceExtendPricedBySecondsSent, isSeedanceExtendRateCreditId, motionTransferResolution, normalizedImageGenModelId, parseGeminiOmniExtendQuoteCreditId, pixverseExtendCreditId, pixverseExtendQuality, pricedVideoSelection, resolveImageGenCreditIdentifier, resolveNormalizedImageGen, seedanceExtendAddedSec, seedanceExtendCreditId, seedanceExtendFullWindowCreditId, seedanceExtendRateCreditId, seedanceExtendRefusesSource, seedanceExtendResolution, seedanceExtendSentSec, seedanceExtendSourceCreditId, seedanceExtendSourceRefused, seedanceExtendSourceSec, seedanceExtendUnits, seedanceVideoEditCreditId, speakerViewCreditId, speedRampCreditId, sunoCreditType, tailExtendCreditId, tailExtendResolution, videoGenerationCreditId } from '../chunk-OEOOXL3F.js';
|
|
9
9
|
export { parseUnitQuoteCreditId, unitQuoteCreditId } from '../chunk-M7G66F6H.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-DE55SA2X.js';
|
|
11
|
+
import '../chunk-7EQJIGVT.js';
|
|
12
12
|
import '../chunk-KL6GAYTT.js';
|
|
13
13
|
import '../chunk-RGNHHIMN.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-DNWFFVC6.js';
|
|
15
|
+
import '../chunk-FUYBUT65.js';
|
|
16
16
|
import '../chunk-CTANEPMY.js';
|
|
17
17
|
//# sourceMappingURL=credits.js.map
|
|
18
18
|
//# sourceMappingURL=credits.js.map
|