AI video from the command line
Generate a finished narrated video from a terminal or a CI job. Log in by approving a code in a browser, so no secret is ever pasted into a shell.
npm install -g @makeaivideo/cliOn npm as @makeaivideo/cli, source on GitHub, MIT licensed.
Terminals, servers and CI
What the AI video CLI is for
Log in once with the device-code flow, then make videos through the same public API the SDK uses. Prefer HTTP or TypeScript? The REST API and SDK do everything it does.
- Render from a CI job.
- Generate a video on merge, on release, or on a schedule, without a browser anywhere in the loop. The device-code login means a build machine never needs a secret pasted into it interactively.
- Batch a backlog.
- Loop a list of topics, scripts or article URLs from a shell script and collect the finished MP4s. The same credit allowance as the app, no separate API bill.
- Try the API without writing code.
- Before you reach for the SDK, the CLI is the fastest way to see what a request and a finished render actually look like.
- Work on a remote machine.
- Log in on a server or a container by approving a short code in a browser on any other device. Nothing sensitive is typed into the remote shell.
Connect an AI assistant
Where do you want to use it?
Paste this address:
https://mcp.makeaivideo.ai Copy addressJust ask it
“Make a 45-second explainer on why bread rises, 9:16, and give me the download link.”
Device-code login
AI video CLI login without a shared secret
The CLI uses the device-code flow from RFC 8628. The machine asks for a short code, a human approves it in a browser somewhere else, and the machine collects the key by polling. It is the right shape for a server, a container or a build agent, where pasting a long-lived secret into a shell history is the thing you want to avoid.
- Step 1
The machine asks for a short code.
- Step 2
You approve it in a browser on any device.
- Step 3
The machine collects its key by polling.
The full flow, with curl·TypeScript SDK·Agent integration·Developer hub
Rather ask than script it?
Rather not script it? Make AI video from Claude Code or Cursor
The MCP server gives a coding agent the same tools the CLI calls, with an OAuth sign-in instead of a key in your shell. Ask from your editor and it makes the video, and can post it to your accounts.
- Connect your AI assistant.
- Add MakeAIVideo to Claude, ChatGPT, Grok, Claude Code, Cursor or any app that supports MCP with one address. You sign in once; there is no API key to paste.
- Ask in plain English.
- “Make a 45 second video walking through what changed in v2.4 from CHANGELOG.md, 16:9, and give me the MP4 link.” It checks the cost before it spends anything.
- It makes the video.
- A finished MP4 with the script, voiceover, scenes, captions and any music, in your library to edit or download.
- And posts it if you ask.
- To the accounts you have connected, now or on a schedule, across 11 platforms.
MCP, API and CLI are included on every plan.
Pricing
AI video CLI pricing: on every plan
No separate API bill and no CLI tier. Renders from the terminal draw on the same monthly credits as the app. Plans start at $9 a month.
Lite
The cheapest way in, with every video mode included.
$9/month
or $90 a year, 2 months free
450credits a month
About 4 stock-footage videos
or about 1 AI cinematic video
30 seconds each, every month
- Post and schedule to 2 social accounts
- Videos up to 10 minutes
- Every mode, including Talking Avatar and Image to Video
- Full HD 1080p export, no watermark
Solo
For one creator posting every week.
$19/month
or $190 a year, 2 months free
1,000credits a month
About 10 stock-footage videos
or about 2 AI cinematic videos
30 seconds each, every month
- Post and schedule to 4 social accounts
- More than double the credits of Lite
- Videos up to 10 minutes
- Every mode, including Talking Avatar and Image to Video
Plus
Most popularLong-form, your branding and a team of three.
$29/month
or $290 a year, 2 months free
1,600credits a month
About 16 stock-footage videos
or about 3 AI cinematic videos
30 seconds each, every month
- Post and schedule to 6 social accounts
- Stock-footage videos up to 40 minutes
- Brand Kit: your logo as a watermark on every video
- 3 team seats with admin and member roles
Pro
For teams and channels running at volume.
$49/month
or $490 a year, 2 months free
2,800credits a month
About 29 stock-footage videos
or about 6 AI cinematic videos
30 seconds each, every month
- Post and schedule to 10 social accounts
- Lowest price per credit of any plan
- Stock-footage videos up to 40 minutes
- 10 team seats with admin and member roles
7-day free trial for new customers: $0 today, card required, 500 trial credits, and trial videos are capped at 10 seconds of script. Video counts are estimates for 30-second videos, rounded down. Plan credits refresh every billing month and do not roll over.
Every plan includes
- Every way to make a video: prompt, script, talking avatar, image and character swap
- 15 visual styles, captions, music and voices
- Full HD 1080p export, never a watermark
- Post and schedule to 11 platforms
- Video in 24 languages
- API, MCP server and CLI for ChatGPT, Claude or any AI agent
Busy month? Top-up packs from $9: a one-time purchase, and the credits never expire. Compare plans and packs
AI video CLI FAQs
Installing it, logging in from a server, and what it costs.
Something else? Visit the help center
Is there a MakeAIVideo CLI?
Yes. Install it with npm install -g @makeaivideo/cli. It is MIT licensed and the source is public on GitHub.
How do I log in from a server with no browser?
The device-code flow. The machine requests a short code, you approve it in a browser on any other device, and the machine collects its API key by polling. No secret is ever pasted into the terminal.
Do I need the CLI to use the API?
No. Everything the CLI does is available over plain HTTP with curl, or through the TypeScript SDK. The CLI is a convenience for terminals and CI, not a requirement.
Does the CLI cost extra?
No. It is included on every plan, drawing on the same monthly credit allowance as the app, with no separate rate card. Plans start at $9 a month.
Can I recover my API key if I lose it?
No. It is returned once on the authorized response and never shown again, so write it straight to your config or keychain. If it is lost, issue a new key and revoke the old one.
Is it open source?
Yes, MIT licensed at github.com/makeaivideo-ai/cli, alongside the SDK and the MCP server.