> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xhuoapi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Suno 가사 생성 API 연동 설명

> Suno Music Generation 集成指南 - XHuoAPI

자신만의 노래를 생성하고 싶지만 가사를 직접 작성하고 싶지 않다면, XHuoAPI에서 제공하는 가사 생성 API를 사용하여 프롬프트를 통해 가사를 생성할 수 있습니다. API는 [Suno Lyrics Generation API](https://api.xhuoapi.ai/documents/514d82dc-f7ab-4638-9f21-8b9275916b08)입니다.

이 API의 주요 입력 매개변수는 `prompt`이며, 선택적 매개변수로 `model`(기본값 chirp-v3)이 있습니다. 입력 예시는 다음과 같습니다:

![](https://cdn.xhuoapi.ai/p53wtj.png)

여기서 입력한 `prompt`는 `A song about winter`로, 겨울과 관련된 노래를 생성합니다.

실행을 클릭하면 결과는 다음과 같습니다:

```
{
  "success": true,
  "task_id": "57e8ce3a-39cb-41a2-802f-e70a324f4d0a",
  "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\nSee\n\n[Verse 2]\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 that won't be left\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"
  }
}
```

볼 수 있듯이, `data`의 `text` 필드가 가사 정보입니다.

가사를 얻은 후, [Suno Audios Generation API](https://api.xhuoapi.ai/documents/4da95d9d-7722-4a72-857d-bf6be86036e9)를 사용하여 맞춤형 노래 생성을 진행할 수 있습니다.
