Qwen Image Edit (exps)
Collection
adapter LoRA developed for Qwen’s Qwen-Image-Edit-2511 image-to-image model • 20 items • Updated
• 8
QIE-2511-Object-Remover-Bbox is an adapter LoRA developed for Qwen-Image-Edit-2511, designed to precisely remove unwanted objects from images using bounding box guidance. The model intelligently reconstructs the selected region with context-aware filling, while preserving surrounding textures, lighting, shadows, and perspective. It delivers clean object removal without visible artifacts, edge distortion, or style mismatch, ensuring natural and seamless edits that retain the original image quality.
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-Bbox")
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]
Use the following prompt to activate the object removal behavior:
Remove the red highlighted object from the scene.
You can download the model files from the Files & versions tab: Download
Base model
Qwen/Qwen-Image-Edit-2511