StableIdentity: Inserting Anybody into Anywhere at First Sight

Qinghe Wang, Xu Jia, Xiaomin Li, Taiqing Li, Liqian Ma +2 more
1/29/2024
cs.CV

No official code found. Best implementation: qinghew/StableIdentity (258 stars, MIT, last commit 2024-12-26).

Abstract

Recent advances in large pretrained text-to-image models have shown unprecedented capabilities for high-quality human-centric generation, however, customizing face identity is still an intractable problem. Existing methods cannot ensure stable identity preservation and flexible editability, even with several images for each subject during training. In this work, we propose StableIdentity, which allows identity-consistent recontextualization with just one face image. More specifically, we employ a face encoder with an identity prior to encode the input face, and then land the face representation into a space with an editable prior, which is constructed from celeb names. By incorporating identity prior and editability prior, the learned identity can be injected anywhere with various contexts. In addition, we design a masked two-phase diffusion loss to boost the pixel-level perception of the input face and maintain the diversity of generation. Extensive experiments demonstrate our method outperforms previous customization methods. In addition, the learned identity can be flexibly combined with the off-the-shelf modules such as ControlNet. Notably, to the best knowledge, we are the first to directly inject the identity learned from a single image into video/3D generation without finetuning. We believe that the proposed StableIdentity is an important step to unify image, video, and 3D customized generation models.

View on arXivView PDF

Code Implementations(1)

MIT

[TMM 2025] StableIdentity: Inserting Anybody into Anywhere at First Sight 🔥

2589Shell, PythonJan 30, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2024stableidentity,
  title  = {StableIdentity: Inserting Anybody into Anywhere at First Sight},
  author = {Qinghe Wang and Xu Jia and Xiaomin Li and Taiqing Li and Liqian Ma and Yunzhi Zhuge and Huchuan Lu},
  year   = {2024},
  eprint = {2401.15975},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.15975v1}
}

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/2401.15975.svg)](https://codeofpaper.com/paper/2401.15975)

Discussion