Recent large-scale text-driven synthesis models have attracted much attention thanks to their remarkable capabilities of generating highly diverse images that follow given text prompts. Such text-based synthesis methods are particularly appealing to humans who are used to verbally describe their intent. Therefore, it is only natural to extend the text-driven image synthesis to text-driven image editing. Editing is challenging for these generative models, since an innate property of an editing technique is to preserve most of the original image, while in the text-based models, even a small modification of the text prompt often leads to a completely different outcome. State-of-the-art methods mitigate this by requiring the users to provide a spatial mask to localize the edit, hence, ignoring the original structure and content within the masked region. In this paper, we pursue an intuitive prompt-to-prompt editing framework, where the edits are controlled by text only. To this end, we analyze a text-conditioned model in depth and observe that the cross-attention layers are the key to controlling the relation between the spatial layout of the image to each word in the prompt. With this observation, we present several applications which monitor the image synthesis by editing the textual prompt only. This includes localized editing by replacing a word, global editing by adding a specification, and even delicately controlling the extent to which a word is reflected in the image. We present our results over diverse images and prompts, demonstrating high-quality synthesis and fidelity to the edited prompts.
Refinement Is Inherently Editable: Training-Free Prompt-to-Prompt Image Editing with Generative Refinement Network
City University of Hong Kong (Dongguan)(香港城市大学(东莞));City University of Hong Kong(香港城市大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Prompt-to-Prompt: Text-Based Image Editing Via Cross-Attention Mechanisms -- The Research of Hyperparameters and Novel Mechanisms to Enhance Existing Frameworks
DynamicAvatars: Accurate Dynamic Facial Avatars Reconstruction and Precise Editing with Diffusion Models
School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院);National Engineering Research Center for Visual Information and Applications, Xi’an Jiaotong University(西安交通大学视觉信息与应用国家工程研究中心);Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人工智能与机器人研究所);National Key Laboratory of Human-Machine Hybrid Augmented Intelligence, Xi’an Jiaotong University(人机混合增强智能全国重点实验室)
MU-GAN: Facial Attribute Editing based on Multi-attention Mechanism
North China Electric Power University(华北电力大学);Liaoning Shihua University(辽宁石油化工大学);New Jersey Institute of Technology(新泽西理工学院);Shandong University of Science and Technology(山东科技大学)
SceneCraft: Interactive System for Image Editing via Scene Graph
University of Science, Ho Chi Minh, Vietnam(胡志明市理科大学);Vietnam National University, Ho Chi Minh, Vietnam(越南国家大学胡志明市);University of Dayton, Dayton, Ohio, USA(代顿大学)
Cut-and-Paste: Subject-Driven Video Editing with Attention Control
School of Computer Science and Information Engineering, Hefei University of Technology(合肥工业大学计算机与信息工程学院);School of Computer Science, Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳)计算机学院)
EditTransfer++: Toward Faithful and Efficient Visual-Prompt-Guided Image Editing
School of Information and Communication Engineering and the State Key Laboratory of Media Convergence and Communication, Communication University of China(信息与通信工程学院和媒体融合与通信国家重点实验室,中国传媒大学);ShowLab, National University of Singapore(新加坡国立大学ShowLab)
HeadRouter: A Training-free Image Editing Framework for MM-DiTs by Adaptively Routing Attention Heads
Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Beihang University(北京航空航天大学);National Cheng-Kung University(国立成功大学)
Prompt-Softbox-Prompt: A Free-Text Embedding Control for Image Editing
Shanghai University of Finance and Economics(上海财经大学);School of Computing and Artificial Intelligence(计算机与人工智能学院);MoE Key Laboratory of Interdisciplinary Research of Computation and Economics(交叉计算与经济学联合实验室)
CannyEdit: Selective Canny Control and Dual-Prompt Guidance for Training-Free Image Editing
Huawei Hong Kong AI Framework & Data Technologies Lab(华为香港AI框架与数据技术实验室);The Hong Kong University of Science and Technology(香港科技大学);Shanghai University of Finance and Economics(上海财经大学)