ComfyUI_UltimateSDUpscale

1120
Updated about 2 months ago
View on GitHub →See Common Issues →

Documentation

ComfyUI_UltimateSDUpscale

Overview

The ComfyUI_UltimateSDUpscale repository provides custom nodes for ComfyUI, enabling the use of the Ultimate Stable Diffusion Upscale script by Coyote-A within ComfyUI workflows. This repository functions as a wrapper around the script used in the A1111 extension, offering advanced image upscaling and sampling capabilities.

Installation

To install the ComfyUI_UltimateSDUpscale nodes, follow these steps:

  1. Open your command line interface.
  2. Navigate to the ComfyUI/custom_nodes/ directory in your local environment.
  3. Run the following command:
    git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive
    

After executing these steps, the custom nodes will be installed and available for use within ComfyUI.

Purpose

This repository aims to enhance ComfyUI by integrating the Ultimate Stable Diffusion Upscale script. It allows users to upscale images while preserving quality and detail, leveraging tiled sampling and customizable sampler options. The nodes provide flexibility for both direct image upscaling and advanced sampling techniques without scaling.

Available Nodes

The repository offers the following nodes:

  • UltimateSDUpscale: The primary node that includes most of the inputs as the original extension script.

  • UltimateSDUpscaleNoUpscale: Similar to the primary node, but without upscale inputs. This node is suitable if you already have an upscaled image or prefer to perform only tiled sampling.

  • UltimateSDUpscaleCustomSample: Expands on the primary node by allowing additional inputs for a custom sampler and custom sigmas. If neither is provided, default sampler and step/denoise settings will be used as in the base node.

Special Features and Capabilities

  • Customizable Upscaling: The upscale_by parameter allows you to multiply the width and height of an image by a specific factor. For exact dimensions, use the UltimateSDUpscaleNoUpscale node combined with separate upscaling processes.

  • Uniform Tile Handling: The force_uniform_tiles feature ensures that tiles cut off by image edges maintain uniform size, analogous to the A1111 Web UI, potentially reducing artifacts at the cost of additional processing time.

Usefulness in ComfyUI Workflows

Integrating the ComfyUI_UltimateSDUpscale nodes into your ComfyUI workflows can greatly enhance image processing capabilities. By using these nodes, you can:

  • Efficiently upscale images with high quality.
  • Customize the tiling and sampling processes for more precise control over the final image output.
  • Leverage detailed parameters to balance between processing time and output quality.

These features make the ComfyUI_UltimateSDUpscale repository a valuable asset for any workflow requiring image upscaling and enhancement in the ComfyUI environment.