Provide the model to an app such as
Mochi Diffusion
Github
/
Discord
to generate images.
original
version is only compatible with
CPU & GPU
option
split_einsum
version takes
about 5-10 minutes
to load the model for the first time and is available for both
CPU & Neural Engine
and
CPU & GPU
options. If your Mac has a lot of GPUs, using the CPU & GPU option will speed up image generation.
Resolution and bit size are as noted in the individual file names.
This model requires macOS 14.0 or later to run properly.
This model was converted with a
vae-encoder
for use with
image2image
.
Descriptions are posted as-is from original model source.
Not all features and/or results may be available in
CoreML
format.
The remaining contents of this model card were copied from the original animagine-xl-3.0 repo
Animagine XL 3.0
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.
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.
Prompting is a bit different in this iteration, 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
Like the previous iteration, this model was trained with some special tags to steer the result toward quality, rating and when the posts was created. The model can still do the job without these special tags, but it’s recommended to use them if we want to make the model easier to handle.
Quality Modifiers
Quality Modifier
Score Criterion
masterpiece
>150
best quality
100-150
high quality
75-100
medium quality
25-75
normal quality
0-25
low quality
-5-0
worst quality
<-5
Rating Modifiers
Rating Modifier
Rating Criterion
rating: general
General
rating: sensitive
Sensitive
rating: questionable
,
nsfw
Questionable
rating: explicit
,
nsfw
Explicit
Year Modifier
These tags help to steer the result toward modern or vintage anime art styles, ranging from
newest
to
oldest
.
Year Tag
Year Range
newest
2022 to 2023
late
2019 to 2021
mid
2015 to 2018
early
2011 to 2014
oldest
2005 to 2010
Recommended settings
To guide the model towards generating high-aesthetic images, use negative prompts like:
nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, artist name
For higher quality outcomes, prepend prompts with:
masterpiece, best quality
However, be careful to use
masterpiece
,
best quality
because many high-scored datasets are NSFW. It’s better to add
nsfw
,
rating: sensitive
to the negative prompt and
rating: general
to the positive prompt. 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
Training and Hyperparameters
Animagine XL 3.0
was trained on a 2x A100 GPU with 80GB memory for 21 days or over 500 gpu hours. The training process encompassed three stages:
Base:
Feature Alignment Stage
: Utilized 1.2m images to acquaint the model with basic anime concepts.
Refining UNet Stage
: Employed 2.5k curated datasets to only fine-tune the UNet.
Curated:
Aesthetic Tuning Stage
: Employed 3.5k high-quality curated datasets to refine the model's art style.
While "Animagine XL 3.0" represents a significant advancement in anime text-to-image generation, it's important to acknowledge its limitations to understand its best use cases and potential areas for future improvement.
Concept Over Artstyle Focus
: The model prioritizes learning concepts rather than specific art styles, which might lead to variations in aesthetic appeal compared to its predecessor.
Non-Photorealistic Design
: Animagine XL 3.0 is not designed for generating photorealistic or realistic images, focusing instead on anime-style artwork.
Anatomical Challenges
: Despite improvements, the model can still struggle with complex anatomical structures, particularly in dynamic poses, resulting in occasional inaccuracies.
Dataset Limitations
: The training dataset of 1.2 million images may not encompass all anime characters or series, limiting the model's ability to generate less known or newer characters.
Natural Language Processing
: The model is not optimized for interpreting natural language, requiring more structured and specific prompts for best results.
NSFW Content Risk
: Using high-quality tags like 'masterpiece' or 'best quality' carries a risk of generating NSFW content inadvertently, due to the prevalence of such images in high-scoring training datasets.
These limitations highlight areas for potential refinement in future iterations and underscore the importance of careful prompt crafting for optimal results. Understanding these constraints can help users better navigate the model's capabilities and tailor their expectations accordingly.
Acknowledgements
We extend our gratitude to the entire team and community that contributed to the development of Animagine XL 3.0, including our partners and collaborators who provided resources and insights crucial for this iteration.
Main:
For the open source grant supporting our research, thank you so much.
Cagliostro Lab Collaborator:
For helping quality checking during pretraining and curating datasets during fine-tuning.
Kohya SS:
For providing the essential training script and merged our PR about
keep_tokens_separator
or Shuffle Separator.
Camenduru Server Community:
For invaluable insights and support and quality checking
NovelAI:
For inspiring how to build the datasets and label it using tag ordering.
Modification Sharing:
If you modify Animagine XL 3.0, 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.0 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.
Runs of coreml-community coreml-animagine-xl-3.0 on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About coreml-animagine-xl-3.0 huggingface.co Model
coreml-animagine-xl-3.0 huggingface.co is an AI model on huggingface.co that provides coreml-animagine-xl-3.0's model effect (), which can be used instantly with this coreml-community coreml-animagine-xl-3.0 model. huggingface.co supports a free trial of the coreml-animagine-xl-3.0 model, and also provides paid use of the coreml-animagine-xl-3.0. Support call coreml-animagine-xl-3.0 model through api, including Node.js, Python, http.
coreml-animagine-xl-3.0 huggingface.co is an online trial and call api platform, which integrates coreml-animagine-xl-3.0's modeling effects, including api services, and provides a free online trial of coreml-animagine-xl-3.0, you can try coreml-animagine-xl-3.0 online for free by clicking the link below.
coreml-community coreml-animagine-xl-3.0 online free url in huggingface.co:
coreml-animagine-xl-3.0 is an open source model from GitHub that offers a free installation service, and any user can find coreml-animagine-xl-3.0 on GitHub to install. At the same time, huggingface.co provides the effect of coreml-animagine-xl-3.0 install, users can directly use coreml-animagine-xl-3.0 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
coreml-animagine-xl-3.0 install url in huggingface.co: