Skip to main content
POST
/
api
/
v3
/
minimax
/
speech-02-hd
speech-02-hd (text to audio)
curl --request POST \
  --url https://api.example.com/api/v3/minimax/speech-02-hd
Minimax’s GPTProto format for the text to audio API.
curl -X POST "https://gptproto.com/api/v3/minimax/speech-02-hd" \
  -H "Authorization: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "emotion": "surprised",
  "enable_base64_output": false,
  "enable_sync_mode": false,
  "english_normalization": false,
  "pitch": 0,
  "speed": 0.9,
  "text": "Hi there! Minimax speech 2.5 now live on Gptproto! Let's try it!",
  "voice_id": "Deep_Voice_Man",
  "volume": 1,
  "language_boost": "Chinese"
}'
{
  "error": {
    "message": "Invalid signature",
    "type": "401"
  }
}

Parameters

ParameterTypeRequiredDefaultDescription
emotionstring❌ NosurprisedEmotion parameter
enable_base64_outputboolean❌ NofalseEnable Base64 Output parameter
enable_sync_modeboolean❌ NofalseEnable Sync Mode parameter
english_normalizationboolean❌ NofalseEnglish Normalization parameter
pitchinteger❌ No0Pitch parameter
speednumber❌ No0.9Speed parameter
textstring❌ NoHi there! Minimax speech 2.5 now live on Gptproto! Let's try it!Text parameter
voice_idstring❌ NoDeep_Voice_ManVoice Id parameter
volumeinteger❌ No1Volume parameter
language_booststring❌ NoChineseLanguage Boost parameter