Generate songs
acemusic_create_songGenerate two songs from a quick idea or from your own texts. For a quick idea, send prompt in your own words. You can add up to 3 reference songIds and 3 images. ACE Music writes the style, lyrics and title. For control, send a mode with style, lyrics or both, or with instrumental. cover, remix and edit take 1 songId, and mashup takes 2 or 3. remix and edit run on ACE-Step. Never send prompt together with lyrics. The tool waits up to about 50 seconds, then returns the jobid for acemusic_get_job. You get two songs. Each has a songId, a public mp3 link (audioUrl) that never changes, and a playUrl for players. playUrl works about an hour. POST /music.
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_create_song"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bpm | No | ace-step-1.5-xl generate: tempo 30-200. | |
| end | No | edit: the end of the part to rewrite, in seconds (at least 1 s after start). | |
| key | No | ace-step-1.5-xl generate, cover or remix: the key, e.g. "A minor". | |
| mode | No | Your-own-texts way: generate | cover | remix | edit | mashup (default generate). | |
| No | The ACE Music account email. Optional. By default we pick a healthy account that has room for another request, or the account the referenced songs live on. | ||
| model | No | The model: acemusic-v1 | acemusic-v1.1 | ace-step-1.5-xl. Default acemusic-v1 (4 credits a request), but remix and edit run on ace-step-1.5-xl. ace-step-1.5-xl is free (0 credits). acemusic-v1.1 reads references and covers, and requests that need reading switch to it (reported as modelUsed). | |
| start | No | edit: the start of the part to rewrite, in seconds. | |
| style | No | The style, such as genre, instruments, mood, tempo and vocals. Required for mode generate. Up to 1000 characters (512 on ace-step-1.5-xl). | |
| title | No | The songs' title, up to 80 characters. | |
| images | No | The idea way only: up to 3 image ids from acemusic_upload_file (user:<id>-<email>-media:cx_…) that the songs are about. | |
| lyrics | No | Your lyrics, with tags such as [Verse] and [Chorus] if you like. Up to 5000 characters (2000 on ace-step-1.5-xl). | |
| prompt | No | The idea way: the song idea, up to 2000 characters (optional when references or images are given). Do not combine with style, lyrics, title, mode or the options below. | |
| duration | No | Length in seconds: 30-600 on acemusic-v1, 10-240 on ace-step-1.5-xl (mode generate). Default: automatic. | |
| negative | No | acemusic-v1 or ace-step-1.5-xl generate: styles to avoid, up to 200 characters. | |
| thinking | No | ace-step-1.5-xl generate: planning strength 0-100 (creative when low, steady when high). | |
| references | No | songIds. With prompt, up to 3 that guide the songs. With a mode, 1 for cover, remix or edit, 2 to 3 for mashup, none for generate. | |
| instrumental | No | true: no vocals (send no lyrics). | |
| coverStrength | No | ace-step-1.5-xl cover or remix: how much of the original stays, 0-100 (default 20). | |
| remixStrength | No | ace-step-1.5-xl cover or remix: how far it moves away, 0-100 (default 0). | |
| timeSignature | No | ace-step-1.5-xl generate: the meter. | |
| audioInfluence | No | Paid models with a reference: how closely the source is followed, 0-100 (default 60). | |
| referenceAudio | No | ace-step-1.5-xl only: a songId whose sound guides the result. | |
| styleInfluence | No | Paid models: how strictly the style is followed, 0-100 (default 80). |