vidspotai-shared 1.0.137 → 1.0.139
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/enums.d.ts +2 -0
- package/lib/globals/aiModels/enums.d.ts.map +1 -1
- package/lib/globals/aiModels/enums.js +7 -0
- package/lib/globals/aiModels/index.d.ts.map +1 -1
- package/lib/globals/aiModels/index.js +2 -0
- package/lib/globals/aiModels/providers/falVideo.d.ts +34 -0
- package/lib/globals/aiModels/providers/falVideo.d.ts.map +1 -0
- package/lib/globals/aiModels/providers/falVideo.js +102 -0
- package/lib/globals/creditUnit.d.ts +15 -8
- package/lib/globals/creditUnit.d.ts.map +1 -1
- package/lib/globals/creditUnit.js +16 -8
- package/lib/globals/film/filmCatalog.d.ts +88 -0
- package/lib/globals/film/filmCatalog.d.ts.map +1 -0
- package/lib/globals/film/filmCatalog.js +218 -0
- package/lib/globals/index.d.ts +2 -0
- package/lib/globals/index.d.ts.map +1 -1
- package/lib/globals/index.js +2 -0
- package/lib/globals/reelRemake.d.ts +116 -0
- package/lib/globals/reelRemake.d.ts.map +1 -0
- package/lib/globals/reelRemake.js +142 -0
- package/lib/globals/types.d.ts +15 -1
- package/lib/globals/types.d.ts.map +1 -1
- package/lib/globals/types.js +16 -0
- package/lib/libs/storage/MediaStorage.d.ts +6 -0
- package/lib/libs/storage/MediaStorage.d.ts.map +1 -1
- package/lib/libs/storage/MediaStorage.js +10 -0
- package/lib/libs/storage/R2Backend.d.ts +8 -0
- package/lib/libs/storage/R2Backend.d.ts.map +1 -1
- package/lib/libs/storage/R2Backend.js +26 -0
- package/lib/libs/storage/StorageBackend.d.ts +6 -0
- package/lib/libs/storage/StorageBackend.d.ts.map +1 -1
- package/lib/libs/storage/cdnUrl.d.ts +7 -0
- package/lib/libs/storage/cdnUrl.d.ts.map +1 -1
- package/lib/libs/storage/cdnUrl.js +46 -0
- package/lib/models/filmProject.model.d.ts +424 -0
- package/lib/models/filmProject.model.d.ts.map +1 -0
- package/lib/models/filmProject.model.js +14 -0
- package/lib/models/image.model.d.ts +3 -0
- package/lib/models/image.model.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +2 -0
- package/lib/models/reelRemake.model.d.ts +222 -0
- package/lib/models/reelRemake.model.d.ts.map +1 -0
- package/lib/models/reelRemake.model.js +2 -0
- package/lib/models/video.model.d.ts +5 -0
- package/lib/models/video.model.d.ts.map +1 -1
- package/lib/schemas/film.schema.d.ts +500 -0
- package/lib/schemas/film.schema.d.ts.map +1 -0
- package/lib/schemas/film.schema.js +201 -0
- package/lib/schemas/index.d.ts +1 -0
- package/lib/schemas/index.d.ts.map +1 -1
- package/lib/schemas/index.js +1 -0
- package/lib/services/agent/providerFallback/chains.d.ts.map +1 -1
- package/lib/services/agent/providerFallback/chains.js +13 -0
- package/lib/services/agent/tools/generateVideo.tool.d.ts.map +1 -1
- package/lib/services/agent/tools/generateVideo.tool.js +2 -1
- package/lib/services/aiGen/aiGenFactory.service.d.ts.map +1 -1
- package/lib/services/aiGen/aiGenFactory.service.js +4 -0
- package/lib/services/aiGen/providers/fal/falVideo.service.d.ts +39 -0
- package/lib/services/aiGen/providers/fal/falVideo.service.d.ts.map +1 -0
- package/lib/services/aiGen/providers/fal/falVideo.service.js +266 -0
- package/lib/services/aiGen/providers/fal/index.d.ts +1 -0
- package/lib/services/aiGen/providers/fal/index.d.ts.map +1 -1
- package/lib/services/aiGen/providers/fal/index.js +1 -0
- package/lib/services/film/compileShotPrompt.d.ts +16 -0
- package/lib/services/film/compileShotPrompt.d.ts.map +1 -0
- package/lib/services/film/compileShotPrompt.js +152 -0
- package/lib/services/film/filmAssets.d.ts +73 -0
- package/lib/services/film/filmAssets.d.ts.map +1 -0
- package/lib/services/film/filmAssets.js +341 -0
- package/lib/services/film/filmCut.d.ts +159 -0
- package/lib/services/film/filmCut.d.ts.map +1 -0
- package/lib/services/film/filmCut.js +616 -0
- package/lib/services/film/filmPublic.d.ts +9 -0
- package/lib/services/film/filmPublic.d.ts.map +1 -0
- package/lib/services/film/filmPublic.js +39 -0
- package/lib/services/film/filmTakes.d.ts +65 -0
- package/lib/services/film/filmTakes.d.ts.map +1 -0
- package/lib/services/film/filmTakes.js +168 -0
- package/lib/services/film/writersRoom.d.ts +276 -0
- package/lib/services/film/writersRoom.d.ts.map +1 -0
- package/lib/services/film/writersRoom.js +431 -0
- package/lib/services/firestore.service.d.ts +7 -0
- package/lib/services/firestore.service.d.ts.map +1 -1
- package/lib/services/firestore.service.js +15 -0
- package/lib/services/index.d.ts +11 -0
- package/lib/services/index.d.ts.map +1 -1
- package/lib/services/index.js +11 -0
- package/lib/services/reelRemake/castDetection.d.ts +56 -0
- package/lib/services/reelRemake/castDetection.d.ts.map +1 -0
- package/lib/services/reelRemake/castDetection.js +146 -0
- package/lib/services/reelRemake/castSuggestion.d.ts +43 -0
- package/lib/services/reelRemake/castSuggestion.d.ts.map +1 -0
- package/lib/services/reelRemake/castSuggestion.js +99 -0
- package/lib/services/reelRemake/keyframeSwap.d.ts +44 -0
- package/lib/services/reelRemake/keyframeSwap.d.ts.map +1 -0
- package/lib/services/reelRemake/keyframeSwap.js +139 -0
- package/lib/services/reelRemake/shootPlan.d.ts +65 -0
- package/lib/services/reelRemake/shootPlan.d.ts.map +1 -0
- package/lib/services/reelRemake/shootPlan.js +193 -0
- package/lib/services/reelRemake/stopWork.d.ts +54 -0
- package/lib/services/reelRemake/stopWork.d.ts.map +1 -0
- package/lib/services/reelRemake/stopWork.js +91 -0
- package/package.json +1 -1
|
@@ -42,6 +42,8 @@ export declare enum EVideoGenModels {
|
|
|
42
42
|
KLING_V3_0 = "kling-v3.0",
|
|
43
43
|
KLING_V3_0_TURBO = "kling-v3.0-turbo",
|
|
44
44
|
KLING_V3_0_OMNI = "kling-v3.0-omni",
|
|
45
|
+
FAL_KLING_V4_0 = "fal-kling-v4.0",
|
|
46
|
+
FAL_KLING_V4_0_FLASH = "fal-kling-v4.0-flash",
|
|
45
47
|
KLING_V4_0 = "kling-v4.0",
|
|
46
48
|
KLING_V4_0_FLASH = "kling-v4.0-flash",
|
|
47
49
|
KLING_AVATAR = "kling-avatar",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/globals/aiModels/enums.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,gBAAgB,qBAAqB;IACrC,0BAA0B,+BAA+B;IACzD,+BAA+B,oCAAoC;IACnE,0BAA0B,+BAA+B;IACzD,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,2BAA2B,gCAAgC;IAC3D,2BAA2B,gCAAgC;IAC3D,wBAAwB,6BAA6B;IACrD,cAAc,mBAAmB;IACjC,mBAAmB,wBAAwB;IAC3C,mBAAmB,wBAAwB;IAK3C,YAAY,iBAAiB;IAC7B,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,iBAAiB,sBAAsB;IACvC,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,mBAAmB,uBAAuB;IAC1C,iBAAiB,qBAAqB;IACtC,sBAAsB,0BAA0B;IAChD,sBAAsB,0BAA0B;IAChD,uBAAuB,4BAA4B;IACnD,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,kBAAkB;IAChC,mBAAmB,uBAAuB;IAC1C,qBAAqB,0BAA0B;IAC/C,wBAAwB,6BAA6B;IACrD,eAAe,oBAAoB;IACnC,UAAU,eAAe;IACzB,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IACrC,UAAU,eAAe;IACzB,UAAU,eAAe;IAIzB,gBAAgB,qBAAqB;IACrC,eAAe,oBAAoB;
|
|
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BAAkB,uBAAuB;IAQzC,wBAAwB,6BAA6B;IACrD,yBAAyB,8BAA8B;IACvD,2BAA2B,gCAAgC;IAC3D,0BAA0B,+BAA+B;IAIzD,uBAAuB,4BAA4B;IACnD,qBAAqB,0BAA0B;IAC/C,uBAAuB,4BAA4B;IACnD,qBAAqB,0BAA0B;CAChD;AAED;;;;GAIG;AACH,oBAAY,aAAa;IACvB,wBAAwB,6BAA6B;CACtD;AAED;;;;;;GAMG;AACH,oBAAY,mBAAmB;IAC7B,uBAAuB,4BAA4B;CACpD;AACD,MAAM,MAAM,qBAAqB,GAAG,GAAG,mBAAmB,EAAE,CAAC;AAE7D;;;;;GAKG;AACH,oBAAY,mBAAmB;IAC7B,mBAAmB,wBAAwB;CAC5C;AACD,MAAM,MAAM,qBAAqB,GAAG,GAAG,mBAAmB,EAAE,CAAC;AAE7D,MAAM,MAAM,WAAW,GACnB,eAAe,GACf,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,aAAa,GACb,qBAAqB,GACrB,qBAAqB,CAAC"}
|
|
@@ -54,6 +54,13 @@ var EVideoGenModels;
|
|
|
54
54
|
// globals/aiModels/providers/kling.ts for the full delta.
|
|
55
55
|
EVideoGenModels["KLING_V3_0_TURBO"] = "kling-v3.0-turbo";
|
|
56
56
|
EVideoGenModels["KLING_V3_0_OMNI"] = "kling-v3.0-omni";
|
|
57
|
+
// Kling 4.0 / 4.0 Flash, HOSTED ON fal.ai (FalVideoService). Kling's own
|
|
58
|
+
// 4.0 API isn't open to our account yet (kling.ai/dev/pricing 2026-10-27:
|
|
59
|
+
// "Kling 4.0 API access is not yet available"). The `fal-` prefix keeps
|
|
60
|
+
// getProviderKey() honest — the task id lives on fal, not Kling. Add native
|
|
61
|
+
// `kling-v4.0` keys alongside once Kling opens it.
|
|
62
|
+
EVideoGenModels["FAL_KLING_V4_0"] = "fal-kling-v4.0";
|
|
63
|
+
EVideoGenModels["FAL_KLING_V4_0_FLASH"] = "fal-kling-v4.0-flash";
|
|
57
64
|
// Kling 4.0 / 4.0 Flash on Kling's own API 2.0 (KLING_API_KEY, Flagship
|
|
58
65
|
// resource pack). The fal-hosted `fal-kling-v4.0*` keys live on dev only.
|
|
59
66
|
EVideoGenModels["KLING_V4_0"] = "kling-v4.0";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/globals/aiModels/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/globals/aiModels/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC;AAEnC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAkBvC,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,WAAW,EAAE,YAAY,CAgBvB,CAAC;AAEvC,cAAc,eAAe,CAAC;AAC9B,cAAc,+BAA+B,CAAC;AAE9C,MAAM,WAAW,kBAAkB;IACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAMnE,CAAC;AAEF;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAEvD"}
|
|
@@ -32,6 +32,7 @@ const elevenlabs_1 = require("./providers/elevenlabs");
|
|
|
32
32
|
const anthropic_1 = require("./providers/anthropic");
|
|
33
33
|
const topaz_1 = require("./providers/topaz");
|
|
34
34
|
const xai_1 = require("./providers/xai");
|
|
35
|
+
const falVideo_1 = require("./providers/falVideo");
|
|
35
36
|
const fal_1 = require("./providers/fal");
|
|
36
37
|
exports.aiModelConfigs = {
|
|
37
38
|
...pixverse_1.pixverseConfigs,
|
|
@@ -47,6 +48,7 @@ exports.aiModelConfigs = {
|
|
|
47
48
|
...anthropic_1.anthropicConfigs,
|
|
48
49
|
...topaz_1.topazConfigs,
|
|
49
50
|
...xai_1.xaiConfigs,
|
|
51
|
+
...falVideo_1.falVideoConfigs,
|
|
50
52
|
...fal_1.falConfigs,
|
|
51
53
|
};
|
|
52
54
|
__exportStar(require("./tierHelpers"), exports);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IModelSchema } from "../types";
|
|
2
|
+
/**
|
|
3
|
+
* fal.ai-HOSTED video generators — served by FalVideoService
|
|
4
|
+
* (services/aiGen/providers/fal/falVideo.service.ts) over fal's queue API.
|
|
5
|
+
*
|
|
6
|
+
* ─── Kling 4.0 / 4.0 Flash ────────────────────────────────────────────────
|
|
7
|
+
* Kling's native 4.0 API isn't available to us yet (kling.ai/dev/pricing
|
|
8
|
+
* 2026-10-27 lists it "Coming Soon"; resource packs don't cover it), so 4.0
|
|
9
|
+
* ships through fal. Endpoints (schemas pulled 2026-10-27 from
|
|
10
|
+
* fal.ai/api/openapi/queue/openapi.json?endpoint_id=…):
|
|
11
|
+
* fal-ai/kling-video/v4/text-to-video prompt|multi_prompt, 3–30s, 16:9/9:16/1:1/21:9, 720p|1080p
|
|
12
|
+
* fal-ai/kling-video/v4/image-to-video start_image_url (+end, ≤8 middle keyframes); ratio follows the frame
|
|
13
|
+
* fal-ai/kling-video/v4/reference-to-video ≤10 image_urls, ≤5 video_urls (30s total), @Image1/@Video1 citations
|
|
14
|
+
* fal-ai/kling-video/v4/flash/text-to-video 3–20s, 720p only
|
|
15
|
+
* fal-ai/kling-video/v4/flash/image-to-video
|
|
16
|
+
* `resolution` defaults to 1080p on fal — FalVideoService ALWAYS sends it so
|
|
17
|
+
* a std request can't silently bill at the 1080p rate.
|
|
18
|
+
* Native stereo audio is always on (no toggle) → listed in chains.ts AUDIO_MODELS
|
|
19
|
+
* rather than declaring an `audio` field.
|
|
20
|
+
*
|
|
21
|
+
* Pricing verified 2026-10-27 against https://api.fal.ai/v1/models/pricing:
|
|
22
|
+
* v4 text/image/reference-to-video $0.157 / output-second (720p base)
|
|
23
|
+
* v4 flash text/image-to-video $0.094 / output-second (720p only)
|
|
24
|
+
* 1080p = 1.5× (matches Kling's own preview units: 1.0 vs 1.5 units/s).
|
|
25
|
+
*
|
|
26
|
+
* Live-verified 2026-10-27 via FalVideoService: v4 text-to-video (5s 16:9
|
|
27
|
+
* 720p → 5.04s 1280x720 + stereo AAC, ~5 min) and v4 image-to-video (3s →
|
|
28
|
+
* 3.04s, ~6 min). The queue's status/result base is the OWNER app
|
|
29
|
+
* (`fal-ai/kling-video`), not the sub-endpoint — taken from status_url.
|
|
30
|
+
* With a reference VIDEO, fal (like Kling) bills 0.6× the rate on
|
|
31
|
+
* (output × 2) when input ≤ output, else (input + output) seconds.
|
|
32
|
+
*/
|
|
33
|
+
export declare const falVideoConfigs: Record<string, IModelSchema>;
|
|
34
|
+
//# sourceMappingURL=falVideo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"falVideo.d.ts","sourceRoot":"","sources":["../../../../src/globals/aiModels/providers/falVideo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAKxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAsExD,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.falVideoConfigs = void 0;
|
|
4
|
+
const range = (min, max) => Array.from({ length: max - min + 1 }, (_, i) => min + i);
|
|
5
|
+
/**
|
|
6
|
+
* fal.ai-HOSTED video generators — served by FalVideoService
|
|
7
|
+
* (services/aiGen/providers/fal/falVideo.service.ts) over fal's queue API.
|
|
8
|
+
*
|
|
9
|
+
* ─── Kling 4.0 / 4.0 Flash ────────────────────────────────────────────────
|
|
10
|
+
* Kling's native 4.0 API isn't available to us yet (kling.ai/dev/pricing
|
|
11
|
+
* 2026-10-27 lists it "Coming Soon"; resource packs don't cover it), so 4.0
|
|
12
|
+
* ships through fal. Endpoints (schemas pulled 2026-10-27 from
|
|
13
|
+
* fal.ai/api/openapi/queue/openapi.json?endpoint_id=…):
|
|
14
|
+
* fal-ai/kling-video/v4/text-to-video prompt|multi_prompt, 3–30s, 16:9/9:16/1:1/21:9, 720p|1080p
|
|
15
|
+
* fal-ai/kling-video/v4/image-to-video start_image_url (+end, ≤8 middle keyframes); ratio follows the frame
|
|
16
|
+
* fal-ai/kling-video/v4/reference-to-video ≤10 image_urls, ≤5 video_urls (30s total), @Image1/@Video1 citations
|
|
17
|
+
* fal-ai/kling-video/v4/flash/text-to-video 3–20s, 720p only
|
|
18
|
+
* fal-ai/kling-video/v4/flash/image-to-video
|
|
19
|
+
* `resolution` defaults to 1080p on fal — FalVideoService ALWAYS sends it so
|
|
20
|
+
* a std request can't silently bill at the 1080p rate.
|
|
21
|
+
* Native stereo audio is always on (no toggle) → listed in chains.ts AUDIO_MODELS
|
|
22
|
+
* rather than declaring an `audio` field.
|
|
23
|
+
*
|
|
24
|
+
* Pricing verified 2026-10-27 against https://api.fal.ai/v1/models/pricing:
|
|
25
|
+
* v4 text/image/reference-to-video $0.157 / output-second (720p base)
|
|
26
|
+
* v4 flash text/image-to-video $0.094 / output-second (720p only)
|
|
27
|
+
* 1080p = 1.5× (matches Kling's own preview units: 1.0 vs 1.5 units/s).
|
|
28
|
+
*
|
|
29
|
+
* Live-verified 2026-10-27 via FalVideoService: v4 text-to-video (5s 16:9
|
|
30
|
+
* 720p → 5.04s 1280x720 + stereo AAC, ~5 min) and v4 image-to-video (3s →
|
|
31
|
+
* 3.04s, ~6 min). The queue's status/result base is the OWNER app
|
|
32
|
+
* (`fal-ai/kling-video`), not the sub-endpoint — taken from status_url.
|
|
33
|
+
* With a reference VIDEO, fal (like Kling) bills 0.6× the rate on
|
|
34
|
+
* (output × 2) when input ≤ output, else (input + output) seconds.
|
|
35
|
+
*/
|
|
36
|
+
exports.falVideoConfigs = {
|
|
37
|
+
"fal-kling-v4.0": {
|
|
38
|
+
modelId: "fal-ai/kling-video/v4",
|
|
39
|
+
type: ["text-to-video", "image-to-video"],
|
|
40
|
+
tier: "T3",
|
|
41
|
+
fields: {
|
|
42
|
+
prompt: { required: true },
|
|
43
|
+
aspectRatio: { allowedValues: ["16:9", "9:16", "1:1", "21:9"] },
|
|
44
|
+
// Every integer 3–30 is legal; billed per delivered second.
|
|
45
|
+
duration: { allowedValues: range(3, 30), default: 5 },
|
|
46
|
+
// std→720p, pro→1080p (Kling's own equivalence). Explicit resolution wins.
|
|
47
|
+
mode: { allowedValues: ["std", "pro"] },
|
|
48
|
+
resolution: { allowedValues: ["720p", "1080p"], default: "720p" },
|
|
49
|
+
inputImageUrl: {}, // → start_image_url
|
|
50
|
+
lastFrameImageUrl: {}, // → end_image_url
|
|
51
|
+
referenceImageUrls: { max: 10 }, // → reference-to-video image_urls (@Image1…)
|
|
52
|
+
referenceVideoUrls: { max: 5 }, // → reference-to-video video_urls (@Video1…)
|
|
53
|
+
multiShot: {}, // → multi_prompt[] (≤512 chars/shot)
|
|
54
|
+
},
|
|
55
|
+
concurrentRequests: 5,
|
|
56
|
+
pollIntervalMs: 10000,
|
|
57
|
+
// 30s 1080p generations run long on fal's queue.
|
|
58
|
+
pollTimeoutMs: 30 * 60000,
|
|
59
|
+
cost: {
|
|
60
|
+
perSecondByResolution: { "720p": 0.157, "1080p": 0.2355 },
|
|
61
|
+
videoInputPerSecondByResolution: { "720p": 0.0942, "1080p": 0.1413 },
|
|
62
|
+
},
|
|
63
|
+
guidance: {
|
|
64
|
+
quality: 5,
|
|
65
|
+
speed: 3,
|
|
66
|
+
bestFor: "Kling's newest flagship: long single takes up to 30s, native stereo audio, up to 10 keyframes, and Omni reference (10 images + 5 videos cited as @Image1/@Video1). Best Kling for cinematic, multi-shot storytelling.",
|
|
67
|
+
notes: "Audio is always on and included in the price. 1080p costs 1.5× 720p. A reference video bills on input+output seconds. No 4K yet.",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
// GATED 2026-10-27: a live smoke test of both fal Flash endpoints
|
|
71
|
+
// (flash/text-to-video 3s 9:16, flash/image-to-video 3s) returned fal's
|
|
72
|
+
// canned schema-example clips (12s, 16:9, byte-identical file sizes
|
|
73
|
+
// 3478246 / 2953131) instead of a generation — Flash isn't really live on
|
|
74
|
+
// fal yet. Set KLING_V4_FLASH_LIVE=true (Doppler + Railway) only after a
|
|
75
|
+
// re-test returns a real clip at the requested duration/ratio.
|
|
76
|
+
"fal-kling-v4.0-flash": {
|
|
77
|
+
modelId: "fal-ai/kling-video/v4/flash",
|
|
78
|
+
type: ["text-to-video", "image-to-video"],
|
|
79
|
+
tier: "T2",
|
|
80
|
+
gatedByEnv: "KLING_V4_FLASH_LIVE",
|
|
81
|
+
fields: {
|
|
82
|
+
prompt: { required: true },
|
|
83
|
+
aspectRatio: { allowedValues: ["16:9", "9:16", "1:1", "21:9"] },
|
|
84
|
+
duration: { allowedValues: range(3, 20), default: 5 },
|
|
85
|
+
mode: { allowedValues: ["std"] },
|
|
86
|
+
resolution: { allowedValues: ["720p"], default: "720p" },
|
|
87
|
+
inputImageUrl: {}, // → start_image_url
|
|
88
|
+
},
|
|
89
|
+
concurrentRequests: 5,
|
|
90
|
+
pollIntervalMs: 10000,
|
|
91
|
+
pollTimeoutMs: 20 * 60000,
|
|
92
|
+
cost: {
|
|
93
|
+
perSecondByResolution: { "720p": 0.094 },
|
|
94
|
+
},
|
|
95
|
+
guidance: {
|
|
96
|
+
quality: 4,
|
|
97
|
+
speed: 5,
|
|
98
|
+
bestFor: "Fast, budget Kling 4.0: text or image to video up to 20s with native audio at 720p. Great for drafts, social clips and high-volume B-roll.",
|
|
99
|
+
notes: "720p only, no end frame or references. About 40% cheaper than Kling 4.0.",
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
};
|
|
@@ -51,13 +51,19 @@ export declare const MIN_CREDITS_PER_IMAGE_OP = 2;
|
|
|
51
51
|
*/
|
|
52
52
|
export declare const MIN_CREDITS_PER_UTILITY_OP = 1;
|
|
53
53
|
/**
|
|
54
|
-
* Credits granted on SIGNUP —
|
|
55
|
-
*
|
|
56
|
-
* the
|
|
54
|
+
* Credits granted on SIGNUP — ZERO since 2026-11-06. Free (no-card) accounts get
|
|
55
|
+
* nothing; the only free credits are TRIAL_GRANT_CREDITS, granted once Stripe
|
|
56
|
+
* confirms a card for the free trial. After that it's a subscription/package.
|
|
57
57
|
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
58
|
+
* History: 10 until 2026-07-22, briefly 0, restored to 10 on 2026-07-24,
|
|
59
|
+
* then set to 0 again on 2026-11-06 because provider spend kept climbing
|
|
60
|
+
* (BytePlus alone: $1,170 in Oct 2026) while signup-grant users almost never
|
|
61
|
+
* convert. The original reasoning for 10 is kept below for reference.
|
|
62
|
+
*
|
|
63
|
+
* REMOVED FOR v1 — kept for reference (the pre-2026-11-06 rationale):
|
|
64
|
+
* one full floored generation ($1.00 of provider cost), no card required. This
|
|
65
|
+
* is the top of the funnel: a new account can try the product once before
|
|
66
|
+
* being asked for anything.
|
|
61
67
|
*
|
|
62
68
|
* Read this before raising it, because the give-away is real and measured:
|
|
63
69
|
* 23,962 users, 15,021 of whom consumed credits, and only 88 who ever spent
|
|
@@ -73,7 +79,7 @@ export declare const MIN_CREDITS_PER_UTILITY_OP = 1;
|
|
|
73
79
|
* Anything ABOVE 10 needs an anti-abuse gate first (verified email + App Check
|
|
74
80
|
* at minimum).
|
|
75
81
|
*/
|
|
76
|
-
export declare const SIGNUP_GRANT_CREDITS =
|
|
82
|
+
export declare const SIGNUP_GRANT_CREDITS = 0;
|
|
77
83
|
/**
|
|
78
84
|
* Credits granted when a card-backed free trial actually starts (the
|
|
79
85
|
* `isTrialInvoice` branch in payment.service.handleInvoiceSucceeded).
|
|
@@ -81,7 +87,8 @@ export declare const SIGNUP_GRANT_CREDITS = 10;
|
|
|
81
87
|
* ADDITIVE since 2026-07-24: that branch applies `FieldValue.increment` to
|
|
82
88
|
* `credits.total` and leaves `consumed` alone, so starting the trial always
|
|
83
89
|
* moves available credits by exactly +10 on top of whatever is left of the
|
|
84
|
-
* signup grant.
|
|
90
|
+
* signup grant. Since the signup grant is 0 (2026-11-06), a new trial user
|
|
91
|
+
* starts with exactly 10 available.
|
|
85
92
|
*
|
|
86
93
|
* It used to overwrite (`total: 10, consumed: 0`), which was invisible while
|
|
87
94
|
* SIGNUP_GRANT_CREDITS was 0 but became a silent no-op for users who added a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"creditUnit.d.ts","sourceRoot":"","sources":["../../src/globals/creditUnit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,iDAAiD;AACjD,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,0EAA0E;AAC1E,eAAO,MAAM,eAAe,QAAqB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"creditUnit.d.ts","sourceRoot":"","sources":["../../src/globals/creditUnit.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,iDAAiD;AACjD,eAAO,MAAM,cAAc,MAAM,CAAC;AAElC,0EAA0E;AAC1E,eAAO,MAAM,eAAe,QAAqB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,wBAAwB,IAAI,CAAC;AAE1C;;;;;;;GAOG;AACH,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,eAAO,MAAM,oBAAoB,IAAI,CAAC;AAEtC;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,mBAAmB,KAA0B,CAAC"}
|
|
@@ -54,13 +54,19 @@ exports.MIN_CREDITS_PER_IMAGE_OP = 2;
|
|
|
54
54
|
*/
|
|
55
55
|
exports.MIN_CREDITS_PER_UTILITY_OP = 1;
|
|
56
56
|
/**
|
|
57
|
-
* Credits granted on SIGNUP —
|
|
58
|
-
*
|
|
59
|
-
* the
|
|
57
|
+
* Credits granted on SIGNUP — ZERO since 2026-11-06. Free (no-card) accounts get
|
|
58
|
+
* nothing; the only free credits are TRIAL_GRANT_CREDITS, granted once Stripe
|
|
59
|
+
* confirms a card for the free trial. After that it's a subscription/package.
|
|
60
60
|
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* History: 10 until 2026-07-22, briefly 0, restored to 10 on 2026-07-24,
|
|
62
|
+
* then set to 0 again on 2026-11-06 because provider spend kept climbing
|
|
63
|
+
* (BytePlus alone: $1,170 in Oct 2026) while signup-grant users almost never
|
|
64
|
+
* convert. The original reasoning for 10 is kept below for reference.
|
|
65
|
+
*
|
|
66
|
+
* REMOVED FOR v1 — kept for reference (the pre-2026-11-06 rationale):
|
|
67
|
+
* one full floored generation ($1.00 of provider cost), no card required. This
|
|
68
|
+
* is the top of the funnel: a new account can try the product once before
|
|
69
|
+
* being asked for anything.
|
|
64
70
|
*
|
|
65
71
|
* Read this before raising it, because the give-away is real and measured:
|
|
66
72
|
* 23,962 users, 15,021 of whom consumed credits, and only 88 who ever spent
|
|
@@ -76,7 +82,8 @@ exports.MIN_CREDITS_PER_UTILITY_OP = 1;
|
|
|
76
82
|
* Anything ABOVE 10 needs an anti-abuse gate first (verified email + App Check
|
|
77
83
|
* at minimum).
|
|
78
84
|
*/
|
|
79
|
-
|
|
85
|
+
// REMOVED FOR v1 — kept for reference: export const SIGNUP_GRANT_CREDITS = 10;
|
|
86
|
+
exports.SIGNUP_GRANT_CREDITS = 0;
|
|
80
87
|
/**
|
|
81
88
|
* Credits granted when a card-backed free trial actually starts (the
|
|
82
89
|
* `isTrialInvoice` branch in payment.service.handleInvoiceSucceeded).
|
|
@@ -84,7 +91,8 @@ exports.SIGNUP_GRANT_CREDITS = 10;
|
|
|
84
91
|
* ADDITIVE since 2026-07-24: that branch applies `FieldValue.increment` to
|
|
85
92
|
* `credits.total` and leaves `consumed` alone, so starting the trial always
|
|
86
93
|
* moves available credits by exactly +10 on top of whatever is left of the
|
|
87
|
-
* signup grant.
|
|
94
|
+
* signup grant. Since the signup grant is 0 (2026-11-06), a new trial user
|
|
95
|
+
* starts with exactly 10 available.
|
|
88
96
|
*
|
|
89
97
|
* It used to overwrite (`total: 10, consumed: 0`), which was invisible while
|
|
90
98
|
* SIGNUP_GRANT_CREDITS was 0 but became a silent no-op for users who added a
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Film Studio director-controls catalog — the one vocabulary the UI pickers,
|
|
3
|
+
* the Writers' Room (Stage 2) and the shot prompt compiler all share.
|
|
4
|
+
*
|
|
5
|
+
* Each option carries:
|
|
6
|
+
* - `key` stable id persisted on projects/shots (never rename; add new keys instead)
|
|
7
|
+
* - `label` short UI label
|
|
8
|
+
* - `hint` one-line tooltip explaining what it does to the picture
|
|
9
|
+
* - `prompt` the fragment the compiler injects into the model prompt
|
|
10
|
+
*
|
|
11
|
+
* Served to the frontend by GET /v1/film/catalog, so the frontend never keeps
|
|
12
|
+
* its own copy. "Auto" is represented by an unset field, not a catalog entry.
|
|
13
|
+
*/
|
|
14
|
+
import type { FilmAspectRatio, FilmLook, FilmVideoModel } from "../../models/filmProject.model";
|
|
15
|
+
export interface FilmCatalogOption {
|
|
16
|
+
key: string;
|
|
17
|
+
label: string;
|
|
18
|
+
hint: string;
|
|
19
|
+
prompt: string;
|
|
20
|
+
}
|
|
21
|
+
export interface FilmPaletteOption extends FilmCatalogOption {
|
|
22
|
+
/** Display swatches, darkest to lightest. */
|
|
23
|
+
swatches: string[];
|
|
24
|
+
}
|
|
25
|
+
export declare const FILM_GENRES: FilmCatalogOption[];
|
|
26
|
+
export declare const FILM_ERAS: FilmCatalogOption[];
|
|
27
|
+
export declare const FILM_TEMPOS: FilmCatalogOption[];
|
|
28
|
+
export declare const FILM_CAMERA_BODIES: FilmCatalogOption[];
|
|
29
|
+
export declare const FILM_LENSES: FilmCatalogOption[];
|
|
30
|
+
export declare const FILM_FOCAL_LENGTHS: FilmCatalogOption[];
|
|
31
|
+
export declare const FILM_APERTURES: FilmCatalogOption[];
|
|
32
|
+
export declare const FILM_PALETTES: FilmPaletteOption[];
|
|
33
|
+
export declare const FILM_LIGHTING: FilmCatalogOption[];
|
|
34
|
+
export declare const FILM_SHOT_TYPES: FilmCatalogOption[];
|
|
35
|
+
export declare const FILM_CAMERA_MOVES: FilmCatalogOption[];
|
|
36
|
+
export interface FilmVideoModelSpec {
|
|
37
|
+
key: FilmVideoModel;
|
|
38
|
+
label: string;
|
|
39
|
+
hint: string;
|
|
40
|
+
/** Max reference images the model accepts per request. */
|
|
41
|
+
maxRefImages: number;
|
|
42
|
+
minDurationSec: number;
|
|
43
|
+
maxDurationSec: number;
|
|
44
|
+
aspectRatios: FilmAspectRatio[];
|
|
45
|
+
/** Generates synced dialogue/ambient audio itself. */
|
|
46
|
+
nativeAudio: boolean;
|
|
47
|
+
}
|
|
48
|
+
/** Mirrors the aiModels registry entries (bytedance.ts / kling.ts) for these two keys. */
|
|
49
|
+
export declare const FILM_VIDEO_MODELS: FilmVideoModelSpec[];
|
|
50
|
+
/** Look field → its catalog. Drives validation and the pickers. */
|
|
51
|
+
export declare const FILM_LOOK_CATALOG: Record<keyof FilmLook, FilmCatalogOption[]>;
|
|
52
|
+
export declare const FILM_LOOK_FIELDS: (keyof FilmLook)[];
|
|
53
|
+
export declare function findFilmOption(options: FilmCatalogOption[], key: string | undefined): FilmCatalogOption | undefined;
|
|
54
|
+
export declare function getFilmVideoModelSpec(key: FilmVideoModel): FilmVideoModelSpec;
|
|
55
|
+
/** Everything the frontend needs to render the pickers, in one payload. */
|
|
56
|
+
/**
|
|
57
|
+
* Image models offered for cast portraits, turnaround sheets and location
|
|
58
|
+
* plates. All three persist outputs to our own storage (so the URLs stay valid
|
|
59
|
+
* as long-lived references), take up to 14 reference images and cover every
|
|
60
|
+
* aspect Film Studio uses (3:4 portraits, 16:9 sheets, 16:9/21:9/9:16 plates).
|
|
61
|
+
*/
|
|
62
|
+
export interface FilmImageModelSpec {
|
|
63
|
+
key: string;
|
|
64
|
+
label: string;
|
|
65
|
+
hint: string;
|
|
66
|
+
/** imageSize sent with every request ("2K" for all three today). */
|
|
67
|
+
imageSize: string;
|
|
68
|
+
}
|
|
69
|
+
export declare const FILM_IMAGE_MODELS: FilmImageModelSpec[];
|
|
70
|
+
export declare const DEFAULT_FILM_IMAGE_MODEL: string;
|
|
71
|
+
export declare function getFilmImageModelSpec(key?: string): FilmImageModelSpec;
|
|
72
|
+
export declare const FILM_CATALOG: {
|
|
73
|
+
genres: FilmCatalogOption[];
|
|
74
|
+
eras: FilmCatalogOption[];
|
|
75
|
+
tempos: FilmCatalogOption[];
|
|
76
|
+
cameraBodies: FilmCatalogOption[];
|
|
77
|
+
lenses: FilmCatalogOption[];
|
|
78
|
+
focalLengths: FilmCatalogOption[];
|
|
79
|
+
apertures: FilmCatalogOption[];
|
|
80
|
+
palettes: FilmPaletteOption[];
|
|
81
|
+
lighting: FilmCatalogOption[];
|
|
82
|
+
shotTypes: FilmCatalogOption[];
|
|
83
|
+
cameraMoves: FilmCatalogOption[];
|
|
84
|
+
videoModels: FilmVideoModelSpec[];
|
|
85
|
+
imageModels: FilmImageModelSpec[];
|
|
86
|
+
};
|
|
87
|
+
export type FilmCatalog = typeof FILM_CATALOG;
|
|
88
|
+
//# sourceMappingURL=filmCatalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filmCatalog.d.ts","sourceRoot":"","sources":["../../../src/globals/film/filmCatalog.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhG,MAAM,WAAW,iBAAiB;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,EAe1C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAAiB,EASxC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAAiB,EAK1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,EAOjD,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,iBAAiB,EAM1C,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,EAOjD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,iBAAiB,EAK7C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAW5C,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAAiB,EAY5C,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,iBAAiB,EAc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