Visit ComfyUI Online for ready-to-use ComfyUI environment
Seamlessly integrate, scale, and position foreground images onto backgrounds with precision using a mask for smooth blending and realistic compositions.
The tri3d-scaled-paste
node is designed to seamlessly integrate a foreground image onto a background image, with the ability to scale and position the foreground image precisely. This node is particularly useful for AI artists looking to create composite images where the foreground needs to be adjusted in size and position relative to the background. By utilizing a mask, the node ensures that only the desired parts of the foreground are blended into the background, allowing for smooth transitions and realistic compositions. The node's scaling and positioning capabilities are controlled through parameters that adjust the size and height of the foreground, making it a versatile tool for various artistic applications.
This parameter represents the background image onto which the foreground image will be pasted. It is crucial as it serves as the canvas for the composite image. The dimensions of this image influence the scaling and positioning of the foreground image.
This parameter is the image that will be placed over the background. Its size and content are adjusted based on the scale_factor
and height_factor
to fit seamlessly onto the background image.
The mask_foreground is a grayscale image that determines which parts of the foreground image are visible and which are transparent. This mask is essential for blending the foreground image into the background, ensuring that only the desired areas are visible.
The scale_factor controls the overall scaling of the foreground image. It affects how much the foreground image is enlarged or reduced before being pasted onto the background. A higher scale factor results in a larger foreground image.
The height_factor adjusts the vertical positioning of the foreground image relative to the background. It influences the height at which the foreground image is placed, allowing for precise control over its vertical alignment.
The image_output is the final composite image resulting from the scaled and positioned foreground image being pasted onto the background. This output is a seamless blend of the two images, with the foreground image adjusted according to the specified parameters.
RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.