Based 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.1 PTC / call
Request
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}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/suno/submit/music' \
--header'Authorization: Bearer sk-jls4AaVBGoe1GwZD64qZA1qyKTN1MPHa4NmvH1cT68z7K1Zz' \
--header'Accept: application/json' \
--header'Content-Type: application/json' \
--data-raw'{
"prompt": "[Verse]\nSun high in the sky\nFarmer'\''s sweat drops down\nWorking in the fields\nHard work all around\n\n[Verse2]\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[Verse3]\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
}'