import requests r = requests.post( "https://api.aimlapi.com/v1/tts", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "minimax/speech-2.6-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.6-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.6-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 | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
MiniMax Speech 2.6 HD This page | Speech synthesis |
MiniMax Speech 2.6 HD takes text as input and returns audio.
MiniMax Speech 2.6 HD became available on January 5, 2026.
MiniMax Speech 2.6 HD is priced at $0.13 / 1M tokens.
MiniMax Speech 2.6 HD is billed per generation — a fixed charge per output rather than by prompt length.
MiniMax Speech 2.6 HD was built by MiniMax.
Send a request to https://api.aimlapi.com/v1/tts with minimax/speech-2.6-hd as the model id.
Yes. MiniMax Speech 2.6 HD is served through AI/ML API, so the same key and endpoint format used for other models applies.
No, it is a paid model priced at $130 per 1M input characters and $0.13 per 1M output tokens.
It aims to produce natural-sounding speech with voice similarity to the original speaker.