CivArchive
    Animagine XL V3.1 - v3.0
    Preview 5352351
    Preview 5352345
    Preview 5352352
    Preview 5352348
    Preview 5352346
    Preview 5352347

    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's recommended to follow the structured prompt template because we train the model like this:

    1girl/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've refined labels for greater clarity, such as changing 'high quality' to 'great quality'.

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

    Rating Modifiers

    We'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 'rating: general' is now simply 'general', and 'rating: sensitive' has been condensed to 'sensitive'.

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

    Year Modifier

    We'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'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/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	       > 0.71
    aesthetic	       > 0.45 & < 0.71
    displeasing	       > 0.27 & < 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:

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

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

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

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

    5. Dataset Size: The dataset used for training Animagine XL 3.1 consists of approximately 870,000 images. When combined with the previous iteration'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 "ultimate" anime model.

    6. 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:

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

    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.

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

    4. 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://discord.gg/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 ^_^

    Description

    ANIMAGINE XL 3.0

    Huggingface link: https://huggingface.co/cagliostrolab/animagine-xl-3.0

    Gradio Demo : https://huggingface.co/spaces/Linaqruf/animagine-xl

    Official Blog Release: https://cagliostrolab.net/posts/animagine-xl-v3-release

    Support us at: https://ko-fi.com/linaqruf

    Overview

    Animagine XL 3.0 is the latest version of the sophisticated open-source anime text-to-image model, building upon the capabilities of its predecessor, Animagine XL 2.0. Developed based on Stable Diffusion XL, this iteration boasts superior image generation with notable improvements in hand anatomy, efficient tag ordering, and enhanced knowledge about anime concepts. Unlike the previous iteration, we focused to make the model learn concepts rather than aesthetic.

    Animagine XL 3.0 was trained on a 2x A100 GPU with 80GB memory for 21 days or over 500 gpu hours. For further information please visit our official blog or huggingface repository.

    Model Details

    • Developed by: Cagliostro Research Lab

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

    • Model Description: Animagine XL 3.0 is engineered to generate high-quality anime images from textual prompts. It features enhanced hand anatomy, better concept understanding, and prompt interpretation, making it the most advanced model in its series.

    • License: Fair AI Public License 1.0-SD

    • Finetuned from model: Animagine XL 2.0

    FAQ

    Comments (73)

    ppkkmoonJan 10, 2024· 10 reactions
    CivitAI

    One of the best ? No ! It is best of the best !

    ppkkmoonJan 10, 2024· 4 reactions
    CivitAI

    Novelai diffusion anime v3 ???

    感覺就是流出版的 Novelai diffusion anime v3 !!!

    gurashiyoJan 10, 2024· 5 reactions
    CivitAI

    This model can essentially be used as an NAI3 model, but please remember to escape the parentheses by adding '\' in front of them. You can find keywords directly on Danbooru, and try to separate them with commas whenever possible

    这个模型基本可以当成NAI3模型用了,不过记得在括号前加上 \ 进行转义;关键字可以在danbooru直接找,且尽量用逗号隔开

    kitarzJan 10, 2024· 6 reactions
    CivitAI

    it's the best xl model!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    kitarzJan 10, 2024· 7 reactions
    CivitAI

    Now,I unemployment!!!!

    4BEraserJan 10, 2024
    CivitAI

    yup, it looks good, but definitely not close to nai3, it can not recognize old character before 2017, and some artist tag as well.

    e.g.: haruna_\(kancolle\), almost any anime model can recognize her somehow, but in this model won't get anything close to her.

    edit: this model can not even recognize Shimakaze and Kashima, wow.

    818528Jan 10, 2024· 6 reactions

    It's simply because it's not in the training data. We have limited fund so we choose to avoid to train old training datas that almost anime model can recognize, touhou included. This is the first anime model that doesn't recognize Reimu.

    4BEraserJan 10, 2024· 1 reaction

    @Linaqruf That's pretty a big OOF LOL, anyway, thanks for the effort, this is a 5/5 model at newest characters.

    illyaeaterJan 10, 2024· 1 reaction

    @Linaqruf Pretty 5head since most models can't do new shit so you can just try to fill in the gaps of older and stock shit with other models

    MachiJan 10, 2024· 1 reaction

    @Linaqruf Do you think you could supply a file with the tag list/counts or something like that so people can easily tell which concepts they should and shouldn't expect the model to support? Right now it's pretty vague and this limitation isn't even concretely mentioned in the blog article, so I feel like people's expectations will be misaligned and much GPU & human time will be spent trying to figure out what's supported.

    818528Jan 10, 2024

    @illyaeater Yeah, it's now relevant to train Cirno LoRA

    818528Jan 10, 2024· 4 reactions

    @Machi I release it as wildcard in our huggingface spaces https://huggingface.co/spaces/Linaqruf/animagine-xl/blob/main/wildcard/character.txt

    And it's sorted from higher to lower image count, alternate costume included, you can ctrl+f if your character supported or not.

    818528Jan 10, 2024· 3 reactions

    @4BEraser Thank you, we appreciate it. Atleast now we have the best training config to train with. Once we got enough fund we plan to train with full datasets and release it to public.  

    illyaeaterJan 10, 2024· 2 reactions

    @Linaqruf time for 5gb cirno lora guy to make a comeback

    MachiJan 11, 2024· 1 reaction

    @Linaqruf Ah thanks, I'd missed that since I was just looking at the Lab's directory & site. I think it'd still be useful to have a more complete list of tags, but I can imagine some reasons why making it public could cause issues...

    ChenkinJan 10, 2024· 5 reactions
    CivitAI

    我会立刻根据这个底模训练我的角色lora,他有可能是目前最好的XL二次元模型之一。我会尽量训练底模不认识的角色,但不会是原神,因为所有的原神角色在这个底模上都能使用tag直出了。I will immediately train my character Lora based on this base model, which may be one of the best XL anime-style models available. I will try to train characters that the base model is not familiar with, but it won't be characters from Genshin Impact because all Genshin Impact characters can be directly generated using tags on this base model.

    ChenkinJan 10, 2024· 4 reactions
    CivitAI

    This model is worth staying up all night for.

    chenNdGJan 10, 2024· 1 reaction
    CivitAI

    Thanks for this good work !

    ChenkinJan 10, 2024· 9 reactions
    CivitAI

    我使用Animagine XL V3训练了一个角色lora,效果似乎非常好:https://civitai.com/models/260673/marcille-delicious-in-dungeon-xl-based-on-animagine-xl-v3

    ppkkmoonJan 11, 2024· 1 reaction

    看來你要更新你的熱滿Lora 了~~~

    colaisdeliciousJan 10, 2024· 14 reactions
    CivitAI

    If there is a plan for version 4, I will definitely sponsor it.

    818528Jan 12, 2024· 2 reactions

    Yes, hopefully before end of 2024

    colaisdeliciousJan 12, 2024· 2 reactions

    @Linaqruf I'll wait.

    kitarzJan 10, 2024· 21 reactions
    CivitAI

    向 NovelAI Diffusion V3 开战!

    Declare war on NovelAI Diffusion V3!

    poi3waterJan 10, 2024· 5 reactions
    CivitAI

    hero appeared!!!

    KOKONA99Jan 11, 2024· 4 reactions
    CivitAI

    It is best of the best !

    818528Jan 12, 2024

    Thank you!

    ChenkinJan 11, 2024· 11 reactions
    CivitAI

    我回来了,我使用Animagine XL V3训练特定画风,出乎意料,他的效果甚至比SD1.5还要好,比如在光影和多人方面,我强烈推荐使用这个底模去训练画风,之前在XL上不能实现的,现在有可能变为现实,模型链接:https://civitai.com/models/181857/c-xl-comic-lo-takamichi-style-xl

    用这个还需要xl的vae吗

    ChenkinJan 11, 2024

    @LostInHentaiThoughts 我好像没有用任何Vae

    EreonixJan 11, 2024
    CivitAI

    That is best model, but one XL feature was lost - the text on the image

    akkyossJan 11, 2024· 1 reaction
    CivitAI

    Just to confirm,

    When sharing a model that has been merged with this model, is it necessary to share the changes made during the merge, such as the parameters?

    818528Jan 11, 2024· 5 reactions

    I suggest yes, only the final model that you want to release publicly. And yes, the recipes used to merge as well.

    akkyossJan 11, 2024· 1 reaction

    thankyou!

    E_EEJan 11, 2024· 3 reactions
    CivitAI

    感觉挺不错的

    L_A_XJan 11, 2024· 6 reactions
    CivitAI

    Animagineはまだ潜在力がありますねミ(・・)ミ

    kozueJan 11, 2024· 11 reactions
    CivitAI

    我叛变了!1.5再tmd见!

    meiyouzhuyaJan 11, 2024· 6 reactions
    CivitAI

    很好的底模使我的lora旋转

    os12zJan 11, 2024· 3 reactions
    CivitAI

    You are our hope. I try several tag, no matter nsfw or not, this is much better. Only problem is multiple person at the same screen, but small problem, you prove the path is right and the rest of problem is just train, train and train!

    818528Jan 12, 2024

    Thanks!

    nutuJan 11, 2024· 5 reactions
    CivitAI

    Thank you for your great work!

    Please note your Ko-fi or patreon link!

    We wanna donate to your brilliant project!!

    second222Jan 11, 2024· 4 reactions
    CivitAI

    cooooooooooooool,THE BEST ANIME sdxl model!!!!!!!!!!!!!

    naga3Jan 11, 2024· 4 reactions
    CivitAI
    Euge_Jan 11, 2024· 13 reactions
    CivitAI

    Wonderful model!

    illyaeaterJan 11, 2024

    egue PogU

    818528Jan 12, 2024· 1 reaction

    Thank you!

    shenjingtudiJan 11, 2024· 7 reactions
    CivitAI

    You are a genius!

    818528Jan 12, 2024

    Thanks!

    dttigerJan 11, 2024· 2 reactions
    CivitAI

    太強啦!我的4090終於有用了~

    ZuubyJan 11, 2024· 24 reactions
    CivitAI

    你让开源社区在绝对利益的轰炸下看到了一束希望!!

    You let the open source community see a bundle of hope under the absolute interest bombardment!!!

    818528Jan 12, 2024

    Thanks!

    munchkinJan 11, 2024· 5 reactions
    CivitAI

    Oh wow, I certainly didn't expect to see something that good today

    ligerJan 11, 2024· 7 reactions
    CivitAI

    Amazing work, thanks sincerely!

    This is a great milestone for the community XL model!

    818528Jan 12, 2024· 2 reactions

    Thank you!

    FallenIncursioJan 11, 2024· 7 reactions
    CivitAI

    Good Stuff

    SquibeelJan 11, 2024· 13 reactions
    CivitAI

    Is there a place for donations or a Kofi page for this project? Asking for a friend.

    cinoaiJan 12, 2024· 4 reactions
    CivitAI

    This is the real masterpiece

    818528Jan 12, 2024

    Thanks!

    rerolls26Jan 12, 2024· 7 reactions
    CivitAI

    Incredible!!
    thanks to Nerdy Rodent i found this model.

    ChenkinJan 12, 2024· 5 reactions
    CivitAI

    I have currently trained around 6 to 7 characters based on Animagine XL 3.0, which is motivating for me. Is there a list of supported characters for Animagine XL 3.0? I would like to avoid using characters that can be directly generated by Animagine XL 3.0 as much as possible.

    GWH114514Jan 12, 2024· 7 reactions
    bunnyhuntercycy188Jan 12, 2024

    @114514ghs OMG O_O

    MachiJan 14, 2024· 3 reactions

    I've processed the wildcards character.txt file to make it a bit more usable for looking up things. Also note that even if some characters appear in this list, it doesn't necessarily mean the model has learned the features of that character, so you should test it still. It's especially true if there are very few characters from the same series in the list.

    https://docs.google.com/spreadsheets/d/1XTSAWFYUcevo-ccNngB14iP1UWidTD26s0z_itMCvSU/edit#gid=1617620384

    ChenkinJan 14, 2024

    @Machi thank

    mzeyJan 12, 2024· 5 reactions
    CivitAI

    YOU ARE GOD

    momijifwJan 12, 2024· 7 reactions
    CivitAI

    this one was te one that made do the leap to XL, thanks you so much for your work, I sincerely appreciate it, this is an amazing model~

    DazrockJan 12, 2024· 11 reactions
    CivitAI

    In my opinion this model is the "Anything V3 moment" of SDXL anime models.
    You're our savior my friend!
    Thank you for your contribution to this community!

    Aeka0Jan 12, 2024· 18 reactions
    CivitAI

    Make Open-source Community Great Again

    boyohboyyyJan 13, 2024· 4 reactions
    CivitAI

    god damn this is good

    JemniteJan 13, 2024· 2 reactions
    CivitAI

    Please upload the base version on civitai too. Though it's less stylized, I feel like it has better lighting fidelity.

    ShadowPowerJan 13, 2024

    I also want it because I download faster from civitai.

    CagliostroLab
    Author
    Jan 14, 2024

    Thank you for the suggestion the base model is already uploaded