Skip to content

Inpainting with FaceSwap

David Sage edited this page Jun 19, 2026 · 5 revisions
Load the Source into Image Prompt

Inpainting with "Mix Image Prompt & Inpaint" FaceSwap

FaceSwap, the technique for superimposing the face from a reference image onto the subject of another, can be done using the Image Prompt tools alone. But using the "Mix Image Prompt & Inpaint" option in the Inpainter can be an efficent and effective option.

First, select the Input Image checkbox under the main canvas, then select the Image Prompt tab. Load the reference image containing the face you want to use as the source onto an Image Prompt canvas (the other Image Prompt canvases should be empty). Select the Advanced Control checkbox, then select the FaceSwap option from the radio buttons below the source image, as shown in the image above. In most cases the default values for "Stop At" and "Weight" will be fine.

Mix Image Prompt and Inpaint

Load the Subject and Mask the Face

Select the Inpaint and Outpaint tab then load the destination image, containing the subject who will receive the new face, onto the canvas. Use the Inpaint brush to mask the subject's face, as shown above. In this example the "Improve Detail (face, hand, eyes, etc.)" Inpaint method is in use.

Make sure that the "Mix Image Prompt & Inpaint" checkbox is selected. This ensures that the reference image is actually used to change the face. Unless you want to modify the new face in some way, the prompt fields can be left blank.

Auto-Mask with Sam Face Detection

The Auto-Masking Alternative

Instead of Inpainting manually, if you select the Advance Options checkbox, automatic masking can be used. For selecting the face only, use the "sam" Segment Anything Model with the "face" detection prompt, as shown in the example above. But for facial masking the manual method is usually more efficient.

Inpaint Faceswap with Detail

Inpaint Faceswap Results

Ensure that the Inpaint and Outpaint tab is still active, then press Generate to make FooocusPlus make one or images with the new face. I have included an example above.

If you prefer a stronger replacement effect, try the "Inpaint Default (blend) or Outpaint (extend)" Method, instead of "Improve Detail", as shown below.

Inpaint Faceswap with Blend

Clone this wiki locally