ACE Music MCP
Create songs from inspiration, lyrics, or reference audio through MCP, upload references, covers, blends, and query the original task.
Create songs from an idea or custom lyrics, then play and download two candidates.
This is only a basic call example. See the full docs for more parameters and advanced usage.
View DocsDescribe the music you want to hear, or bring your own lyrics. ACE Music generates two candidates for you to preview and compare, then download your favorite.
Get an API TokenOpen the Creation StudioCreate songs from an idea or lyrics, upload a reference, cover an existing work, or blend two references.
Each complete generation delivers a set of candidates to preview individually and download as MP3s.
Songs, lyrics, reference materials, and task queries use the same platform credentials.
Describe a theme, style, and mood to quickly explore directions for your song.
Enter a title, lyrics, and style to retain control over the content.
Generate a lyrics draft first, then edit it until you're happy before submitting it for song generation.
Sign in to the console, open “General Applications,” and create or copy an API Key. This is the API Token used in requests. You can also use credentials from an existing ACE Music application. Make sure the credentials have access to the relevant API and that your balance and quota meet the requirements. Credentials can be managed in API Credential Management. Replace YOUR_API_KEY below with your own key, then submit your first song.
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": "一首关于故乡的温暖民谣",
"async": true
}'The following is an excerpt of key fields from an existing API response. The task ID, usage, and generated content will depend on the values returned by your request.
{
"task_id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057",
"trace_id": "3102971e-7f6a-473c-8255-ba1e8eace89e",
"status": "created"
}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"}'The following illustrates the fields returned while processing.
{
"id": "ae17781e-b4cd-4ad9-869a-34b8cf96b057",
"type": "audios",
"state": "running"
}The following is an excerpt of key fields from an existing API response. The task ID, usage, and generated content will 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"
}
]
}
}Save the returned task_id, and use the task API to query the original task; when the task is succeeded, get the playback and download URLs for the two candidate tracks from response.data. Continue querying the original task after a network interruption or page refresh.
Compare different interpretations and choose a direction for further work.
Explore musical ideas for videos, stories, and game scenes using themes and moods.
Integrate via API or Agent to connect lyric writing, generation, and listening in your own workflow.
Create or copy an API Key under “General Applications” in the console, and confirm ACE Music API permissions and available quota.
Choose inspiration, custom, cover, or fusion, submit a request, and save the task ID; explicitly select the upload operation before importing a new reference.
Query the original task, check its status and audio URLs, then listen to, compare, and download the candidates once complete.
| Method | You Provide | Best For |
|---|---|---|
| Inspiration Mode | A one-sentence creative description | Quickly exploring themes and styles |
| Custom Mode | Title, lyrics, and musical style | When you already have clear lyrics and content direction |
| Reference Upload | A public HTTPS MP3 link (up to 32 MiB), or an MP3 URL returned by a platform file upload (up to 64 MiB). | Importing one of your own reference tracks |
| Cover | One platform track, lyrics, and style | Creating a new interpretation of an existing work |
| Dual-Reference Fusion | Two distinct, compatible platform tracks, lyrics, and style | Combining two references to explore new creative directions |
| Lyrics Assistant | A theme and an optional style | Refining the text before creating music |
Default creation model. Model ID: acemusic-v1.1.
Optional model for basic song generation. Model ID: acemusic-v1.
Musical style and interpretation are generated by the model; actual duration depends on the result.
One fee is charged for each complete set of two candidates. No generation fee is charged for final failures or partial failures.
Reference uploads are charged per successfully imported track; the lyrics assistant is charged per successful generation. They are billed separately, and song operations do not implicitly call the lyrics assistant.
Valid credentials and task permissions are required; you can view your own results even with a zero balance.
See the ACE Music Pricing Page for current prices and available plans. Actual charges depend on the plan, discounts, and site pricing. After a client timeout, query the original task; do not automatically resend a chargeable request.
Acceptance returns a task ID. Playback is available only after generation and audio delivery are complete. Check the original task; do not treat acceptance as completion.
Yes. Use custom mode to submit a title, lyrics, and style; you can also edit drafts provided by the lyrics assistant first.
The successful playable candidate is retained, the final task is marked as partially failed, and no generation fee is charged for the group.
Song audio and MP3 downloads are supported. You can import reference audio, create a cover of an existing work, or blend two different references. Covers and blending use v1.1. Instrumental controls, continuation, stem separation, and timbre capabilities are not currently available.
Please assess your use based on the applicable terms of service and project context, and ensure you have the necessary rights to your inputs and intended use.
Get a Token to generate, upload, create covers, and blend.
Generate editable drafts from a theme and style.
Check progress, handle statuses, and retrieve audio results.
Want to create in an AI client? See the ACE Music MCP Integration Guide to use tools for lyrics, songs, and task queries.
On accounts with access, use the Reference Assets API to import MIDI, images, or video, and reference your own assets in inspiration mode. Asset queries are free. Song generation and asset imports are billed separately.
Create directly with Studio, or integrate ACE Music into your application.
Get StartedView API DocumentationGenerate a song group from an idea or custom lyrics, with asynchronous tasks and completion callbacks.
Generate editable lyrics and a title from a topic and style; billed separately.
Query authorized personal tasks and history for free, with batch retrieval and pagination.
Import reference assets for song generation or read your own asset details and history for free. Availability varies by asset type.
We offer various credit packages. The more you purchase, the higher the discount you receive.
up to46% OFFCreate songs from inspiration, lyrics, or reference audio through MCP, upload references, covers, blends, and query the original task.
Configuration Method
Connect the current service in Claude Code:
mcpServers service entry below into .mcp.json in the project root directory, retaining the existing configuration.ACEDATACLOUD_API_TOKEN in the terminal: use export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN' on macOS/Linux, and $env:ACEDATACLOUD_API_TOKEN = 'YOUR_API_TOKEN' in Windows PowerShell; replace YOUR_API_TOKEN with your AceDataCloud API Token.claude in the same terminal where this variable has been set; new terminals or desktop-launched clients must also be able to read this variable./mcp to confirm that the service is connected and the tools have been loaded; when using the project configuration for the first time, check and approve the service as prompted.export ACEDATACLOUD_API_TOKEN='YOUR_API_TOKEN'
claude mcp add --scope user --transport http 'acemusic-mcp' 'https://acemusic.mcp.acedata.cloud/mcp' --header 'Authorization: Bearer ${ACEDATACLOUD_API_TOKEN}'
Provide AI Agents with parameters and processing guidance for ACE Music creation, reference audio upload, cover songs, dual-reference fusion, lyric assistant, and task queries.
Install the current Skill to Claude Code. Project-level configurations are shared across the repository, while user-level configurations apply to all projects on this machine.
npx skills add acedatacloud/skills --skill 'ace-music' -a 'claude-code' --yes