What you'll make
A working studio folder that passes its own check: Everything is ready.
Steps
- 1Install the three free programs. Node.js LTS from nodejs.org (version 20 or newer); Python 3.11 or newer from python.org (on Windows, tick Add python.exe to PATH); and FFmpeg (Windows:
winget install Gyan.FFmpegin PowerShell, Mac:brew install ffmpeg). Then close the terminal and open a new one so it can find them. - 2Install Claude Code and sign in:
npm install -g @anthropic-ai/claude-code, thenclaude. - 3Make your channel folder. Create a folder such as
my-channeland unzipdocumentary-studio.zipinto it. You should seestudio/andvideos/inside. - 4Open Claude Code in that folder (
cd my-channel, thenclaude) and paste the prompt below. Claude installs the packages, the browser and the voice model, then runs the check. - 5Read the result. Every line should say
ok.
Say this to Claude Code
text
Read studio/CLAUDE.md. Then set up this studio on my computer: 1. In studio/, run npm install, then npx playwright install chromium-headless-shell. 2. Install the Python packages: python -m pip install kokoro-onnx faster-whisper soundfile numpy scipy (use python3 on a Mac). 3. Run node studio/bin/check.mjs --fetch from the project folder and fix anything it reports. 4. Generate the music beds if studio/music is empty: python studio/bin/music.py Stop when check.mjs says everything is ready, and tell me what you installed.
What each piece does
| Piece | Job |
|---|---|
studio/player/ | a web page that can draw any moment of any film |
studio/styles/ | the 26 style engines and their template guides |
studio/bin/voice.py | Kokoro reads the script; faster-whisper times every word |
studio/bin/render.mjs | opens the player in hidden Chrome, captures frames, encodes chunks |
studio/bin/assemble.mjs | joins chunks, mixes voice and music, writes captions and chapters |
studio/models/ | the Kokoro voice model, about 350 MB, downloaded once |
Check
node studio/bin/check.mjs prints ok on every line and ends with Everything is ready.
If it breaks
| You see | Do this |
|---|---|
ffmpeg is not recognized | open a new terminal; on Windows sign out and back in after installing |
Cannot find package 'playwright-core' | run npm install inside studio/ |
Executable doesn't exist | run npx playwright install chromium-headless-shell inside studio/ |
Python UnicodeEncodeError | Windows only: run setx PYTHONUTF8 1, then open a new terminal |
| espeak or phoneme errors from Kokoro | move the project to a short path such as C:\docs\my-channel |
| The model download fails | download the two files named in the error by hand into studio/models/ |