Model reference · open weights

animagine-xl-4.0

animagine-xl-4.0 is an open-weight image model from cagliostrolab, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Image cagliostrolab 1 variants 296k downloads/mo
Request this model on EU hardware All served models Not on the shared API today — deployed on request.

About

What animagine-xl-4.0 is

Animagine XL 4.0 Overview Animagine XL 4.0, also stylized as Anim4gine, is the ultimate anime-themed finetuned SDXL model and the latest installment of Animagine XL series. Despite being a continuation, the model was retrained from Stable Diffusion XL 1.0 with a massive dataset of 8.4M diverse anime-style images from various sources with the knowledge cut-off of January 7th 2025 and finetuned for approximately 2650 GPU hours. Similar to the previous version, this model was trained using tag ordering method for the identity and style training. With the release of Animagine XL 4.0 Opt (Optimized), the model has been further refined with an additional dataset, improving stability, anatomy accuracy, noise reduction, color saturation, and overall color accuracy. These enhancements make Animagine XL 4.0 Opt more consistent and visually appealing while maintaining the signature quality of the series. Changelog - 2025-02-13 – Added Animagine XL 4.0 Opt - Better stability for more consistent outputs - Enhanced anatomy with more accurate proportions - Reduced noise and artifacts in generations - Fixed low saturation issues, resulting in richer colors - Improved color accuracy for more visually appealing results - 2025-01-24 – Initial release Model Details - Developed by: Cagliostro Research Lab - Model type: Diffusion-based text-to-image generative model - License: CreativeML Open RAIL++-M - Model Description: This is a model that can be used to generate and modify specifically anime-themed images based on text prompt - Fine-tuned from: Stable Diffusion XL 1.0 Downstream Use 1. Use this model in our Hugging Face Spaces 2. Use it in ComfyUI or Stable Diffusion Webui 3. Use it with 🧨 diffusers 🧨 Diffusers Installation 1. Install Required Libraries 2. Example Code The example below uses lpwstablediffusionxl pipeline which enables better handling of long, weighted and detailed prompts. The model is already uploaded in FP16 format, so there's no need to specify variant="fp16" in the frompretrained call. Usage Guidelines The summary can be seen in the image for the prompt guideline. 1. Prompt Structure The model was trained with tag-based captions and the tag-ordering method. U

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makercagliostrolab
TypeImage models
Parameters (lead)2.6B
Variants1
Runs withdiffusers
Based onstabilityai/stable-diffusion-xl-base-1.0
Released2025-01-10
Popularity296k downloads / month
Likes490
LicenceOpen weights

How it works

How image models work

Text promptwhat to makeText encoderunderstands itDiffusion stepsdenoise to pixelsImagePNG / JPEGA diffusion model starts from noise and denoises it, guided by your prompt, into a finished image.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
animagine-xl-4.02.6BBF16~5.9 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys animagine-xl-4-0 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (animagine-xl-4-0 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/images/generations \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"animagine-xl-4-0","prompt":"a red bicycle","size":"1024x1024"}'

Details

Languages, data & research

Languages

en

Tags

diffusers safetensors text-to-image stable-diffusion stable-diffusion-xl en endpoints_compatible diffusers:StableDiffusionXLPipeline

Licence

Open weights

Open weights under openrail++ — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗

Sources

Weights & code

Want animagine-xl-4.0 on EU-owned hardware?

Request this model on EU hardware See what’s served now

Explore

More image models

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms