Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI_SamplingUtils > AdjustedResolutionParameters

ComfyUI Node: AdjustedResolutionParameters

Class Name

AdjustedResolutionParameters

Category
utils
Author
silveroxides (Account age: 2211days)
Extension
ComfyUI_SamplingUtils
Latest Updated
2026-06-03
Github Stars
0.02K

How to Install ComfyUI_SamplingUtils

Install this extension via the ComfyUI Manager by searching for ComfyUI_SamplingUtils
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_SamplingUtils 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

AdjustedResolutionParameters Description

Manage and adjust image resolutions effectively for AI-generated images, specifying dimensions and upscale factors for specific requirements.

AdjustedResolutionParameters:

The AdjustedResolutionParameters node is designed to help you manage and adjust image resolutions effectively, particularly when working with AI-generated images. This node allows you to specify initial dimensions and upscale factors, ensuring that your images meet specific resolution requirements. By providing a flexible framework for adjusting image sizes, it helps maintain image quality and consistency across different outputs. This node is particularly useful for artists and designers who need to ensure their images are optimized for various display or print formats, offering a streamlined approach to resolution management without requiring deep technical knowledge.

AdjustedResolutionParameters Input Parameters:

width

This parameter sets the initial width of the image in pixels. It allows you to define the starting horizontal dimension of your image, which can be crucial for maintaining aspect ratios or fitting specific display requirements. The width can range from a minimum of 16 pixels to a maximum defined by the system's maximum resolution, with a default value of 1024 pixels. Adjusting this parameter affects the overall size and detail of the image.

height

Similar to the width, this parameter specifies the initial height of the image in pixels. It determines the starting vertical dimension, which is essential for preserving the intended aspect ratio or meeting particular size constraints. The height can also range from 16 pixels to the system's maximum resolution, with a default of 1024 pixels. Modifying this parameter will influence the image's proportions and clarity.

batch_size

This parameter defines the number of images to process simultaneously. It is particularly useful when working with multiple images, allowing for efficient batch processing. The batch size can be set from 1 to 4096, with a default value of 1. Increasing the batch size can speed up processing times when handling large datasets.

scale_by

This parameter determines the factor by which the initial resolution is upscaled. It allows you to enlarge your image while maintaining quality, which is useful for creating high-resolution outputs. The scale factor ranges from 0.0 to 10.0, with a default of 1.0, meaning no scaling. Adjusting this parameter can significantly impact the final image size and detail.

multiple

This parameter sets the nearest multiple to which the upscaled resolution should conform. It ensures that the final dimensions are aligned to a specific multiple, which can be important for compatibility with certain display or processing requirements. The multiple can be set from 4 to 128, with a default of 16. This helps in maintaining uniformity and avoiding fractional pixel values.

AdjustedResolutionParameters Output Parameters:

adjusted_width

This output provides the adjusted width of the image after processing. It reflects any changes made based on the input parameters, ensuring the image meets the desired specifications. Understanding this output helps in verifying that the image width aligns with your project requirements.

adjusted_height

Similar to the adjusted width, this output gives the adjusted height of the image. It confirms that the image's vertical dimension has been modified according to the input settings, ensuring consistency with the intended design or display criteria.

upscaled_width

This output indicates the width of the image after applying the upscale factor. It shows the final horizontal dimension, which is crucial for assessing the image's suitability for high-resolution applications or large-format displays.

upscaled_height

This output provides the height of the image after scaling. It represents the final vertical dimension, helping you determine if the image meets the necessary resolution standards for your specific use case.

batch_size

This output confirms the number of images processed in the batch, reflecting the input batch size parameter. It is useful for tracking and managing the processing of multiple images simultaneously.

AdjustedResolutionParameters Usage Tips:

  • To maintain image quality while increasing size, use a scale_by value greater than 1.0, but avoid excessively high values to prevent pixelation.
  • Set the multiple parameter to match the requirements of your output device or software to ensure compatibility and avoid unexpected cropping or scaling.

AdjustedResolutionParameters Common Errors and Solutions:

Resolution exceeds maximum allowed

  • Explanation: The specified width or height exceeds the system's maximum resolution.
  • Solution: Reduce the width or height input values to fall within the allowed range.

Invalid batch size

  • Explanation: The batch size is set to a value outside the permissible range.
  • Solution: Adjust the batch size to be between 1 and 4096.

Scale factor too high

  • Explanation: The scale_by value is set too high, resulting in an impractically large image.
  • Solution: Lower the scale_by value to a more reasonable level to ensure manageable image dimensions.

AdjustedResolutionParameters Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_SamplingUtils
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.

AdjustedResolutionParameters