Suno Mashup Lyrics Generation API Integration Guide
If you want to use the lyrics from two songs to generate a mashup song, you can first use this API to generate the corresponding lyrics. The API is the Suno Mashup Lyrics Generation API.
The main input parameters for this API are lyrics_a and lyrics_b. An example is shown below:
On the Suno website, first select songs through Remix → Mashup. When the editor already contains lyrics and you select another song with lyrics, the Replace Lyrics? pop-up offers Mashup Lyrics. The API takes two sets of lyrics as input, and its output can be entered into Lyrics when creating a song.

{
"lyrics_a": "[Verse]\nWindow lights across the bay\nGuide the boats that drift away",
"lyrics_b": "[Chorus]\nCarry one more light for me\nHome across the quiet sea"
}
Click Run, and the result is as follows:
{
"success": true,
"task_id": "5db9fc37-9824-445f-a92c-8957348b7d07",
"data": {
"text": "[singer A]\nWindow lights across the bay\nGuide the boats that drift away\n\n[transition]\n\n[singer B]\nCarry one more light for me\nHome across the quiet sea",
"title": "Lyrics Mashup",
"tags": [],
"status": "complete"
}
}
As you can see, the text field in data contains the lyrics.
Once we have the lyrics, we can use the Suno Audios Generation API to generate a custom song.