Instructions to use prithivMLmods/QIE-FRIE1.1-Object-Mover with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use prithivMLmods/QIE-FRIE1.1-Object-Mover 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("FireRedTeam/FireRed-Image-Edit-1.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("prithivMLmods/QIE-FRIE1.1-Object-Mover") 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
import torch
from diffusers import DiffusionPipeline
from diffusers.utils import load_image
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("FireRedTeam/FireRed-Image-Edit-1.1", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("prithivMLmods/QIE-FRIE1.1-Object-Mover")
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 generated using QIE-FRIE1.1-Object-Mover, a LoRA built on top of FireRed-Image-Edit-1.1 for fast and accurate object relocation and scene-aware editing. The model is designed to move the selected object from the source bounding box to the target bounding box while preserving the identity, structure, texture, lighting, shadows, and color science of the original image. The background of the original source region is seamlessly reconstructed after the object is moved, maintaining natural perspective and scene consistency.
At lower step counts, the model performs efficiently with a small number of bounding boxes for fast inference workflows. For more complex scenes or multiple object movements, standard inference settings are recommended for improved consistency and reconstruction quality.
This LoRA 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 movement behavior:
Move the object highlighted in the red box to the location indicated by the other red box in the scene.
Base Model
This LoRA is based on:
- FireRed-Image-Edit-1.1
Training Data
- Manually annotated bounding box and resultant dataset pairs
Download Model
You can download the model files from the Files & versions tab:
- Downloads last month
- 5
Model tree for prithivMLmods/QIE-FRIE1.1-Object-Mover
Base model
FireRedTeam/FireRed-Image-Edit-1.1