Extensions/ComfyUI-MultiForge
ComfyUI Extension

ComfyUI-MultiForge

Audio editing, waveform preview, and SA3 inpainting nodes for ComfyUI

By alexey-solovyov·Created a day ago·Updated about 14 hours ago· 0
alexey-solovyov/ComfyUI-MultiForge
Nodes—
On cloudLocal install
Stars0
Updatedabout 14 hours ago
Readme

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 input folder (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). Load Audio Waveform

  • Preview Audio Waveform — previews audio with a waveform display without saving to output (writes to the temp folder). Includes an AUDIO passthrough output so it can be placed inline anywhere in the workflow. Preview Audio Waveform

  • Save Audio Waveform — saves audio to flac, mp3, or opus with an embedded waveform display and player. Save Audio Waveform

Editing & Stitching

  • Audio Trim & Pad — visual start/end audio trimming and silence padding. Features a bar ruler, 1/4 Bar snapping, Auto BPM detection, and original/total duration outputs. Audio Trim & Pad

  • SA3 Inpaint / Stitch Region — a visual timeline for Stable Audio 3 to select 1 or 2 regeneration regions, align and stitch two tracks (A and B) by bars, and preview the transition. For the actual inpainting process, it works alongside nodes from the Stable Audio 3 Editing repository. SA3 Inpaint / Stitch Region

  • 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, and XL models).

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 badge B).
  • 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

  1. Clone this repository into your ComfyUI/custom_nodes/ folder:
    cd ComfyUI/custom_nodes
    git clone https://github.com/alexey-solovyov/ComfyUI-MultiForge.git 
    
  2. Install the dependencies from requirements.txt into 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
    
  3. (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.
  4. Restart ComfyUI and refresh your browser (Ctrl + F5).

Apollo Models (Optional)

If you plan to use the Apollo Audio Restore (44.1kHz) node:

  1. Create a folder at ComfyUI/models/apollo/.
  2. Download the official checkpoint from JusperLee/Apollo on Hugging Face (or compatible custom checkpoints) and place the file (.bin / .pth / .ckpt) inside ComfyUI/models/apollo/.
  3. Select the model file and matching architecture in the node settings: Standard for the official checkpoint, or Medium/Large / XL for 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 .json file 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 look2hear package is adapted from JusperLee/Apollo by Kai Li and Yi Luo (Tsinghua University / Tencent AI Lab), licensed under CC BY-SA 4.0 (see look2hear/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}
}