Instructions to use ostris/qwen_image_edit_inpainting with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ostris/qwen_image_edit_inpainting with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ostris/qwen_image_edit_inpainting") prompt = "a man wearing a rainbow colored beanie" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Qwen Image Edit Inpainting

- Prompt
- a man wearing a rainbow colored beanie

- Prompt
- a cat wearing sunglasses

- Prompt
- a man with a big white beard

- Prompt
- painting of a woman wearing sunglasses

- Prompt
- painting of a man with a yellow lightsaber

- Prompt
- painting of a woman with a beard and horns
Model description
A "green screen" inpainting LoRA for Qwen Image Edit. Just paint whatever you want inpainted green, prompt with the instruction, and it will fill in the green area with whatever you prompt.
The green color needs to be pure green. (0, 255, 0).
Video
I made a video breakdown of this LoRA and examples of how to use it on YouTube
Download model
Download them in the Files & versions tab.
- Downloads last month
- 2,142
Model tree for ostris/qwen_image_edit_inpainting
Base model
Qwen/Qwen-Image-Edit