← All models
Generate fast speech from text prompts and different voices using the MiniMax Speech-02 Turbo model, which leverages advanced AI techniques to create high-quality text-to-speech.
Details
- Accepts
- text
Pricing
- Price
- 0.00750 cr / character
Prices in credits (1 credit = $0.01).
Data schema
Input
| Field | Type | Description |
|---|---|---|
| textrequired | string | Text to convert to speech (max 5000 characters, minimum 1 non-whitespace character) |
| audio_setting | — | Audio configuration settings |
| output_format | stringenum: url, hex | Format of the output content (non-streaming only) |
| voice_setting | — | Voice configuration settings |
| language_boost | — | Enhance recognition of specified languages and dialects |
| pronunciation_dict | — | Custom pronunciation dictionary for text replacement |
Output
| Field | Type | Description |
|---|---|---|
| audio | — | The generated audio file |
| duration_ms | integer | Duration of the audio in milliseconds |