
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.
Run it from TypeScript or Python with the Comfy SDK. The same code targets Comfy Cloud or a ComfyUI you host yourself — only the base URL changes.
// Install (beta)
npm i @comfyorg/sdk
// Run "ACE-Step 1.5XL SFT: Text to Music" (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
// This workflow, exported in API format (see note below)
const wf = await client.workflows.fromFile("audio_ace_step1_5_xl_sft_api.json");
const job = await client.run(wf);
await job.getOutputs("107")[0].toFile("output.png"); // SaveAudioMP3The SDK takes a workflow in API format: open this workflow in ComfyUI and use File → Export Workflow (API).
Comfy Cloud API access requires a plan with an API key.
FAQ













