
This ComfyUI workflow turns short text ideas into stereo audio using Stable Audio 3. At its core is a Stable Audio 3 generator node (UUID: 8b66c757-fe2f-4184-91f3-479a19deb565) that accepts a prompt and timing controls to synthesize full tracks, instrument phrases, sound effects, or one‑shot samples. A PrimitiveFloat node provides precise numeric control (for example, duration in seconds), and SaveAudioAdvanced writes the resulting waveform to disk with your chosen name and location. A MarkdownNote in the graph offers quick, in‑workflow tips.
Technically, your prompt and numeric parameters flow into the Stable Audio 3 node, which renders a stereo waveform guided by style, instrumentation, mood, and length cues in your text. The output plugs directly into SaveAudioAdvanced so you can batch or iteratively export results. This setup is useful for fast ideation and production: short durations (e.g., 0.5–2 s) are great for one‑shots, a few seconds for SFX, and longer spans for music beds—all without leaving ComfyUI.
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 this workflow (TypeScript)
import { Comfy } from "@comfyorg/sdk";
const client = new Comfy({ apiKey: "comfyui-..." });
const wf = await client.workflows.fromFile("workflow_api.json");
const job = await client.run(wf);
await job.getOutputs("<output-node-id>")[0].toFile("output.png");The 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














