Beta ACE Music Assets API
https://api.01ai.cloud/acemusic/assets
Import reference assets for song generation or read your own asset details and history for free. Availability varies by asset type.
Request Headers
authorizationstring
Bearer token
Request Body
idstring
The platform asset ID from a successful import owned by this caller.
urlstring
A publicly downloadable HTTPS source URL. Local files can first be uploaded to the platform file service.
namestring
Optional asset display name.
pageinteger
typestring
Reference type. Imports accept standard MIDI, PNG/JPEG/WebP images, or MP4 video up to 60 seconds. Each type is enabled independently.
Please select
asyncboolean
Return a persistent task ID; query /acemusic/tasks for the result.
Please select
actionstringRequired parameter
Import a source or read owned asset metadata.
page_sizeinteger
callback_urlstring
Optional HTTPS callback for the final result. Implies asynchronous execution.
Response

Integration guide
Kind reminder: For streaming requests, the above code may not be fully applicable. Please refer to the integration documentation for changes.
ACE Music
Allow Use General Balance
When 'Allow General Balance' is enabled, the general balance is used automatically if an app's balance is insufficient.

