Run this model with HF Jobs
Run Anzhc/Z-Image_Anime_VAE on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Anzhc/Z-Image_Anime_VAE. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Anzhc/Z-Image_Anime_VAE on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Anzhc/Z-Image_Anime_VAE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Anzhc/Z-Image_Anime_VAE with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Anzhc/Z-Image_Anime_VAE", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Anzhc/Z-Image_Anime_VAE", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Z-Image Anime VAE
Introduction
A Decoder finetune(That means it can be used as-is) of the Z-Image (Flux) AE on a dedicated anime illustration dataset.
It allows to reduce high frequency compression artifacts and oversharpening, that are inherent to realism data.
Additionally helps with higher resolution, when multiple re-encodes are involved.
As of now, it is not extremely useful, as we don't have anime base yet, but i've seen quite a few anime gens done, so why not. And Tongyi team plans to do something with anime data, so im patiently waiting.
Visual Examples
1-2-4k hires:
1-2k hires:
Full comparison: https://slow.pics/c/kmCwRG4l
Usage
Load as VAE instead of ae.safetensors
- Downloads last month
- 485
Model tree for Anzhc/Z-Image_Anime_VAE
Base model
Tongyi-MAI/Z-Image-Turbo
