Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models

Siyuan Yang, Lu Zhang, Liqian Ma, Yu Liu, JingJing Fu +1 more
10/4/2023
cs.CV

No official code found. Best implementation: mycfhs/Magicremover (0 stars, last commit 2025-05-13).

Abstract

Image inpainting aims to fill in the missing pixels with visually coherent and semantically plausible content. Despite the great progress brought from deep generative models, this task still suffers from i. the difficulties in large-scale realistic data collection and costly model training; and ii. the intrinsic limitations in the traditionally user-defined binary masks on objects with unclear boundaries or transparent texture. In this paper, we propose MagicRemover, a tuning-free method that leverages the powerful diffusion models for text-guided image inpainting. We introduce an attention guidance strategy to constrain the sampling process of diffusion models, enabling the erasing of instructed areas and the restoration of occluded content. We further propose a classifier optimization algorithm to facilitate the denoising stability within less sampling steps. Extensive comparisons are conducted among our MagicRemover and state-of-the-art methods including quantitative evaluation and user study, demonstrating the significant improvement of MagicRemover on high-quality image inpainting. We will release our code at https://github.com/exisas/Magicremover.

View on arXivView PDF

Code Implementations(1)

Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models

00PythonMay 13, 20251 years ago

Similar Papers

Cite this paper

@article{yang2023magicremover,
  title  = {Magicremover: Tuning-free Text-guided Image inpainting with Diffusion Models},
  author = {Siyuan Yang and Lu Zhang and Liqian Ma and Yu Liu and JingJing Fu and You He},
  year   = {2023},
  eprint = {2310.02848},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.02848v1}
}

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

Discussion