MiniMax T2A API
Generates speech audio from the provided text using MiniMax Text-to-Speech service
Request Body
application/json
Optionaltext
RequiredstringMinimum length:
1
Maximum length: 1024
references
array<object>References to be used for the speech, this requires MessagePack serialization, this will override reference_voices and reference_texts
voice
stringDesired voice. Either voice_id or timber_weights must be given as part of the parameters. Both system voice ids and cloned voice ids are supported
Default:
"male-qn-qingse"
token
RequiredstringMiniMax API key for authentication
Minimum length:
1
groupId
RequiredstringThe group to which the user belongs. Use the pre-generated value. The value should be spliced at the end of the url that calls the API.
Minimum length:
1
model
stringThe model to be used for the speech
Audio file containing the generated speech