Suno v1 · Music

Generate from audio ID

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).

Suno v2 docs →OpenAI-style API →

Same as "Generate from audio", but the audio was uploaded earlier with uploadTask and is referenced by its audio ID.

💡 When to use:Use it when you want to try several styles on the same audio: upload once with uploadTask, then call this with the audio ID as often as you like.

Submit task
POST/ api/ cqt/ suno/ v1/ generateFromAudioIdTask
Query the result (with the returned taskId)
GET/ api/ cqt/ suno/ v1/ sunoInfo?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 music 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/json
gpt_description_promptstringRequired
Music description (should include Chinese/English text and symbols).
make_instrumentalboolean
Whether to generate an instrumental version (no vocals).
promptstring
Main prompt / lyrics (put lyrics here in custom mode; an empty string is allowed, null is not).
tagsstring
Style tags, comma-separated English words recommended, e.g. "pop, upbeat".
titlestring
Song title.
modelVersionstring
Alias of model (compatibility spelling); only used when model is empty.
modelstringRequired
Model version, e.g. suno_v45 / suno_v45_lite / suno_v40; suno_v35 is automatically changed to suno_v45_lite. Fill either this or modelVersion; if both are set, model wins. Credits are looked up by "endpoint:model", and an unconfigured value returns "积分规则未配置或禁用", so in practice you must send it.
audio_idstringRequired
Audio ID (obtained after the upload).
upload_task_idnumberRequired
Upload task ID (the taskId returned by uploadTask).
continue_atnumberRequired
Second at which to continue (must be greater than 0, e.g. 12.0).
is_regenerateboolean
Whether this is a regeneration.
streamboolean
Whether to stream.
include_historyboolean
Whether to include history.
Advanced Parameters (optional)
style_weightnumber
How strongly to follow the style, range 0–1, two decimals, e.g. 0.65.
audio_weightnumber
Audio-element weight, range 0–1, two decimals, e.g. 0.65.
weirdness_constraintnumber
Creativity / weirdness, range 0–1, two decimals, e.g. 0.65.
vocal_genderstring
Vocal gender preference: m = male, f = female.

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.

Suno v1 · Intro →