Beta ACE Music Audios API
POSThttps://api.opensnake.cloud/acemusic/audios

Generate a song group from an idea or custom lyrics, with asynchronous tasks and completion callbacks.

Agent integrations

Request Headers

Idempotency-Keystring
Reuse the same key for the same creation request to retrieve its original task. A different payload with the same key is rejected.
authorizationstring
Bearer token

Request Body

asyncboolean
Return a persistent task ID; query /acemusic/tasks for the result.
Please select
lyricstring
Custom lyrics. Required when custom is true.
modelstring
Please select
stylestring
Musical style for custom creation.
titlestring
actionstring
Please select
customboolean
Please select
promptstring
Creation idea. Required when custom is false.
callback_urlstring
Optional HTTPS callback for the final result. Implies asynchronous execution.

Response

Integration guide

Shell

Python

JavaScript

Java

Go

PHP

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.