@nodaro/shared 2.0.1 → 2.0.2

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.js CHANGED
@@ -1719,11 +1719,11 @@ var VIDEO_MODELS = {
1719
1719
  description: "Our most advanced analysis tier \u2014 multiple analysis engines combined into one result for maximum completeness and accuracy. Billed per duration bucket.",
1720
1720
  useCases: ["video-analysis", "shot-list", "premium", "most-complete"],
1721
1721
  pricing: [
1722
- { identifier: "video-analysis:mixed", credits: 630, note: "10-min ceiling (no duration given)" },
1723
- { identifier: "video-analysis:mixed:60s", credits: 110 },
1724
- { identifier: "video-analysis:mixed:180s", credits: 150 },
1725
- { identifier: "video-analysis:mixed:360s", credits: 380 },
1726
- { identifier: "video-analysis:mixed:600s", credits: 630, note: "10-min ceiling" }
1722
+ { identifier: "video-analysis:mixed", credits: 621, note: "10-min ceiling (no duration given)" },
1723
+ { identifier: "video-analysis:mixed:60s", credits: 104 },
1724
+ { identifier: "video-analysis:mixed:180s", credits: 142 },
1725
+ { identifier: "video-analysis:mixed:360s", credits: 372 },
1726
+ { identifier: "video-analysis:mixed:600s", credits: 621, note: "10-min ceiling" }
1727
1727
  ]
1728
1728
  },
1729
1729
  // SMART — the accuracy tier, and the only one that does not rely on voting.
@@ -1740,11 +1740,11 @@ var VIDEO_MODELS = {
1740
1740
  description: "Highest-accuracy analysis \u2014 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.",
1741
1741
  useCases: ["video-analysis", "shot-list", "premium", "most-accurate"],
1742
1742
  pricing: [
1743
- { identifier: "video-analysis:smart", credits: 3500, note: "10-min ceiling (no duration given)" },
1744
- { identifier: "video-analysis:smart:60s", credits: 460 },
1745
- { identifier: "video-analysis:smart:180s", credits: 980 },
1746
- { identifier: "video-analysis:smart:360s", credits: 2110 },
1747
- { identifier: "video-analysis:smart:600s", credits: 3500, note: "10-min ceiling" }
1743
+ { identifier: "video-analysis:smart", credits: 3496, note: "10-min ceiling (no duration given)" },
1744
+ { identifier: "video-analysis:smart:60s", credits: 454 },
1745
+ { identifier: "video-analysis:smart:180s", credits: 975 },
1746
+ { identifier: "video-analysis:smart:360s", credits: 2105 },
1747
+ { identifier: "video-analysis:smart:600s", credits: 3496, note: "10-min ceiling" }
1748
1748
  ]
1749
1749
  }
1750
1750
  };
@@ -12626,18 +12626,18 @@ var VIDEO_ANALYSIS_BUCKET_CREDITS = {
12626
12626
  // Mixed tiers (`mixed` + `mixed-fast`) share ONE credit family — they are
12627
12627
  // variants of the same engine plan (plan internals live in the private
12628
12628
  // analysis plugin). Admin-tunable via model_pricing like every other row.
12629
- "video-analysis:mixed:60s": 110,
12630
- "video-analysis:mixed:180s": 150,
12631
- "video-analysis:mixed:360s": 380,
12632
- "video-analysis:mixed:600s": 630,
12629
+ "video-analysis:mixed:60s": 104,
12630
+ "video-analysis:mixed:180s": 142,
12631
+ "video-analysis:mixed:360s": 372,
12632
+ "video-analysis:mixed:600s": 621,
12633
12633
  // SMART — the one native-transport plan: a single pass with reasoning and
12634
12634
  // frame sampling turned all the way up. Priced well above the economy tiers
12635
12635
  // because it genuinely costs more to run, and it is the only tier whose
12636
12636
  // accuracy was measured against a hand-counted edit list.
12637
- "video-analysis:smart:60s": 460,
12638
- "video-analysis:smart:180s": 980,
12639
- "video-analysis:smart:360s": 2110,
12640
- "video-analysis:smart:600s": 3500
12637
+ "video-analysis:smart:60s": 454,
12638
+ "video-analysis:smart:180s": 975,
12639
+ "video-analysis:smart:360s": 2105,
12640
+ "video-analysis:smart:600s": 3496
12641
12641
  };
12642
12642
  function videoAnalysisCreditSegment(modelOrSentinel) {
12643
12643
  return modelOrSentinel === "mixed-fast" ? "mixed" : modelOrSentinel;