@nodaro/shared 3.49.0 → 3.51.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-XQBBBQZH.cjs → chunk-25OWMP6B.cjs} +47 -47
- package/dist/{chunk-XQBBBQZH.cjs.map → chunk-25OWMP6B.cjs.map} +1 -1
- package/dist/{chunk-T4EBNTKT.js → chunk-2LNQ2MDO.js} +3 -3
- package/dist/{chunk-T4EBNTKT.js.map → chunk-2LNQ2MDO.js.map} +1 -1
- package/dist/{chunk-HPT244UT.cjs → chunk-34EXMNOX.cjs} +9 -7
- package/dist/chunk-34EXMNOX.cjs.map +1 -0
- package/dist/{chunk-QHODM5TS.cjs → chunk-3APO7ABM.cjs} +31 -2
- package/dist/chunk-3APO7ABM.cjs.map +1 -0
- package/dist/{chunk-7VDPBFER.cjs → chunk-3M4BNKFJ.cjs} +32 -2
- package/dist/chunk-3M4BNKFJ.cjs.map +1 -0
- package/dist/{chunk-D33YBZ3B.cjs → chunk-5M43XMRB.cjs} +8 -8
- package/dist/{chunk-D33YBZ3B.cjs.map → chunk-5M43XMRB.cjs.map} +1 -1
- package/dist/{chunk-QZANEGZ3.cjs → chunk-66GADQRV.cjs} +21 -21
- package/dist/{chunk-QZANEGZ3.cjs.map → chunk-66GADQRV.cjs.map} +1 -1
- package/dist/{chunk-KOVIMPZS.js → chunk-6CVY3345.js} +3 -3
- package/dist/{chunk-KOVIMPZS.js.map → chunk-6CVY3345.js.map} +1 -1
- package/dist/{chunk-DZOCFLMK.js → chunk-6LCZPDIF.js} +3 -3
- package/dist/{chunk-DZOCFLMK.js.map → chunk-6LCZPDIF.js.map} +1 -1
- package/dist/{chunk-QLCSS6DK.js → chunk-7FCTCWHD.js} +3 -3
- package/dist/{chunk-QLCSS6DK.js.map → chunk-7FCTCWHD.js.map} +1 -1
- package/dist/{chunk-BQSXEU3O.cjs → chunk-7HWXJIQ6.cjs} +4 -4
- package/dist/{chunk-BQSXEU3O.cjs.map → chunk-7HWXJIQ6.cjs.map} +1 -1
- package/dist/{chunk-2JUNYRMS.cjs → chunk-7YFQKR5C.cjs} +21 -21
- package/dist/{chunk-2JUNYRMS.cjs.map → chunk-7YFQKR5C.cjs.map} +1 -1
- package/dist/{chunk-ML7Q2LTB.js → chunk-A24LLEXS.js} +9 -6
- package/dist/chunk-A24LLEXS.js.map +1 -0
- package/dist/{chunk-6TL7JMVF.js → chunk-AJFQ5242.js} +5 -5
- package/dist/{chunk-6TL7JMVF.js.map → chunk-AJFQ5242.js.map} +1 -1
- package/dist/{chunk-AENQLVQH.js → chunk-AJPV3RZJ.js} +5 -5
- package/dist/{chunk-AENQLVQH.js.map → chunk-AJPV3RZJ.js.map} +1 -1
- package/dist/{chunk-NEJ2PV4C.cjs → chunk-ANMCMSGR.cjs} +6 -3
- package/dist/chunk-ANMCMSGR.cjs.map +1 -0
- package/dist/{chunk-U6BDA2CX.cjs → chunk-AVUW7XKP.cjs} +16 -16
- package/dist/{chunk-U6BDA2CX.cjs.map → chunk-AVUW7XKP.cjs.map} +1 -1
- package/dist/{chunk-HCZYIYKK.js → chunk-BG5272F5.js} +4 -4
- package/dist/{chunk-HCZYIYKK.js.map → chunk-BG5272F5.js.map} +1 -1
- package/dist/{chunk-NU6UR5RI.cjs → chunk-CSPELPDB.cjs} +8 -8
- package/dist/{chunk-NU6UR5RI.cjs.map → chunk-CSPELPDB.cjs.map} +1 -1
- package/dist/{chunk-KZGGUDAB.js → chunk-DSSPAET7.js} +27 -3
- package/dist/{chunk-QHODM5TS.cjs.map → chunk-DSSPAET7.js.map} +1 -1
- package/dist/{chunk-P4QT7JGD.cjs → chunk-FBLMWA2R.cjs} +13 -13
- package/dist/{chunk-P4QT7JGD.cjs.map → chunk-FBLMWA2R.cjs.map} +1 -1
- package/dist/{chunk-X62EMX7Y.js → chunk-FIROF3TM.js} +5 -5
- package/dist/{chunk-X62EMX7Y.js.map → chunk-FIROF3TM.js.map} +1 -1
- package/dist/{chunk-27LQR7DO.js → chunk-FRXVOYL2.js} +6 -4
- package/dist/chunk-FRXVOYL2.js.map +1 -0
- package/dist/{chunk-2BHOAYZW.js → chunk-FVII3KHN.js} +32 -2
- package/dist/chunk-FVII3KHN.js.map +1 -0
- package/dist/{chunk-VCHWYREY.js → chunk-GL5Z3CC4.js} +3 -3
- package/dist/{chunk-VCHWYREY.js.map → chunk-GL5Z3CC4.js.map} +1 -1
- package/dist/chunk-H7HKLN2W.cjs +27 -0
- package/dist/{chunk-QIXL2ZLX.cjs.map → chunk-H7HKLN2W.cjs.map} +1 -1
- package/dist/{chunk-WPT5ZTA2.js → chunk-HZL7QMXK.js} +17 -4
- package/dist/chunk-HZL7QMXK.js.map +1 -0
- package/dist/{chunk-TZBIY5C3.js → chunk-IB5B3EBD.js} +6 -3
- package/dist/chunk-IB5B3EBD.js.map +1 -0
- package/dist/{chunk-DDTA6X2S.cjs → chunk-IJ6XNHSD.cjs} +10 -10
- package/dist/{chunk-DDTA6X2S.cjs.map → chunk-IJ6XNHSD.cjs.map} +1 -1
- package/dist/{chunk-NGT2FYP2.cjs → chunk-J3HPEKGJ.cjs} +9 -6
- package/dist/chunk-J3HPEKGJ.cjs.map +1 -0
- package/dist/{chunk-HSJU5KNR.cjs → chunk-J4CVGAAV.cjs} +17 -4
- package/dist/chunk-J4CVGAAV.cjs.map +1 -0
- package/dist/{chunk-FV43YJ5I.js → chunk-JAD2SBD4.js} +4 -4
- package/dist/{chunk-FV43YJ5I.js.map → chunk-JAD2SBD4.js.map} +1 -1
- package/dist/{chunk-WAUWKYLF.js → chunk-JAGYUDOK.js} +3 -3
- package/dist/{chunk-WAUWKYLF.js.map → chunk-JAGYUDOK.js.map} +1 -1
- package/dist/{chunk-77R3HYOE.js → chunk-JZJRD7RG.js} +6 -6
- package/dist/{chunk-77R3HYOE.js.map → chunk-JZJRD7RG.js.map} +1 -1
- package/dist/{chunk-UDYFWB7D.cjs → chunk-MI63SSCJ.cjs} +4 -4
- package/dist/{chunk-UDYFWB7D.cjs.map → chunk-MI63SSCJ.cjs.map} +1 -1
- package/dist/{chunk-TA5MZZKE.cjs → chunk-MI6CZQCG.cjs} +45 -45
- package/dist/{chunk-TA5MZZKE.cjs.map → chunk-MI6CZQCG.cjs.map} +1 -1
- package/dist/{chunk-HNBJP2IR.js → chunk-OWVWV4T2.js} +3 -3
- package/dist/{chunk-HNBJP2IR.js.map → chunk-OWVWV4T2.js.map} +1 -1
- package/dist/{chunk-TMXFL6RC.cjs → chunk-QBXC3AXS.cjs} +12 -12
- package/dist/{chunk-TMXFL6RC.cjs.map → chunk-QBXC3AXS.cjs.map} +1 -1
- package/dist/{chunk-FEPSSBD5.cjs → chunk-SRLWSI6Q.cjs} +5 -5
- package/dist/{chunk-FEPSSBD5.cjs.map → chunk-SRLWSI6Q.cjs.map} +1 -1
- package/dist/{chunk-GIU37YMD.js → chunk-TRZMLQSL.js} +3 -3
- package/dist/{chunk-GIU37YMD.js.map → chunk-TRZMLQSL.js.map} +1 -1
- package/dist/{chunk-PSAWDKO3.cjs → chunk-TWF2OSH4.cjs} +4 -4
- package/dist/{chunk-PSAWDKO3.cjs.map → chunk-TWF2OSH4.cjs.map} +1 -1
- package/dist/{chunk-6GTTATPR.cjs → chunk-VLNOQJDO.cjs} +6 -6
- package/dist/{chunk-6GTTATPR.cjs.map → chunk-VLNOQJDO.cjs.map} +1 -1
- package/dist/{chunk-DPUIJHM7.cjs → chunk-VNHX6TQT.cjs} +5 -5
- package/dist/{chunk-DPUIJHM7.cjs.map → chunk-VNHX6TQT.cjs.map} +1 -1
- package/dist/{chunk-JGCGLHZL.js → chunk-VSNQLSME.js} +3 -3
- package/dist/{chunk-JGCGLHZL.js.map → chunk-VSNQLSME.js.map} +1 -1
- package/dist/{chunk-26L7NHK4.js → chunk-WBPJNXYN.js} +4 -4
- package/dist/{chunk-26L7NHK4.js.map → chunk-WBPJNXYN.js.map} +1 -1
- package/dist/{chunk-S5CRPOYD.cjs → chunk-XRXPWW7P.cjs} +52 -52
- package/dist/chunk-XRXPWW7P.cjs.map +1 -0
- package/dist/{chunk-QBRTPVT6.js → chunk-YOH5AUYL.js} +10 -10
- package/dist/chunk-YOH5AUYL.js.map +1 -0
- package/dist/{chunk-BLZBDPZJ.js → chunk-ZES6EZC4.js} +3 -3
- package/dist/{chunk-BLZBDPZJ.js.map → chunk-ZES6EZC4.js.map} +1 -1
- package/dist/entries/apps.cjs +43 -43
- package/dist/entries/apps.d.cts +1 -1
- package/dist/entries/apps.d.ts +1 -1
- package/dist/entries/apps.js +8 -8
- package/dist/entries/credits.cjs +151 -151
- package/dist/entries/credits.d.cts +1 -1
- package/dist/entries/credits.d.ts +1 -1
- package/dist/entries/credits.js +8 -8
- package/dist/entries/llm-models.cjs +57 -57
- package/dist/entries/llm-models.d.cts +7 -0
- package/dist/entries/llm-models.d.ts +7 -0
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +70 -50
- package/dist/entries/media.d.cts +92 -1
- package/dist/entries/media.d.ts +92 -1
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +66 -66
- package/dist/entries/model-catalog.d.cts +2 -2
- package/dist/entries/model-catalog.d.ts +2 -2
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +277 -277
- package/dist/entries/models.d.cts +1 -1
- package/dist/entries/models.d.ts +1 -1
- package/dist/entries/models.js +5 -5
- package/dist/entries/nodes.cjs +208 -208
- package/dist/entries/nodes.d.cts +9 -6
- package/dist/entries/nodes.d.ts +9 -6
- package/dist/entries/nodes.js +10 -10
- package/dist/entries/pipeline.cjs +149 -149
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +141 -141
- package/dist/entries/video.d.cts +1 -1
- package/dist/entries/video.d.ts +1 -1
- package/dist/entries/video.js +5 -5
- package/dist/entries/workflow.cjs +146 -146
- package/dist/entries/workflow.d.cts +13 -0
- package/dist/entries/workflow.d.ts +13 -0
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +1526 -1506
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +24 -24
- package/dist/{model-catalog-Ciqsc0ha.d.ts → model-catalog-Dm2UiwUe.d.cts} +4 -3
- package/dist/{model-catalog-Ciqsc0ha.d.cts → model-catalog-Dm2UiwUe.d.ts} +4 -3
- package/package.json +1 -1
- package/src/__tests__/llm-models.test.ts +18 -0
- package/src/__tests__/model-makers.test.ts +10 -0
- package/src/__tests__/model-tree.test.ts +5 -4
- package/src/__tests__/node-runtime-keys.test.ts +11 -0
- package/src/__tests__/preview-gate-use-case.test.ts +6 -0
- package/src/__tests__/template-categories.test.ts +9 -3
- package/src/__tests__/video-face-mesh.test.ts +51 -0
- package/src/entries/media.ts +1 -0
- package/src/llm-models.ts +37 -0
- package/src/model-catalog.ts +11 -7
- package/src/node-execution-state.ts +13 -0
- package/src/node-runtime-keys.ts +13 -0
- package/src/preview-gate.ts +7 -4
- package/src/template-categories.ts +2 -0
- package/src/video-face-mesh.ts +107 -0
- package/src/video-link.ts +3 -0
- package/dist/chunk-27LQR7DO.js.map +0 -1
- package/dist/chunk-2BHOAYZW.js.map +0 -1
- package/dist/chunk-7VDPBFER.cjs.map +0 -1
- package/dist/chunk-HPT244UT.cjs.map +0 -1
- package/dist/chunk-HSJU5KNR.cjs.map +0 -1
- package/dist/chunk-KZGGUDAB.js.map +0 -1
- package/dist/chunk-ML7Q2LTB.js.map +0 -1
- package/dist/chunk-NEJ2PV4C.cjs.map +0 -1
- package/dist/chunk-NGT2FYP2.cjs.map +0 -1
- package/dist/chunk-QBRTPVT6.js.map +0 -1
- package/dist/chunk-QIXL2ZLX.cjs +0 -27
- package/dist/chunk-S5CRPOYD.cjs.map +0 -1
- package/dist/chunk-TZBIY5C3.js.map +0 -1
- package/dist/chunk-WPT5ZTA2.js.map +0 -1
package/dist/entries/media.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3APO7ABM_cjs = require('../chunk-3APO7ABM.cjs');
|
|
4
4
|
var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
|
|
5
5
|
var chunk6DAWSVX2_cjs = require('../chunk-6DAWSVX2.cjs');
|
|
6
6
|
var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
@@ -9,199 +9,219 @@ var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk3APO7ABM_cjs.AUDIO_FX_PRESETS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk3APO7ABM_cjs.AUDIO_FX_PRESET_LABELS; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3APO7ABM_cjs.AUDIO_FX_PRESET_SET; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3APO7ABM_cjs.AUDIO_FX_REVERB_PRESETS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3APO7ABM_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk3APO7ABM_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk3APO7ABM_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk3APO7ABM_cjs.FREECUT_READY; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk3APO7ABM_cjs.FREECUT_REQUEST_IMPORT; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk3APO7ABM_cjs.GENERATE_MASK_LIMITS; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk3APO7ABM_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk3APO7ABM_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk3APO7ABM_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_FILLS; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk3APO7ABM_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk3APO7ABM_cjs.NODARO_IMPORT_FILES; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk3APO7ABM_cjs.NODARO_LOAD_TIMELINE; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunk3APO7ABM_cjs.NODARO_LOAD_VIDEO; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk3APO7ABM_cjs.NODARO_RESET_PROJECT; }
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
103
|
+
enumerable: true,
|
|
104
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_FACE_MESH_PATH; }
|
|
109
|
+
});
|
|
110
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
111
|
+
enumerable: true,
|
|
112
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
101
113
|
});
|
|
102
114
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
103
115
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_MASK_DEFAULTS; }
|
|
105
117
|
});
|
|
106
118
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
107
119
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_MASK_LIMITS; }
|
|
109
121
|
});
|
|
110
122
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
111
123
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_MASK_PROVIDERS; }
|
|
113
125
|
});
|
|
114
126
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
115
127
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunk3APO7ABM_cjs.VIDEO_MASK_RECIPE; }
|
|
117
129
|
});
|
|
118
130
|
Object.defineProperty(exports, "applySlots", {
|
|
119
131
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunk3APO7ABM_cjs.applySlots; }
|
|
121
133
|
});
|
|
122
134
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
123
135
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunk3APO7ABM_cjs.deriveLottieSlotFields; }
|
|
125
137
|
});
|
|
126
138
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
127
139
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunk3APO7ABM_cjs.describeMaskRegion; }
|
|
129
141
|
});
|
|
130
142
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
131
143
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunk3APO7ABM_cjs.describeSlotControl; }
|
|
133
145
|
});
|
|
134
146
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
135
147
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunk3APO7ABM_cjs.hexToRgbaArray; }
|
|
137
149
|
});
|
|
138
150
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
139
151
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunk3APO7ABM_cjs.humanizeSlotSid; }
|
|
141
153
|
});
|
|
142
154
|
Object.defineProperty(exports, "listSlotSids", {
|
|
143
155
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunk3APO7ABM_cjs.listSlotSids; }
|
|
145
157
|
});
|
|
146
158
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
147
159
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunk3APO7ABM_cjs.maskCompositeEffectiveAudioSource; }
|
|
149
161
|
});
|
|
150
162
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
151
163
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunk3APO7ABM_cjs.maskCompositeFillOf; }
|
|
153
165
|
});
|
|
154
166
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
155
167
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunk3APO7ABM_cjs.maskCompositeLeadHandle; }
|
|
157
169
|
});
|
|
158
170
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
159
171
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunk3APO7ABM_cjs.maskCompositeUnits; }
|
|
161
173
|
});
|
|
162
174
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
163
175
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunk3APO7ABM_cjs.maskCompositeUsesForeground; }
|
|
165
177
|
});
|
|
166
178
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
167
179
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunk3APO7ABM_cjs.normalizeLottieLayers; }
|
|
169
181
|
});
|
|
170
182
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
171
183
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunk3APO7ABM_cjs.resolveLottieOverlaySrc; }
|
|
173
185
|
});
|
|
174
186
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
175
187
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunk3APO7ABM_cjs.resolveMaskCompositeSettings; }
|
|
177
189
|
});
|
|
178
190
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
179
191
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunk3APO7ABM_cjs.resolveVideoMaskProvider; }
|
|
181
193
|
});
|
|
182
194
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
183
195
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunk3APO7ABM_cjs.resolveVideoMaskRedetectSec; }
|
|
185
197
|
});
|
|
186
198
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
187
199
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunk3APO7ABM_cjs.resolveVideoMaskZone; }
|
|
189
201
|
});
|
|
190
202
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
191
203
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunk3APO7ABM_cjs.rgbaArrayToHex; }
|
|
205
|
+
});
|
|
206
|
+
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
207
|
+
enumerable: true,
|
|
208
|
+
get: function () { return chunk3APO7ABM_cjs.videoFaceMeshCreditId; }
|
|
209
|
+
});
|
|
210
|
+
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
211
|
+
enumerable: true,
|
|
212
|
+
get: function () { return chunk3APO7ABM_cjs.videoFaceMeshCreditIds; }
|
|
193
213
|
});
|
|
194
214
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
195
215
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunk3APO7ABM_cjs.videoMaskBilledSeconds; }
|
|
197
217
|
});
|
|
198
218
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
199
219
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunk3APO7ABM_cjs.videoMaskCreditId; }
|
|
201
221
|
});
|
|
202
222
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
203
223
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunk3APO7ABM_cjs.videoMaskCreditIds; }
|
|
205
225
|
});
|
|
206
226
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
207
227
|
enumerable: true,
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -512,6 +512,97 @@ interface VideoMaskRequest {
|
|
|
512
512
|
readonly redetectEverySec?: number;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
+
/**
|
|
516
|
+
* Video Face Mesh (`POST /v1/video-face-mesh`, job type `video-face-mesh`):
|
|
517
|
+
* thin GRAY face lines — a wireframe, and darker eye and lip outlines, each a
|
|
518
|
+
* tone of the picture under it — drawn on the faces of a clip, frame for
|
|
519
|
+
* frame. An internal step of Nodaro Motion's face masking: the lines go on
|
|
520
|
+
* the masked (or depth) clip so the video model still sees where the mouth
|
|
521
|
+
* and the eyes are.
|
|
522
|
+
*
|
|
523
|
+
* Priced by the clip's length at the 30 fps basis Video Mask uses
|
|
524
|
+
* (`videoMaskBilledSeconds`), one row per length bucket.
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
/** The route, as the Cast Swap engine calls it. */
|
|
528
|
+
declare const VIDEO_FACE_MESH_PATH = "/v1/video-face-mesh";
|
|
529
|
+
declare const VIDEO_FACE_MESH_LIMITS: {
|
|
530
|
+
/** The longest clip a run accepts, in seconds of PRICED length (the 30 fps basis): Video Mask's own cap. */
|
|
531
|
+
readonly MAX_BILLED_SEC: 300;
|
|
532
|
+
/** `minFaceHeightPct` / `maxFaceHeightPct` bounds (0 = off). */
|
|
533
|
+
readonly FACE_HEIGHT_PCT_MIN: 0;
|
|
534
|
+
readonly FACE_HEIGHT_PCT_MAX: 100;
|
|
535
|
+
/** `zone` margin bounds, as Video Mask's. */
|
|
536
|
+
readonly ZONE_MARGIN_PCT_MIN: 0;
|
|
537
|
+
readonly ZONE_MARGIN_PCT_MAX: 49;
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* The version of what a face mesh run draws for a given clip and settings:
|
|
541
|
+
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
542
|
+
* for the caller to record beside a clip it stores with the lines on it (a
|
|
543
|
+
* trend's approved face mask). Nothing on the platform compares it yet: a
|
|
544
|
+
* stored mask is held to Video Mask's recipe and the engine's own.
|
|
545
|
+
*
|
|
546
|
+
* BUMP IT (to the date of the change) whenever the drawing changes for the
|
|
547
|
+
* same input: the model, the crop, the smoothing, the filters, the colours or
|
|
548
|
+
* the widths. Never for pricing, limits or messages.
|
|
549
|
+
*/
|
|
550
|
+
declare const VIDEO_FACE_MESH_RECIPE = "2026-11-01";
|
|
551
|
+
/** Every price row, smallest first (`video-face-mesh:<n>s`). */
|
|
552
|
+
declare function videoFaceMeshCreditIds(): string[];
|
|
553
|
+
/**
|
|
554
|
+
* The price row for a clip priced at `billedSec` seconds: the smallest bucket
|
|
555
|
+
* that holds it. An unknown or non-positive length, or one past the cap,
|
|
556
|
+
* prices the LONGEST row (the route measures every clip and refuses one past
|
|
557
|
+
* the cap, so this is only ever a ceiling).
|
|
558
|
+
*/
|
|
559
|
+
declare function videoFaceMeshCreditId(billedSec: number | null | undefined): string;
|
|
560
|
+
/** `POST /v1/video-face-mesh` request body. */
|
|
561
|
+
interface VideoFaceMeshRequest {
|
|
562
|
+
/** The clip the faces are FOUND in (the original). */
|
|
563
|
+
readonly videoUrl: string;
|
|
564
|
+
/** The clip the lines are DRAWN on (default `videoUrl`): the masked or depth clip. Same frame count. */
|
|
565
|
+
readonly drawOnUrl?: string;
|
|
566
|
+
/** A mask video (white = covered, same frame count): only faces whose box centre lies inside it are drawn. */
|
|
567
|
+
readonly maskUrl?: string;
|
|
568
|
+
/** Draw only faces at least this % of the frame's height (default 0 = off). */
|
|
569
|
+
readonly minFaceHeightPct?: number;
|
|
570
|
+
/** Draw only faces at most this % of the frame's height (0 = no cap). */
|
|
571
|
+
readonly maxFaceHeightPct?: number;
|
|
572
|
+
/** Margins (% of the frame) where no face is drawn. */
|
|
573
|
+
readonly zone?: Partial<VideoMaskZone> | null;
|
|
574
|
+
/**
|
|
575
|
+
* The depth map's colormap (Video Depth's `VIDEO_DEPTH_COLORMAPS`) when the
|
|
576
|
+
* lines go on a depth map: each line is then a colour OF that map — the map
|
|
577
|
+
* at the line's tone of the depth under it. Needs `depthUrl`, except
|
|
578
|
+
* `grayscale` (a gray depth clip is its own depth). Left out with a
|
|
579
|
+
* `depthUrl`: `grayscale`.
|
|
580
|
+
*/
|
|
581
|
+
readonly colormap?: VideoDepthColormap;
|
|
582
|
+
/**
|
|
583
|
+
* The GRAYSCALE depth render of the clip (Video Depth with `colormap:
|
|
584
|
+
* "grayscale"`, same frame count as `videoUrl`, any size): the depth each
|
|
585
|
+
* line's colour is read from. Left out (a blurred mask, a gray depth clip
|
|
586
|
+
* drawn on directly): each line is a gray tone of the pixel under it.
|
|
587
|
+
*/
|
|
588
|
+
readonly depthUrl?: string;
|
|
589
|
+
}
|
|
590
|
+
/** A finished `video-face-mesh` job's `output_data`. */
|
|
591
|
+
interface VideoFaceMeshOutput {
|
|
592
|
+
/** The drawn clip: `drawOnUrl`'s frame count, size and frame rate, its audio copied untouched. */
|
|
593
|
+
readonly videoUrl: string;
|
|
594
|
+
readonly width: number;
|
|
595
|
+
readonly height: number;
|
|
596
|
+
readonly frames: number;
|
|
597
|
+
/** Frames with at least one face drawn. */
|
|
598
|
+
readonly framesWithFaces: number;
|
|
599
|
+
/** Faces drawn, summed over the frames (0 = nothing drawn; the clip comes back as it was sent). */
|
|
600
|
+
readonly facesDrawn: number;
|
|
601
|
+
/** The map the lines were coloured from (a request with `depthUrl`); absent = gray tones of the pixel under them. */
|
|
602
|
+
readonly colormap?: VideoDepthColormap;
|
|
603
|
+
readonly recipe: string;
|
|
604
|
+
}
|
|
605
|
+
|
|
515
606
|
/**
|
|
516
607
|
* Generate Mask — text-prompted IMAGE segmentation (Grounded SAM). The wire
|
|
517
608
|
* contract of `POST /v1/generate-mask`, the `generate_mask` MCP verb, the SDK's
|
|
@@ -756,4 +847,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
756
847
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
757
848
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
758
849
|
|
|
759
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, 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_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, 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_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
850
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, 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_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, 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_LIMITS, 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 VideoFaceMeshOutput, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
package/dist/entries/media.d.ts
CHANGED
|
@@ -512,6 +512,97 @@ interface VideoMaskRequest {
|
|
|
512
512
|
readonly redetectEverySec?: number;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
+
/**
|
|
516
|
+
* Video Face Mesh (`POST /v1/video-face-mesh`, job type `video-face-mesh`):
|
|
517
|
+
* thin GRAY face lines — a wireframe, and darker eye and lip outlines, each a
|
|
518
|
+
* tone of the picture under it — drawn on the faces of a clip, frame for
|
|
519
|
+
* frame. An internal step of Nodaro Motion's face masking: the lines go on
|
|
520
|
+
* the masked (or depth) clip so the video model still sees where the mouth
|
|
521
|
+
* and the eyes are.
|
|
522
|
+
*
|
|
523
|
+
* Priced by the clip's length at the 30 fps basis Video Mask uses
|
|
524
|
+
* (`videoMaskBilledSeconds`), one row per length bucket.
|
|
525
|
+
*/
|
|
526
|
+
|
|
527
|
+
/** The route, as the Cast Swap engine calls it. */
|
|
528
|
+
declare const VIDEO_FACE_MESH_PATH = "/v1/video-face-mesh";
|
|
529
|
+
declare const VIDEO_FACE_MESH_LIMITS: {
|
|
530
|
+
/** The longest clip a run accepts, in seconds of PRICED length (the 30 fps basis): Video Mask's own cap. */
|
|
531
|
+
readonly MAX_BILLED_SEC: 300;
|
|
532
|
+
/** `minFaceHeightPct` / `maxFaceHeightPct` bounds (0 = off). */
|
|
533
|
+
readonly FACE_HEIGHT_PCT_MIN: 0;
|
|
534
|
+
readonly FACE_HEIGHT_PCT_MAX: 100;
|
|
535
|
+
/** `zone` margin bounds, as Video Mask's. */
|
|
536
|
+
readonly ZONE_MARGIN_PCT_MIN: 0;
|
|
537
|
+
readonly ZONE_MARGIN_PCT_MAX: 49;
|
|
538
|
+
};
|
|
539
|
+
/**
|
|
540
|
+
* The version of what a face mesh run draws for a given clip and settings:
|
|
541
|
+
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
542
|
+
* for the caller to record beside a clip it stores with the lines on it (a
|
|
543
|
+
* trend's approved face mask). Nothing on the platform compares it yet: a
|
|
544
|
+
* stored mask is held to Video Mask's recipe and the engine's own.
|
|
545
|
+
*
|
|
546
|
+
* BUMP IT (to the date of the change) whenever the drawing changes for the
|
|
547
|
+
* same input: the model, the crop, the smoothing, the filters, the colours or
|
|
548
|
+
* the widths. Never for pricing, limits or messages.
|
|
549
|
+
*/
|
|
550
|
+
declare const VIDEO_FACE_MESH_RECIPE = "2026-11-01";
|
|
551
|
+
/** Every price row, smallest first (`video-face-mesh:<n>s`). */
|
|
552
|
+
declare function videoFaceMeshCreditIds(): string[];
|
|
553
|
+
/**
|
|
554
|
+
* The price row for a clip priced at `billedSec` seconds: the smallest bucket
|
|
555
|
+
* that holds it. An unknown or non-positive length, or one past the cap,
|
|
556
|
+
* prices the LONGEST row (the route measures every clip and refuses one past
|
|
557
|
+
* the cap, so this is only ever a ceiling).
|
|
558
|
+
*/
|
|
559
|
+
declare function videoFaceMeshCreditId(billedSec: number | null | undefined): string;
|
|
560
|
+
/** `POST /v1/video-face-mesh` request body. */
|
|
561
|
+
interface VideoFaceMeshRequest {
|
|
562
|
+
/** The clip the faces are FOUND in (the original). */
|
|
563
|
+
readonly videoUrl: string;
|
|
564
|
+
/** The clip the lines are DRAWN on (default `videoUrl`): the masked or depth clip. Same frame count. */
|
|
565
|
+
readonly drawOnUrl?: string;
|
|
566
|
+
/** A mask video (white = covered, same frame count): only faces whose box centre lies inside it are drawn. */
|
|
567
|
+
readonly maskUrl?: string;
|
|
568
|
+
/** Draw only faces at least this % of the frame's height (default 0 = off). */
|
|
569
|
+
readonly minFaceHeightPct?: number;
|
|
570
|
+
/** Draw only faces at most this % of the frame's height (0 = no cap). */
|
|
571
|
+
readonly maxFaceHeightPct?: number;
|
|
572
|
+
/** Margins (% of the frame) where no face is drawn. */
|
|
573
|
+
readonly zone?: Partial<VideoMaskZone> | null;
|
|
574
|
+
/**
|
|
575
|
+
* The depth map's colormap (Video Depth's `VIDEO_DEPTH_COLORMAPS`) when the
|
|
576
|
+
* lines go on a depth map: each line is then a colour OF that map — the map
|
|
577
|
+
* at the line's tone of the depth under it. Needs `depthUrl`, except
|
|
578
|
+
* `grayscale` (a gray depth clip is its own depth). Left out with a
|
|
579
|
+
* `depthUrl`: `grayscale`.
|
|
580
|
+
*/
|
|
581
|
+
readonly colormap?: VideoDepthColormap;
|
|
582
|
+
/**
|
|
583
|
+
* The GRAYSCALE depth render of the clip (Video Depth with `colormap:
|
|
584
|
+
* "grayscale"`, same frame count as `videoUrl`, any size): the depth each
|
|
585
|
+
* line's colour is read from. Left out (a blurred mask, a gray depth clip
|
|
586
|
+
* drawn on directly): each line is a gray tone of the pixel under it.
|
|
587
|
+
*/
|
|
588
|
+
readonly depthUrl?: string;
|
|
589
|
+
}
|
|
590
|
+
/** A finished `video-face-mesh` job's `output_data`. */
|
|
591
|
+
interface VideoFaceMeshOutput {
|
|
592
|
+
/** The drawn clip: `drawOnUrl`'s frame count, size and frame rate, its audio copied untouched. */
|
|
593
|
+
readonly videoUrl: string;
|
|
594
|
+
readonly width: number;
|
|
595
|
+
readonly height: number;
|
|
596
|
+
readonly frames: number;
|
|
597
|
+
/** Frames with at least one face drawn. */
|
|
598
|
+
readonly framesWithFaces: number;
|
|
599
|
+
/** Faces drawn, summed over the frames (0 = nothing drawn; the clip comes back as it was sent). */
|
|
600
|
+
readonly facesDrawn: number;
|
|
601
|
+
/** The map the lines were coloured from (a request with `depthUrl`); absent = gray tones of the pixel under them. */
|
|
602
|
+
readonly colormap?: VideoDepthColormap;
|
|
603
|
+
readonly recipe: string;
|
|
604
|
+
}
|
|
605
|
+
|
|
515
606
|
/**
|
|
516
607
|
* Generate Mask — text-prompted IMAGE segmentation (Grounded SAM). The wire
|
|
517
608
|
* contract of `POST /v1/generate-mask`, the `generate_mask` MCP verb, the SDK's
|
|
@@ -756,4 +847,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
756
847
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
757
848
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
758
849
|
|
|
759
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, 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_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, 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_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
|
850
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, DEFAULT_VIDEO_MASK_PROVIDER, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, 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_UNIT_SEC, type MaskCompositeAudioSource, type MaskCompositeBackgroundFit, type MaskCompositeFill, type MaskCompositeRequest, type MaskCompositeSettings, type MaskRegionDescriptor, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, 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_LIMITS, 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 VideoFaceMeshOutput, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|
package/dist/entries/media.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-
|
|
1
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-DSSPAET7.js';
|
|
2
2
|
export { DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, isRtlText, overlayFontById, overlayImageEffectsSchema, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema } from '../chunk-ZNZDQAXN.js';
|
|
3
3
|
export { FAL_VIDEO_DEPTH_PROVIDERS, REPLICATE_VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, checkVideoDepthLength, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass } from '../chunk-3RYKIUAE.js';
|
|
4
4
|
export { OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_VARIANT_HANDLE_PREFIX, overlayPlatformById, overlayVariantHandle, overlayVariantIdFromHandle } from '../chunk-5THUHJ3E.js';
|