Sign In

Workflow of ComfyUI ReActor - Fast Face Swap

56
1.9k
23
Type
Workflows
Stats
1,933
Reviews
Published
Feb 25, 2024
Base Model
SD 1.5
Hash
AutoV2
BE68B2CF6D
default creator card background decoration
RunComfy's Avatar
RunComfy

ComfyUI Reactor Workflow for Face Swap

You can easily run ComfyUI workflows in RunComfy, a cloud-based platform tailored specifically for ComfyUI. All essential nodes and models are pre-set and ready for immediate use!

Plus, you'll find plenty of other great ComfyUI Workflows on the RunComfy website.

Introduction of ComfyUI ReActor

This ComfyUI workflow excels in executing advanced face swaps across images, videos, or animations. It utilizes nodes such as "ReActorFaceSwap," incorporating models like "inswapper_128.onnx," "retinaface_resnet50," and "codeformer.pth" for accurate face detection and replacement. This functionality extends to both individual and multiple characters, offering various settings for source and target images, including model intensity and swap adjustments. It's tailored for generating realistic and flawless face swaps in multimedia content.

Features of ComfyUI ReActor

  • Node-Based System: At its core, ComfyUI ReActor features essential nodes:

    • ReActorFaceSwap (Main Node): Central to face swapping operations.

    • ReActorLoadFaceModel: For loading face models.

    • ReActorSaveFaceModel: Enables model saving for later use. These nodes interlink to perform sophisticated face swap tasks effortlessly.

  • Flexible Input/Output Handling:

    • Inputs: Accepts multiple input forms, with input_image for the target and source_image for the face(s) to be swapped.

    • Outputs: Produces the swapped image and the source face's model (face_model), suitable for any image-requiring nodes or those specific to model saving.

  • Enhanced Face Restoration: Built-in face restoration feature significantly improves the detail and quality of swapped faces.

  • Simplified Face Indexing: Offers an easy method for detecting and ordering faces within images, facilitating the swap process by indexing faces in both source and target images.

  • Gender-Based Swapping: Supports gender-specific face swapping for more accurate and appropriate outcomes.

  • Streamlined Face Model Management: Allows for efficient saving and loading of face models as "safetensors" files, improving the tool's performance and adaptability in various face swapping scenarios.

For more information, check it on ComfyUI Reactor for Face Swap Tutorial