ComfyUI > Nodes > comfyui_qwen_image_edit_adv > QwenImageEditSimpleScale

ComfyUI Node: QwenImageEditSimpleScale

Class Name

QwenImageEditSimpleScale

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

QwenImageEditSimpleScale Description

Resize images for Qwen-Image-Edit, targeting 1 million pixels, balancing quality and performance, with configurable parameters for precise scaling.

QwenImageEditSimpleScale:

QwenImageEditSimpleScale is a node designed to resize images to a resolution that is compatible with Qwen-Image-Edit, specifically targeting a resolution of approximately 1 million pixels. This node is particularly useful for artists and designers who need to adjust images to a specific size while maintaining a balance between quality and performance. The node allows you to configure the maximum side length and step alignment, ensuring that the resized image fits within the desired parameters without exceeding the target resolution. By using this node, you can efficiently prepare images for further editing or processing, making it an essential tool for workflows that require precise image scaling.

QwenImageEditSimpleScale Input Parameters:

image

The image parameter is the input image that you want to resize. It is expected to be in a format that the node can process, typically an image tensor. This parameter is crucial as it serves as the base for all scaling operations performed by the node.

resolution

The resolution parameter determines the target resolution for the resized image, with a default value of 1024. It can range from a minimum of 512 to a maximum of 4096, with increments of 8. This parameter directly influences the scale factor applied to the image, affecting the final size and quality of the output.

alignment

The alignment parameter specifies the step alignment for the resizing process, with a default value of 32. It can vary from 8 to 256, with increments of 2. This parameter ensures that the dimensions of the resized image are aligned to a specific multiple, which can be important for compatibility with certain processing pipelines or display requirements.

QwenImageEditSimpleScale Output Parameters:

IMAGE

The IMAGE output is the resized version of the input image, adjusted to the closest compatible resolution based on the specified parameters. This output is crucial for further processing or editing tasks, as it ensures the image is at the desired size and quality.

width

The width output provides the final width of the resized image. This value is important for understanding the dimensions of the output image and ensuring it meets the requirements of your project or workflow.

height

The height output gives the final height of the resized image. Like the width, this value is essential for verifying that the image dimensions align with your expectations and project needs.

QwenImageEditSimpleScale Usage Tips:

  • To achieve the best balance between image quality and processing efficiency, set the resolution parameter to a value that closely matches your target output size while staying within the node's limits.
  • Use the alignment parameter to ensure that the resized image dimensions are compatible with other tools or display requirements, especially if you are working within a specific framework or application.

QwenImageEditSimpleScale Common Errors and Solutions:

Image dimensions are zero

  • Explanation: This error occurs when the input image has zero width or height, which can happen if the image is not loaded correctly or is corrupted.
  • Solution: Verify that the input image is correctly loaded and not corrupted. Ensure that the image file is accessible and in a supported format.

Aligned dimensions are zero

  • Explanation: This error arises when the calculated aligned width or height is zero, possibly due to incorrect alignment settings or an excessively small target resolution.
  • Solution: Check the alignment and resolution parameters to ensure they are set to appropriate values. Adjust them to avoid reducing the dimensions to zero during the alignment process.

QwenImageEditSimpleScale 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.