Audio translation
OpenAI-compatible
Audio translation
POST /v1/audio/translations — translate audio in any language to English
POST
Audio translation
Translate and transcribe to English an audio file in any language.
Request
Parameters
Same as Transcriptions, except:- The output language is fixed to English (no
languagefield). - Only
whisper-1supports this endpoint.
Response
Translating to other languages
To translate audio into a non-English language, we recommend:- Use
/v1/audio/transcriptionsto first transcribe to the original language’s text. - Pass the text to
/v1/chat/completionsand have the LLM translate it to the target language.