GitHub radar

Swap a face in a photo right in your browser — no install

A website swaps a face onto any photo: upload two images and get a finished result in minutes.

01hugging-apps/bfs-best-face-swap 627image-to-image

It's a web page (a Hugging Face Space) that transfers a face from one photo onto another photo's background using AI.

When it helps

Handy for creative face-swap edits without installing software; not reliable for faking faces from arbitrary photos — quality depends heavily on the source images.

Pros

  • Runs in your browser, nothing to install on your computer.
  • Has a fast mode (Viggle turbo): result in 6 steps.
  • Simple input — just two images, no settings to tweak.

Cons

  • Result quality depends on the source photos' angle and clarity.
  • Don't use it without consent from the person whose face you swap.
  • Not reliable for generating convincing fakes from arbitrary input photos.

How to set it up — step by step

  1. 1Open an AI agent (Claude Code, Codex, etc.) in your project folder.
  2. 2Send the agent the text from the block below.
  3. 3Wait for the agent to open the Space and explain how to upload photos.
  4. 4Prepare two photos: one with the face you want, one with the background scene.
  5. 5Upload the photos on the Space page and run the generation.
  6. 6Check the result and only use it with the pictured person's consent.

Text for your agent

Copy this and send it to your agent — Claude Code, Codex, any of them:

Open this space https://huggingface.co/spaces/hugging-apps/bfs-best-face-swap and show me how to upload two photos and get a face swap — explain what it does and what it runs on.

Nothing to install — it runs in the browser.

Open on Hugging Face