DealayLomoi commited on
Commit
c637515
·
verified ·
1 Parent(s): abf150b

Complete Z-Image Base vs Turbo comparison: 4 prompts x 2 models (8 images)

Browse files
README.md CHANGED
@@ -1,10 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # ⚡ Z-Image Base vs Turbo 效果对比
2
 
 
 
3
  ## 📊 模型信息对比
4
 
5
  | 特性 | Z-Image (Base) | Z-Image-Turbo |
6
  |------|:-:|:-:|
7
- | 模型链接 | [Tongyi-MAI/Z-Image](https://hf.co/Tongyi-MAI/Z-Image) | [Tongyi-MAI/Z-Image-Turbo](https://hf.co/Tongyi-MAI/Z-Image-Turbo) |
8
  | 参数量 | 6B | 6B (蒸馏版) |
9
  | 架构 | S3-DiT (单流 DiT) | S3-DiT (单流 DiT) |
10
  | 推理步数 | 28-50 步 | **8 步** |
@@ -14,95 +29,91 @@
14
  | 视觉质量 | ⭐⭐⭐ 高 | ⭐⭐⭐⭐ 非常高 |
15
  | RL 强化学习 | ❌ | ✅ (DMDR) |
16
  | 可微调 (LoRA等) | ✅ | ❌ |
17
- | 蒸馏技术 | — | Decoupled-DMD |
18
- | VRAM 需求 | ~16GB+ | **≤16GB** (消费级) |
19
- | H800 推理延迟 | ~数秒 | **<1秒** (亚秒级) |
20
 
21
- ## 🖼️ Z-Image-Turbo 生成效果 (8步, 无CFG)
22
 
23
  ### Prompt 1: 🐆 写实摄影 / 野生动物
24
  > A majestic snow leopard resting on a rocky mountain ledge at golden hour, with dramatic clouds and snow-capped peaks in the background, photorealistic, 8K, National Geographic style
25
 
26
- ![Turbo - Wildlife](turbo_1_wildlife.png)
 
 
27
 
28
  ---
29
 
30
  ### Prompt 2: 👩 人像 / 中国风
31
  > A beautiful young woman in traditional Chinese hanfu, sitting in a bamboo garden with cherry blossoms falling, soft natural lighting, portrait photography, shallow depth of field
32
 
33
- ![Turbo - Portrait](turbo_2_portrait.png)
 
 
34
 
35
  ---
36
 
37
  ### Prompt 3: 🌃 赛博朋克 / 电影感
38
  > A cyberpunk city street at night, neon signs in Chinese and English, rain-soaked reflections on the road, a lone figure with an umbrella walking away, cinematic atmosphere, blade runner style
39
 
40
- ![Turbo - Cyberpunk](turbo_3_cyberpunk.png)
 
 
41
 
42
  ---
43
 
44
  ### Prompt 4: ☕ 插画 / 水彩风
45
  > A cozy café interior with warm lighting, a steaming cup of latte art on a wooden table, bookshelves in the background, watercolor painting style, soft pastel colors
46
 
47
- ![Turbo - Illustration](turbo_4_illustration.png)
 
 
48
 
49
  ---
50
 
51
  ## 📋 生成参数
52
- | 参数 | Turbo 设置 | Base 推荐设置 |
53
- |------|-----------|-------------|
 
54
  | 分辨率 | 1024×1024 | 1024×1024 |
55
  | 种子 (Seed) | 42 | 42 |
56
- | 推理步数 | 8 | 30 (推荐28-50) |
57
- | Guidance Scale | 0.0 | 4.0 (推荐3.0-5.0) |
58
- | CFG Normalization | — | False |
59
- | 负向提示词 | 不支持 | 支持 |
60
-
61
- ## 🎮 在线交互对比
62
 
63
- 直接在线体验两个模型的效果差异:
64
 
65
  | 模型 | 在线 Demo | Playground |
66
  |------|-----------|-----------|
67
- | Z-Image (Base) | [🤗 Space](https://huggingface.co/spaces/Tongyi-MAI/Z-Image) | [🎮 Playground](https://hf.co/playground?modelId=Tongyi-MAI/Z-Image) |
68
- | Z-Image-Turbo | [🤗 Space](https://huggingface.co/spaces/Tongyi-MAI/Z-Image-Turbo) | [🎮 Playground](https://hf.co/playground?modelId=Tongyi-MAI/Z-Image-Turbo) |
69
 
70
- ## 📝 总结对比
71
 
72
- ### 🏆 各维度赢家
73
 
74
- | 维度 | 赢家 | 原因 |
75
  |------|------|------|
76
- | **推理速度** | 🥇 **Turbo** | 仅需 8 步 (vs Base 28-50步),H800 上亚秒级推理 |
77
- | **视觉质量** | 🥇 **Turbo** | 经过 DMDR (蒸馏+强化学习) 联合优化,细节更丰富、更锐利 |
78
- | **生成多样性** | 🥇 **Base** | 未蒸馏模型保留完整训练信号,不同 seed 生成差异更大 |
79
- | **可控性** | 🥇 **Base** | 支持 CFG 和负向提示词,可精细调控生成方向 |
80
- | **可微调性** | 🥇 **Base** | 未蒸馏,适合作为 LoRA/ControlNet/Fine-tuning 基座 |
81
- | **部署成本** | 🥇 **Turbo** | 更少计算步数 + 16GB VRAM 即可运行 |
82
- | **文字渲染** | 🥇 **Turbo** | 中英文双语文字渲染更准确 |
83
-
84
- ### 💡 使用建议
85
-
86
- - **追求速度和质量** → 选 **Turbo** (日常使用、产品级部署、实时生成)
87
- - **追求多样性和可控性** → 选 **Base** (创意探索、精细调控、复杂场景)
88
- - **需要二次开发** → 选 **Base** (LoRA 训练、ControlNet、下游微调)
89
- - **资源受限** → 选 **Turbo** (16GB 消费级显卡可运行)
90
-
91
- ### 🔬 技术亮点
92
-
93
- **Z-Image-Turbo** 的核心加速技术:
94
- 1. **Decoupled-DMD**: 将 CFG 增强和分布匹配解耦优化的蒸馏算法
95
- 2. **DMDR**: 将 DMD 蒸馏与强化学习 (RL) 协同融合
96
- - RL 释放 DMD 的潜力 🚀
97
- - DMD 有效正则化 RL ⚖️
98
-
99
- **Z-Image (Base)** 的核心优势:
100
- 1. **完整训练信号**: 未蒸馏,保留全部生成能力
101
- 2. **负向提示控制**: 高保真地响应负向提示词
102
- 3. **美学多样性**: 覆盖超写实、电影级数字艺术、动漫、插画等多种风格
103
-
104
- ## 📜 参考论文
105
-
106
- - [Z-Image: An Efficient Image Generation Foundation Model](https://arxiv.org/abs/2511.22699)
107
- - [Decoupled DMD: CFG Augmentation as the Spear, Distribution Matching as the Shield](https://arxiv.org/abs/2511.22677)
108
- - [Distribution Matching Distillation Meets Reinforcement Learning](https://arxiv.org/abs/2511.13649)
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - zh
6
+ tags:
7
+ - z-image
8
+ - text-to-image
9
+ - diffusion
10
+ - comparison
11
+ - benchmark
12
+ ---
13
+
14
  # ⚡ Z-Image Base vs Turbo 效果对比
15
 
16
+ 使用相同的 prompt 和 seed,对比 [Z-Image (Base)](https://hf.co/Tongyi-MAI/Z-Image) 和 [Z-Image-Turbo](https://hf.co/Tongyi-MAI/Z-Image-Turbo) 的生成效果。
17
+
18
  ## 📊 模型信息对比
19
 
20
  | 特性 | Z-Image (Base) | Z-Image-Turbo |
21
  |------|:-:|:-:|
22
+ | 模型 | [Tongyi-MAI/Z-Image](https://hf.co/Tongyi-MAI/Z-Image) | [Tongyi-MAI/Z-Image-Turbo](https://hf.co/Tongyi-MAI/Z-Image-Turbo) |
23
  | 参数量 | 6B | 6B (蒸馏版) |
24
  | 架构 | S3-DiT (单流 DiT) | S3-DiT (单流 DiT) |
25
  | 推理步数 | 28-50 步 | **8 步** |
 
29
  | 视觉质量 | ⭐⭐⭐ 高 | ⭐⭐⭐⭐ 非常高 |
30
  | RL 强化学习 | ❌ | ✅ (DMDR) |
31
  | 可微调 (LoRA等) | ✅ | ❌ |
32
+ | VRAM 需求 | ~16GB+ | **≤16GB** |
 
 
33
 
34
+ ## 🖼️ 并排对比
35
 
36
  ### Prompt 1: 🐆 写实摄影 / 野生动物
37
  > A majestic snow leopard resting on a rocky mountain ledge at golden hour, with dramatic clouds and snow-capped peaks in the background, photorealistic, 8K, National Geographic style
38
 
39
+ | Z-Image Base (30 steps, CFG=4.0) | Z-Image Turbo (8 steps, no CFG) |
40
+ |:---:|:---:|
41
+ | ![Base](base_1_wildlife.png) | ![Turbo](turbo_1_wildlife.png) |
42
 
43
  ---
44
 
45
  ### Prompt 2: 👩 人像 / 中国风
46
  > A beautiful young woman in traditional Chinese hanfu, sitting in a bamboo garden with cherry blossoms falling, soft natural lighting, portrait photography, shallow depth of field
47
 
48
+ | Z-Image Base (30 steps, CFG=4.0) | Z-Image Turbo (8 steps, no CFG) |
49
+ |:---:|:---:|
50
+ | ![Base](base_2_portrait.png) | ![Turbo](turbo_2_portrait.png) |
51
 
52
  ---
53
 
54
  ### Prompt 3: 🌃 赛博朋克 / 电影感
55
  > A cyberpunk city street at night, neon signs in Chinese and English, rain-soaked reflections on the road, a lone figure with an umbrella walking away, cinematic atmosphere, blade runner style
56
 
57
+ | Z-Image Base (30 steps, CFG=4.0) | Z-Image Turbo (8 steps, no CFG) |
58
+ |:---:|:---:|
59
+ | ![Base](base_3_cyberpunk.png) | ![Turbo](turbo_3_cyberpunk.png) |
60
 
61
  ---
62
 
63
  ### Prompt 4: ☕ 插画 / 水彩风
64
  > A cozy café interior with warm lighting, a steaming cup of latte art on a wooden table, bookshelves in the background, watercolor painting style, soft pastel colors
65
 
66
+ | Z-Image Base (30 steps, CFG=4.0) | Z-Image Turbo (8 steps, no CFG) |
67
+ |:---:|:---:|
68
+ | ![Base](base_4_illustration.png) | ![Turbo](turbo_4_illustration.png) |
69
 
70
  ---
71
 
72
  ## 📋 生成参数
73
+
74
+ | 参数 | Base 设置 | Turbo 设置 |
75
+ |------|-----------|-----------|
76
  | 分辨率 | 1024×1024 | 1024×1024 |
77
  | 种子 (Seed) | 42 | 42 |
78
+ | 推理步数 | 30 | 8 |
79
+ | Guidance Scale | 4.0 | 0.0 |
80
+ | 负向提示词 | "" (空) | 不支持 |
81
+ | 推理后端 | fal-ai | fal-ai |
 
 
82
 
83
+ ## 🎮 在线体验
84
 
85
  | 模型 | 在线 Demo | Playground |
86
  |------|-----------|-----------|
87
+ | Z-Image Base | [🤗 Space](https://huggingface.co/spaces/Tongyi-MAI/Z-Image) | [🎮 Playground](https://hf.co/playground?modelId=Tongyi-MAI/Z-Image) |
88
+ | Z-Image Turbo | [🤗 Space](https://huggingface.co/spaces/Tongyi-MAI/Z-Image-Turbo) | [🎮 Playground](https://hf.co/playground?modelId=Tongyi-MAI/Z-Image-Turbo) |
89
 
90
+ ## 📝 总结
91
 
92
+ ### 🏆 各维度对比
93
 
94
+ | 维度 | 赢家 | 说明 |
95
  |------|------|------|
96
+ | **推理速度** | 🥇 Turbo | 8 步 vs 30-50 步,H800 上亚秒级推理 |
97
+ | **视觉质量** | 🥇 Turbo | DMDR 优化,细节更丰富锐利 |
98
+ | **生成多样性** | 🥇 Base | 未蒸馏,不同 seed 差异更大 |
99
+ | **可控性** | 🥇 Base | 支持 CFG + 负向提示词 |
100
+ | **可微调** | 🥇 Base | LoRA / ControlNet 基座 |
101
+ | **部署成本** | 🥇 Turbo | 16GB VRAM 即可 |
102
+ | **文字渲染** | 🥇 Turbo | 中英双语更准确 |
103
+
104
+ ### 💡 选择建议
105
+
106
+ | 场景 | 推荐 |
107
+ |------|------|
108
+ | 日常使用、快速出图 | **Turbo** |
109
+ | 产品级部署、实时生成 | **Turbo** |
110
+ | 创意探索、多样性需求 | **Base** |
111
+ | 精细控制、负向提示 | **Base** |
112
+ | LoRA/ControlNet 开发 | **Base** |
113
+ | 消费级显卡 (≤16GB) | **Turbo** |
114
+
115
+ ## 📜 参考
116
+
117
+ - [Z-Image Paper](https://arxiv.org/abs/2511.22699)
118
+ - [Decoupled-DMD](https://arxiv.org/abs/2511.22677)
119
+ - [DMDR](https://arxiv.org/abs/2511.13649)
 
 
 
 
 
 
 
 
 
base_1_wildlife.png ADDED

Git LFS Details

  • SHA256: 8bd7df306ffd536388dc66a0696e56c9b31a134fbdf0fc6d38972b115a1623e4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.63 MB
base_2_portrait.png ADDED

Git LFS Details

  • SHA256: d466eabf1ccc98baf383877e88520ba89d429a419356e2a277c9a89bdd67a5d6
  • Pointer size: 132 Bytes
  • Size of remote file: 1.32 MB
base_3_cyberpunk.png ADDED

Git LFS Details

  • SHA256: 22e8c1533e78fa3d841486f70268235bfafcd7c0c105aa2ddeef61e5b4fc89f4
  • Pointer size: 132 Bytes
  • Size of remote file: 1.87 MB
base_4_illustration.png ADDED

Git LFS Details

  • SHA256: bbeb70555d26ac405216bf24a44fb27a9f5a43098d4f12aba415ca4cf14e31d8
  • Pointer size: 132 Bytes
  • Size of remote file: 1.86 MB
results.json CHANGED
@@ -8,7 +8,18 @@
8
  "cfg": 0.0,
9
  "seed": 42,
10
  "filename": "turbo_1_wildlife.png",
11
- "exists": true
 
 
 
 
 
 
 
 
 
 
 
12
  },
13
  {
14
  "prompt_id": "2_portrait",
@@ -19,7 +30,18 @@
19
  "cfg": 0.0,
20
  "seed": 42,
21
  "filename": "turbo_2_portrait.png",
22
- "exists": true
 
 
 
 
 
 
 
 
 
 
 
23
  },
24
  {
25
  "prompt_id": "3_cyberpunk",
@@ -30,7 +52,18 @@
30
  "cfg": 0.0,
31
  "seed": 42,
32
  "filename": "turbo_3_cyberpunk.png",
33
- "exists": true
 
 
 
 
 
 
 
 
 
 
 
34
  },
35
  {
36
  "prompt_id": "4_illustration",
@@ -41,6 +74,17 @@
41
  "cfg": 0.0,
42
  "seed": 42,
43
  "filename": "turbo_4_illustration.png",
44
- "exists": true
 
 
 
 
 
 
 
 
 
 
 
45
  }
46
  ]
 
8
  "cfg": 0.0,
9
  "seed": 42,
10
  "filename": "turbo_1_wildlife.png",
11
+ "file_size_kb": 1391
12
+ },
13
+ {
14
+ "prompt_id": "1_wildlife",
15
+ "category": "写实摄影 / 野生动物",
16
+ "prompt": "A majestic snow leopard resting on a rocky mountain ledge at golden hour, with dramatic clouds and snow-capped peaks in the background, photorealistic, 8K, National Geographic style",
17
+ "model": "Z-Image (Base)",
18
+ "steps": 30,
19
+ "cfg": 4.0,
20
+ "seed": 42,
21
+ "filename": "base_1_wildlife.png",
22
+ "file_size_kb": 1591
23
  },
24
  {
25
  "prompt_id": "2_portrait",
 
30
  "cfg": 0.0,
31
  "seed": 42,
32
  "filename": "turbo_2_portrait.png",
33
+ "file_size_kb": 1178
34
+ },
35
+ {
36
+ "prompt_id": "2_portrait",
37
+ "category": "人像 / 中国风",
38
+ "prompt": "A beautiful young woman in traditional Chinese hanfu, sitting in a bamboo garden with cherry blossoms falling, soft natural lighting, portrait photography, shallow depth of field",
39
+ "model": "Z-Image (Base)",
40
+ "steps": 30,
41
+ "cfg": 4.0,
42
+ "seed": 42,
43
+ "filename": "base_2_portrait.png",
44
+ "file_size_kb": 1289
45
  },
46
  {
47
  "prompt_id": "3_cyberpunk",
 
52
  "cfg": 0.0,
53
  "seed": 42,
54
  "filename": "turbo_3_cyberpunk.png",
55
+ "file_size_kb": 1456
56
+ },
57
+ {
58
+ "prompt_id": "3_cyberpunk",
59
+ "category": "赛博朋克 / 电影感",
60
+ "prompt": "A cyberpunk city street at night, neon signs in Chinese and English, rain-soaked reflections on the road, a lone figure with an umbrella walking away, cinematic atmosphere, blade runner style",
61
+ "model": "Z-Image (Base)",
62
+ "steps": 30,
63
+ "cfg": 4.0,
64
+ "seed": 42,
65
+ "filename": "base_3_cyberpunk.png",
66
+ "file_size_kb": 1830
67
  },
68
  {
69
  "prompt_id": "4_illustration",
 
74
  "cfg": 0.0,
75
  "seed": 42,
76
  "filename": "turbo_4_illustration.png",
77
+ "file_size_kb": 1410
78
+ },
79
+ {
80
+ "prompt_id": "4_illustration",
81
+ "category": "插画 / 水彩",
82
+ "prompt": "A cozy café interior with warm lighting, a steaming cup of latte art on a wooden table, bookshelves in the background, watercolor painting style, soft pastel colors",
83
+ "model": "Z-Image (Base)",
84
+ "steps": 30,
85
+ "cfg": 4.0,
86
+ "seed": 42,
87
+ "filename": "base_4_illustration.png",
88
+ "file_size_kb": 1815
89
  }
90
  ]