Dub Runway audio
Translate spoken audio into a target language with the Runway API.
POST /runwayml/v1/voice_dubbing to translate spoken audio into another
language. Use the model ID eleven_voice_dubbing.
Send your CometAPI API key with Bearer authentication and a JSON request body.
Provide audio and a target language
SetaudioUri to an accessible HTTPS URL of your source audio.
Set targetLang to the destination language code, such as es for Spanish
or fr for French. Select the supported code from the request schema.
The request requires model, audioUri, and targetLang.
Replace the example audio URL with your source file.
Configure dubbing
false also uses
the defaults.
Retrieve the result
Save the returnedid, then use Get a Runway task
to retrieve task status. When status is SUCCEEDED, read the audio URLs in
output. If the task fails, inspect failure and failureCode.Authorizations
Use your CometAPI API key.
Body
Request settings for eleven_voice_dubbing.
Model ID for this request.
eleven_voice_dubbing "eleven_voice_dubbing"Audio input as an accessible HTTPS URL or base64 data URI.
13 - 2048^https:\/\/.*The target language code to dub the audio to (e.g., "es" for Spanish, "fr" for French).
en, hi, pt, zh, es, fr, de, ja, ar, ru, ko, id, it, nl, tr, pl, sv, fil, ms, ro, uk, el, cs, da, fi, bg, hr, sk, ta Set true to use a generic voice instead of cloning the source voice. Omit or use false for the model default.
Set true to remove background audio from the dubbed output. Omit or use false for the model default.
Number of speakers in the source audio. Supply a positive integer or omit it for automatic detection.
x <= 9007199254740991Response
Task created. Save the returned id to retrieve task status.
Task ID for GET /runwayml/v1/tasks/{id}.
Task state, when returned.
Task submission timestamp, when returned.
Result URLs, when returned.
Failure explanation, when returned.
Machine-readable failure code, when returned.
Task estimate metadata, when returned.
Task cost metadata, when returned.