Suno 가사 생성 API 연동 안내
노래를 직접 설정하여 생성하고 싶지만 가사를 직접 작성하는 것은 내키지 않는다면, orchats 에서 제공하는 가사 생성 API를 사용해 프롬프트로 가사를 생성할 수 있습니다. API는 Suno Lyrics Generation API입니다.
요금: 생성에 성공하면 요청당 표준 요금은 0.08 Credits입니다. 한 번의 요청에서 여러 가사 후보가 반환되더라도 한 번만 요금이 부과됩니다. 적용되는 사용 할인은 실제 청구서를 기준으로 하며, 실패한 요청에는 요금이 부과되지 않습니다.
이 API의 주요 입력 매개변수는 prompt이며, model은 선택 사항입니다(선택 가능한 값은 default, remi-v1, 기본값은 default). 입력 예시는 다음과 같습니다.
공식 사이트의 Create → Songs → Advanced → Lyrics → Help me write lyrics에 해당합니다.

여기에 해변의 등불에 관한 프롬프트를 입력합니다.
{
"prompt": "Write an original acoustic folk chorus about a lantern on the shore."
}
실행을 클릭하면 결과는 다음과 같습니다.
{
"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
}
}
확인할 수 있듯이 data는 배열이며, 매번 여러 가사 후보를 반환합니다. 각 요소의 text 필드는 가사 내용이고, title은 제목이며, tags는 추천 음악 스타일 태그입니다.
가사가 준비되면 Suno Audios Generation API를 사용해 노래를 직접 설정하여 생성할 수 있습니다.