---
title: FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style
canonical_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style"
md_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style.md"
repository: LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style
last_updated: 2026-06-16
license: other
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - black-forest-labs/FLUX.1-Kontext-dev
base_model_relation: adapter
parameters: 89.7M
tensor_type:
  - F32
library_name:
  - pytorch
  - lora
  - diffusers
  - safetensors
frameworks:
  - pytorch
supports_inference: txt2img
downloads: 336
stars: 0
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - image-generation
  - flux
  - safetensors
---

# FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style

> FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style - LiblibAI 在 ModelScope 开源的模型。FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style

LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style 是 ModelScope 魔搭社区上的 89.7M 参数text-to-image-synthesis模型，采用 other 许可，基于 black-forest-labs/FLUX.1-Kontext-dev 构建，并支持在线推理（txt2img）。

- **Repository**: LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style
- **License**: other
- **Tasks**: text-to-image-synthesis
- **Parameters**: 89.7M
- **Base model**: black-forest-labs/FLUX.1-Kontext-dev
- **Online inference**: txt2img
- **Tags**: text-to-image, stable-diffusion, lora, diffusers, image-generation, flux, safetensors
- **Downloads**: 336
- **Stars**: 0
- **Last updated**: 2026-06-16

Source: https://www.modelscope.cn/models/LiblibAI/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style

---

# FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style

This is a flat cartoon style LoRA trained on FLUX.1-Kontext-dev by [Mango](https://www.liblib.art/userpage/baf2e419ce1cb06812314957efd2e067/publish).

## Showcases
<Gallery />


## Trigger words

You should use `Convert to a flat cartoon style while keeping the subject unchanged` to trigger the image generation.

## Inference

```python
import torch
from diffusers import FluxKontextPipeline
from diffusers.utils import load_image

pipe = FluxKontextPipeline.from_pretrained("black-forest-labs/FLUX.1-Kontext-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-Kontext-dev-LoRA-Flat-Cartoon-Style", weight_name="FLUX-kontext-lora-flat-cartoon-style.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
prompt = "Convert to a flat cartoon style while keeping the subject unchanged"

image = pipe(
    image=input_image,
    prompt=prompt, 
    num_inference_steps=24, 
    guidance_scale=2.5,
).images[0]
image.save(f"example.png")
```

## Acknowledgements
This model is trained by our copyrighted users [Mango](https://www.liblib.art/userpage/baf2e419ce1cb06812314957efd2e067/publish). We release this model under permissions. The model follows [flux-1-dev-non-commercial-license](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md).
