File size: 2,537 Bytes
9a7007f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
tags:
- text-to-image
- flux
- lora
- diffusers
- template:sd-lora
- ai-toolkit
widget:
-   text: '[trigger] woman with red hair'
    output:
        url: samples/1726080981710__000002000_0.jpg
-   text: '[trigger] a woman holding a coffee cup, in a beanie'
    output:
        url: samples/1726080985911__000002000_1.jpg
-   text: '[trigger] a horse is a DJ at a night club'
    output:
        url: samples/1726080990112__000002000_2.jpg
-   text: '[trigger] a man showing off his cool new t shirt at the beach'
    output:
        url: samples/1726080994314__000002000_3.jpg
-   text: '[trigger] a bear building a log cabin'
    output:
        url: samples/1726080998517__000002000_4.jpg
-   text: '[trigger] woman playing the guitar, on stage, singing a song'
    output:
        url: samples/1726081002722__000002000_5.jpg
-   text: '[trigger] hipster man with a beard'
    output:
        url: samples/1726081006926__000002000_6.jpg
-   text: '[trigger] a man'
    output:
        url: samples/1726081011130__000002000_7.jpg
-   text: '[trigger] a man holding a sign that says, ''this is a sign'''
    output:
        url: samples/1726081015337__000002000_8.jpg
-   text: '[trigger] a bulldog with a shotgun, in a leather jacket with a motorcycle'
    output:
        url: samples/1726081019544__000002000_9.jpg
base_model: black-forest-labs/FLUX.1-schnell
instance_prompt: emojy
license: apache-2.0


---

# flux_microsoft_emoji_lora_v1
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
<Gallery />

## Trigger words

You should use `emojy` to trigger the image generation.

## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.

Weights for this model are available in Safetensors format.

[Download](/Zedge/Flux-Schnell-Emoji-Weights/tree/main) them in the Files & versions tab.

## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)

```py
from diffusers import AutoPipelineForText2Image
import torch

pipeline = AutoPipelineForText2Image.from_pretrained('black-forest-labs/FLUX.1-schnell', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('Zedge/Flux-Schnell-Emoji-Weights', weight_name='flux_microsoft_emoji_lora_v1')
image = pipeline('[trigger] woman with red hair').images[0]
image.save("my_image.png")
```

For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)