ACE Music 1.1
v1.1 supports basic creation, custom lyrics creation, covers, and dual-reference fusion. Covers and fusion require platform track IDs that have been imported and are accessible to you.
Bring this model into your workflow
Submit requests to the public API at api.acedata.cloud using the documented parameters, then use the results in your application.
- API host
api.acedata.cloud- model
acemusic-v1.1
Input parameters and result formats vary by service. Use the public API for this model and follow its guide for generation, task retrieval and editing operations.
Input and Output
- Model ID
- acemusic-v1.1
- Generation Endpoint
- POST /acemusic/audios
- Input
- An inspiration description, or a title, lyrics, and style
- Result
- Two candidate tracks and a playable audio_url
- Task Query
- POST /acemusic/tasks
Your First Generation
Obtain an API Key in the general application and place the Key in an environment variable. After sending a request, save the returned task_id.
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl --request POST "https://api.acedata.cloud/acemusic/audios" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"action": "generate",
"model": "acemusic-v1.1",
"custom": false,
"prompt": "A warm acoustic song about coming home.",
"async": true
}'Submission Response JSON
The following excerpt shows key fields from the current API response. The task identifier, usage, and generated content depend on the values returned by your request.
{
"task_id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057",
"trace_id": "3102971e-7f6a-473c-8255-ba1e8eace89e",
"status": "created"
}Query and Playback
Query the Original Task
Replace id with the task_id from your submission response.
curl --request POST "https://api.acedata.cloud/acemusic/tasks" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action": "retrieve", "id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057"}'Processing Response JSON
The following illustrates the fields returned while processing.
{
"id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057",
"type": "audios",
"state": "running"
}Completed Response JSON
The following is an excerpt of key fields from the current API response. The task identifier, usage, and generated content depend on the values returned by your request.
{
"id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057",
"type": "audios",
"state": "succeeded",
"response": {
"success": true,
"status": "succeeded",
"data": [
{
"id": "3966103b-b0e3-4799-aa6d-b90dfc3e30ee",
"title": "末班车的温热",
"state": "succeeded",
"duration": 182,
"audio_url": "https://cdn.acedata2.cloud/acemusic/ae17781e-b4cd-4ad9-869a-34b8cf96b057-3966103b-b0e3-4799-aa6d-b90dfc3e30ee.mp3"
},
{
"id": "51b08e57-a990-4aaf-9418-fe3750a833f1",
"title": "末班车的温热",
"state": "succeeded",
"duration": 174,
"audio_url": "https://cdn.acedata2.cloud/acemusic/ae17781e-b4cd-4ad9-869a-34b8cf96b057-51b08e57-a990-4aaf-9418-fe3750a833f1.mp3"
}
]
}
}Once complete, read the track URLs from response.data. The track id is used for subsequent reference operations, while the task_id is used for querying the task.
Choose a Creation Mode
Inspiration mode is suitable for quickly creating a complete work. Custom mode uses your own lyrics and style. v1.1 supports basic creation, custom lyrics creation, covers, and dual-reference fusion. Covers and fusion require platform track IDs that have been imported and that you have permission to access.
Pricing and Saving Results
Generation, reference uploads, and lyrics each have their own billing rules. Check current prices and your available balance before running. After success, save the tracks and task identifiers you need, and retrieve results later by querying the original task.
Frequently Asked Questions
How do I obtain an API Key?
Log in to Applications and copy the API Key from a general application. Check the application balance, service permissions, Key validity period, and limits.
Why is there no audio after submission?
Asynchronous submission first returns a task_id. Query using the original task ID until state=succeeded, then retrieve the audio tracks from response.data.
How do I write my own lyrics?
Set custom to true and provide title, lyric, and style. Lyrics can include section labels such as Verse and Chorus.
How do I use reference audio?
Import a reference using action=upload and retain the audio track ID after it succeeds. Cover and fusion use acemusic-v1.1; prepare inputs according to the parameters for the respective operation.
Where can I view the costs?
The current model pricing page provides billing units and plan conversions. Basic generation is billed per complete two-track set, while upload and lyrics operations are billed separately. See the relevant API guides for specific rules.
Continue Integration
Song Generation and Reference Audio Guide · Task Query Guide · GitHub API Quickstart
Use it in your favorite tools
Choose a development approach or application suited to this model and follow its setup guide.
Connect acemusic-v1.1 to Python SDK
Python SDK Integration Guide
SDK installation, authentication and examplesConnect acemusic-v1.1 to TypeScript SDK
TypeScript SDK Integration Guide
SDK installation, authentication and examples
