Light Mode
Upload Audio
POST
/api/suno/v1/upload_audioThis endpoint from PiAPI's Suno API uploads a audio url into suno and convert it into a clip(so that you can extend or edit it).
Request
Header Params
X-API-Key
string
required
Your API KEY used for request authorization
Body Params application/json
audio_url
string
required
the url of the audio that you want to upload
Example
{
"audio_url": "string"
}
Request samples
Responses
OK(200)
Bad Request(400)
Unauthorized(401)
Server Error(500)
HTTP Code: 200
Content Type : JSONapplication/json
Column A | Column B | Column C |
---|---|---|
A1 | B1 | C1 |
A2 | B2 | C2 |
A3 | B3 | C3 |
Data Schema
code
integer
optional
data
object
optional
task_id
string
optional
message
string
optional
Example
{
"code": 0,
"data": {
"task_id": "string"
},
"message": "string"
}
Modified at 15 days ago