setup.mjs
node $S/scripts/setup.mjs # interactive: toolkit, ElevenLabs key, default voice
node $S/scripts/setup.mjs --check # read-only report
node $S/scripts/setup.mjs --install # Playwright + Chromium only
node $S/scripts/setup.mjs --key # (re)enter the key
node $S/scripts/setup.mjs --voice # change the default narratornew.mjs
node $S/scripts/new.mjs reels/my-reel --title "Onboarding emails"Scaffolds a project from the five-beat template: scene.js, bramwell.config.json, plan/brief.md, audio/script.txt, audio/sfx-plan.json.
direct.mjs
node $S/scripts/direct.mjs reels/my-reel [--script audio/script.txt] [--tone dry] [--json]Free. Writes plan/direction.json. See Auto-direction.
eleven.mjs
| Command | Cost | Does |
|---|---|---|
credits | free | plan and credits left |
voices [--search british] | free | voices on your account |
cast <proj> [--tone] [--gender] [--accent] | free | who would narrate, and why |
tts <proj> [--voice auto|id] [--model eleven_v4] [--yes] | ≈1 credit / character | narration + vo.words.json |
sfx <proj> --prompt "…" --dur 1.2 --out audio/sfx/x.mp3 [--yes] | ≈40 credits / s | one effect |
sfx-batch <proj> --plan audio/sfx-plan.json [--yes] | ≈40 credits / s each | the signature set |
music <proj> --prompt "…" --ms 24000 [--yes] | per plan | a music bed |
Without --yes, paid commands print what they'd send and the estimate, and stop.
render.mjs
node $S/engine/render.mjs <proj> --stills auto --sheet --guides # 12 stills + contact sheet + safe zones
node $S/engine/render.mjs <proj> --stills 0,1.5,3 # exact times
node $S/engine/render.mjs <proj> --out renders/x-v1.mp4 --scale 0.5 --audio audio/mix.wav
node $S/engine/render.mjs <proj> --out final/x-v1.mp4 --audio audio/mix.wav
node $S/engine/render.mjs <proj> --out renders/overlay.mov --alpha # ProRes 4444 with transparency
node $S/engine/render.mjs <proj> --out renders/overlay.webm --alpha # VP9 with alpha
node $S/engine/render.mjs <proj> --cues # writes cache/cues.jsonOutput is always 1080×1920 at 30 fps; --scale only speeds up previews.
sound.mjs
node $S/scripts/sound.mjs <proj> [--out audio/mix.wav] [--no-music] [--lufs -14]Reads the scene's cues, mixes the voice, effects and ducked music, normalises to −14 LUFS / −1.5 dBTP, and prints the measurement.