@nodaro/shared 1.24.0 → 1.24.1
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/package.json
CHANGED
|
@@ -87,9 +87,9 @@ describe("bare video-analysis node-type credit id", () => {
|
|
|
87
87
|
expect(credits, `${id} exceeds the bare-id ceiling ${ceiling}`).toBeLessThanOrEqual(ceiling)
|
|
88
88
|
}
|
|
89
89
|
// The migration writes this number; keep them in lockstep (277 wrote 200,
|
|
90
|
-
// 279 wrote 739,
|
|
91
|
-
//
|
|
92
|
-
expect(ceiling).toBe(
|
|
90
|
+
// 279 wrote 739, 283 wrote 346, 284 writes 350 — `smart` owns the ceiling and
|
|
91
|
+
// gained the continuity pass).
|
|
92
|
+
expect(ceiling).toBe(350)
|
|
93
93
|
})
|
|
94
94
|
|
|
95
95
|
it("the bare id still bounds the default tier at the ceiling bucket", () => {
|
package/src/model-catalog.ts
CHANGED
|
@@ -1890,11 +1890,11 @@ const VIDEO_MODELS: Record<string, ModelCatalogEntry> = {
|
|
|
1890
1890
|
description: "Highest-accuracy analysis — a single deep pass that reads the footage frame by frame, finds its own shot boundaries, and identifies the cast by appearance. Best choice when the shot list will drive regeneration. Billed per duration bucket.",
|
|
1891
1891
|
useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
|
|
1892
1892
|
pricing: [
|
|
1893
|
-
{ identifier: "video-analysis:smart", credits:
|
|
1894
|
-
{ identifier: "video-analysis:smart:60s", credits:
|
|
1895
|
-
{ identifier: "video-analysis:smart:180s", credits:
|
|
1896
|
-
{ identifier: "video-analysis:smart:360s", credits:
|
|
1897
|
-
{ identifier: "video-analysis:smart:600s", credits:
|
|
1893
|
+
{ identifier: "video-analysis:smart", credits: 350, note: "10-min ceiling (no duration given)" },
|
|
1894
|
+
{ identifier: "video-analysis:smart:60s", credits: 46 },
|
|
1895
|
+
{ identifier: "video-analysis:smart:180s", credits: 98 },
|
|
1896
|
+
{ identifier: "video-analysis:smart:360s", credits: 211 },
|
|
1897
|
+
{ identifier: "video-analysis:smart:600s", credits: 350, note: "10-min ceiling" },
|
|
1898
1898
|
],
|
|
1899
1899
|
},
|
|
1900
1900
|
}
|
|
@@ -75,10 +75,10 @@ export const VIDEO_ANALYSIS_BUCKET_CREDITS: Record<string, number> = {
|
|
|
75
75
|
// frame sampling turned all the way up. Priced well above the economy tiers
|
|
76
76
|
// because it genuinely costs more to run, and it is the only tier whose
|
|
77
77
|
// accuracy was measured against a hand-counted edit list.
|
|
78
|
-
"video-analysis:smart:60s":
|
|
79
|
-
"video-analysis:smart:180s":
|
|
80
|
-
"video-analysis:smart:360s":
|
|
81
|
-
"video-analysis:smart:600s":
|
|
78
|
+
"video-analysis:smart:60s": 46,
|
|
79
|
+
"video-analysis:smart:180s": 98,
|
|
80
|
+
"video-analysis:smart:360s": 211,
|
|
81
|
+
"video-analysis:smart:600s": 350,
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
/**
|