Skip to content
Founder Workflows
BrowseSaved
Browse by stage

Build explainer videos from a script with Claude Code, then let 19 automatic checks block any export that breaks a rule

A one-person software company turns each script line into a cloned-voice clip, has Claude Code build the video as a timed web page, renders it with a headless browser and ffmpeg, and refuses to export until a list of checks passes.

DocumentedContent marketingContent and newsletterSmall SaaSScriptAI-assisted manual work

Evidence: The source shows its work: steps, screenshots, code or data you can inspect.

The business problem

A solo founder making explainer videos for three YouTube channels could not fit hand editing into the week, and fixing one sentence in a normal editor means re-cutting half the timeline.

What was tried

1. Write the script as a JSON list, one sentence per entry, each with a note saying what should be on screen. 2. Send each line to ElevenLabs with a voice trained on the author's own voice; only changed lines are regenerated. Join the clips into one track and save each line's start and end time, which becomes the clock for the whole video. A local Whisper model gives word times so highlights can appear on the spoken word, and breaths and gaps are trimmed. 3. Claude Code writes one 1920 by 1080 HTML page where each scene (card, illustration, stock clip, screenshot, caption) is tied to a line. Build rules stop the run if a picture repeats or the last 20 seconds overlap YouTube's end-screen area; screenshots are checked for emails and card numbers and those are blurred. 4. Playwright drives four headless Chromium instances that capture 30 frames a second; ffmpeg joins frames, voice and mood-based music, and loudness is corrected to -14 LUFS. 5. Before export, 19 gates run (subtitle breaks, missing voice, stock clip density, layout overlap every half second, dropped frames, end-screen zones, loudness and more); any failure stops the export. 6. The author reviews still pictures of every scene before rendering, then watches the finished video once, and turns each mistake caught into a new check.

What was reported (mixed)

The author reports 69 videos passed his final check in four days and 33 more were sent back. The example video was 6 minutes 17 seconds, 11,314 frames, 103 scenes and 42 stock clips, ending at -14.4 LUFS with zero layout problems logged. He says the gain is time, not views: his short videos stall around 1,000 views and he has no hit yet. Mismatches between the spoken words and what is on screen still have to be caught by eye.

Limitations

Self-reported by one founder; the full build scripts are not published, only file excerpts, the list of checks and starter prompts. Render time was not recorded. No audience or revenue effect is reported, and views are low. It suits scripted explainers and screen demos, not vlogs or anything filmed. It relies on a synthetic clone of the author's voice and on someone able to run what Claude Code builds; it was not tested on a first-time user. The author runs a software company and sells Mac and web apps, though not this pipeline.

What you need

Claude Code, an ElevenLabs account (or another text-to-speech service), Playwright with headless Chromium, ffmpeg, a local Whisper model for word timing, and free stock footage sources. Comfort running scripts from the command line.

Start with a four-line script and one check. Add a new check each time you catch a mistake instead of fixing only that video.

A prompt to try

I have a script in script.json: a list of lines, each with "text". 1. Turn each line into a voice file with [my text-to-speech service], skipping lines whose text has not changed. 2. Join them into one track and write timeline.json with each line's start and end in seconds and the total length. 3. Build one 1920 by 1080 HTML page with one scene per line, shown exactly between its start and end. 4. Do not export yet; show me the plan as still pictures first.

Sources

Source published: November 24, 2026. Last reviewed here: November 25, 2026. Spot a mistake? Tell us.

Tools in this workflow

Get new workflows like this by email

A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.

Your email address

Related workflows