PeumeAPI

AI generation

MiniMax: Speech 2.8 Turbo

Generate fast, cost-efficient speech from up to 10,000 characters of text.

$0.0005 per 10,000 lookups, only when foundUsually answers in a few seconds

Call it

curl https://api.peume.com/v1/call/minimax-speech-2-8-turbo \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "model": "speech-2.8-turbo",
    "text": "A calm voice can make a complex idea feel simple.",
    "stream": false,
    "output_format": "url",
    "voice_setting": {
      "voice_id": "English_expressive_narrator",
      "speed": 1,
      "vol": 1,
      "pitch": 0
    },
    "audio_setting": {
      "sample_rate": 32000,
      "bitrate": 128000,
      "format": "mp3",
      "channel": 1
    }
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: minimax-speech-2-8-turbo.

Parameters

modelRequiredstring

speech-2.8-turbo

Example: speech-2.8-turbo

textRequiredstring

Fewer than 10,000 characters. Use <#x#> between speakable segments for a pause of x seconds.

Example: A calm voice can make a complex idea feel simple.

streamRequiredboolean

This catalog route is non-streaming so the relay returns one bounded JSON response.

false

Example: false

output_formatRequiredstring

The returned audio URL is valid for 24 hours.

url

Example: url

voice_settingRequiredobject

voice_id is required. Optional controls include speed, vol, pitch, emotion, text_normalization and latex_read. speech-2.8 emotion is happy | sad | angry | fearful | disgusted | surprised | calm; whisper and fluent are 2.6-only (status 2013 on 2.8, even with a whispering-named voice_id — use a whispering-style voice_id instead, or speech-2.6 for emotion=whisper).

Example: {"voice_id":"English_expressive_narrator","speed":1,"vol":1,"pitch":0}

audio_settingobject

Non-streaming output supports mp3, wav and flac. bitrate (mp3 only) is 32000 | 64000 | 128000 | 256000; 192000 is invalid (status 2013). sample_rate is 8000 | 16000 | 22050 | 24000 | 32000 | 44100.

Example: {"sample_rate":32000,"bitrate":128000,"format":"mp3","channel":1}

language_booststring

Exact enum strings only. English(UK) and en-GB are invalid (status 2013); use English. auto detects the language.

Chinese · Chinese,Yue · English · Arabic · Russian · Spanish · French · Portuguese · German · Turkish · Dutch · Ukrainian …

Example: auto

pronunciation_dictobject

Custom pronunciation pairs in source/target form.

Example: {"tone":["example/tree-g"]}

subtitle_enableboolean

Example: false

subtitle_typestring

sentence · word

Example: sentence

voice_modifyobject

Optional pitch, intensity, timbre and sound_effects controls.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.