New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@makeaivideo/cli

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@makeaivideo/cli

MakeAIVideo CLI: make AI videos from your terminal with the MakeAIVideo AI video generator. Brief in, finished MP4 out (voiceover, scenes, captions, music), then post it to TikTok, Instagram, YouTube and more. JSON output for AI agents and CI.

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
1
Created
Source

MakeAIVideo CLI (@makeaivideo/cli)

npm version license: MIT node

The MakeAIVideo CLI makes AI videos from your terminal: give it a brief or a script and it returns a finished MP4 with AI voiceover, AI or stock scenes, captions and music, then posts or schedules it to your connected TikTok, Instagram, YouTube and other social accounts.

MakeAIVideo is an AI video generator for short-form video. This CLI is a thin client for its REST API (CLI guide).

npx @makeaivideo/cli login
makeaivideo tools
makeaivideo create explainer --topic "Why planes leave white trails" --wait --out trails.mp4
makeaivideo publish <video_id> --accounts acc_123 --caption "Why planes leave white trails"

Zero runtime dependencies (Node 18+). Every command prints JSON with --json (automatic when piped), so it works as a tool for Claude, Cursor and CI as well as for people.

Install

npm i -g @makeaivideo/cli     # or just use npx @makeaivideo/cli

Log in

makeaivideo login opens app.makeaivideo.ai, you confirm a short code, and a scoped API key is saved to ~/.makeaivideo/config.json (mode 600). Revoke it any time under Settings, Advanced, API keys.

Headless environments skip login: export MAKEAIVIDEO_API_KEY=mav_....

Commands

Every command prints JSON. Ids are the public ids the API returns (vid_…, wh_…).

AreaCommands
Accountlogin, logout, whoami, credits, workspace [--name --aspect --style]
Make a videotools, estimate <tool>, create <tool> --<field> … (--duration --aspect --language --draft --wait --out --idempotency-key), create --script f.json [--mode --voice-id --music-id --character-id]
Scriptsscript --topic "…" or script --tool explainer --field-topic "…", scriptify <file.txt>, fetch-url <url>
Track and fetchvideos, status <id>, wait <id> [--out f], download <id> [--out f], captions <id> [--format vtt] [--out f], share <id> [--expires s]
Edit and redoupdate <id> [--title --topic --script f.json --caption-style], generate <id>, scene-regen <id> <n> [--narration], voice <id> --voice-id v, export <id>, renders <id>, render-progress <id>
Managecancel <id>, delete <id>, report <id> --reason "…"
Ideasideas --niche "…" [--audience --tone --count], enhance --topic "…"
Characterscharacters, character <id>, portraits --prompt "…" --style s, voice-previews, character-create --name --style --portrait --voice-preview --voice-id, character-delete <id>
Assetsupload <image…>, upload-url <image_url>, voices, voice-preview <id> [--text], music, music-generate --prompt "…", brand-kit [--show true], brand-kit-watermark <png>, templates
Post to socialaccounts, connect <platform>, publish <id> --accounts acc_1,acc_2 --caption "…" [--schedule <ISO-8601> --timezone --youtube-title --idempotency-key], posts [--video <id>], post <post_id>
Webhookswebhooks, webhook-add <url> --events video.ready,video.failed, webhook-test <id>, webhook-deliveries <id>, webhook-enable <id>, webhook-rm <id>

Set --idempotency-key <key> on create so a retried command never makes (and charges for) a second video. The same flag on publish stops a retry from posting twice.

Post to social accounts

makeaivideo accounts                          # connected accounts and their acc_... ids
makeaivideo connect tiktok                    # prints a link: open it in a browser to connect
makeaivideo publish vid_abc --accounts acc_1,acc_2 --caption "New video" --schedule 2026-10-01T09:00:00Z
makeaivideo post <post_id>                    # status and per-platform results

TikTok, Instagram (as a Reel), YouTube (9:16 as a Short, 16:9 as a regular video), Facebook Pages, LinkedIn, X (videos up to 140 seconds), Threads and Pinterest connect by link. Bluesky, Telegram and Discord connect in the web app. More at makeaivideo.ai/auto-post.

For AI agents

This package ships a Claude Code plugin (.claude-plugin/plugin.json + SKILL.md) and an .mcp.json pointing at the hosted MCP server https://mcp.makeaivideo.ai. In Claude.ai, ChatGPT or Cursor, add that URL as a custom connector and approve access in the browser; no key to paste.

REST API spec: https://app.makeaivideo.ai/api/v1/openapi.json.

Environment

  • MAKEAIVIDEO_API_KEY overrides the saved login.
  • MAKEAIVIDEO_API_URL points at another host (default https://app.makeaivideo.ai).

What you can make with MakeAIVideo

MakeAIVideo turns almost any starting point into a finished short-form video. Start from a single idea with prompt to video, or bring your own words with script to video and blog to video, which narrates a blog post you paste in. To teach a topic, AI explainer videos add voiceover, scenes, captions and music in one pass.

For a presenter on screen, AI talking avatar videos lip-sync a presenter you pick, or one made from your own reference photo, to a script. AI spokesperson videos suit corporate messaging you want to re-render when details change, and AI UGC video ads put an AI spokesperson on your ad script for Meta and TikTok. Character swap replaces the person in a video you upload while the motion and audio stay as filmed.

From a still image, image to video turns product shots, landscapes and album art into a moving clip, and animate a photo brings portraits, pets and old family photos to life.

Every video is sized for short-form platforms: use the TikTok video generator, the Instagram Reels generator or the AI YouTube Shorts generator, or run a faceless YouTube channel without filming. When a video is ready, auto-post to social media posts or schedules it to TikTok, Instagram, YouTube, Facebook Pages, LinkedIn, X, Threads, Pinterest, Bluesky, Telegram and Discord. Plans and credits are on the MakeAIVideo pricing page, and AI assistants connect through the MakeAIVideo MCP server setup guide.

From the terminal, create covers the brief-driven tools (explainer, listicle, story, UGC, demo, article and spokesperson) and your own scripts, and publish posts the result. The API reference lists exactly what each endpoint accepts.

FAQ

What is the MakeAIVideo CLI? An MIT-licensed command line client for the MakeAIVideo AI video generator. It creates finished short-form videos from a brief or script, downloads the MP4, and posts it to connected social accounts.

How do I install it? npm i -g @makeaivideo/cli, or run it without installing via npx @makeaivideo/cli. Node 18 or newer.

Can Claude Code or another AI agent use it? Yes. Every command prints JSON, and the package ships a Claude Code plugin (SKILL.md) plus an .mcp.json for the hosted MCP server https://mcp.makeaivideo.ai.

Which platforms can it post to? TikTok, Instagram, YouTube, Facebook Pages, LinkedIn, X, Threads, Pinterest, Bluesky, Telegram and Discord. X takes videos up to 140 seconds.

How is it priced? MakeAIVideo is a paid product with monthly plans and a 7-day trial (card required). The CLI uses the same credits as the app; estimate quotes a video before you create it. See pricing.

Where do I get help? Open an issue or email support@makeaivideo.ai.

About MakeAIVideo

MakeAIVideo is an AI video generator that turns a brief, a prompt, your own script, an image or a talking avatar into a finished, captioned short-form video: script, AI voiceover, AI-generated or stock scenes, captions and music, exported as an MP4 ready for TikTok, Instagram Reels and YouTube Shorts. It also does character swap, and posts or schedules videos to connected TikTok, Instagram, YouTube, Facebook Pages, LinkedIn, X, Threads, Pinterest, Bluesky, Telegram and Discord accounts. Operated by MintClips Ltd (UK).

PackageWhat it is
@makeaivideo/sdkTypeScript / JavaScript SDK for the REST API
@makeaivideo/mcpMCP server for Claude, ChatGPT, Cursor and other AI assistants
@makeaivideo/cliCommand line tool: brief in, MP4 out

License

MIT © MakeAIVideo

Keywords

makeaivideo

FAQs

Package last updated on 30 Sep 2026

Related posts