Instructions to use prithivMLmods/QIE-2511-Object-Remover-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/QIE-2511-Object-Remover-v2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/QIE-2511-Object-Remover-v2") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
File size: 4,350 Bytes
ab2655a 2aaf3f9 7031d00 38d6c49 ab2655a 3826041 ab2655a 2aaf3f9 f3782a8 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | ---
license: apache-2.0
language:
- en
base_model:
- Qwen/Qwen-Image-Edit-2511
pipeline_tag: image-to-image
library_name: diffusers
tags:
- lora
- art
- object-remover
- v2
---



> [!note]
Note: Removing 4–5 or more objects or a specified highlighted area may require more inference steps. Please specify it as [marked area] and proceed.
# **QIE-2511-Object-Remover-v2**
> **QIE-2511-Object-Remover-v2** is an adapter LoRA developed for Qwen’s **Qwen-Image-Edit-2511** image-to-image model, designed to precisely remove unwanted objects from images while preserving the surrounding scene. The model intelligently fills in removed regions with context-aware reconstruction, maintaining consistent textures, lighting, shadows, and perspective. It excels at clean object removal without visible artifacts, edge distortion, or style mismatch, resulting in natural and seamless edits that retain the original image quality.
## **Quick Start with Diffusers**
> Compatible with versions **2509** and **2511**.
```bash
pip install -U diffusers transformers accelerate
```
```python
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# Switch to "mps" for Apple devices
pipe = DiffusionPipeline.from_pretrained(
"Qwen/Qwen-Image-Edit-2511",
dtype=torch.bfloat16,
device_map="cuda"
)
pipe.load_lora_weights("prithivMLmods/QIE-2511-Object-Remover-v2")
prompt = "Remove the red highlighted object from the scene."
input_image = load_image(
"https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png"
)
image = pipe(image=input_image, prompt=prompt).images[0]
```
## **Sample Inferences (Remove Objects)**
| Input Image | Edit Prompt | Output Image |
| ----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/yqp9Nj-0lj9z2Iojte1FD.jpeg" width="1024"/> | Remove the red highlighted object from the scene. | <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/IZYauRHh3tSLxK1QHJSaZ.png" width="1024"/> |
| <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/TvXZwVCBH5-e2xzIgtzse.jpeg" width="1024"/> | Remove the red highlighted object from the scene. | <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/VFfpHDMJ9cixdOdA6mc5q.png" width="1024"/> |
| <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/tPAnye7-uuA5nEx5K25ra.jpeg" width="1024"/> | Remove the red highlighted object from the scene. | <img src="https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/C_KsKLTJ3vmBkYgZdVWX9.png" width="1024"/> |
**Trained on [ModelScope.cn](https://modelscope.cn)**
## **Trigger Prompt**
Use the following prompt to activate the object removal behavior:
```
Remove the red highlighted object from the scene.
```
## **Download Model**
You can download the model files from the **Files & versions** tab:
[Download](https://huggingface.co/prithivMLmods/QIE-2511-Object-Remover-v2/tree/main)
```bitex
@misc{prithiv_sakthi_2026,
author = { Prithiv Sakthi },
title = { QIE-2511-Object-Remover-v2 (Revision 3826041) },
year = 2026,
url = { https://huggingface.co/prithivMLmods/QIE-2511-Object-Remover-v2 },
doi = { 10.57967/hf/7627 },
publisher = { Hugging Face }
}
``` |