Streamlining Image Editing with Layered Diffusion Brushes
Peyman Gholami, Robert Xiao
TL;DR
Layered Diffusion Brushes (LDB) address the need for real-time, localized diffusion-based image editing by introducing a training-free, layer-based editing framework. It leverages latent caching to store a Regeneration Latent $Z_r$ and a Blending Latent $Z_b$, enabling independent, non-destructive edits with minimal recomputation. A formal layer formulation ${\mathcal L}^{(k)}$ and an overlapping-region strategy allow sequential edits to accumulate while preserving background content, achieving per-edit latencies around $140\,\text{ms}$ on consumer GPUs. Quantitative benchmarks and a user study show LDB outperforms baselines in speed and often matches or surpasses in image quality and edit fidelity, with strong usability and creativity support. The approach extends to video editing and broader diffusion-model applications, indicating wide practical impact for professional creative workflows.
Abstract
Denoising diffusion models have emerged as powerful tools for image manipulation, yet interactive, localized editing workflows remain underdeveloped. We introduce Layered Diffusion Brushes (LDB), a novel training-free framework that enables interactive, layer-based editing using standard diffusion models. LDB defines each "layer" as a self-contained set of parameters guiding the generative process, enabling independent, non-destructive, and fine-grained prompt-guided edits, even in overlapping regions. LDB leverages a unique intermediate latent caching approach to reduce each edit to only a few denoising steps, achieving 140~ms per edit on consumer GPUs. An editor implementing LDB, incorporating familiar layer concepts, was evaluated via user study and quantitative metrics. Results demonstrate LDB's superior speed alongside comparable or improved image quality, background preservation, and edit fidelity relative to state-of-the-art methods across various sequential image manipulation tasks. The findings highlight LDB's ability to significantly enhance creative workflows by providing an intuitive and efficient approach to diffusion-based image editing and its potential for expansion into related subdomains, such as video editing.
