Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

ilkerzgi
/
Overlay-Kontext-Dev-LoRA

Image-to-Image
Diffusers
English
flux
overlay
image-overlay
lora
fal
ilkerzgi
gokaygokay
Model card Files Files and versions
xet
Community
7

Instructions to use ilkerzgi/Overlay-Kontext-Dev-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use ilkerzgi/Overlay-Kontext-Dev-LoRA 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("black-forest-labs/FLUX.1-Kontext-dev", dtype=torch.bfloat16, device_map="cuda")
    pipe.load_lora_weights("ilkerzgi/Overlay-Kontext-Dev-LoRA")
    
    prompt = "Place it"
    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
Overlay-Kontext-Dev-LoRA
619 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
ilkerzgi's picture
ilkerzgi
multimodalart's picture
multimodalart HF Staff
Add pipeline tag (#1)
64be542 verified 10 months ago
  • .gitattributes
    1.79 kB
    Upload 7 files 10 months ago
  • README.md
    3.32 kB
    Add pipeline tag (#1) 10 months ago
  • WVVtJFD90b8SsU6EzeGkO_adapter_model_comfy.safetensors
    307 MB
    xet
    Upload WVVtJFD90b8SsU6EzeGkO_adapter_model_comfy.safetensors 10 months ago
  • WVVtJFD90b8SsU6EzeGkO_adapter_model_comfy_converted.safetensors
    307 MB
    xet
    Upload 7 files 10 months ago
  • in1.png
    1.47 MB
    xet
    Upload 7 files 10 months ago
  • in2.png
    1.48 MB
    xet
    Upload 7 files 10 months ago
  • ins3.png
    239 kB
    xet
    Upload 7 files 10 months ago
  • out1.png
    1.37 MB
    xet
    Upload 7 files 10 months ago
  • out2.png
    1.41 MB
    xet
    Upload 7 files 10 months ago
  • out3.png
    309 kB
    xet
    Upload 7 files 10 months ago