Doblaje de audio de Runway
Traduce audio hablado a un idioma de destino con la API de Runway.
POST /runwayml/v1/voice_dubbing para traducir audio hablado a otro
idioma. Usa el ID de modelo eleven_voice_dubbing.
Envía tu clave de API de CometAPI con autenticación Bearer y un cuerpo de solicitud JSON.
Proporciona audio y un idioma de destino
EstableceaudioUri en una URL HTTPS accesible de tu audio de origen.
Establece targetLang en el código de idioma de destino, como es para español
o fr para francés. Selecciona el código compatible en el esquema de solicitud.
La solicitud requiere model, audioUri y targetLang.
Sustituye la URL de audio de ejemplo por tu archivo de origen.
Configura el doblaje
false también usa
los valores predeterminados.
Recupera el resultado
Guarda elid devuelto y luego usa Obtener una tarea de Runway
para recuperar el estado de la tarea. Cuando status es SUCCEEDED, lee las URL de audio en
output. Si la tarea falla, inspecciona failure y failureCode.Autorizaciones
Use your CometAPI API key.
Cuerpo
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 <= 9007199254740991Respuesta
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.