Speech 2.5 Turbo Preview

This documentation is valid for the following list of our models:

  • minimax/speech-2.5-turbo-preview

A high-definition text-to-speech model with enhanced multilingual expressiveness, more precise voice replication, and expanded support for 40 languages.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

API Schema

post
Body
modelstring · enumRequiredPossible values:
textstring · min: 1 · max: 5000Required

The text content to be converted to speech.

language_booststring · enumOptional

Language recognition enhancement option.

Possible values:
subtitle_enablebooleanOptional

Enable subtitle generation service. Only available for non-streaming requests. Generates timing information for the synthesized speech.

Default: false
streamboolean · enumOptionalDefault: falsePossible values:
Responses
200Success
audiostring · uriRequired
post
/v1/tts
200Success

Quick Code Example

Here is an example of generating an audio response to the user input provided in the text parameter.

Response

Last updated

Was this helpful?