ACE Music
ACE Music generation, reference audio and task nodes for ComfyUI
ACE Music for ComfyUI
Clone this repository into ComfyUI/custom_nodes, install requirements.txt in the ComfyUI Python environment, set ACEDATACLOUD_API_TOKEN on the ComfyUI server and restart it.
python -m pip install -r requirements.txt
python -m unittest discover
Get an application API key with ACE Music access. Enter the raw key in the host's credential setting or server environment. Keep keys out of prompts, shared workflows and commits.
| Action | Inputs or result | | --- | --- | | Create song from idea | Prompt and optional ACE Music model. | | Create song from lyrics | Lyrics, style and title. | | Import reference MP3 | Public HTTPS MP3 URL. Save the delivered track ID. | | Cover a track | One owned track ID, lyrics and style. | | Blend two tracks | Two distinct compatible owned track IDs, lyrics and style. | | Generate lyrics | Prompt and optional style. Returns lyrics or a pending task ID. | | Retrieve task / multiple tasks | Use the original task IDs. | | List task history | Optional page and items per page. |
Audio creation, reference import and writing lyrics are separately priced. Use the creation tool once, save its task_id, then retrieve the same task. If the connection breaks before a task ID arrives, inspect task history before resubmitting. The task state and response carry completion and partial failures. A partial result can contain one usable track. Play delivered tracks from response.data[].audio_url. Read ACE Music API documentation and current pricing.