跳轉到主要內容
POST
/
suno
/
upload
Suno Upload
curl --request POST \
  --url https://api.acedata.cloud/suno/upload \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio_url": "<string>"
}
'
{
  "data": {
    "audio_id": "eae26f89-b64b-404d-a80c-761996660b1c"
  },
  "success": true
}

授權

Authorization
string
header
必填

標頭

accept
enum<string>

Specifies the format of the response from the server. If not specified, the default format is application/json. If application/x-ndjson is specified, the response will be in newline-delimited JSON format, streaming the response chunk by chunk

可用選項:
application/json,
application/x-ndjson

主體

application/json
audio_url
string
必填

Custom audio cdn address to upload.

回應

OK, the request is successful.

data
object

Customize audio after upload.

success
boolean

The flag indicates the request is successful or not