ACE Music Tasks
curl --request POST \
--url https://api.acedata.cloud/acemusic/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "retrieve",
"id": "<string>",
"ids": [
"<string>"
]
}
'import requests
url = "https://api.acedata.cloud/acemusic/tasks"
payload = {
"action": "retrieve",
"id": "<string>",
"ids": ["<string>"]
}
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: 'retrieve', id: '<string>', ids: ['<string>']})
};
fetch('https://api.acedata.cloud/acemusic/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"state": "<string>",
"status": "<string>",
"created_at": 123,
"finished_at": 123,
"request": {
"action": "<string>",
"model": "<string>",
"prompt": "<string>",
"lyric": "<string>",
"style": "<string>",
"title": "<string>",
"custom": true,
"async": true,
"audio_url": "<string>",
"name": "<string>",
"audio_id": "<string>",
"mashup_audio_ids": [
"<string>"
],
"audio_influence": 60,
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"asset_type": "midi",
"type": "midi"
},
"response": {
"success": true,
"task_id": "<string>",
"trace_id": "<string>",
"status": "created",
"data": [
{
"id": "<string>",
"model": "<string>",
"state": "<string>",
"title": "<string>",
"lyric": "<string>",
"style": "<string>",
"audio_url": "<string>",
"image_url": "<string>",
"created_at": "<string>",
"duration": 1
}
],
"error": {
"code": "<string>",
"message": "<string>"
}
},
"type": "audios",
"trace_id": "<string>",
"started_at": 123,
"elapsed": 1
}{
"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 Tasks
Retrieve only tasks owned by the authenticated caller. Polling is free and remains available with a zero balance; authentication and API permissions are required. Asset import operations can be retrieved by their task IDs. Browse imported assets using POST /acemusic/assets with action=retrieve.
POST
/
acemusic
/
tasks
ACE Music Tasks
curl --request POST \
--url https://api.acedata.cloud/acemusic/tasks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "retrieve",
"id": "<string>",
"ids": [
"<string>"
]
}
'import requests
url = "https://api.acedata.cloud/acemusic/tasks"
payload = {
"action": "retrieve",
"id": "<string>",
"ids": ["<string>"]
}
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: 'retrieve', id: '<string>', ids: ['<string>']})
};
fetch('https://api.acedata.cloud/acemusic/tasks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"id": "<string>",
"state": "<string>",
"status": "<string>",
"created_at": 123,
"finished_at": 123,
"request": {
"action": "<string>",
"model": "<string>",
"prompt": "<string>",
"lyric": "<string>",
"style": "<string>",
"title": "<string>",
"custom": true,
"async": true,
"audio_url": "<string>",
"name": "<string>",
"audio_id": "<string>",
"mashup_audio_ids": [
"<string>"
],
"audio_influence": 60,
"asset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"asset_type": "midi",
"type": "midi"
},
"response": {
"success": true,
"task_id": "<string>",
"trace_id": "<string>",
"status": "created",
"data": [
{
"id": "<string>",
"model": "<string>",
"state": "<string>",
"title": "<string>",
"lyric": "<string>",
"style": "<string>",
"audio_url": "<string>",
"image_url": "<string>",
"created_at": "<string>",
"duration": 1
}
],
"error": {
"code": "<string>",
"message": "<string>"
}
},
"type": "audios",
"trace_id": "<string>",
"started_at": 123,
"elapsed": 1
}{
"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>"
}Auktoriseringar
API token from https://platform.acedata.cloud
Kropp
application/json
- Option 1
- Option 2
- Option 3
Page and page_size cannot be mixed with limit or offset. The resulting offset must not exceed 10000. Missing or foreign task IDs return 404 on retrieve and are omitted from batch results.
Svar
Request accepted or result available. Inspect the task state before treating generation as complete.
- Option 1
- Option 2
- Option 3
Var denna sida till hjälp?

