YepAPI
AI Models

Eleven Dubbing v2

Dub audio or video into 90+ languages in the original speakers' voices, with subtitles.

Pricing, live playground and model overview: Eleven Dubbing v2 API on YepAPI

POST/v1/media/queue
$4.40/minute

Overview

Eleven Dubbing v2 translates a recording and speaks it in the original speakers' voices, in more than 90 languages. It returns the dubbed audio track and translated subtitles.

PropertyValue
Model IDelevenlabs/dubbing-v2
Aliasdubbing
CategoryDubbing
Pricing$4.40 per minute of source

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'elevenlabs/dubbing-v2',
    options: {
      referenceVideoUrl: 'https://example.com/scene.mp4',
      consent: true,
      params: {
        target_language: 'es-MX'
      }
    }
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "elevenlabs/dubbing-v2", "options": {"referenceVideoUrl": "https://example.com/scene.mp4", "consent": true, "params": {"target_language": "es-MX"}}}'

Step 2: Poll for Result

curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

When status is completed you get result.audio: { mimeType: "audio/flac", base64 } (the dubbed track, timed to the source), and result.data.subtitles (WebVTT). Results are kept for one hour.

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYeselevenlabs/dubbing-v2 or alias dubbing—
options.consentbooleanYestrue confirms every speaker gave explicit consent—
options.params.target_languagestringYesThe language to dub into, such as fr or es-MX—
audioDataobjectOne of theseThe file as mimeType and base64: MP3, WAV, FLAC, OGG, M4A, MP4 or MOV. Up to about 18 MB—
options.referenceAudioUrlstringOne of thesePublic URL of the file, up to 50 MB—
options.referenceVideoUrlstringOne of thesePublic URL of a video, up to 50 MB—
options.params.source_languagestringNoLanguage of the sourcedetected
options.params.keytermsarrayNoNames and terms to get right—

Features

  • Keeps the original speakers' voices
  • 90+ languages
  • Translated WebVTT subtitles
  • Sources up to 5 minutes

Billing

Billed on the length of the source, measured when you submit, per target language. Failed jobs are free. Your file and the project are deleted from the provider when the job ends.

Info

Every speaker must have given explicit consent. Set options.consent to true to confirm it; we keep a record with the job. See the Acceptable Use Policy.

Under the Hood

Powered by ElevenLabs.

On this page