Convert the audio in one language to another. The input audio is provided as an audio URL, or a video URL (the audio will then be extracted from the video file).This API automatically clone the voice from the input audio, and create new audio using the same voice.Make sure to properly select source_lang, target_lang, and num_speakers.If you want to further change the lip motion of your input video, you will need to use api/v1/video/generate by providing the audio from the dubbing result.
Return
Description
Format
Example
_id
the ID of the dubbing record.
string
66ea4dd87db10c73fa29b570
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
source_url
stringÂ
required
The URL of the video or audio for dubbing
name
stringÂ
required
The name of the dubbing to be trained
target_lang
stringÂ
required
The target language for training. Valid options include: zh, en, ar, ja, es, de, fr, etc. For all available choices, refere to the results returned by /api/v1/anchor/language_list method
source_lang
stringÂ
required
The language of source url. Valid options include: zh, en, ar, ja, es, de, fr, etc. For all available choices, refere to the results returned by /api/v1/anchor/language_list method
num_speakers
integerÂ
required
The num speakers of source url
drop_background_audio
booleanÂ
required
Do you want to remove the non-human background sound from the input audio