Extensions/riversidenodes
ComfyUI Extension

riversidenodes

A custom node to resize your image to model-specific resolution

By RiverSide71·Created 4 months ago·Updated 3 months ago· 1
RiverSide71/comfyui-image-resize-to-model-resolution
Nodes1
On cloudLocal install
Categoryriversidenodes
Stars1
Updated3 months ago
Readme

comfyui-image-resize-to-model-resolution

A custom node which resizes an imput image to a resolution on which the selected model was trained.

Image Resize to Nearest Model Resolution

Most img2img workflows resize the input image before using it as a latent. It is highly recommended for optimal quality and performance to resize the input image to a resolution on which the model was trained.

The Image Resize to Nearest Model Resolution custom node takes as input a single image and allows you to choose an interpolation method for resizing, and a target model. The node resizes the input image to the nearest resolution on which your selected model was trained.

Preview

Node Screenshot

Model Selection

Interpolation Selection

Installation

ComfyUI Manager

Open Manager and search for comfyui-image-resize-to-model-resolution by publisher river-side

Manual

  1. Clone this repo into your ComfyUI/custom_nodes/ folder:
git clone https://github.com/RiverSide71/comfyui-image-resize-to-model-resolution
  1. Restart ComfyUI

Known limitations:

  • Please leave a comment and let me know.