MiniMax Speech 2.6
MiniMax text-to-speech. Turns text into natural speech and returns an mp3 URL.
Pricing — billed by text length, not by audio duration:
| Unit | Tokens | USD |
|---|---|---|
| every 200 characters (rounded up) | 2 | $0.04 |
A 350-character request is billed as 2 units (4 tokens). Anything from 1 to 200 characters costs 1 unit.
Returns an img_uuid; poll GET /api/v1/jobs/detail (or use custom_callback_url) to get the generated audio. The result arrives as a json array item with type: "audio" and an mp3 URL in value.
Headers
Body
Model name. Must be minimax-speech-2-6.
minimax-speech-2-6 Text to synthesize. Required. Max 5000 characters. Billing is based on this length.
1 - 5000Voice id. Required. See the voice list for the supported values of this model.
Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.
"https://your-server.com/goenhance/callback"
