dynamic-promo-video
Installation
SKILL.md
Dynamic promo video (HTML scenes + voiceover + music)
Produces a 1280x720, ~25-45s MP4: animated scenes in one HTML page, rendered frame by frame with Playwright, encoded with ffmpeg, narrated with a TTS voice (e.g. ElevenLabs), with ducked background music.
SKILL_DIR below means this skill's folder. Only the template is copied into the work folder; the scripts run from SKILL_DIR/scripts/ (each has --help). Needs Node + Playwright/Chromium (preinstalled in cloud sessions; do not reinstall), ffmpeg/ffprobe, Python 3 with numpy.
| Step | Use |
|---|---|
| Scenes | assets/template/index.html · details: references/scene-engine.md |
| Real page screenshots | references/screenshots.md |
| Voiceover | references/voiceover.md · scripts/tts_elevenlabs.py, scripts/timing.py |
| Render + encode | scripts/render.js |
| Music, mix | scripts/music.py, scripts/mix.py · references/music-and-mix.md |
| Check | scripts/verify.py |