CannyEdit: Selective Canny Control and Dual-Prompt Guidance for Training-free Image Editing

Read full text
Authors: Weiyan Xie, Han Gao, Didan Deng, Kaican Li, Yongxiang Huang, April Hua Liu, Nevin Lianwen Zhang
Cited by: 0
References: 48

Abstract

Recent text-to-image advances enable training-free regional image editing by leveraging generative priors of foundation models. However, existing methods struggle to balance text adherence in edited regions, context fidelity in unedited areas, and seamless integration of edits. We introduce CannyEdit, a novel training-free framework addressing this trilemma through two key innovations. First, Selective Canny Control uses structural guidance from a Canny ControlNet exclusively on unedited regions, preserving original details while enabling precise, text-driven edits. Second, Dual-Prompt Guidance combines a local prompt for specific edits with a global prompt for overall coherence. This synergy achieves controllable local editing for object addition, replacement, and removal, offering a superior trade-off among text adherence, context fidelity, and seamlessness compared to mask-based methods. Moreover, CannyEdit works effectively with rough masks or single-point hints for addition tasks and integrates seamlessly with vision-language models without training. Extensive evaluations highlight CannyEdit’s strong performance in complex instruction-based editing and object addition scenarios.

Fields of Study & Subjects

Generative Adversarial Networks and Image Synthesis Digital Humanities and Scholarship Multimodal Machine Learning Applications

Publication details

Journal / source
2026 IEEE Conference on Artificial Intelligence (CAI)
Publisher
IEEE
Pages
1571–1578
Publication date
8 May 2026
Language
EN