MiniMax Speech 2.8 HD
Studio-quality speech with adjustable speed.
- by MiniMax
- Speech
- $0.10 per 1K characters
- Text to speech8 voicesSpeed control
On this page
1.Call
OpenAI-compatible text to speech: the response is the audio itself. Every response carries an x-request-id trace ID.
curl https://api.ewest.ai/v1/audio/speech \
-H "Authorization: Bearer $EWEST_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "ewest/minimax-speech-2.8-hd", "input": "Welcome to eWest."}' \
--output speech.audio
# Add "response_format": "url" to get {"url": "https://cdn.ewest.ai/aud/…"} instead of the bytes.2.Authentication
Send your API key in the Authorization: Bearer header, as the examples above do (clients built for the Anthropic API can use x-api-key). Create keys under API keys. Keep the key on your server, never in browser code. More in the authentication guide.
3.Schema
What you send and what comes back, for ewest/minimax-speech-2.8-hd. The output tables are read from the API's OpenAPI description.
Input
POST /v1/audio/speech- The model id,
modelstringRequiredewest/minimax-speech-2.8-hd. - The text to speak. Up to 5,000 characters.
inputstringRequired - The voice. One of: Wise_Woman, Friendly_Person, Calm_Woman, Deep_Voice_Man, Casual_Guy, Lively_Girl, Patient_Man, Elegant_Man.
voicestringOptionaldefaultWise_Woman - Speaking speed, 0.5 to 2.
speednumberOptionaldefault1 response_formatstringOptionaldefaultmp3mp3returns the audio bytes;urlreturns a cdn.ewest.ai link.
Output
Returns audio. POST /v1/audio/speech answers 200: The audio file (content-type is the model's format), or JSON with response_format: "url".
With response_format: url
- Link to the audio file on
urlstring (uri)Alwayscdn.ewest.ai, kept for 7 days. - Media type of the audio file, e.g.
content_typestringAlwaysaudio/mpeg.
The body is audio/mpeg.
Sample response
{
"url": "https://cdn.ewest.ai/aud/2026/11/01/7hq2xk9mpz.mp3",
"content_type": "audio/mpeg"
}4.Details
- Voices
- Wise Woman, Friendly Person, Calm Woman, Deep Voice Man, Casual Guy, Lively Girl, Patient Man, Elegant Man
- Input
- Up to 5,000 characters
- Output
- MP3 audio (also on cdn.ewest.ai for 7 days)
- Options
- speed