What is ReActor?
Face swap has been around for years in the form of deepfakes, but back then you had to collect hundreds of face images of the same person and train on them.
ReActor (more precisely, its core, InsightFace) can swap the face in another image or video using just one face photo as a reference.
More flexible diffusion-based ID transfer methods have appeared since then, but ReActor is still widely used because it's relatively lightweight and, in a good way, inflexible and stable.
Custom Node & Installation
Installation Method
This node is a bit tricky to set up: installing it from ComfyUI Manager alone won't make it work.
- Install the ReActor node from ComfyUI Manager.
- Run
install.batlocated inComfyUI/custom_nodes/ComfyUI-ReActor. - For Windows users: This alone isn't enough; you also need to install InsightFace separately.
- For details, see How to install InsightFace
- Restart ComfyUI.
FaceSwap (inswapper)
For a basic FaceSwap, you just feed the "original image" and a "reference face image" into the ReActor node.

input_image- Connect the original image whose face you want to swap.
source_image- Connect the reference face image (e.g., a single face photo).
Key Parameters
face_restore_model- If you select
GFPGANv1.3, GFPGAN face restoration will be applied after FaceSwap. inswapperresizes the face to a 128px square for processing, so details get lost easily on their own. That's why post-processing like this matters.- That said, keep in mind that the face tends to end up looking flat and featureless.
- If you select
detect_gender_input/detect_gender_source- Whether to automatically detect the gender of the input/source images.
- If the result looks unnatural due to gender differences, try toggling these ON/OFF.
input_faces_index- If there are multiple faces in the
input_image, specify which face to target. - Think of
0as the first face found,1as the second, and so on. - List several separated by commas, like
0,1, to swap multiple people at once.
- If there are multiple faces in the
source_faces_index- If there are multiple faces in the
source_image, specify which face to use, similar toinput_faces_index.
- If there are multiple faces in the
Using Another FaceSwap Model (HyperSwap)
The inswapper model used above is fairly old, and on top of that, its developer has withheld the high-resolution version out of concern for its social impact.
There are several alternative models, but let's try HyperSwap developed by FaceFusion Labs.
Here is an example using hyperswap_1a_256.onnx.
Model Download
- Download hyperswap_1a_256.onnx.
- Place it in the following location:
📂ComfyUI/ └── 📂models/ └── 📂hyperswap/ <-- Create this folder └── hyperswap_1a_256.onnx
Workflow Settings

- Change the
swap_modelof the ReActor node tohyperswap_1a_256.
About NSFW Filter
To keep the repository from being taken down, ReActor has a built-in filter for NSFW images. So if you use an image with NSFW content, it gets rejected.
I won't go into detail, but there are simple ways around it. ( Detailer might come in handy... maybe. )