Skip to main content
API Reference: POST /audio/translations

Provider capabilities

The table below summarizes gateway support for this endpoint by provider.
Legend:
  • Supported by Provider and Truefoundry
  • Provided by provider, but not by Truefoundry
  • Provider does not support this feature
For every gateway endpoint and provider, see Supported APIs.

Supported Providers

  • OpenAI
  • Azure OpenAI
  • Groq
The Translations API converts spoken audio into English text using the whisper-1 model. You can provide audio in a variety of formats, and the API will return an accurate English translation. You can customize the input and output as follows:
  • Model: whisper-1
  • Input formats: mp3, mp4, mpeg, mpga, m4a, wav, webm
  • Output: Translated English text

Code Snippet

By default, the response type will be json with the raw text included.