The pipeline behind every brief.
No black boxes. Every source, every model, every weight — documented.
Six stages, end to end.
From raw API call to streamed brief, in the order it actually runs.
Ingest
Pull deltas from YouTube + Trends across 50 regions and 70 countries. Cached behind a Redis-backed quota router.
Normalize
Parse durations, dedupe by canonical video id, recompute velocity per channel baseline, attach geo + category metadata.
Score
Weighted blend (velocity 35 / lift 25 / novelty 20 / fit 20) into a 0–100 Virality Score with a confidence band.
Cluster
Embed titles + comments, run HDBSCAN to collapse near-duplicate angles, surface the dominant frame per cluster.
Reason
Route the cluster to the right LLM (see model matrix) for hooks, titles, thumbnail brief and script outline.
Serve
Stream the brief to the client with SSE; cache for 60 minutes keyed by region + niche + channel id.
Every input, every cadence.
What we pull, how often, from where, and what it carries.
How the Virality Score is calculated.
One number, four weighted inputs, transparent math. No magic.
score = 0.35·velocity + 0.25·lift + 0.20·novelty + 0.20·fitThe right model for the job.
We don't pick one model and live with its tradeoffs. We route per task.
What we won't do.
No scraping
Every signal comes through an official API. Rate-limit aware, quota-budgeted, with a fallback key per source.
Your data is yours
Channel telemetry stays scoped to your workspace. We never train shared models on your transcripts.
Multi-region edge
Edge functions on Cloudflare, primary store in EU. p95 brief latency under 60s end-to-end.
Questions about the data.
Ready to ship trend-driven videos?
Try TrendsIQ free — no credit card, no API keys, ready in 60 seconds.