@nodaro/shared 3.50.0 → 3.52.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-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-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-MFM7XRFO.js → chunk-KWC53X5Q.js} +5 -4
- package/dist/chunk-KWC53X5Q.js.map +1 -0
- 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-HLPRXII4.cjs → chunk-N2KMFVHU.cjs} +5 -3
- package/dist/chunk-N2KMFVHU.cjs.map +1 -0
- 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 +59 -55
- package/dist/entries/media.d.cts +42 -6
- package/dist/entries/media.d.ts +42 -6
- 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 +1515 -1511
- 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 +7 -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 +43 -5
- 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-HLPRXII4.cjs.map +0 -1
- package/dist/chunk-HPT244UT.cjs.map +0 -1
- package/dist/chunk-HSJU5KNR.cjs.map +0 -1
- package/dist/chunk-MFM7XRFO.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 chunkN2KMFVHU_cjs = require('../chunk-N2KMFVHU.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,219 +9,223 @@ 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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_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 chunkN2KMFVHU_cjs.NODARO_RESET_PROJECT; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
107
|
+
enumerable: true,
|
|
108
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
105
109
|
});
|
|
106
110
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
107
111
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_FACE_MESH_PATH; }
|
|
109
113
|
});
|
|
110
114
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
111
115
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
113
117
|
});
|
|
114
118
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
115
119
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_MASK_DEFAULTS; }
|
|
117
121
|
});
|
|
118
122
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
119
123
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_MASK_LIMITS; }
|
|
121
125
|
});
|
|
122
126
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
123
127
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_MASK_PROVIDERS; }
|
|
125
129
|
});
|
|
126
130
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
127
131
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkN2KMFVHU_cjs.VIDEO_MASK_RECIPE; }
|
|
129
133
|
});
|
|
130
134
|
Object.defineProperty(exports, "applySlots", {
|
|
131
135
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkN2KMFVHU_cjs.applySlots; }
|
|
133
137
|
});
|
|
134
138
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
135
139
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunkN2KMFVHU_cjs.deriveLottieSlotFields; }
|
|
137
141
|
});
|
|
138
142
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
139
143
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunkN2KMFVHU_cjs.describeMaskRegion; }
|
|
141
145
|
});
|
|
142
146
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
143
147
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunkN2KMFVHU_cjs.describeSlotControl; }
|
|
145
149
|
});
|
|
146
150
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
147
151
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunkN2KMFVHU_cjs.hexToRgbaArray; }
|
|
149
153
|
});
|
|
150
154
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
151
155
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunkN2KMFVHU_cjs.humanizeSlotSid; }
|
|
153
157
|
});
|
|
154
158
|
Object.defineProperty(exports, "listSlotSids", {
|
|
155
159
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunkN2KMFVHU_cjs.listSlotSids; }
|
|
157
161
|
});
|
|
158
162
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
159
163
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunkN2KMFVHU_cjs.maskCompositeEffectiveAudioSource; }
|
|
161
165
|
});
|
|
162
166
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
163
167
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunkN2KMFVHU_cjs.maskCompositeFillOf; }
|
|
165
169
|
});
|
|
166
170
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
167
171
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunkN2KMFVHU_cjs.maskCompositeLeadHandle; }
|
|
169
173
|
});
|
|
170
174
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
171
175
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunkN2KMFVHU_cjs.maskCompositeUnits; }
|
|
173
177
|
});
|
|
174
178
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
175
179
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunkN2KMFVHU_cjs.maskCompositeUsesForeground; }
|
|
177
181
|
});
|
|
178
182
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
179
183
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunkN2KMFVHU_cjs.normalizeLottieLayers; }
|
|
181
185
|
});
|
|
182
186
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
183
187
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunkN2KMFVHU_cjs.resolveLottieOverlaySrc; }
|
|
185
189
|
});
|
|
186
190
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
187
191
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunkN2KMFVHU_cjs.resolveMaskCompositeSettings; }
|
|
189
193
|
});
|
|
190
194
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
191
195
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunkN2KMFVHU_cjs.resolveVideoMaskProvider; }
|
|
193
197
|
});
|
|
194
198
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
195
199
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunkN2KMFVHU_cjs.resolveVideoMaskRedetectSec; }
|
|
197
201
|
});
|
|
198
202
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
199
203
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunkN2KMFVHU_cjs.resolveVideoMaskZone; }
|
|
201
205
|
});
|
|
202
206
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
203
207
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunkN2KMFVHU_cjs.rgbaArrayToHex; }
|
|
205
209
|
});
|
|
206
210
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
207
211
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunkN2KMFVHU_cjs.videoFaceMeshCreditId; }
|
|
209
213
|
});
|
|
210
214
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
211
215
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunkN2KMFVHU_cjs.videoFaceMeshCreditIds; }
|
|
213
217
|
});
|
|
214
218
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
215
219
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunkN2KMFVHU_cjs.videoMaskBilledSeconds; }
|
|
217
221
|
});
|
|
218
222
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
219
223
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunkN2KMFVHU_cjs.videoMaskCreditId; }
|
|
221
225
|
});
|
|
222
226
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
223
227
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunkN2KMFVHU_cjs.videoMaskCreditIds; }
|
|
225
229
|
});
|
|
226
230
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
227
231
|
enumerable: true,
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -514,10 +514,12 @@ interface VideoMaskRequest {
|
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* Video Face Mesh (`POST /v1/video-face-mesh`, job type `video-face-mesh`):
|
|
517
|
-
* thin face lines — a
|
|
518
|
-
* drawn on the faces of a clip, frame for
|
|
519
|
-
* Motion's face masking: the lines go on
|
|
520
|
-
* video model still sees where the mouth
|
|
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. A request may draw only the eye and lip outlines, or
|
|
522
|
+
* only the lip outline (`parts`).
|
|
521
523
|
*
|
|
522
524
|
* Priced by the clip's length at the 30 fps basis Video Mask uses
|
|
523
525
|
* (`videoMaskBilledSeconds`), one row per length bucket.
|
|
@@ -535,6 +537,14 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
535
537
|
readonly ZONE_MARGIN_PCT_MIN: 0;
|
|
536
538
|
readonly ZONE_MARGIN_PCT_MAX: 49;
|
|
537
539
|
};
|
|
540
|
+
/**
|
|
541
|
+
* What a face mesh run draws on each face (`VideoFaceMeshRequest.parts`):
|
|
542
|
+
* `"full"` (the default) the thin wireframe and the darker eye and lip
|
|
543
|
+
* outlines; `"features"` the eye outlines and the lip outline only, no
|
|
544
|
+
* wireframe; `"mouth"` the lip outline only.
|
|
545
|
+
*/
|
|
546
|
+
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth"];
|
|
547
|
+
type VideoFaceMeshParts = (typeof VIDEO_FACE_MESH_PARTS)[number];
|
|
538
548
|
/**
|
|
539
549
|
* The version of what a face mesh run draws for a given clip and settings:
|
|
540
550
|
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
@@ -546,7 +556,7 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
546
556
|
* same input: the model, the crop, the smoothing, the filters, the colours or
|
|
547
557
|
* the widths. Never for pricing, limits or messages.
|
|
548
558
|
*/
|
|
549
|
-
declare const VIDEO_FACE_MESH_RECIPE = "2026-
|
|
559
|
+
declare const VIDEO_FACE_MESH_RECIPE = "2026-11-01";
|
|
550
560
|
/** Every price row, smallest first (`video-face-mesh:<n>s`). */
|
|
551
561
|
declare function videoFaceMeshCreditIds(): string[];
|
|
552
562
|
/**
|
|
@@ -570,6 +580,28 @@ interface VideoFaceMeshRequest {
|
|
|
570
580
|
readonly maxFaceHeightPct?: number;
|
|
571
581
|
/** Margins (% of the frame) where no face is drawn. */
|
|
572
582
|
readonly zone?: Partial<VideoMaskZone> | null;
|
|
583
|
+
/**
|
|
584
|
+
* The depth map's colormap (Video Depth's `VIDEO_DEPTH_COLORMAPS`) when the
|
|
585
|
+
* lines go on a depth map: each line is then a colour OF that map — the map
|
|
586
|
+
* at the line's tone of the depth under it. Needs `depthUrl`, except
|
|
587
|
+
* `grayscale` (a gray depth clip is its own depth). Left out with a
|
|
588
|
+
* `depthUrl`: `grayscale`.
|
|
589
|
+
*/
|
|
590
|
+
readonly colormap?: VideoDepthColormap;
|
|
591
|
+
/**
|
|
592
|
+
* The GRAYSCALE depth render of the clip (Video Depth with `colormap:
|
|
593
|
+
* "grayscale"`, same frame count as `videoUrl`, any size): the depth each
|
|
594
|
+
* line's colour is read from. Left out (a blurred mask, a gray depth clip
|
|
595
|
+
* drawn on directly): each line is a gray tone of the pixel under it.
|
|
596
|
+
*/
|
|
597
|
+
readonly depthUrl?: string;
|
|
598
|
+
/**
|
|
599
|
+
* What is drawn on each face (`VIDEO_FACE_MESH_PARTS`): left out or
|
|
600
|
+
* `"full"`, the wireframe and the eye and lip outlines; `"features"`, the
|
|
601
|
+
* eye and lip outlines only; `"mouth"`, the lip outline only. The outlines
|
|
602
|
+
* are drawn as they are in the full mesh (the same tone and width).
|
|
603
|
+
*/
|
|
604
|
+
readonly parts?: VideoFaceMeshParts;
|
|
573
605
|
}
|
|
574
606
|
/** A finished `video-face-mesh` job's `output_data`. */
|
|
575
607
|
interface VideoFaceMeshOutput {
|
|
@@ -582,6 +614,10 @@ interface VideoFaceMeshOutput {
|
|
|
582
614
|
readonly framesWithFaces: number;
|
|
583
615
|
/** Faces drawn, summed over the frames (0 = nothing drawn; the clip comes back as it was sent). */
|
|
584
616
|
readonly facesDrawn: number;
|
|
617
|
+
/** The map the lines were coloured from (a request with `depthUrl`); absent = gray tones of the pixel under them. */
|
|
618
|
+
readonly colormap?: VideoDepthColormap;
|
|
619
|
+
/** What was drawn when it was not the full mesh (a request with `parts` `"features"` or `"mouth"`); absent = the full mesh. */
|
|
620
|
+
readonly parts?: Exclude<VideoFaceMeshParts, "full">;
|
|
585
621
|
readonly recipe: string;
|
|
586
622
|
}
|
|
587
623
|
|
|
@@ -829,4 +865,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
829
865
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
830
866
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
831
867
|
|
|
832
|
-
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 };
|
|
868
|
+
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_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 VideoFaceMeshOutput, type VideoFaceMeshParts, 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
|
@@ -514,10 +514,12 @@ interface VideoMaskRequest {
|
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* Video Face Mesh (`POST /v1/video-face-mesh`, job type `video-face-mesh`):
|
|
517
|
-
* thin face lines — a
|
|
518
|
-
* drawn on the faces of a clip, frame for
|
|
519
|
-
* Motion's face masking: the lines go on
|
|
520
|
-
* video model still sees where the mouth
|
|
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. A request may draw only the eye and lip outlines, or
|
|
522
|
+
* only the lip outline (`parts`).
|
|
521
523
|
*
|
|
522
524
|
* Priced by the clip's length at the 30 fps basis Video Mask uses
|
|
523
525
|
* (`videoMaskBilledSeconds`), one row per length bucket.
|
|
@@ -535,6 +537,14 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
535
537
|
readonly ZONE_MARGIN_PCT_MIN: 0;
|
|
536
538
|
readonly ZONE_MARGIN_PCT_MAX: 49;
|
|
537
539
|
};
|
|
540
|
+
/**
|
|
541
|
+
* What a face mesh run draws on each face (`VideoFaceMeshRequest.parts`):
|
|
542
|
+
* `"full"` (the default) the thin wireframe and the darker eye and lip
|
|
543
|
+
* outlines; `"features"` the eye outlines and the lip outline only, no
|
|
544
|
+
* wireframe; `"mouth"` the lip outline only.
|
|
545
|
+
*/
|
|
546
|
+
declare const VIDEO_FACE_MESH_PARTS: readonly ["full", "features", "mouth"];
|
|
547
|
+
type VideoFaceMeshParts = (typeof VIDEO_FACE_MESH_PARTS)[number];
|
|
538
548
|
/**
|
|
539
549
|
* The version of what a face mesh run draws for a given clip and settings:
|
|
540
550
|
* every finished `video-face-mesh` job reports it as `output_data.recipe`,
|
|
@@ -546,7 +556,7 @@ declare const VIDEO_FACE_MESH_LIMITS: {
|
|
|
546
556
|
* same input: the model, the crop, the smoothing, the filters, the colours or
|
|
547
557
|
* the widths. Never for pricing, limits or messages.
|
|
548
558
|
*/
|
|
549
|
-
declare const VIDEO_FACE_MESH_RECIPE = "2026-
|
|
559
|
+
declare const VIDEO_FACE_MESH_RECIPE = "2026-11-01";
|
|
550
560
|
/** Every price row, smallest first (`video-face-mesh:<n>s`). */
|
|
551
561
|
declare function videoFaceMeshCreditIds(): string[];
|
|
552
562
|
/**
|
|
@@ -570,6 +580,28 @@ interface VideoFaceMeshRequest {
|
|
|
570
580
|
readonly maxFaceHeightPct?: number;
|
|
571
581
|
/** Margins (% of the frame) where no face is drawn. */
|
|
572
582
|
readonly zone?: Partial<VideoMaskZone> | null;
|
|
583
|
+
/**
|
|
584
|
+
* The depth map's colormap (Video Depth's `VIDEO_DEPTH_COLORMAPS`) when the
|
|
585
|
+
* lines go on a depth map: each line is then a colour OF that map — the map
|
|
586
|
+
* at the line's tone of the depth under it. Needs `depthUrl`, except
|
|
587
|
+
* `grayscale` (a gray depth clip is its own depth). Left out with a
|
|
588
|
+
* `depthUrl`: `grayscale`.
|
|
589
|
+
*/
|
|
590
|
+
readonly colormap?: VideoDepthColormap;
|
|
591
|
+
/**
|
|
592
|
+
* The GRAYSCALE depth render of the clip (Video Depth with `colormap:
|
|
593
|
+
* "grayscale"`, same frame count as `videoUrl`, any size): the depth each
|
|
594
|
+
* line's colour is read from. Left out (a blurred mask, a gray depth clip
|
|
595
|
+
* drawn on directly): each line is a gray tone of the pixel under it.
|
|
596
|
+
*/
|
|
597
|
+
readonly depthUrl?: string;
|
|
598
|
+
/**
|
|
599
|
+
* What is drawn on each face (`VIDEO_FACE_MESH_PARTS`): left out or
|
|
600
|
+
* `"full"`, the wireframe and the eye and lip outlines; `"features"`, the
|
|
601
|
+
* eye and lip outlines only; `"mouth"`, the lip outline only. The outlines
|
|
602
|
+
* are drawn as they are in the full mesh (the same tone and width).
|
|
603
|
+
*/
|
|
604
|
+
readonly parts?: VideoFaceMeshParts;
|
|
573
605
|
}
|
|
574
606
|
/** A finished `video-face-mesh` job's `output_data`. */
|
|
575
607
|
interface VideoFaceMeshOutput {
|
|
@@ -582,6 +614,10 @@ interface VideoFaceMeshOutput {
|
|
|
582
614
|
readonly framesWithFaces: number;
|
|
583
615
|
/** Faces drawn, summed over the frames (0 = nothing drawn; the clip comes back as it was sent). */
|
|
584
616
|
readonly facesDrawn: number;
|
|
617
|
+
/** The map the lines were coloured from (a request with `depthUrl`); absent = gray tones of the pixel under them. */
|
|
618
|
+
readonly colormap?: VideoDepthColormap;
|
|
619
|
+
/** What was drawn when it was not the full mesh (a request with `parts` `"features"` or `"mouth"`); absent = the full mesh. */
|
|
620
|
+
readonly parts?: Exclude<VideoFaceMeshParts, "full">;
|
|
585
621
|
readonly recipe: string;
|
|
586
622
|
}
|
|
587
623
|
|
|
@@ -829,4 +865,4 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
829
865
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
830
866
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
831
867
|
|
|
832
|
-
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 };
|
|
868
|
+
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_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 VideoFaceMeshOutput, type VideoFaceMeshParts, 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_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-
|
|
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_PARTS, 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-KWC53X5Q.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';
|