Dub into multiple languages
How-to guide · Assumes you have created a dubbing project, as shown in the Dubbing quickstart.
A single project holds one source transcript, and you can add as many language targets as you need. Each language is generated independently and carries its own status and output, so you translate the source once and produce every dub from it.
Add several languages
Add one language target per language you want to dub into. Each starts in queued and begins generating once the project is ready.
You can also queue the first language when you create the project by passing target_language to project.create. Add any further languages with language.create as shown above.
Track each language independently
Languages generate in parallel and finish at different times. List the project’s languages to check the status of each, rather than polling them one by one.
Download every completed dub
Once a language reaches completed, its outputs.lossless_audio holds a signed download URL. Download each one, skipping any language that failed.
Signed URLs expire about an hour after they are issued. If a download fails because the URL has expired, fetch the language again with language.get to obtain a fresh URL.