ComfyUI > Nodes > Bmad Nodes > SeamlessClone

ComfyUI Node: SeamlessClone

Class Name

SeamlessClone

Category
Bmad/CV/C.Photography
Author
bmad4ever (Account age: 3591days)
Extension
Bmad Nodes
Latest Updated
2024-08-02
Github Stars
0.05K

How to Install Bmad Nodes

Install this extension via the ComfyUI Manager by searching for Bmad Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Bmad Nodes 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

SeamlessClone Description

Seamless blending of images with advanced cloning techniques for natural composite creation in digital artwork.

SeamlessClone:

The SeamlessClone node is designed to seamlessly blend a source image into a destination image, creating a natural and cohesive composite. This node leverages advanced cloning techniques to ensure that the inserted image appears as an integral part of the background, without visible seams or artifacts. It is particularly useful for tasks such as photo retouching, object insertion, and creative image manipulation, where maintaining the visual consistency of the final image is crucial. By using different cloning modes, you can achieve various effects, from simple blending to more complex color and texture transfers, making this node a versatile tool for AI artists looking to enhance their digital artwork.

SeamlessClone Input Parameters:

dst

The destination image where the source image will be blended. This is the background image that will receive the new content. The quality and resolution of this image will directly affect the final output.

src

The source image that you want to blend into the destination image. This image will be inserted into the destination image at a specified location. Ensure that the source image is of high quality and matches the context of the destination image for the best results.

src_mask

A mask image that defines the region of the source image to be blended. The mask should be a binary image where the white areas represent the parts of the source image to be included in the blend, and the black areas represent the parts to be excluded. This allows for precise control over which parts of the source image are used.

flag

This parameter determines the cloning mode to be used. The available options are "NORMAL", "MIXED", and "MONO". "NORMAL" mode performs a straightforward blend, "MIXED" mode combines the texture of the source and destination images, and "MONO" mode transfers the monochrome information. The default value is "NORMAL".

cx

The x-coordinate of the center point where the source image will be placed in the destination image. This value allows you to control the horizontal positioning of the blend. The default value is 0, and it can be adjusted to any integer value to fit your specific needs.

cy

The y-coordinate of the center point where the source image will be placed in the destination image. This value allows you to control the vertical positioning of the blend. The default value is 0, and it can be adjusted to any integer value to fit your specific needs.

SeamlessClone Output Parameters:

IMAGE

The output is a single image that represents the result of the seamless cloning operation. This image will be a composite of the source and destination images, blended together according to the specified mask and cloning mode. The output image should appear natural and cohesive, with the source image seamlessly integrated into the destination image.

SeamlessClone Usage Tips:

  • Ensure that the source and destination images have similar lighting and color tones for a more natural blend.
  • Use a well-defined mask to precisely control which parts of the source image are included in the blend.
  • Experiment with different cloning modes to achieve various artistic effects and find the one that best suits your project.
  • Adjust the cx and cy parameters to fine-tune the positioning of the source image within the destination image.

SeamlessClone Common Errors and Solutions:

"Invalid mask image"

  • Explanation: The mask image provided is not a valid binary image.
  • Solution: Ensure that the mask image is a binary image with white areas representing the parts to be included and black areas representing the parts to be excluded.

"Source and destination image size mismatch"

  • Explanation: The source and destination images have different dimensions.
  • Solution: Make sure that the source and destination images have compatible dimensions or resize them accordingly before using the node.

"Invalid cloning mode"

  • Explanation: The specified cloning mode is not recognized.
  • Solution: Use one of the valid cloning modes: "NORMAL", "MIXED", or "MONO". Check for any typos or incorrect values in the flag parameter.

SeamlessClone Related Nodes

Go back to the extension to check out more related nodes.
Bmad Nodes
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.