跳转到主要内容
POST
/
suno
/
v2
/
lyrics
generate lyrics
curl --request POST \
  --url https://api.mountsea.ai/suno/v2/lyrics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "lyrics_model": "default",
  "prompt": "A happy song about a girl and a boy."
}
'
{
  "taskId": "15c257ff-43f7-4678-bd41-202ad6b8488b"
}
这是一个异步任务。响应包含一个 taskId — 使用获取任务状态轮询以获取生成的歌词。

模型

模型描述
default标准歌词生成模型
remi-v1替代歌词模型

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
lyrics_model
enum<string>
必填

The model to use for generating lyrics.

可用选项:
default,
remi-v1
示例:

"default"

prompt
string
必填

The prompt to use for generating lyrics.

示例:

"A happy song about a girl and a boy."

响应

201 - application/json
taskId
string
必填

task id. Use this id to query task status.

示例:

"15c257ff-43f7-4678-bd41-202ad6b8488b"