Skip to main content
POST
MiniMax Speech-2.5-turbo-preview Async Text-to-Speech
This API supports asynchronous text-to-speech generation with a maximum of 1 million characters per request. The complete generated audio result can be retrieved asynchronously. Supports 100+ system voices and cloned voices; supports customization of pitch, speed, volume, bitrate, sample rate, and output format. After submitting a long text speech synthesis request, please note that the returned URL is valid for 24 hours from the time it is generated. Please download the content in time.
Suitable for long text speech generation such as entire books. Task queuing may take a long time. For short sentence generation, voice chat, and 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, limited to a maximum of 50,000 characters.
object
required
object
object
string
default:"null"
Enhances recognition of 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 for this parameter: 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.