Create Dubbing Job
Creative Agents - Dubbing
Create a dubbing job that translates a source video or audio file into one or more Indian languages, with optional voice cloning, watermark control, and translation-style (register) control.
Base URL: https://api.sarvam.ai/dubbing.
Auth: send your key in the api-subscription-key header, not Authorization: Bearer.
This call only creates the job. It does not accept the media file. The response returns data.job_id and a short-lived signed data.upload_url. After that:
PUTthe raw media bytes toupload_urlwith headersContent-Type: <mime>(e.g.video/mp4) andx-ms-blob-type: BlockBlob.POST /jobs/{job_id}/startto begin the pipeline.
A single job dubs into every language in target_langs, so you don’t need a separate job per language.
Authentication
Request
Source language of the input media (BCP-47), or auto to detect it. Pass the language when you know it: detection is not always accurate. See Specify Language Codes.
Which formats to auto-produce per target language. When provided, only the listed formats are auto-exported. Accepted values: video (dubbed MP4), audio (dubbed voice over the background, .wav), audio_vocals (dubbed voice alone, .wav), srt and vtt (subtitles of the dubbed text). When omitted, only the dubbed video (MP4) is produced; request audio and subtitles explicitly. Audio-only sources cannot produce a video, so video resolves to audio for them.
Clone the original speaker’s voice. Set false to use a preset voice_id instead.
Preset (prebuilt) voice to use when voice_cloning is false. Single speaker only.
Speech pace preset, used when voice_cloning is false.
Set true for a watermark-free export.
Translation-style / tone register.
Keep false for API integrations so exports fire automatically once TTS finishes. When true, auto-export is suppressed: the pipeline completes but export-status stays empty until exports are triggered manually in Creator Studio. Billing: true charges the editor-flow rate (₹80/min on Starter — double the default API rate). See Pricing for plan-specific rates.
Human-readable label to identify the job later. Recommended (e.g. the source file’s name).
Response
Response status, e.g. success.