Beta ACE Music Assets API
https://api.01ai.cloud/acemusic/assets
匯入 MIDI、圖片或影片參考素材,使用素材 ID 創作歌曲,或免費讀取本人的素材詳情和歷史。各類型分批開放。
請求頭
authorizationstring
Bearer token
請求體
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.
請選擇
asyncboolean
Return a persistent task ID; query /acemusic/tasks for the result.
請選擇
actionstring必填參數
Import a source or read owned asset metadata.
page_sizeinteger
callback_urlstring
Optional HTTPS callback for the final result. Implies asynchronous execution.
響應

Integration workbench
溫馨提示:對於流式請求,上面的代碼可能不完全適用。請參閱對接文檔以進行更改。
ACE 音樂
允许用通用余额
啟用「允許通用餘額」後,專屬餘額不足將自動使用通用餘額。

