ilkerzgi's picture
Update README.md
1eeefbe verified
|
raw
history blame
2.57 kB
metadata
tags:
  - flux
  - inpainting
  - image-to-image
  - lora
  - fal
  - diffusers
  - ilkerzgi
language: en
base_model: black-forest-labs/FLUX.1-Kontext-dev-inpainting
instance_prompt: place it
license_name: flux1-dev-non-commercial-license
license_link: >-
  https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev-inpainting/blob/main/LICENSE.md
license: other
widget:
  - src: in1.png
    prompt: place it
    output:
      url: out1.png
  - src: in2.png
    prompt: place it
    output:
      url: out2.png
  - src: in3.png
    prompt: place it
    output:
      url: out3.png

Contextual Paste – Kontext‑Dev‑Inpainting LoRA

This LoRA fine‑tunes black‑forest‑labs/FLUX.1‑Kontext‑dev‑inpainting to paste (“place it”) a given asset into a masked region so that it blends realistically with the surrounding scene.
Square (1:1) inputs work best. LoRA scale = 1.0 or 0.9 recommended.


Table of Contents


Model Details

Field Value
Parent model black‑forest‑labs/FLUX.1‑Kontext‑dev‑inpainting
Type LoRA for masked inpainting
Trigger place it
Author ilkerzgi
License flux1‑dev‑non‑commercial
Weights Download adapter (.safetensors)
Demo fal.ai playground

This adapter makes sure that the input image fragment you want to insert is rendered with consistent lighting, perspective, and texture, matching the target area seamlessly.


Tips

  • Square crops (512×512, 768×768) yield the most consistent blend.
  • Keep the mask tight around the insertion region.
  • Use a two‑stage upscaling workflow for high‑resolution outputs.

This LoRA was trained to copy the masked input fragment and render it in‑context, preserving scene coherence in terms of lighting, shading, and perspective.