Audio
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.
Changes
No recorded changes to this endpoint across all 1 revision of this API.