One AI dubbing API for your code and your AI agents
The Dubly REST API does what you know from the web app, minus the clicking. You start a dub in any of 78+ languages from YouTube, Google Drive or a video URL, correct the translation, add lip sync and burned-in subtitles, and download the finished video.
Included for every paying customer and billed in credits
curl https://app.dubly.ai/api/v1/dubs/youtube \
-X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"yt_link": "https://youtu.be/VIDEO_ID",
"source_language": "en",
"target_languages": ["de", "fr"],
"title": "Product video"
}'{
"status": "success",
"response": {
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}
}- Read the Dubly API quickstart
- POST /api/v1/dubs/youtube└ "id": "a1b2c3d4-…"
- GET /api/v1/dubs/{id}└ "Processing" → "Dubbed"
- Saved both videos to ./exports
Hand your AI agent a token and let it handle the dubbing
Your agent needs neither a plugin nor an MCP server. The Dubly API is plain HTTPS with JSON, and any agent that can send an HTTP request can start dubs with it and pick up the finished videos.
Works with every agent and tool that can send an HTTP request
- Claude
- ChatGPT
- Cursor
- Copilot
- Gemini
- n8n
- Make
- Zapier
Point your agent at the docs
Three public entry points let your agent read the docs, no login required.
Docs MCP server
Claude Code and other MCP clients search the docs through it. The server starts no dubs.
claude mcp add --transport http dubly-docs https://docs.dubly.ai/mcpllms.txt
Your agent finds every docs page in it as Markdown.
openapi.json
It describes every endpoint and works as a tool definition for your agent.
Every step of a dub has an endpoint
The cards follow the six groups of the API reference, and each one opens the matching page of the docs.
- POST/api/v1/dubs/youtubeAPI reference: Start dubs
Start dubs
Start a dub from a YouTube link, a Google Drive file or a public video URL. One call per video covers as many target languages as you need, and it can file the dub straight into a project and give it a custom voice.
- GET/api/v1/dubs/{id}API reference: Status & downloads
Status & downloads
Poll the status until the dub is done, then download the video, the audio tracks or the lip-synced cut for each language. You can rename, move and delete dubs through the API as well.
- PATCH/api/v1/dubs/{id}/segmentsAPI reference: Correct the translation
Correct the translation
Read every segment with its source text, translation and speaker, and fix whatever is off. Re-voice single segments, then render the dub again.
- POST/api/v1/dubs/{id}/lipsyncAPI reference: Lip sync
Lip sync
Start lip sync for each language, follow its progress and switch it on or off block by block.
- POST/api/v1/dubs/{id}/subtitled-videoAPI reference: Burned-in subtitles
Burned-in subtitles
Burn subtitles into the video of one language and download the file. If lip sync has already finished for that language, the subtitles go straight into the lip-synced cut.
- GET/api/v1/custom-voicesAPI reference: Projects & custom voices
Projects & custom voices
List the projects and custom voices of your account, so every dub lands in the right project with the right voice.
What teams build with the API
Each of these four setups runs on nothing more than the endpoints above.
- Read the LMS guide
New course videos, dubbed automatically
As soon as a new video lands in your LMS, a script starts the dub, and every language version ends up next to the original.
- Open the quickstart
Dubly inside your own app
Your users hand over a video and get it back in their language. Behind the scenes, your backend passes the video URL to the Dubly API, polls the status and shows the finished video right in your interface.
- Dubly for enterprises
Your production pipeline
Agencies and media houses wire Dubly into their own tools. The dub starts when a cut is approved, and the result goes straight into review.
- See the n8n example
Internal automations
With a few HTTP steps in n8n or Make, or a few lines for your own agent, every new video gets dubbed into all your target languages automatically. The example below shows what a complete workflow looks like.
A complete n8n workflow that dubs every new lesson into three languages
An online course provider records its lessons in German. Whenever a new video lands in the Google Drive folder “Course / New lessons”, this workflow dubs it into English, French and Spanish, files each version in a Drive folder of its own and lets the course team know in Slack. Each of the twelve steps comes with its full configuration, so you can rebuild the workflow node by node.
Click a step to see what it does and how it is configured.
Google Drive Trigger
The workflow starts as soon as a new file appears in the folder “Course / New lessons”. The trigger checks Google Drive once a minute and passes the file’s ID and name on to the next nodes.
Node
Google Drive TriggerPoll Times
Every MinuteTrigger On
Changes Involving a Specific FolderFolder
Course / New lessonsWatch For
File Created
Start dub
An HTTP Request sends the Drive link, the source language and all three target languages to the Dubly API in one call and gets back the ID of the new dub. This is where credits are charged, by video length and per target language. The file’s ID and name come from the trigger, because the Share node returns only the new permission.
Node
HTTP RequestMethod
POSTURL
https://app.dubly.ai/api/v1/dubs/google-driveAuthentication
Generic Credential Type → Header AuthHeader Auth
Name Authorization · Value Bearer YOUR_API_TOKEN (Dubly web app → Settings → API)Body
Send Body on · Body Content Type JSON · Specify Body Using JSONJSON
{ "drive_link": "https://drive.google.com/file/d/{{ $('Google Drive Trigger').item.json.id }}/view", "source_language": "de", "target_languages": ["en", "fr", "es"], "title": "{{ $('Google Drive Trigger').item.json.name }}" }Response
{ "status": "success", "response": { "id": "…" } }
Wait
A dub takes about twice as long as the video, so a ten-minute lesson is ready after roughly 20 minutes. The workflow therefore pauses for five minutes before each status check instead of asking every few seconds.
Node
WaitResume
After Time IntervalWait Amount
5Wait Unit
Minutes
Check status
This node asks the Dubly API how far the dub has got, using the ID from “Start dub”. The field response.status then reads Processing, Updating, Dubbed or Error.
Node
HTTP RequestMethod
GETURL
https://app.dubly.ai/api/v1/dubs/{{ $('Start dub').item.json.response.id }}Authentication
the same Header Auth credential
Switch
The Switch decides what happens next. Dubbed continues to the downloads, Processing or Updating goes back to Wait, and Error has a second Slack node alert the team. The API reports the status when asked, so the workflow keeps asking until it reads Dubbed.
Node
SwitchMode
RulesOutput Dubbed
{{ $json.response.status }} is equal to Dubbed → LanguagesOutput Processing
{{ $json.response.status }} is equal to Processing or Updating → WaitOutput Error
{{ $json.response.status }} is equal to Error → Error alertError alert (Slack)
The dub for {{ $('Google Drive Trigger').item.json.name }} failed. Please check it in the Dubly web app.
Languages
For the downloads the workflow needs one item per target language. This Edit Fields node writes the three language codes as a list into a field that the next node splits.
Node
Edit Fields (Set)Mode
Manual MappingField
language · Type Array · Value {{ ["en", "fr", "es"] }}
Split Out
Split Out turns the list into three items, one per language, so every node after it runs three times, once each for English, French and Spanish.
Node
Split OutFields To Split Out
languageInclude
No Other Fields
Get downloads
This request fetches the download links of the finished dub for each language, covering the video, the audio track and, depending on the dub, further files. Each link is valid for only one hour, so the next node downloads the video straight away.
Node
HTTP RequestMethod
GETURL
https://app.dubly.ai/api/v1/dubs/{{ $('Start dub').item.json.response.id }}/downloadsQuery Parameters
target_language = {{ $json.language }}Authentication
the same Header Auth credentialResponse
response.downloads, one entry per file with id (video, audio …), file_name, url and expires_at
Download video
This is where the dubbed video enters the workflow as a file. The expression in the URL picks the entry with the ID video from the list.
Node
HTTP RequestMethod
GETURL
{{ $json.response.downloads.find(d => d.id === "video").url }}Options → Response → Response Format
FilePut Output in Field
data
Upload to Drive
Each language version goes into its folder EN, FR or ES under “Course / Lessons”. The file name is the one the Dubly web app uses, and you enter the three folder IDs into the expression once.
Node
Google DriveResource
File · Operation: UploadInput Data Field Name
dataFile Name
{{ $('Get downloads').item.json.response.downloads.find(d => d.id === "video").file_name }}Parent Folder (By ID)
{{ { en: "FOLDER_ID_EN", fr: "FOLDER_ID_FR", es: "FOLDER_ID_ES" }[$('Split Out').item.json.language] }}
Slack
Once all three versions are uploaded, the course team gets a message. With “Execute Once” switched on in the node settings, it goes out once instead of three times.
Node
SlackResource
Message · Operation: SendChannel
#course-teamMessage Text
Lesson {{ $('Google Drive Trigger').item.json.name }} is now ready in English, French and Spanish.Settings
Execute Once on
If you want lip sync as well, add it at the end of the workflow. Once the dub reads Dubbed, start lip sync for each language through the lip-sync endpoint, wait for Synced the same way and download the entry lipsync instead of video.
You’ll find every request and response in detail in the quickstart and the guide to the dub status of the API docs.
Through the API you get the same quality at the same price
Whether a dub comes from your code or from the web app makes no difference to the result.
The web app's engine
Transcription, translation, voices and rendering work exactly as in the web app, and your translation styles, glossary included, apply automatically.
78+ target languages
You dub into the same languages as in the web app.
All languagesLip sync
Every dubbed language can get a lip-synced version, made with the same technology as in the web app.
About lip syncData security
Our servers are in Germany, we never train AI on your videos, and every customer gets a DPA.
How we protect data
API access included
Every paying customer gets the API at no extra cost. Dubs through the API are billed in credits, exactly like in the web app.
Monthly plans from
€89/ month
Dubs: by video length, per target language
Lip sync: 1 credit per minute
Editing and burned-in subtitles: no credits
Questions about the API
Here’s who gets access, what it costs, how agents use it, and where its limits are.
Every paying customer gets it at no extra cost, though the free trial does not include it. You create your token in the web app under Settings → API, and Authentication shows exactly how.
It costs nothing beyond your credits. A dub started through the API is billed exactly like one in the web app, by video length and per target language, and lip sync costs 1 credit per minute of video. Editing a dub, burning in subtitles and changing the volume of the original voice use no credits at all. You’ll find plans and prices on the pricing page.
It is public at docs.dubly.ai, no login required. It documents every endpoint with its parameters, responses and errors, and its playground sends requests with your token right from the page. The quickstart is the best place to start.
Yes. The API is plain REST with JSON and one Bearer token, so any agent that can send HTTP requests can use it directly. That goes for Claude, Claude Code, Cursor and ChatGPT as much as for an HTTP step in n8n or Make. Give it your token and the docs, and it starts the dub, waits until it is done, adds lip sync and downloads the files. Treat the token like a password.
No, your agent talks to the REST API directly. To help it find its way around the documentation, there is a public docs MCP server at https://docs.dubly.ai/mcp. It only searches and reads the docs and starts no dubs. In Claude Code you add it with claude mcp add --transport http dubly-docs https://docs.dubly.ai/mcp.
Got any questions left?
We’d be happy to give you a personal demo of Dubly.AI and discuss your specific use cases.
The docs are public, so you can start building right away
Read the reference and send your first requests straight from the playground in the docs. If you’re planning a larger integration, talk to us.