Producer Music Generation
Producer AI music generation service.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsProducer Music API
Create music from inspiration or lyrics, and continue working on existing creations.
Create from Inspiration
Generate complete music from a short description.
Customize and Edit
Lyrics, covers, and stem separation use inputs specific to each operation.
Audio Delivery
Get a playable audio_url from the task result.
Start with Your First Request
Get a Key, copy the request, and view the corresponding JSON response below.
export ACEDATACLOUD_API_KEY="YOUR_API_KEY"
curl --request POST "https://api.acedata.cloud/producer/audios" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{
"action": "generate",
"model": "FUZZ-2.0",
"custom": false,
"prompt": "A warm acoustic song about coming home.",
"async": true
}'Below 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.
{
"task_id": "1a6ac2ad-10f2-4e2b-b500-66ec27fe82ad"
}Query the original task and get the result
Use the task ID returned upon submission to check progress and retrieve the final result.
curl --request POST "https://api.acedata.cloud/producer/tasks" \
--header "Authorization: Bearer $ACEDATACLOUD_API_KEY" \
--header "Content-Type: application/json" \
--data '{"action": "retrieve", "id": "1a6ac2ad-10f2-4e2b-b500-66ec27fe82ad"}'The following illustrates the fields for a task in progress. Continue querying the same ID until it completes.
{
"id": "1a6ac2ad-10f2-4e2b-b500-66ec27fe82ad",
"type": "audios",
"finished_at": null
}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": "1a6ac2ad-10f2-4e2b-b500-66ec27fe82ad",
"type": "audios",
"started_at": 1767119745.584,
"finished_at": 1767119785.589,
"elapsed": 40.005,
"response": {
"task_id": "1a6ac2ad-10f2-4e2b-b500-66ec27fe82ad",
"data": [
{
"id": "1dd08826-478e-43a6-868f-aff5ababac2c",
"title": "Woke up with the sun in my eyes",
"state": "succeeded",
"video_url": null,
"audio_url": "https://cdn.acedata.cloud/assets/examples/fish/5ade0339-5f11-487e-aacc-06a908271706-8e3fcb0e5547.mp3"
}
]
}
}Use the corresponding operation's input for custom lyrics, covers, and track separation.
Read the video or audio track URLs returned in response. If the task fails, read the error message and end the query process.
API calls and costs
Refer to the current API and pricing page for request parameters, available models, and costs. If you encounter authentication, balance, or limit errors, check the Key's application, validity period, and usage restrictions. Retain the trace_id when troubleshooting requests.
Integrate the Producer Music API into your application
Continue to the full guide for parameters, result fields, and error handling.
Producer reference audio upload API, upload audio to get an audio_id for generation.
AceData Producer MP4 retrieval API. Pass an audio_id to receive an MP4 video download link with cover art.
AceData Producer WAV (lossless) retrieval API. Pass an audio_id to receive a WAV-format download link.
Producer AI music generation API, generates 1 song per request.
Can be used to query the current Producer task status.
Producer AI lyrics generation API, input a prompt to generate lyrics.
Packages
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFF
