Gourieff/ComfyUI-ReActor

Fast and Simple Face Swap Extension Node for ComfyUI (SFW)

What it solves

ReActor is a set of nodes for ComfyUI that provides a fast and simple way to perform face swapping in images and videos. It allows users to replace a face in a target image with a face from a source image or a pre-saved face model, while maintaining high likeness and quality.

How it works

The project uses various face-swapping models (such as Inswapper, ReSwapper, and HyperSwap) and integrates them into ComfyUI's node-based workflow. It includes a nudity detector to ensure SFW-friendly use. The system can detect faces, swap them based on index or gender, and apply post-processing restoration to improve the final result.

Who it’s for

It is designed for ComfyUI users who want to integrate high-quality face swapping into their generative AI workflows, including those creating live avatars or processing video frames.

Highlights

  • Multiple Model Support: Supports Inswapper, ReSwapper, and HyperSwap models for different results.
  • Face Restoration: Includes advanced restoration nodes (GPEN, CodeFormer) to enhance swapped faces.
  • Blended Face Models: Ability to build and save blended face models from multiple images to increase accuracy.
  • NVIDIA DLSS 5 Integration: A dedicated node for enhancing image and face quality using NVIDIA's latest DLSS 5 technology.
  • Face Masking: A Masking Helper node that uses YOLOv8 and SAM to refine the swapping process.
  • SFW-Friendly: Built-in nudity detector to prevent the creation of 18+ content.

Related

  • Project
  • Project
  • Project
  • Project
  • Project