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 →
Rewrite one section of a song (lyrics or melody) and keep the rest unchanged.
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.
negative_tagsstring
Style tags to avoid (negative tags).
continue_clip_idstring
ID (clip id) of the song to continue / extend.
continued_aligned_promptstring
Aligned prompt for the continued part (the lyric segment aligned with the timing).
continue_atnumber
Second at which to continue (seconds, e.g. 12.0).
cover_clip_idstring
ID of the clip to replace a section of.
cover_start_snumber
Replace range start (seconds).
cover_end_snumber
Replace range end (seconds).
infill_start_snumber
Infill start (seconds).
infill_end_snumber
Infill end (seconds).
infill_dur_snumber
Infill duration (seconds).
infill_context_start_snumber
Infill context start (seconds).
infill_context_end_snumber
Infill context end (seconds).
infill_lyricsstring
Lyrics for the infilled section.
artist_clip_idstring
Clip ID used as the artist-style reference.
artist_start_snumber
Start (seconds) of the artist-style segment.
artist_end_snumber
End (seconds) of the artist-style segment.
user_uploaded_images_b64string
Base64 encoding of the user-uploaded image.
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.