AI agents and command line
Let your agent do the dubbing
Give your AI agent one prompt and it can dub videos, cut short clips and merge videos on your Dubnivo account, straight from the folder you are working in.
AI agent · recommended
Copy this prompt to your AI agent:
Install Dubnivo by following https://dubnivo.com/agents/install.md
Works with any agent that can run commands on your computer and read a web page.
Terminal
Or download the tool yourself. It is one file and needs Node 18 or newer.
macOS and Linux
mkdir -p ~/.dubnivo && curl -fsSL https://dubnivo.com/cli/dubnivo.mjs -o ~/.dubnivo/dubnivo.mjs
Windows (PowerShell)
New-Item -ItemType Directory -Force "$HOME\.dubnivo" | Out-Null; Invoke-WebRequest https://dubnivo.com/cli/dubnivo.mjs -OutFile "$HOME\.dubnivo\dubnivo.mjs"
Then sign in with your key and see every command:
node ~/.dubnivo/dubnivo.mjs login
node ~/.dubnivo/dubnivo.mjs help
In Windows PowerShell, write the path as $HOME\.dubnivo\dubnivo.mjs.
How it works
- 1
Create an API key
Open your account page and create a key under “API keys”. It is shown once.
- 2
Give your agent the prompt
It downloads the tool and the skill, then asks you to sign in with your key in your own terminal.
- 3
Ask in plain words
“Dub launch.mp4 into Spanish and German.” “Make short clips from this webinar.” “Merge these three videos.”
Commands
Dub a video into Spanish
node ~/.dubnivo/dubnivo.mjs dub talk.mp4 --to es
Short vertical clips from a long video
node ~/.dubnivo/dubnivo.mjs clips webinar.mp4
Merge videos, then dub the result into French
node ~/.dubnivo/dubnivo.mjs merge intro.mp4 main.mp4 --to fr
Subtitles of a finished dub
node ~/.dubnivo/dubnivo.mjs subtitles <id> --format vtt
Add --json to any command for one line of JSON, and --no-wait to start a video without waiting for it. The full guide your agent reads is at /agents/SKILL.md.
Connect an AI assistant (MCP)
Dubnivo is also an MCP server, so an assistant can use it without installing anything: dub a video from a link, make clips, check progress, read subtitles and schedule posts. Replace YOUR_KEY with an API key from your account page.
Claude Code
claude mcp add --transport http dubnivo https://dubnivo.com/api/mcp --header "Authorization: Bearer YOUR_KEY"
Gemini CLI (settings.json)
{
"mcpServers": {
"dubnivo": {
"httpUrl": "https://dubnivo.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}Cursor and other clients that read mcp.json
{
"mcpServers": {
"dubnivo": {
"url": "https://dubnivo.com/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}Through MCP a video is given as a public link (TikTok, Instagram, Facebook, X or Twitch). For a file on your computer, use the command-line tool above. Assistants that only accept a sign-in window instead of a key are not supported yet.
Your account, your limits
The agent works inside your plan: the same monthly videos, video length and place in the queue as on the website.
A key for videos only
An API key can start, read, download and delete videos. It cannot change your password, plan or payment details, and you can revoke it at any time.
Built for unattended runs
Every command can answer with one line of JSON. Large files go up in parts and failed parts are sent again.