Skip to main content
POST
MiniMax Speech 2.8 Turbo Sync Text-to-Speech
MiniMax synchronous text-to-speech API using HTTP protocol. Supports various voice, emotion, speed and other parameter settings.

Request Headers

string
required
Supports: application/json
string
required
Bearer authentication format, for example: Bearer {{API Key}}.

Request Body

string
required
Text to synthesize into speech, length limit is less than 10000 characters. If text length is greater than 3000 characters, streaming output is recommended. Supports paragraph breaks (newline), pause control (<#x#> tag), and interjection tags (such as (laughs), (coughs), etc., only supported by speech-2.8-hd/turbo)
boolean
default:false
Controls whether to enable streaming output. Default is false
object
object
string
default:"hex"
Controls output format, options are url or hex, default is hex. This parameter is only valid in non-streaming scenarios. URL is valid for 24 hoursOptional values: url, hex
object
boolean
default:false
Controls whether to add audio rhythm identifier at the end of synthesized audio, default is false. This parameter is only valid for non-streaming synthesis
string
Whether to enhance recognition ability for specified minor languages and dialects. Default is null, can be set to auto to let the model decide automaticallyOptional 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
object[]
Mixed voice settings, supports up to 4 voice mixtures
boolean
default:false
Controls whether to enable subtitle service, default is false. This parameter is only valid in non-streaming output scenarios, and only valid for speech-2.6-hd, speech-2.6-turbo, speech-01-turbo, speech-01-hd models
object

Response

object
Returned synthesis data object, may be null and needs null check
string
Session ID for this request, used for troubleshooting
object
Status code and details for this request
object
Additional audio information
Last modified on July 17, 2026