A custom node for ComfyUI that integrates the lightweight LavaSR speech enhancement model. LavaSR enhances low-quality audio with speeds reaching roughly 5000x realtime on GPU and over 60x realtime on CPU.
- Extremely Fast: Achieves enhancement speeds of up to 5000x real-time on modern GPUs and 50x real-time on CPUs.
- High-Quality Speech Enhancement: Converts low-quality or noisy input audio into crisp, studio-quality 48kHz audio.
- High Efficiency: Extremely lightweight, requiring just ~500MB VRAM to run.
- Local Model Support: Automatically detects and loads models placed in
ComfyUI/models/lavasr/. Falls back to automatically downloading the default model (YatharthS/LavaSR) from Hugging Face if none are found locally. - Denoising & Batching: Provides dedicated toggles for heavy background denoising and batch processing (crucial for preventing OOM on very long audio files).
💡 Tip: This node pairs exceptionally well with ComfyUI-KittenTTS for fast, low-VRAM voice generation. You can pipe the output from KittenTTS directly into LavaSR for incredibly crisp results.
You can install this node via the ComfyUI Manager by searching for "LavaSR" or by installing from this Git URL. The dependencies should install automatically.
This extension requires the LavaSR python package to be installed in your ComfyUI python environment.
- Navigate to your ComfyUI
custom_nodesdirectory:
cd ComfyUI/custom_nodes- Clone this repository:
git clone https://github.com/NightMean/ComfyUI-LavaSR.git- Install the required
LavaSRpython package.
For standard Python environments:
python -m pip install git+https://github.com/ysharma3501/LavaSR.gitFor ComfyUI Portable (Windows Standalone): Open a terminal in your main ComfyUI folder and run:
.\python_embeded\python.exe -m pip install git+https://github.com/ysharma3501/LavaSR.gitBy default, the node will automatically download the required model from Hugging Face into ComfyUI/models/lavasr/YatharthS_LavaSR upon first use.
If you prefer to download the model manually, or if your environment blocks automatic Hugging Face downloads:
- Download the files from YatharthS/LavaSR on Hugging Face.
- Place the downloaded files or folder into:
ComfyUI/models/lavasr/YatharthS_LavaSR - Restart ComfyUI and select your custom folder name from the model_id dropdown.
You can find an example workflow in example_workflow/LavaSR_example_workflow.json
- Connect a Load Audio node.
- Connect it to the
audioinput of LavaSR Enhance. - Add a Save Audio node and connect the
audiooutput from the LavaSR node to it.
- model_id: Select the HuggingFace ID
YatharthS/LavaSR(loads automatically via internet) or select a locally cached directory name if you placed the models manually insideComfyUI/models/lavasr/. - version: Select
LavaEnhance2(default, highest quality) orLavaEnhance1. - sampling_rate: The assumed source quality of your input audio. Best practice is to match the source audio's sample rate (e.g., 8000Hz for old phones, 16000Hz for standard mic audio).
- denoise: Set to True to heavily denoise the background audio before running enhancement.
- batch_processing: Set to True to process highly sustained, long audio files (prevents Out-Of-Memory errors).
To support me you can use link below:
- LavaSR by @ysharma3501
- ComfyUI node by @NightMean
Apache 2.0 - See LICENSE for details.

