New: AI video tools. Cut, clip, caption and dub your videos. See all video tools →
Dubs

Get the subtitles of a dub

GET
/v1/dubs/{id}/subtitles

Returns the lines of a dub job as SRT, VTT or JSON.

Authorization

bearer
headerAuthorizationBearer <API key>

An API key from Settings, starting vcp_live_.

Path Parameters

id*string

Query Parameters

format?string

srt for SubRip, vtt for WebVTT, or json for each line with its speaker and the original text.

Default"srt"
Value in"srt""vtt""json"

Response Body

OK.

response?string

SubRip subtitles.

Example Request
curl -X GET 'https://api.vcp.name/v1/dubs/string/subtitles'
Example Response
[  {    "start": 0.4,    "end": 2.6,    "text": "Bienvenidos de nuevo.",    "speaker": "SPEAKER_00",    "source_text": "Welcome back."  }]