Get Captions
GET {{baseUrl}}/speechtotext/v1/jobs/:jobId/captions
Returns the caption output for a transcription job. We currently support SubRip (SRT) and Web Video Text Tracks (VTT) output. Caption output format can be specified in the Accept header. Returns SRT by default.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
speaker_channel | string | (Optional) Identifies which channel of the job output to caption. Default is null which works only for jobs with no speaker_channels_count provided during job submission. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string | (Required) MIME type specifying the caption output format. Either application/x-subrip or text/vtt. |
RESPONSES
status: OK
"WebVTT\n\n1\n00:00:01,210 ==\u003e 00:00:04,840\nHello there,\nthis is an example captions output\n\n2\n00:00:07,350 --\u003e 00:00:10,970\nEach caption group is in the vtt\nfile format\n"