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 →
Use a piece of your own audio as the opening and let the AI continue it into a full song.
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 →
Credits are pre-deducted per call (see the pricing page for prices); a failed submit or a failed task is refunded automatically.
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".
modelstring
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.
modelVersionstring
Alias of model (compatibility spelling); only used when model is empty.
audioFilePathstring
Audio file path. Same field as audio_file_path in two spellings; fill either one.
audio_file_pathstring
Audio file path (snake_case spelling).
fileExtstring
File extension, e.g. mp3. Same field as file_ext in two spellings.
file_extstring
File extension (snake_case spelling).
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.