Get Video Translation Caption
GET
https://api.konpro.ai/v1/video_translate/captionRetrieve a downloadable caption file for a translated video, in standard VTT format.
Request History
Log in to see full request history
| TIME | STATUS | USER AGENT |
|---|---|---|
| Make a request to see history. | ||
0 Requests This Month
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| video_translate_id | string | Unique ID of the translated video (required) |
| caption_type | string | Format of the caption file. Allowed value: "vtt" |
Response Structure
| Field | Type | Description |
|---|---|---|
| caption_url | string | Direct URL to the VTT-format caption file; valid for 7 days |
cURL Request
shell
curl --request GET \
--url 'https://api.konpro.ai/v1/video_translate/caption?video_translate_id=translated123&caption_type=vtt' \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'Example Successful Response
json
{
"error": null,
"data": {
"caption_url": "https://cdn.konpro.ai/video_translate/translated123/caption/api/caption.vtt"
}
}Important Note
The caption file URL is temporary and expires after seven days.
Every time the endpoint is called, the returned URL and expiration parameters refresh, granting fresh access.
Example Usage
Shell
curl --request GET \
--url 'https://api.konpro.ai/v1/video_translate/caption?video_translate_id=translated123&caption_type=vtt' \
--header 'accept: application/json' \
--header 'x-api-key: <your-api-key>'LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
404 - Not Found
LANGUAGE
CREDENTIALS
HEADER
RESPONSE
Examples
Choose an example:
application/json
200 - Success
404 - Not Found