ComfyOnline
FC-FaceFusion

Introduction:

The FCFaceFusion node in ComfyUI-FaceChain allows you to seamlessly fuse a source image with a fusion image, effectively transferring facial features from one image to another. This is achieved using the face_fusion function from the facechain.utils.img_utils module.

FCFaceFusion Input:

The FCFaceFusion node requires the following inputs:

  • source_image (IMAGE): The image containing the source face that you want to transfer.
  • fusion_image (IMAGE): The image onto which you want to apply the facial features from the source image.

FCFaceFusion Output:

The FCFaceFusion node produces a single output:

  • IMAGE: A new image where the face from the source_image has been fused onto the fusion_image.

FCFaceFusion Usage Tips:

  • Ensure that both input images contain clear facial features for optimal fusion results.
  • Experiment with different source and fusion images to achieve the desired effect.
  • Consider pre-processing images (e.g., aligning faces) for better fusion quality.
  • The node leverages tensor_to_img and image_np_to_image_tensor to convert between tensor and PIL image formats, ensuring compatibility with other ComfyUI nodes.

related extension: