SPICE: A Synergistic, Precise, Iterative, and Customizable Image Editing Workflow

Kenan Tang, Yanhong Li, Yao Qin
4/13/2025
cs.GRcs.CVcs.LG

No official code found. Best implementation: kenantang/spice (25 stars, MIT, last commit 2026-02-06).

Abstract

Prompt-based models have demonstrated impressive prompt-following capability at image editing tasks. However, the models still struggle with following detailed editing prompts or performing local edits. Specifically, global image quality often deteriorates immediately after a single editing step. To address these challenges, we introduce SPICE, a training-free workflow that accepts arbitrary resolutions and aspect ratios, accurately follows user requirements, and consistently improves image quality during more than 100 editing steps, while keeping the unedited regions intact. By synergizing the strengths of a base diffusion model and a Canny edge ControlNet model, SPICE robustly handles free-form editing instructions from the user. On a challenging realistic image-editing dataset, SPICE quantitatively outperforms state-of-the-art baselines and is consistently preferred by human annotators. We release the workflow implementation for popular diffusion model Web UIs to support further research and artistic exploration.

View on arXivView PDF

Code Implementations(1)

kenantang/spiceCommunity100%
MIT

SPICE: A Synergistic, Precise, Iterative, and Customizable Image Editing Workflow

251HTMLApr 4, 20258 months agoMIT
comfyui-workflowdiffusion-modelsfluximage-editingimage-generation+1 more

Cite this paper

@article{tang2025spice,
  title  = {SPICE: A Synergistic, Precise, Iterative, and Customizable Image Editing Workflow},
  author = {Kenan Tang and Yanhong Li and Yao Qin},
  year   = {2025},
  eprint = {2504.09697},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.09697v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.09697.svg)](https://codeofpaper.com/paper/2504.09697)

Discussion