File size: 4,513 Bytes
d03bda6
 
 
 
 
 
 
c5c4438
 
 
 
 
d03bda6
e74780e
c5c4438
 
 
 
 
 
e74780e
 
c5c4438
 
 
 
 
 
e74780e
 
c5c4438
 
 
 
 
 
 
 
 
 
e74780e
 
c5c4438
 
 
 
 
e74780e
 
c5c4438
 
 
 
 
e74780e
 
d03bda6
 
 
c5c4438
d03bda6
4cecfa3
dec7874
d03bda6
fc428e9
dec7874
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
d03bda6
dec7874
 
 
d03bda6
dec7874
 
 
d03bda6
 
 
 
 
 
 
 
c5c4438
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
---
tags:
- text-to-image
- lora
- diffusers
- template:diffusion-lora
widget:
- text: >-
    Super Portrait, A close-up portrait of a young man with dark brown eyes and
    dark brown eyebrows. He is wearing a green and yellow striped polo shirt
    with a black collar. His earring is adorned with a silver earring. The
    backdrop is a light blue color.
  output:
    url: images/1.png
- text: >-
    Super Portrait, A close-up shot of a young blonde girl with blue eyes and a
    black beanie on her head. The beanie is adorned with a pink patch that reads
    "CUTIE REBEL" in bold white letters. The girls hair is pulled back in a
    ponytail and she is wearing a black turtleneck. The background is a vibrant
    brown color.
  output:
    url: images/2.png
- text: >-
    Super Portrait, a close-up shot of a young mans face is adorned with a beige
    baseball cap adorned with red lettering. The mans eyes are a piercing blue,
    and he is wearing a pink t-shirt. His hair is dark brown, adding a touch of
    texture to his face. The backdrop is a vibrant shade of blue, creating a
    stark contrast to the mans head and the cap.
  output:
    url: images/3.png
- text: >-
    Super Portrait, a close-up shot of a young girls face is featured
    prominently in the frame. The girls eyes are a piercing blue, and her hair
    is pulled back in a ponytail, adding a pop of color to her face. She is
    wearing a gray baseball cap, adorned with a white logo that reads "E-NILS"
    in a cursive font, while the rest of the text is in a darker shade of white.
    Her eyebrows are a lighter shade of blue, while her lips are a darker pink.
    She is wearing a long-sleeved gray sweater, with a slight smile on her lips.
    The backdrop is a vibrant orange, creating a stark contrast to the girls
    outfit.
  output:
    url: images/4.png
- text: >-
    Super Portrait, A close-up of a young girl with almond-shaped hazel eyes and
    long jet-black hair tied in twin braids. She wears a bright red turtleneck
    sweater and a pair of small silver hoop earrings. The background is a soft
    peach, highlighting her vibrant outfit.
  output:
    url: images/5.png
- text: >-
    Super Portrait, A close-up of a young man with dark brown eyes and wavy
    black hair. He is wearing a dark green trench coat with a high collar and a
    light brown scarf around his neck. The backdrop is a cloudy gray, adding an
    air of mystery to the scene.
  output:
    url: images/6.png
base_model: black-forest-labs/FLUX.1-dev
instance_prompt: Super Portrait
license: creativeml-openrail-m
new_version: strangerzonehf/Flux-SuperPortrait-v2-LoRA
---
![CC1.png](https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/OQkdEnSefpRhliGZ4VdlB.png)

<Gallery />

# Model description for Flux-Super-Portrait-LoRA

Image Processing Parameters 

| Parameter                 | Value  | Parameter                 | Value  |
|---------------------------|--------|---------------------------|--------|
| LR Scheduler              | constant | Noise Offset              | 0.03   |
| Optimizer                 | AdamW  | Multires Noise Discount   | 0.1    |
| Network Dim               | 64     | Multires Noise Iterations | 10     |
| Network Alpha             | 32     | Repeat & Steps           | 17 & 2650 |
| Epoch                     | 14   | Save Every N Epochs       | 1     |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 19 [ Flat 4K ]

## Best Dimensions & Inference

| **Dimensions** | **Aspect Ratio** | **Recommendation**       |
|-----------------|------------------|---------------------------|
| 1280 x 832      | 3:2              | Best                     |
| 1024 x 1024     | 1:1              | Default                  |

### Inference Range

- **Recommended Inference Steps:** 30–35

## Setting Up
```python
import torch
from pipelines import DiffusionPipeline

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

lora_repo = "strangerzonehf/Flux-Super-Portrait-LoRA"
trigger_word = "Super Portrait"  
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```
## Trigger words

You should use `Super Portrait` to trigger the image generation.

## Download model

Weights for this model are available in Safetensors format.

[Download](/strangerzonehf/Flux-Super-Portrait-LoRA/tree/main) them in the Files & versions tab.