DeerAPI 上传音乐接口文档:通过 POST /suno/uploads/audio-url 从 URL 上传音频片段,获取任务 ID,用于继续生成音乐或合并片段。
curl --request POST \
--url https://api.deerapi.com/suno/uploads/audio-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "http://cdnimg.exbapp.com/ai/2024-06-18/d416d9c3c34eb22c7d8c094831d8dbd0.mp3"
}
'{
"code": "<string>",
"message": "<string>",
"data": "<string>"
}url (字符串,必填): 要上传的音频文件的 URL。curl --request POST \
--url https://api.deerapi.com/suno/uploads/audio-url \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"url": "http://cdnimg.exbapp.com/ai/2024-06-18/d416d9c3c34eb22c7d8c094831d8dbd0.mp3"
}
'{
"code": "<string>",
"message": "<string>",
"data": "<string>"
}