Raelina commited on
Commit
fe4b2fb
1 Parent(s): 8cf4bbf

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +257 -0
README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: faipl-1.0-sd
4
+ license_link: https://freedevproject.org/faipl-1.0-sd/
5
+ language:
6
+ - en
7
+ tags:
8
+ - text-to-image
9
+ - stable-diffusion
10
+ - safetensors
11
+ - stable-diffusion-xl
12
+ base_model: cagliostrolab/animagine-xl-3.1
13
+ ---
14
+ <style>
15
+ .title-container {
16
+ display: flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ height: 100vh; /* Adjust this value to position the title vertically */
20
+ }
21
+
22
+ .title {
23
+ font-size: 2.5em;
24
+ text-align: center;
25
+ color: #333;
26
+ font-family: 'Helvetica Neue', sans-serif;
27
+ text-transform: uppercase;
28
+ letter-spacing: 0.1em;
29
+ padding: 0.5em 0;
30
+ background: transparent;
31
+ }
32
+
33
+ .title span {
34
+ background: -webkit-linear-gradient(45deg, #ADD899, #83B4FF);
35
+ -webkit-background-clip: text;
36
+ -webkit-text-fill-color: transparent;
37
+ }
38
+
39
+ .custom-table {
40
+ table-layout: fixed;
41
+ width: 100%;
42
+ border-collapse: collapse;
43
+ margin-top: 2em;
44
+ }
45
+
46
+ .custom-table td {
47
+ width: 50%;
48
+ vertical-align: top;
49
+ padding: 10px;
50
+ box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.15);
51
+ }
52
+
53
+ .custom-image-container {
54
+ position: relative;
55
+ width: 100%;
56
+ margin-bottom: 0em;
57
+ overflow: hidden;
58
+ border-radius: 10px;
59
+ transition: transform .7s;
60
+ }
61
+
62
+ .custom-image-container:hover {
63
+ transform: scale(1.05);
64
+ }
65
+
66
+ .custom-image {
67
+ width: 100%;
68
+ height: auto;
69
+ object-fit: cover;
70
+ border-radius: 10px;
71
+ transition: transform .7s;
72
+ margin-bottom: 0em;
73
+ }
74
+
75
+ .nsfw-filter {
76
+ filter: blur(8px);
77
+ transition: filter 0.3s ease;
78
+ }
79
+
80
+ .custom-image-container:hover .nsfw-filter {
81
+ filter: none;
82
+ }
83
+
84
+ .overlay {
85
+ position: absolute;
86
+ bottom: 0;
87
+ left: 0;
88
+ right: 0;
89
+ color: white;
90
+ width: 100%;
91
+ height: 40%;
92
+ display: flex;
93
+ flex-direction: column;
94
+ justify-content: center;
95
+ align-items: center;
96
+ font-size: 1vw;
97
+ font-style: bold;
98
+ text-align: center;
99
+ opacity: 0;
100
+ background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 60%, rgba(0, 0, 0, 0) 100%);
101
+ transition: opacity .5s;
102
+ }
103
+
104
+ .custom-image-container:hover .overlay {
105
+ opacity: 1;
106
+ }
107
+
108
+ .overlay-text {
109
+ background: linear-gradient(45deg, #F1F8E8, #F1F8E8);
110
+ -webkit-background-clip: text;
111
+ color: transparent;
112
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
113
+ }
114
+
115
+ .overlay-subtext {
116
+ font-size: 0.75em;
117
+ margin-top: 0.5em;
118
+ font-style: italic;
119
+ }
120
+
121
+ .overlay,
122
+ .overlay-subtext {
123
+ text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
124
+ }
125
+ </style>
126
+
127
+ <h1 class="title">
128
+ <span>Rae Diffusion XL V2</span>
129
+ </h1>
130
+
131
+ <table class="custom-table">
132
+ <tr>
133
+ <td>
134
+ <div class="custom-image-container">
135
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/m6udgsmJ6Afgg6lrx79MH.png" alt="Sample Image 1">
136
+ <div class="overlay">
137
+ <div class="overlay-text">Konno Junko</div>
138
+ </div>
139
+ </div>
140
+ </td>
141
+ <td>
142
+ <div class="custom-image-container">
143
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/LQF4iVbDSrV4Iy2lHnGD3.png" alt="Sample Image 2">
144
+ <div class="overlay">
145
+ <div class="overlay-text">Ryougi Shiki</div>
146
+ </div>
147
+ </div>
148
+ </td>
149
+ <td>
150
+ <div class="custom-image-container">
151
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/S-UqQk1qImcZuIX9xLcdv.png" alt="Sample Image 3">
152
+ <div class="overlay">
153
+ <div class="overlay-text">Momo Velia Deviluke</div>
154
+ </div>
155
+ </div>
156
+ </td>
157
+ </tr>
158
+ <tr>
159
+ <td>
160
+ <div class="custom-image-container">
161
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/MF03ubigFBAr2QlMp1a1N.png" alt="Sample Image 4">
162
+ <div class="overlay">
163
+ <div class="overlay-text">Toshinou Kyouko</div>
164
+ </div>
165
+ </div>
166
+ </td>
167
+ <td>
168
+ <div class="custom-image-container">
169
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/SW9p02hP4in4x63I3tRWp.png" alt="Sample Image 5">
170
+ <div class="overlay">
171
+ <div class="overlay-text">Korra</div>
172
+ </div>
173
+ </div>
174
+ </td>
175
+ <td>
176
+ <div class="custom-image-container">
177
+ <img class="custom-image" src="https://cdn-uploads.huggingface.co/production/uploads/64b24543eec33e27dc9a6eca/yEBNfOn5cxECvdzDOKf5A.png" alt="Sample Image 6">
178
+ <div class="overlay">
179
+ <div class="overlay-text">Sento Isuzu</div>
180
+ </div>
181
+ </div>
182
+ </td>
183
+ </tr>
184
+ </table>
185
+
186
+ ## Overview
187
+ Introducing **Rae Diffusion XL V2** , an enhanced iteration based on the Animagine XL 3.1 model, specifically fine-tuned for generating stunning anime-style artwork. **Rae Diffusion XL V2** is meticulously optimized to excel in depicting anime characters, pushing the boundaries of creativity.
188
+
189
+ ## Model Details
190
+ - **Developed by**: [Raelina](https://civitai.com/user/Raelina)
191
+ - **Model type**: Diffusion-based text-to-image generative model
192
+ - **Model Description**: Rae Diffusion XL V2 is an enhanced iteration built on the Animagine XL 3.1 model. It is fine-tuned for high-quality anime-style character art generation.
193
+ - **License**: [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/)
194
+ - **Finetuned from**: [Animagine XL 3.1](https://huggingface.co/cagliostrolab/animagine-xl-3.1)
195
+
196
+
197
+ ### Usage Guidelines
198
+ ## Tag Ordering
199
+ For optimal results, it's recommended to follow the structured prompt template because we train the model like this:
200
+ ```
201
+ 1girl/1boy, character name, from which series, everything else in any order.
202
+ ```
203
+
204
+ ## Special Tag
205
+ Rae Diffusion XL inherits special tags from Animagine XL 3.1 to enhance image generation by steering results toward quality, rating, creation date, and aesthetic. While the model can generate images without these tags, using them helps achieve better results.
206
+ - **Quality tags:** masterpiece, best quality, great quality, good quality, normal quality, low quality, worst quality
207
+ - **Rating tags:** safe, sensitive, nsfw, explicit
208
+ - **Year tags:** newest, recent, mid, early, oldest
209
+ - **Aesthetic tags:** very aesthetic, aesthetic, displeasing, very displeasing
210
+
211
+
212
+ ## Recommended settings
213
+
214
+ - **Positive prompts:**
215
+
216
+ ```
217
+ masterpiece, best quality, very aesthetic, absurdres,
218
+ ```
219
+
220
+ - **Negative prompts:**
221
+ ```
222
+ (low quality, worst quality:1.2), very displeasing, ugly, poorly drawn, signature, watermark,
223
+ ```
224
+
225
+ - **CFG:** 7
226
+ - **Sampling steps:** 25 to 35
227
+ - **Sampler:** Euler a
228
+ - **Supported Resolution:**
229
+ ```
230
+ 1024 x 1024, 1152 x 896, 896 x 1152, 1216 x 832, 832 x 1216, 1344 x 768, 768 x 1344, 1536 x 640, 640 x 1536
231
+ ```
232
+
233
+ ## Hires.fix Setting
234
+ - **Upscaler:** [4x_NMKD-YandereNeoXL](https://nmkd.de/?esrgan)
235
+ - **Hires step:** 10-15
236
+ - **Denoising:** 0.1-0.3 or 0.55 for latent upscaler
237
+
238
+ ## Training config
239
+ - Hardware: 1x A100 80GB
240
+ - Batch size: 48
241
+ - Gradient Accumulation: 1
242
+ - Epochs: 10
243
+ - Learning Rate: 3e-6
244
+ - Optimizer: Adafactor
245
+ - Optimizer Args: (Scale Parameter: False, Relative Step: False, Warmup Init: False)
246
+ - Scheduler: Constant with warmup
247
+ - Warmup steps: 0.05
248
+ - Noise offset: 0.0357
249
+
250
+
251
+ ## License
252
+
253
+ Rae Diffusion XL V2 now uses the [Fair AI Public License 1.0-SD](https://freedevproject.org/faipl-1.0-sd/) inherited from Animagine XL 3.1, compatible with Stable Diffusion models. Key points:
254
+ 1. **Modification Sharing:** If you modify Rae Diffusion XL, you must share both your changes and the original license.
255
+ 2. **Source Code Accessibility:** If your modified version is network-accessible, provide a way (like a download link) for others to get the source code. This applies to derived models too.
256
+ 3. **Distribution Terms:** Any distribution must be under this license or another with similar rules.
257
+ 4. **Compliance:** Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values.