Speech 2.8 HD

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

  • minimax/speech-2.8-hd

The model generates speech from text prompts and multiple voices, optimized for high-fidelity, natural-sounding output.

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

Code Example

Response

Listen to the audio sample we generated (~ 3 s):

Last updated

Was this helpful?