videostringrequired
URL of the video file to dub (MP4 / MOV). The dubbed result is returned as a video.
elevenlabs/dubbingElevenLabs Dubbing translates the speech in a video into another language while preserving each speaker's voice, timing, and background audio.
Try the model
Customize your input with more control.
What would you like to do next?
Select an example to load its inputs and result into the playground.
{
"target_lang": "es",
"video": "https://static.sandbase.ai/examples/8f64921f-0d6e-4239-a36a-7419390685bc/input/2515467e-312a-4f21-a8e1-763533464bb3.mp4"
}ElevenLabs Dubbing translates the speech in a video into another language while keeping each speaker's voice, timing, and the background audio.
| Field | Type | Default | Notes |
|---|---|---|---|
video | video URL, required | — | Video to dub. |
source_lang | string | — | Source language; omit to detect. |
num_speakers | integer 1–50 | — | Speaker count; omit to detect. |
target_lang | string, required | — | Language to dub into. |
highest_resolution | boolean | true | Keep the source resolution. |
$0.60 per started minute of video. The quote before submission assumes 1 minute; the final charge uses the measured length.
| Video | Price |
|---|---|
| 1 min | $0.60 |
| 5 min | $3.00 |
| 15 min | $9.00 |
Failed runs are not charged.
Start building
Submit this model through the SandBase Unified Run API.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "elevenlabs/dubbing",
"video": "https://static.sandbase.ai/examples/elevenlabs/dubbing/input_video_0.mp4",
"source_lang": "en",
"target_lang": "es",
"highest_resolution": true
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"Create a SandBase API key and set it in your server environment. All requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep the key on your server. Do not expose it in browser code or commit it to a repository.
POST to /v1/run with this model ID and its inputs. The request example above includes submission and polling.
Use the returned run ID to poll until the status is completed, failed or timeout. Read output only after completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Pass a publicly accessible file URL in the model’s image, video or audio field. Supported formats and limits are shown beside each Playground input.
Use the upload or replace control on supported image fields in the Playground. Video URL fields accept a hosted driving video; they do not imply video-upload support.
videostringrequiredURL of the video file to dub (MP4 / MOV). The dubbed result is returned as a video.
source_langstringSource language code. If not provided, will be auto-detected.
target_langstringrequiredTarget language code for dubbing (ISO 639-1)
num_speakersintegerNumber of speakers in the audio. If not provided, will be auto-detected.
Minimum: 1
Maximum: 50
highest_resolutionbooleanWhether to use the highest resolution for dubbing.
Default: true
{
"model": "elevenlabs/dubbing",
"video": "https://static.sandbase.ai/examples/elevenlabs/dubbing/input_video_0.mp4",
"source_lang": "en",
"target_lang": "es",
"highest_resolution": true
}A completed run exposes its result in output. The following is the model’s saved example, not a new generation.
[
{
"poster": "https://static.sandbase.ai/examples/posters/5539d010229053c2251d.jpg",
"source": "ElevenLabs schema mirror",
"source_url": "https://elevenlabs.io/docs",
"url": "https://static.sandbase.ai/examples/8f64921f-0d6e-4239-a36a-7419390685bc/output/2e522cf6-5580-4ef4-b959-c0aa4f6b8d1c.mp4"
}
]