Instructions to use prithivMLmods/QIE-2511-Object-Remover-Bbox-v3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/QIE-2511-Object-Remover-Bbox-v3 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-Bbox-v3") 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
- Draw Things
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-v3")
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]Note: The images showcased here are from QIE / QIE + LoRA fast inference. At 4 steps, it works well with 2–3 bounding boxes at a time. For more than that, standard inference is recommended. The system is designed to retain the identity and color science of the photography, even after certain content is removed from the selected or marked region. This model is materialized for research and learning purposes only. Any content generated by it is used at the user’s own risk. The authors and the hosting page disclaim any liability for content generated by this model. Users are responsible for ensuring that the model is used in a safe, ethical, and lawful manner.
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
- Downloads last month
- 126
Model tree for prithivMLmods/QIE-2511-Object-Remover-Bbox-v3
Base model
Qwen/Qwen-Image-Edit-2511
