This LoRA removes highlighted objects from images and fills the area naturally with contextually appropriate content. Simply mark the object you want to remove, and the model will erase it seamlessly.
┌─────────────────────────────────────┐
│ │
│ 🏠 🌳 [🚗] 🌳 🏠 │ Highlighted object
│ ↓ │ gets removed
│ 🏠 🌳 ~~~~ 🌳 🏠 │ and filled naturally
│ │
└─────────────────────────────────────┘Perfect for cleaning up photos, removing distractions, and creating seamless backgrounds.
| Input (with highlighted object) | Output (object removed) |
|---|---|
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
Remove the highlighted object from the sceneimport fal_client
def on_queue_update(update):
if isinstance(update, fal_client.InProgress):
for log in update.logs:
print(log["message"])
result = fal_client.subscribe(
"fal-ai/flux-2-klein/4b/base/edit/lora",
arguments={
"prompt": "Remove the highlighted object from the scene",
"model_name": None,
"loras": [{
"path": "https://huggingface.co/ilkerzgi/flux-object-remove-lora/resolve/main/flux-object-remove-lora.safetensors",
"scale": 1.1
}],
"embeddings": [],
"image_urls": ["https://your-image-with-highlighted-object.png"]
},
with_logs=True,
on_queue_update=on_queue_update,
)
print(result)| File | Use Case |
|---|---|
flux-object-remove-lora.safetensors | fal.ai |
kDEkt5q7tDLKOpQJIVMPx_pytorch_lora_weights_comfy_converted.safetensors | ComfyUI |