Bring the full power of Hugging Face Diffusers pipelines directly into ComfyUI
Why? ComfyUI's built-in nodes are limited to specific model architectures. This plugin lets you use any HuggingFace Diffusers pipeline — including new models the day they're released — with full ControlNet, LoRA, and B-LoRA support.
- 🔥 Full Diffusers Pipeline Integration - Text2Img, Img2Img, and Inpainting pipelines
- 🎯 SDXL Support - Works with both SD 1.5 and SDXL models
- 🎨 ControlNet Compatible - Seamless ControlNet integration with any Hugging Face model
- 🧩 LoRA & B-LoRA Support - Load LoRAs and advanced B-LoRAs for style/content separation
- ⚡ Low VRAM Mode - Optimized for limited GPU memory with CPU offloading
- 🛠️ Modular Design - Clean, reusable nodes for flexible workflows
- 📦 Easy Installation - Available via ComfyUI Manager and Comfy Registry
comfy node registry-install diffusers-in-comfyui- Launch ComfyUI
- Open ComfyUI Manager
- Search for "Diffusers in Comfy UI"
- Click Install
cd ComfyUI/custom_nodes/
git clone https://github.com/maepopi/Diffusers-in-ComfyUI.git
cd Diffusers-in-ComfyUI
pip install -r requirements.txtAfter installation, you'll find the nodes under "Diffusers-in-Comfy" in your node menu! 🎉
Set up your generation pipeline with these nodes:
- Text2ImgStableDiffusionPipeline - Generate images from text prompts
- Img2ImgStableDiffusionPipeline - Transform existing images
- InpaintingStableDiffusionPipeline - Fill masked regions
Pipeline Configuration Options:
- ✅ SDXL support toggle
- 🎨 Custom VAE (e.g.,
"stabilityai/sd-vae-ft-mse") - 🕹️ ControlNet integration (e.g.,
"XLabs-AI/flux-controlnet-canny") - 💾 Low VRAM mode for memory-constrained GPUs
Execute your generation with fine-tuned control:
- GenerateTxt2Image - Text-to-image generation
- GenerateImg2Image - Image-to-image transformation
- GenerateInpaintImage - Inpainting with masks
Common Parameters:
- Seed, Positive/Negative prompts
- Inference steps, Width/Height
- Guidance scale
- ControlNet image & scale
Image preprocessing utilities:
- Make Canny - Convert images to Canny edge maps for ControlNet
- Outputs: Processed image + Preview
Extend your pipelines with adapters:
- LoraLoader - Load LoRA adapters with custom weights
- BLoRA - Advanced style/content separation (SDXL only)
⚠️ Note: B-LoRA works with ControlNet but not with standard LoRAs
B-LoRA enables powerful style and content separation. Original paper
Setup:
- Place your B-LoRA file in
ComfyUI/lora/folder - In the BLoRA node, specify filename (e.g.,
vangogh.safetensors) - Ensure SDXL pipeline is loaded with
is_sdxl=True
Important Notes:
- ✅ Compatible with ControlNet
- ❌ Cannot be combined with standard LoRAs
- 🎨 SDXL models only
- IPAdapter support
- Automatic model architecture detection via ComfyAPI
- Local & remote model loading with URL support
- File browser for image selection (no manual paths)
- Auto-strip quotes from input paths
- Auto-detect B-LoRAs in lora folder
- More research paper implementations 🔬
This project was inspired by ComfyUI-Diffusers. Special thanks to:
- Comfy Registry team for platform inclusion
- ltdrdata for ComfyUI Manager integration
- The ComfyUI community for continuous feedback
Contributions, issues, and feature requests are welcome — check the issues page or submit PRs.




