models/MiniMax/MiniMax Speech-02 HD
MiniMax

MiniMax Speech-02 HD

audio-tts
Compare

Generate speech from text prompts and different voices using the MiniMax Speech-02 HD model, which leverages advanced AI techniques to create high-quality text-to-speech.

MODALITIES
audio

MiniMax Speech-02 HD (minimax/minimax-speech-02-hd) is a audio-tts model from MiniMax. Pricing via AIgateway: $0.100 per 1K chars. Call it via https://api.aigateway.sh/v1/audio/speech — set model="minimax/minimax-speech-02-hd". Best for: Voiceovers, Audiobooks.

model · minimax/minimax-speech-02-hd

Use this model

model: minimax/minimax-speech-02-hd
curl https://api.aigateway.sh/v1/audio/speech \
  -H "Authorization: Bearer $AIGATEWAY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"minimax/minimax-speech-02-hd","voice":"alloy","input":"Hello, world."}'

Capabilities

Strengths

  • Natural speech synthesis

Use cases

VoiceoversAudiobooks

Pricing

Per 1K chars$0.100
You pay pass-through · 5% applied at credit top-up, not per-call.
See API example →CompareAPI referenceSee usage ranking →

Collections

More audio models →More from MiniMaxFrontier models →Free-tier models →
API schema

Call MiniMax Speech-02 HD from any OpenAI SDK

POST https://api.aigateway.sh/v1/audio/speech·Content-Type: application/json·Auth: Bearer sk-aig-...

Request body

json
{
  "model": "minimax/minimax-speech-02-hd",
  "input": "Hello from AIgateway.",
  "voice": "alloy",
  "format": "mp3",        // mp3 | wav | flac | opus
  "speed": 1.0
}

Response

json
// Binary audio stream in the requested format (mp3 by default).
// Content-Type: audio/mpeg  (or audio/wav, audio/flac, audio/opus)
// Read the response body directly to a file.

Quickstart

from openai import OpenAI
client = OpenAI(base_url="https://api.aigateway.sh/v1", api_key="sk-aig-...")

r = client.audio.speech.create(model="minimax/minimax-speech-02-hd", voice="alloy", input="Hello world.")
r.stream_to_file("out.mp3")

Errors

401authentication_errorInvalid or missing API key
402insufficient_creditsWallet empty (PAYG only)
404not_foundUnknown model or endpoint
429rate_limit_errorOver per-minute limit — see Retry-After header
500server_errorUpstream provider failed (retryable)
503service_unavailableUpstream saturated (retryable)
Full docs →API reference →OpenAPI spec →llms.txt →

Frequently asked questions

What is MiniMax Speech-02 HD?
Generate speech from text prompts and different voices using the MiniMax Speech-02 HD model, which leverages advanced AI techniques to create high-quality text-to-speech. It is a audio-tts model from MiniMax, accessible via AIgateway's OpenAI-compatible API at slug minimax/minimax-speech-02-hd.
How much does MiniMax Speech-02 HD cost via AIgateway?
Pass-through pricing plus a 5% platform fee applied at top-up. See the pricing panel on this page for exact rates.
How do I call MiniMax Speech-02 HD from my code?
Point the OpenAI SDK at https://api.aigateway.sh/v1 with your AIgateway key and set model to "minimax/minimax-speech-02-hd". The request and response shapes match OpenAI exactly.
Does MiniMax Speech-02 HD support streaming, tool calling, vision, and JSON mode?
Streaming — no. Tool calling — no. Vision — no. JSON mode — no. Prompt caching — no.
What are the best use cases for MiniMax Speech-02 HD?
Voiceovers, Audiobooks. Key strengths: Natural speech synthesis.
Can I bring my own MiniMax API key (BYOK)?
Yes. Attach a MiniMax key in your AIgateway dashboard and this model flips to pass-through — you pay MiniMax directly and AIgateway waives the 5% platform fee on those calls.