mlsanityData to 7 Oct 2026

SmartBrush: Text and Shape Guided Object Inpainting with Diffusion Model

arXiv 2212.05034 ↗First posted 9 Dec 2022cs.CVcited by 276

On the map: Diffusion models → 3D, point cloud and scene generation

Abstract (arXiv)

Generic image inpainting aims to complete a corrupted image by borrowing surrounding information, which barely generates novel content. By contrast, multi-modal inpainting provides more flexible and useful controls on the inpainted content, eg, a text prompt can be used to describe an object with richer attributes, and a mask can be used to constrain the shape of the inpainted object rather than being only considered as a missing area. We propose a new diffusion-based model named SmartBrush for completing a missing region with an object using both text and shape-guidance. While previous work such as DALLE-2 and Stable Diffusion can do text-guided inapinting they do not support shape guidance and tend to modify background texture surrounding the generated object. Our model incorporates both text and shape guidance with precision control. To preserve the background better, we propose a novel training and sampling strategy by augmenting the diffusion U-net with object-mask prediction. Lastly, we introduce a multi-task training strategy by jointly training inpainting with text-to-image generation to leverage more training data. We conduct extensive experiments showing that our model outperforms all baselines in terms of visual quality, mask controllability, and background preservation.

Key facts. Cited by 276 papers in the map (data through 7 Oct 2026). Placed in 3D, point cloud and scene generation, one of 14 directions in Diffusion models. Builds on 28 of its 32 references that are in the map. First posted on arXiv 9 Dec 2022.

Builds on

28 of 32 references.

Closest ancestors · 1

Same direction, newest first

  1. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Models24 Jan

Other references · 27

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2020Denoising Diffusion Implicit Modelscited by 9,655
  6. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  7. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,322
  9. 2022Classifier-Free Diffusion Guidancecited by 5,717
  10. 2022BLIP: Bootstrapping Language-Image Pre-training for Unified Vision-Language Understanding and Generationcited by 4,310
  11. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  12. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
15 more
  1. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,595
  2. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,409
  3. 2021SDEdit: Guided Image Synthesis and Editing with Stochastic Differential Equationscited by 1,903
  4. 2022Imagen Video: High Definition Video Generation with Diffusion Modelscited by 1,765
  5. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  6. 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,172
  7. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,155
  8. 2021Blended Diffusion for Text-driven Editing of Natural Imagescited by 924
  9. 2022Pseudo Numerical Methods for Diffusion Models on Manifoldscited by 695
  10. 2022DiffEdit: Diffusion-based semantic image editing with mask guidancecited by 643
  11. 2022Blended Latent Diffusioncited by 430
  12. 2022EGSDE: Unpaired Image-to-Image Translation via Energy-Guided Stochastic Differential Equationscited by 172
  13. 2022Pretraining is All You Need for Image-to-Image Translationcited by 160
  14. 2021Paint by Wordcited by 107
  15. 2022Shape-guided Object Inpaintingcited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 58; 2024: 104; 2025: 82; 2026: 32.

276 papers.

Sort:

By area:

  1. 2024Improved Distribution Matching Distillation for Fast Image Synthesiscited by 648
  2. 2023VideoComposer: Compositional Video Synthesis with Motion Controllabilitycited by 461
  3. 2023AnyDoor: Zero-shot Object-level Image Customizationcited by 411
  4. 2023Emu Edit: Precise Image Editing via Recognition and Generation Taskscited by 321
  5. 2023Composer: Creative and Controllable Image Synthesis with Composable Conditionscited by 303
  6. 2024StoryDiffusion: Consistent Self-Attention for Long-Range Image and Video Generationcited by 240
  7. 2023DMV3D: Denoising Multi-View Diffusion using 3D Large Reconstruction Modelcited by 213
  8. 2024Diffusion Model-Based Image Editing: A Surveycited by 212
  9. 2024BrushNet: A Plug-and-Play Image Inpainting Model with Decomposed Dual-Branch Diffusioncited by 200
  10. 2023A Task is Worth One Word: Learning with Task Prompts for High-Quality Versatile Image Inpaintingcited by 168
  11. 2024Stable Flow: Vital Layers for Training-Free Image Editingcited by 111
  12. 2024Adaptive Caching for Faster Video Generation with Diffusion Transformerscited by 100
38 more
  1. 2023Diffusion Models for Imperceptible and Transferable Adversarial Attackcited by 93
  2. 2023AVID: Any-Length Video Inpainting with Diffusion Modelcited by 81
  3. 2023Ranni: Taming Text-to-Image Diffusion for Accurate Instruction Followingcited by 77
  4. 2023Intelligent Grimm -- Open-ended Visual Storytelling via Latent Diffusion Modelscited by 76
  5. 2023FocalDreamer: Text-driven 3D Editing via Focal-fusion Assemblycited by 75
  6. 2024LightenDiffusion: Unsupervised Low-Light Image Enhancement with Latent-Retinex Diffusion Modelscited by 70
  7. 2023LooseControl: Lifting ControlNet for Generalized Depth Conditioningcited by 68
  8. 2023HD-Painter: High-Resolution and Prompt-Faithful Text-Guided Image Inpainting with Diffusion Modelscited by 67
  9. 2024Causal Representation Learning from Multiple Distributions: A General Settingcited by 67
  10. 2024IMPRINT: Generative Object Compositing by Learning Identity-Preserving Representationcited by 64
  11. 2024Zero-shot Image Editing with Reference Imitationcited by 64
  12. 2024Attentive Eraser: Unleashing Diffusion Model's Object Removal Potential via Self-Attention Redirection Guidancecited by 63
  13. 2025Insert Anything: Image Insertion via In-Context Editing in DiTcited by 61
  14. 2023Uni-paint: A Unified Framework for Multimodal Image Inpainting with Pretrained Diffusion Modelcited by 60
  15. 2023Relightful Harmonization: Lighting-aware Portrait Background Replacementcited by 56
  16. 2024ACE: All-round Creator and Editor Following Instructions via Diffusion Transformercited by 56
  17. 2023Training-free Diffusion Model Adaptation for Variable-Sized Text-to-Image Synthesiscited by 55
  18. 2023Harnessing the Spatial-Temporal Attention of Diffusion Models for High-Fidelity Text-to-Image Synthesiscited by 51
  19. 2023PanoDiffusion: 360-degree Panorama Outpainting via Diffusioncited by 50
  20. 2025K-LoRA: Unlocking Training-Free Fusion of Any Subject and Style LoRAscited by 48
  21. 2023Improving Diffusion Models for Scene Text Editing with Dual Encoderscited by 44
  22. 2024Deep Learning-based Image and Video Inpainting: A Surveycited by 44
  23. 2023Prompt-In-Prompt Learning for Universal Image Restorationcited by 43
  24. 2023Reference-guided Controllable Inpainting of Neural Radiance Fieldscited by 40
  25. 2024Paint by Inpaint: Learning to Add Image Objects by Removing Them Firstcited by 39
  26. 2024Magic Fixup: Streamlining Photo Editing by Watching Dynamic Videoscited by 38
  27. 2024VistaDream: Sampling multiview consistent images for single-view scene reconstructioncited by 38
  28. 2023Training-free Content Injection using h-space in Diffusion Modelscited by 36
  29. 2025LBM: Latent Bridge Matching for Fast Image-to-Image Translationcited by 36
  30. 2024FreeEdit: Mask-free Reference-based Image Editing with Multi-modal Instructioncited by 35
  31. 2025OmniEraser: Remove Objects and Their Effects in Images with Paired Video-Frame Datacited by 35
  32. 2024Towards Language-Driven Video Inpainting via Multimodal Large Language Modelscited by 33
  33. 2024Learning Action and Reasoning-Centric Image Editing from Videos and Simulationscited by 32
  34. 2024A Survey on Data Augmentation in Large Model Eracited by 31
  35. 2024BrushEdit: All-In-One Image Inpainting and Editingcited by 31
  36. 2023Energy-Based Cross Attention for Bayesian Context Update in Text-to-Image Diffusion Modelscited by 30
  37. 2023DreamInpainter: Text-Guided Subject-Driven Image Inpainting with Diffusion Modelscited by 30
  38. 2024MVInpainter: Learning Multi-View Consistent Inpainting to Bridge 2D and 3D Editingcited by 30

50 most cited of 276 All 276 (JSON)

Similar, not cited

Close in wording, no citation either way

  1. 2024Diffusion-based image inpainting with internal learning
  2. 2022Shape-Guided Diffusion with Inside-Outside Attention
  3. 2022Imagen Editor and EditBench: Advancing and Evaluating Text-Guided Image Inpainting
  4. 2026Training-Free Inpainting Across Domains with a Frozen Text-to-Image Diffusion Model
  5. 2024InVi: Object Insertion In Videos Using Off-the-Shelf Diffusion Models
  6. 2024Fill in the ____ (a Diffusion-based Image Inpainting Pipeline)
  7. 2025One Stone with Two Birds: A Null-Text-Null Frequency-Aware Diffusion Models for Text-Guided Image Inpainting
  8. 2025TurboFill: Adapting Few-step Text-to-image Model for Fast Image Inpainting