Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Text-to-speech and speech-to-text routes.
POST
/v1/audio/speech
/v1/audio/transcriptions
/external/v1/audio/speech
/external/v1/audio/transcriptions
{ "model": "tts-1", "input": "Compose settles paid model calls over HTTP.", "voice": "alloy", "response_format": "mp3", "speed": 1 }
Content-Type
audio/mpeg
{ "model": "whisper-1", "file": "<base64 audio>", "language": "en", "response_format": "json" }
response_format
text