Stickman stories
The whole pipeline, from an idea to a checked MP4, all run locally with free tools:
idea -> series bible -> script.txt -> voice.py -> words.py -> shots.py -> render.py -> QA -> report
Read the references for the step you're on:
| Step | Read |
|---|---|
| Writing or reviewing a story | references/story-guidelines.md (the craft), references/master-qa-prompt.md (the full rules) |
| Starting a series | references/series-bible.md |
| Script, voice, captions | references/script-and-voice.md |
| Drawing shots, sound, rendering | references/animation.md |
| Checking a finished video | references/qa-checklist.md |
Working examples: examples/30-days/ is a serialized horror series: 3 episodes, scripts, cast, bible, every shot.
examples/survival-odds/ is a bright standalone explainer with a HUD.
Setup (once)
scripts/setup.sh makes two virtual environments in ~/.cache/stickman-stories/:
anim: skia-python, numpy, soundfile, imageio-ffmpeg, faster-whisper.tts: Qwen3-TTS and torch, about 4 GB of model download on first use.
Say how big the download is before running it.
Making an episode
A series is a folder, and each episode is a subfolder in it:
my-series/
BIBLE.md canon: premise, rules, cast, truths, setups/payoffs, episode log
cast.json one designed voice per speaker
voice_pitch.json written by voice.py: each speaker's reference pitch, so voices stay the same across episodes
shots.py SHOTS = {name: draw(canvas, ctx)} + sound tables
ep01/
script.txt narration + NAME: dialogue + [shot] / [act] / [pause] tags
card.json end card: {"day", "next", "question", "a", "b"}
- Story first. Write the beats against the bible and
story-guidelines.mdbefore any code. Show the user an outline of anything new (a series, a character, a new look) before building it. - Script. Write
script.txt. Every line gets a[shot name], and lines are one thought each. - Voice.
$TTS scripts/voice.py my-series/ep01/script.txt my-series/ep01/voice.wav [--pace 210]. Takes about 1-2 min per line and about 4 GB of memory. Warn the user before a long run: on an 8 GB machine, other audio and video stutter. Takes are cached, so re-runs only record lines that changed. - Captions.
$ANIM scripts/words.py my-series/ep01. This writes words.json, the script's words with Whisper's timings. - Shots. Add any new shot functions to
shots.py. Time every on-screen effect to its word withx.kw("word"). - Render.
$ANIM scripts/render.py my-series/ep01, or--still 12.5for one frame and--from/--tofor a slice. - Check.
$ANIM scripts/dead_air.py my-series/ep01/render.mp4- Make a contact sheet (
$ANIM scripts/contact_sheet.py render.mp4) and look at every tile. - Run the full QA in
qa-checklist.md. - Fix the problems, re-render, and repeat until everything passes.
$ANIM / $TTS = ~/.cache/stickman-stories/{anim,tts}/bin/python -I.
Rules that came from real feedback
- Hook in the first 2 seconds. A cold-open line about something strange or dangerous, never a slow setup.
- Fast. A cut or a framing change about every 2 s; render.py sub-cuts long shots automatically. Episodes are about 75-95 s (about 220-250 words). Never hold still on nothing for more than 2 s.
- Captions at the bottom (y≈1590), small, white, sentence case, 2-4 words at a time.
- Diction over drama. Calm, serious, conversational voices. "Urgent" acting notes destroy pronunciation, and "slow, let it land" makes a drawl. Every take is Whisper-checked word by word, so tell the user which lines still flag and at what second.
- Show the character doing it. Walking the aisle, pushing the cart, reaching for the shelf, not only item close-ups. Invest in backgrounds: a real place with perspective, not flat colour.
- Time effects to the word. The X lands on "won't work", and items drop in as they're named. The X stays on
screen briefly after the line (
LINGER). - Survival tips as contrasts: "X, Y and Z won't work, so you grab A, B and C." Narrated a little faster
(
--pace 240) so it flows. - Never invent canon casually. A throwaway "Grandma" in a list creates a relative the series now owes.
- Test what the viewer sees, not what the code says. Rendering is not finishing.
Report
When QA passes, report in the format in qa-checklist.md: status, scores, strongest and weakest moments, canon
confirmation and verdict. Also list any line the voice check still flags, with its timestamp.