# Diffusers-in-ComfyUI **Repository Path**: Azreal_zhou/Diffusers-in-ComfyUI ## Basic Information - **Project Name**: Diffusers-in-ComfyUI - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-22 - **Last Updated**: 2026-01-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # π¨ Diffusers in ComfyUI > Bring the full power of Hugging Face Diffusers pipelines directly into ComfyUI [](https://github.com/ltdrdata/ComfyUI-Manager) [](https://registry.comfy.org/) [](https://github.com/maepopi/Diffusers-in-ComfyUI/stargazers) [](https://opensource.org/licenses/MIT) --- ## β¨ Features - π₯ **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 --- ## π Quick Start ### Option 1: Install via Comfy Registry (Recommended) ```bash comfy node registry-install diffusers-in-comfyui ``` ### Option 2: Install via ComfyUI Manager 1. Launch ComfyUI 2. Open ComfyUI Manager 3. Search for "Diffusers in Comfy UI" 4. Click Install ### Option 3: Manual Installation ```bash cd ComfyUI/custom_nodes/ git clone https://github.com/maepopi/Diffusers-in-ComfyUI.git cd Diffusers-in-ComfyUI pip install -r requirements.txt ``` After installation, you'll find the nodes under **"Diffusers-in-Comfy"** in your node menu! π --- ## π Usage ### Available Node Categories #### π§ Pipeline Nodes (`Diffusers-in-Comfy/Pipelines`) 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 #### π― Inference Nodes (`Diffusers-in-Comfy/Inference`) 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 #### π οΈ Utils Nodes (`Diffusers-in-Comfy/Utils`) Image preprocessing utilities: - **Make Canny** - Convert images to Canny edge maps for ControlNet - Outputs: Processed image + Preview #### π§© Component Nodes (`Diffusers-in-Comfy/Components`) 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 --- ## πΈ Workflow Examples ### Text-to-Image (SD 1.5)  ### Inpainting (SDXL)  ### Image-to-Image (SD 1.5)  ### LoRA Integration  ### B-LoRA Style Transfer (SDXL)  --- ## π― Advanced: B-LoRA Usage B-LoRA enables powerful style and content separation. [Original paper](https://github.com/yardenfren1996/B-LoRA) **Setup:** 1. Place your B-LoRA file in `ComfyUI/lora/` folder 2. In the BLoRA node, specify filename (e.g., `vangogh.safetensors`) 3. Ensure SDXL pipeline is loaded with `is_sdxl=True` **Important Notes:** - β Compatible with ControlNet - β Cannot be combined with standard LoRAs - π¨ SDXL models only --- ## πΊοΈ Roadmap - [ ] 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 π¬ --- ## π Acknowledgments This project was inspired by [ComfyUI-Diffusers](https://github.com/Limitex/ComfyUI-Diffusers). Special thanks to: - **Comfy Registry team** for platform inclusion - **ltdrdata** for ComfyUI Manager integration - The ComfyUI community for continuous feedback --- ## π€ Contributing Contributions, issues, and feature requests are welcome! Feel free to check the [issues page](https://github.com/maepopi/Diffusers-in-ComfyUI/issues) or submit PRs. --- ## π License This project is [MIT](LICENSE) licensed. --- ## π¬ Contact & Support - π [Report a bug](https://github.com/maepopi/Diffusers-in-ComfyUI/issues) - π‘ [Request a feature](https://github.com/maepopi/Diffusers-in-ComfyUI/issues) - β [Star this repo](https://github.com/maepopi/Diffusers-in-ComfyUI) if you find it useful! ---