One install gives you and your AI coding agent a real video editor in the terminal. Point it at a folder of clips and a JSON recipe, and get back a project you can open, fix by hand, and finish in your browser.
Maintained by the FrameCompose product team · Last reviewed 14 November 2026
Projects assembled from the CLI open as normal multi-track timelines in the browser editor and update live as commands run.
Install in one line: npm install -g framecompose.
Free API key on every plan. Dry runs, edits, and analysis tools cost nothing.
Every build is a real project you can open in the browser and fix by hand.
Connect Claude Code or Codex in one command, or let any agent drive the CLI with --json output.
1. Install and sign in
Install the CLI from npm on any Mac, Windows, or Linux computer with Node.js 20 or newer. Then create a free API key on the API keys page and run framecompose login. The key is hidden as you paste it and saved only on your computer.
No account yet? framecompose validate checks a recipe and your local files without signing in, so you can try the format before you create one.
Install, sign in, and check the account
Prefer not to install globally? Every command also runs as npx framecompose <command>.
Start with a folder of video clips, images, or audio files and a framecompose.recipe/v1 JSON file. The CLI uploads your files once, picks music and sound effects from the commercial-use library, lines up word-by-word captions with your narration, and places every track onto a cloud project.
Run a free dry run first. It uploads your files once, checks every trim, transition name, font, and caption preset, and prints the credit estimate before any narration is generated. It spends nothing, and the real build reuses those uploads.
Dry run, then build live into the open editor
Pass --live to watch each clip, music block, caption lane, and end card appear step by step in your browser.
You never rebuild a project just to adjust a trim, swap a transition, lower the music, or change your caption font. Edit commands change the saved timeline in place in about a second, cost no credits, and record an undo step for every change.
If the project is open in your browser, the editor follows your terminal edits automatically within about two seconds.
Inspect, tweak scenes and captions, or save a checkpoint
Every write command is one undo step. Named checkpoints let you pin a state before trying a new cut.
4. Free highlights, silence removal, and beat montages
Find the strongest hooks in a long recording, keep the speaker in frame when you crop to vertical, strip dead air without chopping the music, or cut clips onto the beat of your soundtrack, all from the terminal and all free.
Every analysis command can preview or dry-run first, so you see the proposed cuts before they touch the timeline.
Run analysis and beat-synced editing from the terminal
Each applied tool saves a normal timeline edit that you can undo with framecompose undo.
Add FrameCompose to your agent as an MCP server and it gets video editing tools of its own. Just ask, and it builds from your clips, edits any scene, restyles captions, finds highlights, cuts silence, and renders. Every change lands on a real timeline you can open and fix by hand.
Save your API key once as FRAMECOMPOSE_API_KEY in your shell profile, run the command for your agent, then restart it. The connection stores only the name of that setting, never the key itself.
Cursor and any other MCP app connect to the same address with the same Authorization header. Agents without MCP can drive the CLI instead: every command answers with one JSON document and a fixed exit code, so the agent always knows what happened.
Claude Code
Keep the single quotes so Claude Code reads your key each time it starts. --scope user makes FrameCompose available in every project.
claude mcp add --scope user --transport http framecompose https://api.framecompose.com/api/v1/mcp/ --header 'Authorization: Bearer ${FRAMECOMPOSE_API_KEY}'
Codex
Codex reads your key from FRAMECOMPOSE_API_KEY each time it starts.
Or paste this prompt to have any agent use the CLI
The agent runs framecompose --help and each command’s --help to learn the exact flags.
Use the framecompose CLI (run framecompose --help first) to turn the clips in ./footage
into a 30-second vertical video with a British narrator, synced captions and upbeat music.
Dry-run the recipe first and stay under 40 credits. Send me the editor link when it is built.
Browse the live catalogs whenever you need valid transition ids, shader effects, camera moves, caption presets, AI voices, music tracks, or sound effects.
When the timeline looks right, render on the FrameCompose servers with the same engine the browser app uses and download the finished MP4, or export it free from the browser editor.
Browse catalogs and render the final MP4
Server renders are included with Pro, or use credits from any credit pack. On the free plan, export from the browser editor.
The FrameCompose CLI (framecompose) is a free command-line tool that lets you and your AI coding agents create, inspect, edit, and render real FrameCompose video projects from a terminal. Every project it builds opens directly in the browser timeline editor.
How do I install the FrameCompose CLI?
Run npm install -g framecompose on any computer with Node.js 20 or newer, or try it once with npx framecompose. Then create an API key on the API keys page (/settings/api-keys) and run framecompose login to paste it in.
Is the FrameCompose CLI free?
Yes. The CLI and API keys are free on every plan, including the free plan. Dry runs, timeline edits, and the analysis tools (highlights, cut-silence, auto-reframe, score, analyze-beats, and montage) cost no credits. AI narration uses credits, and the dry run shows the estimate first. Server renders are included with Pro, or use credits from any credit pack (30 credits for the first minute, packs from $5.99 once), and you can always export the same project free from the browser editor.
Do CLI-built videos stay editable in the browser?
Yes. Unlike command-line render scripts that only output a flattened MP4, the FrameCompose CLI builds a real multi-track project with separate scenes, word-timed captions, voiceover, music ducking, transitions, and effects that you can open and refine in the browser editor at any time.
Do I have to rebuild the whole project to tweak one scene?
No. After the first build, commands like inspect, edit, patch, split, reorder, overlay, undo, and checkpoint update the existing project in about a second without re-uploading media or re-running speech recognition. If the project is open in your browser, it updates live within about two seconds.
Which AI coding agents can use it?
Claude Code and OpenAI Codex connect directly in one command, because FrameCompose is also an MCP server (https://api.framecompose.com/api/v1/mcp/, signed in with your API key). Cursor and any other MCP app can use the same address. Any agent that runs terminal commands, including Gemini CLI and GitHub Copilot agent mode, can drive the CLI instead. Every command supports --json, so the agent reads one structured answer with a fixed exit code instead of scraping text.
Is my API key safe?
Your key is typed in hidden, saved only on your own computer in a file only your user account can read, and sent only to the FrameCompose API over HTTPS. Keys reach only the features this CLI uses: they can build, edit, and render your projects, but cannot delete projects, run the AI editor chat, touch billing, manage other keys, or delete your account. The CLI also refuses to upload anything that is not media, such as a private key or a settings file, and you can revoke a key at any time on the API keys page.
Related pages
Explore the rest of the workflow, from first idea to final export.