arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09276cs.CV
收藏

Imagic:基于文本的真实图像扩散模型编辑

Imagic: Text-Based Real Image Editing with Diffusion Models

Google Research(谷歌研究院);Technion(以色列理工学院);Weizmann Institute of Science(魏茨曼科学研究所)

Bahjat Kawar, Shiran Zada, Oran Lang, Omer Tov, Huiwen Chang, Tali Dekel, Inbar Mosseri, Michal Irani

摘要:

文本条件图像编辑最近吸引了相当大的兴趣。然而,大多数方法当前要么限于特定的编辑类型(例如,对象覆盖、样式转移),或者应用于合成生成的图像,或者需要共同对象的多个输入图像。在本文中,我们首次展示了应用复杂(例如,非刚性的)文本引导的语义编辑到单个真实图像。例如,我们可以改变图像中一个或多个对象的姿态和组成,同时保留其原始特征。我们的方法可以让一只站着的狗坐下或跳起来,让一只鸟展开翅膀,等等--每一个都在用户提供的单个高分辨率自然图像中。与以前的工作相反,我们提出的方法只需要一个输入图像和一个目标文本(所需的编辑)。它对真实图像进行操作,并且不需要任何额外的输入(例如图像掩码或对象的额外视图)。我们的方法,我们称之为“Imagic”,利用预先训练的文本到图像扩散模型来完成这项任务。它产生与输入图像和目标文本对齐的文本嵌入,同时微调扩散模型以捕获图像特定的外观。我们展示了我们的方法在来自各个领域的大量输入上的质量和多功能性,展示了大量高质量的复杂语义图像编辑,所有这些都在一个统一的框架内。

英文摘要:

Text-conditioned image editing has recently attracted considerable interest. However, most methods are currently either limited to specific editing types (e.g., object overlay, style transfer), or apply to synthetically generated images, or require multiple input images of a common object. In this paper we demonstrate, for the very first time, the ability to apply complex (e.g., non-rigid) text-guided semantic edits to a single real image. For example, we can change the posture and composition of one or multiple objects inside an image, while preserving its original characteristics. Our method can make a standing dog sit down or jump, cause a bird to spread its wings, etc. -- each within its single high-resolution natural image provided by the user. Contrary to previous work, our proposed method requires only a single input image and a target text (the desired edit). It operates on real images, and does not require any additional inputs (such as image masks or additional views of the object). Our method, which we call "Imagic", leverages a pre-trained text-to-image diffusion model for this task. It produces a text embedding that aligns with both the input image and the target text, while fine-tuning the diffusion model to capture the image-specific appearance. We demonstrate the quality and versatility of our method on numerous inputs from various domains, showcasing a plethora of high quality complex semantic image edits, all within a single unified framework.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑