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 presetvoice_id list, and also accepts custom voice_id values created by MiniMax Voice.
Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
This minimal request submits a speech task and returns ataskId.
taskId; you need it to poll for the final result.
Poll for result
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_idlist on MiniMax Speech 2.8 Preset Voices for built-in voices. - Use the returned custom
voice_idfrom MiniMax Voice when you want a custom cloned or designed voice. - Custom
voice_idvalues 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
promptsupports 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_dictis 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.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, andpromptare required.- Built-in voices must use the documented preset
voice_idlist. - Custom
voice_idvalues must be valid and available for the current account. pronunciation_dictmust be a string array, and each item must useAlias/Pronunciationformat.speed,volume, andpitchcan be numeric strings, but the final values must stay within the documented ranges.sample_rateandbitratecan be numeric strings, but only the documented option values are accepted.channelaccepts1,2,mono, orstereo, where1=monoand2=stereo.emotion,format, andlanguage_boostmust match the documented supported values.