Model API

ElevenLabs Dubbing

Generate dubbed videos or audios using ElevenLabs Dubbing feature!

Model id

Use this in every request
elevenlabs/dubbing

Run it

Quote the input, start the generation with the quote, then poll the job. Set RAYWAKE_API_KEY first; see Authentication.

# 1. Price the exact input (quotes are valid for up to 10 minutes)
curl -s https://api.raywake.com/v1/quotes \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "elevenlabs/dubbing",
  "input": {
    "audio_url": "https://example.com/input.mp3",
    "target_lang": "example"
  }
}'

# 2. Start the generation with the quote_id from step 1
curl -s https://api.raywake.com/v1/generate \
  -H "Authorization: Bearer $RAYWAKE_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"model": "elevenlabs/dubbing", "quote_id": "QUOTE_ID", "input": {"audio_url":"https://example.com/input.mp3","target_lang":"example"}}'

# 3. Poll until the status is terminal
curl -s https://api.raywake.com/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $RAYWAKE_API_KEY"

Input

Input fields for elevenlabs/dubbing
NameTypeDescription
audio_urlrequiredstring (URL)
URL of the audio file to dub. Either audio_url or video_url must be provided.
target_langrequiredstring
Target language code for dubbing (ISO 639-1)
source_langstring
Source language code. If not provided, will be auto-detected.
num_speakersinteger
Number of speakers in the audio. If not provided, will be auto-detected.
highest_resolutionboolean
Whether to use the highest resolution for dubbing.

Default: true

Output

A succeeded job lists its results under outputs, stored on our side. See Jobs for every field.

Job excerpt
"outputs": [
  { "type": "video", "url": "https://…", "mime_type": "video/mp4", "thumbnail_url": "https://…" }
]

Pricing

  • per minute$0.9508/ minute

The exact charge for your input comes from a quote. How charges settle