Music(Suno歌曲续写)
POST
/suno/submit/music根据之前生成的歌曲,续写一首歌。可以设置歌曲续写的时间,每次续写固定2分钟。
价格:0.05PTC/次
请求参数
Header 参数
Authorization
string
API KEY
示例值:
Bearer {{YOUR_API_KEY}}
Content-Type
string
可选
示例值:
application/json
Accept
string
可选
示例值:
application/json
Body 参数application/json
prompt
string
歌词
tags
string
风格
mv
string
必需
模型,chirp-v4、chirp-v3-5。默认 chirp-v3-5
title
string
标题
task_id
string
必需
task_id,在fetch接口返回
continue_clip_id
string
必需
歌曲id,每次都会生成两首歌,其中一首的id,在fetch接口返回
continue_at
number
必需
上一首歌开始续写的时间点
make_instrumental
boolean
是否为纯音乐
示例
{
"prompt": "[Verse]\nSun high in the sky\nFarmer's sweat drops down\nWorking in the fields\nHard work all around\n\n[Verse 2]\nFood on your plate you see\nEvery grain took care\nThe effort and the pain\nA story it holds there\n\n[Chorus]\nUnderneath the sun\nLabor never done\nEvery single bite\nTakes morning till the night\n\n[Verse 3]\nDay in and day out\nFields wear farmer's toil\nUnderneath the ground\nDreams of fertile soil\n\n[Bridge]\nSo we must understand\nThe work behind each meal\nIn every slice of bread\nA farmer's heart is real\n\n[Chorus]\nUnderneath the sun\nLabor never done\nEvery single bite\nTakes morning till the night",
"tags": "rap",
"mv": "chirp-v3-5",
"title": "不离不弃",
"task_id": "469a479492f64ff4bb8d2ac3a85396f8",
"continue_clip_id": "971c0fb8-5ad9-4fbc-9505-842edf39dba6",
"continue_at": 80
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
string
必需
message
string
必需
data
string
必需
示例
{
"code": "success",
"message": "",
"data": "69c61512-278e-4ff4-b6ea-f3b278329b04"
}
最后修改时间: 5 小时前