TalkPhoto: A Versatile Training-Free Conversational Assistant for Intelligent Image Editing
Yujie Hu, Zecheng Tang, Xu Jiang, Weiqi Li, Jian Zhang
TL;DR
TalkPhoto tackles the training cost and rigidity of instruction-based image editing by offering a training-free, prompt-driven framework that leverages a plug-and-play function library guided by an LLM. It introduces hierarchical invocation and function simplification to enable accurate multi-function calls with lower token usage. It also presents a dedicated instructional image inpainting pipeline that combines object removal with segmentation-based masking and inpainting for high-quality results. Experiments show improved function invocation accuracy, reduced token consumption, and stronger editing quality versus state-of-the-art baselines, with a practical offline deployment and interactive UI.
Abstract
Thanks to the powerful language comprehension capabilities of Large Language Models (LLMs), existing instruction-based image editing methods have introduced Multimodal Large Language Models (MLLMs) to promote information exchange between instructions and images, ensuring the controllability and flexibility of image editing. However, these frameworks often build a multi-instruction dataset to train the model to handle multiple editing tasks, which is not only time-consuming and labor-intensive but also fails to achieve satisfactory results. In this paper, we present TalkPhoto, a versatile training-free image editing framework that facilitates precise image manipulation through conversational interaction. We instruct the open-source LLM with a specially designed prompt template to analyze user needs after receiving instructions and hierarchically invoke existing advanced editing methods, all without additional training. Moreover, we implement a plug-and-play and efficient invocation of image editing methods, allowing complex and unseen editing tasks to be integrated into the current framework, achieving stable and high-quality editing results. Extensive experiments demonstrate that our method not only provides more accurate invocation with fewer token consumption but also achieves higher editing quality across various image editing tasks.
