← All models
Generate speech from text prompts and different voices using the MiniMax Speech-2.6 HD 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 |
|---|---|---|
| promptrequired | string | Text to convert to speech. Paragraph breaks should be marked with newline characters. **NOTE**: You can customize speech pauses by adding markers in the form `<#x#>`, where `x` is the pause duration in seconds. Valid range: `[0.01, 99.99]`, up to two decimal places. Pause markers must be placed betw… |
| 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 |
| normalization_setting | — | Loudness normalization settings for the audio |
Output
| Field | Type | Description |
|---|---|---|
| audio | — | The generated audio file |
| duration_ms | integer | Duration of the audio in milliseconds |