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

ComfyUI Node: 💜 Compositor Config (V3)

Class Name

CompositorConfig3

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 Config (V3) Description

Facilitates image compositing tasks with up to 8 images, masks, sizing controls, and pause feature for precise composition control in ComfyUI.

💜 Compositor Config (V3):

The CompositorConfig3 node is designed to facilitate the configuration of image compositing tasks within the ComfyUI environment. This node allows you to pass up to 8 images, along with their optional masks, to create complex compositions. The masks can be inverted if needed, and they are automatically applied to the images, converting them into RGBA format internally. The node provides various sizing controls to configure the compositor, ensuring that the composition is resized appropriately during execution. Additionally, it includes a pause flag that allows you to take your time building the composition, as the pause acts on the compositor rather than the configuration node. This node is particularly useful for AI artists looking to create intricate image compositions with precise control over the layout and masking of individual elements.

💜 Compositor Config (V3) Input Parameters:

config

The config parameter is a required input that specifies the configuration settings for the compositor. It includes various attributes such as padding, invertMask, width, height, node_id, onConfigChanged, and names. These settings control the overall behavior and appearance of the composition. For example, padding determines the space between images, invertMask specifies whether the masks should be inverted, and width and height define the dimensions of the composition. The node_id and onConfigChanged attributes are used for internal tracking and updating the configuration. The names attribute lists the input images to be used in the composition. This parameter ensures that the compositor operates with the desired settings, allowing for precise control over the final output.

fabricData

The fabricData parameter is a required input that accepts a JSON string containing additional data for the composition. This data can include various attributes and settings that further customize the behavior of the compositor. The default value for this parameter is an empty JSON object ({}). This parameter allows for advanced customization and fine-tuning of the composition, enabling you to achieve specific effects and configurations that are not covered by the basic settings.

imageName

The imageName parameter is a required input that specifies the name of the output image file. The default value for this parameter is "new.png". This parameter determines the filename under which the final composed image will be saved, allowing you to easily identify and manage the output files.

tools

The tools parameter is an optional input that accepts a boolean value. The default value for this parameter is True. This parameter determines whether additional tools and utilities should be enabled for the composition process. Enabling tools can provide extra functionality and options for fine-tuning the composition, making it easier to achieve the desired results.

extra_pnginfo

The extra_pnginfo parameter is a hidden input that stores additional metadata for the output image. This metadata can include various attributes and settings that are not directly visible but are used internally by the compositor. This parameter ensures that all necessary information is preserved and included in the final output.

node_id

The node_id parameter is a hidden input that stores a unique identifier for the node. This identifier is used internally to track and manage the node's state and configuration. This parameter ensures that the node operates correctly within the ComfyUI environment, maintaining consistency and accuracy in the composition process.

💜 Compositor Config (V3) Output Parameters:

config

The config output parameter provides the configuration settings used by the compositor. This includes attributes such as padding, invertMask, width, height, node_id, onConfigChanged, and names. The config output allows you to review and verify the settings applied to the composition, ensuring that the desired configuration has been correctly implemented.

💜 Compositor Config (V3) Usage Tips:

  • Utilize the padding setting to control the spacing between images in your composition, ensuring a balanced and visually appealing layout.
  • Experiment with the invertMask option to achieve different masking effects, allowing for creative and unique compositions.
  • Use the width and height settings to define the dimensions of your composition, ensuring that the final output meets your specific requirements.
  • Take advantage of the pause flag to give yourself time to build and adjust your composition without rushing, ensuring that you achieve the desired results.

💜 Compositor Config (V3) Common Errors and Solutions:

"Invalid configuration settings"

  • Explanation: This error occurs when the provided configuration settings are not valid or incomplete.
  • Solution: Ensure that all required attributes (padding, invertMask, width, height, node_id, onConfigChanged, and names) are included in the config parameter and have valid values.

"Image file not found"

  • Explanation: This error occurs when the specified image file cannot be found in the provided path.
  • Solution: Verify that the imageName parameter is correct and that the image file exists in the specified location.

"Invalid JSON format in fabricData"

  • Explanation: This error occurs when the fabricData parameter contains an invalid JSON string.
  • Solution: Ensure that the fabricData parameter is a valid JSON string. You can use online JSON validators to check the format.

"Node ID mismatch"

  • Explanation: This error occurs when there is a mismatch in the node ID used for tracking the configuration.
  • Solution: Ensure that the node_id parameter is correctly set and matches the expected value used internally by the compositor.

💜 Compositor Config (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.