
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.
GET https://comfy.org/workflows/download/a335e0968d76.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 this workflow (Python)
from comfy_sdk import Comfy
client = Comfy(api_key="comfyui-...")
wf = client.workflows.from_file("workflow_api.json")
job = client.run(wf)
for output in job.get_outputs("<output-node-id>"):
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














