File size: 10,241 Bytes
2bd3b5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
db2a2ac
 
 
 
 
 
 
2bd3b5f
 
 
 
 
 
 
 
 
 
 
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
207
208
209
210
211
212
213
214
215
216
---
tags:
- text-to-image
- stable-diffusion
- lora
- diffusers
- template:sd-lora
widget:
- text: >-
    1girl, souryuu asuka langley, neon genesis evangelion, rebuild of
    evangelion, lance of longinus, cat hat, plugsuit, pilot suit, red bodysuit,
    sitting, crossed legs, black eye patch, throne, looking down, from bottom,
    looking at viewer, outdoors, masterpiece, best quality, very aesthetic,
    absurdres
  parameters:
    negative_prompt: wings, nsfw, low quality, worst quality, normal quality,
  output:
    url: images/image (24).jpeg
- text: >-
    1boy, male focus, kurosaki ichigo, bleach, black hakama, tensa zangetsu
    (bankai), torn clothes, outdoors, rain, pectorals, (masterpiece), (best
    quality), (ultra-detailed), very aesthetic, illustration, disheveled hair,
    perfect composition, moist skin, intricate details,
  parameters:
    negative_prompt: >-
      nsfw, longbody, lowres, bad anatomy, bad hands, missing fingers, pubic
      hair, extra digit, fewer digits, cropped, worst quality, low quality, very
      displeasing
  output:
    url: images/image (19).jpeg
base_model: LyliaEngine/Pony_Diffusion_V6_XL
instance_prompt: None
license: cdla-permissive-2.0
---
# animagineXLV31_v31

<Gallery />

## Model description 

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.
Model Details

    Developed by: Cagliostro Research Lab

    In collaboration with: SeaArt.ai

    Model type: Diffusion-based text-to-image generative model

    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.

    License: Fair AI Public License 1.0-SD

    Fine-tuned from: Animagine XL 3.0

Usage Guidelines
Tag Ordering

For optimal results, it&#39;s recommended to follow the structured prompt template because we train the model like this:

1girl&#x2F;1boy, character name, from what series, everything else in any order.

Special Tags

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.
Quality Modifiers

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;.


Quality Modifier	Score Criterion
masterpiece	        &gt; 95%
best quality	        &gt; 85% &amp; ≤ 95%
great quality	        &gt; 75% &amp; ≤ 85%
good quality	        &gt; 50% &amp; ≤ 75%
normal quality	        &gt; 25% &amp; ≤ 50%
low quality	        &gt; 10% &amp; ≤ 25%
worst quality	        ≤ 10%

Rating Modifiers

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;.


Rating Modifier	    Rating Criterion
safe	            General
sensitive	    Sensitive
nsfw	            Questionable
explicit, nsfw	    Explicit

Year Modifier

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.


Year Tag	Year Range
newest	        2021 to 2024
recent	        2018 to 2020
mid	        2015 to 2017
early	        2011 to 2014
oldest	        2005 to 2010

Aesthetic Tags

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.


Aesthetic Tag	       Score Range
very aesthetic	       &gt; 0.71
aesthetic	       &gt; 0.45 &amp; &lt; 0.71
displeasing	       &gt; 0.27 &amp; &lt; 0.45
very displeasing       ≤ 0.27

Recommended settings

To guide the model towards generating high-aesthetic images, use negative prompts like:

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]

For higher quality outcomes, prepend prompts with:

masterpiece, best quality, very aesthetic, absurdres

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.
Multi Aspect Resolution

This model supports generating images at the following dimensions:

Dimensions	Aspect Ratio
1024 x 1024	1:1 Square
1152 x 896	9:7
896 x 1152	7:9
1216 x 832	19:13
832 x 1216	13:19
1344 x 768	7:4 Horizontal
768 x 1344	4:7 Vertical
1536 x 640	12:5 Horizontal
640 x 1536	5:12 Vertical

Acknowledgements

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:

    SeaArt.ai: Our collaboration partner and sponsor.

    Shadow Lilac: For providing the aesthetic classification model, aesthetic-shadow-v2.

    Derrian Distro: For their custom learning rate scheduler, adapted from LoRA Easy Training Scripts.

    Kohya SS: For their comprehensive training scripts.

    Cagliostrolab Collaborators: For their dedication to model training, project management, and data curation.

    Early Testers: For their valuable feedback and quality assurance efforts.

    NovelAI: For their innovative approach to aesthetic tagging, which served as an inspiration for our implementation.

Thank you all for your support and expertise in pushing the boundaries of anime-style image generation.

Limitations

While Animagine XL 3.1 represents a significant advancement in anime-style image generation, it is important to acknowledge its limitations:

    Anime-Focused: This model is specifically designed for generating anime-style images and is not suitable for creating realistic photos.

    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.

    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.

    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.

    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.

    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.

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.
License

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:

    Modification Sharing: If you modify Animagine XL 3.1, you must share both your changes and the original license.

    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.

    Distribution Terms: Any distribution must be under this license or another with similar rules.

    Compliance: Non-compliance must be fixed within 30 days to avoid license termination, emphasizing transparency and adherence to open-source values.

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.

Finally Cagliostro Lab Server open to public https:&#x2F;&#x2F;discord.gg&#x2F;cqh9tZgbGc

Feel free to join our discord server.
If you want to donate or buy us a coffee you can donate Here

Thank you very much ^_^

## Source

https://civitai.com/models/260267/animagine-xl-v31

## Credit

https://civitai.com/user/CagliostroLab

## Trigger words

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


## Download model

Weights for this model are available in Safetensors format.

[Download](/LyliaEngine/animagineXLV31_v31/tree/main) them in the Files & versions tab.