> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rubbrband.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Face Swap Node

> Learn about Rubbrband's Face Swap Node

## Face Swap Node

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

![](https://rubbrband-static-assets-buckets.s3.us-east-1.amazonaws.com/docs/images/faceswap.jpg)

**Inputs**

<ResponseField name="Base Image" type="image" required>
  The image with the subject whose face will be changed.
</ResponseField>

<ResponseField name="New Face" type="image" required>
  A picture of the new face that will be substituted into the base image.
</ResponseField>

<ResponseField name="Face Location Mask" type="mask" required={false}>
  A mask specifying which face in the base image should be swapped when multiple faces are present.
</ResponseField>

**Settings**

<ResponseField name="Codeformer Weight" type="number">
  The strength of the face replacement. If increased, the output image's face
  will look more similar to the new face.
</ResponseField>

<ResponseField name="Face Restore Visibility" type="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.
</ResponseField>

**Outputs**

<ResponseField name="Image">
  The output image, which is the same as the base image with the new face on it.
</ResponseField>
