ComfyUI > Nodes > comfyui_qwen_image_edit_adv > QwenImageEditScale

ComfyUI Node: QwenImageEditScale

Class Name

QwenImageEditScale

Category
QwenImageEditAdv/Scale
Author
len-ml (Account age: 723days)
Extension
comfyui_qwen_image_edit_adv
Latest Updated
2025-12-02
Github Stars
0.03K

How to Install comfyui_qwen_image_edit_adv

Install this extension via the ComfyUI Manager by searching for comfyui_qwen_image_edit_adv
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_qwen_image_edit_adv 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
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

QwenImageEditScale Description

Powerful image resizing node for Qwen-Image-Edit, optimizing for 1 million pixels, high detail retention, alignment flexibility.

QwenImageEditScale:

QwenImageEditScale is a powerful node designed to resize images to resolutions that are compatible with Qwen-Image-Edit, specifically targeting a resolution of approximately 1 million pixels. This node is particularly beneficial for users who need to adjust images to specific dimensions while maintaining a high level of detail and quality. It offers flexibility in terms of alignment and resolution, allowing you to fine-tune the output to meet your specific needs. The node uses advanced scaling techniques to ensure that the resized images retain their original quality as much as possible, making it an essential tool for AI artists looking to prepare images for further editing or processing.

QwenImageEditScale Input Parameters:

image

This parameter represents the input image that you want to resize. It is crucial as it serves as the base for all subsequent operations performed by the node.

resolution

This integer parameter defines the target resolution for the image resizing process. The default value is 1024, with a minimum of 512 and a maximum of 4096, adjustable in steps of 8. It determines the final size of the image, influencing both the level of detail and the processing time required.

alignment

This integer parameter specifies the alignment step for the resizing process, with a default value of 32. It can range from 8 to 256, adjustable in steps of 2. Alignment ensures that the final dimensions of the image are multiples of the specified value, which can be important for certain applications that require specific image dimensions.

QwenImageEditScale Output Parameters:

IMAGE

This output is the resized image, adjusted to the closest compatible resolution while maintaining the specified alignment. It is the primary result of the node's processing.

width

This integer output represents the width of the resized image. It provides information about the horizontal dimension of the final image, which is useful for further processing or analysis.

height

This integer output indicates the height of the resized image. It provides information about the vertical dimension of the final image, ensuring that you have a complete understanding of the image's new size.

QwenImageEditScale Usage Tips:

  • To achieve the best results, choose a resolution that closely matches your desired output size while considering the processing capabilities of your system.
  • Use the alignment parameter to ensure that the resized image dimensions are compatible with any subsequent processing steps that require specific size constraints.
  • Experiment with different resolution and alignment settings to find the optimal balance between image quality and processing time for your specific use case.

QwenImageEditScale Common Errors and Solutions:

Image dimensions are zero

  • Explanation: This error occurs when the input image has a width or height of zero, which is not valid for processing.
  • Solution: Ensure that the input image is correctly loaded and has valid dimensions before passing it to the node.

Invalid target resolution

  • Explanation: This error arises when the specified resolution is outside the allowed range.
  • Solution: Adjust the resolution parameter to fall within the specified range of 512 to 4096.

Alignment value out of range

  • Explanation: This error occurs when the alignment parameter is set outside the allowed range.
  • Solution: Set the alignment parameter to a value between 8 and 256, ensuring it is a multiple of 2.

QwenImageEditScale Related Nodes

Go back to the extension to check out more related nodes.
comfyui_qwen_image_edit_adv
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.