ACE Music Audios
curl --request POST \
--url https://api.acedata.cloud/acemusic/audios \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "generate",
"custom": false,
"prompt": "A warm acoustic folk song about returning home"
}
'import requests
url = "https://api.acedata.cloud/acemusic/audios"
payload = {
"action": "generate",
"custom": False,
"prompt": "A warm acoustic folk song about returning home"
}
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({
action: 'generate',
custom: false,
prompt: 'A warm acoustic folk song about returning home'
})
};
fetch('https://api.acedata.cloud/acemusic/audios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": "<string>",
"trace_id": "<string>"
}{
"task_id": "<string>",
"trace_id": "<string>",
"status": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}ACE Music
ACE Music Audios
Generate, cover or mash up one group of two song candidates, or import one MP3 audio reference from an HTTPS URL. Complete two-track groups and successful one-track imports have separate prices. Final failed or partial generation groups are free. Save the original task ID and query it instead of resubmitting.
POST
/
acemusic
/
audios
ACE Music Audios
curl --request POST \
--url https://api.acedata.cloud/acemusic/audios \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "generate",
"custom": false,
"prompt": "A warm acoustic folk song about returning home"
}
'import requests
url = "https://api.acedata.cloud/acemusic/audios"
payload = {
"action": "generate",
"custom": False,
"prompt": "A warm acoustic folk song about returning home"
}
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({
action: 'generate',
custom: false,
prompt: 'A warm acoustic folk song about returning home'
})
};
fetch('https://api.acedata.cloud/acemusic/audios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"task_id": "<string>",
"trace_id": "<string>"
}{
"task_id": "<string>",
"trace_id": "<string>",
"status": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
},
"task_id": "<string>",
"trace_id": "<string>"
}授权
API token from https://platform.acedata.cloud
请求头
请求体
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5

