vidspotai-shared 1.0.140 → 1.0.142
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/lib/globals/aiModels/providers/bytedance.d.ts.map +1 -1
- package/lib/globals/aiModels/providers/bytedance.js +34 -9
- package/lib/services/agent/providerFallback/chains.d.ts.map +1 -1
- package/lib/services/agent/providerFallback/chains.js +4 -2
- package/lib/services/agent/tools/generateVideo.tool.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bytedance.d.ts","sourceRoot":"","sources":["../../../../src/globals/aiModels/providers/bytedance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAWxC,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,
|
|
1
|
+
{"version":3,"file":"bytedance.d.ts","sourceRoot":"","sources":["../../../../src/globals/aiModels/providers/bytedance.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAWxC,eAAO,MAAM,gBAAgB,EAAE,OAAO,CAAC,MAAM,CAAC,WAAW,EAAE,YAAY,CAAC,CA4bvE,CAAC"}
|
|
@@ -16,6 +16,13 @@ exports.bytedanceConfigs = {
|
|
|
16
16
|
// before then.
|
|
17
17
|
"bytedance-seedance-1.5-pro": {
|
|
18
18
|
modelId: "seedance-1-5-pro-251215",
|
|
19
|
+
// Shut down by BytePlus 2026-11-11 (ClosedEndpoint confirmed live). Kept so
|
|
20
|
+
// historical jobs still resolve; `retired` hides it from every picker and
|
|
21
|
+
// makes validateParams reject it before a paid round-trip.
|
|
22
|
+
retired: {
|
|
23
|
+
on: "2026-11-11",
|
|
24
|
+
reason: "BytePlus shut down Seedance 1.5 Pro on 2026-11-11. Seedance 2.0 Mini replaces it.",
|
|
25
|
+
},
|
|
19
26
|
type: ["text-to-video", "image-to-video"],
|
|
20
27
|
acceptedImageFormats: ["image/jpeg", "image/jpg", "image/png"],
|
|
21
28
|
// 1.x prompts are sanitized to ASCII + CJK, so anything else is
|
|
@@ -130,8 +137,12 @@ exports.bytedanceConfigs = {
|
|
|
130
137
|
referenceVideoUrls: { max: 10 },
|
|
131
138
|
referenceAudioUrls: { max: 10 },
|
|
132
139
|
},
|
|
133
|
-
|
|
134
|
-
|
|
140
|
+
// REMOVED FOR v1 — kept for reference: individual-tier limits.
|
|
141
|
+
// requestPerMin: 180, // individual-tier; bumps to 600 for enterprise
|
|
142
|
+
// concurrentRequests: 3, // individual-tier; bumps to 10 for enterprise
|
|
143
|
+
// Enterprise tier confirmed in the Ark console 2026-11-11 (non-4K: 10 concurrent / 600 RPM).
|
|
144
|
+
requestPerMin: 600,
|
|
145
|
+
concurrentRequests: 10,
|
|
135
146
|
cost: {
|
|
136
147
|
// Online-inference USD per 1K tokens (docs list per-M: 6.40 / 10.70).
|
|
137
148
|
// 1080p is priced (per-M 11.7 / 7.0, 2026-09-29) but not offered in
|
|
@@ -177,8 +188,12 @@ exports.bytedanceConfigs = {
|
|
|
177
188
|
referenceVideoUrls: { max: 3 },
|
|
178
189
|
referenceAudioUrls: { max: 3 },
|
|
179
190
|
},
|
|
180
|
-
|
|
181
|
-
|
|
191
|
+
// REMOVED FOR v1 — kept for reference: individual-tier limits.
|
|
192
|
+
// requestPerMin: 180, // individual-tier; bumps to 600 for enterprise
|
|
193
|
+
// concurrentRequests: 3, // individual-tier; bumps to 10 for enterprise
|
|
194
|
+
// Enterprise tier confirmed in the Ark console 2026-11-11 (non-4K: 10 concurrent / 600 RPM).
|
|
195
|
+
requestPerMin: 600,
|
|
196
|
+
concurrentRequests: 10,
|
|
182
197
|
cost: {
|
|
183
198
|
videoInput: {
|
|
184
199
|
"480p": 0.0043,
|
|
@@ -212,8 +227,12 @@ exports.bytedanceConfigs = {
|
|
|
212
227
|
referenceVideoUrls: { max: 3 },
|
|
213
228
|
referenceAudioUrls: { max: 3 },
|
|
214
229
|
},
|
|
215
|
-
|
|
216
|
-
|
|
230
|
+
// REMOVED FOR v1 — kept for reference: individual-tier limits.
|
|
231
|
+
// requestPerMin: 180,
|
|
232
|
+
// concurrentRequests: 3,
|
|
233
|
+
// Enterprise tier confirmed in the Ark console 2026-11-11 (non-4K: 10 concurrent / 600 RPM).
|
|
234
|
+
requestPerMin: 600,
|
|
235
|
+
concurrentRequests: 10,
|
|
217
236
|
cost: {
|
|
218
237
|
// List price (per-M 3.3 / 5.6). The BytePlus 25%-off promo (extended
|
|
219
238
|
// to 2026-10-07) applies to enterprise accounts only; we're on the
|
|
@@ -240,7 +259,9 @@ exports.bytedanceConfigs = {
|
|
|
240
259
|
// BytePlus returns ModelNotOpen until Mini is activated in the Ark console
|
|
241
260
|
// (prod 2026-10). Backend mirror of the frontend's NEXT_PUBLIC_SEEDANCE_MINI_LIVE:
|
|
242
261
|
// set SEEDANCE_MINI_LIVE=true (Doppler + Railway) once activated.
|
|
243
|
-
|
|
262
|
+
// REMOVED FOR v1 — kept for reference: Mini activated in the Ark console
|
|
263
|
+
// 2026-11-11 (live test task succeeded) and is now the default, so no gate.
|
|
264
|
+
// gatedByEnv: "SEEDANCE_MINI_LIVE",
|
|
244
265
|
type: ["text-to-video", "image-to-video", "video-to-video"],
|
|
245
266
|
acceptedImageFormats: ["image/jpeg", "image/jpg", "image/png"],
|
|
246
267
|
// Same language set as the rest of the Seedance 2.0 series (shared Dreamina pipeline).
|
|
@@ -256,8 +277,12 @@ exports.bytedanceConfigs = {
|
|
|
256
277
|
referenceVideoUrls: { max: 3 },
|
|
257
278
|
referenceAudioUrls: { max: 3 },
|
|
258
279
|
},
|
|
259
|
-
|
|
260
|
-
|
|
280
|
+
// REMOVED FOR v1 — kept for reference: individual-tier limits.
|
|
281
|
+
// requestPerMin: 180,
|
|
282
|
+
// concurrentRequests: 3,
|
|
283
|
+
// Enterprise tier confirmed in the Ark console 2026-11-11 (non-4K: 10 concurrent / 600 RPM).
|
|
284
|
+
requestPerMin: 600,
|
|
285
|
+
concurrentRequests: 10,
|
|
261
286
|
cost: {
|
|
262
287
|
// List price (per-M 2.1 / 3.5). The BytePlus 60%-off promo (extended
|
|
263
288
|
// to 2026-10-07) is enterprise-only — see 2.0 Fast above.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../../src/services/agent/providerFallback/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,eAAe,EACf,aAAa,EAGb,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAGnC;;;;;;;;;;;;GAYG;AAGH,eAAO,MAAM,sBAAsB,EAAE,SAAS,eAAe,EAgB5D,CAAC;AAKF,eAAO,MAAM,sBAAsB,EAAE,SAAS,eAAe,
|
|
1
|
+
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["../../../../src/services/agent/providerFallback/chains.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,eAAe,EACf,eAAe,EACf,aAAa,EAGb,KAAK,cAAc,EACpB,MAAM,2BAA2B,CAAC;AAGnC;;;;;;;;;;;;GAYG;AAGH,eAAO,MAAM,sBAAsB,EAAE,SAAS,eAAe,EAgB5D,CAAC;AAKF,eAAO,MAAM,sBAAsB,EAAE,SAAS,eAAe,EAkB5D,CAAC;AAQF,eAAO,MAAM,uBAAuB,EAAE,SAAS,eAAe,EAkB7D,CAAC;AAKF,eAAO,MAAM,uBAAuB,EAAE,SAAS,eAAe,EAa7D,CAAC;AASF,eAAO,MAAM,kBAAkB,EAAE,SAAS,eAAe,EAIxD,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,SAAS,eAAe,EAIjD,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,SAAS,aAAa,EAE7C,CAAC;AAEF;;;;;;;;;;GA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C;IACrB,wEAAwE;IACxE,UAAU,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,QAAQ,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,GAAG,eAAe,EAC/B,WAAW,EAAE,MAAM,EACnB,IAAI,GAAE,mBAAwB,GAC7B,kBAAkB,GAAG,IAAI,CAyB3B"}
|
|
@@ -51,7 +51,8 @@ exports.T2_TEXT_TO_VIDEO_CHAIN = [
|
|
|
51
51
|
// 2026-10-22. Gemini Omni Flash takes its slot (same $0.10/s at 720p).
|
|
52
52
|
// EVideoGenModels.GOOGLE_VEO_3_1_FAST,
|
|
53
53
|
aiModels_1.EVideoGenModels.GOOGLE_GEMINI_OMNI_FLASH,
|
|
54
|
-
|
|
54
|
+
// REMOVED FOR v1 — kept for reference: BytePlus shut 1.5 Pro down 2026-11-11.
|
|
55
|
+
// EVideoGenModels.BYTEDANCE_SEEDANCE_1_5_PRO,
|
|
55
56
|
// 2.0 Mini: cheapest 2.x (native audio + refs, up to 15s). Budget tier → T2.
|
|
56
57
|
aiModels_1.EVideoGenModels.BYTEDANCE_SEEDANCE_2_0_MINI,
|
|
57
58
|
aiModels_1.EVideoGenModels.PIXVERSE_V6,
|
|
@@ -76,7 +77,8 @@ exports.T2_IMAGE_TO_VIDEO_CHAIN = [
|
|
|
76
77
|
// EVideoGenModels.GOOGLE_VEO_3_1_FAST,
|
|
77
78
|
aiModels_1.EVideoGenModels.GOOGLE_GEMINI_OMNI_FLASH,
|
|
78
79
|
aiModels_1.EVideoGenModels.RUNWAY_GEN4_TURBO,
|
|
79
|
-
|
|
80
|
+
// REMOVED FOR v1 — kept for reference: BytePlus shut 1.5 Pro down 2026-11-11.
|
|
81
|
+
// EVideoGenModels.BYTEDANCE_SEEDANCE_1_5_PRO,
|
|
80
82
|
// 2.0 Mini: cheapest 2.x I2V (native audio + refs, up to 15s). Budget tier → T2.
|
|
81
83
|
aiModels_1.EVideoGenModels.BYTEDANCE_SEEDANCE_2_0_MINI,
|
|
82
84
|
aiModels_1.EVideoGenModels.PIXVERSE_V6,
|
|
@@ -32,7 +32,7 @@ const InputSchema = zod_1.z.object({
|
|
|
32
32
|
.describe("Detailed motion + visual prompt. Describe subject, camera move, mood, lighting."),
|
|
33
33
|
modelKey: zod_1.z
|
|
34
34
|
.nativeEnum(aiModels_1.EVideoGenModels)
|
|
35
|
-
.describe("Pick by tier: T3 cinematic = google-gemini-omni-flash, runway-gen4.5, fal-kling-v4.0 (Kling 4.0, 3-30s, native audio); balanced = kling-v2.6, bytedance-seedance-
|
|
35
|
+
.describe("Pick by tier: T3 cinematic = google-gemini-omni-flash, runway-gen4.5, fal-kling-v4.0 (Kling 4.0, 3-30s, native audio); balanced = kling-v2.6, bytedance-seedance-2.0-mini; cheap fast = minimax-hailuo-2.3-fast, pixverse-v5.6."),
|
|
36
36
|
durationSec: zod_1.z
|
|
37
37
|
.number()
|
|
38
38
|
.int()
|