Skip to main content
POST
/
api
/
v3
/
minimax
/
voice-clone
voice-clone
curl --request POST \
  --url https://gptproto.com/api/v3/minimax/voice-clone \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accuracy": 123,
  "audio": "<string>",
  "custom_voice_id": "<string>",
  "model": "<string>",
  "need_noise_reduction": true,
  "need_volume_normalization": true,
  "text": "<string>"
}'
{
  "error": {
    "message": "Invalid request parameters",
    "type": "invalid_request_error",
    "code": "invalid_parameters"
  }
}

Overview

This endpoint provides voice-clone 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

accuracy
number
Accuracy parameter
audio
string
Audio parameter
custom_voice_id
string
Custom Voice Id parameter
model
string
required
The model to use for the request
need_noise_reduction
boolean
Need Noise Reduction parameter
need_volume_normalization
boolean
Need Volume Normalization parameter
text
string
Text parameter

Request Example

curl -X POST "https://gptproto.com/api/v3/minimax/voice-clone" \
  -H "Authorization: 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-02-hd",
  "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

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

Error Responses

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