Suno Lyrics Generation API Integration Guide

If you want to generate a custom song but don’t really want to write the lyrics yourself, you can use the lyrics generation API provided by orchats to generate lyrics from a prompt. The API is Suno Lyrics Generation API.

Billing: After a successful generation, the standard charge per request is 0.08 Credits. A request that returns multiple lyric candidates is still charged only once; applicable usage discounts are subject to the actual bill, and failed requests are not charged.

The API’s main input parameter is prompt, with an optional model parameter (possible values: default, remi-v1; default: default). An example is shown below:

This corresponds to Create → Songs → Advanced → Lyrics → Help me write lyrics on the official website.

The Suno website lyrics assistant showing the same prompt as the request below

Here, enter a prompt about a lantern on the shore.

{
  "prompt": "Write an original acoustic folk chorus about a lantern on the shore."
}

Click Run, and the result is as follows:

{
  "success": true,
  "task_id": "063f0ad3-3933-4655-94a5-166fde41524f",
  "data": [
    {
      "text": "[Chorus]\nLantern on the shore\nLantern on the shore\nIt keeps my footsteps sure\nWhen the dark rolls in for more\n\nLantern on the shore\nLantern on the shore\nI follow that small gold flame\nAnd I don’t feel lost anymore",
      "title": "Shore Lantern",
      "status": "complete",
      "tags": [
        "Acoustic folk with fingerpicked guitar, brushed hand percussion, and a loping 6/8 sway; chorus opens wide after a sparse verse feel, then settles into a warm refrain with stacked harmony on the anchor line. Lead vocal is close-mic and intimate, with a soft double on the last words and a few airy ad-libs. Vinyl crackle intro, tide-foam ambience between phrases, wide but earthy mix.",
        "folk",
        "acoustic"
      ]
    },
    {
      "text": "[Chorus]\nLantern on the shore\nLantern on the shore\nGuide me home once more\nTill the dark lets go\n\n[Chorus]\nLantern on the shore\nLantern on the shore\nBurn for me once more\nTill the waves say no",
      "title": "Lantern on the Shore",
      "status": "complete",
      "tags": [
        "Acoustic folk with fingerpicked guitar, brushed kick and airy room harmonies; chorus opens sparse then widens with low humming doubles and a soft fiddle lift, pre-chorus feel implied by a gentle build into the hook, final chorus adds handclaps and a tidal swell of backing vocals. Warm, intimate, close-mic mix with a natural wooden glow.",
        "folk",
        "acoustic"
      ]
    }
  ],
  "started_at": 1796061011.339,
  "finished_at": 1796061021.686,
  "elapsed": 10.347,
  "cost": {
    "amount": 0.072,
    "currency": "credit",
    "list_amount": 0.08
  }
}

As you can see, data is an array, and each request returns multiple lyric candidates. The text field of each element contains the lyrics, title is the title, and tags contains the recommended musical style tags.

Once we have the lyrics, we can use the Suno Audios Generation API to generate a custom song.