Visit ComfyUI Online for ready-to-use ComfyUI environment
Facilitates image compositing tasks with up to 8 images, masks, sizing controls, and pause feature for precise composition control in ComfyUI.
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.
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.
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.
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.
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.
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.
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.
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.
padding
setting to control the spacing between images in your composition, ensuring a balanced and visually appealing layout.invertMask
option to achieve different masking effects, allowing for creative and unique compositions.width
and height
settings to define the dimensions of your composition, ensuring that the final output meets your specific requirements.config
parameter and have valid values.imageName
parameter is correct and that the image file exists in the specified location.fabricData
parameter contains an invalid JSON string.fabricData
parameter is a valid JSON string. You can use online JSON validators to check the format.node_id
parameter is correctly set and matches the expected value used internally by the compositor.© Copyright 2024 RunComfy. All Rights Reserved.