CLI
Edit BlitzReels videos from your terminal — or hand the controls to your AI agent.
The BlitzReels CLI is the same editor you use in the dashboard, exposed as commands. Run it yourself, or let your AI agent run it.
Sign in
blitzreels auth loginOpens BlitzReels in your browser, shows the one-time CLI code, and waits for you to click Connect CLI. After confirmation, the CLI remembers you on this machine.
If an agent is using the CLI for you, it should first probe the session:
blitzreels projects list --status active --jsonIf that reports a missing API key or signed-out state, run blitzreels auth login, then retry the same read command.
Only confirm the browser request when the code in BlitzReels matches the code printed in your terminal.
A typical session
# Prepare brand context from a public website
blitzreels onboarding scan start --website-url https://example.com --json
blitzreels onboarding scan get --run-id RUN_ID --json
blitzreels onboarding profile get --json
blitzreels onboarding logo import --profile-id PROFILE_ID --replace-existing false
blitzreels onboarding complete --brand-name "Creator Studio" --platforms tiktok,linkedin --json
# Pull a YouTube video into your library
blitzreels media import-youtube --url https://youtu.be/...
# Or create a managed short directly from YouTube
blitzreels clips create --source-type youtube \
--youtube-url https://youtu.be/... \
--name "Launch clip" \
--min-duration 8 \
--max-duration 45 \
--qa-mode permissive \
--json
# Add a hook to the first 2 seconds
blitzreels text add --project-id PRJ_xxx \
--text "WAIT FOR IT" --at 0 --duration 2 \
--font-family Pacifico --color "#17FFA6"
# Smooth an existing zoom effect
blitzreels effects zoom update --project-id PRJ_xxx \
--timeline-item-id TLI_xxx --scale-end 1.1 \
--easing easeInOut --duration 1.8
# Render the final short
blitzreels exports start --project-id PRJ_xxx
blitzreels exports download --export-id EXP_xxx --output ./short.mp4What the CLI covers
- Projects — create, rename, list, delete
- Onboarding — scan a website for brand context, review profile fields, import a logo, complete setup
- Media — upload files, import from YouTube, organize folders
- Clips — create managed shorts from YouTube or workspace assets
- Timeline — place clips, position overlays, move layers
- Effects — add/update zoom, mask, and color-grade effects
- Text overlays — hooks, lower thirds, brand cards
- Captions — apply themes, fix words, emphasize keywords
- Audio — search a stock library, drop in a track
- Cuts — remove silences and verbal stumbles, preview before applying
- Exports — render and download finished shorts
Built for AI agents
Every command supports flags that make automation safe:
- Preview before it ships. Add
--dry-runto any write command and the CLI shows what it would do without doing it. - Pipes into anything. Add
--jsonand outputs become structured data your agent (or script) can parse. - Helpful error messages. Typos suggest the closest valid command instead of failing silently.
- Agent context.
blitzreels agent-context --jsonreturns a machine-readable contract — flags, examples, destructive markers — so agents know what they can do.
Brand onboarding for agents
Use onboarding commands when a workspace needs brand context before video creation:
blitzreels onboarding scan start --website-url "https://example.com" --business-outcome book_calls --json
blitzreels onboarding scan get --run-id RUN_ID --json
blitzreels onboarding profile update --brand-name "Creator Studio" --protected-words "Brand,Product" --json
blitzreels onboarding logo import --profile-id PROFILE_ID --replace-existing false --json
blitzreels onboarding complete --brand-name "Creator Studio" --platforms tiktok,linkedin --save-workspace-icon true --jsonThe scan command returns a run_id. Poll it until the status is terminal, then read or patch the brand profile before completing onboarding. Mutating onboarding commands support --dry-run.
Next steps
- Agent Skills — drop-in skill packs for Claude Code, Cursor, and Codex
- Video Editor API and CLI — captions, transcripts, B-roll, media, and export workflow
- Agent Integrations — Claude Code, Codex, Cursor, and shell-agent video editing workflows
- Quickstart — make your first short
- API reference — the underlying REST API