launch-promo
Installation
SKILL.md
launch-promo
A launch film is one HTML page. seek(t) draws the frame at time t from scratch. Scenes are small files that build DOM once and update it as a pure function of t. Their beats hang off voiceover words (W('viral')), so the voice and the picture can't drift apart. render.py renders it in parallel headless Chromium workers with 4-sample motion blur. audio.py mixes the voice, the music and the SFX cues the scenes registered.

| path | what it is |
|---|---|
template/ |
Copy this to start. A 20 s film for a placeholder product ("Orbit — replies on autopilot") in four scenes: hook, brand reveal, feature cards, end card. It renders before any API call (planned VO timings, SFX-only mix). |
template/film.js |
The one config: size, fps, length, brand, palette, HUD text, fonts, mix settings. |
template/src/lib.js |
Easing, closed-form springs, rise (word-rise headlines), type (typewriter), noise1, cached DOM writes. |
template/src/components.js |
Mascot (+ app-icon mode), phone, sticker, pill, tag, toggle, keycap, starburst, heart, paper plane, cursor, app tiles, wordmark. |
template/src/core.js, main.js, style.css |
Scene registry + W()/sfx(), seek(t) + grain + preview scrubber, the sticker/type/device styles. |
template/vo.py · music.py · audio.py · render.py |
Voice (plan / take / place), music plan → ElevenLabs Music, SFX synthesis + ducked mix, stills / sheets / full render / mux. |
examples/loopcast/ |
A full 57.5 s, 9-scene film (built shot for shot on a reference promo) as an overlay on the template. |
scripts/ |
refsheet.py (labelled contact sheets), ref_words.py (Whisper word timings → line starts), palette.py (sample hex from a frame), motion_stats.py (% frames moving, longest hold). |
references/ |
aesthetic.md, motion.md, text.md, structure.md, audio.md, gotchas.md. Read aesthetic + motion before writing a scene. |
Requirements: uv, ffmpeg, Playwright's Chromium (uvx playwright install chromium). For voice and music you need an ElevenLabs key ($ELEVENLABS_API_KEY or the macOS Keychain item ELEVENLABS_API_KEY). Whisper checks use mlx-whisper on Apple Silicon.