FlashFace: Human Image Personalization with High-fidelity Identity Preservation

Shilong Zhang, Lianghua Huang, Xi Chen, Yifei Zhang, Zhi-Fan Wu +5 more
3/25/2024
cs.CV

No official code found. Best implementation: nuanarchy/ComfyUI-NuA-FlashFace (26 stars, MIT, last commit 2024-07-31).

Abstract

This work presents FlashFace, a practical tool with which users can easily personalize their own photos on the fly by providing one or a few reference face images and a text prompt. Our approach is distinguishable from existing human photo customization methods by higher-fidelity identity preservation and better instruction following, benefiting from two subtle designs. First, we encode the face identity into a series of feature maps instead of one image token as in prior arts, allowing the model to retain more details of the reference faces (e.g., scars, tattoos, and face shape ). Second, we introduce a disentangled integration strategy to balance the text and image guidance during the text-to-image generation process, alleviating the conflict between the reference faces and the text prompts (e.g., personalizing an adult into a "child" or an "elder"). Extensive experimental results demonstrate the effectiveness of our method on various applications, including human image personalization, face swapping under language prompts, making virtual characters into real people, etc. Project Page: https://jshilong.github.io/flashface-page.

View on arXivView PDF

Code Implementations(1)

MIT

ComfyUI implementation of FlashFace: Human Image Personalization with High-fidelity Identity Preservation

263PythonJun 6, 20242 years agoMIT
comfyuicomfyui-nodes

Similar Papers

Cite this paper

@article{zhang2024flashface,
  title  = {FlashFace: Human Image Personalization with High-fidelity Identity Preservation},
  author = {Shilong Zhang and Lianghua Huang and Xi Chen and Yifei Zhang and Zhi-Fan Wu and Yutong Feng and Wei Wang and Yujun Shen and Yu Liu and Ping Luo},
  year   = {2024},
  eprint = {2403.17008},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.17008v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.17008.svg)](https://codeofpaper.com/paper/2403.17008)

Discussion