ComfyUI Node: Image Params

Class Name

Image Params

Category
Fictiverse/Params
Author
Fictiverse (Account age: 1343days)
Extension
ComfyUI Fictiverse Nodes
Latest Updated
2026-04-26
Github Stars
0.02K

How to Install ComfyUI Fictiverse Nodes

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

Image Params Description

Configures image dimensions, aspect ratio, orientation, scaling, and batch processing options.

Image Params:

The Image Params node is designed to facilitate the configuration of image dimensions and processing parameters in a flexible and user-friendly manner. It allows you to define the base size of an image, select an aspect ratio, and choose between portrait or landscape orientation. Additionally, it provides options for high-resolution scaling and batch processing, making it a versatile tool for generating images with specific requirements. By offering a range of customizable settings, this node empowers you to tailor image outputs to meet your artistic vision, ensuring that the final results align with your creative goals.

Image Params Input Parameters:

base

The base parameter sets the foundational size for the image, determining its initial dimensions before any scaling or ratio adjustments. It accepts integer values ranging from 128 to 4096, with a default of 768, and increments in steps of 128. This parameter is crucial as it influences the overall resolution and detail of the generated image.

ratio

The ratio parameter allows you to select the aspect ratio of the image from predefined options such as "1:1", "5:4", "4:3", "3:2", "16:9", "2:1", "21:9", and "32:9". This choice affects the proportional relationship between the width and height of the image, enabling you to create images that fit specific compositional needs.

orientation

The orientation parameter is a boolean setting that determines whether the image is in portrait or landscape mode. By default, it is set to False, indicating landscape orientation. When set to True, the image is oriented in portrait mode. This parameter helps in aligning the image's layout with your intended presentation style.

hires

The hires parameter specifies the high-resolution scaling factor, allowing you to enhance the image's detail and clarity. It accepts float values between 1 and 8, with a default of 2.0, and increments in steps of 0.25. This parameter is essential for producing high-quality images, especially when fine details are important.

batch

The batch parameter defines the number of images to be processed simultaneously, supporting integer values from 1 to 64, with a default of 1. This setting is particularly useful for batch processing, enabling you to generate multiple images in one go, thereby improving efficiency and productivity.

Image Params Output Parameters:

_

The output parameter _ is a tuple containing five elements: width, height, high-resolution ratio, batch size, and megapixels. Each element provides specific information about the processed image. The width and height indicate the final dimensions of the image, adjusted according to the selected base size and aspect ratio. The high-resolution ratio reflects the scaling factor applied to enhance image detail. The batch size denotes the number of images processed simultaneously, and the megapixels value represents the total pixel count of the image, offering insight into its resolution and quality.

Image Params Usage Tips:

  • To achieve optimal image quality, consider setting the hires parameter to a higher value, especially when working with detailed artwork or when the final output requires high resolution.
  • Utilize the batch parameter to efficiently process multiple images at once, which can save time and streamline your workflow when generating a series of images with similar settings.

Image Params Common Errors and Solutions:

Invalid packet input type

  • Explanation: This error occurs when the input provided to the node is not in the expected tuple format.
  • Solution: Ensure that the input is correctly formatted as a tuple containing the necessary parameters.

Invalid packet length

  • Explanation: This error indicates that the input tuple does not contain the required number of elements.
  • Solution: Verify that the input tuple includes exactly five elements corresponding to the expected parameters.

Image Params Related Nodes

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

Image Params