@nodaro/shared 3.63.0 → 3.65.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-3K24DWOH.js → chunk-222QM7CO.js} +3 -3
- package/dist/{chunk-3K24DWOH.js.map → chunk-222QM7CO.js.map} +1 -1
- package/dist/chunk-27HA6YOL.cjs +377 -0
- package/dist/chunk-27HA6YOL.cjs.map +1 -0
- package/dist/{chunk-4DVWXEB6.js → chunk-2NKF476Z.js} +3 -3
- package/dist/{chunk-4DVWXEB6.js.map → chunk-2NKF476Z.js.map} +1 -1
- package/dist/chunk-3AU52TSW.js +143 -0
- package/dist/chunk-3AU52TSW.js.map +1 -0
- package/dist/{chunk-F6WGGYQW.cjs → chunk-5NVGKXJV.cjs} +68 -29
- package/dist/chunk-5NVGKXJV.cjs.map +1 -0
- package/dist/{chunk-HWQ2SYNA.js → chunk-5SSMPYE5.js} +99 -9
- package/dist/chunk-5SSMPYE5.js.map +1 -0
- package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
- package/dist/chunk-6BRWPJPP.cjs.map +1 -0
- package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
- package/dist/chunk-6ET3KDO4.cjs.map +1 -0
- package/dist/{chunk-TM5JYSJF.cjs → chunk-6OSIOVF7.cjs} +98 -37
- package/dist/chunk-6OSIOVF7.cjs.map +1 -0
- package/dist/{chunk-YUER7TJG.js → chunk-6X5PBAC4.js} +13 -4
- package/dist/chunk-6X5PBAC4.js.map +1 -0
- package/dist/chunk-7BN4EDIC.cjs +185 -0
- package/dist/chunk-7BN4EDIC.cjs.map +1 -0
- package/dist/{chunk-6M563QE6.js → chunk-7OWXHW7Z.js} +78 -28
- package/dist/chunk-7OWXHW7Z.js.map +1 -0
- package/dist/{chunk-FXGNRYQQ.js → chunk-AT53ZQUC.js} +3 -3
- package/dist/{chunk-FXGNRYQQ.js.map → chunk-AT53ZQUC.js.map} +1 -1
- package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
- package/dist/chunk-BQYCZLMF.js.map +1 -0
- package/dist/{chunk-34QLPTSA.js → chunk-BSTAAGLY.js} +3 -3
- package/dist/{chunk-34QLPTSA.js.map → chunk-BSTAAGLY.js.map} +1 -1
- package/dist/{chunk-PSKZKLDG.js → chunk-CW6MMQNO.js} +562 -26
- package/dist/chunk-CW6MMQNO.js.map +1 -0
- package/dist/{chunk-EPXGG27L.js → chunk-D5Y3EYRM.js} +5 -5
- package/dist/{chunk-EPXGG27L.js.map → chunk-D5Y3EYRM.js.map} +1 -1
- package/dist/{chunk-XGVJGNZW.cjs → chunk-DQ2PARNH.cjs} +15 -5
- package/dist/chunk-DQ2PARNH.cjs.map +1 -0
- package/dist/{chunk-6BZC2ZHC.cjs → chunk-E66HSC2E.cjs} +9 -9
- package/dist/{chunk-6BZC2ZHC.cjs.map → chunk-E66HSC2E.cjs.map} +1 -1
- package/dist/{chunk-NIAFR5EE.js → chunk-FGBGKBML.js} +32 -3
- package/dist/chunk-FGBGKBML.js.map +1 -0
- package/dist/{chunk-M5OCFGHF.cjs → chunk-FI3HJZWM.cjs} +588 -25
- package/dist/chunk-FI3HJZWM.cjs.map +1 -0
- package/dist/{chunk-L2TVY6XN.cjs → chunk-FJZTQTF4.cjs} +4 -4
- package/dist/{chunk-L2TVY6XN.cjs.map → chunk-FJZTQTF4.cjs.map} +1 -1
- package/dist/{chunk-XGGZWA4A.cjs → chunk-GJ3D5X4X.cjs} +52 -49
- package/dist/chunk-GJ3D5X4X.cjs.map +1 -0
- package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
- package/dist/chunk-H5KHWTAE.js.map +1 -0
- package/dist/{chunk-MD4XHED4.js → chunk-H745DQ6V.js} +3 -3
- package/dist/{chunk-MD4XHED4.js.map → chunk-H745DQ6V.js.map} +1 -1
- package/dist/{chunk-KCZHQH2O.js → chunk-HAH2F7LT.js} +4 -4
- package/dist/{chunk-KCZHQH2O.js.map → chunk-HAH2F7LT.js.map} +1 -1
- package/dist/{chunk-V5EEQR2U.cjs → chunk-JQMFJAYU.cjs} +21 -21
- package/dist/{chunk-V5EEQR2U.cjs.map → chunk-JQMFJAYU.cjs.map} +1 -1
- package/dist/{chunk-WZVIBAKN.cjs → chunk-JYU5EIRM.cjs} +12 -12
- package/dist/{chunk-WZVIBAKN.cjs.map → chunk-JYU5EIRM.cjs.map} +1 -1
- package/dist/{chunk-Y35JQPT6.cjs → chunk-K6RIN3LW.cjs} +142 -45
- package/dist/chunk-K6RIN3LW.cjs.map +1 -0
- package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
- package/dist/chunk-KSHAAPQF.cjs.map +1 -0
- package/dist/{chunk-2PU3AGGS.cjs → chunk-KTCEKGBJ.cjs} +7 -7
- package/dist/{chunk-2PU3AGGS.cjs.map → chunk-KTCEKGBJ.cjs.map} +1 -1
- package/dist/{chunk-LH72PQO2.cjs → chunk-KWYS4IIM.cjs} +165 -50
- package/dist/chunk-KWYS4IIM.cjs.map +1 -0
- package/dist/{chunk-GSKLPI3J.cjs → chunk-MIT2USTS.cjs} +118 -61
- package/dist/chunk-MIT2USTS.cjs.map +1 -0
- package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
- package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
- package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
- package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
- package/dist/{chunk-X5BAFW3Q.cjs → chunk-PGDR7CO3.cjs} +8 -8
- package/dist/{chunk-X5BAFW3Q.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
- package/dist/{chunk-OV3JTKBY.js → chunk-PL7AQQV7.js} +123 -22
- package/dist/chunk-PL7AQQV7.js.map +1 -0
- package/dist/chunk-Q4YOLT4M.js +164 -0
- package/dist/chunk-Q4YOLT4M.js.map +1 -0
- package/dist/{chunk-GMBDLNLD.cjs → chunk-R5ILCNCC.cjs} +197 -60
- package/dist/chunk-R5ILCNCC.cjs.map +1 -0
- package/dist/chunk-RP4KQUNU.cjs +168 -0
- package/dist/chunk-RP4KQUNU.cjs.map +1 -0
- package/dist/{chunk-77WU3V3J.cjs → chunk-SPU7MUWE.cjs} +6 -6
- package/dist/{chunk-77WU3V3J.cjs.map → chunk-SPU7MUWE.cjs.map} +1 -1
- package/dist/{chunk-XBTYGQ6Z.js → chunk-ST7OBB5J.js} +8 -5
- package/dist/chunk-ST7OBB5J.js.map +1 -0
- package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
- package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
- package/dist/{chunk-BMJVKYVB.js → chunk-V5NLQ4L5.js} +123 -7
- package/dist/chunk-V5NLQ4L5.js.map +1 -0
- package/dist/{chunk-KMGCHV6O.js → chunk-V6OXSXIX.js} +63 -30
- package/dist/chunk-V6OXSXIX.js.map +1 -0
- package/dist/{chunk-LMAQUR55.cjs → chunk-WQMPIURW.cjs} +6 -6
- package/dist/{chunk-LMAQUR55.cjs.map → chunk-WQMPIURW.cjs.map} +1 -1
- package/dist/{chunk-ZPE2ZTJ4.cjs → chunk-WZG6GZIL.cjs} +4 -4
- package/dist/{chunk-ZPE2ZTJ4.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
- package/dist/{chunk-AE3AAJ4O.js → chunk-XJANKTIL.js} +3 -3
- package/dist/{chunk-AE3AAJ4O.js.map → chunk-XJANKTIL.js.map} +1 -1
- package/dist/{chunk-O7RZRUMZ.js → chunk-XJWED257.js} +14 -309
- package/dist/chunk-XJWED257.js.map +1 -0
- package/dist/chunk-XSSLNINL.js +346 -0
- package/dist/chunk-XSSLNINL.js.map +1 -0
- package/dist/{chunk-6TGB7ECA.cjs → chunk-YD4XY74W.cjs} +12 -8
- package/dist/chunk-YD4XY74W.cjs.map +1 -0
- package/dist/{chunk-YX6TFX7H.js → chunk-YMZUE2IX.js} +66 -11
- package/dist/chunk-YMZUE2IX.js.map +1 -0
- package/dist/{chunk-4MMZD63H.js → chunk-Z77M7Q2R.js} +3 -3
- package/dist/{chunk-4MMZD63H.js.map → chunk-Z77M7Q2R.js.map} +1 -1
- package/dist/{chunk-CZ5IQB3L.js → chunk-ZSRXY5YT.js} +8 -5
- package/dist/chunk-ZSRXY5YT.js.map +1 -0
- package/dist/entries/apps.cjs +43 -42
- package/dist/entries/apps.js +8 -7
- package/dist/entries/captions.cjs +38 -30
- package/dist/entries/captions.d.cts +48 -2
- package/dist/entries/captions.d.ts +48 -2
- package/dist/entries/captions.js +1 -1
- package/dist/entries/credits.cjs +319 -191
- package/dist/entries/credits.d.cts +260 -19
- package/dist/entries/credits.d.ts +260 -19
- package/dist/entries/credits.js +11 -11
- package/dist/entries/entities.cjs +202 -193
- package/dist/entries/entities.d.cts +44 -9
- package/dist/entries/entities.d.ts +44 -9
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.cjs +86 -62
- package/dist/entries/llm-models.d.cts +73 -20
- package/dist/entries/llm-models.d.ts +73 -20
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +79 -63
- package/dist/entries/media.d.cts +154 -1
- package/dist/entries/media.d.ts +154 -1
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +205 -109
- package/dist/entries/model-catalog.d.cts +65 -58
- package/dist/entries/model-catalog.d.ts +65 -58
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +527 -346
- package/dist/entries/models.d.cts +86 -7
- package/dist/entries/models.d.ts +86 -7
- package/dist/entries/models.js +6 -5
- package/dist/entries/nodes.cjs +220 -211
- package/dist/entries/nodes.d.cts +46 -3
- package/dist/entries/nodes.d.ts +46 -3
- package/dist/entries/nodes.js +10 -9
- package/dist/entries/pipeline.cjs +156 -152
- package/dist/entries/pipeline.d.cts +14 -4
- package/dist/entries/pipeline.d.ts +14 -4
- 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 +174 -145
- package/dist/entries/video.d.cts +114 -2
- package/dist/entries/video.d.ts +114 -2
- package/dist/entries/video.js +7 -6
- package/dist/entries/workflow.cjs +150 -150
- package/dist/entries/workflow.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +2430 -1929
- package/dist/index.d.cts +13 -12
- package/dist/index.d.ts +13 -12
- package/dist/index.js +28 -27
- package/dist/{model-catalog-C_Eo35tL.d.cts → model-catalog-BoUKGFNl.d.cts} +182 -3
- package/dist/{model-catalog-C_Eo35tL.d.ts → model-catalog-BoUKGFNl.d.ts} +182 -3
- package/dist/{model-constants-DWcxOmaY.d.cts → model-constants-BElS3AeE.d.ts} +142 -23
- package/dist/{model-constants-Bg4ccSQb.d.ts → model-constants-CpQz1bGa.d.cts} +142 -23
- package/dist/tts-capabilities-BtnDWK9K.d.ts +133 -0
- package/dist/tts-capabilities-C52UccTI.d.cts +133 -0
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
- package/src/__tests__/dialogue-capabilities.test.ts +167 -6
- package/src/__tests__/extend-providers.test.ts +353 -26
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
- package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
- package/src/__tests__/flux-3-klein.test.ts +203 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
- package/src/__tests__/kling4-catalog.test.ts +1 -1
- package/src/__tests__/llm-models.test.ts +48 -13
- package/src/__tests__/llm-price-key.test.ts +12 -0
- package/src/__tests__/model-makers.test.ts +3 -0
- package/src/__tests__/node-runtime-keys.test.ts +7 -0
- package/src/__tests__/normalize-node-params.test.ts +147 -1
- package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
- package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
- package/src/__tests__/sequence-execution.test.ts +22 -1
- package/src/__tests__/speech-pricing.test.ts +62 -1
- package/src/__tests__/suno-credit-type.test.ts +21 -2
- package/src/__tests__/transcribe-capabilities.test.ts +4 -2
- package/src/__tests__/tts-capabilities.test.ts +160 -4
- package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
- package/src/__tests__/video-analysis-pricing.test.ts +22 -9
- package/src/__tests__/video-subjects.test.ts +192 -0
- package/src/__tests__/wired-character-names.test.ts +142 -0
- package/src/caption-styles.ts +62 -0
- package/src/credit-estimators/add-captions-nemotron.ts +73 -0
- package/src/credit-estimators/index.ts +14 -0
- package/src/credit-estimators/speech.ts +57 -9
- package/src/credit-identifiers.ts +284 -13
- package/src/dialogue-capabilities.ts +220 -3
- package/src/dubbing-structure.ts +186 -0
- package/src/entries/captions.ts +2 -0
- package/src/entries/credits.ts +25 -1
- package/src/entries/entities.ts +2 -0
- package/src/entries/llm-models.ts +7 -0
- package/src/entries/media.ts +3 -1
- package/src/entries/model-catalog.ts +30 -0
- package/src/entries/models.ts +54 -0
- package/src/entries/nodes.ts +2 -0
- package/src/entries/pipeline.ts +1 -1
- package/src/entries/video.ts +8 -1
- package/src/flux-3-klein.ts +69 -0
- package/src/gemini-tts.ts +144 -0
- package/src/input-image-pricing.ts +23 -6
- package/src/llm-models.ts +130 -36
- package/src/model-catalog.ts +539 -25
- package/src/model-constants.ts +247 -25
- package/src/node-default-mappings.ts +3 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +123 -2
- package/src/seedance-extend-rate.ts +116 -0
- package/src/sequence-execution.ts +24 -0
- package/src/transcribe-preflight.ts +23 -0
- package/src/tts-capabilities.ts +193 -1
- package/src/video-analysis-pricing.ts +39 -15
- package/src/video-character-refs.ts +160 -3
- package/src/wired-character-names.ts +134 -18
- package/src/wired-character-video-subjects.ts +63 -0
- package/dist/chunk-63H4C56Q.cjs +0 -38
- package/dist/chunk-63H4C56Q.cjs.map +0 -1
- package/dist/chunk-6M563QE6.js.map +0 -1
- package/dist/chunk-6TGB7ECA.cjs.map +0 -1
- package/dist/chunk-6XUG4L7X.cjs +0 -54
- package/dist/chunk-6XUG4L7X.cjs.map +0 -1
- package/dist/chunk-BLJUCPMV.cjs.map +0 -1
- package/dist/chunk-BMJVKYVB.js.map +0 -1
- package/dist/chunk-CZ5IQB3L.js.map +0 -1
- package/dist/chunk-F6WGGYQW.cjs.map +0 -1
- package/dist/chunk-GMBDLNLD.cjs.map +0 -1
- package/dist/chunk-GSKLPI3J.cjs.map +0 -1
- package/dist/chunk-HBXF6RUU.js +0 -31
- package/dist/chunk-HBXF6RUU.js.map +0 -1
- package/dist/chunk-HSHCCBIV.js.map +0 -1
- package/dist/chunk-HWQ2SYNA.js.map +0 -1
- package/dist/chunk-IY3Y462W.js +0 -42
- package/dist/chunk-IY3Y462W.js.map +0 -1
- package/dist/chunk-KHH54GRP.cjs.map +0 -1
- package/dist/chunk-KMGCHV6O.js.map +0 -1
- package/dist/chunk-LH72PQO2.cjs.map +0 -1
- package/dist/chunk-M5OCFGHF.cjs.map +0 -1
- package/dist/chunk-NIAFR5EE.js.map +0 -1
- package/dist/chunk-O7RZRUMZ.js.map +0 -1
- package/dist/chunk-OV3JTKBY.js.map +0 -1
- package/dist/chunk-PSKZKLDG.js.map +0 -1
- package/dist/chunk-Q6IES3U2.js.map +0 -1
- package/dist/chunk-TM5JYSJF.cjs.map +0 -1
- package/dist/chunk-WRSWH7US.cjs.map +0 -1
- package/dist/chunk-XBTYGQ6Z.js.map +0 -1
- package/dist/chunk-XGGZWA4A.cjs.map +0 -1
- package/dist/chunk-XGVJGNZW.cjs.map +0 -1
- package/dist/chunk-Y35JQPT6.cjs.map +0 -1
- package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
- package/dist/chunk-YUER7TJG.js.map +0 -1
- package/dist/chunk-YX6TFX7H.js.map +0 -1
package/dist/entries/media.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNYZQOIXJ_cjs = require('../chunk-NYZQOIXJ.cjs');
|
|
4
4
|
var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
|
|
5
5
|
var chunk6FQBKI2A_cjs = require('../chunk-6FQBKI2A.cjs');
|
|
6
6
|
var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
@@ -10,251 +10,267 @@ var chunkALRXY4QH_cjs = require('../chunk-ALRXY4QH.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESETS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESET_LABELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_PRESET_SET; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNYZQOIXJ_cjs.AUDIO_FX_REVERB_PRESETS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkNYZQOIXJ_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "DUBBING_CAPTION_FORMATS", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_CAPTION_FORMATS; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "DUBBING_ERROR_CODES", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_ERROR_CODES; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "DUBBING_LANGUAGE_STATUSES", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_LANGUAGE_STATUSES; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "DUBBING_SOURCE_LANGUAGE", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_SOURCE_LANGUAGE; }
|
|
30
46
|
});
|
|
31
47
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
32
48
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
34
50
|
});
|
|
35
51
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
36
52
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
38
54
|
});
|
|
39
55
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
40
56
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_READY; }
|
|
42
58
|
});
|
|
43
59
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
44
60
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_REQUEST_IMPORT; }
|
|
46
62
|
});
|
|
47
63
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
48
64
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkNYZQOIXJ_cjs.GENERATE_MASK_LIMITS; }
|
|
50
66
|
});
|
|
51
67
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
52
68
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkNYZQOIXJ_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
54
70
|
});
|
|
55
71
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
56
72
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
58
74
|
});
|
|
59
75
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
60
76
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
62
78
|
});
|
|
63
79
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
64
80
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
66
82
|
});
|
|
67
83
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
68
84
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
70
86
|
});
|
|
71
87
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
72
88
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
74
90
|
});
|
|
75
91
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
76
92
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
78
94
|
});
|
|
79
95
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
80
96
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_FILLS; }
|
|
82
98
|
});
|
|
83
99
|
Object.defineProperty(exports, "MASK_COMPOSITE_REMEASURE_SLACK_SEC", {
|
|
84
100
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
|
|
86
102
|
});
|
|
87
103
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
88
104
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
90
106
|
});
|
|
91
107
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
92
108
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_IMPORT_FILES; }
|
|
94
110
|
});
|
|
95
111
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
96
112
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_TIMELINE; }
|
|
98
114
|
});
|
|
99
115
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
100
116
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_VIDEO; }
|
|
102
118
|
});
|
|
103
119
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
104
120
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_RESET_PROJECT; }
|
|
106
122
|
});
|
|
107
123
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
|
|
108
124
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LAYERS; }
|
|
110
126
|
});
|
|
111
127
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
112
128
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
114
130
|
});
|
|
115
131
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
|
|
116
132
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
|
|
118
134
|
});
|
|
119
135
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
120
136
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
122
138
|
});
|
|
123
139
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
124
140
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PATH; }
|
|
126
142
|
});
|
|
127
143
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
128
144
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
130
146
|
});
|
|
131
147
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
132
148
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_DEFAULTS; }
|
|
134
150
|
});
|
|
135
151
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
136
152
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_LIMITS; }
|
|
138
154
|
});
|
|
139
155
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
140
156
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_PROVIDERS; }
|
|
142
158
|
});
|
|
143
159
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
144
160
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_RECIPE; }
|
|
146
162
|
});
|
|
147
163
|
Object.defineProperty(exports, "applySlots", {
|
|
148
164
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkNYZQOIXJ_cjs.applySlots; }
|
|
150
166
|
});
|
|
151
167
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
152
168
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkNYZQOIXJ_cjs.deriveLottieSlotFields; }
|
|
154
170
|
});
|
|
155
171
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
156
172
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkNYZQOIXJ_cjs.describeMaskRegion; }
|
|
158
174
|
});
|
|
159
175
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
160
176
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkNYZQOIXJ_cjs.describeSlotControl; }
|
|
162
178
|
});
|
|
163
179
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
164
180
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkNYZQOIXJ_cjs.hexToRgbaArray; }
|
|
166
182
|
});
|
|
167
183
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
168
184
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkNYZQOIXJ_cjs.humanizeSlotSid; }
|
|
170
186
|
});
|
|
171
187
|
Object.defineProperty(exports, "listSlotSids", {
|
|
172
188
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkNYZQOIXJ_cjs.listSlotSids; }
|
|
174
190
|
});
|
|
175
191
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
176
192
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeEffectiveAudioSource; }
|
|
178
194
|
});
|
|
179
195
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
180
196
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeFillOf; }
|
|
182
198
|
});
|
|
183
199
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
184
200
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeLeadHandle; }
|
|
186
202
|
});
|
|
187
203
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
188
204
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUnits; }
|
|
190
206
|
});
|
|
191
207
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
192
208
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUsesForeground; }
|
|
194
210
|
});
|
|
195
211
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
196
212
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkNYZQOIXJ_cjs.normalizeLottieLayers; }
|
|
198
214
|
});
|
|
199
215
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
200
216
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveLottieOverlaySrc; }
|
|
202
218
|
});
|
|
203
219
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
204
220
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveMaskCompositeSettings; }
|
|
206
222
|
});
|
|
207
223
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
208
224
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskProvider; }
|
|
210
226
|
});
|
|
211
227
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
212
228
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskRedetectSec; }
|
|
214
230
|
});
|
|
215
231
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
216
232
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskZone; }
|
|
218
234
|
});
|
|
219
235
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
220
236
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkNYZQOIXJ_cjs.rgbaArrayToHex; }
|
|
222
238
|
});
|
|
223
239
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
224
240
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditId; }
|
|
226
242
|
});
|
|
227
243
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
228
244
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditIds; }
|
|
230
246
|
});
|
|
231
247
|
Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
|
|
232
248
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersDrawLines; }
|
|
234
250
|
});
|
|
235
251
|
Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
|
|
236
252
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOfParts; }
|
|
238
254
|
});
|
|
239
255
|
Object.defineProperty(exports, "videoFaceMeshLayersOn", {
|
|
240
256
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOn; }
|
|
242
258
|
});
|
|
243
259
|
Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
|
|
244
260
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshPartsOfLayers; }
|
|
246
262
|
});
|
|
247
263
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
248
264
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskBilledSeconds; }
|
|
250
266
|
});
|
|
251
267
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
252
268
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditId; }
|
|
254
270
|
});
|
|
255
271
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
256
272
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditIds; }
|
|
258
274
|
});
|
|
259
275
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
260
276
|
enumerable: true,
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -911,4 +911,157 @@ declare function overlayVariantHandle(platformId: string): string;
|
|
|
911
911
|
/** The platform id a variant handle names, or null for any other handle. */
|
|
912
912
|
declare function overlayVariantIdFromHandle(handle: string | null | undefined): string | null;
|
|
913
913
|
|
|
914
|
-
|
|
914
|
+
/**
|
|
915
|
+
* Dubbing structure — the wire contract of a dub read back by its job id
|
|
916
|
+
* (`GET /v1/dubbing/:jobId`), and of the captions export beside it
|
|
917
|
+
* (`GET /v1/dubbing/:jobId/captions`).
|
|
918
|
+
*
|
|
919
|
+
* One shape whichever engine made the dub, so a client is written once. A
|
|
920
|
+
* field an engine does not tell is null, never absent:
|
|
921
|
+
* - `sourceSegmentId` names the source line a language's line translates.
|
|
922
|
+
* It is null where the dub's lines carry no link to the source lines; the
|
|
923
|
+
* two lists are then read side by side, by time.
|
|
924
|
+
* - `sourceText` is the original text a line translates, as the dub keeps
|
|
925
|
+
* it beside the line; null where the dub keeps none. Each of the two is
|
|
926
|
+
* told on its own: a line can carry `sourceText` and no `sourceSegmentId`.
|
|
927
|
+
* - a speaker's `name` and `voice` are null until they can be read.
|
|
928
|
+
*
|
|
929
|
+
* `capabilities` says what can be done to this dub now. A client offers an
|
|
930
|
+
* action only when its capability is true.
|
|
931
|
+
*/
|
|
932
|
+
/** The caption file formats a dub exports. */
|
|
933
|
+
declare const DUBBING_CAPTION_FORMATS: readonly ["srt", "vtt"];
|
|
934
|
+
type DubbingCaptionFormat = (typeof DUBBING_CAPTION_FORMATS)[number];
|
|
935
|
+
/** The `language` value that names the original speech in a captions request. */
|
|
936
|
+
declare const DUBBING_SOURCE_LANGUAGE = "source";
|
|
937
|
+
/**
|
|
938
|
+
* Where a language of a dub stands:
|
|
939
|
+
* - `processing`: being made; its lines are not readable yet.
|
|
940
|
+
* - `completed`: it is made; its lines and captions are readable where the dubbing service gives them.
|
|
941
|
+
* - `stale`: its lines changed after its media was last made.
|
|
942
|
+
* - `failed`: it was not made.
|
|
943
|
+
*/
|
|
944
|
+
declare const DUBBING_LANGUAGE_STATUSES: readonly ["processing", "completed", "stale", "failed"];
|
|
945
|
+
type DubbingLanguageStatus = (typeof DUBBING_LANGUAGE_STATUSES)[number];
|
|
946
|
+
/** One line of the original speech. Times are seconds from the start of the media. */
|
|
947
|
+
interface DubbingSourceSegment {
|
|
948
|
+
/** Unique within the source lines. */
|
|
949
|
+
id: string;
|
|
950
|
+
speakerId: string | null;
|
|
951
|
+
start: number;
|
|
952
|
+
end: number;
|
|
953
|
+
text: string;
|
|
954
|
+
}
|
|
955
|
+
/** One line of a dubbed language. Times are seconds from the start of the media. */
|
|
956
|
+
interface DubbingSegment {
|
|
957
|
+
/** Unique within this language's lines. */
|
|
958
|
+
id: string;
|
|
959
|
+
speakerId: string | null;
|
|
960
|
+
start: number;
|
|
961
|
+
end: number;
|
|
962
|
+
/**
|
|
963
|
+
* The `id` of the source line this one translates; null where the dub's
|
|
964
|
+
* lines carry no link to the source lines.
|
|
965
|
+
*/
|
|
966
|
+
sourceSegmentId: string | null;
|
|
967
|
+
/**
|
|
968
|
+
* The original text this line translates, as the dub keeps it beside the
|
|
969
|
+
* line; null where it keeps none. It can be told where `sourceSegmentId` is
|
|
970
|
+
* null.
|
|
971
|
+
*/
|
|
972
|
+
sourceText: string | null;
|
|
973
|
+
text: string;
|
|
974
|
+
}
|
|
975
|
+
/** One language a dub speaks. */
|
|
976
|
+
interface DubbingLanguage {
|
|
977
|
+
/** The language code the dub was asked for (`es`, `pt-BR`); unique within a dub. */
|
|
978
|
+
code: string;
|
|
979
|
+
/**
|
|
980
|
+
* The job whose result is this language's dubbed media. null when the
|
|
981
|
+
* language was made but no job of the account holds its media: adding the
|
|
982
|
+
* language again delivers it, unless its status is `stale` (its lines
|
|
983
|
+
* changed after its media was made), when adding it is refused.
|
|
984
|
+
*/
|
|
985
|
+
jobId: string | null;
|
|
986
|
+
status: DubbingLanguageStatus;
|
|
987
|
+
/** Empty unless `status` is `completed` or `stale`, and where the dubbing service does not give the language's lines. */
|
|
988
|
+
segments: DubbingSegment[];
|
|
989
|
+
}
|
|
990
|
+
/** The voice a speaker is dubbed in. */
|
|
991
|
+
interface DubbingSpeakerVoice {
|
|
992
|
+
id: string;
|
|
993
|
+
name: string | null;
|
|
994
|
+
previewUrl: string | null;
|
|
995
|
+
}
|
|
996
|
+
/** One speaker the dub tells apart. */
|
|
997
|
+
interface DubbingSpeaker {
|
|
998
|
+
/** The `speakerId` its lines carry. */
|
|
999
|
+
id: string;
|
|
1000
|
+
name: string | null;
|
|
1001
|
+
voice: DubbingSpeakerVoice | null;
|
|
1002
|
+
/** How many source lines the speaker has (lines of the first language when the source is not readable). */
|
|
1003
|
+
segmentCount: number;
|
|
1004
|
+
}
|
|
1005
|
+
/** What can be done to a dub now. */
|
|
1006
|
+
interface DubbingCapabilities {
|
|
1007
|
+
/** Change a line's text. */
|
|
1008
|
+
editSegments: boolean;
|
|
1009
|
+
/** Make chosen lines again. */
|
|
1010
|
+
regenerate: boolean;
|
|
1011
|
+
/** Replace a speaker's voice. */
|
|
1012
|
+
setSpeakerVoice: boolean;
|
|
1013
|
+
/** Render the media again after edits. */
|
|
1014
|
+
render: boolean;
|
|
1015
|
+
/** Add a target language (`POST /v1/dubbing/:jobId/languages`). */
|
|
1016
|
+
addLanguage: boolean;
|
|
1017
|
+
/** Export captions (`GET /v1/dubbing/:jobId/captions`). */
|
|
1018
|
+
captions: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* What adding a language to this dub is charged. The price is the answer of
|
|
1022
|
+
* `POST /v1/credits/model-costs` for `creditIdByLanguage[language] ?? creditId`.
|
|
1023
|
+
*/
|
|
1024
|
+
interface DubbingAddLanguagePrice {
|
|
1025
|
+
/** Whole minutes an added language is charged for; null when the length is only known once it runs. */
|
|
1026
|
+
billableMinutes: number | null;
|
|
1027
|
+
/** The price id of an added language; null with `billableMinutes`. */
|
|
1028
|
+
creditId: string | null;
|
|
1029
|
+
/** The languages priced by another id than `creditId`, by lowercase language code. */
|
|
1030
|
+
creditIdByLanguage: Record<string, string>;
|
|
1031
|
+
}
|
|
1032
|
+
/** `GET /v1/dubbing/:jobId`. */
|
|
1033
|
+
interface DubbingStructure {
|
|
1034
|
+
/** The job the dub was created by. Languages added later hang off it. */
|
|
1035
|
+
jobId: string;
|
|
1036
|
+
/** Seconds of media the dub covers; null when not known. */
|
|
1037
|
+
durationSec: number | null;
|
|
1038
|
+
/** The original speech; null when its lines are not readable. */
|
|
1039
|
+
source: {
|
|
1040
|
+
language: string | null;
|
|
1041
|
+
segments: DubbingSourceSegment[];
|
|
1042
|
+
} | null;
|
|
1043
|
+
languages: DubbingLanguage[];
|
|
1044
|
+
speakers: DubbingSpeaker[];
|
|
1045
|
+
capabilities: DubbingCapabilities;
|
|
1046
|
+
addLanguage: DubbingAddLanguagePrice;
|
|
1047
|
+
}
|
|
1048
|
+
/** `POST /v1/dubbing/:jobId/languages` request. */
|
|
1049
|
+
interface DubbingAddLanguageInput {
|
|
1050
|
+
/** The language to add (`es`, `pt-BR`). */
|
|
1051
|
+
targetLanguage: string;
|
|
1052
|
+
/** The rights confirmation, when the dub was made from a link the deployment asks one for. */
|
|
1053
|
+
confirmationId?: string;
|
|
1054
|
+
}
|
|
1055
|
+
/** `POST /v1/dubbing/:jobId/languages` response: the job that delivers the added language. */
|
|
1056
|
+
interface DubbingAddLanguageResult {
|
|
1057
|
+
jobId: string;
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* The error codes the dubbing reads and the add-language call answer beside
|
|
1061
|
+
* the platform's own (`not_found`, `unauthorized`, `validation_error`). Each
|
|
1062
|
+
* is the `error.code` of the response body.
|
|
1063
|
+
*/
|
|
1064
|
+
declare const DUBBING_ERROR_CODES: readonly ["not_a_dubbing_job", "dubbing_not_ready", "dubbing_failed", "dubbing_unavailable", "dubbing_language_not_found", "dubbing_language_processing", "dubbing_captions_unavailable", "dubbing_language_exists", "unreadable_dubbing_source", "media_duration_exceeds_limit", "dubbing_read_failed"];
|
|
1065
|
+
type DubbingErrorCode = (typeof DUBBING_ERROR_CODES)[number];
|
|
1066
|
+
|
|
1067
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, type AudioFxPreset, CLIP_PRICE_GRACE_SEC, DEFAULT_VIDEO_MASK_PROVIDER, DUBBING_CAPTION_FORMATS, DUBBING_ERROR_CODES, DUBBING_LANGUAGE_STATUSES, DUBBING_SOURCE_LANGUAGE, type DubbingAddLanguageInput, type DubbingAddLanguagePrice, type DubbingAddLanguageResult, type DubbingCapabilities, type DubbingCaptionFormat, type DubbingErrorCode, type DubbingLanguage, type DubbingLanguageStatus, type DubbingSegment, type DubbingSourceSegment, type DubbingSpeaker, type DubbingSpeakerVoice, type DubbingStructure, FAL_VIDEO_DEPTH_PROVIDERS, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_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_REMEASURE_SLACK_SEC, 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_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, type VideoDepthColormap, type VideoDepthLever, type VideoDepthModelSize, type VideoDepthProvider, type VideoDepthResolution, type VideoFaceMeshLayer, type VideoFaceMeshLayers, type VideoFaceMeshOutput, type VideoFaceMeshParts, type VideoFaceMeshRequest, type VideoMaskProvider, type VideoMaskRequest, type VideoMaskZone, applySlots, checkVideoDepthLength, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, overlayPlatformById, overlayShapeElement, overlayVariantHandle, overlayVariantIdFromHandle, pricedClipSeconds, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds };
|