/suno/submit/concat endpoint allows you to concatenate extended music clips into a seamless audio track. This endpoint is specifically designed to merge music segments that were created through the song continuation (extend) process.⚠️ Important Prerequisite:
Before using this endpoint, you must first call the Generate music clip endpoint withtask: "extend"to create an extended music clip. Only theclip_idfrom an extend task can be used in this concatenation endpoint.
/suno/submit/music with the following structure:{
"prompt": "[Verse]\nYour lyrics here...",
"tags": "bass-driven atmospheric heavy metal",
"negative_tags": "dance",
"mv": "chirp-v4",
"title": "City Lights",
"task_id": "1e338c51-d114-4b82-8cff-e6e6b6fd0096",
"continue_clip_id": "c80cea18-8dd1-4dd2-a77a-95498276b39a",
"continue_at": 80,
"task": "extend"
}clip_id to call this concatenation endpoint.task_id.clip_id (string, required): The clip ID returned from the extend task in Step 1. This ID identifies the extended music segment to be concatenated.clip_id from a completed extend task"task_id_after_extension"is_infill (boolean, required): Indicates whether the task is an infill operation.true if you want to fill gaps between clipsfalse for standard concatenationfalsecurl --location --request POST 'https://api.cometapi.com/suno/submit/concat' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"clip_id": "task_id_after_extension",
"is_infill": false
}'{
"code": "success",
"message": "",
"data": "736a6f88-bd29-4b1e-b110-37132a5325ac"
}