
This ComfyUI workflow turns text prompts into finished music using the ACE-Step 1.5XL SFT (4B) model. It follows a familiar diffusion pipeline adapted for audio: DualCLIPLoader and TextEncodeAceStepAudio1.5 convert your prompt (and optional negative prompt) into conditioning; EmptyAceStep1.5LatentAudio creates a latent audio canvas for your chosen duration; UNETLoader brings in the ACE-Step 1.5XL SFT model; and KSampler performs iterative denoising guided by CFG. ModelSamplingAuraFlow configures the sampler strategy tuned for ACE-Step audio, while VAELoader + VAEDecodeAudio convert the final latent back into a waveform that SaveAudioMP3 writes to disk.
Technically, CFG (classifier-free guidance) lets you balance creativity and prompt adherence: lower CFG values explore broadly, higher values follow your text more strictly. ConditioningZeroOut provides a clean unconditional branch if you don’t specify a negative prompt, ensuring stable guidance. Workflow groups (Model, Duration, Prompt) make it easy to swap checkpoints, set seconds, and iterate on prompts. The result is a practical, reproducible text-to-music pipeline that can quickly iterate across genres, moods, instruments, and structure—ideal for ideation, temp scoring, and background tracks.
API
Use this workflow from code
Every Comfy workflow is a JSON graph. The payload below is this workflow, exactly as ComfyUI runs it — fetch it from the URL, keep it in version control, or load it in ComfyUI and run it node by node.
GET https://comfy.org/workflows/download/68dcfc02a679.jsonFetching workflow JSON…
Run it from Python or TypeScript with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
# Install (beta)
pip install comfy-sdk # Python
npm i @comfyorg/sdk # TypeScript
# Run "ACE-Step 1.5XL SFT: Text to Music" (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
# This workflow, exported in API format (see note below)
wf = client.workflows.from_file("audio_ace_step1_5_xl_sft_api.json")
job = client.run(wf)
for output in job.get_outputs("107"): # SaveAudioMP3
output.to_file(output.name)The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API). API access requires a Comfy Cloud plan with an API key. SDK docs · Get an API key
FAQ














