TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition

Shilin Lu, Yanzhu Liu, A. Kong
2/14/2026

No official code found. Best implementation: Shilin-LU/TF-ICON (824 stars, MIT, last commit 2025-03-06).

Abstract

Text-driven diffusion models have exhibited impressive generative capabilities, enabling various image editing tasks. In this paper, we propose TF-ICON, a novel Training-Free Image COmpositioN framework that harnesses the power of text-driven diffusion models for cross-domain image-guided composition. This task aims to seamlessly integrate user-provided objects into a specific visual context. Current diffusion-based methods often involve costly instance-based optimization or finetuning of pre-trained models on customized datasets, which can potentially undermine their rich prior. In contrast, TF-ICON can leverage off-the-shelf diffusion models to perform cross-domain image-guided composition without requiring additional training, finetuning, or optimization. Moreover, we introduce the exceptional prompt, which contains no information, to facilitate text-driven diffusion models in accurately inverting real images into latent representations, forming the basis for compositing. Our experiments show that equipping Stable Diffusion with the exceptional prompt outperforms state-of-the-art inversion methods on various datasets (CelebA-HQ, COCO, and ImageNet), and that TF-ICON surpasses prior baselines in versatile visual domains. Code is available at https://github.com/Shilin-LU/TF-ICON

View on arXivView PDF

Code Implementations(1)

Shilin-LU/TF-ICONCommunity100%
MIT

[ICCV 2023] "TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition" (Official Implementation)

824101HTML, PythonJul 23, 20231 years agoMIT
diffusion-modelgenerative-aiimage-compositionimage-inversionstable-diffusion+1 more

Similar Papers

Cite this paper

@article{lu2026tficon,
  title  = {TF-ICON: Diffusion-Based Training-Free Cross-Domain Image Composition},
  author = {Shilin Lu and Yanzhu Liu and A. Kong},
  year   = {2026},
  eprint = {2307.12493},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2307.12493},
  journal = {ICCV 2023 2023}
}

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

Discussion