Skip to content
Start here

Language

List captions or subtitles for a provided language
client.stream.captions.language.get(stringlanguage, LanguageGetParams { account_id, identifier } params, RequestOptionsoptions?): Caption { generated, label, language, status }
GET/accounts/{account_id}/stream/{identifier}/captions/{language}
Generate captions or subtitles for a provided language via AI
client.stream.captions.language.create(stringlanguage, LanguageCreateParams { account_id, identifier } params, RequestOptionsoptions?): Caption { generated, label, language, status }
POST/accounts/{account_id}/stream/{identifier}/captions/{language}/generate
Upload captions or subtitles
client.stream.captions.language.update(stringlanguage, LanguageUpdateParams { account_id, identifier, file } params, RequestOptionsoptions?): Caption { generated, label, language, status }
PUT/accounts/{account_id}/stream/{identifier}/captions/{language}
Delete captions or subtitles
client.stream.captions.language.delete(stringlanguage, LanguageDeleteParams { account_id, identifier } params, RequestOptionsoptions?): LanguageDeleteResponse
DELETE/accounts/{account_id}/stream/{identifier}/captions/{language}
ModelsExpand Collapse
LanguageDeleteResponse = string

LanguageVtt

Return WebVTT captions for a provided language
client.stream.captions.language.vtt.get(stringlanguage, VttGetParams { account_id, identifier } params, RequestOptionsoptions?): VttGetResponse
GET/accounts/{account_id}/stream/{identifier}/captions/{language}/vtt
ModelsExpand Collapse
VttGetResponse = string