Instructions to use ajinkyaT/flux-kontext-inpaint-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ajinkyaT/flux-kontext-inpaint-lora with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("ajinkyaT/flux-kontext-inpaint-lora") prompt = "replace it" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
put-it-here-replace-it

- Prompt
- replace it
Trigger words
You should use Trigger word for put it here: Put it here Add auxiliary prompt words:Adaptive to trigger the image generation.
You should use automatic light adaptation to trigger the image generation.
You should use 4K to trigger the image generation.
You should use high definition to trigger the image generation.
You should use outstanding picture quality. For replace it: Trigger words:replace it to trigger the image generation.
Download model
Download them in the Files & versions tab.
- Downloads last month
- 44
Model tree for ajinkyaT/flux-kontext-inpaint-lora
Base model
black-forest-labs/FLUX.1-dev