ComfyUI > Nodes > ComfyUI-SUPIR

ComfyUI Extension: ComfyUI-SUPIR

Repo Name

ComfyUI-SUPIR

Author
kijai (Account age: 2181 days)
Nodes
View all nodes(10)
Latest Updated
2024-08-01
Github Stars
1.38K

How to Install ComfyUI-SUPIR

Install this extension via the ComfyUI Manager by searching for ComfyUI-SUPIR
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-SUPIR in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

ComfyUI-SUPIR Description

ComfyUI-SUPIR integrates SUPIR upscaling into ComfyUI via wrapper nodes, enhancing image resolution within the interface.

ComfyUI-SUPIR Introduction

ComfyUI-SUPIR is an extension designed to enhance the capabilities of AI artists by providing advanced image upscaling and restoration features. This extension integrates seamlessly with ComfyUI, offering a user-friendly interface to leverage the powerful SUPIR (Scaling Up to Excellence: Practicing Model Scaling for Photo-Realistic Image Restoration In the Wild) models. Whether you're looking to upscale low-resolution images or restore photo-realistic details, ComfyUI-SUPIR can help you achieve high-quality results with minimal effort.

How ComfyUI-SUPIR Works

At its core, ComfyUI-SUPIR utilizes the SUPIR models to perform image upscaling and restoration. The process involves several stages:

  1. Denoising: The first stage uses a denoise encoder VAE (Variational Autoencoder) to reduce noise in the image. This step is crucial for enhancing the clarity and quality of the final output.
  2. ControlNet Integration: SUPIR's ControlNet allows for precise control over the image restoration process, ensuring that the output matches the desired quality and style.
  3. Model Upscaling: The extension can upscale images by a specified factor, improving resolution while maintaining or enhancing image quality. By breaking down the process into these stages, ComfyUI-SUPIR ensures efficient model loading, reduced memory usage, and support for a wide range of hardware configurations.

ComfyUI-SUPIR Features

ComfyUI-SUPIR offers several features to enhance your image processing workflow:

  • Multiple Nodes: The extension separates the process into multiple nodes, making it easier to understand and customize each step.
  • Efficient Model Loading: Models are loaded efficiently to minimize memory usage and support a wider range of hardware.
  • Sampler Options: Various sampler options are available to fine-tune the image restoration process.
  • Legacy Support: The extension maintains legacy nodes to ensure compatibility with older workflows.
  • LoRA Support: The latest update includes support for LoRAs (Low-Rank Adaptations), allowing for more flexible model customization.

ComfyUI-SUPIR Models

ComfyUI-SUPIR supports different models, each tailored for specific use cases:

  • SUPIR-v0Q: This model is designed for high generalization and high image quality in most scenarios. It is the default choice for general-purpose image restoration.
  • Download SUPIR-v0Q
  • SUPIR-v0F: This model is optimized for light degradation settings, preserving more details when dealing with lightly degraded images.
  • Download SUPIR-v0F By choosing the appropriate model, you can achieve the best results for your specific image restoration needs.

What's New with ComfyUI-SUPIR

Recent Updates

  • Pruned Models: Pruned models in safetensors format are now available, offering more efficient performance.
  • Pruned Models
  • Improved SDXL Model Loading: A better method for loading the SDXL model has been added, which also supports LoRAs.
  • Multiple Nodes: The single node has been separated into multiple nodes for better clarity and usability.
  • Wider Hardware Support: The extension now supports a broader range of hardware configurations, making it accessible to more users.
  • Reduced Memory Usage: Optimizations have been made to reduce memory usage, allowing for higher resolution processing on less powerful hardware.

Troubleshooting ComfyUI-SUPIR

Common Issues and Solutions

  1. Memory Errors: If you encounter memory errors, try reducing the input image resolution or using a more efficient model.
  2. Model Loading Issues: Ensure that the models are placed in the correct directory (ComfyUI/models/checkpoints) and that you have the necessary dependencies installed.
  3. Performance Issues: If the extension is running slowly, consider using the pruned models or adjusting the sampler settings for faster processing.

Frequently Asked Questions

  • Q: What are the system requirements for ComfyUI-SUPIR?
  • A: The memory requirements depend on the input image resolution. For example, a 512x512 to 1024x1024 upscale requires around 10GB of VRAM and 32GB of system RAM.
  • Q: Can I use my own captions with ComfyUI-SUPIR?
  • A: Yes, you can input any captions to the node, allowing for flexible customization of the output.

Learn More about ComfyUI-SUPIR

For additional resources, tutorials, and community support, check out the following links:

ComfyUI-SUPIR Related Nodes

RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.