---
title: FLUX.1-dev-LoRA-Children-Simple-Sketch
canonical_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch"
md_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch.md"
repository: LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch
last_updated: 2024-09-29
license: other
pipeline_tag: text-to-image-synthesis
tasks:
  - text-to-image-synthesis
base_model:
  - black-forest-labs/FLUX.1-dev
base_model_relation: adapter
parameters: 306.3M
tensor_type:
  - BF16
library_name:
  - pytorch
  - lora
  - diffusers
  - safetensors
frameworks:
  - pytorch
downloads: 2086
stars: 1
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - image-generation
  - flux
  - safetensors
---

# FLUX.1-dev-LoRA-Children-Simple-Sketch

> FLUX.1-dev-LoRA-Children-Simple-Sketch - LiblibAI 在 ModelScope 开源的模型。FLUX.1-dev-LoRA-Children-Simple-Sketch

LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch 是 ModelScope 魔搭社区上的 306.3M 参数text-to-image-synthesis模型，采用 other 许可，基于 black-forest-labs/FLUX.1-dev 构建。

- **Repository**: LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch
- **License**: other
- **Tasks**: text-to-image-synthesis
- **Parameters**: 306.3M
- **Base model**: black-forest-labs/FLUX.1-dev
- **Tags**: text-to-image, stable-diffusion, lora, diffusers, image-generation, flux, safetensors
- **Downloads**: 2086
- **Stars**: 1
- **Last updated**: 2024-09-29

Source: https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-Children-Simple-Sketch

---

# FLUX.1-dev-LoRA-Children-Simple-Sketch

This is a LoRA trained on FLUX.1-dev for Children's Simple-Sketch by [Hongke](https://www.shakker.ai/userpage/b1f1d4128cec474c8085576e6c9fb761/publish) on [Shakker AI](https://www.shakker.ai/modelinfo/eb54f3880dd04cc4b9002d31753a12ec?from=personal_page).

<div class="container">
  <img src="https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-live-3D/resolve/main/poster.jpg" width="1024"/>
</div>


## Showcases
<Gallery />

## Trigger words
You should use `sketched style` to trigger the image generation. The recommended scale is `0.8` to `1.5` in diffusers.


## Inference

```python
import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)
pipe.load_lora_weights("Shakker-Labs/FLUX.1-dev-LoRA-Children-Simple-Sketch", weight_name="FLUX-dev-lora-children-simple-sketch.safetensors")
pipe.fuse_lora(lora_scale=1.5)
pipe.to("cuda")

prompt = "sketched style,A joyful girl with balloons floats above a city wearing a hat and striped pants,"

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

## Online Inference

You can also run this model at [Shakker AI](https://www.shakker.ai/modelinfo/eb54f3880dd04cc4b9002d31753a12ec?from=personal_page), where we provide an online interface to generate images.


## Acknowledgements
This model is trained by our copyrighted users [Hongke](https://www.shakker.ai/userpage/b1f1d4128cec474c8085576e6c9fb761/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).
