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-RefineNode > RefineNode Merge Generated Images

ComfyUI Node: RefineNode Merge Generated Images

Class Name

RefineNodeMergeGeneratedImages

Category
RefineNode
Author
1Kynx (Account age: 102days)
Extension
ComfyUI-RefineNode
Latest Updated
2026-05-10
Github Stars
0.02K

How to Install ComfyUI-RefineNode

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

RefineNode Merge Generated Images Description

Merge generated images with refinement data for precise image processing control in AI workflows.

RefineNode Merge Generated Images:

The RefineNodeMergeGeneratedImages node is designed to facilitate the merging of generated images with corresponding refinement information, ensuring a seamless integration of image data and refinement metadata. This node is particularly useful in workflows where multiple images are generated and need to be aligned or combined with specific refinement instructions. By organizing images into groups based on their refinement data, the node ensures that each image is processed in accordance with its associated metadata, allowing for precise control over the final output. This capability is essential for AI artists who require a high degree of customization and accuracy in their image processing tasks, as it allows for the efficient handling of complex image sets and refinement scenarios.

RefineNode Merge Generated Images Input Parameters:

generated_image

The generated_image parameter accepts a tensor or a list of tensors representing the images that have been generated and are to be merged. This parameter is crucial as it provides the raw image data that will be processed and combined with refinement information. The images should be in a format that can be converted to standard RGB for further processing.

info

The info parameter is a dictionary or a list of dictionaries containing refinement information for each image. This metadata includes details such as group IDs and source image indices, which are used to organize and process the images correctly. The info parameter ensures that each image is matched with its corresponding refinement data, enabling precise and accurate image merging.

mask_source

The mask_source parameter specifies the source of the mask used in the merging process. By default, it is set to "mask", indicating that a mask will be used to guide the merging of images. This parameter allows for flexibility in how images are combined, providing options for different masking techniques.

mask_grow

The mask_grow parameter determines the extent to which the mask is expanded during the merging process. It is an integer value, with a default of 3, that controls the growth of the mask to ensure that the merging process covers the desired areas of the images.

blend_blur

The blend_blur parameter controls the amount of blur applied to the edges of the mask during the merging process. It is an integer value, with a default of 5, that helps to smooth transitions between merged images, resulting in a more cohesive final output.

show_full_image

The show_full_image parameter is a boolean that determines whether the full image is displayed during the merging process. When set to True, the entire image is shown, providing a complete view of the merged output. This parameter is useful for visualizing the final result and ensuring that the merging process has been executed correctly.

paste_back_mode

The paste_back_mode parameter specifies the mode used for pasting images back into their original context. It can be a string or None, allowing for different methods of reintegrating images into their source environments. This parameter provides additional control over how images are merged and displayed.

RefineNode Merge Generated Images Output Parameters:

outputs

The outputs parameter contains the final merged images, which are the result of combining the generated images with their corresponding refinement information. These images are processed and organized according to the specified parameters, ensuring that each output is aligned with its intended refinement data.

masks

The masks parameter provides the masks used during the merging process. These masks are essential for guiding the merging of images, ensuring that the correct areas are combined and that the final output meets the desired specifications.

RefineNode Merge Generated Images Usage Tips:

  • Ensure that the number of generated images matches the number of refinement info items to avoid errors during the merging process.
  • Use the mask_grow and blend_blur parameters to fine-tune the merging process, achieving smoother transitions and more cohesive final images.
  • Experiment with different paste_back_mode settings to find the best method for reintegrating images into their original contexts.

RefineNode Merge Generated Images Common Errors and Solutions:

"RefineNode Merge Generated Images requires one generated image per RefineNode info item; got X generated images for Y items."

  • Explanation: This error occurs when the number of generated images does not match the number of refinement info items.
  • Solution: Ensure that each generated image has a corresponding refinement info item by checking the input data for completeness and consistency.

"Missing valid RefineNode Preprocess Mask info items."

  • Explanation: This error indicates that the necessary refinement info items are not present or are invalid.
  • Solution: Verify that the info parameter contains valid refinement data for each image, and ensure that the data is correctly formatted and complete.

"Missing generated images."

  • Explanation: This error occurs when no generated images are provided for processing.
  • Solution: Check that the generated_image parameter contains valid image data and that the images are correctly formatted for processing.

RefineNode Merge Generated Images Related Nodes

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

RefineNode Merge Generated Images