# AI short-video factory with a metrics feedback loop

> A daily short-video pipeline for our own brand channels, where an analyst agent reads fresh metrics and sets the hypothesis for the next batch.

- Service: Content factories
- Stack: Claude Code, ElevenLabs, Remotion, ffmpeg, Whisper, Python, TypeScript
- Canonical: https://jamm-automation.com/cases/video-factory/
- Updated: 2026-11-29

## Manual

Short videos made one by one mean writing, voicing, editing and uploading by hand.

- **Memory:** the next idea depends on someone remembering what worked last week.
- **Upload:** every platform is a separate manual step.

## System

Agents plan and write, tools voice and render, and a QA stage gates scheduling.

- **Analyst agent:** reads the last three days of metrics and sets the day's hypothesis.
- **Scriptwriter agent:** writes scripts to a template.
- **Voice:** ElevenLabs with word timestamps; ffmpeg normalises loudness.
- **Render:** Remotion, vertical 9:16.
- **QA:** checks the text against platform rules, transcribes the voice-over back with local Whisper and reads the opening frames with OCR.

## Autopilot

Scheduled Claude Code routines run the cycle.

- **Cycle:** metrics, hypothesis, scripts, build, schedule.
- **Scheduling:** TikTok and YouTube, with AI-content labels on.
- **Feedback:** each batch's results feed the next hypothesis.
