Request body
| Field | Type | What it is |
|---|
language_code | string or null | ISO-639-1/639-3 code of the video's spoken language, e.g. "en"; can improve quality. Omit to auto-detect. |
urlrequired | string | YouTube video URL |
verbatim | boolean | Keep filler words and repetitions instead of cleaning them up |
Response
| Field | Type | What it is |
|---|
idrequired | string | Job id; poll GET /v1/api/transcription/{id} until `state` is `done` |
Answers: 200, 401, 422, 429
GET/v1/api/transcription/{id}
Read a job: its state while it runs, its text when it is done.
Parameters
| Field | Type | What it is |
|---|
idrequired | string | |
Response
| Field | Type | What it is |
|---|
backgroundrequired | boolean | |
burned_video_url | string or null | |
created_atrequired | string | |
duration | integer or null | |
error | string or null | |
font_sizerequired | FontSize | |
idrequired | string | |
is_preview | boolean | |
preview_minutes | integer or null | |
progressrequired | integer | |
qualityrequired | Quality | |
srt | string or null | |
staterequired | State | |
translations | TranslationApiResponse[] | |
txt | string or null | |
typerequired | TranscriptionType | |
updated_atrequired | string | |
verbatimrequired | boolean | |
video_url | string or null | |
webvtt | string or null | |
Answers: 200, 401, 404, 422, 429
Request body
| Field | Type | What it is |
|---|
format | string | Which field to read from the result; both are always populated |
language_code | string or null | ISO-639-1/639-3 code of the video's spoken language, e.g. "en"; can improve quality. Omit to auto-detect. |
target_languages | array or null | Also translate into these languages (max 10), e.g. ["Spanish", "French"] |
urlrequired | string | YouTube video URL |
verbatim | boolean | Keep filler words and repetitions instead of cleaning them up |
Response
| Field | Type | What it is |
|---|
formatrequired | string | The requested format, echoed back |
idrequired | string | Job id; poll GET /v1/api/transcription/{id} until `state` is `done` |
Answers: 200, 401, 422, 429
Request body
| Field | Type | What it is |
|---|
background | boolean | Draw a semi-transparent black box behind the subtitles for readability. Off = white text with a black outline. |
font_size | FontSize | Subtitle text size: default ≈7% of video height, large ≈10%, xl ≈12.5%. |
language_code | string or null | ISO-639-1/639-3 code of the video's spoken language, e.g. "en"; can improve quality. Omit to auto-detect. |
quality | Quality | Output resolution: default = 720p, hd = 1080p, uhd = 4K |
target_languages | array or null | Also produce a burned video per translated language (max 10), e.g. ["Spanish", "French"] |
urlrequired | string | YouTube video URL |
verbatim | boolean | Keep filler words and repetitions instead of cleaning them up |
Response
| Field | Type | What it is |
|---|
idrequired | string | Job id; poll GET /v1/api/transcription/{id} until `state` is `done` |
Answers: 200, 401, 422, 429