anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Generates anime-style images from tag-based text prompts, a Stable Diffusion XL fine-tune retrained on a large anime dataset. For artists and developers using diffusers, ComfyUI or Stable Diffusion WebUI.
Animagine XL 4.0 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install diffusers transformers accelerate safetensors --upgrade
Animagine XL 4.0 is an anime-themed text-to-image model from Cagliostro Research Lab. The team started over from Stable Diffusion XL 1.0 and trained on 8.4M anime-style pictures, which took roughly 2650 GPU hours. It reads tag-style prompts that name the character, the series and the look you want.
Illustrators, hobbyists and developers who want anime-style pictures from text. An Opt release adds a refined dataset, which the card says improves stability, anatomy, noise, saturation and color accuracy. Read the CreativeML Open RAIL++-M license terms before using the output.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Illustration | Artists | Draft character art from tag prompts | Write a tag prompt for a smiling character outdoors at night |
| Game and story design | Indie creators | Make concept art for characters and scenes | Generate several poses of one original character |
| Software | Developers | Run the model through diffusers in a script | Generate an 832 by 1216 portrait from a prompt |
| Hobby art | Anime fans | Experiment with tags and quality settings | Compare results at CFG 4 and CFG 7 |
Skip it if you want photos or non-anime styles, because the model is built for anime-themed images.
| Use case | Who | What they get back |
|---|---|---|
| Character art | Illustrators | An anime-style image from your tag prompt |
| Batch generation | Developers | Many images from a script with set size and steps |
| Prompt testing | Hobbyists | Images that show how tags and quality words change the result |
You need Python, pip and a CUDA GPU for the card's example. Hugging Face lists about 5.1 GB for the FP16 weights.
pip install diffusers transformers accelerate safetensors --upgrade
import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"cagliostrolab/animagine-xl-4.0",
torch_dtype=torch.float16,
use_safetensors=True,
custom_pipeline="lpw_stable_diffusion_xl",
add_watermarker=False
)
pipe.to('cuda')Write a tag-based prompt in the card's order, add the quality tags at the end, and pass the recommended negative prompt. The card suggests CFG 5 and 28 sampling steps.
1girl/1boy/1other, character name, from which series, rating, everything else in any order and end with quality enhancement
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
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=832,
height=1216,
guidance_scale=5,
num_inference_steps=28
).images[0]| Tool | What it does |
|---|---|
| lpw_stable_diffusion_xl | A pipeline that handles long, weighted prompts better |
| CFG scale | The card recommends 5, within a range of 4 to 7 |
| Sampling steps | The card recommends 28, within a range of 25 to 28 |
You write the prompt "1girl, looking at viewer, smile, outdoors, night, masterpiece, high score, great score, absurdres" and pass the recommended negative prompt. The pipeline returns one 832 by 1216 anime-style image.
If you are new, copy the loading code, write a short tag prompt and generate one image. Then change one setting at a time.
For people in the field, the model keeps the SDXL architecture and uses a tag-ordering method for identity and style during training. The example uses the long-prompt-weighting pipeline, and the weights already ship in FP16.
Generates anime-style images from tag-based text prompts, a Stable Diffusion XL fine-tune retrained on a large anime dataset. For artists and developers using diffusers, ComfyUI or Stable Diffusion WebUI.
Made by cagliostrolab on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: Animagine XL 4.0 is an anime-themed text-to-image model from Cagliostro Research Lab. The team started over from Stable Diffusion XL 1.0 and trained on 8.4M anime-style pictures, which took roughly 2650 GPU hours. It reads tag-style prompts that name the character, the series and the look you want.
Who it suits: Illustrators, hobbyists and developers who want anime-style pictures from text. An Opt release adds a refined dataset, which the card says improves stability, anatomy, noise, saturation and color accuracy. Read the CreativeML Open RAIL++-M license terms before using the output.
Title: Who uses it, and how
Industry | Who uses it | How they use it | Example
Illustration | Artists | Draft character art from tag prompts | Write a tag prompt for a smiling character outdoors at night
Game and story design | Indie creators | Make concept art for characters and scenes | Generate several poses of one original character
Software | Developers | Run the model through diffusers in a script | Generate an 832 by 1216 portrait from a prompt
Hobby art | Anime fans | Experiment with tags and quality settings | Compare results at CFG 4 and CFG 7
Skip it if you want photos or non-anime styles, because the model is built for anime-themed images.
Where to use it:
Use case | Who | What they get back
Character art | Illustrators | An anime-style image from your tag prompt
Batch generation | Developers | Many images from a script with set size and steps
Prompt testing | Hobbyists | Images that show how tags and quality words change the result
How to set it up: You need Python, pip and a CUDA GPU for the card's example. Hugging Face lists about 5.1 GB for the FP16 weights.
pip install diffusers transformers accelerate safetensors --upgrade
import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"cagliostrolab/animagine-xl-4.0",
torch_dtype=torch.float16,
use_safetensors=True,
custom_pipeline="lpw_stable_diffusion_xl",
add_watermarker=False
)
pipe.to('cuda')
How to use it: Write a tag-based prompt in the card's order, add the quality tags at the end, and pass the recommended negative prompt. The card suggests CFG 5 and 28 sampling steps.
1girl/1boy/1other, character name, from which series, rating, everything else in any order and end with quality enhancement
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
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=832,
height=1216,
guidance_scale=5,
num_inference_steps=28
).images[0]
Tool | What it does
lpw_stable_diffusion_xl | A pipeline that handles long, weighted prompts better
CFG scale | The card recommends 5, within a range of 4 to 7
Sampling steps | The card recommends 28, within a range of 25 to 28
Example: You write the prompt "1girl, looking at viewer, smile, outdoors, night, masterpiece, high score, great score, absurdres" and pass the recommended negative prompt. The pipeline returns one 832 by 1216 anime-style image.
For newcomers and experts: If you are new, copy the loading code, write a short tag prompt and generate one image. Then change one setting at a time.
For people in the field, the model keeps the SDXL architecture and uses a tag-ordering method for identity and style during training. The example uses the long-prompt-weighting pipeline, and the weights already ship in FP16.
Write a tag prompt
Add the quality tags
Add the negative prompt
Run the pipeline on a GPU
Save the image
Good to know:
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download cagliostrolab/animagine-xl-4.0
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| Animagine XL 4.0 This page | 1,026,807 | 582 | 2.6B | openrail++ | |
| Juggernaut XI v11Shares stable-diffusion-xl · stable-diffusion · text-to-image | 28,120 | 169 | — | cc-by-nc-nd-4.0 | |
| stable-diffusion-xl-base-1.0Shares stable-diffusion · text-to-image · diffusers | 4,688,522 | 8,466 | 2.6B | openrail++ | |
| Stable Diffusion v1-5Shares stable-diffusion · text-to-image · diffusers | 1,012,982 | 1,364 | 860M | creativeml-openrail-m | |
| stable-diffusion-inpaintingShares stable-diffusion · text-to-image · diffusers | 248,486 | 122 | — | creativeml-openrail-m | |
| ControlNet v1.1 depth (SD 1.5)Shares stable-diffusion · diffusers · safetensors | 22,041 | 70 | 361M | openrail |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.