Generate your first song
The simplest way is to describe what you want in one line.bash
Collect the result
Music generation is asynchronous. Query with the task ID:status becomes SUCCESS:
Every run returns two takes so you can pick the one you like. Lyric writing likewise returns two drafts.
notify_hook when submitting and we will push the result to your endpoint. The payload matches the query response.
To read several tasks at once, use the batch query:
data comes back as an array; each item has the same shape as the data of a single query.
Keep the music_id
Themusic_id in the result is the handle for everything that follows: extending, covering, stem separation, and export all locate the track by it. Store it alongside your task.
Two ways to call
The example above is the direct form. If you already use the unified task endpoint, this is equivalent in both behaviour and price:Write your own lyrics
Turncustom on and supply full lyrics in prompt. Markers like [Verse] and [Chorus] shape the structure.
Parameters worth knowing
Choosing a version
All three cost the same. Defaults to
chirp-v6.
What comes next
Once the first song exists you usually want more: make it longer, try another style, pull out the vocal, export as wav. These actions chain together, and some depend on the order you run them in.Suno workflow guide
Four common chains, plus the full list of capabilities