Skip to main content
POST
/
api
/
v3
/
minimax
/
speech-2.5-hd-preview
speech-2.5-hd-preview
curl --request POST \
  --url https://gptproto.com/api/v3/minimax/speech-2.5-hd-preview \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "emotion": "<string>",
  "enable_base64_output": true,
  "enable_sync_mode": true,
  "english_normalization": true,
  "pitch": 123,
  "speed": 123,
  "text": "<string>",
  "voice_id": "<string>",
  "volume": 123,
  "language_boost": "<string>"
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides speech-2.5-hd-preview functionality.

Authentication

This endpoint requires authentication using a Bearer token.
Authorization
string
required
Your API key in the format: Bearer YOUR_API_KEY

Request Body

emotion
string
Emotion parameter
enable_base64_output
boolean
Enable Base64 Output parameter
enable_sync_mode
boolean
Enable Sync Mode parameter
english_normalization
boolean
English Normalization parameter
pitch
integer
Pitch parameter
speed
number
Speed parameter
text
string
Text parameter
voice_id
string
Voice Id parameter
volume
integer
Volume parameter
language_boost
string
Language Boost parameter

Request Example

curl -X POST "https://gptproto.com/api/v3/minimax/speech-2.5-hd-preview" \
  -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 WaveSpeedAI! Let's try it!",
  "voice_id": "Deep_Voice_Man",
  "volume": 1,
  "language_boost": "Chinese"
}'

Response

Success
200
Successful response
{
  "status": "success"
}

Error Responses

{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}