Clone any voice from a 10-second to 5-minute audio sample. Returns a custom voice_id you can pass to MiniMax speech models, plus a preview clip synthesized with the cloned voice.
Test this model instantly in the Console Playground โ no code required
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/voice-cloning",
"input": {
"voice_file": "https://example.com/narrator-sample.wav",
"model": "speech-02-turbo",
"accuracy": 0.7,
"need_noise_reduction": false,
"need_volume_normalization": false
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | No | speech-02-turbo | The text-to-speech model to train the cloned voice for speech-2.6-turbospeech-2.6-hdspeech-02-turbospeech-02-hd |
accuracy | number | No | 0.7 | Text validation accuracy threshold (0-1) |
voice_file | string | Yes | - | Voice file to clone. MP3, M4A, or WAV, 10s-5min, under 20MB |
need_noise_reduction | boolean | No | false | Enable noise reduction if the voice file has background noise |
need_volume_normalization | boolean | No | false | Enable volume normalization |
There are 3 ways to provide files for the voice_file parameter:
Attach files directly to POST /v1/predictions/upload. No separate upload step needed.
curl -X POST "https://api.core.today/v1/predictions/upload" \
-H "X-API-Key: cdt_your_api_key" \
-F "model=minimax/voice-cloning" \
-F 'input={"prompt":"your prompt here"}' \
-F "file:voice_file=@your_file.png"Pass a publicly accessible URL directly. You can also use file_url from the Storage API.
{
"model": "minimax/voice-cloning",
"input": {
"prompt": "your prompt here",
"voice_file": "https://example.com/image.jpg"
}
}Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Clone a clean studio recording and get a reusable voice_id
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "minimax/voice-cloning",
"input": {
"voice_file": "https://example.com/narrator-sample.wav",
"model": "speech-02-turbo",
"accuracy": 0.7,
"need_noise_reduction": false,
"need_volume_normalization": false
}
}'POST /v1/predictions