Generate songs
acemusic_create_songGenerate two songs, one of two ways: send prompt (a free-text idea, optionally with up to 3 reference songIds and 3 images) and ACE Music writes the style, lyrics and title; or send style and/or lyrics (your own words, or instrumental) with a mode: generate, cover (1 songId), remix or edit (ACE-Step, 1 songId), mashup (2-3 songIds). Use prompt for a quick idea, style + lyrics for control; never prompt with lyrics. A job: waits up to ~50 s, then returns the jobid for acemusic_get_job; the result is two songs with songIds, model asked and modelUsed, a permanent public mp3 link (audioUrl) and a direct playUrl for players, valid until playUrlExpires (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 a healthy account with a free slot is picked (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); ace-step-1.5-xl is free (0 credits); acemusic-v1.1 reads references and covers (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: genre, instruments, mood, tempo, 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, [Verse] / [Chorus] tags allowed; 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 to guide the songs; with a mode, 1 for cover / remix / edit, 2-3 for mashup, none for generate. | |
| instrumental | No | true: no vocals (send no lyrics). | |
| coverStrength | No | ace-step-1.5-xl cover / remix: how much of the original stays, 0-100 (default 20). | |
| remixStrength | No | ace-step-1.5-xl cover / 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). |