How to Write AI Music Prompts: Genre, Instruments, Use and Tempo

A good AI music prompt names four things: a genre, two to four instruments, what the track is for, and a tempo. We built that rule from seven takes on ACE-Step 1.5, changing one thing at a time. Every take is 30 seconds, generated once on November 24, 2026, and playable below. Instruments were transcribed by an audio-capable model (Gemini).
Step 1: Don't stop at a vibe
relaxing music
The model picked lo-fi hip hop: electric piano, drums and vinyl crackle. Perfectly relaxing, but the genre was the model's choice. "Relaxing" doesn't say whether you wanted cafe background music or a meditation bed.
Step 2: Name the instruments and the mood
Relaxing acoustic guitar and soft piano, gentle and warm
Gentle fingerpicked guitar, warm and calm. No piano, though. Listing two instruments doesn't guarantee both.
Step 3: Add the use and the tempo
Same prompt plus the setting and the speed, with BPM set to 72:
Relaxing acoustic guitar and soft piano, gentle and warm, background music for a quiet cafe, slow tempo
Now both guitar and piano show up, in a slow piece that fits a quiet cafe. Run it twice and both takes keep both instruments, but the music itself is different. There is no seed, so plan on generating two or three takes and picking one.
Take 2 ends at about 25 seconds and is silent for the rest. Trim it before you cut it to video.
Step 4: Give the tempo as a number
Energetic synthwave, driving drums, pulsing bass, bright retro synth leads, night drive through a neon city
BPM: 120.
Four-on-the-floor drums, a pulsing synth bass and a bright lead, at close to the requested tempo. ACE-Step 1.5 takes any whole-number BPM from 30 to 300, and a number is more precise than "fast". In Studio it is the optional BPM field.
Step 5: Don't expect a full arc in 30 seconds
Starts quiet with solo piano, then strings and drums build up to a big climax, then ends softly with piano again, cinematic
Solo piano, strings coming in, and a soft piano ending: the outline held. The drums and the big climax never arrived. In 30 seconds, expect only part of a described arc.
Write the prompt in English
The same idea, once in Japanese and once in English:
From the Japanese prompt, ACE-Step 1.5 returned acoustic guitar and no koto or shakuhachi. From the English one, solo koto joined by shakuhachi. ElevenLabs Music v2.5 followed the Japanese prompt fine (the comparison).
A template
[genre], [2 to 4 instruments], [mood], [what it's for], [tempo word]
For example:
Lo-fi hip hop, soft Rhodes piano, vinyl crackle, mellow drums, relaxed, background music for a study stream, slow tempo
Put the exact tempo in the BPM field and pick 30, 60 or 90 seconds.
The same thing on the API
curl -sS -X POST https://api.fastmetal.ai/v1/audio/music \
-H "Authorization: Bearer $FASTMETAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "ace-step/ace-step-1.5", "prompt": "Relaxing acoustic guitar and soft piano, gentle and warm, background music for a quiet cafe, slow tempo", "duration_seconds": 30, "bpm": 72}' \
-o cafe.mp3
To see the price first, send the same body with "op": "music" to /v1/audio/quote. Nothing reaches the model and nothing is billed.
Gotchas
- Lyrics in the prompt won't produce singing. FastMetal's music models are instrumental only.
- Every take is billed, whether you keep it or not.
- A take can finish early and end in silence. Trim it.
FAQ
How long can a music prompt be?
1,000 characters on ACE-Step 1.5 and 2,000 on ElevenLabs Music v2.5. In our runs, a short list of genre and instruments worked better than long prose.
Can I regenerate the exact same track?
No. There is no seed; every call makes a new take. Download the takes you like from your Library.
Which models take a BPM?
ACE-Step 1.5 only. With ElevenLabs Music v2.5, describe the tempo in words.
Next steps
Try the template in Studio Music. The full API reference is in the music API docs, and rates are on the pricing page. New here? Create a free account.