Upload audio or an image
acemusic_upload_fileUpload an audio file or an image to an account. Audio up to 8 minutes becomes a Library song that ACE Music transcribes, and its songId works as a reference. mp3, wav, flac, ogg, m4a and aac work. An image (jpg, png or webp, up to 10 MB) goes into acemusic_create_song images. Send a public https url, or contentBase64 for small files. Returns the songId or image id, which works on that account only. POST /files.
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": "acemusic_upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | A public https URL of the file. | |
| No | The account to upload to (a file works only there). Default: any healthy account. | ||
| title | No | A title for an audio upload. | |
| mimeType | No | The file's type. Default: from the url's answer. | |
| contentBase64 | No | The file content, base64-encoded (instead of url). |