Producer 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.

Request
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
}'
Submission Response JSON

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.

Request
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"}'
In-progress response JSON

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
}
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": "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.

View parameters, response fields, and error handling

Integrate the Producer Music API into your application

Continue to the full guide for parameters, result fields, and error handling.