POST
/
v1
/
dubbing

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Body

multipart/form-data
file
file

A list of file paths to audio recordings intended for voice cloning

name
string

Name of the dubbing project.

source_url
string

URL of the source video/audio file.

source_lang
string
default: auto

Source language.

target_lang
string

The Target language to dub the content into.

num_speakers
integer
default: 0

Number of speakers to use for the dubbing. Set to 0 to automatically detect the number of speakers

watermark
boolean
default: false

Whether to apply watermark to the output video.

start_time
integer

Start time of the source video/audio file.

end_time
integer

End time of the source video/audio file.

highest_resolution
boolean
default: false

Whether to use the highest resolution available.

drop_background_audio
boolean
default: false

An advanced setting. Whether to drop background audio from the final dub. This can improve dub quality where it's known that audio shouldn't have a background track such as for speeches or monologues.

use_profanity_filter
boolean

[BETA] Whether transcripts should have profanities censored with the words '[censored]'

Response

200 - application/json
dubbing_id
string
required
expected_duration_sec
number
required