SYS:ONLINE
BITE - BYTE:ACTIVE
Live Output
Andhra Pradesh's Sanjeevani health screening drew interest at… Sanjeevani Scheme: Key Highlights (2026) #Shorts (2026) #Shorts Sanjeevani Health Screening Impact (2026) #Shorts (2026) #Shorts Andhra Pradesh's Sanjeevani Scheme (2026) #Shorts (2026) #Shorts Viral Twist: Cricket Stadium Footage REOPENS Ketan Agarwal… Andhra Pradesh's Sanjeevani health screening drew interest at… Sanjeevani Scheme: Key Highlights (2026) #Shorts (2026) #Shorts Sanjeevani Health Screening Impact (2026) #Shorts (2026) #Shorts Andhra Pradesh's Sanjeevani Scheme (2026) #Shorts (2026) #Shorts Viral Twist: Cricket Stadium Footage REOPENS Ketan Agarwal…

The AI Pipeline, Explained

This is how we produce 50+ videos per day with zero human writers. Below: technical deep-dives into the architecture, the voice AI decisions, and the production workflow. Real systems. Real code. Real output.

50+
STORIES/DAY
0
HUMAN WRITERS
~40
MIN CYCLE
10
PIPELINE PHASES
Gemini Flash Fish Speech RVC Voice Cloning FFmpeg Python 3.12 YouTube Data API v3 WordPress REST API LiteSpeed PHP 8.3 MySQL WP-Cron
FEATURED TECHNICAL DEEP-DIVE
Architecture 8 min READ Jun 28, 2026

Architecture of a 50-Video/Day AI Pipeline

How we built a 10-phase autonomous system that goes from raw news to published video in ~40 minutes. Checkpoint/resume, fault isolation, zero human intervention.

Why 10 Phases?

Most "AI content" systems are a single LLM call wrapped in a script. That works until it doesn't. One failure and you lose the whole run. We split the pipeline into 10 independently fault-tolerant phases.

Checkpoint/Resume Architecture

Every phase writes a JSON checkpoint file to disk using atomic writes (write to .tmp, then rename). If the process crashes at phase 7, the next run detects phases 1-6 are complete and resumes from phase 7. No lost work.

.vdna2/checkpoints/{run_id}/
  phase_01_discovery.json
  phase_02_weighting.json
  phase_03_quality_gate.json
  ...
  phase_10_post_pipeline.json  <-- all complete = run done

The Weighting Algorithm

Phase 2 doesn't just pick the top story. It scores each candidate on 4 axes: relevance (topic-cluster match), timeliness (freshness decay curve), audience demand (search trend alignment), and diversity (avoids repeating yesterday's content). The weighted score determines production priority.

Why Gemini Flash?

Cost. At our volume (50+ scripts/day), even $0.001/script compounds fast. Gemini Flash-latest handles journalistic script generation at a fraction of GPT-4's cost. We use it for scripting, metadata generation, and the follow-up SEO article. Quality is sufficient for news; cost savings are 10-50x.

Fault Isolation

Each phase has a primary function and an optional fallback. Voice synthesis: Fish Speech primary, gTTS fallback. Scripting: Gemini primary, cached topic data fallback. If a phase fails and has no fallback, the pipeline degrades gracefully — it skips that story and moves to the next, logging the failure for review.

The Stack

Discovery
Serper API, RSS feeds, custom scrapers
Scripting
Gemini Flash-latest, RAG context
Voice
Fish Speech primary, gTTS fallback
Assembly
FFmpeg, Ken Burns, captions, branding
Upload
YouTube Data API v3, scheduled publish
Post-Pipeline
SEO article, sitemap, WP-Cron

More Technical Reading

Voice AI 6 min Jun 28, 2026

Why We Built Custom Voice AI Instead of Using Generic TTS

Generic TTS sounds like a robot. We trained a custom voice model using RVC (Retrained Voice Cloning) on our own voice data. Here is why it matters and how it works.

READ MORE →
End-to-End 10 min Jun 28, 2026

From Raw News to Published Video in 40 Minutes

A complete walkthrough of one production cycle: discovery, weighting, scripting, voice synthesis, thumbnail generation, assembly, audit, upload, and SEO.

READ MORE →

10-Phase Pipeline

Each phase is independently fault-tolerant with checkpoint/resume. Crash at phase 7? It resumes from phase 8. No lost work.

01

Discovery

5 min
02

Weighting

2 min
03

Quality Gate

3 min
04

Scripting

5 min
05

Voice

10 min
06

Thumbnail

2 min
07

Assembly

10 min
08

Forensic Audit

1 min
09

Upload

5 min
10

Post-Pipeline

5 min
INPUT: 300+ News Sources 10 PHASES OUTPUT: Video + Shorts + Article + Sitemap

This automation
for your business?

The ViralDNA proves the stack works at scale. Same architecture, same reliability — customized for your content, your workflow, your goals.

Start a Conversation See It on YouTube