File size: 1,944 Bytes
3aef4b2
 
 
 
 
 
4858299
3aef4b2
 
4858299
 
 
 
 
3aef4b2
 
 
268d3ac
 
 
 
 
 
f628be9
268d3ac
ce2fc8f
33df908
ce2fc8f
2e51d5a
33df908
 
268d3ac
 
 
 
 
 
 
 
 
 
 
 
33df908
268d3ac
 
 
 
 
 
 
 
 
 
 
 
 
33df908
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
---
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
language:
  - en
library_name: diffusers
pipeline_tag: text-to-image
tags:
  - text-to-image
  - diffusers-training
  - diffusers
  - lora
  - flux-diffusers
  - Flux.1-dev
  - image-generation
---

# FLUX.1-dev-LoRA-collections
This repository contains popular LoRAs for FLUX.1-dev model trained by our users at [Shakker AI](https://www.shakker.ai/).


# Model Cards

- [FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors](https://huggingface.co/Shakker-Labs/FLUX.1-dev-LoRA-collections/blob/main/FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors)
<div class="container">
<img src="./assets/1f1d61ad170064959db4f9347838a4624c681a7901bd50139e8ac0862ecbe29e.jpg" width = "500" />
</div>

1. A character LoRA for [Black Myth: Wukong](https://en.wikipedia.org/wiki/Black_Myth:_Wukong), by [xiongmaowf](https://www.shakker.ai/userpage/8f34045c526845c09d9601fafb3bfc4b/publish).
2. The recommended LoRA scale is 1.2, with `aiyouxiketang` as tagger word.
3. Try testing prompts: `a man in armor with a beard and a beard`, `a man in a costume holding a ball`.


# Inference
```python
import torch
from diffusers import FluxPipeline

pipe = FluxPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", torch_dtype=torch.bfloat16)

# Black Myth: Wukong
pipe.load_lora_weights('Shakker-Labs/FLUX.1-dev-LoRA-collections', weight_name='FLUX-dev-lora-Black_Myth_Wukong_hyperrealism_v1.safetensors')
pipe.fuse_lora(lora_scale=1.2)
pipe.to("cuda")

prompt = "aiyouxiketang, a man in armor with a beard and a beard"

image = pipe(
    prompt, 
    num_inference_steps=24, 
    guidance_scale=5.0,
    generator=torch.Generator("cpu").manual_seed(0)
).images[0]
```

# Acknowledgements
All these models are trained by our copyrighted users. We release these model under their permissions.