Video Translate
Get video translate caption
Changed onGet the caption file (SRT or VTT format) for a completed video translation. The translation must have status "completed" — use get_video to check status first. Requires enable_caption=true when creating the translation.
get/v2/video_translate/caption
Request
- Base URLhttps://api.heygen.com
- URLhttps://api.heygen.com/v2/video_translate/caption
- Auth
- API key in header x-api-key
- or HTTP bearer
Query parameters
video_translate_idstring required
caption_type'vtt' | 'srt' required
Response
Successful response
Example response
{
"data": {
"caption_url": "https://files.heygen.ai/captions/abc123.srt"
}
}Changes
- info
endpoint added
- info