v1
latestOpenAPI 3.1.02026-07-2219165126.1 KBAudio
Create speech
Convert text into speech audio and stream the generated bytes.
post/v1/audio/speech
Request body
Example request
{
"input": "Welcome to NagaAI. Your job finished successfully.",
"model": "gpt-4o-mini-tts",
"response_format": "mp3",
"voice": "alloy"
}Response
Generated audio stream.