SkillAgentSearch skills...

IEAP

[NeurIPS 2025] IEAP: Image Editing As Programs with Diffusion Models

Install / Use

/learn @YujiaHu1109/IEAP
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Image Editing As Programs with Diffusion Models

<br>

<a href="https://arxiv.org/abs/2506.04158"><img src="https://img.shields.io/badge/arXiv%20paper-2506.04158-b31b1b.svg" alt="arXiv"></a> <a href="https://yujiahu1109.github.io/IEAP/"><img src="https://img.shields.io/badge/GitHub-Pages-blue.svg?logo=github&" alt="Page"></a> <a href="https://huggingface.co/Cicici1109/IEAP"><img src="https://img.shields.io/badge/🤗_HuggingFace-Model-ffbd45.svg" alt="HuggingFace"></a> <a href="https://huggingface.co/spaces/Cicici1109/IEAP"><img src="https://img.shields.io/badge/🤗_HuggingFace-Space-ffbd45.svg" alt="HuggingFace"></a>

Image Editing As Programs with Diffusion Models <br> Yujia Hu, Songhua Liu, ZhenXiong Tan, Xingyi Yang, and Xinchao Wang <br> xML Lab, National University of Singapore <br>

Demo

<center> We propose <strong>IEAP</strong>! IEAP is an image editing framework that decomposes complex instructions into composable atomic operations, enabling high-precision handling of both structurally consistent and inconsistent edits, as well as compositional multi-step instructions. </center>

<strong>Pipeline:</strong> Pipeline

🔧 Installation

  1. First install python and pytorch:
conda create -n ieap python=3.10
conda activate ieap
conda install pytorch==2.3.1 torchvision==0.18.1 pytorch-cuda=12.1 cuda -c pytorch  -c "nvidia/label/cuda-12.1.0" -c "nvidia/label/cuda-12.1.1"
  1. Install other dependencies:
pip install -r requirements.txt

🖼️ Run

Start with:

python main.py image_path editing_instructions

For example:

python main.py "assets/a12.jpg" "Change the action of the woman to running and minify the woman."

If you have already had a json file for editing:

python main_json.py image_path json_path

For example:

python main_json.py "assets/a12.jpg" "instructions.json"

🔦 ToDo List

  • [ ] More functions and demos.

🔗 Related Projects

We sincerely thank the excellent open-source projects: OminiControl and Sa2VA.

Citation

@article{hu2025ieap,
  title={Image Editing As Programs with Diffusion Models},
  author={Hu, Yujia and Liu, Songhua and Tan, Zhenxiong and Yang, Xingyi and Wang, Xinchao},
  journal={NeurIPS},
  year={2025}
}
View on GitHub
GitHub Stars115
CategoryDevelopment
Updated11d ago
Forks5

Languages

Python

Security Score

95/100

Audited on Mar 25, 2026

No findings