@nodaro/shared 3.64.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-PJJAZQVZ.js → chunk-222QM7CO.js} +3 -3
- package/dist/{chunk-PJJAZQVZ.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-TTGZ2L3O.js → chunk-2NKF476Z.js} +3 -3
- package/dist/{chunk-TTGZ2L3O.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-7AJGUI7L.cjs → chunk-5NVGKXJV.cjs} +34 -17
- package/dist/chunk-5NVGKXJV.cjs.map +1 -0
- package/dist/{chunk-3AYM47GW.js → chunk-5SSMPYE5.js} +99 -9
- package/dist/chunk-5SSMPYE5.js.map +1 -0
- package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
- package/dist/chunk-6ET3KDO4.cjs.map +1 -0
- package/dist/{chunk-ACZZHHFZ.cjs → chunk-6OSIOVF7.cjs} +44 -22
- package/dist/chunk-6OSIOVF7.cjs.map +1 -0
- package/dist/{chunk-OBOOHG3N.js → chunk-6X5PBAC4.js} +3 -3
- package/dist/{chunk-OBOOHG3N.js.map → chunk-6X5PBAC4.js.map} +1 -1
- package/dist/chunk-7BN4EDIC.cjs +185 -0
- package/dist/chunk-7BN4EDIC.cjs.map +1 -0
- package/dist/{chunk-IYSOVS7O.js → chunk-7OWXHW7Z.js} +31 -13
- package/dist/chunk-7OWXHW7Z.js.map +1 -0
- package/dist/{chunk-ZI3QDUHO.js → chunk-AT53ZQUC.js} +3 -3
- package/dist/{chunk-ZI3QDUHO.js.map → chunk-AT53ZQUC.js.map} +1 -1
- package/dist/{chunk-SHH2T4CR.js → chunk-BSTAAGLY.js} +3 -3
- package/dist/{chunk-SHH2T4CR.js.map → chunk-BSTAAGLY.js.map} +1 -1
- package/dist/{chunk-DZ4IOP3Q.js → chunk-CW6MMQNO.js} +277 -3
- package/dist/chunk-CW6MMQNO.js.map +1 -0
- package/dist/{chunk-Q2Y4JHF7.js → chunk-D5Y3EYRM.js} +5 -5
- package/dist/{chunk-Q2Y4JHF7.js.map → chunk-D5Y3EYRM.js.map} +1 -1
- package/dist/{chunk-EXEVT6D2.cjs → chunk-DQ2PARNH.cjs} +5 -5
- package/dist/{chunk-EXEVT6D2.cjs.map → chunk-DQ2PARNH.cjs.map} +1 -1
- package/dist/{chunk-OOZW2MM6.cjs → chunk-E66HSC2E.cjs} +9 -9
- package/dist/{chunk-OOZW2MM6.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-5OBTGNUQ.cjs → chunk-FI3HJZWM.cjs} +294 -2
- package/dist/chunk-FI3HJZWM.cjs.map +1 -0
- package/dist/{chunk-SPAHI7DY.cjs → chunk-FJZTQTF4.cjs} +4 -4
- package/dist/{chunk-SPAHI7DY.cjs.map → chunk-FJZTQTF4.cjs.map} +1 -1
- package/dist/{chunk-J6B7J73J.cjs → chunk-GJ3D5X4X.cjs} +49 -49
- package/dist/{chunk-J6B7J73J.cjs.map → chunk-GJ3D5X4X.cjs.map} +1 -1
- package/dist/{chunk-KB2SQAR3.js → chunk-H745DQ6V.js} +3 -3
- package/dist/{chunk-KB2SQAR3.js.map → chunk-H745DQ6V.js.map} +1 -1
- package/dist/{chunk-7KQ6W5DS.js → chunk-HAH2F7LT.js} +4 -4
- package/dist/{chunk-7KQ6W5DS.js.map → chunk-HAH2F7LT.js.map} +1 -1
- package/dist/{chunk-HDPJNNMF.cjs → chunk-JQMFJAYU.cjs} +21 -21
- package/dist/{chunk-HDPJNNMF.cjs.map → chunk-JQMFJAYU.cjs.map} +1 -1
- package/dist/{chunk-D4KWNDPH.cjs → chunk-JYU5EIRM.cjs} +12 -12
- package/dist/{chunk-D4KWNDPH.cjs.map → chunk-JYU5EIRM.cjs.map} +1 -1
- package/dist/{chunk-AZNZ5WNZ.cjs → chunk-K6RIN3LW.cjs} +142 -45
- package/dist/chunk-K6RIN3LW.cjs.map +1 -0
- package/dist/{chunk-YQV53HRR.cjs → chunk-KTCEKGBJ.cjs} +7 -7
- package/dist/{chunk-YQV53HRR.cjs.map → chunk-KTCEKGBJ.cjs.map} +1 -1
- package/dist/{chunk-W6VJAUGM.cjs → chunk-KWYS4IIM.cjs} +83 -37
- package/dist/chunk-KWYS4IIM.cjs.map +1 -0
- package/dist/{chunk-GTWUS6MQ.cjs → chunk-MIT2USTS.cjs} +61 -61
- package/dist/{chunk-GTWUS6MQ.cjs.map → chunk-MIT2USTS.cjs.map} +1 -1
- package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
- package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
- package/dist/{chunk-FHGRKQVZ.cjs → chunk-PGDR7CO3.cjs} +8 -8
- package/dist/{chunk-FHGRKQVZ.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
- package/dist/{chunk-W7KHHNZR.js → chunk-PL7AQQV7.js} +53 -9
- 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-CHS2SIP6.cjs → chunk-R5ILCNCC.cjs} +90 -76
- 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-CHTZZRAL.cjs → chunk-SPU7MUWE.cjs} +6 -6
- package/dist/{chunk-CHTZZRAL.cjs.map → chunk-SPU7MUWE.cjs.map} +1 -1
- package/dist/{chunk-VPTA4Z7G.js → chunk-ST7OBB5J.js} +5 -5
- package/dist/{chunk-VPTA4Z7G.js.map → chunk-ST7OBB5J.js.map} +1 -1
- package/dist/{chunk-TPQJKS7D.js → chunk-V5NLQ4L5.js} +21 -7
- package/dist/{chunk-CHS2SIP6.cjs.map → chunk-V5NLQ4L5.js.map} +1 -1
- package/dist/{chunk-QYU7J5EQ.js → chunk-V6OXSXIX.js} +29 -18
- package/dist/chunk-V6OXSXIX.js.map +1 -0
- package/dist/{chunk-T2OVDF2M.cjs → chunk-WQMPIURW.cjs} +6 -6
- package/dist/{chunk-T2OVDF2M.cjs.map → chunk-WQMPIURW.cjs.map} +1 -1
- package/dist/{chunk-67CMMTLN.cjs → chunk-WZG6GZIL.cjs} +4 -4
- package/dist/{chunk-67CMMTLN.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
- package/dist/{chunk-36VWLB4J.js → chunk-XJANKTIL.js} +3 -3
- package/dist/{chunk-36VWLB4J.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-O4RPXBDZ.cjs → chunk-YD4XY74W.cjs} +8 -8
- package/dist/{chunk-O4RPXBDZ.cjs.map → chunk-YD4XY74W.cjs.map} +1 -1
- package/dist/{chunk-SXHHLZ22.js → chunk-YMZUE2IX.js} +9 -9
- package/dist/{chunk-SXHHLZ22.js.map → chunk-YMZUE2IX.js.map} +1 -1
- package/dist/{chunk-4IUE2JB7.js → chunk-Z77M7Q2R.js} +3 -3
- package/dist/{chunk-4IUE2JB7.js.map → chunk-Z77M7Q2R.js.map} +1 -1
- package/dist/{chunk-3KTWYYCN.js → chunk-ZSRXY5YT.js} +3 -3
- package/dist/{chunk-3KTWYYCN.js.map → chunk-ZSRXY5YT.js.map} +1 -1
- package/dist/entries/apps.cjs +42 -42
- package/dist/entries/apps.js +7 -7
- package/dist/entries/captions.d.cts +1 -1
- package/dist/entries/captions.d.ts +1 -1
- package/dist/entries/credits.cjs +230 -214
- package/dist/entries/credits.d.cts +51 -14
- package/dist/entries/credits.d.ts +51 -14
- package/dist/entries/credits.js +10 -10
- 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 +46 -15
- package/dist/entries/llm-models.d.ts +46 -15
- 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 +175 -119
- package/dist/entries/model-catalog.d.cts +4 -54
- package/dist/entries/model-catalog.d.ts +4 -54
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +491 -358
- 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 +212 -212
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- package/dist/entries/nodes.js +8 -8
- package/dist/entries/pipeline.cjs +153 -153
- package/dist/entries/pipeline.d.cts +3 -3
- package/dist/entries/pipeline.d.ts +3 -3
- 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.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/index.cjs +2074 -1793
- package/dist/index.d.cts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +24 -23
- package/dist/{model-catalog-Cf9fkEUp.d.ts → model-catalog-BoUKGFNl.d.cts} +167 -1
- package/dist/{model-catalog-Cf9fkEUp.d.cts → model-catalog-BoUKGFNl.d.ts} +167 -1
- package/dist/{model-constants-BxjiWVQ9.d.ts → model-constants-BElS3AeE.d.ts} +55 -6
- package/dist/{model-constants-C_Nyft_i.d.cts → model-constants-CpQz1bGa.d.cts} +55 -6
- 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__/dialogue-capabilities.test.ts +167 -6
- package/src/__tests__/extend-providers.test.ts +87 -0
- package/src/__tests__/kling4-catalog.test.ts +1 -1
- package/src/__tests__/llm-models.test.ts +41 -4
- package/src/__tests__/speech-pricing.test.ts +62 -1
- package/src/__tests__/tts-capabilities.test.ts +160 -4
- package/src/__tests__/video-analysis-pricing.test.ts +13 -1
- package/src/__tests__/video-subjects.test.ts +192 -0
- package/src/__tests__/wired-character-names.test.ts +142 -0
- package/src/credit-estimators/index.ts +4 -0
- package/src/credit-estimators/speech.ts +57 -9
- package/src/credit-identifiers.ts +48 -13
- package/src/dialogue-capabilities.ts +220 -3
- package/src/dubbing-structure.ts +186 -0
- 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 +17 -0
- package/src/entries/models.ts +39 -0
- package/src/entries/video.ts +8 -1
- package/src/gemini-tts.ts +144 -0
- package/src/llm-models.ts +71 -21
- package/src/model-catalog.ts +259 -0
- package/src/model-constants.ts +101 -8
- package/src/tts-capabilities.ts +193 -1
- package/src/video-analysis-pricing.ts +11 -0
- 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-3AYM47GW.js.map +0 -1
- package/dist/chunk-5OBTGNUQ.cjs.map +0 -1
- package/dist/chunk-6YIV37V7.js +0 -31
- package/dist/chunk-6YIV37V7.js.map +0 -1
- package/dist/chunk-7AJGUI7L.cjs.map +0 -1
- package/dist/chunk-ACZZHHFZ.cjs.map +0 -1
- package/dist/chunk-AZNZ5WNZ.cjs.map +0 -1
- package/dist/chunk-DZ4IOP3Q.js.map +0 -1
- package/dist/chunk-IYSOVS7O.js.map +0 -1
- package/dist/chunk-KHH54GRP.cjs.map +0 -1
- package/dist/chunk-NIAFR5EE.js.map +0 -1
- package/dist/chunk-O7RZRUMZ.js.map +0 -1
- package/dist/chunk-QYU7J5EQ.js.map +0 -1
- package/dist/chunk-S3UGLZSF.js +0 -42
- package/dist/chunk-S3UGLZSF.js.map +0 -1
- package/dist/chunk-TPQJKS7D.js.map +0 -1
- package/dist/chunk-TQW3R44P.cjs +0 -38
- package/dist/chunk-TQW3R44P.cjs.map +0 -1
- package/dist/chunk-VZ6TE23U.cjs +0 -54
- package/dist/chunk-VZ6TE23U.cjs.map +0 -1
- package/dist/chunk-W6VJAUGM.cjs.map +0 -1
- package/dist/chunk-W7KHHNZR.js.map +0 -1
- package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
|
@@ -125,8 +125,134 @@ function flux3KleinCreditId(provider, resolution, referenceImageCount) {
|
|
|
125
125
|
return `${model}:${size}`;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
+
// src/gemini-tts.ts
|
|
129
|
+
var GEMINI_TTS_VOICE_GROUPS = [
|
|
130
|
+
"tutor",
|
|
131
|
+
"commercial-voiceover",
|
|
132
|
+
"instructional",
|
|
133
|
+
"podcast",
|
|
134
|
+
"storyteller",
|
|
135
|
+
"digital-assistant",
|
|
136
|
+
"call-center",
|
|
137
|
+
"concierge",
|
|
138
|
+
"tech-support",
|
|
139
|
+
"professional"
|
|
140
|
+
];
|
|
141
|
+
var GEMINI_3_8_VOICES_BY_GROUP = {
|
|
142
|
+
"tutor": ["Bodi", "Lumi", "Sadaltager", "Sola", "Sulafat", "Varo", "Zephyr"],
|
|
143
|
+
"commercial-voiceover": ["Koda", "Kore", "Nika", "Tavi", "Zeno"],
|
|
144
|
+
"instructional": ["Algenib", "Despina", "Erinome", "Kira", "Ludo", "Mako", "Rasalgethi", "Rina"],
|
|
145
|
+
"podcast": ["Alnilam", "Brio", "Jori", "Laomedeia", "Rami", "Veda"],
|
|
146
|
+
"storyteller": ["Achird", "Enzo", "Riko", "Sami", "Zali", "Zubenelgenubi"],
|
|
147
|
+
"digital-assistant": ["Algieba", "Aoede", "Autonoe", "Callirrhoe", "Enceladus", "Gero", "Iapetus", "Neno", "Olin", "Tari", "Umbriel"],
|
|
148
|
+
"call-center": ["Achernar", "Charon", "Daro", "Fola", "Hali", "Milo", "Puck"],
|
|
149
|
+
"concierge": ["Arlo", "Cleo", "Fenrir", "Finn", "Leda", "Lora", "Orus"],
|
|
150
|
+
"tech-support": ["Enya", "Jett", "Knox", "Nyla", "Sadachbia", "Vindemiatrix"],
|
|
151
|
+
"professional": ["Cruz", "Elio", "Gacrux", "Pulcherrima", "Schedar", "Tova", "Zuri"]
|
|
152
|
+
};
|
|
153
|
+
var GEMINI_3_8_TTS_VOICES = GEMINI_TTS_VOICE_GROUPS.flatMap(
|
|
154
|
+
(group) => GEMINI_3_8_VOICES_BY_GROUP[group].map((id) => ({ id, group }))
|
|
155
|
+
);
|
|
156
|
+
var GEMINI_3_1_TTS_VOICES = [
|
|
157
|
+
"Achernar",
|
|
158
|
+
"Achird",
|
|
159
|
+
"Algenib",
|
|
160
|
+
"Algieba",
|
|
161
|
+
"Alnilam",
|
|
162
|
+
"Aoede",
|
|
163
|
+
"Autonoe",
|
|
164
|
+
"Callirrhoe",
|
|
165
|
+
"Charon",
|
|
166
|
+
"Despina",
|
|
167
|
+
"Enceladus",
|
|
168
|
+
"Erinome",
|
|
169
|
+
"Fenrir",
|
|
170
|
+
"Gacrux",
|
|
171
|
+
"Iapetus",
|
|
172
|
+
"Kore",
|
|
173
|
+
"Laomedeia",
|
|
174
|
+
"Leda",
|
|
175
|
+
"Orus",
|
|
176
|
+
"Puck",
|
|
177
|
+
"Pulcherrima",
|
|
178
|
+
"Rasalgethi",
|
|
179
|
+
"Sadachbia",
|
|
180
|
+
"Sadaltager",
|
|
181
|
+
"Schedar",
|
|
182
|
+
"Sulafat",
|
|
183
|
+
"Umbriel",
|
|
184
|
+
"Vindemiatrix",
|
|
185
|
+
"Zephyr",
|
|
186
|
+
"Zubenelgenubi"
|
|
187
|
+
].map((id) => ({ id }));
|
|
188
|
+
var GEMINI_3_8_DEFAULT_VOICE = "Fola";
|
|
189
|
+
var GEMINI_3_1_DEFAULT_VOICE = "Kore";
|
|
190
|
+
var GEMINI_3_8_TONE_TAGS = [
|
|
191
|
+
"argh",
|
|
192
|
+
"breath",
|
|
193
|
+
"cackle",
|
|
194
|
+
"cheer",
|
|
195
|
+
"chuckle",
|
|
196
|
+
"chuckles",
|
|
197
|
+
"cough",
|
|
198
|
+
"cry",
|
|
199
|
+
"exhales",
|
|
200
|
+
"gasp",
|
|
201
|
+
"giggle",
|
|
202
|
+
"groan",
|
|
203
|
+
"growl",
|
|
204
|
+
"grr",
|
|
205
|
+
"grunt",
|
|
206
|
+
"heavy breath",
|
|
207
|
+
"hiss",
|
|
208
|
+
"laugh",
|
|
209
|
+
"laughter",
|
|
210
|
+
"long pause",
|
|
211
|
+
"moan",
|
|
212
|
+
"pant",
|
|
213
|
+
"pff",
|
|
214
|
+
"phew",
|
|
215
|
+
"scream",
|
|
216
|
+
"short pause",
|
|
217
|
+
"shout",
|
|
218
|
+
"shriek",
|
|
219
|
+
"sigh",
|
|
220
|
+
"sighs",
|
|
221
|
+
"sneeze",
|
|
222
|
+
"snicker",
|
|
223
|
+
"snort",
|
|
224
|
+
"sob",
|
|
225
|
+
"throat-clearing",
|
|
226
|
+
"tsk",
|
|
227
|
+
"whimper",
|
|
228
|
+
"whispering",
|
|
229
|
+
"whispers",
|
|
230
|
+
"yawn"
|
|
231
|
+
];
|
|
232
|
+
var GEMINI_3_1_TTS_STYLES = ["Vocal Smile", "Newscaster", "Whisper", "Empathetic", "Promo/Hype", "Deadpan"];
|
|
233
|
+
var GEMINI_3_1_TTS_PACES = ["Natural", "Rapid Fire", "The Drift", "Staccato"];
|
|
234
|
+
var GEMINI_3_1_TTS_ACCENTS = [
|
|
235
|
+
"Neutral",
|
|
236
|
+
"American (Gen)",
|
|
237
|
+
"American (Valley)",
|
|
238
|
+
"American (South)",
|
|
239
|
+
"British (RP)",
|
|
240
|
+
"British (Brixton)",
|
|
241
|
+
"Transatlantic",
|
|
242
|
+
"Australian"
|
|
243
|
+
];
|
|
244
|
+
var TTS_DIRECTION_MAX_CHARS = 1e3;
|
|
245
|
+
var GEMINI_TTS_MAX_CHARS = 1e4;
|
|
246
|
+
var REPLICA_MAX_BYTES = 10 * 1024 * 1024;
|
|
247
|
+
var REPLICA_SOURCE_MIN_SEC = 10;
|
|
248
|
+
var REPLICA_SOURCE_MAX_SEC = 30;
|
|
249
|
+
var REPLICA_CONSENT_MAX_SEC = 30;
|
|
250
|
+
var REPLICA_CONSENT_SENTENCE = "I am the owner of this voice and I consent to Google using this voice to create a synthetic voice model.";
|
|
251
|
+
var REPLICA_CONSENT_ATTESTATION = "I confirm the voice in these recordings is my own, or that its owner, an adult, has given me consent to clone it for this generation, and that neither recording is AI-generated.";
|
|
252
|
+
|
|
128
253
|
// src/model-catalog.ts
|
|
129
254
|
var SPEECH_UNIT_PRICE_NOTE = "per started 100 characters, at least 8 units \u2014 where length pricing is on; a request costs at most its units \xD7 this";
|
|
255
|
+
var SPEECH_PER_1K_PRICE_NOTE = "per 1,000 characters, counted in started 100s, at least 800 \u2014 where length pricing is on; a request costs its hundreds \xD7 this \xF7 10, rounded up";
|
|
130
256
|
var MODEL_MAKERS = {
|
|
131
257
|
alibaba: { name: "Alibaba" },
|
|
132
258
|
"black-forest-labs": { name: "Black Forest Labs" },
|
|
@@ -177,6 +303,7 @@ var MODEL_RECOMMENDATIONS = [
|
|
|
177
303
|
{ intent: "video with start + end frame", modelIds: ["veo3", "veo3.1", "kling-turbo", "minimax", "hailuo-standard", "seedance-2"], note: "All listed support an end frame; VEO uses imageUrls[start, end]." },
|
|
178
304
|
{ intent: "music / song generation", modelIds: ["suno-v6", "suno-v6_wild", "suno-v6_mini", "suno-v5_5"], note: "V6 is the default flagship; V6 Wild for bolder, less predictable results; V6 Mini when speed matters; v5.5 / v5 / v4 keep their own character. Same price." },
|
|
179
305
|
{ intent: "voice over / narration", modelIds: ["elevenlabs-v4", "elevenlabs-v3", "elevenlabs-v4-turbo", "elevenlabs-turbo"], note: "v4 is the default: [audio tags] for emotion and up to 10,000 characters per request. v3 is the previous expressive model, still selectable. v4 Turbo keeps v4's tags at Turbo's credit price; Turbo v2.5 is the cheapest for plain narration without tags." },
|
|
306
|
+
{ intent: "low-cost narration with a named voice", modelIds: ["gemini-3-8-flash-lite-tts", "gemini-3-8-flash-tts", "gemini-3-1-flash-tts", "gemini-2-5-pro-tts"], note: "Google's Gemini voices cost far less per character than ElevenLabs. Each speaks only its own named voices (no clones or library voices) and no language is set: the text decides. 3.8 Flash-Lite is the cheapest; 3.8 Flash is the larger 3.8 model; both take their own tone tags (laugh, sigh, short pause\u2026) and a free-text style. 3.1 Flash and 2.5 Pro take [audio tags] and a style, pace, accent and audio profile." },
|
|
180
307
|
{ intent: "lip-sync a portrait to audio", modelIds: ["kling-avatar-pro", "kling-avatar", "infinitalk"], note: "Pro for best mouth shape; InfiniTalk for resolution control." },
|
|
181
308
|
{ intent: "transcription / captions", modelIds: ["elevenlabs-stt", "incredibly-fast-whisper", "whisper", "nemotron-3-5-transcribe"], note: "Captions need WORD timestamps: ElevenLabs STT (always), Incredibly Fast Whisper or Nemotron 3.5 Transcribe (on request, with a speaker per word). Plain Whisper returns phrase segments only. To translate the speech (to or from English) instead of transcribing it, use Nemotron 3.5 Transcribe with a target language; a translation carries no word timings." },
|
|
182
309
|
{ intent: "motion transfer (drive a subject by another video)", modelIds: ["motion-transfer", "kling-3.0-motion"], note: "Kling 2.6 base is cheap; Kling 3.0 is premium." }
|
|
@@ -3632,6 +3759,29 @@ var VIDEO_MODELS = {
|
|
|
3632
3759
|
{ identifier: "video-analysis:gemini-3.1-pro:600s", credits: 1056, note: "10-min ceiling" }
|
|
3633
3760
|
]
|
|
3634
3761
|
},
|
|
3762
|
+
// ULTRA (since 2026-11-13) — the deepest-reasoning analysis model reading
|
|
3763
|
+
// every window, at the same frame sampling as the other single-model tiers.
|
|
3764
|
+
// Priced between the mixed tiers and smart.
|
|
3765
|
+
"gemini-4-carbon-video-analysis": {
|
|
3766
|
+
id: "gemini-4-carbon-video-analysis",
|
|
3767
|
+
kind: "video",
|
|
3768
|
+
modes: ["video-analysis"],
|
|
3769
|
+
family: "Nodaro",
|
|
3770
|
+
maker: "nodaro",
|
|
3771
|
+
label: "Video Analysis (Ultra)",
|
|
3772
|
+
series: "Video Analysis",
|
|
3773
|
+
description: "Deep-reasoning analysis \u2014 the most thorough model reads every window of the video. Better on fast cuts and on scenes with many people, and it does not invent cuts. Billed per duration bucket.",
|
|
3774
|
+
// Not `most-accurate`: that tag is Smart's (hand-counted edit list, always
|
|
3775
|
+
// refined). Ultra's strengths are the footage that trips the other tiers.
|
|
3776
|
+
useCases: ["video-analysis", "shot-list", "premium", "fast-cuts", "many-people", "no-invented-cuts"],
|
|
3777
|
+
pricing: [
|
|
3778
|
+
{ identifier: "video-analysis:gemini-4-carbon", credits: 1745, note: "10-min ceiling (no duration given)" },
|
|
3779
|
+
{ identifier: "video-analysis:gemini-4-carbon:60s", credits: 349 },
|
|
3780
|
+
{ identifier: "video-analysis:gemini-4-carbon:180s", credits: 375 },
|
|
3781
|
+
{ identifier: "video-analysis:gemini-4-carbon:360s", credits: 1054 },
|
|
3782
|
+
{ identifier: "video-analysis:gemini-4-carbon:600s", credits: 1745, note: "10-min ceiling" }
|
|
3783
|
+
]
|
|
3784
|
+
},
|
|
3635
3785
|
// Both mixed tiers are variants of the same advanced multi-engine analysis
|
|
3636
3786
|
// and share this ONE credit family (videoAnalysisCreditSegment maps both;
|
|
3637
3787
|
// plan internals live in the private analysis plugin).
|
|
@@ -3778,6 +3928,51 @@ var TTS_LANGS_V3 = [
|
|
|
3778
3928
|
var TTS_LEVERS_V2 = ["stability", "similarity", "style", "speed", "speakerBoost"];
|
|
3779
3929
|
var DIALOGUE_V4_MAX_CHARS = 1e4;
|
|
3780
3930
|
var V4_TURBO_MAX_CHARS = 1e4;
|
|
3931
|
+
var GEMINI_3_8_TTS_SHEET = {
|
|
3932
|
+
audioTags: true,
|
|
3933
|
+
tagSyntax: "angle",
|
|
3934
|
+
tags: GEMINI_3_8_TONE_TAGS,
|
|
3935
|
+
ssmlBreaks: false,
|
|
3936
|
+
levers: [],
|
|
3937
|
+
languageCode: false,
|
|
3938
|
+
timestamps: false,
|
|
3939
|
+
stitching: false,
|
|
3940
|
+
maxChars: GEMINI_TTS_MAX_CHARS,
|
|
3941
|
+
// No picker: the language follows the text.
|
|
3942
|
+
languages: [],
|
|
3943
|
+
voices: GEMINI_3_8_TTS_VOICES,
|
|
3944
|
+
defaultVoice: GEMINI_3_8_DEFAULT_VOICE,
|
|
3945
|
+
direction: { styleMaxChars: TTS_DIRECTION_MAX_CHARS },
|
|
3946
|
+
ratePer1kChars: true,
|
|
3947
|
+
// Two-speaker dialogue (decided 2026-11-12): one or two voices, a style per line, filler words on request.
|
|
3948
|
+
dialogueSpeakers: 2,
|
|
3949
|
+
fillerWords: true,
|
|
3950
|
+
// A dialogue's file is chosen as one speaker's is: MP3 or the WAV as rendered (decided 2026-11-13).
|
|
3951
|
+
dialogueAnyOutputFormat: true
|
|
3952
|
+
};
|
|
3953
|
+
var GEMINI_3_1_TTS_SHEET = {
|
|
3954
|
+
audioTags: true,
|
|
3955
|
+
ssmlBreaks: false,
|
|
3956
|
+
levers: [],
|
|
3957
|
+
languageCode: false,
|
|
3958
|
+
timestamps: false,
|
|
3959
|
+
stitching: false,
|
|
3960
|
+
maxChars: GEMINI_TTS_MAX_CHARS,
|
|
3961
|
+
languages: [],
|
|
3962
|
+
voices: GEMINI_3_1_TTS_VOICES,
|
|
3963
|
+
defaultVoice: GEMINI_3_1_DEFAULT_VOICE,
|
|
3964
|
+
direction: {
|
|
3965
|
+
styles: GEMINI_3_1_TTS_STYLES,
|
|
3966
|
+
paces: GEMINI_3_1_TTS_PACES,
|
|
3967
|
+
accents: GEMINI_3_1_TTS_ACCENTS,
|
|
3968
|
+
audioProfileMaxChars: TTS_DIRECTION_MAX_CHARS
|
|
3969
|
+
},
|
|
3970
|
+
ratePer1kChars: true,
|
|
3971
|
+
// Two-speaker dialogue (decided 2026-11-12): one or two voices, the style, pace, accent and profile per speaker.
|
|
3972
|
+
dialogueSpeakers: 2,
|
|
3973
|
+
// A dialogue's file is chosen as one speaker's is: MP3 or the WAV as rendered (decided 2026-11-13).
|
|
3974
|
+
dialogueAnyOutputFormat: true
|
|
3975
|
+
};
|
|
3781
3976
|
var AUDIO_MODELS = {
|
|
3782
3977
|
// ── ElevenLabs TTS ──
|
|
3783
3978
|
"elevenlabs-v3": {
|
|
@@ -3938,6 +4133,85 @@ var AUDIO_MODELS = {
|
|
|
3938
4133
|
languages: TTS_LANGS_MULTILINGUAL_V2
|
|
3939
4134
|
}
|
|
3940
4135
|
},
|
|
4136
|
+
// ── Google Gemini TTS (through KIE) ──
|
|
4137
|
+
// One id per model for both lanes: the same KIE model takes one speaker
|
|
4138
|
+
// (Text to Speech) and two (Text to Dialogue), and dialogue costs the same per
|
|
4139
|
+
// character as one speaker (decided 2026-11-12) — so `tts` AND `dialogue`,
|
|
4140
|
+
// one sheet and one price row, the same rate by construction.
|
|
4141
|
+
// Named voices of their own (never ElevenLabs'), no language field (the
|
|
4142
|
+
// language follows the text), no timings, no neighbour text. Priced per
|
|
4143
|
+
// 1,000 characters on the same count as every speech model (decided
|
|
4144
|
+
// 2026-11-12, provisional until measured on staging); the flat row is the
|
|
4145
|
+
// price of 1,000 characters.
|
|
4146
|
+
"gemini-3-8-flash-lite-tts": {
|
|
4147
|
+
id: "gemini-3-8-flash-lite-tts",
|
|
4148
|
+
kind: "audio",
|
|
4149
|
+
modes: ["tts", "dialogue"],
|
|
4150
|
+
family: "Google",
|
|
4151
|
+
maker: "google",
|
|
4152
|
+
label: "Gemini 3.8 Flash-Lite TTS",
|
|
4153
|
+
series: "Gemini",
|
|
4154
|
+
description: "Google's lightest Gemini speech model and the cheapest speech on the platform \u2014 70 named voices grouped by use, its own tone tags (laugh, sigh, short pause and more) and a free-text style direction. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
|
|
4155
|
+
useCases: ["tts", "voice-over", "narration", "fast", "budget"],
|
|
4156
|
+
features: ["audio-tags"],
|
|
4157
|
+
pricing: [
|
|
4158
|
+
{ identifier: "gemini-3-8-flash-lite-tts", credits: 4 },
|
|
4159
|
+
{ identifier: "gemini-3-8-flash-lite-tts:per-1k-chars", credits: 4, note: SPEECH_PER_1K_PRICE_NOTE }
|
|
4160
|
+
],
|
|
4161
|
+
tts: GEMINI_3_8_TTS_SHEET
|
|
4162
|
+
},
|
|
4163
|
+
"gemini-3-8-flash-tts": {
|
|
4164
|
+
id: "gemini-3-8-flash-tts",
|
|
4165
|
+
kind: "audio",
|
|
4166
|
+
modes: ["tts", "dialogue"],
|
|
4167
|
+
family: "Google",
|
|
4168
|
+
maker: "google",
|
|
4169
|
+
label: "Gemini 3.8 Flash TTS",
|
|
4170
|
+
series: "Gemini",
|
|
4171
|
+
description: "Google's Gemini 3.8 speech model \u2014 the same 70 voices, tone tags and free-text style direction as Flash-Lite, from the larger model of the generation. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
|
|
4172
|
+
useCases: ["tts", "voice-over", "narration", "expressive"],
|
|
4173
|
+
features: ["audio-tags"],
|
|
4174
|
+
pricing: [
|
|
4175
|
+
{ identifier: "gemini-3-8-flash-tts", credits: 6 },
|
|
4176
|
+
{ identifier: "gemini-3-8-flash-tts:per-1k-chars", credits: 6, note: SPEECH_PER_1K_PRICE_NOTE }
|
|
4177
|
+
],
|
|
4178
|
+
// A one-off clone (`replica`, decided 2026-11-13) on 3.8 Flash alone: its Flash-Lite sibling refuses it.
|
|
4179
|
+
tts: { ...GEMINI_3_8_TTS_SHEET, replica: true }
|
|
4180
|
+
},
|
|
4181
|
+
"gemini-3-1-flash-tts": {
|
|
4182
|
+
id: "gemini-3-1-flash-tts",
|
|
4183
|
+
kind: "audio",
|
|
4184
|
+
modes: ["tts", "dialogue"],
|
|
4185
|
+
family: "Google",
|
|
4186
|
+
maker: "google",
|
|
4187
|
+
label: "Gemini 3.1 Flash TTS",
|
|
4188
|
+
series: "Gemini",
|
|
4189
|
+
description: "Google's Gemini 3.1 speech model \u2014 30 named voices, [audio tags] written freely, and a speaking style, pace, accent and audio profile for the speaker. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
|
|
4190
|
+
useCases: ["tts", "voice-over", "narration", "expressive"],
|
|
4191
|
+
features: ["audio-tags"],
|
|
4192
|
+
pricing: [
|
|
4193
|
+
{ identifier: "gemini-3-1-flash-tts", credits: 13 },
|
|
4194
|
+
{ identifier: "gemini-3-1-flash-tts:per-1k-chars", credits: 13, note: SPEECH_PER_1K_PRICE_NOTE }
|
|
4195
|
+
],
|
|
4196
|
+
tts: GEMINI_3_1_TTS_SHEET
|
|
4197
|
+
},
|
|
4198
|
+
"gemini-2-5-pro-tts": {
|
|
4199
|
+
id: "gemini-2-5-pro-tts",
|
|
4200
|
+
kind: "audio",
|
|
4201
|
+
modes: ["tts", "dialogue"],
|
|
4202
|
+
family: "Google",
|
|
4203
|
+
maker: "google",
|
|
4204
|
+
label: "Gemini 2.5 Pro TTS",
|
|
4205
|
+
series: "Gemini",
|
|
4206
|
+
description: "Google's Gemini 2.5 Pro speech model \u2014 the same 30 voices, [audio tags] and speaker controls (style, pace, accent, audio profile) as Gemini 3.1 Flash TTS, from the Pro model. The language follows the text; up to 10,000 characters per request. Also voices a dialogue of two speakers.",
|
|
4207
|
+
useCases: ["tts", "voice-over", "narration", "expressive", "long-form"],
|
|
4208
|
+
features: ["audio-tags"],
|
|
4209
|
+
pricing: [
|
|
4210
|
+
{ identifier: "gemini-2-5-pro-tts", credits: 16 },
|
|
4211
|
+
{ identifier: "gemini-2-5-pro-tts:per-1k-chars", credits: 16, note: SPEECH_PER_1K_PRICE_NOTE }
|
|
4212
|
+
],
|
|
4213
|
+
tts: GEMINI_3_1_TTS_SHEET
|
|
4214
|
+
},
|
|
3941
4215
|
"elevenlabs-dialogue": {
|
|
3942
4216
|
id: "elevenlabs-dialogue",
|
|
3943
4217
|
kind: "audio",
|
|
@@ -5036,6 +5310,16 @@ exports.FLUX_3_KLEIN_I2I = FLUX_3_KLEIN_I2I;
|
|
|
5036
5310
|
exports.FLUX_3_KLEIN_MAX_INPUT_IMAGES = FLUX_3_KLEIN_MAX_INPUT_IMAGES;
|
|
5037
5311
|
exports.FLUX_3_KLEIN_RESOLUTIONS = FLUX_3_KLEIN_RESOLUTIONS;
|
|
5038
5312
|
exports.FLUX_3_KLEIN_T2I = FLUX_3_KLEIN_T2I;
|
|
5313
|
+
exports.GEMINI_3_1_DEFAULT_VOICE = GEMINI_3_1_DEFAULT_VOICE;
|
|
5314
|
+
exports.GEMINI_3_1_TTS_ACCENTS = GEMINI_3_1_TTS_ACCENTS;
|
|
5315
|
+
exports.GEMINI_3_1_TTS_PACES = GEMINI_3_1_TTS_PACES;
|
|
5316
|
+
exports.GEMINI_3_1_TTS_STYLES = GEMINI_3_1_TTS_STYLES;
|
|
5317
|
+
exports.GEMINI_3_1_TTS_VOICES = GEMINI_3_1_TTS_VOICES;
|
|
5318
|
+
exports.GEMINI_3_8_DEFAULT_VOICE = GEMINI_3_8_DEFAULT_VOICE;
|
|
5319
|
+
exports.GEMINI_3_8_TONE_TAGS = GEMINI_3_8_TONE_TAGS;
|
|
5320
|
+
exports.GEMINI_3_8_TTS_VOICES = GEMINI_3_8_TTS_VOICES;
|
|
5321
|
+
exports.GEMINI_TTS_MAX_CHARS = GEMINI_TTS_MAX_CHARS;
|
|
5322
|
+
exports.GEMINI_TTS_VOICE_GROUPS = GEMINI_TTS_VOICE_GROUPS;
|
|
5039
5323
|
exports.IMAGE_GIF_FRAME_SIZE = IMAGE_GIF_FRAME_SIZE;
|
|
5040
5324
|
exports.IMAGE_OUTPUT_FORMAT_LABELS = IMAGE_OUTPUT_FORMAT_LABELS;
|
|
5041
5325
|
exports.IMAGE_SVG_LEVEL_LABELS = IMAGE_SVG_LEVEL_LABELS;
|
|
@@ -5050,6 +5334,12 @@ exports.MODEL_INPUT_ADJUSTMENT_FIELDS = MODEL_INPUT_ADJUSTMENT_FIELDS;
|
|
|
5050
5334
|
exports.MODEL_KINDS = MODEL_KINDS;
|
|
5051
5335
|
exports.MODEL_MAKERS = MODEL_MAKERS;
|
|
5052
5336
|
exports.MODEL_RECOMMENDATIONS = MODEL_RECOMMENDATIONS;
|
|
5337
|
+
exports.REPLICA_CONSENT_ATTESTATION = REPLICA_CONSENT_ATTESTATION;
|
|
5338
|
+
exports.REPLICA_CONSENT_MAX_SEC = REPLICA_CONSENT_MAX_SEC;
|
|
5339
|
+
exports.REPLICA_CONSENT_SENTENCE = REPLICA_CONSENT_SENTENCE;
|
|
5340
|
+
exports.REPLICA_MAX_BYTES = REPLICA_MAX_BYTES;
|
|
5341
|
+
exports.REPLICA_SOURCE_MAX_SEC = REPLICA_SOURCE_MAX_SEC;
|
|
5342
|
+
exports.REPLICA_SOURCE_MIN_SEC = REPLICA_SOURCE_MIN_SEC;
|
|
5053
5343
|
exports.SEEDANCE_DRAFT_FINALIZE_MAX_SEC = SEEDANCE_DRAFT_FINALIZE_MAX_SEC;
|
|
5054
5344
|
exports.SEEDANCE_DRAFT_FINALIZE_MIN_SEC = SEEDANCE_DRAFT_FINALIZE_MIN_SEC;
|
|
5055
5345
|
exports.SEEDANCE_DRAFT_FINALIZE_PROVIDER = SEEDANCE_DRAFT_FINALIZE_PROVIDER;
|
|
@@ -5062,8 +5352,10 @@ exports.SEEDREAM_5_5_MAX_INPUT_IMAGES = SEEDREAM_5_5_MAX_INPUT_IMAGES;
|
|
|
5062
5352
|
exports.SEEDREAM_5_5_MIN_PROMPT_CHARS = SEEDREAM_5_5_MIN_PROMPT_CHARS;
|
|
5063
5353
|
exports.SEEDREAM_5_5_RESOLUTIONS = SEEDREAM_5_5_RESOLUTIONS;
|
|
5064
5354
|
exports.SEEDREAM_5_5_T2I = SEEDREAM_5_5_T2I;
|
|
5355
|
+
exports.SPEECH_PER_1K_PRICE_NOTE = SPEECH_PER_1K_PRICE_NOTE;
|
|
5065
5356
|
exports.SPEECH_UNIT_PRICE_NOTE = SPEECH_UNIT_PRICE_NOTE;
|
|
5066
5357
|
exports.TRANSPARENT_OUTPUT_FORMATS = TRANSPARENT_OUTPUT_FORMATS;
|
|
5358
|
+
exports.TTS_DIRECTION_MAX_CHARS = TTS_DIRECTION_MAX_CHARS;
|
|
5067
5359
|
exports.VIDEO_DURATION_AUTO = VIDEO_DURATION_AUTO;
|
|
5068
5360
|
exports.aspectRatioOptionsByKind = aspectRatioOptionsByKind;
|
|
5069
5361
|
exports.autoAspectNeedsSourceImage = autoAspectNeedsSourceImage;
|
|
@@ -5122,5 +5414,5 @@ exports.sourceImageSizeNeeded = sourceImageSizeNeeded;
|
|
|
5122
5414
|
exports.svgLevelOptionsByKind = svgLevelOptionsByKind;
|
|
5123
5415
|
exports.validateModelInput = validateModelInput;
|
|
5124
5416
|
exports.videoAutoAspectRunsAt = videoAutoAspectRunsAt;
|
|
5125
|
-
//# sourceMappingURL=chunk-
|
|
5126
|
-
//# sourceMappingURL=chunk-
|
|
5417
|
+
//# sourceMappingURL=chunk-FI3HJZWM.cjs.map
|
|
5418
|
+
//# sourceMappingURL=chunk-FI3HJZWM.cjs.map
|