Skip to main content
POST
MiniMax Speech-2.6-turbo Async Text-to-Speech
This API supports async text-to-speech generation, with a maximum of 1 million characters per request. The complete audio result can be retrieved asynchronously. Supports 100+ system voices and cloned voices; supports pitch, speed, volume, bitrate, sample rate, and output format adjustments. After submitting a long text speech synthesis request, please note that the returned URL is valid for 24 hours from the time it is returned. Please be mindful of the download timing.
Suitable for long text speech generation such as entire books; task queuing may take longer. For short sentence generation, voice chat, online social scenarios, it is recommended to use Synchronous Text-to-Speech.

Request Headers

string
required
Enum: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
required
The text to be synthesized, maximum length 50,000 characters.
object
required
object
object
string
default:"null"
Enhances recognition capability for specified minority languages and dialects. When set, it can improve speech performance for the specified language/dialect. If the language type is unclear, you can select β€œauto” and the model will automatically determine the language type. Supported values:'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'
object
Voice effect settings. Supported audio formats: mp3, wav, flac

Response

string
required
The task_id of the async task. Use the task_id to call the Get Async Task Result API to retrieve the generated result.