Upload a voice sample
minimax_upload_voice_sampleUpload one audio sample (MP3 or WAV, 10 to 60 seconds of speech, up to 50 MB through this server) to an account for voice cloning. Returns a fileID; pass up to 10 fileIDs from the same account to minimax_clone_voice. Not for music covers: use minimax_upload_music_reference. POST /speech/upload-sample.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "minimax_upload_voice_sample"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the audio file. | |
| account | No | The MiniMax account id (minimax_list_accounts) to upload to (the voice is cloned there). Required when you have several MiniMax accounts; with one it may be left out. | |
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url; small files). |