Instructions to use LocalMuseAI/mlx-z-anime-distill-4step-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use LocalMuseAI/mlx-z-anime-distill-4step-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("LocalMuseAI/mlx-z-anime-distill-4step-4bit", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - MLX
How to use LocalMuseAI/mlx-z-anime-distill-4step-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download LocalMuseAI/mlx-z-anime-distill-4step-4bit --local-dir mlx-z-anime-distill-4step-4bit
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Draw Things
- DiffusionBee
- Atomic Chat
Download source.json from LocalMuseAI/mlx-z-anime-distill-4step-4bit: direct link, hf CLI and curl.
- Browser
- Download file 1.85 kB
-
https://huggingface.co/LocalMuseAI/mlx-z-anime-distill-4step-4bit/resolve/main/source.json
- Command line
-
hf download hf://LocalMuseAI/mlx-z-anime-distill-4step-4bit/source.json
-
curl -L -o source.json https://huggingface.co/LocalMuseAI/mlx-z-anime-distill-4step-4bit/resolve/main/source.json
1.85 kB
| { | |
| "sourceURL": "https://huggingface.co/SeeSee21/Z-Anime", | |
| "repository": "SeeSee21/Z-Anime", | |
| "revision": "0f5fb51464638a2f7328a1d74590281e63e1fde2", | |
| "file": "diffusion_models/z-anime-distill-4step-bf16.safetensors", | |
| "sourceSHA256": "4a083f389432c5cf04bfa686a1e819f894d01e4a00bdf02e846617e17052ac77", | |
| "sizeBytes": 12309881520, | |
| "creator": "SeeSee21", | |
| "license": "apache-2.0", | |
| "baseModel": "Tongyi-MAI/Z-Image (Apache-2.0)", | |
| "civitai": "https://civitai.red/models/2483351", | |
| "embeddedSaveWorkflow": { | |
| "note": "ComfyUI ModelSave metadata inside the checkpoint: Z-Anime Base with distillation LoRAs merged before saving.", | |
| "unet": "z-anime-bf16.safetensors", | |
| "loras": [ | |
| { | |
| "name": "Z-Image-Fun-Lora-Distill-4-Steps-2603-ComfyUI", | |
| "strength": 1.0, | |
| "active": true | |
| }, | |
| { | |
| "name": "Z-Image-Fun-Lora-Distill-2603_UDCAI_ComfyUI", | |
| "strength": 0.9, | |
| "active": false | |
| } | |
| ], | |
| "loraSource": "https://huggingface.co/alibaba-pai/Z-Image-Fun-Lora-Distill (Apache-2.0, revision f9a4db417ab7d8c1c5ffa9c0f03bdd72ae4a070c)" | |
| }, | |
| "authorSampling": { | |
| "steps": 4, | |
| "cfg": 1.0, | |
| "sampler": "euler (euler_ancestral also listed)", | |
| "scheduler": "beta", | |
| "modelSamplingAuraFlowShift": 3.5, | |
| "evidence": "README recommended settings and workflows/Z-Anime-Workflow-v1.json (UNET -> LoRA loader -> ModelSamplingAuraFlow 3.5 -> KSampler euler/beta)" | |
| }, | |
| "sharedComponents": { | |
| "vae": "vae/ae.safetensors is byte-identical to Tongyi-MAI/Z-Image-Turbo vae/diffusion_pytorch_model.safetensors (SHA-256 f5b59a26851551b67ae1fe58d32e76486e1e812def4696a4bea97f16604d40a3)", | |
| "textEncoder": "text_encoder/qwen_3_4b-bf16.safetensors: same 398 tensor keys as the official Qwen3-4B shards; sampled tensors (layers 0/17/20/34, final norm) byte-identical" | |
| } | |
| } |