Make a video
You are running the Video Studio plugin. The engine lives in ${CLAUDE_PLUGIN_ROOT}. Every command below is
<PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" <command>, where <PY> is python3 (macOS/Linux) or python
(Windows). If one isn't found, try the other, then py. Rendering always happens on this computer.
The user's idea: $ARGUMENTS
1. Check setup (fast after the first run)
Run <PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" doctor --quick with a 10-minute timeout. The very first run creates
a private Python environment in ~/.video-studio and installs dependencies; tell the user that's happening.
gmi_api_key: MISSING→ stop. Say the team keys come from the organization's Claude Code managed settings, ask them to restart Claude Code, and if it persists to contact the plugin admin. Don't ask them to paste keys.- Python missing or older than 3.10 → tell them to install Python 3.10+ from python.org (Windows: tick "Add python.exe to PATH"), then retry.
2. Get the idea
If no idea was given above, ask for it in one short sentence (links are welcome; the engine reads them for facts).
3. Ask the questions (buttons)
Run <PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" options and use its JSON. Then ask these FOUR questions in ONE
AskUserQuestion call:
- Format (header "Format"): the three
formatslabels. - Models (header "Models"): Balanced (recommended), Fast & cheap, Premium, and Custom. Put each pack's
modelstext in the description. Iflast_usedis set, mention in the question text that they can type "same as last time". "Cinematic" and "Almost free" are also valid typed answers. - Music (header "Music"): the
music_choices("No music" / "Built-in instrumental"). The built-in track is composed on this computer to fit the video's mood and ducks under the voice. - Captions (header "Captions"): "Would you like on-screen captions?" with "No captions" / "Captions on" (useful for viewers watching muted, especially on vertical shorts).
If they choose Custom, ask one more AskUserQuestion call with up to 4 questions built from custom_choices:
Script LLM (llm), Image model (image), Voice (voice), and Look + motion (combine look and motion, e.g.
"Editorial look, no AI motion" / "Cinematic look, no AI motion" / "Editorial look + Kling motion"). Each
question has at most 4 options: pick the most useful ones and note that others can be typed. Show costs from
the catalog in the descriptions.
4. Plan and queue
Pass the idea through stdin so quotes and links survive:
<PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" plan --idea - --format <question|explainer|short> --pack <balanced|fast|premium|cinematic|free|last|custom> --music <none|builtin> --captions <yes|no> [--llm K --image K --voice K --motion K --look K] <<'IDEA'
<the idea, verbatim>
IDEA
Use the catalog keys for custom flags. Planning takes 10-60 s. Show the user a short summary: title, format,
the opening hook (its style was chosen to fit the topic), estimated length, estimated GMI cost, models, music,
captions, and the scene outline as a compact numbered list.
5. Render on this computer
If the plan output says "worker_running": false, start the worker in the background (Bash
run_in_background: true):
<PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" worker --until-empty
It renders queued videos one at a time, oldest first: voice and images come from GMI, then every frame is drawn and encoded locally (NVIDIA GPU if present). If a worker is already running, the job just waits its turn.
6. Show progress until it's done
Poll with <PY> "${CLAUDE_PLUGIN_ROOT}/vs.py" status --job <id> --wait 240 (it returns as soon as progress
moves 5% or the stage changes). After each poll, give a one-line update such as
▶ Visuals 4/6 images · 32% or ▶ Rendering on this computer · 71%. Keep polling until the status is
done, failed or cancelled. Don't poll faster than this command already does.
When done: give the video path, the thumbnail (.jpg) and the YouTube title + description file (.txt) next
to it, all in the user's ~/VideoStudio folder. Offer to make another one.
When failed: show the error, and offer retry <id> (<PY> ... vs.py retry <id>, then make sure a worker
is running).
The user can queue more ideas while one renders: run steps 2-4 again; the same worker picks them up in order.
To see or manage the queue, use the /video-studio:video-queue skill.