ComfyUI > Nodes > Compositor Node > 💜 Compositor (V3)

ComfyUI Node: 💜 Compositor (V3)

Class Name

Compositor3

Category
image
Author
erosDiffusion (Account age: 110days)
Extension
Compositor Node
Latest Updated
2024-09-24
Github Stars
0.22K

How to Install Compositor Node

Install this extension via the ComfyUI Manager by searching for Compositor Node
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Compositor Node 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

💜 Compositor (V3) Description

Combine multiple images with masks seamlessly, manage transparency effectively, and fine-tune compositions with dynamic configuration options.

💜 Compositor (V3):

The Compositor3 node is designed to facilitate the combination of multiple images into a single composite image, providing a powerful tool for AI artists to create complex visual compositions. This node allows you to pass up to 8 images, along with their optional masks, to be combined seamlessly. The masks are automatically applied, and the compositor internally handles the images as RGBA, ensuring that transparency and masking are managed effectively. The node offers various configuration options, such as padding, width, height, and mask inversion, allowing you to fine-tune the composition to your specific needs. Additionally, the node supports dynamic configuration changes, making it adaptable to different artistic requirements. The primary goal of Compositor3 is to streamline the image compositing process, enabling you to focus on your creative vision without getting bogged down by technical details.

💜 Compositor (V3) Input Parameters:

node_id

This parameter uniquely identifies the node within the composition workflow. It ensures that the correct node is referenced during the compositing process. There are no specific minimum or maximum values for this parameter, as it is typically generated automatically by the system.

imageName

The name of the output image file. This parameter allows you to specify the filename for the composite image. The default value is "new.png". This parameter does not have a minimum or maximum value but should be a valid filename.

config

A dictionary containing various configuration settings for the compositor. This includes:

  • padding: The amount of padding to apply around the composite image. This value can be adjusted to control the spacing between the combined images.
  • invertMask: A boolean flag indicating whether to invert the masks applied to the images. This can be useful for achieving different masking effects.
  • width: The width of the composite image. This value determines the final width of the output image.
  • height: The height of the composite image. This value determines the final height of the output image.
  • node_id: The unique identifier for the configuration node.
  • onConfigChanged: A flag indicating whether the configuration has changed, which can trigger a re-composition of the images.
  • names: A list of names for the input images, used to reference the images during the compositing process.

fabricData

Additional data that may be required for the compositing process. This parameter is optional and can be used to pass any extra information needed for the composition.

💜 Compositor (V3) Output Parameters:

output

A dictionary containing the results of the compositing process. This includes:

  • test: A placeholder value for testing purposes.
  • padding: The padding value used in the composition.
  • width: The width of the composite image.
  • height: The height of the composite image.
  • config_node_id: The unique identifier for the configuration node.
  • node_id: The unique identifier for the compositor node.
  • names: The list of names for the input images.
  • fabricData: Any additional data passed during the compositing process.
  • awaited: The result of the compositing process.
  • configChanged: A flag indicating whether the configuration has changed.
  • onConfigChanged: A flag indicating whether the configuration change has been acknowledged.

💜 Compositor (V3) Usage Tips:

  • Ensure that the input images and their masks are correctly named and referenced in the configuration to avoid any issues during the compositing process.
  • Use the padding parameter to control the spacing between images, which can help in creating a more visually appealing composition.
  • Experiment with the invertMask parameter to achieve different masking effects and enhance the final output.
  • Regularly check the configChanged flag to ensure that any changes in the configuration are properly applied and reflected in the composite image.

💜 Compositor (V3) Common Errors and Solutions:

"Image file not found"

  • Explanation: This error occurs when the specified image file cannot be found in the directory.
  • Solution: Ensure that the image file name is correct and that the file exists in the specified directory.

"Invalid configuration settings"

  • Explanation: This error occurs when the configuration settings provided are invalid or incomplete.
  • Solution: Double-check the configuration dictionary to ensure all required settings are provided and valid.

"Compositing process failed"

  • Explanation: This error occurs when the compositing process encounters an unexpected issue.
  • Solution: Review the input parameters and configuration settings to identify any potential issues. Ensure that all input images and masks are correctly referenced and formatted.

💜 Compositor (V3) Related Nodes

Go back to the extension to check out more related nodes.
Compositor Node
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.