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.
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
- DEV Community (Hisashi, Hisashi Space) ↗ Firsthand write-up, published November 24, 2026
Source published: November 24, 2026. Last reviewed here: November 25, 2026. Spot a mistake? Tell us.
Tools in this workflow
- Claude Code: Writes the HTML scenes and the checksTry Claude Code
- ElevenLabs: Per-line voice from a clone of the author's voiceTry ElevenLabs
- FFmpeg: Joins frames, voice and music; loudness correctionTry FFmpeg
- Playwright: Drives headless Chromium to capture framesTry Playwright
- Pixabay: Free stock footageTry Pixabay
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.
Related workflows
Hand your year-end bookkeeping checklist to Claude Code: it finds context in your email, reconciles in Xero and asks you only what it cannot find
The owner of a small UK company gave Claude Code his accountant's 37-item year-end checklist. Claude planned the job, reconciled about 200 bank lines in Xero, recategorised expenses and filled the form, with about an hour of his input over 80 short messages.
Coordinate a dozen Claude Code sessions as a tiny company with a message relay, an approval-claim filter and a health check for silent stops
A solo operator runs several small projects with Claude Code sessions in roles (a COO, project owners, a coder) and lists what broke in the first weeks: sessions that could not talk, fake approval claims, and scheduled tasks that stopped silently. Revenue is still near zero.
Make product demo videos with a six-agent Claude team using Remotion and Higgsfield, while the founder keeps the brief and every claim
A small software studio set up six single-job agents on its Claude subscription (screen recorder, editor, motion designer, copywriter, a 'where is it boring' auditor and a router) to make product demos, for about $40 a month instead of roughly $500 per video.
Let Claude clean up a neglected Shopify store's SEO, then publish one Search Console-led blog post a day with a weekly results email
A small e-commerce owner gave Claude Shopify and Search Console access, approved a batch of title, meta and alt-text fixes, and let it run a daily job posting one blog article plus a weekly performance email. Clicks and impressions rose modestly.