MiniMax Speech 2.8 Turbo Synchronous Speech Synthesis
Audio
MiniMax Speech 2.8 Turbo Synchronous Speech Synthesis
POST
MiniMax Speech 2.8 Turbo Synchronous Speech Synthesis
Convert text to speech, with support for multiple voices, emotion control, speed adjustment, and more. The text length must be less than 10,000 characters. If the text length exceeds 3,000 characters, streaming output is recommended.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The text to synthesize into speech. The length must be less than 10,000 characters. If the text length exceeds 3,000 characters, streaming output is recommended. Supports paragraph breaks (newline characters), pause control (
<#x#> tags), and filler/sound-effect tags (such as (laughs), (coughs), etc.; supported only by speech-2.8-hd/turbo)Controls whether to use streaming output. The default is false, meaning streaming is not enabled
Controls the format of the output result. Available values are url and hex. The default value is hex. This parameter takes effect only in non-streaming scenarios. Streaming scenarios support returning only hex format. The returned url is valid for 24 hoursAvailable values:
url, hexControls whether to add an audio rhythm marker to the end of the synthesized audio. The default value is false. This parameter takes effect only for non-streaming synthesis
Whether to enhance recognition for specified minority languages and dialects. The default value is null. You can set it to auto to let the model determine automaticallyAvailable 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, autoMixed voice settings. Supports mixing up to 4 voices
Controls whether to enable the subtitle service. The default value is false. This parameter is valid only in non-streaming output scenarios and only for the speech-2.6-hd, speech-2.6-turbo, speech-02-turbo, speech-02-hd, speech-01-turbo, and speech-01-hd models
Enable this parameter to make transitions between clauses more natural. Supported only by the speech-2.8-hd and speech-2.8-turbo models
Response Information
The returned synthesis data object. It may be null, so a non-null check is required
The id of this session, used to help locate issues during inquiries or feedback
The status code and details for this request
Additional information about the audio