Collections

Edit images

These models allow editing and manipulating images in various ways. Key capabilities include:

  • Inpainting & object removal - Remove objects or fill in missing image regions. Useful for removing unwanted elements from photos.
  • Background removal - Delete and replace image backgrounds. Isolate subjects onto transparent or alternate backgrounds.
  • Guided editing - Make targeted edits to images by adding guiding information like depth maps, sketches, edge detection, human poses, or text prompts. Allows fine-grained creative control.

Note: For face restoration and photo colorization, see our Upscale Images collection.

Our Picks

Best Inpainting Model: logerzhu/ad-inpaint

For removing objects and filling in missing regions of an image, we recommend starting with logerzhu/ad-inpaint. It delivers great results and runs faster than alternatives like instruct-pix2pix.

Best Background Removal: pollinations/modnet

To isolate a subject and replace the background of an image, pollinations/modnet is the clear choice. It’s optimized for this specific task and widely used.

Best Guided Editing: alaradirik/t2i-adapter-sdxl-depth-midas and other t2i-adapter models

For the most control over editing an image, try the alaradirik/t2i-adapter-sdxl-depth-midas model. It lets you modify an image using an automatically generated depth map.

The other models in the t2i-adapter-sdxl-* series are also great for guided editing using different types of inputs:

Promising New Approaches

For even more advanced guided editing, two newer models are worth exploring:

adirik/masactrl-sdxl allows you to edit specific regions of an image using text prompts. It provides fine-grained control for local edits.

adirik/stylemc is a unique model that generates new images in the style of an input image based on a text prompt. While not a traditional editing model, it enables creative exploration.

Recommended models

rossjillian / controlnet

Control diffusion models

7.4M runs

cjwbw / rembg

Remove images background

7.2M runs

andreasjansson / stable-diffusion-inpainting

Inpainting using RunwayML's stable-diffusion-inpainting checkpoint

1.5M runs

orpatashnik / styleclip

Text-Driven Manipulation of StyleGAN Imagery

1.3M runs

timothybrooks / instruct-pix2pix

Edit images with human instructions

841.3K runs

pollinations / modnet

A deep learning approach to remove background & adding new background image

564.6K runs

logerzhu / ad-inpaint

Product advertising image generator

466.5K runs

arielreplicate / deoldify_​image

Add colours to old images

403.7K runs

adirik / t2i-adapter-sdxl-depth-midas

Modify images using depth maps

321.7K runs

adirik / t2i-adapter-sdxl-openpose

Modify images using human pose

61.4K runs

ideogram-ai / ideogram-v2-turbo

A fast image model with state of the art inpainting, prompt comprehension and text rendering.

52.9K runs

adirik / t2i-adapter-sdxl-lineart

Modify images using line art

50.2K runs

ideogram-ai / ideogram-v2

An excellent image model with state of the art inpainting, prompt comprehension and text rendering

37.4K runs

storymy / take-off-eyeglasses

Remove eyeglasses and shadows from photo

33.8K runs

adirik / t2i-adapter-sdxl-canny

Modify images using canny edges

31.4K runs

sujaykhandekar / object-removal

Removes specified objects from image

15.7K runs

adirik / t2i-adapter-sdxl-sketch

Modify images using sketches

15.5K runs

lambdal / image-mixer

Image Mixer Stable Diffusion

12.4K runs

daanelson / plug_​and_​play_​image_​translation

Edit an image using features from diffusion models

8.2K runs

cjwbw / pix2pix-zero

Zero-shot Image-to-Image Translation

6.1K runs

adirik / kosmos-g

Kosmos-G: Generating Images in Context with Multimodal Large Language Models

4.1K runs

cjwbw / repaint

Inpainting using Denoising Diffusion Probabilistic Models

3.9K runs

adirik / masactrl-sdxl

Editable image generation with MasaCtrl-SDXL

3.4K runs

adirik / stylemc

Text-guided image generation and editing

3.1K runs

adirik / masactrl-stable-diffusion-v1-4

Edit real or generated images

2.1K runs