Face Swap Node

The face swap node takes applies a particular face to the subject of another image.

Inputs

Base Image
image
required

The image with the subject whose face will be changed.

New Face
image
required

A picture of the new face that will be substituted into the base image.

Face Location Mask
mask

A mask specifying which face in the base image should be swapped when multiple faces are present.

Settings

Codeformer Weight
number

The strength of the face replacement. If increased, the output imageโ€™s face will look more similar to the new face.

Face Restore Visibility
number

After the face swap is done, the AI tries to make sure that the generated face looks normal. Increasing this improves the realism of the face, but may make the output image stray from being identical to the new face.

Outputs

Image

The output image, which is the same as the base image with the new face on it.