ElevenLabs Dubbing

From 720.00 credits
ae_elevenlabs_dubbing

Dub an audio or video file into a target language, with optional automatic source-language and speaker detection.

AudioVideo
From 720.00 credits

Pricing

From 720.00 credits
ConditionCharge
Per started minute720.00 credits

Based on audio or video duration.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.audio_urlstring | unknownNoURL of the audio file to dub. Either audio_url or video_url must be provided.—
request_body.video_urlstring | unknownNoURL of the video file to dub. Either audio_url or video_url must be provided. If both are provided, video_url takes priority.—
request_body.source_langstring | unknownNoSource language code. If not provided, will be auto-detected.—
request_body.target_langstringYesTarget language code for dubbing (ISO 639-1)—
request_body.num_speakersinteger | unknownNoNumber of speakers in the audio. If not provided, will be auto-detected.—
request_body.highest_resolutionbooleanNoWhether to use the highest resolution for dubbing.true

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_elevenlabs_dubbing' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "highest_resolution": true,
      "num_speakers": 1,
      "source_lang": "zh",
      "target_lang": "ru",
      "video_url": "https://agentearth.ai/fileserver/file/fbf4e8bd-ea22-4a2f-882e-ec5ae81b71cd.mp4"
    }
  }
}'
Response exampleresponse.json
JSON
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "3fce2a42-c107-41c6-aa06-9151045b8ed6"
}