Skip to main content
Skip to main content

Minimax Speech 2.8

MiniMax Speech 2.8 is MiniMax's speech model released July-August 2026 with one mission: putting the human back into AI voice - capturing vocal texture, breathiness, and speaking pace from just a 10-second sample, with natural tone tags for filled pauses.

  • 99.9% SLA
  • Official Discounts
  • Pay-as-you-go
  • Fast & Low Latency
Brand:MiniMaxPrice: $0.000066 / character
Open docs

API DOCS / SIMPLIFIED

Task API overview

Create a task for Minimax Speech 2.8 with its model ID and parameters, then use the returned task ID to check its status. Include your MuseSpark API key in each request.

X-API-Key on every request
POST /api/v1/openapi/task
GET /api/v1/openapi/task/status/{task_id}
Async task workflow

Create a task and retrieve its status

Replace the API key placeholder and review the example parameters before sending the request. Each example checks status once; repeat the status request until the task finishes. For cURL, also replace the task ID placeholder with the ID returned by the create request.

Task API

API_KEY="<API_KEY>"
BASE_URL="https://api.musespark.ai"
REQUEST_BODY='{
  "model_id": "minimax-speech-2.8",
  "parameters": {
    "text": "Wow, (whistles) this new video game is so good. I want to get it ASAP.",
    "mode": "turbo",
    "voice_id": "Friendly_Person",
    "emotion": "happy",
    "speed": 1.5,
    "volume": 1.1,
    "pitch": 0,
    "language_boost": "Chinese",
    "pronunciation_dict": [
      "ASAP/As soon as possible"
    ],
    "english_normalization": false,
    "format": "mp3",
    "sample_rate": 44100,
    "bitrate": 128000,
    "channel": "1",
    "batch_size": 1
  }
}'

CREATE_RESPONSE=$(curl --request POST "$BASE_URL/api/v1/openapi/task" \
  --header "X-API-Key: $API_KEY" \
  --header "Content-Type: application/json" \
  --data-raw "$REQUEST_BODY")

printf '%s\n' "$CREATE_RESPONSE"
TASK_ID="<TASK_ID_FROM_CREATE_RESPONSE>"

curl "$BASE_URL/api/v1/openapi/task/status/$TASK_ID" \
  --header "X-API-Key: $API_KEY"

Request and response

The request creates a task; the response shown is an example from a status lookup. Inline comments explain fields and must be removed before sending or parsing the copied JSON.

Create task request

Send this request body to the task creation endpoint with values appropriate for your use case.

Request Body · JSON
{
"model_id": "minimax-speech-2.8",// target model
"parameters": {
"text": "Wow, (whistles) this new video game is so good. I want to get it ASAP.",// text to convert to speech, up to 10000 characters. Use <#x#> between words for pauses from 0.01 to 99.99 seconds · min 1 · max 10000 · min length 1 · max length 10000
"mode": "turbo",// select the Turbo or HD speech model · enum: Turbo | HD
"voice_id": "Friendly_Person",// enter the identifier of the voice to use · min 1 · min length 1
"emotion": "happy",// specify the emotion for the generated speech · enum: happy | sad | angry | fearful | disgusted | surprised | neutral
"speed": 1.5,// set the speech playback speed · min 0.5 · max 2
"volume": 1.1,// set the volume of the generated speech · min 0.1 · max 10
"pitch": 0,// set the pitch of the generated speech · min -12 · max 12
"language_boost": "Chinese",// specify a language to improve pronunciation · enum: Chinese | Chinese | Yue | English | Arabic | Russian | Spanish | French | Portuguese | German | Turkish | Dutch | Ukrainian | Vietnamese | Indonesian | Japanese | Italian | Korean | Thai | Polish | Romanian | Greek | Czech | Finnish | Hindi | Bulgarian | Danish | Hebrew | Malay | Persian | Slovak | Swedish | Croatian | Filipino | Hungarian | Norwegian | Slovenian | Catalan | Nynorsk | Tamil | Afrikaans | auto
"pronunciation_dict": [// up to 100 custom pronunciations, each written as Alias/Pronunciation, for example Omg/Oh my god · max 100 · max items 100
"ASAP/As soon as possible"
],
"english_normalization": false,// specify English text normalization behavior
"format": "mp3",// specify the output audio format · enum: mp3 | wav | pcm | flac
"sample_rate": 44100,// output audio sample rate in Hz · enum: 8 kHz | 16 kHz | 22.05 kHz | 24 kHz | 32 kHz | 44.1 kHz
"bitrate": 128000,// output audio bitrate in bits per second · enum: 32 kbps | 64 kbps | 128 kbps | 256 kbps
"channel": "1",// specify the output audio channel configuration · enum: Mono | Stereo
"batch_size": 1// standard quantity control field. The allowed range for this item is 1-6 · min 1 · max 6
}
}

Available parameters and their requirements depend on the selected model or tool and input mode.

Task status response

A completed task may return output in its result. The result fields and output format depend on the model or tool.

Response Body · JSON
{
"code": 200,// 200 on success
"msg": "success",
"data": {
"task_id": "task_01HQX8N2QJ0YQ8Q0T7G6N4V6K2",// use for status polling
"status": "completed",// enum: queued | running | completed | failed | cancelled
"progress": 100,// 0-100 if available
"completed_at": 1760000000,// unix timestamp
"expires_at": 1760001800,// unix timestamp
"result": {
"output_urls": [// generated files
"https://cdn.example.com/output.png"
]
}
}
}

Poll every 2-5 seconds and stop once status becomes completed, failed, cancelled.