Skip to content

MiniMax Speech 2.8 HD

Studio-quality speech with adjustable speed.

  • by MiniMax
  • Speech
  • $0.10 per 1K characters
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
  • modelstringRequired
    The model id, ewest/minimax-speech-2.8-hd.
  • inputstringRequired
    The text to speak. Up to 5,000 characters.
  • voicestringOptionaldefault Wise_Woman
    The voice. One of: Wise_Woman, Friendly_Person, Calm_Woman, Deep_Voice_Man, Casual_Guy, Lively_Girl, Patient_Man, Elegant_Man.
  • speednumberOptionaldefault 1
    Speaking speed, 0.5 to 2.
  • response_formatstringOptionaldefault mp3
    mp3 returns the audio bytes; url returns 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

  • urlstring (uri)Always
    Link to the audio file on cdn.ewest.ai, kept for 7 days.
  • content_typestringAlways
    Media type of the audio file, e.g. audio/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

Compare with…