Transcription & Translation Usage
Portkey supports bothTranscription
and Translation
methods for STT models and follows the OpenAI signature where you can send the file (in flac
, mp3
, mp4
, mpeg
, mpga
, m4a
, ogg
, wav
, or webm
formats) as part of the API request.
Here’s an example:
OpenAI NodeJSOpenAI PythonREST
Supported Providers and Models
The following providers are supported for speech-to-text with more providers getting added soon. Please raise a request or a PR to add model or provider to the AI gateway.Provider | Models | Functions |
---|---|---|
OpenAI | whisper-1 | Transcription Translation |