메인 콘텐츠로 건너뛰기
자신만의 노래를 생성하고 싶지만 가사를 직접 작성하고 싶지 않다면, AceDataCloud에서 제공하는 가사 생성 API를 사용하여 프롬프트를 통해 가사를 생성할 수 있습니다. API는 Suno Lyrics Generation API입니다. 이 API의 주요 입력 매개변수는 prompt이며, 선택적 매개변수로 model(기본값 chirp-v3)이 있습니다. 입력 예시는 다음과 같습니다: 여기서 입력한 promptA 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"
  }
}
볼 수 있듯이, datatext 필드가 가사 정보입니다. 가사를 얻은 후, Suno Audios Generation API를 사용하여 맞춤형 노래 생성을 진행할 수 있습니다.