LyliaEngine commited on
Commit
2bd3b5f
0 Parent(s):

initial commit

Browse files
Files changed (2) hide show
  1. .gitattributes +55 -0
  2. README.md +208 -0
.gitattributes ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tar filter=lfs diff=lfs merge=lfs -text
30
+ *.tflite filter=lfs diff=lfs merge=lfs -text
31
+ *.tgz filter=lfs diff=lfs merge=lfs -text
32
+ *.wasm filter=lfs diff=lfs merge=lfs -text
33
+ *.xz filter=lfs diff=lfs merge=lfs -text
34
+ *.zip filter=lfs diff=lfs merge=lfs -text
35
+ *.zst filter=lfs diff=lfs merge=lfs -text
36
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
37
+ # Audio files - uncompressed
38
+ *.pcm filter=lfs diff=lfs merge=lfs -text
39
+ *.sam filter=lfs diff=lfs merge=lfs -text
40
+ *.raw filter=lfs diff=lfs merge=lfs -text
41
+ # Audio files - compressed
42
+ *.aac filter=lfs diff=lfs merge=lfs -text
43
+ *.flac filter=lfs diff=lfs merge=lfs -text
44
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
45
+ *.ogg filter=lfs diff=lfs merge=lfs -text
46
+ *.wav filter=lfs diff=lfs merge=lfs -text
47
+ # Image files - uncompressed
48
+ *.bmp filter=lfs diff=lfs merge=lfs -text
49
+ *.gif filter=lfs diff=lfs merge=lfs -text
50
+ *.png filter=lfs diff=lfs merge=lfs -text
51
+ *.tiff filter=lfs diff=lfs merge=lfs -text
52
+ # Image files - compressed
53
+ *.jpg filter=lfs diff=lfs merge=lfs -text
54
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
55
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ tags:
3
+ - text-to-image
4
+ - stable-diffusion
5
+ - lora
6
+ - diffusers
7
+ - template:sd-lora
8
+ widget:
9
+ - text: >-
10
+ 1girl, souryuu asuka langley, neon genesis evangelion, rebuild of
11
+ evangelion, lance of longinus, cat hat, plugsuit, pilot suit, red bodysuit,
12
+ sitting, crossed legs, black eye patch, throne, looking down, from bottom,
13
+ looking at viewer, outdoors, masterpiece, best quality, very aesthetic,
14
+ absurdres
15
+ parameters:
16
+ negative_prompt: wings, nsfw, low quality, worst quality, normal quality,
17
+ output:
18
+ url: images/image (24).jpeg
19
+ - text: >-
20
+ 1boy, male focus, kurosaki ichigo, bleach, black hakama, tensa zangetsu
21
+ (bankai), torn clothes, outdoors, rain, pectorals, (masterpiece), (best
22
+ quality), (ultra-detailed), very aesthetic, illustration, disheveled hair,
23
+ perfect composition, moist skin, intricate details,
24
+ parameters:
25
+ negative_prompt: >-
26
+ nsfw, longbody, lowres, bad anatomy, bad hands, missing fingers, pubic
27
+ hair, extra digit, fewer digits, cropped, worst quality, low quality, very
28
+ displeasing
29
+ output:
30
+ url: images/image (19).jpeg
31
+ base_model: LyliaEngine/Pony_Diffusion_V6_XL
32
+ instance_prompt: None
33
+ license: cdla-permissive-2.0
34
+ ---
35
+ # animagineXLV31_v31
36
+
37
+ <Gallery />
38
+
39
+ ## Model description
40
+
41
+ Animagine XL 3.1 is an update in the Animagine XL V3 series, enhancing the previous version, Animagine XL 3.0. This open-source, anime-themed text-to-image model has been improved for generating anime-style images with higher quality. It includes a broader range of characters from well-known anime series, an optimized dataset, and new aesthetic tags for better image creation. Built on Stable Diffusion XL, Animagine XL 3.1 aims to be a valuable resource for anime fans, artists, and content creators by producing accurate and detailed representations of anime characters.
42
+ Model Details
43
+
44
+ Developed by: Cagliostro Research Lab
45
+
46
+ In collaboration with: SeaArt.ai
47
+
48
+ Model type: Diffusion-based text-to-image generative model
49
+
50
+ Model Description: Animagine XL 3.1 generates high-quality anime images from textual prompts. It boasts enhanced hand anatomy, improved concept understanding, and advanced prompt interpretation.
51
+
52
+ License: Fair AI Public License 1.0-SD
53
+
54
+ Fine-tuned from: Animagine XL 3.0
55
+
56
+ Usage Guidelines
57
+ Tag Ordering
58
+
59
+ For optimal results, it&#39;s recommended to follow the structured prompt template because we train the model like this:
60
+
61
+ 1girl&#x2F;1boy, character name, from what series, everything else in any order.
62
+
63
+ Special Tags
64
+
65
+ Animagine XL 3.1 utilizes special tags to steer the result toward quality, rating, creation date and aesthetic. While the model can generate images without these tags, using them can help achieve better results.
66
+ Quality Modifiers
67
+
68
+ Quality tags now consider both scores and post ratings to ensure a balanced quality distribution. We&#39;ve refined labels for greater clarity, such as changing &#39;high quality&#39; to &#39;great quality&#39;.
69
+
70
+
71
+ Quality Modifier Score Criterion
72
+ masterpiece &gt; 95%
73
+ best quality &gt; 85% &amp; ≤ 95%
74
+ great quality &gt; 75% &amp; ≤ 85%
75
+ good quality &gt; 50% &amp; ≤ 75%
76
+ normal quality &gt; 25% &amp; ≤ 50%
77
+ low quality &gt; 10% &amp; ≤ 25%
78
+ worst quality ≤ 10%
79
+
80
+ Rating Modifiers
81
+
82
+ We&#39;ve also streamlined our rating tags for simplicity and clarity, aiming to establish global rules that can be applied across different models. For example, the tag &#39;rating: general&#39; is now simply &#39;general&#39;, and &#39;rating: sensitive&#39; has been condensed to &#39;sensitive&#39;.
83
+
84
+
85
+ Rating Modifier Rating Criterion
86
+ safe General
87
+ sensitive Sensitive
88
+ nsfw Questionable
89
+ explicit, nsfw Explicit
90
+
91
+ Year Modifier
92
+
93
+ We&#39;ve also redefined the year range to steer results towards specific modern or vintage anime art styles more accurately. This update simplifies the range, focusing on relevance to current and past eras.
94
+
95
+
96
+ Year Tag Year Range
97
+ newest 2021 to 2024
98
+ recent 2018 to 2020
99
+ mid 2015 to 2017
100
+ early 2011 to 2014
101
+ oldest 2005 to 2010
102
+
103
+ Aesthetic Tags
104
+
105
+ We&#39;ve enhanced our tagging system with aesthetic tags to refine content categorization based on visual appeal. These tags are derived from evaluations made by a specialized ViT (Vision Transformer) image classification model, specifically trained on anime data. For this purpose, we utilized the model shadowlilac&#x2F;aesthetic-shadow-v2, which assesses the aesthetic value of content before it undergoes training. This ensures that each piece of content is not only relevant and accurate but also visually appealing.
106
+
107
+
108
+ Aesthetic Tag Score Range
109
+ very aesthetic &gt; 0.71
110
+ aesthetic &gt; 0.45 &amp; &lt; 0.71
111
+ displeasing &gt; 0.27 &amp; &lt; 0.45
112
+ very displeasing ≤ 0.27
113
+
114
+ Recommended settings
115
+
116
+ To guide the model towards generating high-aesthetic images, use negative prompts like:
117
+
118
+ nsfw, lowres, (bad), text, error, fewer, extra, missing, worst quality, jpeg artifacts, low quality, watermark, unfinished, displeasing, oldest, early, chromatic aberration, signature, extra digits, artistic error, username, scan, [abstract]
119
+
120
+ For higher quality outcomes, prepend prompts with:
121
+
122
+ masterpiece, best quality, very aesthetic, absurdres
123
+
124
+ it’s recommended to use a lower classifier-free guidance (CFG Scale) of around 5-7, sampling steps below 30, and to use Euler Ancestral (Euler a) as a sampler.
125
+ Multi Aspect Resolution
126
+
127
+ This model supports generating images at the following dimensions:
128
+
129
+ Dimensions Aspect Ratio
130
+ 1024 x 1024 1:1 Square
131
+ 1152 x 896 9:7
132
+ 896 x 1152 7:9
133
+ 1216 x 832 19:13
134
+ 832 x 1216 13:19
135
+ 1344 x 768 7:4 Horizontal
136
+ 768 x 1344 4:7 Vertical
137
+ 1536 x 640 12:5 Horizontal
138
+ 640 x 1536 5:12 Vertical
139
+
140
+ Acknowledgements
141
+
142
+ The development and release of Animagine XL 3.1 would not have been possible without the invaluable contributions and support from the following individuals and organizations:
143
+
144
+ SeaArt.ai: Our collaboration partner and sponsor.
145
+
146
+ Shadow Lilac: For providing the aesthetic classification model, aesthetic-shadow-v2.
147
+
148
+ Derrian Distro: For their custom learning rate scheduler, adapted from LoRA Easy Training Scripts.
149
+
150
+ Kohya SS: For their comprehensive training scripts.
151
+
152
+ Cagliostrolab Collaborators: For their dedication to model training, project management, and data curation.
153
+
154
+ Early Testers: For their valuable feedback and quality assurance efforts.
155
+
156
+ NovelAI: For their innovative approach to aesthetic tagging, which served as an inspiration for our implementation.
157
+
158
+ Thank you all for your support and expertise in pushing the boundaries of anime-style image generation.
159
+
160
+ Limitations
161
+
162
+ While Animagine XL 3.1 represents a significant advancement in anime-style image generation, it is important to acknowledge its limitations:
163
+
164
+ Anime-Focused: This model is specifically designed for generating anime-style images and is not suitable for creating realistic photos.
165
+
166
+ Prompt Complexity: This model may not be suitable for users who expect high-quality results from short or simple prompts. The training focus was on concept understanding rather than aesthetic refinement, which may require more detailed and specific prompts to achieve the desired output.
167
+
168
+ Prompt Format: Animagine XL 3.1 is optimized for Danbooru-style tags rather than natural language prompts. For best results, users are encouraged to format their prompts using the appropriate tags and syntax.
169
+
170
+ Anatomy and Hand Rendering: Despite the improvements made in anatomy and hand rendering, there may still be instances where the model produces suboptimal results in these areas.
171
+
172
+ Dataset Size: The dataset used for training Animagine XL 3.1 consists of approximately 870,000 images. When combined with the previous iteration&#39;s dataset (1.2 million), the total training data amounts to around 2.1 million images. While substantial, this dataset size may still be considered limited in scope for an &quot;ultimate&quot; anime model.
173
+
174
+ NSFW Content: Animagine XL 3.1 has been designed to generate more balanced NSFW content. However, it is important to note that the model may still produce NSFW results, even if not explicitly prompted.
175
+
176
+ By acknowledging these limitations, we aim to provide transparency and set realistic expectations for users of Animagine XL 3.1. Despite these constraints, we believe that the model represents a significant step forward in anime-style image generation and offers a powerful tool for artists, designers, and enthusiasts alike.
177
+ License
178
+
179
+ Based on Animagine XL 3.0, Animagine XL 3.1 falls under Fair AI Public License 1.0-SD license, which is compatible with Stable Diffusion models’ license. Key points:
180
+
181
+ Modification Sharing: If you modify Animagine XL 3.1, you must share both your changes and the original license.
182
+
183
+ 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.
184
+
185
+ Distribution Terms: Any distribution must be under this license or another with similar rules.
186
+
187
+ Compliance: Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values.
188
+
189
+ The choice of this license aims to keep Animagine XL 3.1 open and modifiable, aligning with open source community spirit. It protects contributors and users, encouraging a collaborative, ethical open-source community. This ensures the model not only benefits from communal input but also respects open-source development freedoms.
190
+
191
+ Finally Cagliostro Lab Server open to public https:&#x2F;&#x2F;discord.gg&#x2F;cqh9tZgbGc
192
+
193
+ Feel free to join our discord server.
194
+ If you want to donate or buy us a coffee you can donate Here
195
+
196
+ Thank you very much ^_^
197
+
198
+
199
+ ## Trigger words
200
+
201
+ You should use `None` to trigger the image generation.
202
+
203
+
204
+ ## Download model
205
+
206
+ Weights for this model are available in Safetensors format.
207
+
208
+ [Download](/LyliaEngine/animagineXLV31_v31/tree/main) them in the Files & versions tab.