Lune

AAAI2026顶会

MagicPaint: Operate Anything for Image Inpainting with Diffusion Model

Qinhong Yang, Dongdong Chen, Qi Chu, Tao Gong, Qiankun Liu, Zhentao Tan, Xulin Li, Huamin Feng, Nenghai Yu

摘要

Recent diffusion-based models have significantly improved inpainting quality. However, existing methods struggle with multi-task inpainting due to conflicting optimization objectives, and current datasets are typically limited to taskspecific scenarios, hindering joint training. To address these challenges, we propose MagicPaint, a unified diffusion-based inpainting model that supports object addition, removal, and unconditional inpainting across both text and image modalities. MagicPaint semantically decouples operation types and target content by learnable tokens in our proposed MMToken Module, effectively reconciling conflicting optimization objectives and enabling robust multi-task, multi-modal inpainting. Besides, we use a novel module named MagicMask, encodes operating intent directly into the mask and applies a mask loss for spatially precise supervision. In addition, existing inpainting datasets are insufficient for multi-task and multi-modal scenarios, limiting the capability of inpainting models. Thus, we further introduce a new dataset comprising 2.1M image tuples. It is dedicatedly designed to support diverse inpainting scenarios and significantly improves upon existing datasets, particularly in object removal. Through efforts from both model and data perspectives, MagicPaint enables users to operate anything-add, remove or inpaint content which is specified through either text or image modalities in a seamless and unified manner. Extensive experiments demonstrate that MagicPaint achieves state-of-the-art performance across three key tasks (i.e., text-guided addition, image-guided addition, and object removal) and produces outputs with superior visual consistency and contextual fidelity compared to existing methods.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • High-Resolution Image Synthesis with Latent Diffusion Models 引用了 Free-Form Image Inpainting With Gated Convolution
  • GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
  • RePaint: Inpainting using Denoising Diffusion Probabilistic Models 引用了 GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
  • RePaint: Inpainting using Denoising Diffusion Probabilistic Models 引用了 Free-Form Image Inpainting With Gated Convolution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper23

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
  2. High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser 等CVPR 2022 · 13,123 次引用
  3. GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion ModelsAlexander Quinn Nichol, Prafulla Dhariwal, Aditya Ramesh, Pranav Shyam 等ICML 2022 · 4,691 次引用
  4. Free-Form Image Inpainting With Gated ConvolutionJiahui Yu, Zhe Lin, Jimei Yang, Xiaohui Shen 等ICCV 2019 · 1,990 次引用
  5. RePaint: Inpainting using Denoising Diffusion Probabilistic ModelsAndreas Lugmayr, Martin Danelljan, Andrés Romero, Fisher Yu 等CVPR 2022 · 1,425 次引用

相关 Paper

  1. Paint by Inpaint: Learning to Add Image Objects by Removing Them FirstNavve Wasserman, Noam Rotstein, Roy Ganz, Ron KimmelCVPR 2025
  2. SmartBrush: Text and Shape Guided Object Inpainting with Diffusion ModelShaoan Xie, Zhifei Zhang, Zhe Lin, Tobias Hinz 等CVPR 2023
  3. Uni-paint: A Unified Framework for Multimodal Image Inpainting with Pretrained Diffusion ModelShiyuan Yang, Xiaodong Chen, Jing LiaoACM MM 2023 · 65 次引用
  4. MTADiffusion: Mask Text Alignment Diffusion Model for Object InpaintingJun Huang, Ting Liu, Yihang Wu, Xiaochao Qu 等CVPR 2025
  5. RAA: Achieving Interactive Remove/Add Anything via Fully Synthetic DataDelong Liu, Haotian Hou, Zhaohui Hou, Shihao Han 等AAAI 2026
黄昏的海面,两侧是细线勾勒的悬崖