Request

FieldTypeDescription
video_translate_idstrThe ID of the video to caption
caption_typestrThe caption file type, "vtt"

Response

FieldTypeDescription
caption_urlstrThe URL of the caption. The URL will be expired in seven days.
{
    "error": null,
    "data": {
        "caption_url": "https://resource-dev2.heygen.ai/video_translate/a0432966f84548df8ddc8b4536a937e2/caption/api/caption.vtt"
    }
}

📘

The caption file URL you get will expire in 7 days. 📆

You can observe this expiration in the URL parameters. Every time you call the endpoint, the Expires and other queries are regenerated accordingly.

Language
Credentials
Header
Click Try It! to start a request and see the response here!