See what it makes
What is this?
Headless Studio is an AI video production framework that runs entirely from Claude Desktop — no Anthropic API key, no SaaS subscriptions for the pipeline itself. Point it at your brand, and it handles the rest: website research, B-roll rendering with Remotion, HeyGen avatar generation (your own avatar, your own voice), Whisper captions, ffmpeg composition, Cloudinary upload, and Buffer social scheduling.
Three human gates. Everything else is headless.
How it works
| Gate | What you approve |
|---|
| Gate A | B-roll scene list — min 10 scenes before anything renders |
| Gate B | Script + storyboard — nothing paid (HeyGen) fires until you say yes |
| Gate C | Composed preview — approve before it goes live |
Quick Start
Windows:
git clone https://github.com/your-username/headless-studio
cd headless-studio
.\setup.ps1
macOS / Linux:
git clone https://github.com/your-username/headless-studio
cd headless-studio
./setup.sh
The setup wizard walks you through every credential — including exactly where to find your HeyGen avatar ID, look ID, and voice ID.
npm run check # verify everything is wired up
Then open Claude Desktop in this folder and say:
"make me a video about [your product]"
Configuration
Two files. That's it.
brand.config.ts
export const brand = {
name: "Your Brand",
url: "https://your-product.com",
primaryColor: "#6366F1",
accentColor: "#F59E0B",
backgroundColor: "#0F0F0F",
logo: "assets/brand/logo.png",
headlineFont: "Inter",
bodyFont: "Inter",
format: "portrait" as const, // "portrait" | "landscape"
tagline: "Your tagline here",
publishChannel: "linkedin" as const,
};
topics.config.ts
export const topics = [
"Why [Brand] beats the manual approach",
"3 features your team is missing",
"How [Brand] saves 5 hours a week",
"The problem with [competitor approach]",
"What [Brand] customers say after 30 days",
];
.env — Credentials
# HeyGen — the setup wizard guides you to each value
HEYGEN_API_KEY=
HEYGEN_AVATAR_ID=
HEYGEN_LOOK_ID=
HEYGEN_VOICE_ID=
# Buffer — https://publish.buffer.com/settings/api
BUFFER_TOKEN=
BUFFER_CHANNEL_ID=
# Cloudinary — https://cloudinary.com/console
CLOUDINARY_URL=
# No ANTHROPIC_KEY needed — Claude Desktop is the AI runtime
What's included
| Research | B-roll | Avatar | Publish |
|---|
| What | Playwright crawl of your site — headlines, benefits, features, social proof | 15–20 scene proposals → renders ≥10 as Remotion compositions | HeyGen render with your avatar, look, and voice IDs | Cloudinary upload + Buffer social scheduling |
| Output | research.json + screenshots | broll/*.mp4 served via local API | avatar/clip.mp4 | Live post on LinkedIn / your channel |
| Gate | Auto — cached after first run | Gate A — you approve the list | Gate B — you approve the script | Gate C — you approve the preview |
Full Pipeline Reference
| Step | Script | Touchpoint |
|---|
| Brand validation | brand.config.ts | Auto |
| Website research | scripts/research.ts | Auto — cached, re-run with "refresh my research" |
| B-roll enumeration | skill | Gate A — approve scene list (min 10) |
| B-roll render | scripts/broll-api.ts | Auto after Gate A |
| Script + storyboard | skill | Gate B — approve before HeyGen fires |
| Avatar render | HeyGen via skill | Auto — cost estimate shown first |
| Captions | scripts/full-captions.ts | Auto |
| Compose | scripts/compose.ts | Gate C — approve preview |
| Publish | scripts/publish.ts | Auto |
| Cron schedule | .claude/scheduled-tasks/ | Optional — offered after first publish |
Cron / Automated Schedule
After your first publish, Claude offers to set up a weekly run: