Suno · Music
Mashup Two Songs
Blend two songs into a new one.
💡 When to use:Use to combine two songs you like.
Submit task
POST/ api/ cqt/ generator/ suno
Query Result
GET/ api/ cqt/ info/ suno?id={taskId}
OpenAI-style call
The same capability is also available via POST /v1/audio/generations: add task to the body, other fields match the request body below (snake_case is accepted too); write model as suno-v6. Poll with GET /v1/audio/generations/{id}; non-audio results (lyrics, persona, timeline …) are in the result field.
Submit task
POST/ v1/ audio/ generations
Query Result
GET/ v1/ audio/ generations/ {id}
Authorization
AuthorizationstringheaderRequired
API key, sent as a Bearer token in the Authorization header.
Request body
application/jsontaskstringRequired
Fixed value: mashup
modelstringRequired
Model version (v6 recommended)
mashupClipIdsarrayRequired
The two clip IDs to mash up (exactly 2)
Response Fields
codenumber
Status code; 200 = success
msgstring
Message
data.idstring
Task ID (the taskId returned on submit; used to poll)
data.taskTypestring
Task type; matches the submitted task
data.statusstring
Status: pending / succeeded / failed
data.errorMsgstring
Failure reason; empty on success
data.paramobject
Echo of the request params you submitted
data.resultarray
Results; returns 2 candidate clips
data.result[].idstring
The generated clipId; reusable for further extend / cover, etc.
data.result[].audio_urlstring
Audio file URL (mp3)
data.result[].video_urlstring
Video file URL (mp4); may be empty, re-query later
data.result[].image_urlstring
Cover image URL (image_large_url is the large one)
data.result[].titlestring
Song title
data.result[].statusstring
Clip status; "complete" = ready to download
data.result[].metadata.durationnumber
Total audio duration (seconds)
data.result[].metadata.tagsstring
Style tags
data.result[].metadata.taskstring
For mashup, the clip metadata.task shows "mashup_condition"
data.result[].metadata.mashup_clip_idsarray
Source clip IDs mashed up (= the mashupClipIds you passed)
data.result[].metadata.gpt_description_promptstring
Mashup style description (AI-generated)
data.result[].metadata.avg_bpmnumber
Average tempo in BPM (also max_bpm/min_bpm)
data.result[].metadata.has_vocalbool
Whether it contains vocals
data.result[].display_tagsstring
Detected style tags, e.g. "pop-rap, trap, mashup"
data.result[].metadata.is_remixbool
Whether it is a remix; always true for mashup
data.result[].clip_rootsobject
Source (parent) clip info: title / cover / author
data.result[].media_urlsarray
Multi-format audio URLs (m4a-opus / mp3)
data.result[].batch_indexnumber
Candidate index (0, 1)
data.result[].major_model_versionstring
Model version used, e.g. v4.5 / v5.5
data.createTime / completeTimestring
Task submit time / completion time
其它字段—
action_config / model_badges / secondary_badges / ownership / avatar_image_url, etc. are for Suno UI and can be ignored