الانتقال إلى المحتوى الرئيسي
POST
/
suno
/
voices
Suno Voices
curl --request POST \
  --url https://api.acedata.cloud/suno/voices \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio_url": "https://cdn1.suno.ai/1b694cae-8b5f-424f-a5bf-2f27b7697843.mp3"
}
'
import requests

url = "https://api.acedata.cloud/suno/voices"

payload = { "audio_url": "https://cdn1.suno.ai/1b694cae-8b5f-424f-a5bf-2f27b7697843.mp3" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({audio_url: 'https://cdn1.suno.ai/1b694cae-8b5f-424f-a5bf-2f27b7697843.mp3'})
};

fetch('https://api.acedata.cloud/suno/voices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
{
  "data": {
    "persona_id": "dde0be60-5280-4bd2-89a0-4020ddd3db52",
    "name": "My Voice",
    "is_public": false
  },
  "success": true,
  "task_id": "8e808558-f056-456f-91d6-b97fd94eb3be"
}
{
"error": {
"code": "token_mismatched",
"message": "The specified token is not matched with API."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}
{
"error": {
"code": "invalid_token",
"message": "The specified token is invalid or wrong."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}
{
"error": {
"code": "used_up",
"message": "Your balance is not sufficient for current request, please buy more in Ace Data Cloud."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}
{
"error": {
"code": "too_many_requests",
"message": "You have exceeded the rate limit."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}
{
"error": {
"code": "api_error",
"message": "Internal server error."
},
"trace_id": "2efa9340-b21b-4e26-9e14-4aac95f343ab"
}

التفويضات

Authorization
string
header
مطلوب

الترويسات

accept
enum<string>

Suno Voices Param Accept

الخيارات المتاحة:
application/json,
application/x-ndjson

الجسم

application/json
audio_url
string
مطلوب

Suno Voices Audio Url

name
string

Suno Voices Name

description
string

Suno Voices Description

الاستجابة

Suno Voices Response 200

data
object

Suno Voices Response 200 Data

task_id
string

Suno Voices Response 200 Task Id

success
boolean

Suno Voices Response 200 Success