Skip to main content
POST
Create translate and dub job

Authorizations

Authorization
string
header
required

Send your API Key in the Authorization header (Bearer <api_key>). See Authentication.

Headers

X-Idempotency-Key
string
required

Required on mutating POST requests that create tasks or change persisted data (max 64 characters). See Idempotency.

Maximum string length: 64

Body

application/json
taskType
enum<string>
required

vt video translation | at audio translation. Must match the material type, otherwise 400.

Available options:
vt,
at
source
object
required

Exactly one of materialId or youtubeUrl

language
object
required

Source and target locales for localization

options
object

Pipeline options (all optional). Voice rules match the website: voiceClone.style picks automatic dubbing; voiceSpeakers.selectedVoicesList picks voices manually (sv_* system, cv_* your cloned voices) and cannot be combined with voiceClone. dubbingVersion: V2 cannot be combined with either. Leave voiceSpeakers.timbreMethod empty when you set voices; a conflicting value returns 400.

title
string

Job name shown in My tasks (max 255 characters). Defaults to the file name or the YouTube video title.

Maximum string length: 255

Response

200 - application/json

Task accepted. editorUrl opens the job in the website editor.

code
integer
required

Business code; 200 means success

Example:

200

message
string

Human-readable detail when code is not success

Example:

""

data
object

Immediate response for media translation async create (no deliverables)