@nodaro/shared 3.67.0 → 3.68.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-JTYCJ5OL.cjs → chunk-4XR66IWF.cjs} +51 -13
- package/dist/chunk-4XR66IWF.cjs.map +1 -0
- 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-23IKLMRL.cjs → chunk-BCY3A62O.cjs} +4 -4
- package/dist/{chunk-23IKLMRL.cjs.map → chunk-BCY3A62O.cjs.map} +1 -1
- package/dist/{chunk-RVQW623D.js → chunk-BHL7TAQO.js} +43 -12
- package/dist/chunk-BHL7TAQO.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-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-NWNRATS3.js +13 -0
- package/dist/chunk-NWNRATS3.js.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-O6TBB4IF.cjs → chunk-TZWXZDSX.cjs} +48 -2
- package/dist/chunk-TZWXZDSX.cjs.map +1 -0
- 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-GTBW2KAY.js → chunk-XNJDAW3M.js} +3 -3
- package/dist/{chunk-GTBW2KAY.js.map → chunk-XNJDAW3M.js.map} +1 -1
- package/dist/entries/credits.cjs +192 -164
- package/dist/entries/credits.d.cts +82 -5
- package/dist/entries/credits.d.ts +82 -5
- package/dist/entries/credits.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/models.cjs +82 -82
- package/dist/entries/models.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/types.d.cts +12 -5
- package/dist/entries/types.d.ts +12 -5
- package/dist/index.cjs +435 -379
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +13 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1816 -1
- package/src/__tests__/fixtures/planned-length-quote-parity.json +55 -10
- package/src/__tests__/fixtures/video-utility-quote-parity.json +834 -38
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +32 -0
- package/src/__tests__/runtime-config-lists.test.ts +92 -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/entries/credits.ts +1 -0
- package/src/entries/runtime-config.ts +10 -1
- package/src/lip-sync-pricing.ts +15 -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/dist/chunk-ALRXY4QH.cjs.map +0 -1
- package/dist/chunk-JTYCJ5OL.cjs.map +0 -1
- package/dist/chunk-O2QOBA6Q.js.map +0 -1
- package/dist/chunk-O6TBB4IF.cjs.map +0 -1
- package/dist/chunk-RVQW623D.js.map +0 -1
- package/dist/chunk-SMOO5FAH.js +0 -10
- package/dist/chunk-SMOO5FAH.js.map +0 -1
package/dist/entries/media.cjs
CHANGED
|
@@ -1,356 +1,356 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQ2LEJXLZ_cjs = require('../chunk-Q2LEJXLZ.cjs');
|
|
4
4
|
var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunk6JSYNKFL_cjs = require('../chunk-6JSYNKFL.cjs');
|
|
6
6
|
var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkN7ZJD4CK_cjs = require('../chunk-N7ZJD4CK.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AI_PANEL_EDITOR_ANSWERS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AI_PANEL_EDITOR_ANSWERS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AI_PANEL_EDITOR_CAPABILITIES", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AI_PANEL_EDITOR_CAPABILITIES; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AI_PANEL_EDITOR_REQUESTS", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AI_PANEL_EDITOR_REQUESTS; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AI_PANEL_PATH", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AI_PANEL_PATH; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "AI_PANEL_PROTOCOL_VERSION", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AI_PANEL_PROTOCOL_VERSION; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AUDIO_FX_PRESETS; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AUDIO_FX_PRESET_LABELS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AUDIO_FX_PRESET_SET; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkQ2LEJXLZ_cjs.AUDIO_FX_REVERB_PRESETS; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkQ2LEJXLZ_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "DUBBING_CAPTION_FORMATS", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkQ2LEJXLZ_cjs.DUBBING_CAPTION_FORMATS; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "DUBBING_ERROR_CODES", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkQ2LEJXLZ_cjs.DUBBING_ERROR_CODES; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "DUBBING_LANGUAGE_STATUSES", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkQ2LEJXLZ_cjs.DUBBING_LANGUAGE_STATUSES; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "DUBBING_SOURCE_LANGUAGE", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkQ2LEJXLZ_cjs.DUBBING_SOURCE_LANGUAGE; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "FREECUT_OPS_RESULT", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_OPS_RESULT; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_READY; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_REQUEST_IMPORT; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "FREECUT_TIMELINE", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_TIMELINE; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "FREECUT_UNDO_RESULT", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkQ2LEJXLZ_cjs.FREECUT_UNDO_RESULT; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkQ2LEJXLZ_cjs.GENERATE_MASK_LIMITS; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkQ2LEJXLZ_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkQ2LEJXLZ_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkQ2LEJXLZ_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_FILLS; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "MASK_COMPOSITE_REMEASURE_SLACK_SEC", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkQ2LEJXLZ_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "NODARO_AI_PANEL_CLOSE", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_AI_PANEL_CLOSE; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "NODARO_AI_PANEL_INIT", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_AI_PANEL_INIT; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "NODARO_AI_PANEL_LAYOUT", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_AI_PANEL_LAYOUT; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "NODARO_AI_PANEL_READY", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_AI_PANEL_READY; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "NODARO_APPLY_OPS", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_APPLY_OPS; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "NODARO_GET_TIMELINE", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_GET_TIMELINE; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_IMPORT_FILES; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_LOAD_TIMELINE; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_LOAD_VIDEO; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "NODARO_PLAYBACK", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_PLAYBACK; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "NODARO_PRESENCE", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_PRESENCE; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_RESET_PROJECT; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "NODARO_UNDO_EDIT", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkQ2LEJXLZ_cjs.NODARO_UNDO_EDIT; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_LAYERS; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_PATH; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_MASK_DEFAULTS; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_MASK_LIMITS; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_MASK_PROVIDERS; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkQ2LEJXLZ_cjs.VIDEO_MASK_RECIPE; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "aiPanelOffered", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkQ2LEJXLZ_cjs.aiPanelOffered; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "applySlots", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkQ2LEJXLZ_cjs.applySlots; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "createAiPanelRelay", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkQ2LEJXLZ_cjs.createAiPanelRelay; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkQ2LEJXLZ_cjs.deriveLottieSlotFields; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkQ2LEJXLZ_cjs.describeMaskRegion; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkQ2LEJXLZ_cjs.describeSlotControl; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkQ2LEJXLZ_cjs.hexToRgbaArray; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
260
260
|
enumerable: true,
|
|
261
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkQ2LEJXLZ_cjs.humanizeSlotSid; }
|
|
262
262
|
});
|
|
263
263
|
Object.defineProperty(exports, "listSlotSids", {
|
|
264
264
|
enumerable: true,
|
|
265
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkQ2LEJXLZ_cjs.listSlotSids; }
|
|
266
266
|
});
|
|
267
267
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
268
268
|
enumerable: true,
|
|
269
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkQ2LEJXLZ_cjs.maskCompositeEffectiveAudioSource; }
|
|
270
270
|
});
|
|
271
271
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
272
272
|
enumerable: true,
|
|
273
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkQ2LEJXLZ_cjs.maskCompositeFillOf; }
|
|
274
274
|
});
|
|
275
275
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
276
276
|
enumerable: true,
|
|
277
|
-
get: function () { return
|
|
277
|
+
get: function () { return chunkQ2LEJXLZ_cjs.maskCompositeLeadHandle; }
|
|
278
278
|
});
|
|
279
279
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
280
280
|
enumerable: true,
|
|
281
|
-
get: function () { return
|
|
281
|
+
get: function () { return chunkQ2LEJXLZ_cjs.maskCompositeUnits; }
|
|
282
282
|
});
|
|
283
283
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
284
284
|
enumerable: true,
|
|
285
|
-
get: function () { return
|
|
285
|
+
get: function () { return chunkQ2LEJXLZ_cjs.maskCompositeUsesForeground; }
|
|
286
286
|
});
|
|
287
287
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
288
288
|
enumerable: true,
|
|
289
|
-
get: function () { return
|
|
289
|
+
get: function () { return chunkQ2LEJXLZ_cjs.normalizeLottieLayers; }
|
|
290
290
|
});
|
|
291
291
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
292
292
|
enumerable: true,
|
|
293
|
-
get: function () { return
|
|
293
|
+
get: function () { return chunkQ2LEJXLZ_cjs.resolveLottieOverlaySrc; }
|
|
294
294
|
});
|
|
295
295
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
296
296
|
enumerable: true,
|
|
297
|
-
get: function () { return
|
|
297
|
+
get: function () { return chunkQ2LEJXLZ_cjs.resolveMaskCompositeSettings; }
|
|
298
298
|
});
|
|
299
299
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
300
300
|
enumerable: true,
|
|
301
|
-
get: function () { return
|
|
301
|
+
get: function () { return chunkQ2LEJXLZ_cjs.resolveVideoMaskProvider; }
|
|
302
302
|
});
|
|
303
303
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
304
304
|
enumerable: true,
|
|
305
|
-
get: function () { return
|
|
305
|
+
get: function () { return chunkQ2LEJXLZ_cjs.resolveVideoMaskRedetectSec; }
|
|
306
306
|
});
|
|
307
307
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
308
308
|
enumerable: true,
|
|
309
|
-
get: function () { return
|
|
309
|
+
get: function () { return chunkQ2LEJXLZ_cjs.resolveVideoMaskZone; }
|
|
310
310
|
});
|
|
311
311
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
312
312
|
enumerable: true,
|
|
313
|
-
get: function () { return
|
|
313
|
+
get: function () { return chunkQ2LEJXLZ_cjs.rgbaArrayToHex; }
|
|
314
314
|
});
|
|
315
315
|
Object.defineProperty(exports, "routeAiPanelMessage", {
|
|
316
316
|
enumerable: true,
|
|
317
|
-
get: function () { return
|
|
317
|
+
get: function () { return chunkQ2LEJXLZ_cjs.routeAiPanelMessage; }
|
|
318
318
|
});
|
|
319
319
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
320
320
|
enumerable: true,
|
|
321
|
-
get: function () { return
|
|
321
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshCreditId; }
|
|
322
322
|
});
|
|
323
323
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
324
324
|
enumerable: true,
|
|
325
|
-
get: function () { return
|
|
325
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshCreditIds; }
|
|
326
326
|
});
|
|
327
327
|
Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
|
|
328
328
|
enumerable: true,
|
|
329
|
-
get: function () { return
|
|
329
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshLayersDrawLines; }
|
|
330
330
|
});
|
|
331
331
|
Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
|
|
332
332
|
enumerable: true,
|
|
333
|
-
get: function () { return
|
|
333
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshLayersOfParts; }
|
|
334
334
|
});
|
|
335
335
|
Object.defineProperty(exports, "videoFaceMeshLayersOn", {
|
|
336
336
|
enumerable: true,
|
|
337
|
-
get: function () { return
|
|
337
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshLayersOn; }
|
|
338
338
|
});
|
|
339
339
|
Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
|
|
340
340
|
enumerable: true,
|
|
341
|
-
get: function () { return
|
|
341
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoFaceMeshPartsOfLayers; }
|
|
342
342
|
});
|
|
343
343
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
344
344
|
enumerable: true,
|
|
345
|
-
get: function () { return
|
|
345
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoMaskBilledSeconds; }
|
|
346
346
|
});
|
|
347
347
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
348
348
|
enumerable: true,
|
|
349
|
-
get: function () { return
|
|
349
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoMaskCreditId; }
|
|
350
350
|
});
|
|
351
351
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
352
352
|
enumerable: true,
|
|
353
|
-
get: function () { return
|
|
353
|
+
get: function () { return chunkQ2LEJXLZ_cjs.videoMaskCreditIds; }
|
|
354
354
|
});
|
|
355
355
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
356
356
|
enumerable: true,
|
|
@@ -426,67 +426,67 @@ Object.defineProperty(exports, "overlayTextStyleSchema", {
|
|
|
426
426
|
});
|
|
427
427
|
Object.defineProperty(exports, "FAL_VIDEO_DEPTH_PROVIDERS", {
|
|
428
428
|
enumerable: true,
|
|
429
|
-
get: function () { return
|
|
429
|
+
get: function () { return chunk6JSYNKFL_cjs.FAL_VIDEO_DEPTH_PROVIDERS; }
|
|
430
430
|
});
|
|
431
431
|
Object.defineProperty(exports, "REPLICATE_VIDEO_DEPTH_PROVIDERS", {
|
|
432
432
|
enumerable: true,
|
|
433
|
-
get: function () { return
|
|
433
|
+
get: function () { return chunk6JSYNKFL_cjs.REPLICATE_VIDEO_DEPTH_PROVIDERS; }
|
|
434
434
|
});
|
|
435
435
|
Object.defineProperty(exports, "VIDEO_DEPTH_BUCKETS", {
|
|
436
436
|
enumerable: true,
|
|
437
|
-
get: function () { return
|
|
437
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_BUCKETS; }
|
|
438
438
|
});
|
|
439
439
|
Object.defineProperty(exports, "VIDEO_DEPTH_COLORMAPS", {
|
|
440
440
|
enumerable: true,
|
|
441
|
-
get: function () { return
|
|
441
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_COLORMAPS; }
|
|
442
442
|
});
|
|
443
443
|
Object.defineProperty(exports, "VIDEO_DEPTH_LIMITS", {
|
|
444
444
|
enumerable: true,
|
|
445
|
-
get: function () { return
|
|
445
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_LIMITS; }
|
|
446
446
|
});
|
|
447
447
|
Object.defineProperty(exports, "VIDEO_DEPTH_MODEL_SIZES", {
|
|
448
448
|
enumerable: true,
|
|
449
|
-
get: function () { return
|
|
449
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_MODEL_SIZES; }
|
|
450
450
|
});
|
|
451
451
|
Object.defineProperty(exports, "VIDEO_DEPTH_PROVIDERS", {
|
|
452
452
|
enumerable: true,
|
|
453
|
-
get: function () { return
|
|
453
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_PROVIDERS; }
|
|
454
454
|
});
|
|
455
455
|
Object.defineProperty(exports, "VIDEO_DEPTH_RESOLUTIONS", {
|
|
456
456
|
enumerable: true,
|
|
457
|
-
get: function () { return
|
|
457
|
+
get: function () { return chunk6JSYNKFL_cjs.VIDEO_DEPTH_RESOLUTIONS; }
|
|
458
458
|
});
|
|
459
459
|
Object.defineProperty(exports, "checkVideoDepthLength", {
|
|
460
460
|
enumerable: true,
|
|
461
|
-
get: function () { return
|
|
461
|
+
get: function () { return chunk6JSYNKFL_cjs.checkVideoDepthLength; }
|
|
462
462
|
});
|
|
463
463
|
Object.defineProperty(exports, "resolveVideoDepthColormap", {
|
|
464
464
|
enumerable: true,
|
|
465
|
-
get: function () { return
|
|
465
|
+
get: function () { return chunk6JSYNKFL_cjs.resolveVideoDepthColormap; }
|
|
466
466
|
});
|
|
467
467
|
Object.defineProperty(exports, "resolveVideoDepthModelSize", {
|
|
468
468
|
enumerable: true,
|
|
469
|
-
get: function () { return
|
|
469
|
+
get: function () { return chunk6JSYNKFL_cjs.resolveVideoDepthModelSize; }
|
|
470
470
|
});
|
|
471
471
|
Object.defineProperty(exports, "resolveVideoDepthProvider", {
|
|
472
472
|
enumerable: true,
|
|
473
|
-
get: function () { return
|
|
473
|
+
get: function () { return chunk6JSYNKFL_cjs.resolveVideoDepthProvider; }
|
|
474
474
|
});
|
|
475
475
|
Object.defineProperty(exports, "videoDepthColormaps", {
|
|
476
476
|
enumerable: true,
|
|
477
|
-
get: function () { return
|
|
477
|
+
get: function () { return chunk6JSYNKFL_cjs.videoDepthColormaps; }
|
|
478
478
|
});
|
|
479
479
|
Object.defineProperty(exports, "videoDepthCreditId", {
|
|
480
480
|
enumerable: true,
|
|
481
|
-
get: function () { return
|
|
481
|
+
get: function () { return chunk6JSYNKFL_cjs.videoDepthCreditId; }
|
|
482
482
|
});
|
|
483
483
|
Object.defineProperty(exports, "videoDepthLevers", {
|
|
484
484
|
enumerable: true,
|
|
485
|
-
get: function () { return
|
|
485
|
+
get: function () { return chunk6JSYNKFL_cjs.videoDepthLevers; }
|
|
486
486
|
});
|
|
487
487
|
Object.defineProperty(exports, "videoDepthNeedsGrayscalePass", {
|
|
488
488
|
enumerable: true,
|
|
489
|
-
get: function () { return
|
|
489
|
+
get: function () { return chunk6JSYNKFL_cjs.videoDepthNeedsGrayscalePass; }
|
|
490
490
|
});
|
|
491
491
|
Object.defineProperty(exports, "OVERLAY_MAX_VARIANTS", {
|
|
492
492
|
enumerable: true,
|
|
@@ -518,11 +518,15 @@ Object.defineProperty(exports, "overlayVariantIdFromHandle", {
|
|
|
518
518
|
});
|
|
519
519
|
Object.defineProperty(exports, "CLIP_PRICE_GRACE_SEC", {
|
|
520
520
|
enumerable: true,
|
|
521
|
-
get: function () { return
|
|
521
|
+
get: function () { return chunkN7ZJD4CK_cjs.CLIP_PRICE_GRACE_SEC; }
|
|
522
|
+
});
|
|
523
|
+
Object.defineProperty(exports, "gracedMeasuredSec", {
|
|
524
|
+
enumerable: true,
|
|
525
|
+
get: function () { return chunkN7ZJD4CK_cjs.gracedMeasuredSec; }
|
|
522
526
|
});
|
|
523
527
|
Object.defineProperty(exports, "pricedClipSeconds", {
|
|
524
528
|
enumerable: true,
|
|
525
|
-
get: function () { return
|
|
529
|
+
get: function () { return chunkN7ZJD4CK_cjs.pricedClipSeconds; }
|
|
526
530
|
});
|
|
527
531
|
//# sourceMappingURL=media.cjs.map
|
|
528
532
|
//# sourceMappingURL=media.cjs.map
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -185,8 +185,23 @@ declare function describeMaskRegion(box: PixelBox, image: {
|
|
|
185
185
|
* It decides the price only. Each step's limits (the 300 s cap, the frame cap)
|
|
186
186
|
* read the clip's real length. Other models round as they always have.
|
|
187
187
|
*/
|
|
188
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* How far past a whole second a clip is still priced as that second — and how
|
|
190
|
+
* far past a mark a measured file may run and still be HELD and CHARGED at
|
|
191
|
+
* that mark by the steps that measure their input and round with no grace of
|
|
192
|
+
* their own (decided 2026-11-14: Video SFX's rows, Pitch & Tempo's and
|
|
193
|
+
* Dubbing's minutes, OmniHuman 2.0's seconds). Their quotes read the length
|
|
194
|
+
* exactly, so a quote is never below the charge of a file up to this past it.
|
|
195
|
+
*/
|
|
189
196
|
declare const CLIP_PRICE_GRACE_SEC = 0.05;
|
|
197
|
+
/**
|
|
198
|
+
* A measured length less the hair its hold and charge forgive
|
|
199
|
+
* (`CLIP_PRICE_GRACE_SEC`) and less float noise: the ONE arithmetic Video
|
|
200
|
+
* SFX's, Pitch & Tempo's, Dubbing's and OmniHuman 2.0's held rows are read
|
|
201
|
+
* from. It can be 0 or below for a file under the grace; each caller keeps its
|
|
202
|
+
* own floor.
|
|
203
|
+
*/
|
|
204
|
+
declare function gracedMeasuredSec(measuredSec: number): number;
|
|
190
205
|
/** At least one second. The caller has checked that `sec` is a real length. */
|
|
191
206
|
declare function pricedClipSeconds(sec: number): number;
|
|
192
207
|
|
|
@@ -1165,4 +1180,4 @@ interface DubbingAddLanguageResult {
|
|
|
1165
1180
|
declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
|
|
1166
1181
|
type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
|
|
1167
1182
|
|
|
1168
|
-
export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
1183
|
+
export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, gracedMeasuredSec, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
package/dist/entries/media.d.ts
CHANGED
|
@@ -185,8 +185,23 @@ declare function describeMaskRegion(box: PixelBox, image: {
|
|
|
185
185
|
* It decides the price only. Each step's limits (the 300 s cap, the frame cap)
|
|
186
186
|
* read the clip's real length. Other models round as they always have.
|
|
187
187
|
*/
|
|
188
|
-
/**
|
|
188
|
+
/**
|
|
189
|
+
* How far past a whole second a clip is still priced as that second — and how
|
|
190
|
+
* far past a mark a measured file may run and still be HELD and CHARGED at
|
|
191
|
+
* that mark by the steps that measure their input and round with no grace of
|
|
192
|
+
* their own (decided 2026-11-14: Video SFX's rows, Pitch & Tempo's and
|
|
193
|
+
* Dubbing's minutes, OmniHuman 2.0's seconds). Their quotes read the length
|
|
194
|
+
* exactly, so a quote is never below the charge of a file up to this past it.
|
|
195
|
+
*/
|
|
189
196
|
declare const CLIP_PRICE_GRACE_SEC = 0.05;
|
|
197
|
+
/**
|
|
198
|
+
* A measured length less the hair its hold and charge forgive
|
|
199
|
+
* (`CLIP_PRICE_GRACE_SEC`) and less float noise: the ONE arithmetic Video
|
|
200
|
+
* SFX's, Pitch & Tempo's, Dubbing's and OmniHuman 2.0's held rows are read
|
|
201
|
+
* from. It can be 0 or below for a file under the grace; each caller keeps its
|
|
202
|
+
* own floor.
|
|
203
|
+
*/
|
|
204
|
+
declare function gracedMeasuredSec(measuredSec: number): number;
|
|
190
205
|
/** At least one second. The caller has checked that `sec` is a real length. */
|
|
191
206
|
declare function pricedClipSeconds(sec: number): number;
|
|
192
207
|
|
|
@@ -1165,4 +1180,4 @@ interface DubbingAddLanguageResult {
|
|
|
1165
1180
|
declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
|
|
1166
1181
|
type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
|
|
1167
1182
|
|
|
1168
|
-
export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
1183
|
+
export { AI_PANEL_EDITOR_ANSWERS, AI_PANEL_EDITOR_CAPABILITIES, AI_PANEL_EDITOR_REQUESTS, AI_PANEL_PATH, AI_PANEL_PROTOCOL_VERSION, AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AiPanelInitPayload, type AiPanelLayoutPayload, type AiPanelRelayContext, type AiPanelRelayEvent, type AiPanelRelayOptions, type AiPanelRoute, type AiPanelVideo, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_OPS_RESULT, FREECUT_READY, FREECUT_REQUEST_IMPORT, FREECUT_TIMELINE, FREECUT_UNDO_RESULT, type FreecutExportCompletePayload, type FreecutExportProgressPayload, type FreecutImportFile, type FreecutRequestImportPayload, GENERATE_MASK_LIMITS, type GenerateMaskOutput, type GenerateMaskRequest, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, type LottieOverlayCatalogEntry, type LottieSlotField, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_AI_PANEL_CLOSE, NODARO_AI_PANEL_INIT, NODARO_AI_PANEL_LAYOUT, NODARO_AI_PANEL_READY, NODARO_APPLY_OPS, NODARO_GET_TIMELINE, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_PLAYBACK, NODARO_PRESENCE, NODARO_RESET_PROJECT, NODARO_UNDO_EDIT, type NodaroLoadTimelinePayload, type NodaroLoadVideoPayload, OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_SHAPES, OVERLAY_VARIANT_HANDLE_PREFIX, type OverlayPlatformId, type OverlayPlatformPreset, type OverlayPlatformZone, type OverlayShape, type OverlayShapeElement, type PixelBox, REPLICATE_VIDEO_DEPTH_PROVIDERS, type SlotControlDescriptor, type SlotControlKind, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, aiPanelOffered, applySlots, checkVideoDepthLength, createAiPanelRelay, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, gracedMeasuredSec, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, routeAiPanelMessage, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|