If your team localizes ads by exporting files, emailing a vendor and waiting, most of the delay sits in that handoff. A video dubbing API turns that handoff into a job queue: one approved master goes in, one version per market comes out, and the cost is known before anything runs.
This guide walks through how to build that pipeline on Mantinea's public API. Capabilities come from Mantinea's docs and product pages; prices come from its live price list of 24 November 2026. Exact field names live in the OpenAPI 3.1 spec on the API and MCP help page, so use the shapes below to plan and take the exact code from the spec.
What the translate step can do
Mantinea's translation covers 182 languages and accents, including 108 regional accents, and a single request can target up to 10 languages at once. Under the hood, each language becomes its own job, which matters for retries and billing (more on that below).
You pick one of four outputs per run:
- Lip-synced translation. Same voice, new language, mouth movements matched. The lip-sync is checked with SyncNet.
- Script translate and re-voice. The script is translated and voiced again.
- Audio only. A dubbed track over the original picture.
- Subtitles only. No new audio.
Two rules to build into your pipeline from day one. Lip-sync is off for videos made with a Pro actor (the licensed real-actor footage), so route those to audio-only or subtitles. And lip-synced translations of real people need that person's recorded consent. Library actors are synthetic presenters, so they don't raise that issue, but a founder or a hired creator does.
The pricing you will be quoting
Translation is billed per minute of video, per language, prorated by the second, with a 10-second minimum:
| Route | Credits per minute | Dollars per minute | 30-second ad, one language |
|---|---|---|---|
| Audio-only dub | 90 | $0.90 | 45 credits ($0.45) |
| Lip-synced | 560 | $5.60 | 280 credits ($2.80) |
| Lip-synced pro | 880 | $8.80 | 440 credits ($4.40) |
One credit is $0.01, and the price is the same in the app, the API and MCP. A 30-second ad dubbed with lip-sync into 10 languages is 2,800 credits, or $28. The same pack as audio-only is 450 credits. The Starter plan's 2,900 monthly credits cover the lip-synced pack with room to spare; prices change, so check the pricing page before you commit a client quote.
The pipeline, step by step
1. Lock the master
Only translate an approved video. If your team uses Mantinea's reviews, gate the translate step on an approval so nobody dubs a draft into ten languages. Approvals and reviews are on the public API as well as in the app.
Before the first run, add brand and product names to the workspace pronunciation dictionary. It applies to every voice, so "Acme Hydra" sounds the same in German and Japanese without per-language fixes.
2. Quote before you start
Every paid call accepts estimate_only. Send the same translate request you plan to run with that flag set, and you get the credit price back with no job created and nothing reserved. Store the quote next to the request. For agencies, that stored number is the line item on the client invoice. There's a full walkthrough in estimate_only explained.
A sensible rule: auto-approve any quote under a threshold, and route anything over it to a human. The API gives you the number; the policy is yours.
3. Start the jobs with idempotency keys
Send the real request with an idempotency key built from something stable, such as master-id + language + route. If your worker crashes after the request and retries, the key stops you paying for the same Spanish dub twice. See idempotency keys in the Mantinea API for the pattern.
Throughput limits to plan around: 600 requests or 60 paid starts per minute per key, and batches of up to 50 jobs. A 10-language request on one master is nowhere near that. A product catalog of 40 masters times 10 languages is 400 jobs, so queue them and drain at a steady rate.
4. Wait without polling hard
You have two options:
- Long-poll the job status, which waits up to 50 seconds per call instead of returning instantly. Good for scripts and small batches. Details in long-poll job status.
- Webhooks. Signed events fire when a job succeeds, fails or is canceled, with retries at 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours if your endpoint is down. Verify the signature header (
X-Autonomous-Signature; "Autonomous" is an older product name still used in developer surfaces).
For anything bigger than a handful of jobs, use webhooks.
5. Handle failures per language
Because each language is its own job, one failure doesn't sink the pack. If Japanese fails and the other nine succeed, retry Japanese alone. Failed or canceled jobs are refunded automatically, so your ledger only carries what actually ran. A start reserves the quoted credits and you pay what ran, never more than the reserve.
6. Reformat and finish
Once a dub lands, you usually need more than one aspect ratio. Resize turns a finished video into 9:16, 1:1, 16:9, and via the API 4:5 as well, at 1 credit per resize. If the market needs on-screen captions, burning captions is 2 credits. Run these after translation, not before, so the burned text matches the new language.
Choosing a route per market
Plenty of markets can live without the expensive route. A practical split:
- Hero markets where the ad runs with heavy spend: lip-synced. The face and voice match, which is what keeps a talking-actor ad watchable.
- Test markets where you're checking if the angle travels at all: audio-only at 90 credits a minute. If it wins, upgrade that market to lip-synced.
- Sound-off placements: subtitles only.
- Markets where a dub feels wrong: Mantinea's UGC Translation template re-films the ad with a local-looking actor instead of dubbing. The template covers Spanish, French, German and Brazilian Portuguese.
Encode this as a lookup table in your code, keyed by market, so the route isn't decided ad by ad.
A checklist for the first production run
- Master is approved, and you know whether it uses a Pro actor (no lip-sync) or a real person (consent on file).
- Pronunciation dictionary has every brand and product name.
- Quote stored for every language before the start call.
- Idempotency key per master, language and route.
- Webhook endpoint verifies signatures and is idempotent itself.
- Per-language retry, not per-pack.
- Resize and captions run after the dub.
- Someone who speaks the language watches the hero markets before they ship.
Don't skip that last one. Automated checks catch sync problems, but they won't flag a translated claim that reads oddly in a market or breaks a local ad rule.
Where the agent fits
You don't have to write all of this as code. The same translation runs from Mantinea's agent chat, from a Workflows canvas with regional launch packs (Europe, LATAM, APAC, MENA, Nordics), or from Claude through the hosted MCP server and the /translate-pack skill. A common split for agencies: engineers own the API pipeline for catalog-scale work, and account managers use the workflow templates for one-off client requests. Both hit the same prices.
API access is on every plan, including the 14-day trial with 1,000 credits and no card, which is enough to dub a 30-second ad with lip-sync into three languages and check the output yourself.