TurboEdit: Instant text-based image editing
Zongze Wu, Nicholas Kolkin, Jonathan Brandt, Richard Zhang, Eli Shechtman
TL;DR
TurboEdit tackles real-time, disentangled real-image editing with few-step diffusion by introducing an encoder-based iterative inversion that reconstructs the input in $8$ NFEs and enables edits in $4$ NFEs. It combines a multi-step inversion framework with long detailed text prompts, local masks, and instruction-based editing driven by LLMs to achieve high fidelity and precise attribute changes. The approach outperforms state-of-the-art multi-step editing methods on both descriptive and instructive prompts, while maintaining background fidelity and identity preservation, and it supports interactive editing speeds suitable for practical use. While powerful, the method relies on a captioning model for prompts and uses rough masks, highlighting societal considerations around image manipulation and the need for safeguards against misuse.
Abstract
We address the challenges of precise image inversion and disentangled image editing in the context of few-step diffusion models. We introduce an encoder based iterative inversion technique. The inversion network is conditioned on the input image and the reconstructed image from the previous step, allowing for correction of the next reconstruction towards the input image. We demonstrate that disentangled controls can be easily achieved in the few-step diffusion model by conditioning on an (automatically generated) detailed text prompt. To manipulate the inverted image, we freeze the noise maps and modify one attribute in the text prompt (either manually or via instruction based editing driven by an LLM), resulting in the generation of a new image similar to the input image with only one attribute changed. It can further control the editing strength and accept instructive text prompt. Our approach facilitates realistic text-guided image edits in real-time, requiring only 8 number of functional evaluations (NFEs) in inversion (one-time cost) and 4 NFEs per edit. Our method is not only fast, but also significantly outperforms state-of-the-art multi-step diffusion editing techniques.
