rocketdigitalai / animagine-xl-4.0

Ultimate anime-themed finetuned SDXL model and the latest installment of the Animagine XL series

  • Public
  • 262 runs
  • License

Run time and cost

This model costs approximately $0.18 to run on Replicate, or 5 runs per $1, but this varies depending on your inputs. It is also open source and you can run it on your own computer with Docker.

This model runs on Nvidia L40S GPU hardware. Predictions typically complete within 4 minutes. The predict time for this model varies significantly based on the inputs.

Readme

Animagine XL 4.0 (Anim4gine)

Animagine XL 4.0, also stylized as Anim4gine, is the ultimate anime-themed finetuned SDXL model and the latest installment of the 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 the tag ordering method for identity and style training.


Model Details

  • Developed by: Cagliostro Research Lab
  • Model type: Diffusion-based text-to-image generative model
  • License: CreativeML Open RAIL++-M
  • Model Description: Generates and modifies anime-themed images based on text prompts
  • Fine-tuned from: Stable Diffusion XL 1.0

Usage Guidelines

1. Prompt Structure

The model was trained with tag-based captions and the tag-ordering method. Use this structured template:

1girl/1boy/1other, character name, from which series, everything else in any order.

2. Quality Enhancement Tags

Add these tags at the start or end of your prompt:

masterpiece, high score, great score, absurdres
lowres, bad anatomy, bad hands, text, error, missing finger, extra digits, fewer digits, cropped, worst quality, low quality, low score, bad score, average score, signature, watermark, username, blurry

4. Optimal Settings

Setting Recommended Value
CFG Scale 5-7 (6 Recommended)
Sampling Steps 25-28 (25 Recommended)
Preferred Sampler Euler Ancestral (Euler a)
Orientation Dimensions Aspect Ratio
Square 1024 x 1024 1:1
Landscape 1152 x 896 9:7
1216 x 832 3:2
1344 x 768 7:4
1536 x 640 12:5
Portrait 896 x 1152 7:9
832 x 1216 2:3
768 x 1344 4:7
640 x 1536 5:12

6. Final Prompt Structure Example

masterpiece, high score, great score, absurdres, 1girl, firefly (honkai: star rail), honkai (series), honkai: star rail, casual, solo, looking at viewer, outdoors, smile, reaching towards viewer, night

Special Tags

The model supports various special tags that can be used to control different aspects of the image generation process. These tags are carefully weighted and tested to provide consistent results across different prompts.

Quality Tags

Quality tags are fundamental controls that directly influence the overall image quality and detail level.

  • masterpiece
  • best quality
  • low quality
  • worst quality

License and Acknowledgments

This model is licensed under the CreativeML Open RAIL++-M, which allows for commercial and personal use but prohibits harmful and unethical applications.