TKG-DM: Training-free Chroma Key Content Generation Diffusion Model

Ryugo Morita, Stanislav Frolov, Brian B. Moser, Takahiro Shirakawa, Kousuke Watanabe +2 more
11/1/2024

No official code found. Best implementation: ryugo417/TKG-DM (15 stars, last commit 2025-04-09).

Abstract

Diffusion models have enabled the generation of high-quality images with a strong focus on realism and textual fidelity. Yet, large-scale text-to-image models, such as Stable Diffusion, struggle to generate images where foreground objects are placed over a chroma key background, limiting their ability to separate foreground and background elements without fine-tuning. To address this limitation, we present a novel Training-Free Chroma Key Content Generation Diffusion Model (TKG-DM), which optimizes the initial random noise to produce images with foreground objects on a specifiable color background. Our proposed method is the first to explore the manipulation of the color aspects in initial noise for controlled background generation, enabling precise separation of foreground and background without fine-tuning. Extensive experiments demonstrate that our training-free method outperforms existing methods in both qualitative and quantitative evaluations, matching or surpassing fine-tuned models. Finally, we successfully extend it to other tasks (e.g., consistency models and text-to-video), highlighting its transformative potential across various generative applications where independent control of foreground and background is crucial.

View on arXivView PDF

Code Implementations(1)

ryugo417/TKG-DMCommunity100%
152PythonApr 9, 20251 years ago

Similar Papers

Cite this paper

@article{morita2024tkgdm,
  title  = {TKG-DM: Training-free Chroma Key Content Generation Diffusion Model},
  author = {Ryugo Morita and Stanislav Frolov and Brian B. Moser and Takahiro Shirakawa and Kousuke Watanabe and Andreas Dengel and Jinjia Zhou},
  year   = {2024},
  eprint = {2411.15580},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.15580},
  journal = {CVPR 2024 2024}
}

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

Discussion