CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models

Qinghe Wang, Baolu Li, Xiaomin Li, Bing Cao, Liqian Ma +2 more
4/24/2024
cs.CV

No official code found. Best implementation: qinghew/CharacterFactory (222 stars, Apache-2.0, last commit 2026-02-09).

Abstract

Recent advances in text-to-image models have opened new frontiers in human-centric generation. However, these models cannot be directly employed to generate images with consistent newly coined identities. In this work, we propose CharacterFactory, a framework that allows sampling new characters with consistent identities in the latent space of GANs for diffusion models. More specifically, we consider the word embeddings of celeb names as ground truths for the identity-consistent generation task and train a GAN model to learn the mapping from a latent space to the celeb embedding space. In addition, we design a context-consistent loss to ensure that the generated identity embeddings can produce identity-consistent images in various contexts. Remarkably, the whole model only takes 10 minutes for training, and can sample infinite characters end-to-end during inference. Extensive experiments demonstrate excellent performance of the proposed CharacterFactory on character creation in terms of identity consistency and editability. Furthermore, the generated characters can be seamlessly combined with the off-the-shelf image/video/3D diffusion models. We believe that the proposed CharacterFactory is an important step for identity-consistent character generation. Project page is available at: https://qinghew.github.io/CharacterFactory/.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[TIP 2025] CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models 🔥

22221Python, Jupyter NotebookApr 24, 20248 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2024characterfactory,
  title  = {CharacterFactory: Sampling Consistent Characters with GANs for Diffusion Models},
  author = {Qinghe Wang and Baolu Li and Xiaomin Li and Bing Cao and Liqian Ma and Huchuan Lu and Xu Jia},
  year   = {2024},
  eprint = {2404.15677},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15677v2}
}

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

Discussion