Upload a reference track
minimax_upload_music_referenceUpload an audio file (MP3 or WAV, up to 50 MB through this server) to one MiniMax account as a reference track for covers. Returns its musicId, ready at once, and the lyrics MiniMax transcribed from it (pass them as lyrics to keep the original words). A reference is a permanent record on the account, reusable for any number of covers: upload once and pass the musicId as referenceMusicId to minimax_create_music. Uploading costs no credits; a song already on the account needs no upload. POST /music/reference.
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_music_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the audio file. | |
| name | No | The title the reference is stored under, max 40 characters. Default: a timestamp. | |
| account | No | The MiniMax account id (minimax_list_accounts) to store the reference on (covers of it run 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). |