docs: Update README
Browse files
README.md
CHANGED
@@ -3,4 +3,101 @@ license: other
|
|
3 |
license_name: sdxl-license
|
4 |
license_link: >-
|
5 |
https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/LICENSE.md
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
license_name: sdxl-license
|
4 |
license_link: >-
|
5 |
https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/LICENSE.md
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
base_model:
|
9 |
+
- OnomaAIResearch/Illustrious-xl-early-release-v0
|
10 |
+
pipeline_tag: text-to-image
|
11 |
+
tags:
|
12 |
+
- stable-diffusion
|
13 |
+
- stable-diffusion-xl
|
14 |
+
- sdxl
|
15 |
+
- anime
|
16 |
+
- fe-mix
|
17 |
+
- model
|
18 |
+
- clip
|
19 |
+
- vae
|
20 |
+
- hassaku
|
21 |
+
---
|
22 |
+
|
23 |
+
# FeMix_HassakuXL: Exploring Blended Anime Styles with FeMix
|
24 |
+
|
25 |
+
This repository contains the FeMix_HassakuXL model series, a collection of Stable Diffusion XL models designed for generating high-quality anime-style images. It utilizes a unique blending system (FeMix) to combine different aesthetic styles, offering a range of creative possibilities. This model also uses the CLIP and VAE from HassakuXLv2 to improve the quality
|
26 |
+
|
27 |
+
## Model Description
|
28 |
+
|
29 |
+
The FeMix_HassakuXL series is built on a foundation and enhanced with the FeMix blending system, which combines two distinct styles, Style A and Style B, in various ratios to create models with different characteristics.
|
30 |
+
|
31 |
+
* **Style A:** Provides a stable base with great lighting and composition. LoRA friendly.
|
32 |
+
* **Style B:** Represents a more experimental and stylized approach, potentially with artifacts.
|
33 |
+
|
34 |
+
### Available Model Variants
|
35 |
+
|
36 |
+
This repository includes the following model variants, each representing a different FeMix blend:
|
37 |
+
|
38 |
+
* **FeMix_HassakuXL_A9B1**: (90% Style A, 10% Style B) - Provides quality results
|
39 |
+
* **FeMix_HassakuXL_A8B2**: (80% Style A, 20% Style B) - Provides quality results
|
40 |
+
* **FeMix_HassakuXL_A5B5**: (50% Style A, 50% Style B) - Great all around for general use
|
41 |
+
* **FeMix_HassakuXL_A1B9**: (10% Style A, 90% Style B) - Recommended for advanced users who understands how to deal with Style B's artifacts
|
42 |
+
|
43 |
+
These model variants also has a variation with CLIP and VAE from HassakuXLv2 to provide better visual quality.
|
44 |
+
* **FeMix_HassakuXL_A9B1_v2CLIPVAE**: (90% Style A, 10% Style B) - Provides quality results
|
45 |
+
* **FeMix_HassakuXL_A8B2_v2CLIPVAE**: (80% Style A, 20% Style B) - Provides quality results
|
46 |
+
* **FeMix_HassakuXL_A5B5_v2CLIPVAE**: (50% Style A, 50% Style B) - Great all around for general use
|
47 |
+
* **FeMix_HassakuXL_A1B9_v2CLIPVAE**: (10% Style A, 90% Style B) - Recommended for advanced users who understands how to deal with Style B's artifacts
|
48 |
+
|
49 |
+
## Usage
|
50 |
+
|
51 |
+
### Recommended Settings
|
52 |
+
|
53 |
+
* **Scheduler:** DPM++ 2M Karras, Euler a
|
54 |
+
* **Sampling Steps:** 20-30
|
55 |
+
* **Resolution:** SDXL Recommended Resolutions (e.g., 1024x1024, 832x1216)
|
56 |
+
* **Clip Skip:** 2
|
57 |
+
|
58 |
+
### Example Prompts
|
59 |
+
|
60 |
+
* **Positive:** `(masterpiece, best quality, detailed), 1girl, long hair, blue eyes`
|
61 |
+
* **Negative:** `(worst quality, bad quality:1.4), (monochrome), greyscale, skin spots, acne, skin blemishes, age spot, watermarks, signature`
|
62 |
+
|
63 |
+
### LoRA Usage
|
64 |
+
|
65 |
+
The Style A blends are particularly well-suited for use with LoRA models. Experiment with different LoRAs to further customize the style and details of your generations.
|
66 |
+
|
67 |
+
### Code Example
|
68 |
+
|
69 |
+
```python
|
70 |
+
from diffusers import StableDiffusionXLPipeline
|
71 |
+
import torch
|
72 |
+
|
73 |
+
model_id = "6chan/FeMix_HassakuXL"
|
74 |
+
pipe = StableDiffusionXLPipeline.from_pretrained(model_id, torch_dtype=torch.float16, variant="fp16", use_safetensors=True).to("cuda")
|
75 |
+
|
76 |
+
prompt = "(masterpiece, best quality, detailed), 1girl, long hair, blue eyes"
|
77 |
+
negative_prompt = "(worst quality, bad quality:1.4), (monochrome), greyscale, skin spots, acne, skin blemishes, age spot, watermarks, signature"
|
78 |
+
|
79 |
+
image = pipe(prompt=prompt, negative_prompt=negative_prompt).images[0]
|
80 |
+
image.save("generated_image.png")
|
81 |
+
```
|
82 |
+
|
83 |
+
### Limitations
|
84 |
+
|
85 |
+
Style B blends (especially A1B9) can produce artifacts and require careful prompting and post-processing.
|
86 |
+
|
87 |
+
LoRA effectiveness might vary depending on the blend ratio.
|
88 |
+
|
89 |
+
This model is primarily designed for generating anime-style images.
|
90 |
+
|
91 |
+
### License
|
92 |
+
|
93 |
+
This model is released under the Fair AI Public License 1.0-SD. See the LICENSE file for more details.
|
94 |
+
|
95 |
+
### Acknowledgements
|
96 |
+
|
97 |
+
Thanks to the creators of:
|
98 |
+
|
99 |
+
Stable Diffusion XL
|
100 |
+
|
101 |
+
HassakuXL
|
102 |
+
|
103 |
+
Illustrious-XL
|