import requests r = requests.post( "https://api.aimlapi.com/v1/tts", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "minimax/speech-2.8-hd", "text": "Hello from AI/ML API" }, ) print(r.json()["audio"]) # URL to the generated audio
const r = await fetch("https://api.aimlapi.com/v1/tts", { method: "POST", headers: { Authorization: `Bearer ${process.env.AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "model": "minimax/speech-2.8-hd", "text": "Hello from AI/ML API" }), }); const { audio } = await r.json(); console.log(audio); // URL to the generated audio
curl -X POST https://api.aimlapi.com/v1/tts \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"minimax/speech-2.8-hd","text":"Hello from AI/ML API"}' # the JSON response contains "audio" — a URL to the generated speech
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| TTS Arena | 1183 (Elo) | Human preference Elo from blind pairwise listening comparisons of speech samples, measured independently by Artificial Analysis | Source | July 16, 2026 |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Speech 2.8 HD This page | Speech synthesis |
Speech 2.8 HD takes text as input and returns audio.
Speech 2.8 HD became available on April 13, 2026.
Speech 2.8 HD is priced at $130 / 1M.
Speech 2.8 HD is billed per generation — a fixed charge per output rather than by prompt length.
Speech 2.8 HD was built by MiniMax.
Send a request to https://api.aimlapi.com/v1/tts with minimax/speech-2.8-hd as the model id.
Yes. Speech 2.8 HD is served through AI/ML API, so the same key and endpoint format used for other models applies.
It offers a turbo mode optimized for low latency and an hd mode optimized for audio fidelity.