--- tags: - flux - overlay - image-overlay - lora - fal - diffusers - ilkerzgi - gokaygokay language: en base_model: black-forest-labs/FLUX.1-Kontext-dev instance_prompt: place it license_name: flux1-dev-non-commercial-license license_link: >- https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md license: other widget: - text: Place it output: url: out1.png - src: in1.png prompt: Place it output: url: out1.png - text: Place it output: url: out2.png - src: in2.png prompt: Place it output: url: out2.png - text: Place it output: url: out3.png - src: ins3.jpg prompt: Place it output: url: out3.png pipeline_tag: image-to-image --- # Kontext Dev LoRA - Image Overlay This is a LoRA (Low-Rank Adaptation) model that has been trained for image overlay tasks, allowing you to seamlessly blend and place elements into existing images. ## Table of Contents - [Model Details](#model-details) - [Uses](#uses) - [Training](#training) - [Usage Tips](#usage-tips) ## Model Details **Model Description:** This model is a LoRA fine-tune of `black-forest-labs/FLUX.1-Kontext-dev` specifically designed for image overlay workflows, enabling natural integration of new elements into existing scenes. * **Trained by:** [ilkerzgi](https://huggingface.co/ilkerzgi) and [gokaygokay](https://huggingface.co/gokaygokay) * **Model Type:** LoRA for Image Overlay * **Language(s):** English * **License:** [flux1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev/blob/main/LICENSE.md) * **Parent Model:** [black-forest-labs/FLUX.1-Kontext-dev](https://huggingface.co/black-forest-labs/FLUX.1-Kontext-dev) * **Resources for more information:** * [Download the weights](https://huggingface.co/ilkerzgi/kontext-dev-overlay-lora/blob/main/WVVtJFD90b8SsU6EzeGkO_adapter_model_comfy_converted.safetensors) * [Try the model directly on fal.ai](https://infinite-kanvas.vercel.app) ## Uses #### Direct Use This model is designed for image overlay tasks, allowing you to naturally integrate new objects, elements, or modifications into existing images. The model excels at understanding context and placement, creating seamless compositions. The model works best when using the trigger phrase: **"place it"**. #### Recommended Settings - **LoRA Scale:** 1.0 or 0.9 for optimal results - **Image Format:** Square format images work best - **Overlay Area:** Clear definition of where elements should be placed - **Context Understanding:** Works well with natural scene composition ## Training #### Training Procedure Training was performed using the [FLUX Kontext Trainer on fal.ai](https://fal.ai/models/fal-ai/flux-kontext-trainer/playground). The base model for training was `black-forest-labs/FLUX.1-Kontext-dev`, with specialized focus on image overlay scenarios and contextual element placement. ## Usage Tips - Use **square format images** for best results - Set **LoRA scale to 1.0 or 0.9** for optimal output quality - Use the simple prompt **"place it"** as the trigger phrase - Provide clear context about what you want to overlay and where - The model understands spatial relationships and lighting conditions for natural integration - Works well with both object placement and scene modifications ---