File size: 2,809 Bytes
2f9f393
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
385cbd4
 
 
8b7f85a
385cbd4
2f9f393
 
385cbd4
 
 
2f9f393
 
385cbd4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2f9f393
385cbd4
2f9f393
385cbd4
2f9f393
 
385cbd4
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: >-
    Outdoors,by the forest creek,a white electric car features fashionable
    futuristic design lines and stylish black alloy wheels with complex
    patterns. A cartoon style man casually leaned against the car,wearing a
    white shirt with black trim,black shorts,white socks,and white sneakers. The
    artistic style blends elements of reality and illustration.
  output:
    url: >-
      images/f9c20664413ae628652eeb0cc3035ec257d1d32fc62178c947b54fc3d2e0f445.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: artistic style blends reality and illustration elements.
license: other
license_name: flux-1-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md
---
# FLUX.1-dev-LoRA-blended-realistic-illustration

This is a LoRA trained on FLUX.1-dev for blended realistic illustration by [Muertu](https://www.shakker.ai/userpage/562c8ddb15e147c9b1c31878f865c901/publish), the front character is in illustration style, while the background is realistic.

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


## Showcases
<Gallery />

## Trigger words

You should use `artistic style blends reality and illustration elements.` to trigger the image generation. The recommended scale is `1.0`.

## Inference

```
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-blended-realistic-illustration", weight_name="FLUX-dev-lora-blended_realistic_illustration.safetensors")
pipe.fuse_lora(lora_scale=1.0)
pipe.to("cuda")

prompt = A peaceful outdoor scene,surrounded by lush green leaves and vibrant vegetation on the stone road. A cartoon style man sits on white clothes,gently caressing two animated cats,one orange and one white. Soft sunlight creates shadows,simple walls and pebble floors create a peaceful atmosphere,blending reality and animation elements,and natural and procedural characters. The artistic style blends elements of reality and illustration."

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


## Online Inference

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


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