Visit ComfyUI Online for ready-to-use ComfyUI environment
Blend foreground onto background image with mask for AI artists to create composite images with positioning, scaling, and blending options.
The CompositeImages_
node is designed to seamlessly blend a foreground image onto a background image using a specified mask. This node is particularly useful for AI artists who want to create composite images by layering different visual elements together. It offers flexibility in terms of positioning, scaling, and blending modes, allowing you to achieve a variety of artistic effects. By using this node, you can control how the foreground image is integrated with the background, whether through simple overlay or more complex blending techniques, enhancing your creative workflow.
The foreground
parameter accepts any type of image that you want to overlay onto the background. This is the primary visual element that will be composited onto the background image.
The mask
parameter specifies the mask to be used for blending the foreground and background images. The mask determines which parts of the foreground image will be visible and how they will blend with the background. It is essential for achieving precise and controlled compositing effects.
The background
parameter is the image onto which the foreground image will be composited. This serves as the base layer in the composite image.
The is_multiply_blend
parameter is an optional boolean that determines whether to use a multiply blend mode for the compositing. The default value is False
. When set to True
, the foreground and background images will be blended using the multiply blend mode, which can create darker and more intense composite effects.
The position
parameter allows you to specify the placement of the foreground image on the background. It offers several options: overall
, center_center
, left_bottom
, center_bottom
, right_bottom
, left_top
, center_top
, and right_top
. This parameter helps you control the alignment and positioning of the foreground image within the composite.
The scale
parameter is a float value that determines the scaling factor for the foreground image. It has a default value of 0.35
, with a minimum value of 0.01
and a maximum value of 1
. The scale parameter allows you to resize the foreground image to fit better within the background, providing flexibility in the final composition.
The IMAGE
output parameter is the resulting composite image after blending the foreground and background images using the specified mask and other parameters. This output is the final visual product that you can use in your creative projects.
position
settings to see how the placement of the foreground image affects the overall composition.scale
parameter to adjust the size of the foreground image, ensuring it fits well with the background.is_multiply_blend
parameter to see the difference between normal and multiply blend modes, and choose the one that best suits your artistic vision.position
parameter.overall
, center_center
, left_bottom
, center_bottom
, right_bottom
, left_top
, center_top
, or right_top
.© Copyright 2024 RunComfy. All Rights Reserved.