Save Dia Audio
Getting Dia's speech out of ComfyUI as an actual WAV
- audio
- STRING
Save Dia Audio is the end of the line for a ComfyUI-Dia workflow - the node that takes the speech Dia TTS generated and writes it to a real .wav file on disk. If you've come from the image side of ComfyUI, this is the equivalent of the save-image node: without it, your generated audio only exists as data floating in the graph, visible nowhere. With it, you get a file you can drop into a video edit, a podcast, or just play in a music player.
It's about as simple as a node gets. It takes the AUDIO value from Dia TTS - the (44.1 kHz sample rate, waveform) pair - and writes it out with soundfile. One input for the audio, one text field for where to put it.
Inputs and output
- audio - the
AUDIOoutput of Dia TTS. That's the only sane thing to wire in here. - file_path - the destination, defaulting to
./output.wav. Relative paths resolve against wherever the ComfyUI server runs (usually the ComfyUI root directory), not your workflow's folder - so either use absolute paths or know where to go looking. It will silently overwrite an existing file with the same name. - STRING (output) - not audio. It's a text message like
Saved to: /full/path/to/output.wav. Wire it into any show-text node to see exactly where the file landed on screen.
That's the whole node. There's no filename-timestamping, no format dropdown, no preview. If you want smarter filenames, put the path in front of it.
Installing
It's part of ComfyUI-Dia, so the install is the pack's install - ComfyUI Manager (search "ComfyUI-Dia") or:
cd ComfyUI/custom_nodes
git clone https://github.com/Yuan-ManX/ComfyUI-Dia.git
cd ComfyUI-Dia
pip install -r requirements.txt
Restart ComfyUI and the node appears under the Dia-TTS category.
Common issues
- "Where did my file go?" - the classic. Relative paths land in the ComfyUI working directory, which is usually not where you're looking. Use an absolute path, or read the
STRINGoutput to get the full resolved location. - Silent or zero-length output - this node faithfully writes whatever it's handed, so a quiet file usually means Dia TTS errored during generation and returned silence. Check the ComfyUI terminal; the error prints there rather than in the UI.
- It saves as WAV, always. No format options. If you need MP3 or anything else, convert after the fact - every audio tool on earth reads a WAV.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| audio | AUDIO | — | |
| file_path | STRING | ./output.wav | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |