ComfyUI face swap tutorial with ReActor and crop masking
Learn to swap selected faces in ComfyUI with crop masks, tune ReActor restoration, and edit expressions with Advanced Live Portrait.
Player not loading? Watch on YouTube
This ComfyUI tutorial covers part three of the creator's SDXL workflow: swapping selected faces in a group image and editing their expressions. It combines ReActor with Inpaint Crop & Stitch so the user can mask a face instead of choosing it through numerical indexes. The creator prefers swapping faces one at a time because index detection can produce unexpected selections.
The walkthrough starts with importing the downloadable JSON workflow and resolving missing custom nodes. ReActor requires InsightFace, whose installation the speaker says involves more than selecting a node in the manager. Separate installation videos and the earlier workflow parts provide prerequisite guidance.
For images with multiple faces, users enable the crop and stitch nodes, mask the target, and load a source face. The creator leaves those nodes bypassed for a single-face image. A two-character example shows how to reuse the first swap's output for the second face.
Restoration needs adjustment to suit the base image. The speaker generally prefers GFPGAN 1.4, but finds that boosting and restoration make one example's face too sharp for the lower-resolution body, so bypasses both. Advanced Live Portrait then adjusts head direction and expression. A final ReActor restoration step is intended to recover facial detail lost during expression editing.