Overview
This endpoint provides voice clone functionality.
Authentication
This endpoint requires authentication using a Bearer token.
Authorization
string
default:"sk-***********"
required
Your API key in the format: Bearer YOUR_API_KEY
Request Body
custom_voice_id
string
default:"Alice-jiuhao-2"
Custom Voice Id parameter
model
string
default:"speech-2.5-hd-preview-voice-clone"
required
The model to use for the request
Need Noise Reduction parameter
need_volume_normalization
Need Volume Normalization parameter
Request Example
curl -X POST "https://gptproto.com/api/v3/minimax/voice-clone" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"accuracy": 0.7,
"audio": "https://d1q70pf5vjeyhc.cloudfront.net/media/92d2d4ca66f84793adcb20742b15d262/audios/1752727142784562094_VRSOK53Y.mp3",
"custom_voice_id": "Alice-jiuhao-2",
"model": "speech-2.5-hd-preview-voice-clone",
"need_noise_reduction": false,
"need_volume_normalization": false,
"text": "Hello! Welcome to Wavespeed! This is a preview of your cloned voice. I hope you enjoy it!"
}'
Response
Error Responses
{
"error": {
"message": "Invalid signature",
"type": "401"
}
}