Stable Audio 1.0: Text to Audio

The Stable Audio 1.0: Text to Audio workflow offers a groundbreaking approach to generating audio content from text prompts. Utilizing the powerful Stable Audio model, this workflow transforms simple textual descriptions into rich, dynamic audio experiences. The process leverages advanced nodes like KSampler and CLIPTextEncode to accurately interpret text and generate corresponding audio textures. This workflow is perfect for those looking to explore creative audio production without the need for extensive technical expertise. By using the CLIPLoader and VAEDecodeAudio nodes, users can expect high-quality audio outputs that capture the essence of their textual inputs. Whether it's creating ambient soundscapes or electronic dance music, the possibilities are vast and exciting. Furthermore, with tools like the MarkdownNote and SaveAudioMP3 nodes, users can easily annotate and save their audio creations for future use, making this workflow a versatile and valuable asset for creators.

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/db1dd2f8ea39.json
Fetching 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 "Stable Audio 1.0: Text to Audio" (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_stable_audio_example_api.json")

wf.set_input("6", "text", "heaven church electronic dance music")  # CLIPTextEncode

job = client.run(wf)
for output in job.get_outputs("19"):  # 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

Frequently Asked Questions

View all workflows
Character
Cinematic
Image to Video
Lip Sync
Multiple Angles
Portrait
Style Reference
Style Transfer
Text to Video
Video Generation
Video
Showing 30 of 30 templates