Upload audio or an image
acemusic_upload_fileUpload an audio file (mp3, wav, flac, ogg, m4a, aac; up to 8 min) as a Library song ACE Music transcribes, usable as a reference songId, or an image (jpg, png, webp; up to 10 MB) usable in acemusic_create_song images. From a public https url or as contentBase64 (small files). Returns the songId or image id, valid 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). |