Generate a song
generate_musicMake a song with vocals and instruments (async, a few minutes) and wait briefly for it. Either one sentence in prompt (the lyrics, style and title are written for you) or your own style + lyrics (section tags like [Verse], [Chorus] on their own lines). Costs credits by length, billed on the requested length — models: eroq-music-one (3 cr per started 30 s of song). If still processing when this returns, poll get_music_status with the returned id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Music model id (default eroq-music-one). | |
| style | No | How it sounds: language, vocals, genre, tempo, instruments (comma-separated words). | |
| title | No | Song title (optional). | |
| lyrics | No | Your own lyrics, with section tags ([Verse], [Chorus], [Bridge]…) on their own lines. Omitted = written for you. | |
| prompt | No | The song in one sentence — mood, genre, what it is about. The lyrics, style and title are written for you. | |
| seconds | No | Length in seconds, 30–240 in steps of 30 (default 30). | |
| instrumental | No | No vocals (lyrics ignored). Default false. |