Suno Lyrics Generation API Integration Guide
If you want to generate custom songs but do not really want to write the lyrics yourself, you can use the lyrics generation API provided by 字节云 to generate lyrics through a prompt. The API is Suno Lyrics Generation API.
Billing: After successful generation, the standard fee for each request is 0.08 Credits. When one request returns multiple lyric candidates, it is still billed as only one request; applicable consumption discounts are subject to the actual bill, and failed requests are not charged.
The main input parameter of this API is prompt, with an optional model (optional values: default, remi-v1, default: default). An example is as follows:

Here, the prompt we entered is A song about winter, generating a song related to winter.
Click Run, and the result is as follows:
{
"success": true,
"task_id": "2e26f7ff-0b82-4a60-bb9b-78db89f98b51",
"data": [
{
"text": "[Verse]\nSnowflakes falling from the sky\nWinter's cold touch\nOh how it gets me high\nI bundle up in layers\nOh so cozy\nStepping out and feeling the frost on my nose\n\n[Chorus]\nOh\nWinter's cold touch\nIt's a season that I love so much\nSnowfall brings a feeling so divine\nWinter's cold touch\nIt's a magical time",
"title": "Winter's Cold Touch",
"status": "complete",
"tags": ["dreamy, mellow, ballad"]
},
{
"text": "[Verse]\nThe world is covered in a blanket of white\nIcicles hanging\nShimmering so bright\nThe chilly air fills my lungs with every breath\nWalking in the snow\nLeaving footprints behind\n\n[Chorus]\nWinter wonderland\nEverything is so bright\nWinter wonderland\nHold me through the night",
"title": "Winter Wonderland",
"status": "complete",
"tags": ["dream pop, mellow, shoegaze"]
}
],
"started_at": 1780684179.15,
"finished_at": 1780684186.583,
"elapsed": 7.433
}
As you can see, data is an array, and multiple lyric candidates are returned each time. The text field of each element is the lyric content, title is the title, and tags are the recommended music style tags.
After obtaining the lyrics, we can use the Suno Audios Generation API to generate custom songs.

