Face Swapper

CLI Arguments

Face Swapper Model

Choose the model responsible for swapping the face.

Argument: --face-swapper-model

Default: inswapper_128_fp16

Choices:

  • blendswap_256

  • ghost_256_unet_1

  • ghost_256_unet_2

  • ghost_256_unet_3

  • inswapper_128

  • inswapper_128_fp16

  • simswap_256

  • simswap_512_unofficial

  • uniface_256

Example: --face-swapper-model ghost_256_unet_2

Face Swapper Pixel Boost

Choose the pixel boost resolution for the face swapper.

Argument: --face-swapper-pixel-boost

Default: 128x128

Choices:

  • 128x128

  • 256x256

  • 384x384

  • 512x512

  • 768x768

  • 1024x1024

Example: --face-swapper-pixel-boost 512x512

Default Overrides

Modify the facefusion.ini file to override the defaults.

[processors]
face_swapper_model = ghost_256_unet_2
face_swapper_pixel_boost = 512x512