Convert text into speech audio and stream the generated bytes.
Primary authentication for inference endpoints. Send your Naga API key as Authorization: Bearer <api-key>.
Text-to-speech model identifier.
"gpt-4o-mini-tts"
Text to synthesize into speech audio.
32768Voice preset to synthesize with.
"alloy"
Optional playback speed multiplier.
mp3, opus, aac, flac, wav, pcm Generated audio stream.
The response is of type file.