@nodaro/shared 3.52.1 → 3.54.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-6CVY3345.js → chunk-25KAGSPT.js} +3 -3
- package/dist/{chunk-6CVY3345.js.map → chunk-25KAGSPT.js.map} +1 -1
- package/dist/{chunk-FBLMWA2R.cjs → chunk-2OYV6K7D.cjs} +4 -4
- package/dist/{chunk-FBLMWA2R.cjs.map → chunk-2OYV6K7D.cjs.map} +1 -1
- package/dist/{chunk-J3HPEKGJ.cjs → chunk-2R74OU76.cjs} +23 -23
- package/dist/chunk-2R74OU76.cjs.map +1 -0
- package/dist/{chunk-CSPELPDB.cjs → chunk-3633VD2M.cjs} +8 -8
- package/dist/{chunk-CSPELPDB.cjs.map → chunk-3633VD2M.cjs.map} +1 -1
- package/dist/{chunk-A24LLEXS.js → chunk-3CHOZ573.js} +23 -23
- package/dist/chunk-3CHOZ573.js.map +1 -0
- package/dist/{chunk-IJ6XNHSD.cjs → chunk-3GMTGX3D.cjs} +27 -27
- package/dist/{chunk-IJ6XNHSD.cjs.map → chunk-3GMTGX3D.cjs.map} +1 -1
- package/dist/{chunk-AJFQ5242.js → chunk-5DVDHL7Y.js} +5 -5
- package/dist/{chunk-AJFQ5242.js.map → chunk-5DVDHL7Y.js.map} +1 -1
- package/dist/{chunk-VNHX6TQT.cjs → chunk-5R6LTKE5.cjs} +5 -5
- package/dist/{chunk-VNHX6TQT.cjs.map → chunk-5R6LTKE5.cjs.map} +1 -1
- package/dist/{chunk-YOH5AUYL.js → chunk-6UR5UE5G.js} +9 -9
- package/dist/{chunk-YOH5AUYL.js.map → chunk-6UR5UE5G.js.map} +1 -1
- package/dist/{chunk-3RYKIUAE.js → chunk-6XVHYD5R.js} +12 -8
- package/dist/chunk-6XVHYD5R.js.map +1 -0
- package/dist/{chunk-FRXVOYL2.js → chunk-ADWIAQQS.js} +3 -3
- package/dist/{chunk-FRXVOYL2.js.map → chunk-ADWIAQQS.js.map} +1 -1
- package/dist/{chunk-VLNOQJDO.cjs → chunk-AGTCHDG5.cjs} +6 -6
- package/dist/{chunk-VLNOQJDO.cjs.map → chunk-AGTCHDG5.cjs.map} +1 -1
- package/dist/{chunk-MI63SSCJ.cjs → chunk-ATWLKUAI.cjs} +4 -4
- package/dist/{chunk-MI63SSCJ.cjs.map → chunk-ATWLKUAI.cjs.map} +1 -1
- package/dist/{chunk-FIROF3TM.js → chunk-C5S75476.js} +5 -5
- package/dist/{chunk-FIROF3TM.js.map → chunk-C5S75476.js.map} +1 -1
- package/dist/{chunk-7HWXJIQ6.cjs → chunk-C6IQCKJT.cjs} +4 -4
- package/dist/{chunk-7HWXJIQ6.cjs.map → chunk-C6IQCKJT.cjs.map} +1 -1
- package/dist/{chunk-K3QNGRRX.js → chunk-CZCOL3M5.js} +10 -6
- package/dist/chunk-CZCOL3M5.js.map +1 -0
- package/dist/{chunk-JAGYUDOK.js → chunk-DUL5ZLTJ.js} +3 -3
- package/dist/{chunk-JAGYUDOK.js.map → chunk-DUL5ZLTJ.js.map} +1 -1
- package/dist/{chunk-BG5272F5.js → chunk-E4YES25K.js} +4 -4
- package/dist/{chunk-BG5272F5.js.map → chunk-E4YES25K.js.map} +1 -1
- package/dist/{chunk-QBXC3AXS.cjs → chunk-FIYVKW7F.cjs} +12 -12
- package/dist/{chunk-QBXC3AXS.cjs.map → chunk-FIYVKW7F.cjs.map} +1 -1
- package/dist/{chunk-CQJYKSXF.js → chunk-FVVD6XY2.js} +5 -3
- package/dist/chunk-FVVD6XY2.js.map +1 -0
- package/dist/chunk-HD45Y7QU.cjs +27 -0
- package/dist/{chunk-H7HKLN2W.cjs.map → chunk-HD45Y7QU.cjs.map} +1 -1
- package/dist/{chunk-JAD2SBD4.js → chunk-HEF4BIMA.js} +4 -4
- package/dist/{chunk-JAD2SBD4.js.map → chunk-HEF4BIMA.js.map} +1 -1
- package/dist/{chunk-GL5Z3CC4.js → chunk-HG3KKCJJ.js} +3 -3
- package/dist/{chunk-GL5Z3CC4.js.map → chunk-HG3KKCJJ.js.map} +1 -1
- package/dist/{chunk-MI6CZQCG.cjs → chunk-IPCWYKX5.cjs} +45 -45
- package/dist/{chunk-MI6CZQCG.cjs.map → chunk-IPCWYKX5.cjs.map} +1 -1
- package/dist/{chunk-7YFQKR5C.cjs → chunk-KM35K2M5.cjs} +21 -21
- package/dist/{chunk-7YFQKR5C.cjs.map → chunk-KM35K2M5.cjs.map} +1 -1
- package/dist/{chunk-OWVWV4T2.js → chunk-KMSEU6FK.js} +3 -3
- package/dist/{chunk-OWVWV4T2.js.map → chunk-KMSEU6FK.js.map} +1 -1
- package/dist/{chunk-2LNQ2MDO.js → chunk-LYWJAXPT.js} +3 -3
- package/dist/{chunk-2LNQ2MDO.js.map → chunk-LYWJAXPT.js.map} +1 -1
- package/dist/{chunk-6DAWSVX2.cjs → chunk-M3SXUUWC.cjs} +13 -7
- package/dist/chunk-M3SXUUWC.cjs.map +1 -0
- package/dist/{chunk-JZJRD7RG.js → chunk-MGJR5OXO.js} +5 -5
- package/dist/{chunk-JZJRD7RG.js.map → chunk-MGJR5OXO.js.map} +1 -1
- package/dist/{chunk-AVUW7XKP.cjs → chunk-MTUNORQB.cjs} +11 -11
- package/dist/{chunk-AVUW7XKP.cjs.map → chunk-MTUNORQB.cjs.map} +1 -1
- package/dist/{chunk-6LCZPDIF.js → chunk-N3WL6IOJ.js} +3 -3
- package/dist/{chunk-6LCZPDIF.js.map → chunk-N3WL6IOJ.js.map} +1 -1
- package/dist/{chunk-XRXPWW7P.cjs → chunk-ND3IE3IB.cjs} +47 -47
- package/dist/{chunk-XRXPWW7P.cjs.map → chunk-ND3IE3IB.cjs.map} +1 -1
- package/dist/{chunk-34EXMNOX.cjs → chunk-NEIWY6CC.cjs} +6 -6
- package/dist/{chunk-34EXMNOX.cjs.map → chunk-NEIWY6CC.cjs.map} +1 -1
- package/dist/{chunk-AJPV3RZJ.js → chunk-NMX6HQC3.js} +5 -5
- package/dist/{chunk-AJPV3RZJ.js.map → chunk-NMX6HQC3.js.map} +1 -1
- package/dist/{chunk-66GADQRV.cjs → chunk-OVIIJVXH.cjs} +21 -21
- package/dist/{chunk-66GADQRV.cjs.map → chunk-OVIIJVXH.cjs.map} +1 -1
- package/dist/{chunk-5PCI6M44.cjs → chunk-PONP5J5E.cjs} +5 -3
- package/dist/chunk-PONP5J5E.cjs.map +1 -0
- package/dist/{chunk-ETU6NWE2.cjs → chunk-QP5JLSCJ.cjs} +10 -6
- package/dist/chunk-QP5JLSCJ.cjs.map +1 -0
- package/dist/{chunk-SRLWSI6Q.cjs → chunk-SEEQ3H22.cjs} +5 -5
- package/dist/{chunk-SRLWSI6Q.cjs.map → chunk-SEEQ3H22.cjs.map} +1 -1
- package/dist/{chunk-25OWMP6B.cjs → chunk-SZUDEFX2.cjs} +41 -41
- package/dist/{chunk-25OWMP6B.cjs.map → chunk-SZUDEFX2.cjs.map} +1 -1
- package/dist/{chunk-TRZMLQSL.js → chunk-YBZQXZ6A.js} +3 -3
- package/dist/{chunk-TRZMLQSL.js.map → chunk-YBZQXZ6A.js.map} +1 -1
- package/dist/{chunk-WBPJNXYN.js → chunk-ZKHQSG76.js} +4 -4
- package/dist/{chunk-WBPJNXYN.js.map → chunk-ZKHQSG76.js.map} +1 -1
- package/dist/{chunk-VSNQLSME.js → chunk-ZWB3NG4M.js} +3 -3
- package/dist/{chunk-VSNQLSME.js.map → chunk-ZWB3NG4M.js.map} +1 -1
- package/dist/entries/apps.cjs +43 -43
- package/dist/entries/apps.js +8 -8
- package/dist/entries/credits.cjs +150 -150
- package/dist/entries/credits.js +7 -7
- package/dist/entries/media.cjs +81 -73
- package/dist/entries/media.d.cts +60 -80
- package/dist/entries/media.d.ts +60 -80
- package/dist/entries/media.js +2 -2
- package/dist/entries/model-catalog.cjs +66 -66
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +277 -277
- package/dist/entries/models.js +5 -5
- package/dist/entries/nodes.cjs +207 -207
- package/dist/entries/nodes.js +9 -9
- package/dist/entries/pipeline.cjs +149 -149
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/types.d.cts +13 -0
- package/dist/entries/types.d.ts +13 -0
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +117 -117
- package/dist/entries/video.js +4 -4
- package/dist/entries/workflow.cjs +99 -99
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +1233 -1225
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -21
- package/package.json +1 -1
- package/src/__tests__/priced-clip-seconds.test.ts +193 -0
- package/src/__tests__/video-depth.test.ts +61 -19
- package/src/__tests__/video-face-mesh.test.ts +3 -2
- package/src/__tests__/video-mask.test.ts +1 -1
- package/src/catalog-projection.ts +13 -0
- package/src/entries/media.ts +1 -0
- package/src/generated/unit-contracts.ts +1 -0
- package/src/i18n/style.ar.ts +5 -0
- package/src/i18n/style.de.ts +5 -0
- package/src/i18n/style.es.ts +5 -0
- package/src/i18n/style.fr.ts +5 -0
- package/src/i18n/style.he.ts +5 -0
- package/src/i18n/style.hi.ts +5 -0
- package/src/i18n/style.ja.ts +5 -0
- package/src/i18n/style.ko.ts +5 -0
- package/src/i18n/style.pt-BR.ts +5 -0
- package/src/i18n/style.ru.ts +5 -0
- package/src/i18n/style.zh-CN.ts +5 -0
- package/src/mask-composite.ts +6 -5
- package/src/model-catalog.ts +21 -21
- package/src/priced-clip-seconds.ts +28 -0
- package/src/video-depth.ts +25 -12
- package/src/video-face-mesh.ts +10 -4
- package/src/video-mask.ts +12 -7
- package/dist/chunk-3RYKIUAE.js.map +0 -1
- package/dist/chunk-5PCI6M44.cjs.map +0 -1
- package/dist/chunk-6DAWSVX2.cjs.map +0 -1
- package/dist/chunk-A24LLEXS.js.map +0 -1
- package/dist/chunk-CQJYKSXF.js.map +0 -1
- package/dist/chunk-ETU6NWE2.cjs.map +0 -1
- package/dist/chunk-H7HKLN2W.cjs +0 -27
- package/dist/chunk-J3HPEKGJ.cjs.map +0 -1
- package/dist/chunk-K3QNGRRX.js.map +0 -1
|
@@ -468,8 +468,8 @@ var IMAGE_MODELS = {
|
|
|
468
468
|
resolutions: ["1K", "2K", "4K"],
|
|
469
469
|
pricing: [
|
|
470
470
|
{ identifier: "gpt-image-2", credits: 15, note: "1K default" },
|
|
471
|
-
{ identifier: "gpt-image-2:2K", credits:
|
|
472
|
-
{ identifier: "gpt-image-2:4K", credits:
|
|
471
|
+
{ identifier: "gpt-image-2:2K", credits: 25, note: "2K" },
|
|
472
|
+
{ identifier: "gpt-image-2:4K", credits: 40, note: "4K" }
|
|
473
473
|
],
|
|
474
474
|
safetyFilter: { stochastic: true, fallback: "nano-banana-pro" },
|
|
475
475
|
featured: true
|
|
@@ -490,8 +490,8 @@ var IMAGE_MODELS = {
|
|
|
490
490
|
resolutions: ["1K", "2K", "4K"],
|
|
491
491
|
pricing: [
|
|
492
492
|
{ identifier: "gpt-image-2-i2i", credits: 15, note: "1K default" },
|
|
493
|
-
{ identifier: "gpt-image-2-i2i:2K", credits:
|
|
494
|
-
{ identifier: "gpt-image-2-i2i:4K", credits:
|
|
493
|
+
{ identifier: "gpt-image-2-i2i:2K", credits: 25, note: "2K" },
|
|
494
|
+
{ identifier: "gpt-image-2-i2i:4K", credits: 40, note: "4K" }
|
|
495
495
|
]
|
|
496
496
|
},
|
|
497
497
|
"gpt-image-2-5-flare": {
|
|
@@ -1654,13 +1654,13 @@ var VIDEO_MODELS = {
|
|
|
1654
1654
|
{ identifier: "seedance-2-5", credits: 1260, note: "default 8s 720p \u2014 see :Ns:res variants for exact" },
|
|
1655
1655
|
{ identifier: "seedance-2-5:8s:480p", credits: 560, note: "8s 480p" },
|
|
1656
1656
|
{ identifier: "seedance-2-5:8s:720p", credits: 1260, note: "8s 720p" },
|
|
1657
|
-
{ identifier: "seedance-2-5:8s:1080p", credits:
|
|
1657
|
+
{ identifier: "seedance-2-5:8s:1080p", credits: 3160, note: "8s 1080p" },
|
|
1658
1658
|
{ identifier: "seedance-2-5:8s:480p-ref", credits: 340, note: "8s 480p with reference video" },
|
|
1659
1659
|
{ identifier: "seedance-2-5:8s:720p-ref", credits: 760, note: "8s 720p with reference video" },
|
|
1660
|
-
{ identifier: "seedance-2-5:8s:1080p-ref", credits:
|
|
1660
|
+
{ identifier: "seedance-2-5:8s:1080p-ref", credits: 1900, note: "8s 1080p with reference video" },
|
|
1661
1661
|
{ identifier: "seedance-2-5:30s:480p", credits: 2100, note: "30s 480p (max)" },
|
|
1662
1662
|
{ identifier: "seedance-2-5:30s:720p", credits: 4730, note: "30s 720p (max)" },
|
|
1663
|
-
{ identifier: "seedance-2-5:30s:1080p", credits:
|
|
1663
|
+
{ identifier: "seedance-2-5:30s:1080p", credits: 11850, note: "30s 1080p (max)" }
|
|
1664
1664
|
]
|
|
1665
1665
|
},
|
|
1666
1666
|
// ── Wan ──
|
|
@@ -2439,9 +2439,11 @@ var VIDEO_MODELS = {
|
|
|
2439
2439
|
{ identifier: "volcengine-lipsync:300s", credits: 6e3, note: "5-min ceiling" }
|
|
2440
2440
|
]
|
|
2441
2441
|
},
|
|
2442
|
-
// ── Video Depth ── (video-depth node;
|
|
2443
|
-
// videoDepthCreditId in video-depth.ts — `<provider>:<
|
|
2444
|
-
// the
|
|
2442
|
+
// ── Video Depth ── (video-depth node; priced by the input clip's length via
|
|
2443
|
+
// videoDepthCreditId in video-depth.ts — `<provider>:<n>s`, one row per whole
|
|
2444
|
+
// second of the clip (`pricedClipSeconds`), representative rows below: `:1s` …
|
|
2445
|
+
// `:300s` on Video Depth Anything, `:1s` … `:80s` on Depth Anything per frame.
|
|
2446
|
+
// Bare row = the provider's longest clip: 300 s and 80 s.)
|
|
2445
2447
|
"video-depth-anything": {
|
|
2446
2448
|
id: "video-depth-anything",
|
|
2447
2449
|
kind: "video",
|
|
@@ -2454,11 +2456,10 @@ var VIDEO_MODELS = {
|
|
|
2454
2456
|
useCases: ["depth", "video-to-video", "compositing"],
|
|
2455
2457
|
pricing: [
|
|
2456
2458
|
{ identifier: "video-depth-anything", credits: 6e3, note: "5-min ceiling (no duration given)" },
|
|
2457
|
-
{ identifier: "video-depth-anything:
|
|
2458
|
-
{ identifier: "video-depth-anything:
|
|
2459
|
-
{ identifier: "video-depth-anything:60s", credits: 1200 },
|
|
2460
|
-
{ identifier: "video-depth-anything:
|
|
2461
|
-
{ identifier: "video-depth-anything:300s", credits: 6e3, note: "5-min ceiling" }
|
|
2459
|
+
{ identifier: "video-depth-anything:1s", credits: 20, note: "1s (min) \u2014 priced per second of the clip at this row's credits, the length rounded up after ignoring up to 0.05 s past a whole second" },
|
|
2460
|
+
{ identifier: "video-depth-anything:15s", credits: 300, note: "15s" },
|
|
2461
|
+
{ identifier: "video-depth-anything:60s", credits: 1200, note: "1 min" },
|
|
2462
|
+
{ identifier: "video-depth-anything:300s", credits: 6e3, note: "5-min ceiling (max)" }
|
|
2462
2463
|
]
|
|
2463
2464
|
},
|
|
2464
2465
|
"depth-anything-frames": {
|
|
@@ -2472,12 +2473,11 @@ var VIDEO_MODELS = {
|
|
|
2472
2473
|
description: "Depth Anything v1 run on each frame. Grayscale or inferno colormap; may flicker between frames. Up to 80 s.",
|
|
2473
2474
|
useCases: ["depth", "video-to-video"],
|
|
2474
2475
|
pricing: [
|
|
2475
|
-
{ identifier: "depth-anything-frames", credits:
|
|
2476
|
-
{ identifier: "depth-anything-frames:
|
|
2477
|
-
{ identifier: "depth-anything-frames:
|
|
2478
|
-
{ identifier: "depth-anything-frames:60s", credits: 120 },
|
|
2479
|
-
{ identifier: "depth-anything-frames:
|
|
2480
|
-
{ identifier: "depth-anything-frames:300s", credits: 600, note: "5-min ceiling" }
|
|
2476
|
+
{ identifier: "depth-anything-frames", credits: 160, note: "80s ceiling (no duration given)" },
|
|
2477
|
+
{ identifier: "depth-anything-frames:1s", credits: 2, note: "1s (min) \u2014 priced per second of the clip at this row's credits, the length rounded up after ignoring up to 0.05 s past a whole second" },
|
|
2478
|
+
{ identifier: "depth-anything-frames:15s", credits: 30, note: "15s" },
|
|
2479
|
+
{ identifier: "depth-anything-frames:60s", credits: 120, note: "1 min" },
|
|
2480
|
+
{ identifier: "depth-anything-frames:80s", credits: 160, note: "80s ceiling (max)" }
|
|
2481
2481
|
]
|
|
2482
2482
|
},
|
|
2483
2483
|
// ── Gemini video analysis ── (Gemini-only; billed per duration bucket — the
|
|
@@ -3645,5 +3645,5 @@ exports.resolutionOptionsByKind = resolutionOptionsByKind;
|
|
|
3645
3645
|
exports.seedanceDraftFinalizeBillableSec = seedanceDraftFinalizeBillableSec;
|
|
3646
3646
|
exports.seedanceDraftFinalizeCreditId = seedanceDraftFinalizeCreditId;
|
|
3647
3647
|
exports.validateModelInput = validateModelInput;
|
|
3648
|
-
//# sourceMappingURL=chunk-
|
|
3649
|
-
//# sourceMappingURL=chunk-
|
|
3648
|
+
//# sourceMappingURL=chunk-2R74OU76.cjs.map
|
|
3649
|
+
//# sourceMappingURL=chunk-2R74OU76.cjs.map
|