post https://api.heygen.com/v2/video_translate
Testing or trial access is not available for the Video Translate API.
Request Body
Field | Type | Description |
---|---|---|
video_url | str | The URL of the video file to be translated. |
title | str (optional) | Title of the video. |
output_language | str | The target language in which the video will be translated. |
translate_audio_only | bool (optional) | Translate only the audio, ignore the faces and only translate the voice track in this video. default: false |
speaker_num | int (optional) | Number of speakers. |
callback_id | string (optional) | A custom ID for callback purposes. |
enable_dynamic_duration | bool (optional) | Enable dynamic duration, which stretches or shrinks portions of your video to enhance conversational fluidity and translation quality between languages with different speaking rates. |
Response
Field | Type | Description |
---|---|---|
video_translate_id | str | ID of the video. |