Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Translations

Turn audio into text or text into audio.

Create translation
client.audio.translations.create(TranslationCreateParams { file, model, prompt, 2 more } body, RequestOptionsoptions?): TranslationCreateResponse
POST/audio/translations
ModelsExpand Collapse
Translation { text }
TranslationCreateResponse = Translation { text } | TranslationVerbose { duration, language, text, segments }
TranslationVerbose { duration, language, text, segments }