doc-shorts
Installation
SKILL.md
doc-shorts
A doc short is one video.toml next to an assets/ folder (photos, cut-outs, plates) and an audio/ folder
(narration, music). The engine in template/ reads the spec, resolves each shot's cue word against the
narration's word timings, and draws every tick (0.1 s) in a 720x1280 design space, output at 1080x1920 and 30 fps.
One build serves any number of films.

| path | what it is |
|---|---|
template/ |
The fframes crate (cargo build --release once; the first build takes 1-2 min). src/spec.rs reads the spec, src/kit.rs holds the shared look (fonts, caption filters, fills), src/shots/ has one file per kind, src/shaders/ the texture and procedural shaders. |
template/tools/ |
short.sh (run the engine on a spec), vo.py (ElevenLabs take + word timings, or --plan for free estimates), words.py (Whisper timings for your own recording), music.py (ElevenLabs Music bed on the spec's sections), cutout.py (rembg cut-outs), cmp.sh (reference vs ours at the same ticks), measure.py, pixdiff.sh, earth_bake.py (bake an Earth plate for any region). |
template/examples/google-origin/ |
The worked example: a 27 s reel about how Google started at Stanford, rebuilt tick for tick from a Pinterest doc reel. One spec file per shot in shots/, the plates, the reel's audio and the reference video, and the scripts that built the plates. It's also the engine's regression test. |
scripts/study.py |
Download a reference reel and take it apart: a frame per tick, contact sheets, cuts, Whisper word timings and the cadence. |
references/ |
aesthetic.md (what makes the look, and the originality rules), pipeline.md (topic → script → voice → shot plan → pictures → render), spec.md (every video.toml key, adding a kind), shots.md + kinds/*.md (every kind's params), look.md (the measured texture, type, palette and motion), case-study.md (how the reference was rebuilt, and the lessons). |