← Back to work Production System

Autonomous Content Pipeline

Idea → published video, end to end

Proves
  • Multi-service AI orchestration
  • Stateful, resumable automation
  • API integration & OAuth
  • Statistical A/B testing
Stack
PythonClaude CLIedge-tts AI image generationFFmpegYouTube Data/Analytics API OAuth2cron

The problem

Producing regular long-form video content normally needs a writer, a voice, a video editor and someone managing publishing and performance — a real labor bottleneck for a solo operator or a small team wanting to run a content channel consistently.

What I built

A pipeline that takes a topic from research to a scheduled, published video with no manual editing. It researches content gaps, queues topics in a stateful job system, has Claude write the script, generates voiceover and AI imagery, assembles the video with burned captions, and publishes it to YouTube on a schedule through the official API — then feeds real performance data back into what gets made next.

Actual output

An AI-generated illustration used as one of the visuals in a finished video
One of ~20 AI-generated visuals produced for a single video
A frame from a finished, automatically assembled video with burned captions
A frame from the finished video — Ken Burns motion, burned captions

Real output from this pipeline. The channel it publishes to stays private — see the note below.

System flow

Topic research
Topic queue
Claude script generation
Text-to-speech
AI image generation
FFmpeg assembly + captions
Scheduled publish
Analytics → next cycle

Technical depth

  • Claude CLI is orchestrated as a scripted pipeline step, not used interactively — with typed error handling for auth and usage-limit failures.
  • A stateful, YAML-driven job queue makes every stage resumable — a failed run picks back up rather than starting over.
  • A statistical A/B testing framework compares image-generation approaches against real view-through performance.
  • Scheduled publishing runs through the official YouTube Data API with OAuth2 — metadata, scheduling and post-publish analytics included.

Reused for a second vertical

The same architecture was reused for a second content vertical, adding a retrieval-grounding layer that pulls cited excerpts from official government sources before script generation — so factual claims trace back to a primary source instead of the model's memory.

What's shown here, and what isn't

The publishing channel and private analytics are intentionally withheld. All visuals shown here are real, sanitized output from the running system.

Need something like this built?

I take on remote and contract implementation work — automation, internal tools, integrations and web systems.

Let’s talk