Skip to content

feizc/IEA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IEA: Image Editing Anything

Using stable diffusion and segmentation anything models for image editing.

Generally, given a textual prompt or cliked region, SAM generated the masked region for source image. Then, we use CLIP model to select the region, which can be finally used to generate the target edited image with stable diffusion.

Use python service.py to initialize the service.

Moreover, we introduce a more advanced inpainting model from diffusers to suport better image editing. Use python service_img2img.py to launch the service.

Generated Cases

case

116f87dc-0232-4773-b5e7-98691426f915

Reference

[1] https://github.com/huggingface/diffusers

[2] https://github.com/facebookresearch/segment-anything

[3] https://github.com/maxi-w/CLIP-SAM

[4] https://github.com/IDEA-Research/Grounded-Segment-Anything/

About

Image Editing Anything

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages