CODE✓ Tested 2.12.2026

How these videos are built

From the video "Just got back from the gym"

⏱ 1 afternoon◆ Claude plan☰ 2 Steps
What you need

✓ Tested 2 Dec 2026: one paste of the prompt into an empty folder. 21 turns, about 15 minutes, no help from us.

No video AI, no credits. Every frame is drawn by code on a normal laptop. That's why it costs nothing per video. Here's the whole machine, then a prompt to build a small version yourself.

1

The 6 parts

  1. The script is a simple list. Each line says who speaks, what they say, the camera shot and the face (happy, shocked, smug).
  2. The voices come from edge-tts, which is free. It also gives the timing of every word.
  3. The scene is built with Three.js, a free 3D library that runs in a web page. The characters are simple shapes: boxes, spheres and a face drawn on top.
  4. The animation follows the voice. The mouth opens with the volume, captions light up word by word, and the camera cuts on every line.
  5. Chrome renders it with no window open, one exact frame at a time. ffmpeg joins the frames into an MP4. This isn't screen recording, so nothing stutters.
  6. Music and sound effects are generated in Python, so there are no licenses to buy. Everything is mixed to -14 LUFS, the loudness the apps expect.

A 35-second video takes about a minute or two to render on our laptop. Writing and fixing the first version took real back-and-forth. After that, a new episode is mostly writing the script.

Prompt to build a mini version (Claude Code)
Build me a tiny code-made cartoon pipeline in this folder. Free tools only.

1. scene.html: a Three.js scene with a desk and two characters made from simple shapes: a person with round glasses, and a small orange block character with big eyes. Expose window.render(t) that draws the exact frame at time t (seconds).
2. script.json: 4 dialogue lines. Each has who, text and camera (close-up or wide).
3. voices.py: make each line with edge-tts, save the audio and the word timings, and build one timeline file.
4. render.mjs: open scene.html in headless Chrome with puppeteer-core and the Chrome I already have installed (no extra download), step t at 30 fps, take each frame and pipe it into ffmpeg to get a 1080x1920 MP4.
5. Captions: draw them on a canvas over the scene, word by word from the timings. The speaking character's mouth opens with the voice volume.
6. Audio: mix the voices with a quiet music bed generated in Python, and set loudness to -14 LUFS.

Start with a 5-second test. Show me one frame before you render the full video.
Example · Real lines from our script file
{ "who": "claude",  "text": "Zero.",            "shot": "close-up", "face": "happy" }
{ "who": "creator", "text": "Even the voices?", "shot": "medium",   "face": "thinking", "pose": "scratch head" }
{ "who": "claude",  "text": "Also code.",       "shot": "close-up", "face": "happy", "gag": "wireframe body" }
✓ What we got · What it reported back (shortened)
scene.html: a desk with a laptop, mug and lamp, a person with round glasses and a small
orange block character. window.render(t) draws the exact frame for time t.
script.json: 4 lines, "The Keyboard Cat". Camera: wide, close-up, close-up, wide.
voices.py: edge-tts per line + word timings -> timeline.json (17.0 s), a quiet music bed, -14 LUFS.
render.mjs: puppeteer-core with the installed Chrome, 30 fps, frames piped into ffmpeg.

5-second test: done (1080x1920). Two frames attached for you to check.
Speed: about 1.7 s per frame on this laptop (Chrome draws 3D in software), so the full
17 s video is about 15 minutes. "I'll run both if you give the go-ahead."
✓ What we got
Frame 1 it showed us: wide shot, word-by-word caption.
Frame 1 it showed us: wide shot, word-by-word caption.
Frame 2: close-up on the block character.
Frame 2: close-up on the block character.
2

Things that will go wrong (and the fix)

  • The camera is too close and heads get cut off in 9:16. Ask for wider shots and check stills.
  • Arm poses glitch in single frames. Poses must depend on time, not on the previous frame.
  • The free voices leave long pauses between sentences. Trim silences longer than 0.2 s.
  • Always look at real frames before rendering everything. A finished command doesn't mean a good video.
Download the kitEvery prompt from this guide as a text file, ready to paste. (1)
ZIP ↓

More free guides

STEPSThe 5 steps, with a prompt for eachFrom the video "My last video got six views"
FREEThe full tool list ($0 extra)From the video "Why is my phone full of notifications?"
LOOPThe trial reel loopFrom the video "What are you doing?" (the red eyes one)
LEADSThe lead list, in 3 honest stepsFrom the video "I need clients. Like, yesterday."

All guides (10) →