vidspotai-shared 1.0.136 → 1.0.138

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.
Files changed (106) hide show
  1. package/lib/globals/aiModels/enums.d.ts +2 -0
  2. package/lib/globals/aiModels/enums.d.ts.map +1 -1
  3. package/lib/globals/aiModels/enums.js +7 -0
  4. package/lib/globals/aiModels/index.d.ts.map +1 -1
  5. package/lib/globals/aiModels/index.js +2 -0
  6. package/lib/globals/film/filmCatalog.d.ts +88 -0
  7. package/lib/globals/film/filmCatalog.d.ts.map +1 -0
  8. package/lib/globals/film/filmCatalog.js +218 -0
  9. package/lib/globals/index.d.ts +2 -0
  10. package/lib/globals/index.d.ts.map +1 -1
  11. package/lib/globals/index.js +2 -0
  12. package/lib/globals/reelRemake.d.ts +116 -0
  13. package/lib/globals/reelRemake.d.ts.map +1 -0
  14. package/lib/globals/reelRemake.js +142 -0
  15. package/lib/globals/types.d.ts +15 -1
  16. package/lib/globals/types.d.ts.map +1 -1
  17. package/lib/globals/types.js +16 -0
  18. package/lib/libs/storage/cdnUrl.d.ts +1 -3
  19. package/lib/libs/storage/cdnUrl.d.ts.map +1 -1
  20. package/lib/libs/storage/cdnUrl.js +8 -6
  21. package/lib/models/filmProject.model.d.ts +424 -0
  22. package/lib/models/filmProject.model.d.ts.map +1 -0
  23. package/lib/models/filmProject.model.js +14 -0
  24. package/lib/models/image.model.d.ts +3 -0
  25. package/lib/models/image.model.d.ts.map +1 -1
  26. package/lib/models/index.d.ts +2 -0
  27. package/lib/models/index.d.ts.map +1 -1
  28. package/lib/models/index.js +2 -0
  29. package/lib/models/reelRemake.model.d.ts +222 -0
  30. package/lib/models/reelRemake.model.d.ts.map +1 -0
  31. package/lib/models/reelRemake.model.js +2 -0
  32. package/lib/models/video.model.d.ts +5 -0
  33. package/lib/models/video.model.d.ts.map +1 -1
  34. package/lib/schemas/film.schema.d.ts +500 -0
  35. package/lib/schemas/film.schema.d.ts.map +1 -0
  36. package/lib/schemas/film.schema.js +201 -0
  37. package/lib/schemas/index.d.ts +1 -0
  38. package/lib/schemas/index.d.ts.map +1 -1
  39. package/lib/schemas/index.js +1 -0
  40. package/lib/services/agent/providerFallback/chains.d.ts.map +1 -1
  41. package/lib/services/agent/providerFallback/chains.js +13 -0
  42. package/lib/services/agent/tools/generateVideo.tool.d.ts.map +1 -1
  43. package/lib/services/agent/tools/generateVideo.tool.js +2 -1
  44. package/lib/services/aiGen/aiGenFactory.service.d.ts.map +1 -1
  45. package/lib/services/aiGen/aiGenFactory.service.js +4 -0
  46. package/lib/services/aiGen/providers/bytedance/bytedance.service.d.ts.map +1 -1
  47. package/lib/services/aiGen/providers/bytedance/bytedance.service.js +17 -0
  48. package/lib/services/aiGen/providers/fal/index.d.ts +1 -0
  49. package/lib/services/aiGen/providers/fal/index.d.ts.map +1 -1
  50. package/lib/services/aiGen/providers/fal/index.js +1 -0
  51. package/lib/services/aiGen/providers/kling/klingRequests.d.ts.map +1 -1
  52. package/lib/services/aiGen/providers/kling/klingRequests.js +3 -0
  53. package/lib/services/aiGen/providers/types.d.ts +6 -0
  54. package/lib/services/aiGen/providers/types.d.ts.map +1 -1
  55. package/lib/services/film/compileShotPrompt.d.ts +16 -0
  56. package/lib/services/film/compileShotPrompt.d.ts.map +1 -0
  57. package/lib/services/film/compileShotPrompt.js +152 -0
  58. package/lib/services/film/filmAssets.d.ts +73 -0
  59. package/lib/services/film/filmAssets.d.ts.map +1 -0
  60. package/lib/services/film/filmAssets.js +341 -0
  61. package/lib/services/film/filmCut.d.ts +159 -0
  62. package/lib/services/film/filmCut.d.ts.map +1 -0
  63. package/lib/services/film/filmCut.js +616 -0
  64. package/lib/services/film/filmPublic.d.ts +9 -0
  65. package/lib/services/film/filmPublic.d.ts.map +1 -0
  66. package/lib/services/film/filmPublic.js +39 -0
  67. package/lib/services/film/filmTakes.d.ts +65 -0
  68. package/lib/services/film/filmTakes.d.ts.map +1 -0
  69. package/lib/services/film/filmTakes.js +168 -0
  70. package/lib/services/film/writersRoom.d.ts +276 -0
  71. package/lib/services/film/writersRoom.d.ts.map +1 -0
  72. package/lib/services/film/writersRoom.js +431 -0
  73. package/lib/services/firestore.service.d.ts +7 -0
  74. package/lib/services/firestore.service.d.ts.map +1 -1
  75. package/lib/services/firestore.service.js +15 -0
  76. package/lib/services/index.d.ts +12 -0
  77. package/lib/services/index.d.ts.map +1 -1
  78. package/lib/services/index.js +12 -0
  79. package/lib/services/providerHealth.service.d.ts +12 -0
  80. package/lib/services/providerHealth.service.d.ts.map +1 -0
  81. package/lib/services/providerHealth.service.js +75 -0
  82. package/lib/services/reelRemake/castDetection.d.ts +56 -0
  83. package/lib/services/reelRemake/castDetection.d.ts.map +1 -0
  84. package/lib/services/reelRemake/castDetection.js +146 -0
  85. package/lib/services/reelRemake/castSuggestion.d.ts +43 -0
  86. package/lib/services/reelRemake/castSuggestion.d.ts.map +1 -0
  87. package/lib/services/reelRemake/castSuggestion.js +99 -0
  88. package/lib/services/reelRemake/keyframeSwap.d.ts +44 -0
  89. package/lib/services/reelRemake/keyframeSwap.d.ts.map +1 -0
  90. package/lib/services/reelRemake/keyframeSwap.js +139 -0
  91. package/lib/services/reelRemake/shootPlan.d.ts +65 -0
  92. package/lib/services/reelRemake/shootPlan.d.ts.map +1 -0
  93. package/lib/services/reelRemake/shootPlan.js +193 -0
  94. package/lib/services/reelRemake/stopWork.d.ts +54 -0
  95. package/lib/services/reelRemake/stopWork.d.ts.map +1 -0
  96. package/lib/services/reelRemake/stopWork.js +91 -0
  97. package/lib/services/translation/translation.service.d.ts +10 -1
  98. package/lib/services/translation/translation.service.d.ts.map +1 -1
  99. package/lib/services/translation/translation.service.js +34 -1
  100. package/lib/utils/errors.d.ts +3 -0
  101. package/lib/utils/errors.d.ts.map +1 -1
  102. package/lib/utils/errors.js +6 -0
  103. package/lib/utils/helpers.d.ts +1 -1
  104. package/lib/utils/helpers.d.ts.map +1 -1
  105. package/lib/utils/helpers.js +2 -1
  106. package/package.json +1 -1
@@ -0,0 +1,159 @@
1
+ import { EMusicGenModels, ESfxGenModels } from "../../globals/aiModels/enums";
2
+ import type { FilmCutOptions, FilmCutQa, FilmCutTarget, FilmEpisode, FilmEpisodeRender, FilmStageTiming, IFilmProjectModel, IFilmShotModel } from "../../models/filmProject.model";
3
+ import { type Project } from "../../schemas/project.schema";
4
+ /** A cut whose heartbeat is older than this no longer blocks a recut. */
5
+ export declare const FILM_CUT_STALE_MS: number;
6
+ /** The "original score" model: Lyria 2, ~30s instrumental clips, looped under the episode. */
7
+ export declare const FILM_SCORE_MODEL = EMusicGenModels.GOOGLE_LYRIA_2;
8
+ /** Shot sound effects (`shot.sfx`), billed per second like /v1/sfx. Provider cap 0.5–30s. */
9
+ export declare const FILM_SFX_MODEL = ESfxGenModels.ELEVENLABS_SOUND_EFFECTS;
10
+ /** Firestore ledger: one doc per cut job that has been refunded, so the worker and the reaper never both refund. */
11
+ export declare const FILM_CUT_REFUNDS_COLLECTION = "filmCutRefunds";
12
+ export interface FilmCutLine {
13
+ /** `${shotId}:${index}`, unique within the cut. */
14
+ key: string;
15
+ shotId: string;
16
+ castId: string;
17
+ speaker: string;
18
+ text: string;
19
+ delivery?: string;
20
+ voiceId?: string;
21
+ }
22
+ export interface FilmCutShot {
23
+ shotId: string;
24
+ /** A picked take, or the storyboard frame as a still when there is no take yet. */
25
+ source: "take" | "frame";
26
+ url: string;
27
+ durationMs: number;
28
+ /** The take carries its own dialogue audio. */
29
+ voiced: boolean;
30
+ lines: FilmCutLine[];
31
+ /** The shot's sound-effects cue, only when the picture carries no sound of its own. */
32
+ sfx?: FilmCutSfx;
33
+ }
34
+ export interface FilmCutSfx {
35
+ /** Same as the shot id: one cue per shot. */
36
+ key: string;
37
+ shotId: string;
38
+ prompt: string;
39
+ durationSec: number;
40
+ }
41
+ export interface FilmCutPlan {
42
+ shots: FilmCutShot[];
43
+ /** No take and no frame: left out of the cut. */
44
+ missingShotIds: string[];
45
+ stillShotIds: string[];
46
+ /** Dialogue to synthesize: lines on shots that don't carry their own audio. */
47
+ voiceLines: FilmCutLine[];
48
+ voiceChars: number;
49
+ sfxCues: FilmCutSfx[];
50
+ /** Shots only, without title / end cards. */
51
+ durationMs: number;
52
+ }
53
+ export interface FilmCutEstimate {
54
+ voiceCredits: number;
55
+ sfxCredits: number;
56
+ musicCredits: number;
57
+ totalCredits: number;
58
+ }
59
+ export declare function isCutLive(render: FilmEpisodeRender | undefined, now?: number): boolean;
60
+ /** Which shots go in the cut and what has to be voiced. `shots` in episode order. */
61
+ export declare function planFilmCut(project: Pick<IFilmProjectModel, "cast">, shots: IFilmShotModel[]): FilmCutPlan;
62
+ /** Credits for one line set at the default TTS provider's per-character rate (same maths as /v1/tts). */
63
+ export declare function voiceCreditsFor(chars: number): number;
64
+ /** Credits for a set of sound effects totalling `seconds`, at the SFX model's per-second rate (one billed op, like the voices). */
65
+ export declare function sfxCreditsFor(seconds: number): number;
66
+ export declare const sfxSecondsOf: (cues: Pick<FilmCutSfx, "durationSec">[]) => number;
67
+ /** Rendering is our own compute and free; voices, effects and an original score are billed like their tools. */
68
+ export declare function estimateFilmCut(plan: FilmCutPlan, options: Pick<FilmCutOptions, "score" | "sfx">): FilmCutEstimate;
69
+ /** Score direction from the project look: a library mood/query and a text-to-music prompt. */
70
+ export declare function filmScoreBrief(project: Pick<IFilmProjectModel, "look">): {
71
+ mood: string;
72
+ query: string;
73
+ bpmTarget: number;
74
+ prompt: string;
75
+ };
76
+ export interface FilmCutAudio {
77
+ url: string;
78
+ durationMs: number;
79
+ }
80
+ export interface BuildFilmCutInput {
81
+ /** The Project id: the videoJobs doc that holds the cut. */
82
+ cutId: string;
83
+ project: Pick<IFilmProjectModel, "id" | "title" | "format" | "aspectRatio">;
84
+ episode: Pick<FilmEpisode, "id" | "index" | "title" | "cliffhanger">;
85
+ /** Series: whether this is the final episode ("The End" rather than "To be continued…"). */
86
+ isLastEpisode: boolean;
87
+ plan: FilmCutPlan;
88
+ options: FilmCutOptions;
89
+ /** Synthesized dialogue by line key. Lines missing here stay silent. */
90
+ voices: Record<string, FilmCutAudio>;
91
+ /** Generated sound effects by cue key (shot id). Missing cues are left out. */
92
+ effects?: Record<string, FilmCutAudio>;
93
+ music?: FilmCutAudio & {
94
+ source: string;
95
+ attribution?: string;
96
+ };
97
+ now?: string;
98
+ }
99
+ /** The episode's timeline. Pure: every URL and duration is resolved by the caller. */
100
+ export declare function buildFilmCutProject(input: BuildFilmCutInput): Project;
101
+ export type FilmStageMark = "start" | "end" | "stop";
102
+ /**
103
+ * Stage timings: "start" closes whatever stage is still open and opens
104
+ * `stage`; "end" closes `stage` if it's open; "stop" closes every open stage
105
+ * (a failure). Pure; returns a new array.
106
+ */
107
+ export declare function markFilmStage(timings: FilmStageTiming[] | undefined, stage: string, at: FilmStageMark, now?: number): FilmStageTiming[];
108
+ /**
109
+ * Patch one episode's `render` in a transaction. With `lease`, only while that
110
+ * cut job still owns the episode (false when superseded or gone).
111
+ */
112
+ export declare function patchEpisodeRender(projectId: string, episodeId: string, patch: Partial<FilmEpisodeRender>, opts?: {
113
+ lease?: string;
114
+ timing?: {
115
+ stage: string;
116
+ at: FilmStageMark;
117
+ };
118
+ }): Promise<boolean>;
119
+ /**
120
+ * Render-invoker hook for a videoJobs doc carrying `filmCut`: mirror the
121
+ * render's progress onto the episode. A render finishing while a newer cut is
122
+ * still voicing/assembling (status "queued") only refreshes the playable URL.
123
+ */
124
+ export declare function applyFilmCutRender(target: FilmCutTarget, outcome: {
125
+ status: "rendering";
126
+ renderJobId: string;
127
+ } | {
128
+ status: "succeeded";
129
+ renderJobId: string;
130
+ url: string;
131
+ posterUrl?: string;
132
+ } | {
133
+ status: "failed";
134
+ renderJobId: string;
135
+ error: string;
136
+ }): Promise<boolean>;
137
+ /**
138
+ * Write the critic's review onto the episode, only while `qa.renderJobId` is
139
+ * still the episode's succeeded render (a newer render or cut drops it).
140
+ */
141
+ export declare function applyFilmCutQa(target: FilmCutTarget, qa: FilmCutQa): Promise<boolean>;
142
+ /** Stable videoJobs id for an episode's cut, so a recut replaces it in the library rather than adding another. */
143
+ export declare function filmCutVideoId(projectId: string, episodeId: string): string;
144
+ /**
145
+ * Claim the one refund a cut job may make. The worker (unused credits, or all
146
+ * of them on failure), the Function (enqueue failure) and the reaper (a cut
147
+ * whose worker died) all go through here, so a cut is never refunded twice.
148
+ */
149
+ export declare function claimFilmCutRefund(cutJobId: string, credits: number, by: string): Promise<boolean>;
150
+ /** Stale-cut reaper thresholds: a pre-render stage that stopped heartbeating, and a render that never reported back. */
151
+ export declare const FILM_CUT_REAP_RENDER_MS: number;
152
+ /**
153
+ * Fail one stale cut under its lease. Returns the render as it was when
154
+ * failed (for the refund), or null when it's no longer stale or no longer this cut.
155
+ */
156
+ export declare function failStaleFilmCut(projectId: string, episodeId: string, now?: number): Promise<FilmEpisodeRender | null>;
157
+ /** Pre-render stages past the heartbeat window, or a render that never came back. */
158
+ export declare function isStaleCut(render: FilmEpisodeRender, now?: number): boolean;
159
+ //# sourceMappingURL=filmCut.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filmCut.d.ts","sourceRoot":"","sources":["../../../src/services/film/filmCut.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE9E,OAAO,KAAK,EAEV,cAAc,EACd,SAAS,EACT,aAAa,EACb,WAAW,EACX,iBAAiB,EAEjB,eAAe,EACf,iBAAiB,EACjB,cAAc,EACf,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAML,KAAK,OAAO,EAIb,MAAM,8BAA8B,CAAC;AAKtC,yEAAyE;AACzE,eAAO,MAAM,iBAAiB,QAAc,CAAC;AAC7C,8FAA8F;AAC9F,eAAO,MAAM,gBAAgB,iCAAiC,CAAC;AAC/D,6FAA6F;AAC7F,eAAO,MAAM,cAAc,yCAAyC,CAAC;AAErE,oHAAoH;AACpH,eAAO,MAAM,2BAA2B,mBAAmB,CAAC;AA2B5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