Create speech
Audio
Create speech
Convert text into speech audio and stream the generated bytes.
POST
Create speech
Documentation Index
Fetch the complete documentation index at: https://docs.naga.ac/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Primary authentication for inference endpoints. Send your Naga API key as Authorization: Bearer <api-key>.
Body
application/json
Text-to-speech model identifier.
Example:
"gpt-4o-mini-tts"
Text to synthesize into speech audio.
Maximum string length:
32768Voice preset to synthesize with.
Example:
"alloy"
Optional playback speed multiplier.
Available options:
mp3, opus, aac, flac, wav, pcm Response
Generated audio stream.
The response is of type file.