Skip to main content

Overview

MiniMax Speech 2.8 is an async text-to-speech model for high-quality speech generation. APIXO supports built-in preset voices through the documented preset voice_id list, and also accepts custom voice_id values created by MiniMax Voice.
For the full built-in preset voice_id list, see MiniMax Speech 2.8 Preset Voices.

Endpoint and authentication

Base URL:
All requests require your APIXO API key:
Submit requests also require:

Copy-paste async quickstart

This minimal request submits a speech task and returns a taskId.
Successful submit response:
Save the taskId; you need it to poll for the final result.

Poll for result

Processing response:
Success response:
Failed response:
Parse resultJson after state becomes success:

Request body

Parameters

string
default:"async"
required
Result delivery mode. Use async for polling with statusTask, or callback for webhook delivery.
string
Required when request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.
object
required
MiniMax Speech 2.8 input parameters.

Voice ID rules

  • Use the preset voice_id list on MiniMax Speech 2.8 Preset Voices for built-in voices.
  • Use the returned custom voice_id from MiniMax Voice when you want a custom cloned or designed voice.
  • Custom voice_id values must be valid and available for the current account.
  • Only the documented fields on this page are part of the public request contract. Extra unsupported fields are ignored by APIXO unless they conflict with platform behavior.

Prompt behavior

  • prompt supports normal narration text.
  • You can use pause control such as <#0.5#> inside the text.
  • Inline expressive tags such as (laughs), (sighs), and (coughs) can also be included when useful.
  • pronunciation_dict is the right place for abbreviation or alias-to-pronunciation overrides.

Pricing

Billing is based on the submitted prompt character count.

Response format

Submit task response

POST /generateTask/minimax-speech-2-8 returns a task ID when the task is accepted:
integer
API status code. 200 means the task was accepted.
string
Human-readable status message.
string
Unique task identifier used with the status endpoint.

Status response fields

string
Unique task identifier.
string
Current task state: processing, success, or failed.
string
JSON string containing audio result URLs. Present when state is success.
string
Machine-readable failure code. Present when state is failed.
string
Human-readable failure message. Present when state is failed.
integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion.
integer
Processing duration in milliseconds. Present after successful completion.

Webhook callback mode

Use callback mode when your backend should receive the final result automatically instead of polling.
See Webhooks for delivery requirements and retry behavior.

Latency and polling

Actual latency varies by text length, selected mode, queue load, and route health.

Errors and troubleshooting

HTTP errors

Common validation rules

  • mode, voice_id, and prompt are required.
  • Built-in voices must use the documented preset voice_id list.
  • Custom voice_id values must be valid and available for the current account.
  • pronunciation_dict must be a string array, and each item must use Alias/Pronunciation format.
  • speed, volume, and pitch can be numeric strings, but the final values must stay within the documented ranges.
  • sample_rate and bitrate can be numeric strings, but only the documented option values are accepted.
  • channel accepts 1, 2, mono, or stereo, where 1=mono and 2=stereo.
  • emotion, format, and language_boost must match the documented supported values.