Suno v1 · Music
Generate lyrics
Suno v1 and Suno v2 are separate APIs
Suno v1 has its own task system, different from Suno v2: a submit returns a numeric taskId and results come from the v1 query endpoints; task IDs and result formats are not interchangeable between the two. For the OpenAI-style entry use /v1/audio/generations (model suno_v1).
Write lyrics from a one-line description.
💡 When to use:Use it when you only want lyrics and no song yet. Fetch the result with “Get lyrics result”.
Submit task
POST/ api/ cqt/ suno/ v1/ generateLyricsTask
Query the result (with the returned taskId)
GET/ api/ cqt/ suno/ v1/ getLyricsTask?taskId={taskId}
The returned taskId is a number and only works with the v1 query endpoints; it is not interchangeable with v2 task IDs. Get lyrics result →
Notes
- After submitting, poll with the taskId — every 5–10 seconds is enough, no need to hit it every second.
Credits are pre-deducted per call (see the pricing page for prices); a failed submit or a failed task is refunded automatically.
Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Request body
application/jsonpromptstringRequired
Lyrics description (topic and mood you want).
lyrics_modelstring
Lyrics model; defaults to remi-v1 when omitted.
Response Fields
codenumber
Business code: 200 = success; see the error notes for the rest. The HTTP status is normally 200.
msgstring
Message: success on success, the reason on failure.
data.taskIdnumber
Task ID (a number). Use it with the query endpoint to fetch the result.