Skip to Content
🎬Video-Labs
CLI & Reference

vlab Command Reference

Complete command-line flag and sub-command reference for ./vlab.

./vlab is the primary CLI command interface for Video-Labs.


Environment & Diagnostics

CommandDescription
./vlab doctor [--json] [--yes]Runs comprehensive health checks on chip, FFmpeg, Python venv, Bun, and models. With --yes, auto-downloads missing weights.
./vlab setup doctor|upstream|downloads|progress|finishGuided setup steps for a fresh Mac clone.

Channel & Episode Management

CommandDescription
./vlab list [--mine]Lists all channels, recent post counts, and each episode's current pipeline step.
./vlab status <id>Displays an episode's state, locks, completed steps, human approvals, and costs.
./vlab new <channel> <id> "<topic>"Scaffolds a new episode directory with template script.json and status.json.
./vlab check <id>Validates script.json against its channel's look templates, schema, and duration constraints.
./vlab approve <id> script|finalRecords required human checkpoints (script approval before voicing, final approval before rendering/posting).
./vlab cut <long-id> <new-id> <scenes>Cuts a 9:16 Short from a long-form episode (reusing existing audio/art).

Audio & Sound

CommandDescription
./vlab narrator <id> <engine> <voice> [--speed=1.0]Configures the episode narrator voice across 8 supported engines.
./vlab voice <id>Synthesizes narration audio and computes word-level timestamp alignment (timeline.json).
./vlab sound search "<query>" [--category=sound_effect|music]Searches Openverse for free CC0/CC-BY music beds and SFX.
./vlab sound download <uuid> [--as=<name>]Downloads and tags an audio asset into public/sound/.
./vlab audio-qa <file> [--target-lufs=-14.0]Audits integrated loudness (-14 LUFS) and peak headroom ($\le -1.0\text{ dBTP}$).

Artwork & Stills

CommandDescription
./vlab still <id> <scene> [--plate]Renders a single frame of a scene (~2s) to out/<channel>/<id>/stills/. --plate renders without text.
./vlab art <id> [scene|key] [--yes]Generates illustration candidates for the style key or scenes.
./vlab pick-art <id> <scene|key> <n>Selects candidate $n$ from the contact sheet and attaches it to the episode.
./vlab attach-art <id> <scene|key> <file_or_url>Attaches an externally created image to the episode scene.
./vlab thumbs <id>Generates a thumbnail contact sheet (sheet.jpg) from peak video frames.
./vlab thumb <id> <n>Selects candidate $n$ as the canonical episode thumbnail (thumbnail.jpg).

Rendering & Publishing

CommandDescription
scripts/render.sh <id>Executes Remotion Chromium render, FFmpeg hardware encoding, dynamic SFX mixing, and audio loudness normalization.
./vlab captions <id>Generates subtitles in .srt format from timeline.json.
./vlab chapters <id>Generates formatted YouTube chapter timestamps from scenes for description text.
./vlab publish <id> youtube [--privacy=public|unlisted|private] [--at=<ISO>] [--yes]Publishes or schedules a video to YouTube.
./vlab publish <id> instagram [--at=<ISO>] [--yes]Publishes or queues an Instagram Reel.
./vlab publish <id> tiktok [--yes]Pushes video to TikTok account drafts.
./vlab publish <id> tiktok --directOpens the browser-based TikTok Direct Post creator workflow.

On this page