ComfyUI > Nodes > D2 Nodes ComfyUI > D2 XY Grid Image

ComfyUI Node: D2 XY Grid Image

Class Name

D2 XY Grid Image

Category
D2/XY Plot
Author
da2el-ai (Account age: 713days)
Extension
D2 Nodes ComfyUI
Latest Updated
2025-05-04
Github Stars
0.03K

How to Install D2 Nodes ComfyUI

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

D2 XY Grid Image Description

Facilitates grid image creation, supports annotations, customizable appearance for visual analysis and presentation.

D2 XY Grid Image:

The D2 XY Grid Image node is designed to facilitate the creation of grid images by arranging multiple images in a structured format, allowing for easy comparison and visualization. This node is particularly useful for AI artists who want to explore variations of generated images by organizing them in a grid format based on different parameters. The node supports annotations along the X and Y axes, which can be used to label the grid with relevant information, enhancing the interpretability of the visual data. By providing options to customize the grid's appearance, such as font size, grid gap, and dimension swapping, the D2 XY Grid Image node offers flexibility and control over the final output, making it a valuable tool for visual analysis and presentation.

D2 XY Grid Image Input Parameters:

images

This parameter accepts a batch of images that will be arranged into a grid. The images are the core content of the grid, and their arrangement is determined by other parameters. There are no specific minimum or maximum values for this parameter, but the quality and number of images will directly impact the grid's appearance.

font_size

This integer parameter determines the size of the font used for annotations on the grid. The default value is 24, and it can be adjusted to ensure that the text is legible and appropriately sized relative to the images.

grid_gap

This integer parameter specifies the gap between images in the grid. The default value is 0, meaning no gap, but it can be increased to create space between images, which can help in distinguishing them more clearly.

swap_dimensions

This boolean parameter, with a default value of False, allows you to swap the X and Y dimensions of the grid. This can be useful if you want to change the orientation of the grid to better fit the display or presentation context.

grid_only

This boolean parameter, defaulting to True, determines whether only the grid image is returned or if additional processing is performed. When set to True, the node focuses solely on generating the grid image.

draw_x_label

This boolean parameter, with a default value of True, controls whether annotations are drawn along the X-axis. Enabling this option helps in identifying the parameters or conditions represented by each column in the grid.

draw_y_label

Similar to draw_x_label, this boolean parameter, defaulting to True, controls the drawing of annotations along the Y-axis. It aids in understanding the parameters or conditions represented by each row in the grid.

x_annotation

This optional parameter accepts annotations for the X-axis, providing context or labels for each column in the grid. It enhances the interpretability of the grid by indicating what each column represents.

y_annotation

This optional parameter accepts annotations for the Y-axis, offering context or labels for each row in the grid. It helps in understanding the variations or conditions represented by each row.

status

This string parameter, which must be provided, indicates the current status of the grid creation process. It helps in managing the flow of image processing and grid generation.

grid_pipe

This parameter is a pipeline object that carries additional information and annotations for the grid. It is essential for integrating the grid creation process with other nodes or workflows.

D2 XY Grid Image Output Parameters:

images

The output is a single grid image that combines all the input images into a structured format. This grid image is the final visual representation, allowing for easy comparison and analysis of the input images based on the specified annotations and parameters.

D2 XY Grid Image Usage Tips:

  • To effectively use the D2 XY Grid Image node, ensure that your input images are of consistent size and quality to maintain a uniform appearance in the grid.
  • Utilize the annotation parameters to provide meaningful labels for your grid, which can greatly enhance the interpretability and presentation of your visual data.
  • Experiment with the grid_gap and font_size parameters to achieve the desired balance between image spacing and annotation readability.

D2 XY Grid Image Common Errors and Solutions:

"Image batch is None"

  • Explanation: This error occurs when the input images are not properly loaded or passed to the node.
  • Solution: Ensure that the images parameter is correctly populated with valid image data before executing the node.

"Invalid status value"

  • Explanation: The status parameter is not set correctly, which can disrupt the grid creation process.
  • Solution: Verify that the status parameter is set to a valid value, such as "INIT" or "FINISH", to control the flow of the grid generation.

"Annotations not provided"

  • Explanation: The x_annotation or y_annotation parameters are missing, leading to incomplete grid labeling.
  • Solution: Provide appropriate annotations for both the X and Y axes to ensure that the grid is fully labeled and informative.

D2 XY Grid Image Related Nodes

Go back to the extension to check out more related nodes.
D2 Nodes ComfyUI
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 Playground, enabling artists to harness the latest AI tools to create incredible art.