File size: 11,104 Bytes
729aa1c
 
 
 
 
 
15bee35
 
 
 
 
d9e3346
729aa1c
15bee35
 
 
 
729aa1c
a42891d
15bee35
 
 
 
 
 
 
 
 
 
 
729aa1c
a93303b
15bee35
 
 
 
 
729aa1c
b4e2977
15bee35
 
 
 
 
 
 
 
 
00fc74b
966e25b
15bee35
 
 
 
 
 
 
 
00fc74b
 
15bee35
 
 
 
 
 
 
 
 
00fc74b
d99d843
729aa1c
 
 
 
 
 
d21826f
e78a9c0
dd3130a
 
32c804b
 
8dfceb2
7ccf02f
8dfceb2
 
 
 
 
 
 
 
 
10a6e82
8dfceb2
 
ef2e321
 
4629911
b69f460
5d5c306
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b69f460
 
 
 
1d934e2
b69f460
 
 
 
 
 
 
1d934e2
8dfceb2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
729aa1c
c556e4f
729aa1c
 
 
 
 
 
 
b332ddc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0cc0621
 
 
 
 
 
 
 
729aa1c
d98f31a
 
 
729aa1c
 
 
 
5f9e8ff
 
9272e30
 
5f9e8ff
 
 
 
4eda8ba
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
---
tags:
- text-to-image
- lora
- diffusers
- template:sd-lora
- stable diffusion
- flux
- realism
- face
- diffusion
- flux-dev
widget:
- text: >-
    A portrait of an attractive woman in her late twenties with light brown hair
    and purple, wearing large a a yellow sweater. She is looking directly at the
    camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw
  output:
    url: images/11.png
- text: >-
    Headshot of handsome young man, wearing dark gray sweater with buttons and
    big shawl collar, brown hair and short beard, serious look on his face,
    black background, soft studio lighting, portrait photography --ar 85:128 --v
    6.0 --style rawHeadshot of handsome young man, wearing dark gray sweater
    with buttons and big shawl collar, brown hair and short beard, serious look
    on his face, black background, soft studio lighting, portrait photography
    --ar 85:128 --v 6.0 --style rawHeadshot of handsome young man, wearing dark
    gray sweater with buttons and big shawl collar, brown hair and short beard,
    serious look on his face, black background, soft studio lighting, portrait
    photography --ar 85:128 --v 6.0 --style raw
  output:
    url: images/22.png
- text: >-
    A photo of the model wearing a white bodysuit and beige trench coat, posing
    in front of a train station with hands on head, soft light, sunset, fashion
    photography, high resolution, 35mm lens, f/22, natural lighting, global
    illumination. --ar 85:128 --v 6.0 --style raw
  output:
    url: images/66.png
- text: >-
    An image of a woman with fair skin and natural, wavy hair styled in soft
    curls around her face. She has defined eyebrows and light-colored eyes that
    draw attention. She dressed in a red and navy plaid shirt with the top
    unbuttoned to show a white undershirt, and the sleeves rolled up to the
    forearms. The woman is casually leaning against a weathered blue door frame
    with peeling paint, adding a rustic charm to the scene. Her arms are crossed
    or resting in front of her, and she has a soft, contemplative expression on
    her face.
  output:
    url: images/44.png
- text: >-
    A black and white photo of a woman with shadow., in the style of minimalist
    beauty, light bronze and bronze, serene faces, sharp edges, karencore, high
    definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style
    rawA black and white photo of a woman with shadow., in the style of
    minimalist beauty, light bronze and bronze, serene faces, sharp edges,
    karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750
    --v 6.0 --style raw
  output:
    url: images/5.webp
- text: >-
    Photograph, face, young man professional model, minimalist, stylish nessy
    long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L
    lens, solid white environment, studio lights setting, ultra-realistic, 32K
    UHD --ar 9:16 --style raw --stylize 700Photograph, face, young man
    professional model, minimalist, stylish nessy long hairstyle, beard,
    profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white
    environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16
    --style raw --stylize 700
  output:
    url: images/33.png
base_model: black-forest-labs/FLUX.1-schnell
instance_prompt: face, realism, face realism
license: creativeml-openrail-m
---
# Canopus-LoRA-Flux-FaceRealism

- Flux LoRA DLC🥳: https://huggingface.co/spaces/prithivMLmods/FLUX-LoRA-DLC

<Gallery />

**The model is still in the training phase. This is not the final version and may contain artifacts and perform poorly in some cases.**

## Model description 

**prithivMLmods/Canopus-LoRA-Flux-FaceRealism**

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           | 30 & 3.1K+ |
| Epoch                     | 20     | Save Every N Epochs       | 1      |

    Labeling: florence2-en(natural language & English)
    
    Total Images Used for Training : 200+ [ Hi-RES ] 

## 🚀New Version Available Here🚀

Here's a table summarizing the relevant information about the **`Flux-Super-Realism-LoRA`** model on Hugging Face:

| **Feature**             | **Details**                                                                 |
|-------------------------|-----------------------------------------------------------------------------|
| **Model Name**          | `Flux-Super-Realism-LoRA`                                                   |
| **Repository**          | [strangerzonehf/Flux-Super-Realism-LoRA](https://huggingface.co/strangerzonehf/Flux-Super-Realism-LoRA) |
| **Author**              | `strangerzonehf`                                                           |
| **Description**         | Super-realism LoRA model designed to produce high-quality, hyper-realistic images using LoRA fine-tuning techniques. This model can generate lifelike textures, lighting, and intricate details. |
| **Model Type**          | LoRA (Low-Rank Adaptation for Transformers)                                |
| **Use Cases**           | - Photorealistic image generation<br>- High-fidelity art<br>- Texture detailing and enhancement |
| **Primary Language**    | Not applicable (model is image-based)                                      |
| **Base Model**          | Model used as the foundation for LoRA fine-tuning (may vary per implementation) |
| **License**             | Refer to Hugging Face model page for specific licensing information.        |
| **Tags**                | super-realism, LoRA, high-fidelity, hyper-realistic                         |
| **Usage**               | This model is typically used with tools like Hugging Face's `Diffusers` or other libraries supporting LoRA fine-tuning for enhanced realism in image generation. |
| **Pipeline**            | Use in `StableDiffusionPipeline` or compatible image generation pipelines. |

## Image Compare DLC.

![prithivMLmods/Canopus-LoRA-Flux-FaceRealism](images/flux1.png)

---
| Image | Description |
|-------|-------------|
| **Image 1** | **Portrait of an attractive woman**: Late twenties, light brown hair, wearing a yellow sweater, looking directly at the camera. Standing outdoors near trees. Aspect ratio: 128:85. Style: Raw |
| **Image 2** | **Headshot of a handsome young man**: Dark gray sweater with buttons and shawl collar, brown hair, short beard. Serious expression on a black background, soft studio lighting. Aspect ratio: 85:128. Style: Raw |
| **Image 3** | **Fashion photo**: Model in a white bodysuit and beige trench coat, posing with hands on head in front of a train station at sunset. High resolution, 35mm lens, f/22, natural lighting. Aspect ratio: 85:128. Style: Raw |
| **Image 4** | **Rustic portrait**: Woman with fair skin and natural, wavy hair in soft curls. Wearing a red and navy plaid shirt with a white undershirt, sleeves rolled up. Leaning against a weathered blue door frame with a contemplative expression. |

---
## Trigger prompts


      A portrait of an attractive woman in her late twenties with light brown hair and purple, wearing large a a yellow sweater. She is looking directly at the camera, standing outdoors near trees.. --ar 128:85 --v 6.0 --style raw

      
      Headshot of handsome young man, wearing dark gray sweater with buttons and big shawl collar, brown hair and short beard, serious look on his face, black background, soft studio lighting, portrait photography --ar 85:128 --v 6.0 --style raw
      
      
      A photo of the model wearing a white bodysuit and beige trench coat, posing in front of a train station with hands on head, soft light, sunset, fashion photography, high resolution, 35mm lens, f/22, natural lighting, global illumination. --ar 85:128 --v 6.0 --style raw
      
      
      An image of a woman with fair skin and natural, wavy hair styled in soft curls around her face. She has defined eyebrows and light-colored eyes that draw attention. She's dressed in a red and navy plaid shirt with the top unbuttoned to show a white undershirt, and the sleeves rolled up to the forearms. The woman is casually leaning against a weathered blue door frame with peeling paint, adding a rustic charm to the scene. Her arms are crossed or resting in front of her, and she has a soft, contemplative expression on her face.
      
      
      A black and white photo of a woman with shadow., in the style of minimalist beauty, light bronze and bronze, serene faces, sharp edges, karencore, high definition, contrast shading, realism --ar 3:5 --stylize 750 --v 6.0 --style raw
      
      
      Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700

| Parameter       | Value                                                                                 |
|-----------------|---------------------------------------------------------------------------------------|
| Prompt          |  Photograph, face, young man professional model, minimalist, stylish nessy long hairstyle, beard, profound gaze, Canon EOS R5 with an RF 85mm F1.2L lens, solid white environment, studio lights setting, ultra-realistic, 32K UHD --ar 9:16 --style raw --stylize 700 |
| Sampler         | euler                                                                                 |

## Trigger words 💥

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

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

You should use `face realism` to trigger the image generation.

## Setting Up
```
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 = "prithivMLmods/Canopus-LoRA-Flux-FaceRealism"
trigger_word = "Realism"  # Leave trigger_word blank if not used.
pipe.load_lora_weights(lora_repo)

device = torch.device("cuda")
pipe.to(device)
```
## App File Structure

/project-root/

├── .gitattributes         
├── README.md      
├── app.py             
├── pythonproject.py     

> [!WARNING]
> **Warning:**  Do not use a negative prompt as it can lead to the generation of images with artifacts and distortions.

## Download model

Weights for this model are available in Safetensors format.

[Download](/prithivMLmods/Canopus-LoRA-Flux-FaceRealism/tree/main) them in the Files & versions tab.

- 🪄For anime : https://huggingface.co/prithivMLmods/Canopus-Anime-Art-Flux-LoRA

.

.

🤗: https://hf.co/prithivmlmods