@nodaro/shared 1.19.0 → 1.20.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/index.cjs +37 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/model-catalog.ts +21 -21
- package/src/video-analysis-pricing.ts +16 -16
package/package.json
CHANGED
package/src/model-catalog.ts
CHANGED
|
@@ -1812,14 +1812,14 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1812
1812
|
family: "Nodaro",
|
|
1813
1813
|
label: "Video Analysis (Fast — legacy)",
|
|
1814
1814
|
series: "Video Analysis",
|
|
1815
|
-
description: "Legacy fast-tier analysis model (pre-2026-07). Kept so stored raw-model configs keep running and pricing
|
|
1815
|
+
description: "Legacy fast-tier analysis model (pre-2026-07). Kept so stored raw-model configs keep running and keep pricing under their own identifier; new fast-tier runs use the current fast model.",
|
|
1816
1816
|
useCases: ["video-analysis", "shot-list", "fast"],
|
|
1817
1817
|
pricing: [
|
|
1818
|
-
{ identifier: "video-analysis:gemini-3-flash", credits:
|
|
1819
|
-
{ identifier: "video-analysis:gemini-3-flash:60s", credits:
|
|
1820
|
-
{ identifier: "video-analysis:gemini-3-flash:180s", credits:
|
|
1821
|
-
{ identifier: "video-analysis:gemini-3-flash:360s", credits:
|
|
1822
|
-
{ identifier: "video-analysis:gemini-3-flash:600s", credits:
|
|
1818
|
+
{ identifier: "video-analysis:gemini-3-flash", credits: 9, note: "10-min ceiling (no duration given)" },
|
|
1819
|
+
{ identifier: "video-analysis:gemini-3-flash:60s", credits: 2 },
|
|
1820
|
+
{ identifier: "video-analysis:gemini-3-flash:180s", credits: 3 },
|
|
1821
|
+
{ identifier: "video-analysis:gemini-3-flash:360s", credits: 6 },
|
|
1822
|
+
{ identifier: "video-analysis:gemini-3-flash:600s", credits: 9, note: "10-min ceiling" },
|
|
1823
1823
|
],
|
|
1824
1824
|
},
|
|
1825
1825
|
"gemini-3.6-flash-video-analysis": {
|
|
@@ -1832,11 +1832,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1832
1832
|
description: "Analyze a video into a structured shot list (scenes, camera, audio) — fast, economy tier. Billed per duration bucket.",
|
|
1833
1833
|
useCases: ["video-analysis", "shot-list", "fast"],
|
|
1834
1834
|
pricing: [
|
|
1835
|
-
{ identifier: "video-analysis:gemini-3.6-flash", credits:
|
|
1836
|
-
{ identifier: "video-analysis:gemini-3.6-flash:60s", credits:
|
|
1837
|
-
{ identifier: "video-analysis:gemini-3.6-flash:180s", credits:
|
|
1838
|
-
{ identifier: "video-analysis:gemini-3.6-flash:360s", credits:
|
|
1839
|
-
{ identifier: "video-analysis:gemini-3.6-flash:600s", credits:
|
|
1835
|
+
{ identifier: "video-analysis:gemini-3.6-flash", credits: 25, note: "10-min ceiling (no duration given)" },
|
|
1836
|
+
{ identifier: "video-analysis:gemini-3.6-flash:60s", credits: 5 },
|
|
1837
|
+
{ identifier: "video-analysis:gemini-3.6-flash:180s", credits: 6 },
|
|
1838
|
+
{ identifier: "video-analysis:gemini-3.6-flash:360s", credits: 15 },
|
|
1839
|
+
{ identifier: "video-analysis:gemini-3.6-flash:600s", credits: 25, note: "10-min ceiling" },
|
|
1840
1840
|
],
|
|
1841
1841
|
},
|
|
1842
1842
|
"gemini-3.1-pro-video-analysis": {
|
|
@@ -1849,11 +1849,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1849
1849
|
description: "Analyze a video into a structured shot list (scenes, camera, audio) — higher-fidelity, default tier. Billed per duration bucket.",
|
|
1850
1850
|
useCases: ["video-analysis", "shot-list", "cinematic"],
|
|
1851
1851
|
pricing: [
|
|
1852
|
-
{ identifier: "video-analysis:gemini-3.1-pro", credits:
|
|
1853
|
-
{ identifier: "video-analysis:gemini-3.1-pro:60s", credits:
|
|
1854
|
-
{ identifier: "video-analysis:gemini-3.1-pro:180s", credits:
|
|
1855
|
-
{ identifier: "video-analysis:gemini-3.1-pro:360s", credits:
|
|
1856
|
-
{ identifier: "video-analysis:gemini-3.1-pro:600s", credits:
|
|
1852
|
+
{ identifier: "video-analysis:gemini-3.1-pro", credits: 33, note: "10-min ceiling (no duration given)" },
|
|
1853
|
+
{ identifier: "video-analysis:gemini-3.1-pro:60s", credits: 6 },
|
|
1854
|
+
{ identifier: "video-analysis:gemini-3.1-pro:180s", credits: 8 },
|
|
1855
|
+
{ identifier: "video-analysis:gemini-3.1-pro:360s", credits: 20 },
|
|
1856
|
+
{ identifier: "video-analysis:gemini-3.1-pro:600s", credits: 33, note: "10-min ceiling" },
|
|
1857
1857
|
],
|
|
1858
1858
|
},
|
|
1859
1859
|
// Both mixed tiers are variants of the same advanced multi-engine analysis
|
|
@@ -1869,11 +1869,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1869
1869
|
description: "Our most advanced analysis tier — multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
|
|
1870
1870
|
useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
|
|
1871
1871
|
pricing: [
|
|
1872
|
-
{ identifier: "video-analysis:mixed", credits:
|
|
1873
|
-
{ identifier: "video-analysis:mixed:60s", credits:
|
|
1874
|
-
{ identifier: "video-analysis:mixed:180s", credits:
|
|
1875
|
-
{ identifier: "video-analysis:mixed:360s", credits:
|
|
1876
|
-
{ identifier: "video-analysis:mixed:600s", credits:
|
|
1872
|
+
{ identifier: "video-analysis:mixed", credits: 57, note: "10-min ceiling (no duration given)" },
|
|
1873
|
+
{ identifier: "video-analysis:mixed:60s", credits: 10 },
|
|
1874
|
+
{ identifier: "video-analysis:mixed:180s", credits: 13 },
|
|
1875
|
+
{ identifier: "video-analysis:mixed:360s", credits: 35 },
|
|
1876
|
+
{ identifier: "video-analysis:mixed:600s", credits: 57, note: "10-min ceiling" },
|
|
1877
1877
|
],
|
|
1878
1878
|
},
|
|
1879
1879
|
}
|
|
@@ -47,27 +47,27 @@ export const VIDEO_ANALYSIS_WINDOW = { LEN: WINDOW_LEN, STRIDE: WINDOW_STRIDE, O
|
|
|
47
47
|
*/
|
|
48
48
|
export const VIDEO_ANALYSIS_BUCKET_CREDITS: Record<string, number> = {
|
|
49
49
|
// Legacy fast-tier model (pre-2026-07) — kept for stored raw-id configs.
|
|
50
|
-
"video-analysis:gemini-3-flash:60s":
|
|
51
|
-
"video-analysis:gemini-3-flash:180s":
|
|
52
|
-
"video-analysis:gemini-3-flash:360s":
|
|
53
|
-
"video-analysis:gemini-3-flash:600s":
|
|
50
|
+
"video-analysis:gemini-3-flash:60s": 2,
|
|
51
|
+
"video-analysis:gemini-3-flash:180s": 3,
|
|
52
|
+
"video-analysis:gemini-3-flash:360s": 6,
|
|
53
|
+
"video-analysis:gemini-3-flash:600s": 9,
|
|
54
54
|
// Current fast tier — regenerated from the private formula for its backing
|
|
55
55
|
// model; higher than the legacy fast schedule but still ≤ pro per bucket.
|
|
56
|
-
"video-analysis:gemini-3.6-flash:60s":
|
|
57
|
-
"video-analysis:gemini-3.6-flash:180s":
|
|
58
|
-
"video-analysis:gemini-3.6-flash:360s":
|
|
59
|
-
"video-analysis:gemini-3.6-flash:600s":
|
|
60
|
-
"video-analysis:gemini-3.1-pro:60s":
|
|
61
|
-
"video-analysis:gemini-3.1-pro:180s":
|
|
62
|
-
"video-analysis:gemini-3.1-pro:360s":
|
|
63
|
-
"video-analysis:gemini-3.1-pro:600s":
|
|
56
|
+
"video-analysis:gemini-3.6-flash:60s": 5,
|
|
57
|
+
"video-analysis:gemini-3.6-flash:180s": 6,
|
|
58
|
+
"video-analysis:gemini-3.6-flash:360s": 15,
|
|
59
|
+
"video-analysis:gemini-3.6-flash:600s": 25,
|
|
60
|
+
"video-analysis:gemini-3.1-pro:60s": 6,
|
|
61
|
+
"video-analysis:gemini-3.1-pro:180s": 8,
|
|
62
|
+
"video-analysis:gemini-3.1-pro:360s": 20,
|
|
63
|
+
"video-analysis:gemini-3.1-pro:600s": 33,
|
|
64
64
|
// Mixed tiers (`mixed` + `mixed-fast`) share ONE credit family — they are
|
|
65
65
|
// variants of the same engine plan (plan internals live in the private
|
|
66
66
|
// analysis plugin). Admin-tunable via model_pricing like every other row.
|
|
67
|
-
"video-analysis:mixed:60s":
|
|
68
|
-
"video-analysis:mixed:180s":
|
|
69
|
-
"video-analysis:mixed:360s":
|
|
70
|
-
"video-analysis:mixed:600s":
|
|
67
|
+
"video-analysis:mixed:60s": 10,
|
|
68
|
+
"video-analysis:mixed:180s": 13,
|
|
69
|
+
"video-analysis:mixed:360s": 35,
|
|
70
|
+
"video-analysis:mixed:600s": 57,
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
/**
|