BrushEdit: All-In-One Image Inpainting and Editing

Yaowei Li, Yuxuan Bian, Xuan Ju, Zhaoyang Zhang, Junhao Zhuang +3 more
12/13/2024
cs.CVcs.AI

No official code found. Best implementation: TencentARC/BrushEdit (589 stars, last commit 2025-09-03).

Abstract

Image editing has advanced significantly with the development of diffusion models using both inversion-based and instruction-based methods. However, current inversion-based approaches struggle with big modifications (e.g., adding or removing objects) due to the structured nature of inversion noise, which hinders substantial changes. Meanwhile, instruction-based methods often constrain users to black-box operations, limiting direct interaction for specifying editing regions and intensity. To address these limitations, we propose BrushEdit, a novel inpainting-based instruction-guided image editing paradigm, which leverages multimodal large language models (MLLMs) and image inpainting models to enable autonomous, user-friendly, and interactive free-form instruction editing. Specifically, we devise a system enabling free-form instruction editing by integrating MLLMs and a dual-branch image inpainting model in an agent-cooperative framework to perform editing category classification, main object identification, mask acquisition, and editing area inpainting. Extensive experiments show that our framework effectively combines MLLMs and inpainting models, achieving superior performance across seven metrics including mask region preservation and editing effect coherence.

View on arXivView PDF

Code Implementations(1)

[under review] The official implementation of paper "BrushEdit: All-In-One Image Inpainting and Editing"

58930Shell, PythonDec 16, 20241 years agoNOASSERTION
diffusion-modelsimage-editingimage-inpainting

Similar Papers

Cite this paper

@article{li2024brushedit,
  title  = {BrushEdit: All-In-One Image Inpainting and Editing},
  author = {Yaowei Li and Yuxuan Bian and Xuan Ju and Zhaoyang Zhang and Junhao Zhuang and Ying Shan and Yuexian Zou and Qiang Xu},
  year   = {2024},
  eprint = {2412.10316},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10316v3}
}

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

Discussion