# ElevenLabs Dubbing API

> ElevenLabs Dubbing translates the speech in a video into another language while preserving each speaker's voice, timing, and background audio.

Source: https://www.sandbase.ai/model/elevenlabs/dubbing
API reference: https://www.sandbase.ai/model/elevenlabs/dubbing/docs

## Facts

- Provider: ElevenLabs
- Type: Video model
- Model ID: `elevenlabs/dubbing`
- Price: From $0.60 per run
- Capabilities: audio to video
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/dubbing",
  "video": "https://static.sandbase.ai/examples/elevenlabs/dubbing/input_video_0.mp4",
  "source_lang": "en",
  "target_lang": "es",
  "highest_resolution": true
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ElevenLabs Dubbing through SandBase?

Create a SandBase API key, then send requests with the model ID "elevenlabs/dubbing" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

### Do I need a separate ElevenLabs account?

No. One SandBase API key and balance gives you access to ElevenLabs Dubbing and the other models in the catalog; you do not need to sign up with ElevenLabs separately.

## README

### ElevenLabs Dubbing

ElevenLabs Dubbing translates the speech in a video into another language while keeping each speaker's voice, timing, and the background audio.

#### Fields

| 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. |

#### Billing

$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.
