Skip to content

Commit 315e1e0

Browse files
committed
add z-image docs
1 parent dc4ce86 commit 315e1e0

File tree

10 files changed

+30
-0
lines changed

10 files changed

+30
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ API and command-line option may change frequently.***
4545
- [Chroma](./docs/chroma.md)
4646
- [Chroma1-Radiance](./docs/chroma_radiance.md)
4747
- [Qwen Image](./docs/qwen_image.md)
48+
- [Z-Image](./docs/z_image.md)
4849
- Image Edit Models
4950
- [FLUX.1-Kontext-dev](./docs/kontext.md)
5051
- [Qwen Image Edit/Qwen Image Edit 2509](./docs/qwen_image_edit.md)
@@ -129,6 +130,7 @@ If you want to improve performance or reduce VRAM/RAM usage, please refer to [pe
129130
- [🔥Qwen Image](./docs/qwen_image.md)
130131
- [🔥Qwen Image Edit/Qwen Image Edit 2509](./docs/qwen_image_edit.md)
131132
- [🔥Wan2.1/Wan2.2](./docs/wan.md)
133+
- [🔥Z-Image](./docs/z_image.md)
132134
- [LoRA](./docs/lora.md)
133135
- [LCM/LCM-LoRA](./docs/lcm.md)
134136
- [Using PhotoMaker to personalize image generation](./docs/photo_maker.md)

assets/z_image/bf16.png

1.01 MB
Loading

assets/z_image/q2_K.png

1.15 MB
Loading

assets/z_image/q3_K.png

1.07 MB
Loading

assets/z_image/q4_0.png

1.01 MB
Loading

assets/z_image/q4_K.png

1.02 MB
Loading

assets/z_image/q5_0.png

1.01 MB
Loading

assets/z_image/q6_K.png

1.02 MB
Loading

assets/z_image/q8_0.png

1.01 MB
Loading

docs/z_image.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# How to Use
2+
3+
You can run Z-Image with stable-diffusion.cpp on GPUs with 4GB of VRAM — or even less.
4+
5+
## Download weights
6+
7+
- Download Z-Image-Turbo
8+
- safetensors: https://huggingface.co/Comfy-Org/z_image_turbo/tree/main/split_files/diffusion_models
9+
- gguf: https://huggingface.co/leejet/Z-Image-Turbo-GGUF/tree/main
10+
- Download vae
11+
- safetensors: https://huggingface.co/black-forest-labs/FLUX.1-schnell/tree/main
12+
- Download Qwen3 4b
13+
- safetensors: https://huggingface.co/Comfy-Org/z_image_turbo/tree/main/split_files/text_encoders
14+
- gguf: https://huggingface.co/unsloth/Qwen3-4B-Instruct-2507-GGUF/tree/main
15+
16+
## Examples
17+
18+
```
19+
.\bin\Release\sd.exe --diffusion-model z_image_turbo-Q3_K.gguf --vae ..\..\ComfyUI\models\vae\ae.sft --llm ..\..\ComfyUI\models\text_encoders\Qwen3-4B-Instruct-2507-Q4_K_M.gguf -p "A cinematic, melancholic photograph of a solitary hooded figure walking through a sprawling, rain-slicked metropolis at night. The city lights are a chaotic blur of neon orange and cool blue, reflecting on the wet asphalt. The scene evokes a sense of being a single component in a vast machine. Superimposed over the image in a sleek, modern, slightly glitched font is the philosophical quote: 'THE CITY IS A CIRCUIT BOARD, AND I AM A BROKEN TRANSISTOR.' -- moody, atmospheric, profound, dark academic" --cfg-scale 1.0 -v --offload-to-cpu --diffusion-fa -H 1024 -W 512
20+
```
21+
22+
<img width="256" alt="z-image example" src="../assets/z_image/q3_K.png" />
23+
24+
## Comparison of Different Quantization Types
25+
26+
| bf16 | q8_0 | q6_K | q5_0 | q4_K | q4_0 | q3_K | q2_K|
27+
|---|---|---|---|---|---|---|---|
28+
| <img width="256" alt="bf16" src="../assets/z_image/bf16.png" /> | <img width="256" alt="q8_0" src="../assets/z_image/q8_0.png" /> | <img width="256" alt="q6_K" src="../assets/z_image/q6_K.png" /> | <img width="256" alt="q5_0" src="../assets/z_image/q5_0.png" /> | <img width="256" alt="q4_K" src="../assets/z_image/q4_K.png" /> | <img width="256" alt="q4_0" src="../assets/z_image/q4_0.png" /> | <img width="256" alt="q3_K" src="../assets/z_image/q3_K.png" /> | <img width="256" alt="q2_K" src="../assets/z_image/q2_K.png" /> |

0 commit comments

Comments
 (0)