by ElevenLabs

Audio Translator

elevenlabs/dubbing/audio-to-audio
  • Video Translator
  • Audio Translator

About ElevenLabs Dubbing

ElevenLabs Dubbing translates the speech in a recording or a video into one of 33 languages and voices it again. It takes sources up to 15 minutes, can tell up to 32 speakers apart and keeps the background sound unless you turn that off. Audio comes back as an MP3; video keeps its picture and gets the new soundtrack.

Call it with the model name elevenlabs/dubbing/audio-to-audio on POST /jobs/createTask, from $0.012.

Introduction

ElevenLabs Dubbing API for audio translation

ElevenLabs Dubbing API translates an audio recording into dubbed MP3 speech in one of 33 target languages. This endpoint is for podcasts, voice notes, narration, and audio advertisements with source recordings up to 15 minutes.

ElevenLabs says in its dubbing documentation that dubbing preserves the voice characteristics of the original speakers. Review that resemblance on your own material: our short test establishes an output format and processing observation, rather than a broad assessment of translation or voice quality.

Submit an audio dubbing task

Send the public model name elevenlabs/dubbing/audio-to-audio with the recording and language settings inside input.

{
  "model": "elevenlabs/dubbing/audio-to-audio",
  "input": {
    "audio_url": "https://example.com/english-interview.mp3",
    "target_language": "es",
    "source_language": "en",
    "speaker_count": 2,
    "keep_background_audio": true
  }
}

Replace the example URL with your recording; omit speaker_count when you want the service to detect the speakers.

Read the completed MP3 result

The completed task supplies a media asset containing the dubbed MP3. Use the returned taskId with GET /api/v1/jobs/recordInfo?taskId=<taskId> and the same authentication, then read the task state before downloading the asset.

{
  "code": 200,
  "data": {
    "taskId": "<taskId>",
    "state": "succeeded",
    "output": {
      "assets": [
        {
          "url": "https://example.com/dubbed-interview.mp3",
          "mime": "audio/mpeg"
        }
      ]
    }
  }
}

A submitted task is not a finished recording, so wait for succeeded before treating the asset as ready.

Audio parameters and limits

The audio request combines a required recording with language, speaker, and background choices.

ParameterAccepted value or scopePractical use
audio_urlSource audio, up to 15 minutesSupply the recording you have rights to translate
target_language33 languages; default enSet es for Spanish output
source_languageauto or 57 source languagesIdentify a known source language or use detection
speaker_count1–32; omit for detectionCount distinct people in an interview

Recordings beyond 15 minutes are rejected at submission. Split a long episode at sensible topic or speaker boundaries, and review the joins when arranging the translated parts.

Our English-to-Spanish audio test

Our 4.5-second English source returned a 4.50-second Spanish MP3 after about 9.6 seconds of processing. The output used 44.1 kHz sampling, one audio channel, and 128 kbps encoding.

The matching duration describes this sample and does not establish identical timing for every translation. These observations also do not establish a processing time for a 15-minute podcast or a result across all 33 target languages.

Improve the recording and review the dub

Use a representative excerpt containing the names, terminology, or speaker changes that matter to the complete project.

  1. Select a passage with understandable speech and confirm permission from its speakers.
  2. Enter the distinct speaker count when known, or leave detection enabled by omitting it.
  3. Have a listener familiar with the target language check meaning, pronunciation, and turn changes.

A clean narration sample does not represent overlapping interview dialogue. Listen through interruptions and compare who speaks each translated line; a numeric speaker count is not a substitute for that review.

Troubleshoot or choose another workflow

Correct an overlong source or an out-of-range speaker count before resubmitting a rejected request. If a task ends unsuccessfully, read its error details and check the submitted recording and language choices before trying again.

Choose elevenlabs/dubbing/video-translate when you need an MP4 with translated speech over its source picture. For video that also needs lip movement, consider HeyGen Video Translate; Video Translator V1 is another video translation option. Use your own recordings or speakers who agreed, and never impersonate a real person.

Request parameters

ParameterRequiredDescription
audio_urlYesThe voice or music track to use.
keep_background_audioNoKeep the original music and sound effects under the dub; turn off for voices only. Default: true
source_languageNoThe language spoken in the clip. Auto detects it; pick it when music, a strong accent or long pauses confuse detection. auto · af · ar · hy · az · be · bs · bg · ca · zh · hr · cs · da · nl · en · et · fi · fr · gl · de · el · he · hi · hu · is · id · it · ja · kn · kk · ko · lv · lt · mk · ms · mi · mr · ne · no · fa · pl · pt · ro · ru · sr · sk · sl · es · sw · sv · tl · ta · th · tr · uk · ur · vi · cy · Default: auto
speaker_countNoHow many people speak, 1 to 4. Leave empty to detect it. 1–32
target_languageNoThe language to dub into. It must differ from the language in the clip. ar · bg · zh · hr · cs · da · nl · en · fil · fi · fr · de · el · hi · hu · id · it · ja · ko · ms · no · pl · pt · ro · ru · sk · es · sv · tl · ta · tr · uk · vi · Default: en

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per second
Standard$0.012

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

API quick start

Call the ElevenLabs Dubbing API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model elevenlabs/dubbing/audio-to-audio and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "elevenlabs/dubbing/audio-to-audio",
  "input": {
    "audio_url": "https://media.popnow.ai/shortfilm/voices/Aoede-46e4c427.mp3",
    "target_language": "en",
    "source_language": "auto"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

ElevenLabs Dubbing API questions

How much does the ElevenLabs Dubbing API cost?

ElevenLabs Dubbing starts at $0.012 per second with Audio Translator, its lowest-priced task. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your API balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

More about ElevenLabs Dubbing