Please rotate your device

To continue exploring this website, please rotate your device to a vertical orientation

Speech 2.8 Turbo

MiniMax/Speech 2.8 Turbo

MiniMax Speech 2.8 Turbo delivers lifelike, studio-clear AI voices with native sound tags, 10-second voice cloning, and stronger cross-lingual speech worldwide.

text to speech

MiniMax Speech 2.8 Turbo is an advanced text-to-speech model designed to produce lifelike, expressive voices. Native sound tags add natural breaths, pauses, hesitations, laughter, and other vocal reactions, creating speech with more authentic rhythm and emotion.

The model also offers high-fidelity voice cloning from a 10-second sample, capturing details such as vocal texture, breathiness, and speaking pace. Studio-grade audio clarity reduces background noise and digital artifacts, while improved cross-lingual performance delivers more natural pronunciation across languages.

Input

python
import requests

url = os.getenv("MODEL_URL")

payload = {
    "model": "speech-2.8-hd",
    "text": "Omg(sighs), the real danger is not that computers start thinking like people, but that people start thinking like computers. Computers can only help us with simple tasks.",
    "stream": False,
    "voice_setting": {
        "voice_id": "English_expressive_narrator",
        "speed": 1,
        "vol": 1,
        "pitch": 0
    },
    "audio_setting": {
        "sample_rate": 32000,
        "bitrate": 128000,
        "format": "mp3",
        "channel": 1
    },
    "pronunciation_dict": { "tone": ["Omg/Oh my god"] },
    "language_boost": "auto",
    "voice_modify": {
        "pitch": 0,
        "intensity": 0,
        "timbre": 0,
        "sound_effects": "spacious_echo"
    },
    "output_format": "hex"
}
headers = {
    "Content-Type": "application/json",
    "Authorization": f"Bearer {os.getenv('API_KEY')}"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)

Output

json
{
  "data": {
    "audio": "<hex encoded audio>",
    "status": 2
  },
  "extra_info": {
    "audio_length": 11124,
    "audio_sample_rate": 32000,
    "audio_size": 179926,
    "bitrate": 128000,
    "word_count": 163,
    "invisible_character_ratio": 0,
    "usage_characters": 163,
    "audio_format": "mp3",
    "audio_channel": 1
  },
  "trace_id": "01b8bf9bb7433cc75c18eee6cfa8fe21",
  "base_resp": {
    "status_code": 0,
    "status_msg": "success"
  }
}