Skip to content
EN

生成歌词 (v1 版本)

方法: POST路径: /suno/generate/lyrics/

请求参数

Header 参数

text
accept
string
可选
示例:
*/*
content-type
string
必需
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}

Body 参数 application/json

text
prompt
string
必需
mv
string
必需
title
string
必需
tags
string
必需
continue_at
integer
必需
continue_clip_id
string
必需
task
string
必需
示例
{
"prompt"
:
"cat dance"
}

请求示例代码

Shell

bash
curl --location --request POST '/suno/generate/lyrics/' \
--header 'accept: */*' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'content-type: application/json' \
--data-raw '{
    "prompt": "cat dance"
}'

返回响应

🟢 200 成功

内容类型: application/json

响应结构

text
object

示例

json
{
    "id": "da25a365-29eb-4e54-99ce-554839d2b488"
}