Import and retrieve ACE Music reference assets
curl --request POST \
--url https://api.acedata.cloud/acemusic/assets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "retrieve"
}
'import requests
url = "https://api.acedata.cloud/acemusic/assets"
payload = { "action": "retrieve" }
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'})
};
fetch('https://api.acedata.cloud/acemusic/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"task_id": "<string>",
"status": "succeeded",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "midi",
"name": "<string>",
"status": "available",
"expires_at": 1,
"duration_seconds": 1
},
"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>"
}{
"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
Import and retrieve ACE Music reference assets
Import a MIDI, image or video reference from HTTPS for use in idea generation. Availability is enabled by asset type. Import is a paid operation when an available asset is delivered. Reading an asset by ID or listing owned assets is free and requires authentication.
POST
/
acemusic
/
assets
Import and retrieve ACE Music reference assets
curl --request POST \
--url https://api.acedata.cloud/acemusic/assets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "retrieve"
}
'import requests
url = "https://api.acedata.cloud/acemusic/assets"
payload = { "action": "retrieve" }
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'})
};
fetch('https://api.acedata.cloud/acemusic/assets', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"success": true,
"task_id": "<string>",
"status": "succeeded",
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "midi",
"name": "<string>",
"status": "available",
"expires_at": 1,
"duration_seconds": 1
},
"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>"
}{
"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
A page offset cannot exceed 10000 entries. Import sources must fit within 32 MiB.

