InstructPix2Pix: Learning to Follow Image Editing Instructions
Tim Brooks, Aleksander Holynski, Alexei A. Efros

TL;DR
InstructPix2Pix is a diffusion-based model trained on a large dataset generated by combining GPT-3 and Stable Diffusion, enabling fast, instruction-based image editing without fine-tuning.
Contribution
The paper introduces a novel method for image editing from instructions using a large dataset and a diffusion model that generalizes well to real images and user instructions.
Findings
Model performs edits in seconds.
Generates diverse and accurate image edits.
Generalizes to real images and instructions.
Abstract
We propose a method for editing images from human instructions: given an input image and a written instruction that tells the model what to do, our model follows these instructions to edit the image. To obtain training data for this problem, we combine the knowledge of two large pretrained models -- a language model (GPT-3) and a text-to-image model (Stable Diffusion) -- to generate a large dataset of image editing examples. Our conditional diffusion model, InstructPix2Pix, is trained on our generated data, and generalizes to real images and user-written instructions at inference time. Since it performs edits in the forward pass and does not require per example fine-tuning or inversion, our model edits images quickly, in a matter of seconds. We show compelling editing results for a diverse collection of input images and written instructions.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗instruction-tuning-sd/cartoonizermodel· 68 dl· ♡ 7768 dl♡ 77
- 🤗instruction-tuning-sd/low-level-img-procmodel· 24 dl· ♡ 724 dl♡ 7
- 🤗instruction-tuning-sd/scratch-cartoonizermodel· 7 dl· ♡ 77 dl♡ 7
- 🤗instruction-tuning-sd/scratch-low-level-img-procmodel· 5 dl· ♡ 35 dl♡ 3
- 🤗ootes/wwtbmodel· ♡ 1♡ 1
- 🤗ootes/wwtbtestmodel
- 🤗diffusers/sdxl-instructpix2pix-768model· 12k dl· ♡ 5612k dl♡ 56
- 🤗thingthatis/sdxl-instructpix2pix-768model· 3 dl3 dl
- 🤗AnalogMutations/cartoonizermodel· 11 dl· ♡ 411 dl♡ 4
- 🤗scribbyotx/lkklmodel
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMultimodal Machine Learning Applications · Topic Modeling · Domain Adaptation and Few-Shot Learning
MethodsDiffusion
