TL;DR
ExpressEdit is an open-source Photoshop plugin designed for fast, artifact-free editing of stylized character expressions using diffusion models. By seamlessly blending native Photoshop tools (like Liquify and Scale) with an edge-controlled diffusion backend and a story-to-tag retrieval system, it allows artists to modify anime and animation artwork in under 3 seconds without degrading image quality.
What Problem Does This Paper Address?
While large text-to-image and image-editing AI models have made massive strides, integrating them into professional creative workflows remains highly problematic. The authors identify several critical gaps:
- Global Noise and Pixel Drift: Most commercial editing models introduce subtle, unwanted changes across the entire image—even in unselected regions. During iterative, multi-step editing workflows, this noise accumulates and corrupts the artwork.
- Creepy "Realism" Artifacts: Models optimized for photorealism often inject realistic human facial textures into 2D or 3D stylized characters, ruining the artistic style.
- Lack of Precise Geometric Control: Text prompts are notoriously bad at handling exact spatial instructions (e.g., "reduce iris size by 50%").
- High Cognitive Load: Relying purely on complex text prompts forces artists to spend time engineering descriptions rather than creating.
ExpressEdit bridges these gaps by providing a localized, style-consistent, and lightning-fast expression editor directly inside Adobe Photoshop.
Methods
ExpressEdit consists of two core pipelines integrated into a unified Photoshop plugin interface:
1. Retrieval-Augmented Prompt Generator (RAG)
To save users from guessing the exact text tags needed by specialized illustration models, ExpressEdit includes a RAG system. A user can input a free-form narrative or story paragraph. A Vision-Language Model (VLM) analyzes the text and retrieves the most relevant structured expression tags from a curated database, automatically formatting the optimal prompt.
2. The Expression Editor Backend
Instead of relying solely on text, ExpressEdit introduces a coarse-to-fine synergy workflow:
- Coarse Manual Hinting: The user uses native Photoshop tools like Liquify or Scale to roughly push, pull, or resize facial features (e.g., shrinking the irises or stretching a smile), leaving rough edges or blank white spaces.
- Fine AI Refinement: The user selects the face area and clicks "Generate". The backend uses the SPICE image-editing framework, powered by the WAI-illustrious-SDXL base model and a midsize Canny edge ControlNet.
The Canny edge guidance ensures the AI respects the structural boundaries of the manual edit while cleanly repairing any distortion artifacts, blending the new expression perfectly into the character's original style.
Datasets
To power the RAG system and provide robust documentation, the authors curated a comprehensive, multi-modal expression database consisting of:
- 135 Expression Tags: Sourced from official Danbooru face and eye tags, filtered to remove uninformative or explicit content, and mapped to alternative Pixiv tags and multilingual translations (English, Chinese, Japanese, Korean). It also uniquely includes emoticons (like
>:(or@_@). - 2,700 Example Stories: Generated using Gemini 3 Flash (5 distinct stories per tag across 4 languages) to map narrative contexts to specific expressions.
- 3,375 Edited Images: Automatically generated reference images to evaluate which tags require manual Photoshop transformation hints and which can be edited "transformation-free."
Key Insights and Ideas
- Embrace the Messy Manual Edit: Instead of fighting text-to-image models to understand exact spatial dimensions, ExpressEdit leverages the fact that artists are already good at tools like Liquify. By treating a quick, distorted manual warp as a structural "hint," the diffusion model only needs to handle the texturing and cleanup.
- Iterative Stability via Edge Control: Standard image inpainting often creates harsh seams or pixel shifts at selection boundaries. By locking down the structure with explicit Canny edge controls via the SPICE framework, ExpressEdit achieves completely non-destructive local editing.
Key Results
- Speed: ExpressEdit achieves an inference latency of 4.06 seconds with 30 standard sampling steps. By integrating a speed-up (lightning) LoRA, this drops to just 2.18 seconds on a single consumer-grade GPU (NVIDIA RTX 4090). This is vastly faster than proprietary web-based baselines like FLUX.2 max (~50s) or GPT (~46s).
- Zero Noise Accumulation: In stress tests over 100 consecutive editing steps, ExpressEdit introduced strictly no noise outside the edited region, whereas commercial baselines globally degraded the image after just 8 steps.
- Precise Instruction Following: While commercial models completely failed to execute numeric instructions like reducing iris diameter by 50%, ExpressEdit achieved perfect results by simply letting the user scale the irises manually and letting the backend fix the gaps automatically.
Limitations and Future Work
- Software Lock-in: The current plugin frontend is explicitly built for Adobe Photoshop using the UXP toolset, though the open-source backend code could theoretically be ported to free alternatives like Krita.
- Minor LoRA Artifacts: Utilizing the ultra-fast 8-step lightning LoRA introduces minor visual artifacts on fine details like eyelashes compared to the higher-quality 30-step generation.
- Evaluation Constraints: The authors did not perform a rigorous quantitative evaluation on the text-to-tag RAG pipeline due to the lack of pre-existing datasets mapping complex stories to ground-truth illustration tags.
Summary updated