Dub Audio
dub_audioSay a recording again in another language with the speakers kept sounding like themselves, using ElevenLabs dubbing. Pass source (an id from your library or a public https link) and target_language as a two-letter code: es Spanish, fr French, de German, it Italian, pt Portuguese, ja Japanese, ko Korean, hi Hindi, ar Arabic, zh Chinese. source_language is worked out from the recording unless you name it, and speakers can be set when you know how many people talk. A long recording keeps working after the answer comes back: when that happens you get a dubbing_id and status working, and you call dub_audio again with just that dubbing_id to collect the finished track, which costs nothing extra. Billed per minute of the recording when the dub starts (a token quote applies) and the finished file is saved to your library. Returns audio_url, duration_seconds and generation_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | The recording to dub: an id from your library, or a public https link to an audio file. Not needed when you are collecting with dubbing_id. | |
| speakers | No | Optional, 1 to 32. How many people speak in the recording. Leave it out to have it worked out automatically. | |
| dubbing_id | No | Optional. The id from an earlier dub_audio answer that came back as working. Send it on its own to collect the finished track; nothing is charged again. | |
| source_language | No | Optional two-letter code of the language spoken in the recording, for example en. Leave it out to have it worked out automatically. | |
| target_language | No | The language to dub into, as a two-letter code. For example es, fr, de, it, pt, ja, ko, hi, ar, zh. |