File size: 3,375 Bytes
ca89c59
 
 
 
 
 
a63d648
 
 
ca89c59
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37e5a09
 
 
 
 
 
a63d648
 
ca89c59
 
6bd8e50
 
ca89c59
a63d648
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ca89c59
a63d648
ca89c59
 
a63d648
37e5a09
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- image-generation
- flux
- safetensors
widget:
- text: >-
    A giant tiger dressed in retro clothing strolls between the skyscrapers of
    Tokyo. The tiger's eyes, peering through sunglasses, exude a cool vibe. On
    its back are a few cartoon-style birds playing small instruments, providing
    a soundtrack for the tiger's walk,
  output:
    url: images/1d28cc19b815ce1ac7fc54dd54e94c4abea85b044f18fa7fe4dc5321.jpg
- text: >-
    In a London subway station, a blue octopus with multiple eyes is holding a
    pile of books that have fallen out of a subway car. Its tentacles are busy
    flipping through each book, while the passengers inside the station are both
    surprised and curious about the scene.
  output:
    url: images/1156f2bfd2397fc9af62501146f2d9ad552dc6398e09ccd8b2c191a4.jpg
- text: >-
    On a bustling beach, a giant cartoon alligator with bright turquoise skin is
    carrying a surfboard under its arm, towering over the sunbathing beachgoers.
    The alligator is wearing black sunglasses and a relaxed expression, blending
    in with the beach vibes. Palm trees and people enjoying the sun surround the
    scene, creating a playful juxtaposition of scale and reality.
  output:
    url: images/3e9265312b3b726c224a955ec9254a0f95c2c8b78ce635929183a075.jpg
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: null
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-playful-metropolis

This is a LoRA (Playful Metropolis) trained on FLUX.1-dev for illustration style by [JHAlchemy](https://www.shakker.ai/userpage/bbe5dd5bb87d4daf9733b9ac27892ee4/publish), combining urban environments with imaginative cartoon elements.

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


## Showcases
<Gallery />

## Trigger words
Trigger is not required. The recommended scale is `0.7` 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-playful-metropolis", weight_name="FLUX-dev-lora-playful_metropolis.safetensors")
pipe.fuse_lora(lora_scale=0.7)
pipe.to("cuda")

prompt = "A giant tiger dressed in retro clothing strolls between the skyscrapers of Tokyo. The tiger's eyes, peering through sunglasses, exude a cool vibe. On its back are a few cartoon-style birds playing small instruments, providing a soundtrack for the tiger's walk,"

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/6b8bfc296fba423bb0a632ce67c1483f?from=feed), where we provide an online interface to generate images.


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