ComfyUI-MultiForge
Audio editing, waveform preview, and SA3 inpainting nodes for ComfyUI
ComfyUI-MultiForge
English | Русский
A collection of custom nodes for ComfyUI covering various audio tasks: visual trimming and silence padding, waveform preview/playback, region selection for Stable Audio 3 inpainting/stitching, and audio quality restoration via Apollo.
Included Nodes (MultiForge/Audio category)
Loading, Preview & Saving
-
Load Audio Waveform — loads audio/video files from the
inputfolder (or another selected folder from disk), displaying the waveform with a built-in player. Supports drag-and-drop from File Explorer. (For video files, there is a practical size limit of ~500 MB, otherwise the browser may run out of memory while decoding the waveform).
-
Preview Audio Waveform — previews audio with a waveform display without saving to
output(writes to thetempfolder). Includes anAUDIOpassthrough output so it can be placed inline anywhere in the workflow.
-
Save Audio Waveform — saves audio to
flac,mp3, oropuswith an embedded waveform display and player.
Editing & Stitching
-
Audio Trim & Pad — visual start/end audio trimming and silence padding. Features a bar ruler,
1/4 Barsnapping, Auto BPM detection, and original/total duration outputs.
-
SA3 Inpaint / Stitch Region — a visual timeline for Stable Audio 3 to select 1 or 2 regeneration regions, align and stitch two tracks (
AandB) by bars, and preview the transition. For the actual inpainting process, it works alongside nodes from the Stable Audio 3 Editing repository.
-
SA3 Inpaint Composite (Lossless) — blends regenerated segments back into the original track to prevent audio quality loss across repeated regenerations.
-
SA3 Inpaint Region — a fixed drop-in replacement for the standard region selection node from the Stable Audio 3 Editing package.
Audio Restoration
- Apollo Audio Restore (44.1kHz) — a wrapper for the Apollo model to restore compressed or degraded audio using chunked processing (supports
Standard,Medium/Large, andXLmodels).
Timeline / Player Controls
- Left Click / Drag — set the playback cursor, drag trim handles, or adjust the first inpaint region boundaries (on the bottom ruler).
- Shift + Left Click / Drag — create and edit the second inpaint region (on the bottom ruler).
- Alt + Left Click / Drag — shift the second waveform (
B) along the timeline (or drag the green handle on badgeB). - Mouse Wheel — zoom in/out centered at the cursor.
- Middle Click + Drag — pan horizontally when zoomed in.
- Spacebar (
Space) — Play / Stop for the currently selected or last-clicked node.
Installation
- Clone this repository into your
ComfyUI/custom_nodes/folder:cd ComfyUI/custom_nodes git clone https://github.com/alexey-solovyov/ComfyUI-MultiForge.git - Install the dependencies from
requirements.txtinto the Python environment used by your ComfyUI:# Windows Portable example: ..\..\..\python_embeded\python.exe -m pip install -r ComfyUI-MultiForge/requirements.txt # Standard venv / conda: pip install -r ComfyUI-MultiForge/requirements.txt - (For Stable Audio 3 inpainting) Install everything required for the standard Stable Audio 3 workflow from the ComfyUI Templates library, and install the Stable Audio 3 Editing extension via ComfyUI Manager or manually from its repository.
- Restart ComfyUI and refresh your browser (
Ctrl + F5).
Apollo Models (Optional)
If you plan to use the Apollo Audio Restore (44.1kHz) node:
- Create a folder at
ComfyUI/models/apollo/. - Download the official checkpoint from JusperLee/Apollo on Hugging Face (or compatible custom checkpoints) and place the file (
.bin/.pth/.ckpt) insideComfyUI/models/apollo/. - Select the model file and matching architecture in the node settings:
Standardfor the official checkpoint, orMedium/Large/XLfor custom checkpoints.
Example Workflow
An example workflow demonstrating SA3 Inpaint / Stitch Region and SA3 Inpaint Composite (Lossless) inside a Stable Audio 3 subgraph is included in workflows/SA3_Inpaint_Stitch_Example.json.
- Drag and drop the
.jsonfile directly onto the ComfyUI canvas to load it. - Includes model download links and storage paths inside the workflow notes.
Credits & Licenses
- ComfyUI-MultiForge nodes and frontend UI are licensed under the MIT License.
- The
look2hearpackage is adapted from JusperLee/Apollo by Kai Li and Yi Luo (Tsinghua University / Tencent AI Lab), licensed under CC BY-SA 4.0 (seelook2hear/LICENSE).
Citation (Apollo)
@inproceedings{li2025apollo,
title={Apollo: Band-sequence Modeling for High-Quality Music Restoration in Compressed Audio},
author={Li, Kai and Luo, Yi},
booktitle={IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
year={2025},
organization={IEEE}
}