alt.freeweights.image / Z-Image-Turbo-unsloth-bnb-4bit
From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.imageSubject:

Z-Image-Turbo-unsloth-bnb-4bit

Date: 2026-11-15Commit: 46c1698Signed: 2DC28CC7B26A283B ✓

Text to image model with 3.2B parameters. Safetensors weights, 6.82 GB in all. Published by unsloth under Apache-2.0.

3.2B params6.82GBZ-Image-Turbo-unsloth-bnb-4bitsafetensorspermissive
FactsParams3.2BSize6.82 GBFormatssafetensorsTasktext to imageLicenseApache-2.0From sourcepermissive
$ fw get unsloth/Z-Image-Turbo-unsloth-bnb-4bit
# manifest sha256 4fc49b98f739… · 6.82 GB · 27 files
$ fw verify ./Z-Image-Turbo-unsloth-bnb-4bit unsloth/Z-Image-Turbo-unsloth-bnb-4bit
From sourceHosted (signed)unsloth/Z-Image-Turbo-unsloth-bnb-4bitLast check: 2026-11-15 03:26 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Fine-tune of Z-Image-Turbo.

Works with

Overview

Size
6.82 GB
Weights
6.78 GB (safetensors)
Parameters
3.2B
Formats
safetensors
Task
text to image
License
Apache-2.0 (permissive)
Files
27, each with a sha256
Publisher
unsloth
Added
2026-11-15
Section
alt.freeweights.image
Lineage

Original release from the publisher.

Base model: Tongyi-MAI/Z-Image-Turbo

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:26 UTCpassed

Model card

From the publisher at commit 46c1698. Shown as plain text with links; images open at the publisher.

This is a BitsandBytes quantized version of Z-Image-Turbo, and can be run in diffusers.

unsloth/Z-Image-Turbo-unsloth-bnb-4bit uses Unsloth Dynamic 2.0 methodology for SOTA performance.

  • Important layers are upcasted to higher precision.
  • You can use the model in the diffusers library.
from diffusers import DiffusionPipeline
import torch

pipe = DiffusionPipeline.from_pretrained(
    "unsloth/Z-Image-Turbo-unsloth-bnb-4bit",
    torch_dtype=torch.bfloat16,
).to('cuda')

# uncomment if you run out of memory
# pipe.enable_model_cpu_offload() 

output = pipe(
    prompt="a cute kawaii sloth",
    negative_prompt="blurry, unfocused",
    num_inference_steps=9,
    guidance_scale=1.0,
)

# Save output
image = output.images[0]
image.save('sample.png')

https://github.com/unslothai/unsloth/ https://discord.gg/unsloth https://unsloth.ai/docs/models/qwen-image-2512


⚡️- Image#

An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer

Official Site&#160; GitHub&#160; Hugging Face&#160; Hugging Face&#160; Hugging Face&#160; ModelScope Model&#160; ModelScope Space&#160; Art Gallery PDF&#160; Web Art Gallery&#160; https://arxiv.org/abs/2511.22699

Welcome to the official repository for the Z-Image(造相)project!

✨ Z-Image#

Z-Image is a powerful and highly efficient image generation model with 6B parameters. Currently there are three variants:

  • 🚀 Z-Image-Turbo – A distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations). It offers ⚡️sub-second inference latency⚡️ on enterprise-grade H800 GPUs and fits comfortably within 16G VRAM consumer devices. It excels in photorealistic image generation, bilingual text rendering (English & Chinese), and robust instruction adherence.
  • 🧱 Z-Image-Base – The non-distilled foundation model. By releasing this checkpoint, we aim to unlock the full potential for community-driven fine-tuning and custom development.
  • ✍️ Z-Image-Edit – A variant fine-tuned on Z-Image specifically for image editing tasks. It supports creative image-to-image generation with impressive instruction-following capabilities, allowing for precise edits based on natural language prompts.
📥 Model Zoo#
ModelHugging FaceModelScope
Z-Image-TurboHugging Face

Hugging Face Space | ModelScope Model ModelScope Space |

| Z-Image-Base | To be released | To be released |

| Z-Image-Edit | To be released | To be released |

🖼️ Showcase#

📸 Photorealistic Quality: Z-Image-Turbo delivers strong photorealistic image generation while maintaining excellent aesthetic quality.

Image: Showcase of Z-Image on Photo-realistic image Generation

📖 Accurate Bilingual Text Rendering: Z-Image-Turbo excels at accurately rendering complex Chinese and English text.

Image: Showcase of Z-Image on Bilingual Text Rendering

💡 Prompt Enhancing & Reasoning: Prompt Enhancer empowers the model with reasoning capabilities, enabling it to transcend surface-level descriptions and tap into underlying world knowledge.

Image: reasoning.jpg

🧠 Creative Image Editing: Z-Image-Edit shows a strong understanding of bilingual editing instructions, enabling imaginative and flexible image transformations.

Image: Showcase of Z-Image-Edit on Image Editing

🏗️ Model Architecture#

We adopt a Scalable Single-Stream DiT (S3-DiT) architecture. In this setup, text, visual semantic tokens, and image VAE tokens are concatenated at the sequence level to serve as a unified input stream, maximizing parameter efficiency compared to dual-stream approaches.

Image: Architecture of Z-Image and Z-Image-Edit

📈 Performance#

According to the Elo-based Human Preference Evaluation (on Alibaba AI Arena), Z-Image-Turbo shows highly competitive performance against other leading models, while achieving state-of-the-art results among open-source models.

Z-Image Elo Rating on AI Arena Click to view the full leaderboard

🚀 Quick Start#

Install the latest version of diffusers, use the following command:

Click here for details for why you need to install diffusers from source

We have submitted two pull requests (#12703 and #12715) to the 🤗 diffusers repository to add support for Z-Image. Both PRs have been merged into the latest official diffusers release. Therefore, you need to install diffusers from source for the latest features and Z-Image support.

pip install git+https://github.com/huggingface/diffusers
import torch
from diffusers import ZImagePipeline

# 1. Load the pipeline
# Use bfloat16 for optimal performance on supported GPUs
pipe = ZImagePipeline.from_pretrained(
    "Tongyi-MAI/Z-Image-Turbo",
    torch_dtype=torch.bfloat16,
    low_cpu_mem_usage=False,
)
pipe.to("cuda")

# [Optional] Attention Backend
# Diffusers uses SDPA by default. Switch to Flash Attention for better efficiency if supported:
# pipe.transformer.set_attention_backend("flash")    # Enable Flash-Attention-2
# pipe.transformer.set_attention_backend("_flash_3") # Enable Flash-Attention-3

# [Optional] Model Compilation
# Compiling the DiT model accelerates inference, but the first run will take longer to compile.
# pipe.transformer.compile()

# [Optional] CPU Offloading
# Enable CPU offloading for memory-constrained devices.
# pipe.enable_model_cpu_offload()

prompt = "Young Chinese woman in red Hanfu, intricate embroidery. Impeccable makeup, red floral forehead pattern. Elaborate high bun, golden phoenix headdress, red flowers, beads. Holds round folding fan with lady, trees, bird. Neon lightning-bolt lamp (⚡️), bright yellow glow, above extended left palm. Soft-lit outdoor night background, silhouetted tiered pagoda (西安大雁塔), blurred colorful distant lights."

# 2. Generate Image
image = pipe(
    prompt=prompt,
    height=1024,
    width=1024,
    num_inference_steps=9,  # This actually results in 8 DiT forwards
    guidance_scale=0.0,     # Guidance should be 0 for the Turbo models
    generator=torch.Generator("cuda").manual_seed(42),
).images[0]

image.save("example.png")

🔬 Decoupled-DMD: The Acceleration Magic Behind Z-Image#

arXiv

Decoupled-DMD is the core few-step distillation algorithm that empowers the 8-step Z-Image model.

Our core insight in Decoupled-DMD is that the success of existing DMD (Distributaion Matching Distillation) methods is the result of two independent, collaborating mechanisms:

  • CFG Augmentation (CA): The primary engine 🚀 driving the distillation process, a factor largely overlooked in previous work.
  • Distribution Matching (DM): Acts more as a regularizer ⚖️, ensuring the stability and quality of the generated output.

By recognizing and decoupling these two mechanisms, we were able to study and optimize them in isolation. This ultimately motivated us to develop an improved distillation process that significantly enhances the performance of few-step generation.

Image: Diagram of Decoupled-DMD

🤖 DMDR: Fusing DMD with Reinforcement Learning#

arXiv

Building upon the strong foundation of Decoupled-DMD, our 8-step Z-Image model has already demonstrated exceptional capabilities. To achieve further improvements in terms of semantic alignment, aesthetic quality, and structural coherence—while producing images with richer high-frequency details—we present DMDR.

Our core insight behind DMDR is that Reinforcement Learning (RL) and Distribution Matching Distillation (DMD) can be synergistically integrated during the post-training of few-step models. We demonstrate that:

  • RL Unlocks the Performance of DMD 🚀
  • DMD Effectively Regularizes RL ⚖️

Image: Diagram of DMDR

⏬ Download#

pip install -U huggingface_hub
HF_XET_HIGH_PERFORMANCE=1 hf download Tongyi-MAI/Z-Image-Turbo

📜 Citation#

If you find our work useful in your research, please consider citing:

@article{team2025zimage,
  title={Z-Image: An Efficient Image Generation Foundation Model with Single-Stream Diffusion Transformer},
  author={Z-Image Team},
  journal={arXiv preprint arXiv:2511.22699},
  year={2025}
}

@article{liu2025decoupled,
  title={Decoupled DMD: CFG Augmentation as the Spear, Distribution Matching as the Shield},
  author={Dongyang Liu and Peng Gao and David Liu and Ruoyi Du and Zhen Li and Qilong Wu and Xin Jin and Sihan Cao and Shifeng Zhang and Hongsheng Li and Steven Hoi},
  journal={arXiv preprint arXiv:2511.22677},
  year={2025}
}

@article{jiang2025distribution,
  title={Distribution Matching Distillation Meets Reinforcement Learning},
  author={Jiang, Dengyang and Liu, Dongyang and Wang, Zanyi and Wu, Qilong and Jin, Xin and Liu, David and Li, Zhen and Wang, Mengmeng and Gao, Peng and Yang, Harry},
  journal={arXiv preprint arXiv:2511.13649},
  year={2025}
}

Files

27 files · 6.82 GBWeights 6.78 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes2.19 KB62c55bd33dddece6687bf065f8fab2202d8abc58fd1263f9aa1a319db90ac6a2
README.md15.9 KB7c46c5c7c399a1dddadb30efb0c2c4141dbd8a480151bb66d123e99de07924d7
assets/DMDR.webp173 KB2e6f3053b98d097f2aa11d3892bd9307326db41b65336bea54dc5825a0e03077
assets/architecture.webp422 KB261af62ecc7e9749ae28e1d3a84e2f70a6c192d2017b7d8f020c7bff982ef59c
assets/decoupled-dmd.webp152 KB4568ca559b997fc38f57dc1c3f5b1da3a3c144ae12419caa855ced972bf8c7aa
assets/leaderboard.png2.03 MBe9fd4aa185bb7bff2b5515f2001b4d80df330595e78d6a098142e5a232bb4e4e
assets/leaderboard.webp63.8 KB51337709ffff7d11d0fbeb8dbd1f2acbd96acd44ed5b9e686a7e8d2339f26ab2
assets/reasoning.png7.70 MB96c16b2c8d8dc67bb92ecc22d54b9955ab55136977f515bb76f4b2eb42eb3cdb
assets/showcase.jpg6.43 MBf6ee74e066e00596e429f5a08140aebae1678e5935ce1e11ca6c1c6cd72432ee
assets/showcase_editing.png4.75 MB7d720c3157fd0b0c1f07ac826c6d380b4bcb1b6933c64eb11bfe804ccf7c26f4
assets/showcase_realistic.png6.26 MB697e6f6857f619314173508df72a14314cbb43e67475de7494123bb8b4f4eb2c
assets/showcase_rendering.png7.60 MB3556dd66be2200d53f957424e12ecf914ddf3eded151cde86c7353f8b231284f
model_index.json457 B215479b57865bf9bddcd1a02bde92fe5eb47fed0e1b4b9b6b1369458f5417d43
scheduler/scheduler_config.json487 Bef6ae2f652e9f0cebe298f96fb3a374d47446fc3a2ef26e7d545dcae1fb33ef4
text_encoder/config.json2.38 KBafa0fb36ebb19de8f6c65ef64752b714b91ae8c8318076855e8650dffac8f7cf
text_encoder/generation_config.json166 B86bfbbf9a2dd44263a137f785aac1285ffa31cecd7ba078624b593ec291c6586
text_encoder/model.safetensors3.32 GB009b9b6cae0991b184986f646c26d11766b3548b1b98c49c7371d00072f89df9
tokenizer/added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
tokenizer/chat_template.jinja4.17 KBa55ee1b1660128b7098723e0abcd92caa0788061051c62d51cbe87d9cf1974d8
tokenizer/merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
tokenizer/special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer/tokenizer_config.json5.40 KB443bfa629eb16387a12edbf92a76f6a6f10b2af3b53d87ba1550adfcf45f7fa0
tokenizer/vocab.json3.38 MB87a257b04b17642a0688c98cd1df89c398bda4fee532d6f88b38a659ecb4ac8d
transformer/config.json1.29 KBf1dce289f37aabc4f3e4e821d0791ced62f457b05c0ffc3937df094ea83c3317
transformer/diffusion_pytorch_model.safetensors3.29 GB95a994771b68d5880b156414a2577e05307f2080d7f42765d76f362ae60dd89a
vae/config.json936 B14bc3bdb7efc6a3c2d5ea1a16141ee7dc505847e7ca9937447416b738c85791e
vae/diffusion_pytorch_model.safetensors168 MBf5b59a26851551b67ae1fe58d32e76486e1e812def4696a4bea97f16604d40a3
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
46c16987e6 pinned now2026-11-15 03:26 UTC27 files · 6.82 GB

Use it

$ fw get unsloth/Z-Image-Turbo-unsloth-bnb-4bit
# manifest sha256 4fc49b98f739… · 6.82 GB · 27 files
$ fw verify ./Z-Image-Turbo-unsloth-bnb-4bit unsloth/Z-Image-Turbo-unsloth-bnb-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-unsloth-bnb-4bit.json --dir ./Z-Image-Turbo-unsloth-bnb-4bit $ python3 fw.py verify ./Z-Image-Turbo-unsloth-bnb-4bit ./unsloth__Z-Image-Turbo-unsloth-bnb-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Z-Image-Turbo-unsloth-bnb-4bit --revision 46c16987e6b5ede9c1108441f79c2823038b86a1 --local-dir ./Z-Image-Turbo-unsloth-bnb-4bit
diffusersRun the pipeline with diffusers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from diffusers import DiffusionPipeline pipe = DiffusionPipeline.from_pretrained("unsloth/Z-Image-Turbo-unsloth-bnb-4bit", revision="46c16987e6b5ede9c1108441f79c2823038b86a1")
Packaged for ComfyUI. Most image, video and music models run in ComfyUI . Check the publisher's page for the workflow. Freeweights does not host it.

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
7c46c5c7c399a1dddadb30efb0c2c4141dbd8a480151bb66d123e99de07924d7
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: unsloth <huggingface.co/unsloth>Newsgroups: alt.freeweights.imageSubject: Z-Image-Turbo-unsloth-bnb-4bitDate: 2026-11-15Commit: 46c1698Signed: 2DC28CC7B26A283B ✓
Upstream
unsloth/Z-Image-Turbo-unsloth-bnb-4bit
Pinned commit
46c16987e6b5ede9c1108441f79c2823038b86a1
Manifest
Z-Image-Turbo-unsloth-bnb-4bit.json · .minisig
Manifest sha256
4fc49b98f73981f275b17b73352b851c1ef1c58bab3a68260f8c5dcb8baccdb5
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-unsloth-bnb-4bit.json $ curl -O https://freeweights.allternit.com/manifests/unsloth/Z-Image-Turbo-unsloth-bnb-4bit.json.minisig $ minisign -Vm Z-Image-Turbo-unsloth-bnb-4bit.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Tongyi-MAI/Z-Image-Turbo · this model is a finetune of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download unsloth/Z-Image-Turbo-unsloth-bnb-4bit
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Z-Image-Turbo-unsloth-bnb-4bit.json. Provenance. Takedown history: none.
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Boogu-Image
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-HD
From: lodestones <huggingface.co/lodestones>Subject: Chroma1-HD
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: Chroma1-Radiance
From: Comfy-Org <huggingface.co/Comfy-Org>Subject: ERNIE-Image
From: baidu <huggingface.co/baidu>Subject: ERNIE-Image