Nexus
All models
MiniMax Audio Available

MiniMax Speech 2.6 HD

Ultra-human, low-latency text to speech in 40+ languages with emotion control.

Text to Speech

From 11.7 credits (≈ ₹11.70) per 1K characters.

Parameters

ParameterTypeDescription
textRequired string Text to speak (billed per 1K characters). <#0.5#> inserts a pause.
max length 10000
pitch integer —
min -12 · max 12 · default 0
speed number —
min 0.5 · max 2 · default 1
format string —
one of: "mp3", "wav", "pcm", "flac"
volume number —
min 0.1 · max 10 · default 1
emotion string —
one of: "happy", "sad", "angry", "fearful", "disgusted", "surprised", "neutral" · default "happy"
voice_idRequired string —
one of: "Wise_Woman", "Friendly_Person", "Inspirational_girl", "Deep_Voice_Man", "Calm_Woman", "Casual_Guy", "Lively_Girl", "Patient_Man", "Young_Knight", "Determined_Man", "Lovely_Girl", "Decent_Boy", "Imposing_Manner", "Elegant_Man", "Abbess", "Sweet_Girl_2", "Exuberant_Girl" · default "Friendly_Person"
english_normalization boolean Improve reading of numbers in English.
default false

What you get back

Files arrive in output.files[] as private links that expire, with their type and size.

Use it from your code

# 1. Create the task
curl https://nexus.promptscenes.in/api/v1/tasks \
  -H "Authorization: Bearer $NEXUS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "model": "minimax-speech-2.6-hd",
    "input": {
        "text": "…",
        "pitch": 0,
        "speed": 1,
        "format": "mp3",
        "volume": 1,
        "emotion": "happy",
        "voice_id": "Friendly_Person",
        "english_normalization": false
    },
    "callback_url": "https://your-app.com/webhooks/nexus"
}'

# 2. Poll for the result
curl https://nexus.promptscenes.in/api/v1/tasks/TASK_ID \
  -H "Authorization: Bearer $NEXUS_API_KEY"
import os, time, uuid, requests

API = "https://nexus.promptscenes.in/api/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['NEXUS_API_KEY']}"}

task = requests.post(
    f"{API}/tasks",
    headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
    json={
        "model": "minimax-speech-2.6-hd",
        "input": {
            "text": "…",
            "pitch": 0,
            "speed": 1,
            "format": "mp3",
            "volume": 1,
            "emotion": "happy",
            "voice_id": "Friendly_Person",
            "english_normalization": False,
        },
        "callback_url": "https://your-app.com/webhooks/nexus",
    },
).json()

while task["status"] not in ("succeeded", "failed", "cancelled"):
    time.sleep(3)
    task = requests.get(f"{API}/tasks/{task['id']}", headers=HEADERS).json()

print(task["status"], task.get("output"))
const API = "https://nexus.promptscenes.in/api/v1";
const headers = {
  Authorization: `Bearer ${process.env.NEXUS_API_KEY}`,
  "Content-Type": "application/json",
};

let task = await fetch(`${API}/tasks`, {
  method: "POST",
  headers: { ...headers, "Idempotency-Key": crypto.randomUUID() },
  body: JSON.stringify({
      "model": "minimax-speech-2.6-hd",
      "input": {
          "text": "…",
          "pitch": 0,
          "speed": 1,
          "format": "mp3",
          "volume": 1,
          "emotion": "happy",
          "voice_id": "Friendly_Person",
          "english_normalization": false
      },
      "callback_url": "https://your-app.com/webhooks/nexus"
  }),
}).then((r) => r.json());

while (!["succeeded", "failed", "cancelled"].includes(task.status)) {
  await new Promise((r) => setTimeout(r, 3000));
  task = await fetch(`${API}/tasks/${task.id}`, { headers }).then((r) => r.json());
}
console.log(task.status, task.output);

Request

{
    "model": "minimax-speech-2.6-hd",
    "input": {
        "text": "…",
        "pitch": 0,
        "speed": 1,
        "format": "mp3",
        "volume": 1,
        "emotion": "happy",
        "voice_id": "Friendly_Person",
        "english_normalization": false
    }
}

Response

{
    "id": "6f1c…",
    "object": "task",
    "model": "minimax-speech-2.6-hd",
    "status": "succeeded",
    "output": {
        "files": [
            {
                "url": "https://…signed…",
                "mime": "…",
                "size": 0
            }
        ]
    },
    "estimated_cost": "…",
    "charged": "…"
}