FaceFusion

Package

Open-source face swap app for images and video that runs on your own GPU

Price
Free, OpenRAIL-AS license
Access
None, runs locally

About

FaceFusion is a Python app (web UI, headless CLI, batch jobs) that swaps faces in images and video on CUDA, CoreML, DirectML or CPU. OpenRAIL-AS restricts uses and a built-in analyser blocks NSFW frames. The default swap model is research-only; the ghost models are Apache-2.0.

What you can do with it

  • Swap a consenting person's face into images or videos on your own GPU
  • Batch face swaps from the command line with headless and job modes
  • Run face swaps offline, with a built-in filter that refuses NSFW content

Get started

  1. Create a Python 3.12 conda env and clone the repo
  2. Run python install.py default, or cuda@12 for NVIDIA GPUs
  3. Run headless-run with source, target and output paths

Example

git clone https://github.com/facefusion/facefusion && cd facefusion
python install.py default
python facefusion.py headless-run -s my_face.jpg -t clip.mp4 -o swapped.mp4 \
  --processors face_swapper --face-swapper-model ghost_2_256

Details

Hosting
Self-hosted, Runs locally
Available in
Worldwide
MCP server
None

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .