dub_audio
Start a dubbing job to translate audio or video into another language. Provide a local file or source URL. Returns a dubbing ID for async processing.
Instructions
Start a dubbing job to translate audio/video into another language.
Provide either a local file or a source URL (e.g. YouTube). Dubbing runs
asynchronously — poll with get_dubbing_status and then
download_dubbed_audio.
Args: target_lang: target language code (e.g. "es", "fr", "de"). audio_file_path: path to a local audio/video file. source_url: URL of the source media (alternative to a file). source_lang: source language code (auto-detected if omitted). name: optional project name. num_speakers: expected number of speakers (0 = auto). watermark: apply ElevenLabs watermark.
Returns the dubbing_id as JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| watermark | No | ||
| source_url | No | ||
| source_lang | No | ||
| target_lang | Yes | ||
| num_speakers | No | ||
| audio_file_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |