Music(Song Continuation)
POST
/suno/submit/musicBased on the previously generated song, continue writing a new song. You can set the continuation duration, with each continuation fixed at 2 minutes.
Price: 0.05 PTC / call
请求参数
Header Params
Authorization
string
optional
API Key from 302.AI backend
Example:
Bearer {{YOUR_API_KEY}}
Content-Type
string
optional
Example:
application/json
Accept
string
optional
Example:
application/json
Body Params application/json
prompt
string
required
Lyrics
tags
string
required
Song style
mv
string
required
Model to use. chirp-v3-0 or chirp-v3-5; default chirp-v3-0
title
string
required
title
task_id
string
required
task_id, returned in fetch interface
continue_clip_id
string
required
Song ID;Two songs are generated at a time, with the ID of one song returned in the fetch interface.
continue_at
number
required
The time point where the previous song starts writing
make_instrumental
boolean
required
Whether to create instrumental music
Example
{
"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
}
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
string
required
message
string
required
data
string
required
Example
{
"code": "success",
"message": "",
"data": "69c61512-278e-4ff4-b6ea-f3b278329b04"
}
Last modified: 1 个月前