---
title: FLUX.1-dev-LoRA-One-Click-Creative-Template
canonical_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template"
md_url: "https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template.md"
repository: LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template
last_updated: 2024-11-21
license: other
base_model:
  - black-forest-labs/FLUX.1-dev
base_model_relation: adapter
parameters: 85.9M
tensor_type:
  - F16
library_name:
  - pytorch
  - lora
  - diffusers
  - safetensors
frameworks:
  - pytorch
language:
  - en
downloads: 2096
stars: 1
tags:
  - text-to-image
  - stable-diffusion
  - lora
  - diffusers
  - image-generation
  - flux
  - safetensors
---

# FLUX.1-dev-LoRA-One-Click-Creative-Template

> FLUX.1-dev-LoRA-One-Click-Creative-Template - LiblibAI 在 ModelScope 开源的模型。FLUX.1-dev-LoRA-One-Click-Creative-Template

LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template 是 ModelScope 魔搭社区上的 85.9M 参数机器学习模型，采用 other 许可，基于 black-forest-labs/FLUX.1-dev 构建。

- **Repository**: LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template
- **License**: other
- **Parameters**: 85.9M
- **Base model**: black-forest-labs/FLUX.1-dev
- **Tags**: text-to-image, stable-diffusion, lora, diffusers, image-generation, flux, safetensors
- **Downloads**: 2096
- **Stars**: 1
- **Last updated**: 2024-11-21

Source: https://www.modelscope.cn/models/LiblibAI/FLUX.1-dev-LoRA-One-Click-Creative-Template

---

# FLUX.1-dev-LoRA-One-Click-Creative-Template

This is a LoRA trained on FLUX.1-dev by [Nvwa_model_studio](https://www.shakker.ai/userpage/cd65d71ff6a74bbfaaeba0b898dbf856/publish) for creative photos.

<div class="container">
  <img src="./poster.jpeg" width="1024"/>
</div>

## Showcases
<Gallery />


## Trigger words

You should use `The background is 4 real photos, and in the middle is a cartoon picture summarizing the real photos.` to trigger the image generation. The recommended scale is `1.0` 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-One-Click-Creative-Template", weight_name="FLUX-dev-lora-One-Click-Creative-Template.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

prompt = "A young girl, red hair, blue dress. The background is 4 real photos, and in the middle is a cartoon picture summarizing the real photos."

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

## Online Inference

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

<div class="container">
  <img src="./workflow.png" width="1024"/>
</div>

We also provide an [online ComfyUI workflow](https://www.shakker.ai/modelinfo/c81474e2a6fc40cb9c26a7f4a3b7d691/Generate-interesting-sticker-avatars-with-one-click?from=search) (Click Run Model) that accepts user-uploaded images to generate images

## Acknowledgements
This model is trained by our copyrighted users [Nvwa_model_studio](https://www.shakker.ai/userpage/cd65d71ff6a74bbfaaeba0b898dbf856/publish). We release this model under permissions.
