/ Модель

Характеристики

Лицензия
OpenRAIL++
Базовая модель
animagine-xl-3.0
Опубликована
16 сен 2026

animagine-xl-3.1

Генерация изображенийТекст → изображение3 профессии

Производная модели cagliostrolab/animagine-xl-3.1. Дообученная модель Stable Diffusion XL для создания подробных иллюстраций в стиле аниме по текстовым запросам.

46скачиваний за 30 дней0лайковвеса обновлены16 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображения» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели сгенерируют результат по каждой задаче. Опубликованный тест появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

Карточка модели Kur0n1ko/animagine-xl-3.1 на Hugging Face совпадает с карточкой cagliostrolab/animagine-xl-3.1, поэтому описание составлено по ней.

Animagine XL 3.1 — модель генерации изображений по текстовому описанию, разработанная Cagliostro Research Lab. Это дообученная на основе Stable Diffusion XL модель семейства Animagine XL, специализирующаяся на изображениях в стиле аниме и персонажах из известных аниме-сериалов. Авторы отмечают улучшенное понимание запросов, прорисовку рук и поддержку тегов качества, рейтинга, эпохи и эстетики.

Модель предназначена для художников, поклонников аниме и создателей контента, которым нужно создавать или варьировать иллюстрации по текстовым запросам. Для более предсказуемого результата рекомендуется использовать подробные описания и теги в стиле Danbooru; модель доступна через Diffusers в форматах Diffusers и safetensors. Лицензия — CreativeML Open RAIL++-M, обозначенная в метаданных как openrail++.

Модель ориентирована на аниме и не подходит для фотореалистичных изображений. Короткие или простые запросы могут давать слабый результат, а анатомия и руки всё ещё могут изображаться с ошибками. Возможна генерация NSFW-контента, в том числе без явного запроса.

Сценарии применения

  • создание аниме-персонажа по описанию
  • генерация иллюстраций по тегам в стиле Danbooru
  • создание вариантов персонажей из известных аниме
  • подбор визуального стиля с помощью тегов эпохи и эстетики
  • подготовка концепт-арта для аниме-проектов

Ограничения

Модель ориентирована на аниме и не предназначена для фотореалистичных изображений; для хорошего результата обычно нужны подробные запросы с тегами в стиле Danbooru. Анатомия и руки могут изображаться с ошибками, и модель способна генерировать NSFW-контент даже без явного запроса.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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
  • 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: CreativeML Open RAIL++-M License
  • Fine-tuned from: Animagine XL 3.0

Gradio & Colab Integration

Try the demo powered by Gradio in Huggingface Spaces: Open In Spaces

Or open the demo in Google Colab: Open In Colab

🧨 Diffusers Installation

First install the required libraries:

pip install diffusers transformers accelerate safetensors --upgrade

Then run image generation with the following example code:

import torch
from diffusers import DiffusionPipeline

pipe = DiffusionPipeline.from_pretrained(
    "cagliostrolab/animagine-xl-3.1", 
    torch_dtype=torch.float16, 
    use_safetensors=True, 
)
pipe.to('cuda')

prompt = "1girl, souryuu asuka langley, neon genesis evangelion, solo, upper body, v, smile, looking at viewer, outdoors, night"
negative_prompt = "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]"

image = pipe(
    prompt, 
    negative_prompt=negative_prompt,
    width=832,
    height=1216, 
    guidance_scale=7,
    num_inference_steps=28
).images[0]

image.save("./output/asuka_test.png")

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 ModifierScore 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 ModifierRating Criterion
safeGeneral
sensitiveSensitive
nsfwQuestionable
explicit, nsfwExplicit

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 TagYear Range
newest2021 to 2024
recent2018 to 2020
mid2015 to 2017
early2011 to 2014
oldest2005 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 TagScore 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:

DimensionsAspect Ratio
1024 x 10241:1 Square
1152 x 8969:7
896 x 11527:9
1216 x 83219:13
832 x 121613:19
1344 x 7687:4 Horizontal
768 x 13444:7 Vertical
1536 x 64012:5 Horizontal
640 x 15365:12 Vertical

Training and Hyperparameters

Animagine XL 3.1 was trained on 2x A100 80GB GPUs for approximately 15 days, totaling over 350 GPU hours. The training process consisted of three stages:

  • Pretraining: Utilized a data-rich collection of 870k ordered and tagged images to increase Animagine XL 3.0's model knowledge.
  • Finetuning - First Stage: Employed labeled and curated aesthetic datasets to refine the broken U-Net after pretraining.
  • Finetuning - Second Stage: Utilized labeled and curated aesthetic datasets to refine the model's art style and improve hand and anatomy rendering.

Hyperparameters

StageEpochsUNet lrTrain Text EncoderBatch SizeNoise OffsetOptimizerLR SchedulerGrad Acc StepsGPUs
Pretraining101e-5True16N/AAdamWCosine Annealing Warm Restart32
Finetuning 1st Stage102e-6False480.0357AdafactorConstant with Warmup11
Finetuning 2nd Stage151e-6False480.0357AdafactorConstant with Warmup11

Model Comparison (Pretraining only)

Training Config

Configuration ItemAnimagine XL 3.0Animagine XL 3.1
GPU2 x A100 80G2 x A100 80G
Dataset1,271,990873,504
Shuffle SeparatorTrueTrue
Num Epochs1010
Learning Rate7.5e-61e-5
Text Encoder Learning Rate3.75e-61e-5
Effective Batch Size48 x 1 x 216 x 3 x 2
OptimizerAdafactorAdamW
Optimizer ArgsScale Parameter: False, Relative Step: False, Warmup Init: FalseWeight Decay: 0.1, Betas: (0.9, 0.99)
LR SchedulerConstant with WarmupCosine Annealing Warm Restart
LR Scheduler ArgsWarmup Steps: 100Num Cycles: 10, Min LR: 1e-6, LR Decay: 0.9, First Cycle Steps: 9,099

Source code and training config are available here: https://github.com/cagliostrolab/sd-scripts/tree/main/notebook

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: for funding and supporting this project.
  • 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.
  • KBlueLeaf: For providing inspiration in balancing quality tags distribution and managing tags based on Hakubooru Metainfo

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

Collaborators

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

This model is licensed under the CreativeML Open RAIL++-M License.

To ensure full compatibility with the upstream SDXL ecosystem and standard usage rights, this model adheres strictly to the original SDXL terms, which include:

  • ✅ Permitted: Commercial use, modifications, distribution, private use
  • ❌ Prohibited: Illegal activities, harmful content generation, discrimination, exploitation

Note: This license supersedes any previous community license tags (e.g., FAIPL) applied to earlier versions of this repository, ensuring full compatibility with the standard SDXL ecosystem.

Please refer to the full license agreement for complete details.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм

Можно запустить

Подбираем GPU…

Ревизия весов
17d3e35

0 моделей