curl --request POST \
--url https://api.omniall.ai/v1/audio/speech \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "speech-2.8-hd",
"input": "Hello from Omniall AI",
"voice": "English_Graceful_Lady",
"response_format": "mp3"
}
'"<string>"MiniMax audio
Speech synthesis
Text-to-speech compatible with OpenAI Audio Speech.
Path: POST https://api.omniall.ai/v1/audio/speech
Response is typically binary audio (mp3 / wav / …) unless upstream returns JSON.
Auth: Authorization: Bearer sk-...
POST
/
v1
/
audio
/
speech
curl --request POST \
--url https://api.omniall.ai/v1/audio/speech \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "speech-2.8-hd",
"input": "Hello from Omniall AI",
"voice": "English_Graceful_Lady",
"response_format": "mp3"
}
'"<string>"Body
application/json
Response
Audio binary (or provider JSON)
The response is of type file.