Generates audio from the input text
Bearer token authentication. Get your API key from the dashboard.
One of the available TTS models
"gpt-4o-mini-tts"
The text to generate audio for. The maximum length is 4096 characters
4096The voice to use when generating the audio
alloy, echo, fable, onyx, nova, shimmer The format to audio in
mp3, opus, aac, flac, wav, pcm The speed of the generated audio
0.25 <= x <= 4The audio file content
The response is of type file.