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 enables fast and simple face swapping in images and videos. It streamlines the process of replacing a face in a target image with a face from a source image or a pre-saved face model, while providing tools for face restoration to improve the final quality.

How it works

The extension uses specialized face-swapping models (such as Inswapper, ReSwapper, and HyperSwap) to analyze and replace faces. It can operate using a source image or a saved face embedding (face model). To enhance the results, it includes a built-in face restoration process using models like GPEN or CodeFormer to sharpen details. It also features a nudity detector to prevent the creation of 18+ content.

Who it’s for

It is designed for ComfyUI users who want to perform high-quality face swaps for static images or video frames without needing complex manual setups.

Highlights

  • Multiple Model Support: Supports Inswapper, ReSwapper, and HyperSwap models.
  • Blended Face Models: Ability to build a single face model by blending multiple images of a person for better accuracy.
  • Face Restoration: Integrated tools to restore and scale swapped faces to enhance detail.
  • Face Masking: Includes a Masking Helper node to refine the swapping process.
  • VRAM Management: Provides an "Unload" node to free up VRAM utilized by the extension.

Related

  • Project
  • Project
  • Project
  • Project