---
title: Overlay-Kontext-Dev-LoRA
canonical_url: "https://www.modelscope.cn/models/AI-ModelScope/Overlay-Kontext-Dev-LoRA"
md_url: "https://www.modelscope.cn/models/AI-ModelScope/Overlay-Kontext-Dev-LoRA.md"
repository: AI-ModelScope/Overlay-Kontext-Dev-LoRA
last_updated: 2026-06-17
license: other
pipeline_tag: image-to-image
tasks:
  - image-to-image
base_model:
  - black-forest-labs/FLUX.1-Kontext-dev
base_model_relation: adapter
parameters: 153.3M
tensor_type:
  - F32
library_name:
  - lora
  - diffusers
  - safetensors
  - pytorch
frameworks:
  - pytorch
language:
  - en
supports_inference: img2img
downloads: 830
stars: 2
tags:
  - flux
  - overlay
  - image-overlay
  - lora
  - fal
  - diffusers
  - ilkerzgi
  - gokaygokay
---

# Overlay-Kontext-Dev-LoRA

> Overlay-Kontext-Dev-LoRA - AI-ModelScope 在 ModelScope 开源的模型。Kontext Dev LoRA - Image Overlay

AI-ModelScope/Overlay-Kontext-Dev-LoRA 是 ModelScope 魔搭社区上的 153.3M 参数image-to-image模型，采用 other 许可，基于 black-forest-labs/FLUX.1-Kontext-dev 构建，并支持在线推理（img2img）。

- **Repository**: AI-ModelScope/Overlay-Kontext-Dev-LoRA
- **License**: other
- **Tasks**: image-to-image
- **Parameters**: 153.3M
- **Base model**: black-forest-labs/FLUX.1-Kontext-dev
- **Online inference**: img2img
- **Tags**: flux, overlay, image-overlay, lora, fal, diffusers, ilkerzgi, gokaygokay
- **Downloads**: 830
- **Stars**: 2
- **Last updated**: 2026-06-17

Source: https://www.modelscope.cn/models/AI-ModelScope/Overlay-Kontext-Dev-LoRA

---

# Kontext Dev LoRA - Image Overlay

<Gallery />

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

---
