ComfyPilotComfyPilot
工作流 / 图像工具 / 图像放大:PiD潜空间解码
图像放大:PiD潜空间解码

图像放大:PiD潜空间解码

Image Upscale: PiD Latent Decode

从扩散模型输入潜空间图像并选择一个PiD检查点。在单次传递中生成4倍或8倍放大的高分辨率解码图像。

图像工具 8 个节点 2 次使用 ComfyUI ≥ 0.23.0 ComfyUI 64 KB

下载工作流 JSON 查看官方来源

下载后把文件拖进 ComfyUI 窗口即可打开。

需要的权重

这个工作流引用了 5 个权重文件,其中 5 个能在本站模型库里找到。

ae.safetensors 在模型库查看
gemma_2_2b_it_elm_fp8_scaled.safetensors 在模型库查看
pid_flux1_1024_to_4096_4step_bf16.safetensors 在模型库查看
qwen_3_4b.safetensors 在模型库查看
z_image_turbo_bf16.safetensors 在模型库查看

节点构成

MarkdownNote × 2
ImageCompare × 1
b6f63f3c-4f79-4394-83c3-552b6b84af62 × 1
c20beb1e-2a45-4872-913e-21018c09c578 × 1
PreviewImage × 1
PrimitiveStringMultiline × 1
SaveImage × 1

官方标注的模型

PiD

工作流 JSON

和上面「下载工作流 JSON」是同一份文件。

1{
2 "id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
3 "revision": 0,
4 "last_node_id": 241,
5 "last_link_id": 418,
6 "nodes": [
7 {
8 "id": 91,
9 "type": "MarkdownNote",
10 "pos": [
11 -180,
12 1080
13 ],
14 "size": [
15 680,
16 1240
17 ],
18 "flags": [],
19 "order": 0,
20 "mode": 0,
21 "inputs": [],
22 "outputs": [],
23 "title": "Note: PiD",
24 "properties": [],
25 "widgets_values": [
26 "## PiD — Latent Upscale & Decode\n\nPiD (Pixel Diffusion Decoder) turns a diffusion **latent** into a **4× super-resolved image** in 4 distilled pixel-space steps — no separate VAE decode.\n\nPiD matches checkpoints by the **VAE / latent space** of the upstream model (the encoder side), not the diffusion model name alone.\n\n**This workflow** uses **Z-Image-Turbo** (1024 px latent → 4096 px output). You can also find **Flux.1** and **FLUX.2** workflows in the template library — generate a latent with the matching VAE, then feed it into the PiD subgraph with the corresponding checkpoint below.\n\n### Checkpoints\n\nDownload from [Comfy-Org/PixelDiT](https://huggingface.co/Comfy-Org/PixelDiT) → `models/diffusion_models/`. Set PiD output size to **4×** the input latent resolution.\n\n| Checkpoint | Input → Output | Compatible latent (VAE backbone) |\n| --- | --- | --- |\n| `pid_flux1_512_to_2048_4step_bf16` | 512 → 2048 | Flux1-dev 16-ch VAE (Flux.1, Z-Image) |\n| `pid_flux1_1024_to_4096_4step_bf16` | 1024 → 4096 | Flux1-dev 16-ch VAE (Flux.1, Z-Image) *(this workflow)* |\n| `pid_flux2_512_to_2048_4step_bf16` | 512 → 2048 | Flux2-dev 128-ch VAE (FLUX.2) |\n| `pid_flux2_1024_to_4096_4step_bf16` | 1024 → 4096 | Flux2-dev 128-ch VAE (FLUX.2) |\n| `pid_sd3_512_to_2048_4step_bf16` | 512 → 2048 | SD3 medium 16-ch VAE |\n| `pid_sd3_1024_to_4096_4step_bf16` | 1024 → 4096 | SD3 medium 16-ch VAE |\n\nZ-Image shares Flux1's VAE — no separate PiD checkpoint; use the **flux1** rows above.\n\n### Settings ([subgraph](https://docs.comfy.org/interface/features/subgraph))\n\nConfigure these on the **Latent Upscale Decode (PiD)** subgraph:\n\n**latent_format:** `flux` for Flux1 / Flux2 / Z-Image (`sd3` for SD3; Flux2 auto-detected by 128 ch)\n\n### degrade_sigma\n\nHow \"finished\" the input latent is — which point in diffusion PiD should start decoding from.\n\n| Value | Latent state | When to use |\n| --- | --- | --- |\n| **0.0** (default) | Fully denoised, clean | Normal KSampler output — keep default |\n| **0.1 – 0.8** | Partially denoised, still blurry | Early-stopped or noisy upstream latent |\n| **1.0** | Pure noise | No prior generation; decode from scratch |"
27 ],
28 "color": "#222",
29 "bgcolor": "#000"
30 },
31 {
32 "id": 93,
33 "type": "ImageCompare",
34 "pos": [
35 1950,
36 1070
37 ],
38 "size": [
39 950,
40 950
41 ],
42 "flags": [],
43 "order": 6,
44 "mode": 0,
45 "inputs": [
46 {
47 "name": "image_a",
48 "shape": 7,
49 "type": "IMAGE",
50 "link": 131
51 },
52 {
53 "name": "image_b",
54 "shape": 7,
55 "type": "IMAGE",
56 "link": 116
57 }
58 ],
59 "outputs": [],
60 "properties": {
61 "cnr_id": "comfy-core",
62 "ver": "0.22.0",
63 "enableTabs": false,
64 "tabWidth": 65,
65 "tabXOffset": 10,
66 "hasSecondTab": false,
67 "secondTabText": "Send Back",
68 "secondTabOffset": 80,
69 "secondTabWidth": 65,
70 "Node name for S&R": "ImageCompare"
71 },
72 "widgets_values": []
73 },
74 {
75 "id": 94,
76 "type": "b6f63f3c-4f79-4394-83c3-552b6b84af62",
77 "pos": [
78 1500,
79 1060
80 ],
81 "size": [
82 390,
83 460
84 ],
85 "flags": [],
86 "order": 5,
87 "mode": 0,
88 "inputs": [
89 {
90 "name": "latent",
91 "type": "LATENT",
92 "link": 414
93 },
94 {
95 "label": "prompt",
96 "name": "text",
97 "type": "STRING",
98 "widget": {
99 "name": "text"
100 },
101 "link": 413
102 }
103 ],
104 "outputs": [
105 {
106 "name": "IMAGE",
107 "type": "IMAGE",
108 "links": [
109 116,
110 409
111 ]
112 }
113 ],
114 "properties": {
115 "proxyWidgets": [
116 [
117 "85",
118 "text"
119 ],
120 [
121 "84",
122 "width"
123 ],
124 [
125 "84",
126 "height"
127 ],
128 [
129 "75",
130 "noise_seed"
131 ],
132 [
133 "86",
134 "latent_format"
135 ],
136 [
137 "86",
138 "degrade_sigma"
139 ],
140 [
141 "82",
142 "unet_name"
143 ],
144 [
145 "74",
146 "clip_name"
147 ]
148 ],
149 "cnr_id": "comfy-core",
150 "ver": "0.22.0",
151 "enableTabs": false,
152 "tabWidth": 65,
153 "tabXOffset": 10,
154 "hasSecondTab": false,
155 "secondTabText": "Send Back",
156 "secondTabOffset": 80,
157 "secondTabWidth": 65
158 },
159 "widgets_values": []
160 },
161 {
162 "id": 95,
163 "type": "c20beb1e-2a45-4872-913e-21018c09c578",
164 "pos": [
165 1040,
166 1060
167 ],
168 "size": [
169 400,
170 470
171 ],
172 "flags": [],
173 "order": 3,
174 "mode": 0,
175 "inputs": [
176 {
177 "label": "prompt",
178 "name": "text",
179 "type": "STRING",
180 "widget": {
181 "name": "text"
182 },
183 "link": 407
184 }
185 ],
186 "outputs": [
187 {
188 "name": "IMAGE",
189 "type": "IMAGE",
190 "links": [
191 131,
192 132
193 ]
194 },
195 {
196 "name": "LATENT",
197 "type": "LATENT",
198 "links": [
199 414
200 ]
201 }
202 ],
203 "properties": {
204 "proxyWidgets": [
205 [
206 "27",
207 "text"
208 ],
209 [
210 "13",
211 "width"
212 ],
213 [
214 "13",
215 "height"
216 ],
217 [
218 "3",
219 "seed"
220 ],
221 [
222 "3",
223 "steps"
224 ],
225 [
226 "28",
227 "unet_name"
228 ],
229 [
230 "30",
231 "clip_name"
232 ],
233 [
234 "29",
235 "vae_name"
236 ],
237 [
238 "3",
239 "control_after_generate"
240 ]
241 ],
242 "cnr_id": "comfy-core",
243 "ver": "0.3.73",
244 "enableTabs": false,
245 "tabWidth": 65,
246 "tabXOffset": 10,
247 "hasSecondTab": false,
248 "secondTabText": "Send Back",
249 "secondTabOffset": 80,
250 "secondTabWidth": 65
251 },
252 "widgets_values": []
253 },
254 {
255 "id": 96,
256 "type": "PreviewImage",
257 "pos": [
258 1040,
259 1600
260 ],
261 "size": [
262 400,
263 420
264 ],
265 "flags": [],
266 "order": 4,
267 "mode": 0,
268 "inputs": [
269 {
270 "name": "images",
271 "type": "IMAGE",
272 "link": 132
273 }
274 ],
275 "outputs": [],
276 "properties": {
277 "cnr_id": "comfy-core",
278 "ver": "0.22.0",
279 "enableTabs": false,
280 "tabWidth": 65,
281 "tabXOffset": 10,
282 "hasSecondTab": false,
283 "secondTabText": "Send Back",
284 "secondTabOffset": 80,
285 "secondTabWidth": 65,
286 "Node name for S&R": "PreviewImage"
287 },
288 "widgets_values": []
289 },
290 {
291 "id": 232,
292 "type": "PrimitiveStringMultiline",
293 "pos": [
294 540,
295 1070
296 ],
297 "size": [
298 430,
299 290
300 ],
301 "flags": [],
302 "order": 1,
303 "mode": 0,
304 "inputs": [],
305 "outputs": [
306 {
307 "name": "STRING",
308 "type": "STRING",
309 "links": [
310 407,
311 413
312 ]
313 }
314 ],
315 "title": "Text String (Prompt)",
316 "properties": {
317 "cnr_id": "comfy-core",
318 "ver": "0.22.0",
319 "enableTabs": false,
320 "tabWidth": 65,
321 "tabXOffset": 10,
322 "hasSecondTab": false,
323 "secondTabText": "Send Back",
324 "secondTabOffset": 80,
325 "secondTabWidth": 65,
326 "Node name for S&R": "PrimitiveStringMultiline"
327 },
328 "widgets_values": [
329 "A cinematic shot of a solitary figure viewed from behind, standing on a circular platform inside a massive concrete tube structure. The person is wearing a long beige trench coat and looking out through the large circular opening at a dense cityscape of tall skyscrapers with grid-like windows. The composition features strong concentric circles and framing, creating a sense of depth and isolation. The lighting is soft and diffused daylight, casting gentle shadows within the curved architecture. The art style is photorealistic with a slightly muted color palette dominated by beige, grey, and concrete tones. High resolution, architectural photography, 8k, sharp focus on the subject and background buildings, volumetric lighting, detailed texture of the concrete walls and fabric coat."
330 ]
331 },
332 {
333 "id": 233,
334 "type": "SaveImage",
335 "pos": [
336 1510,
337 1590
338 ],
339 "size": [
340 380,
341 420
342 ],
343 "flags": [],
344 "order": 7,
345 "mode": 0,
346 "inputs": [
347 {
348 "name": "images",
349 "type": "IMAGE",
350 "link": 409
351 }
352 ],
353 "outputs": [],
354 "properties": {
355 "cnr_id": "comfy-core",
356 "ver": "0.22.0",
357 "enableTabs": false,
358 "tabWidth": 65,
359 "tabXOffset": 10,
360 "hasSecondTab": false,
361 "secondTabText": "Send Back",
362 "secondTabOffset": 80,
363 "secondTabWidth": 65,
364 "Node name for S&R": "SaveImage"
365 },
366 "widgets_values": [
367 "PiD"
368 ]
369 },
370 {
371 "id": 241,
372 "type": "MarkdownNote",
373 "pos": [
374 -810,
375 1080
376 ],
377 "size": [
378 620,
379 1428.421875
380 ],
381 "flags": [],
382 "order": 2,
383 "mode": 0,
384 "inputs": [],
385 "outputs": [],
386 "title": "Note: Model Links",
387 "properties": [],
388 "widgets_values": [
389 "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n- [ModelScope:Comfy-Org/PixelDiT](https://modelscope.cn/models/Comfy-Org/PixelDiT)\n- [Hugging Face:Comfy-Org/z_image_turbo](https://huggingface.co/Comfy-Org/z_image_turbo)\n- [ModelScope:Comfy-Org/z_image_turbo](https://modelscope.cn/models/Comfy-Org/z_image_turbo)\n\nRepacks: [Comfy-Org/PixelDiT](https://huggingface.co/Comfy-Org/PixelDiT)\n\n### Z Image Turbo\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors) (7.49 GB)\n\n**diffusion_models**\n\n- [z_image_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors) (11.46 GB)\n\n**vae**\n\n- [ae.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors) (319.8 MB)\n\n### PiD\n\n**diffusion_models** (512→2048 / 2k variant)\n\n- [pid_flux1_512_to_2048_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_flux1_512_to_2048_4step_bf16.safetensors) (2.54 GB)\n- [pid_flux2_512_to_2048_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_flux2_512_to_2048_4step_bf16.safetensors) (2.54 GB)\n- [pid_sd3_512_to_2048_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_sd3_512_to_2048_4step_bf16.safetensors) (2.54 GB)\n\n**diffusion_models** (1024→4096 / 2kto4k variant — used in this workflow)\n\n- [pid_flux1_1024_to_4096_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_flux1_1024_to_4096_4step_bf16.safetensors) (2.54 GB)\n- [pid_flux2_1024_to_4096_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_flux2_1024_to_4096_4step_bf16.safetensors) (2.54 GB)\n- [pid_sd3_1024_to_4096_4step_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_sd3_1024_to_4096_4step_bf16.safetensors) (2.54 GB)\n\n**text_encoders** (load with `pixeldit` type)\n\n- [gemma_2_2b_it_elm_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/text_encoders/gemma_2_2b_it_elm_fp8_scaled.safetensors) (2.44 GB)\n- [gemma_2_2b_it_elm_bf16.safetensors](https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/text_encoders/gemma_2_2b_it_elm_bf16.safetensors) (4.87 GB)\n\nPiD uses built-in **pixel_space** VAE — no separate VAE file needed.\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ ├── gemma_2_2b_it_elm_fp8_scaled.safetensors\n│ │ └── qwen_3_4b.safetensors\n│ ├── 📂 diffusion_models/\n│ │ ├── pid_flux1_1024_to_4096_4step_bf16.safetensors\n│ │ └── z_image_turbo_bf16.safetensors\n│ └── 📂 vae/\n│ └── ae.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
390 ],
391 "color": "#222",
392 "bgcolor": "#000"
393 }
394 ],
395 "links": [
396 [
397 116,
398 94,
399 0,
400 93,
401 1,
402 "IMAGE"
403 ],
404 [
405 131,
406 95,
407 0,
408 93,
409 0,
410 "IMAGE"
411 ],
412 [
413 132,
414 95,
415 0,
416 96,
417 0,
418 "IMAGE"
419 ],
420 [
421 407,
422 232,
423 0,
424 95,
425 0,
426 "STRING"
427 ],
428 [
429 409,
430 94,
431 0,
432 233,
433 0,
434 "IMAGE"
435 ],
436 [
437 413,
438 232,
439 0,
440 94,
441 1,
442 "STRING"
443 ],
444 [
445 414,
446 95,
447 1,
448 94,
449 0,
450 "LATENT"
451 ]
452 ],
453 "groups": [],
454 "definitions": {
455 "subgraphs": [
456 {
457 "id": "b6f63f3c-4f79-4394-83c3-552b6b84af62",
458 "version": 1,
459 "state": {
460 "lastGroupId": 10,
461 "lastNodeId": 241,
462 "lastLinkId": 418,
463 "lastRerouteId": 0
464 },
465 "revision": 0,
466 "config": [],
467 "name": "Latent Upscale Decode (PiD)",
468 "inputNode": {
469 "id": -10,
470 "bounding": [
471 -240,
472 1320,
473 134.625,
474 228
475 ]
476 },
477 "outputNode": {
478 "id": -20,
479 "bounding": [
480 2285,
481 1461,
482 128,
483 68
484 ]
485 },
486 "inputs": [
487 {
488 "id": "ff85c809-da16-4118-b787-e41994473c41",
489 "name": "latent",
490 "type": "LATENT",
491 "linkIds": [
492 105
493 ],
494 "localized_name": "latent",
495 "pos": [
496 -129.375,
497 1344
498 ]
499 },
500 {
501 "id": "52b306f5-f69b-4cf1-adcc-c07f2705a3e0",
502 "name": "text",
503 "type": "STRING",
504 "linkIds": [
505 117
506 ],
507 "label": "prompt",
508 "pos": [
509 -129.375,
510 1364
511 ]
512 },
513 {
514 "id": "96a74eb8-b159-47ea-afc5-f93725ac305f",
515 "name": "width",
516 "type": "INT",
517 "linkIds": [
518 118
519 ],
520 "pos": [
521 -129.375,
522 1384
523 ]
524 },
525 {
526 "id": "92ca7ef7-a38a-4e27-afdd-dae7f7d0e18a",
527 "name": "height",
528 "type": "INT",
529 "linkIds": [
530 119
531 ],
532 "pos": [
533 -129.375,
534 1404
535 ]
536 },
537 {
538 "id": "6017b2bf-6efa-4d8c-a699-53a8840ebc86",
539 "name": "noise_seed",
540 "type": "INT",
541 "linkIds": [
542 122
543 ],
544 "pos": [
545 -129.375,
546 1424
547 ]
548 },
549 {
550 "id": "f94c1f4d-074d-47ad-be77-43befa5727a1",
551 "name": "latent_format",
552 "type": "COMBO",
553 "linkIds": [
554 123
555 ],
556 "pos": [
557 -129.375,
558 1444
559 ]
560 },
561 {
562 "id": "b4653a60-3ed2-45ff-9b85-93f9998fc019",
563 "name": "degrade_sigma",
564 "type": "FLOAT",
565 "linkIds": [
566 124
567 ],
568 "pos": [
569 -129.375,
570 1464
571 ]
572 },
573 {
574 "id": "d2608eef-883b-49f4-a59f-3fc64d65f80a",
575 "name": "unet_name",
576 "type": "COMBO",
577 "linkIds": [
578 125
579 ],
580 "pos": [
581 -129.375,
582 1484
583 ]
584 },
585 {
586 "id": "cee88317-5217-4a1f-ab3c-50878fb11d29",
587 "name": "clip_name",
588 "type": "COMBO",
589 "linkIds": [
590 126
591 ],
592 "pos": [
593 -129.375,
594 1504
595 ]
596 }
597 ],
598 "outputs": [
599 {
600 "id": "9c598447-45f9-4553-a707-b274bb5b2b8e",
601 "name": "IMAGE",
602 "type": "IMAGE",
603 "linkIds": [
604 96,
605 96
606 ],
607 "localized_name": "IMAGE",
608 "pos": [
609 2309,
610 1485
611 ]
612 }
613 ],
614 "widgets": [],
615 "nodes": [
616 {
617 "id": 74,
618 "type": "CLIPLoader",
619 "pos": [
620 260,
621 1380
622 ],
623 "size": [
624 490,
625 170
626 ],
627 "flags": [],
628 "order": 2,
629 "mode": 0,
630 "inputs": [
631 {
632 "localized_name": "clip_name",
633 "name": "clip_name",
634 "type": "COMBO",
635 "widget": {
636 "name": "clip_name"
637 },
638 "link": 126
639 }
640 ],
641 "outputs": [
642 {
643 "localized_name": "CLIP",
644 "name": "CLIP",
645 "type": "CLIP",
646 "links": [
647 98
648 ]
649 }
650 ],
651 "properties": {
652 "cnr_id": "comfy-core",
653 "ver": "0.22.0",
654 "enableTabs": false,
655 "tabWidth": 65,
656 "tabXOffset": 10,
657 "hasSecondTab": false,
658 "secondTabText": "Send Back",
659 "secondTabOffset": 80,
660 "secondTabWidth": 65,
661 "Node name for S&R": "CLIPLoader",
662 "models": [
663 {
664 "name": "gemma_2_2b_it_elm_fp8_scaled.safetensors",
665 "url": "https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/text_encoders/gemma_2_2b_it_elm_fp8_scaled.safetensors",
666 "directory": "text_encoders"
667 }
668 ]
669 },
670 "widgets_values": [
671 "gemma_2_2b_it_elm_fp8_scaled.safetensors",
672 "pixeldit",
673 "default"
674 ]
675 },
676 {
677 "id": 75,
678 "type": "SamplerCustom",
679 "pos": [
680 1630,
681 1200
682 ],
683 "size": [
684 280,
685 500
686 ],
687 "flags": [],
688 "order": 3,
689 "mode": 0,
690 "showAdvanced": false,
691 "inputs": [
692 {
693 "localized_name": "model",
694 "name": "model",
695 "type": "MODEL",
696 "link": 87
697 },
698 {
699 "localized_name": "positive",
700 "name": "positive",
701 "type": "CONDITIONING",
702 "link": 88
703 },
704 {
705 "localized_name": "negative",
706 "name": "negative",
707 "type": "CONDITIONING",
708 "link": 89
709 },
710 {
711 "localized_name": "sampler",
712 "name": "sampler",
713 "type": "SAMPLER",
714 "link": 90
715 },
716 {
717 "localized_name": "sigmas",
718 "name": "sigmas",
719 "type": "SIGMAS",
720 "link": 104
721 },
722 {
723 "localized_name": "latent_image",
724 "name": "latent_image",
725 "type": "LATENT",
726 "link": 92
727 },
728 {
729 "localized_name": "noise_seed",
730 "name": "noise_seed",
731 "type": "INT",
732 "widget": {
733 "name": "noise_seed"
734 },
735 "link": 122
736 }
737 ],
738 "outputs": [
739 {
740 "localized_name": "output",
741 "name": "output",
742 "type": "LATENT",
743 "links": [
744 94
745 ]
746 },
747 {
748 "localized_name": "denoised_output",
749 "name": "denoised_output",
750 "type": "LATENT",
751 "links": null
752 }
753 ],
754 "properties": {
755 "cnr_id": "comfy-core",
756 "ver": "0.22.0",
757 "enableTabs": false,
758 "tabWidth": 65,
759 "tabXOffset": 10,
760 "hasSecondTab": false,
761 "secondTabText": "Send Back",
762 "secondTabOffset": 80,
763 "secondTabWidth": 65,
764 "Node name for S&R": "SamplerCustom"
765 },
766 "widgets_values": [
767 true,
768 3,
769 "fixed",
770 1
771 ]
772 },
773 {
774 "id": 79,
775 "type": "VAEDecode",
776 "pos": [
777 1990,
778 1200
779 ],
780 "size": [
781 230,
782 100
783 ],
784 "flags": {
785 "collapsed": false
786 },
787 "order": 5,
788 "mode": 0,
789 "inputs": [
790 {
791 "localized_name": "samples",
792 "name": "samples",
793 "type": "LATENT",
794 "link": 94
795 },
796 {
797 "localized_name": "vae",
798 "name": "vae",
799 "type": "VAE",
800 "link": 95
801 }
802 ],
803 "outputs": [
804 {
805 "localized_name": "IMAGE",
806 "name": "IMAGE",
807 "type": "IMAGE",
808 "links": [
809 96
810 ]
811 }
812 ],
813 "properties": {
814 "cnr_id": "comfy-core",
815 "ver": "0.22.0",
816 "enableTabs": false,
817 "tabWidth": 65,
818 "tabXOffset": 10,
819 "hasSecondTab": false,
820 "secondTabText": "Send Back",
821 "secondTabOffset": 80,
822 "secondTabWidth": 65,
823 "Node name for S&R": "VAEDecode"
824 },
825 "widgets_values": [],
826 "color": "#322",
827 "bgcolor": "#533"
828 },
829 {
830 "id": 81,
831 "type": "ConditioningZeroOut",
832 "pos": [
833 1030,
834 1820
835 ],
836 "size": [
837 230,
838 30
839 ],
840 "flags": {
841 "collapsed": true
842 },
843 "order": 6,
844 "mode": 0,
845 "inputs": [
846 {
847 "localized_name": "conditioning",
848 "name": "conditioning",
849 "type": "CONDITIONING",
850 "link": 97
851 }
852 ],
853 "outputs": [
854 {
855 "localized_name": "CONDITIONING",
856 "name": "CONDITIONING",
857 "type": "CONDITIONING",
858 "links": [
859 89
860 ]
861 }
862 ],
863 "properties": {
864 "cnr_id": "comfy-core",
865 "ver": "0.22.0",
866 "enableTabs": false,
867 "tabWidth": 65,
868 "tabXOffset": 10,
869 "hasSecondTab": false,
870 "secondTabText": "Send Back",
871 "secondTabOffset": 80,
872 "secondTabWidth": 65,
873 "Node name for S&R": "ConditioningZeroOut"
874 },
875 "widgets_values": [],
876 "color": "#223",
877 "bgcolor": "#335"
878 },
879 {
880 "id": 84,
881 "type": "EmptyChromaRadianceLatentImage",
882 "pos": [
883 360,
884 1670
885 ],
886 "size": [
887 300,
888 170
889 ],
890 "flags": [],
891 "order": 8,
892 "mode": 0,
893 "inputs": [
894 {
895 "localized_name": "width",
896 "name": "width",
897 "type": "INT",
898 "widget": {
899 "name": "width"
900 },
901 "link": 118
902 },
903 {
904 "localized_name": "height",
905 "name": "height",
906 "type": "INT",
907 "widget": {
908 "name": "height"
909 },
910 "link": 119
911 }
912 ],
913 "outputs": [
914 {
915 "localized_name": "LATENT",
916 "name": "LATENT",
917 "type": "LATENT",
918 "links": [
919 92
920 ]
921 }
922 ],
923 "properties": {
924 "cnr_id": "comfy-core",
925 "ver": "0.22.0",
926 "enableTabs": false,
927 "tabWidth": 65,
928 "tabXOffset": 10,
929 "hasSecondTab": false,
930 "secondTabText": "Send Back",
931 "secondTabOffset": 80,
932 "secondTabWidth": 65,
933 "Node name for S&R": "EmptyChromaRadianceLatentImage"
934 },
935 "widgets_values": [
936 4096,
937 4096,
938 1
939 ]
940 },
941 {
942 "id": 78,
943 "type": "VAELoader",
944 "pos": [
945 2000,
946 1350
947 ],
948 "size": [
949 230,
950 40
951 ],
952 "flags": {
953 "collapsed": true
954 },
955 "order": 0,
956 "mode": 0,
957 "inputs": [],
958 "outputs": [
959 {
960 "localized_name": "VAE",
961 "name": "VAE",
962 "type": "VAE",
963 "links": [
964 95
965 ]
966 }
967 ],
968 "properties": {
969 "cnr_id": "comfy-core",
970 "ver": "0.22.0",
971 "enableTabs": false,
972 "tabWidth": 65,
973 "tabXOffset": 10,
974 "hasSecondTab": false,
975 "secondTabText": "Send Back",
976 "secondTabOffset": 80,
977 "secondTabWidth": 65,
978 "Node name for S&R": "VAELoader"
979 },
980 "widgets_values": [
981 "pixel_space"
982 ],
983 "color": "#322",
984 "bgcolor": "#533"
985 },
986 {
987 "id": 86,
988 "type": "PiDConditioning",
989 "pos": [
990 1310,
991 1200
992 ],
993 "size": [
994 270,
995 170
996 ],
997 "flags": [],
998 "order": 10,
999 "mode": 0,
1000 "inputs": [
1001 {
1002 "localized_name": "positive",
1003 "name": "positive",
1004 "type": "CONDITIONING",
1005 "link": 99
1006 },
1007 {
1008 "localized_name": "latent",
1009 "name": "latent",
1010 "type": "LATENT",
1011 "link": 105
1012 },
1013 {
1014 "localized_name": "latent_format",
1015 "name": "latent_format",
1016 "type": "COMBO",
1017 "widget": {
1018 "name": "latent_format"
1019 },
1020 "link": 123
1021 },
1022 {
1023 "localized_name": "degrade_sigma",
1024 "name": "degrade_sigma",
1025 "type": "FLOAT",
1026 "widget": {
1027 "name": "degrade_sigma"
1028 },
1029 "link": 124
1030 }
1031 ],
1032 "outputs": [
1033 {
1034 "localized_name": "CONDITIONING",
1035 "name": "CONDITIONING",
1036 "type": "CONDITIONING",
1037 "links": [
1038 88
1039 ]
1040 }
1041 ],
1042 "properties": {
1043 "cnr_id": "comfy-core",
1044 "ver": "0.22.0",
1045 "enableTabs": false,
1046 "tabWidth": 65,
1047 "tabXOffset": 10,
1048 "hasSecondTab": false,
1049 "secondTabText": "Send Back",
1050 "secondTabOffset": 80,
1051 "secondTabWidth": 65,
1052 "Node name for S&R": "PiDConditioning"
1053 },
1054 "widgets_values": [
1055 "flux",
1056 0
1057 ],
1058 "color": "#322",
1059 "bgcolor": "#533"
1060 },
1061 {
1062 "id": 82,
1063 "type": "UNETLoader",
1064 "pos": [
1065 260,
1066 1200
1067 ],
1068 "size": [
1069 490,
1070 140
1071 ],
1072 "flags": [],
1073 "order": 7,
1074 "mode": 0,
1075 "inputs": [
1076 {
1077 "localized_name": "unet_name",
1078 "name": "unet_name",
1079 "type": "COMBO",
1080 "widget": {
1081 "name": "unet_name"
1082 },
1083 "link": 125
1084 }
1085 ],
1086 "outputs": [
1087 {
1088 "localized_name": "MODEL",
1089 "name": "MODEL",
1090 "type": "MODEL",
1091 "links": [
1092 87,
1093 93
1094 ]
1095 }
1096 ],
1097 "properties": {
1098 "cnr_id": "comfy-core",
1099 "ver": "0.22.0",
1100 "enableTabs": false,
1101 "tabWidth": 65,
1102 "tabXOffset": 10,
1103 "hasSecondTab": false,
1104 "secondTabText": "Send Back",
1105 "secondTabOffset": 80,
1106 "secondTabWidth": 65,
1107 "Node name for S&R": "UNETLoader",
1108 "models": [
1109 {
1110 "name": "pid_flux1_1024_to_4096_4step_bf16.safetensors",
1111 "url": "https://huggingface.co/Comfy-Org/PixelDiT/resolve/main/diffusion_models/pid_flux1_1024_to_4096_4step_bf16.safetensors",
1112 "directory": "diffusion_models"
1113 }
1114 ]
1115 },
1116 "widgets_values": [
1117 "pid_flux1_1024_to_4096_4step_bf16.safetensors",
1118 "default"
1119 ]
1120 },
1121 {
1122 "id": 76,
1123 "type": "KSamplerSelect",
1124 "pos": [
1125 1310,
1126 1430
1127 ],
1128 "size": [
1129 270,
1130 110
1131 ],
1132 "flags": [],
1133 "order": 1,
1134 "mode": 0,
1135 "inputs": [],
1136 "outputs": [
1137 {
1138 "localized_name": "SAMPLER",
1139 "name": "SAMPLER",
1140 "type": "SAMPLER",
1141 "links": [
1142 90
1143 ]
1144 }
1145 ],
1146 "properties": {
1147 "cnr_id": "comfy-core",
1148 "ver": "0.22.0",
1149 "enableTabs": false,
1150 "tabWidth": 65,
1151 "tabXOffset": 10,
1152 "hasSecondTab": false,
1153 "secondTabText": "Send Back",
1154 "secondTabOffset": 80,
1155 "secondTabWidth": 65,
1156 "Node name for S&R": "KSamplerSelect"
1157 },
1158 "widgets_values": [
1159 "lcm"
1160 ]
1161 },
1162 {
1163 "id": 77,
1164 "type": "BasicScheduler",
1165 "pos": [
1166 1310,
1167 1600
1168 ],
1169 "size": [
1170 270,
1171 180
1172 ],
1173 "flags": [],
1174 "order": 4,
1175 "mode": 0,
1176 "inputs": [
1177 {
1178 "localized_name": "model",
1179 "name": "model",
1180 "type": "MODEL",
1181 "link": 93
1182 }
1183 ],
1184 "outputs": [
1185 {
1186 "localized_name": "SIGMAS",
1187 "name": "SIGMAS",
1188 "type": "SIGMAS",
1189 "links": [
1190 104
1191 ]
1192 }
1193 ],
1194 "properties": {
1195 "cnr_id": "comfy-core",
1196 "ver": "0.22.0",
1197 "enableTabs": false,
1198 "tabWidth": 65,
1199 "tabXOffset": 10,
1200 "hasSecondTab": false,
1201 "secondTabText": "Send Back",
1202 "secondTabOffset": 80,
1203 "secondTabWidth": 65,
1204 "Node name for S&R": "BasicScheduler"
1205 },
1206 "widgets_values": [
1207 "simple",
1208 4,
1209 1
1210 ]
1211 },
1212 {
1213 "id": 85,
1214 "type": "CLIPTextEncode",
1215 "pos": [
1216 800,
1217 1200
1218 ],
1219 "size": [
1220 460,
1221 540
1222 ],
1223 "flags": [],
1224 "order": 9,
1225 "mode": 0,
1226 "inputs": [
1227 {
1228 "localized_name": "clip",
1229 "name": "clip",
1230 "type": "CLIP",
1231 "link": 98
1232 },
1233 {
1234 "localized_name": "text",
1235 "name": "text",
1236 "type": "STRING",
1237 "widget": {
1238 "name": "text"
1239 },
1240 "link": 117
1241 }
1242 ],
1243 "outputs": [
1244 {
1245 "localized_name": "CONDITIONING",
1246 "name": "CONDITIONING",
1247 "type": "CONDITIONING",
1248 "links": [
1249 97,
1250 99
1251 ]
1252 }
1253 ],
1254 "properties": {
1255 "cnr_id": "comfy-core",
1256 "ver": "0.22.0",
1257 "enableTabs": false,
1258 "tabWidth": 65,
1259 "tabXOffset": 10,
1260 "hasSecondTab": false,
1261 "secondTabText": "Send Back",
1262 "secondTabOffset": 80,
1263 "secondTabWidth": 65,
1264 "Node name for S&R": "CLIPTextEncode"
1265 },
1266 "widgets_values": [
1267 ""
1268 ],
1269 "color": "#232",
1270 "bgcolor": "#353"
1271 }
1272 ],
1273 "groups": [
1274 {
1275 "id": 7,
1276 "title": "Prompt",
1277 "bounding": [
1278 790,
1279 1130,
1280 490,
1281 730
1282 ],
1283 "color": "#3f789e",
1284 "flags": []
1285 },
1286 {
1287 "id": 8,
1288 "title": "Models",
1289 "bounding": [
1290 250,
1291 1130,
1292 510,
1293 430
1294 ],
1295 "color": "#3f789e",
1296 "flags": []
1297 },
1298 {
1299 "id": 9,
1300 "title": "Group",
1301 "bounding": [
1302 250,
1303 1590,
1304 510,
1305 270
1306 ],
1307 "color": "#3f789e",
1308 "flags": []
1309 },
1310 {
1311 "id": 10,
1312 "title": "Sampling",
1313 "bounding": [
1314 1300,
1315 1130,
1316 660,
1317 730
1318 ],
1319 "color": "#3f789e",
1320 "flags": []
1321 }
1322 ],
1323 "links": [
1324 {
1325 "id": 87,
1326 "origin_id": 82,
1327 "origin_slot": 0,
1328 "target_id": 75,
1329 "target_slot": 0,
1330 "type": "MODEL"
1331 },
1332 {
1333 "id": 88,
1334 "origin_id": 86,
1335 "origin_slot": 0,
1336 "target_id": 75,
1337 "target_slot": 1,
1338 "type": "CONDITIONING"
1339 },
1340 {
1341 "id": 89,
1342 "origin_id": 81,
1343 "origin_slot": 0,
1344 "target_id": 75,
1345 "target_slot": 2,
1346 "type": "CONDITIONING"
1347 },
1348 {
1349 "id": 90,
1350 "origin_id": 76,
1351 "origin_slot": 0,
1352 "target_id": 75,
1353 "target_slot": 3,
1354 "type": "SAMPLER"
1355 },
1356 {
1357 "id": 104,
1358 "origin_id": 77,
1359 "origin_slot": 0,
1360 "target_id": 75,
1361 "target_slot": 4,
1362 "type": "SIGMAS"
1363 },
1364 {
1365 "id": 92,
1366 "origin_id": 84,
1367 "origin_slot": 0,
1368 "target_id": 75,
1369 "target_slot": 5,
1370 "type": "LATENT"
1371 },
1372 {
1373 "id": 94,
1374 "origin_id": 75,
1375 "origin_slot": 0,
1376 "target_id": 79,
1377 "target_slot": 0,
1378 "type": "LATENT"
1379 },
1380 {
1381 "id": 95,
1382 "origin_id": 78,
1383 "origin_slot": 0,
1384 "target_id": 79,
1385 "target_slot": 1,
1386 "type": "VAE"
1387 },
1388 {
1389 "id": 97,
1390 "origin_id": 85,
1391 "origin_slot": 0,
1392 "target_id": 81,
1393 "target_slot": 0,
1394 "type": "CONDITIONING"
1395 },
1396 {
1397 "id": 99,
1398 "origin_id": 85,
1399 "origin_slot": 0,
1400 "target_id": 86,
1401 "target_slot": 0,
1402 "type": "CONDITIONING"
1403 },
1404 {
1405 "id": 93,
1406 "origin_id": 82,
1407 "origin_slot": 0,
1408 "target_id": 77,
1409 "target_slot": 0,
1410 "type": "MODEL"
1411 },
1412 {
1413 "id": 98,
1414 "origin_id": 74,
1415 "origin_slot": 0,
1416 "target_id": 85,
1417 "target_slot": 0,
1418 "type": "CLIP"
1419 },
1420 {
1421 "id": 105,
1422 "origin_id": -10,
1423 "origin_slot": 0,
1424 "target_id": 86,
1425 "target_slot": 1,
1426 "type": "LATENT"
1427 },
1428 {
1429 "id": 96,
1430 "origin_id": 79,
1431 "origin_slot": 0,
1432 "target_id": -20,
1433 "target_slot": 0,
1434 "type": "IMAGE"
1435 },
1436 {
1437 "id": 117,
1438 "origin_id": -10,
1439 "origin_slot": 1,
1440 "target_id": 85,
1441 "target_slot": 1,
1442 "type": "STRING"
1443 },
1444 {
1445 "id": 118,
1446 "origin_id": -10,
1447 "origin_slot": 2,
1448 "target_id": 84,
1449 "target_slot": 0,
1450 "type": "INT"
1451 },
1452 {
1453 "id": 119,
1454 "origin_id": -10,
1455 "origin_slot": 3,
1456 "target_id": 84,
1457 "target_slot": 1,
1458 "type": "INT"
1459 },
1460 {
1461 "id": 122,
1462 "origin_id": -10,
1463 "origin_slot": 4,
1464 "target_id": 75,
1465 "target_slot": 6,
1466 "type": "INT"
1467 },
1468 {
1469 "id": 123,
1470 "origin_id": -10,
1471 "origin_slot": 5,
1472 "target_id": 86,
1473 "target_slot": 2,
1474 "type": "COMBO"
1475 },
1476 {
1477 "id": 124,
1478 "origin_id": -10,
1479 "origin_slot": 6,
1480 "target_id": 86,
1481 "target_slot": 3,
1482 "type": "FLOAT"
1483 },
1484 {
1485 "id": 125,
1486 "origin_id": -10,
1487 "origin_slot": 7,
1488 "target_id": 82,
1489 "target_slot": 0,
1490 "type": "COMBO"
1491 },
1492 {
1493 "id": 126,
1494 "origin_id": -10,
1495 "origin_slot": 8,
1496 "target_id": 74,
1497 "target_slot": 0,
1498 "type": "COMBO"
1499 }
1500 ],
1501 "extra": []
1502 },
1503 {
1504 "id": "c20beb1e-2a45-4872-913e-21018c09c578",
1505 "version": 1,
1506 "state": {
1507 "lastGroupId": 10,
1508 "lastNodeId": 241,
1509 "lastLinkId": 418,
1510 "lastRerouteId": 0
1511 },
1512 "revision": 0,
1513 "config": [],
1514 "name": "Text to Image (Z-Image-Turbo)",
1515 "description": "Generates images from text prompts using Z-Image-Turbo, Alibaba's distilled 6B DiT model.",
1516 "inputNode": {
1517 "id": -10,
1518 "bounding": [
1519 -560,
1520 480,
1521 128,
1522 208
1523 ]
1524 },
1525 "outputNode": {
1526 "id": -20,
1527 "bounding": [
1528 1670,
1529 320,
1530 128,
1531 88
1532 ]
1533 },
1534 "inputs": [
1535 {
1536 "id": "fb178669-e742-4a53-8a69-7df59834dfd8",
1537 "name": "text",
1538 "type": "STRING",
1539 "linkIds": [
1540 34
1541 ],
1542 "label": "prompt",
1543 "pos": [
1544 -456,
1545 504
1546 ]
1547 },
1548 {
1549 "id": "dd780b3c-23e9-46ff-8469-156008f42e5a",
1550 "name": "width",
1551 "type": "INT",
1552 "linkIds": [
1553 35
1554 ],
1555 "pos": [
1556 -456,
1557 524
1558 ]
1559 },
1560 {
1561 "id": "7b08d546-6bb0-4ef9-82e9-ffae5e1ee6bc",
1562 "name": "height",
1563 "type": "INT",
1564 "linkIds": [
1565 36
1566 ],
1567 "pos": [
1568 -456,
1569 544
1570 ]
1571 },
1572 {
1573 "id": "f77677f7-6bf6-4c19-a71f-c4a553d5981e",
1574 "name": "seed",
1575 "type": "INT",
1576 "linkIds": [
1577 71
1578 ],
1579 "pos": [
1580 -456,
1581 564
1582 ]
1583 },
1584 {
1585 "id": "ef9a9fb1-5983-4bc9-a60b-cf5aec48bff1",
1586 "name": "steps",
1587 "type": "INT",
1588 "linkIds": [
1589 72
1590 ],
1591 "pos": [
1592 -456,
1593 584
1594 ]
1595 },
1596 {
1597 "id": "a20a1b30-785f-4a04-bb6d-3d61adab9764",
1598 "name": "unet_name",
1599 "type": "COMBO",
1600 "linkIds": [
1601 73
1602 ],
1603 "pos": [
1604 -456,
1605 604
1606 ]
1607 },
1608 {
1609 "id": "4af8fc2b-4655-4086-8240-45f8cb38c6f6",
1610 "name": "clip_name",
1611 "type": "COMBO",
1612 "linkIds": [
1613 74
1614 ],
1615 "pos": [
1616 -456,
1617 624
1618 ]
1619 },
1620 {
1621 "id": "4d518693-2807-439c-9cb6-cffd23ccba2c",
1622 "name": "vae_name",
1623 "type": "COMBO",
1624 "linkIds": [
1625 75
1626 ],
1627 "pos": [
1628 -456,
1629 644
1630 ]
1631 }
1632 ],
1633 "outputs": [
1634 {
1635 "id": "1fa72a21-ce00-4952-814e-1f2ffbe87d1d",
1636 "name": "IMAGE",
1637 "type": "IMAGE",
1638 "linkIds": [
1639 16
1640 ],
1641 "localized_name": "IMAGE",
1642 "pos": [
1643 1694,
1644 344
1645 ]
1646 },
1647 {
1648 "id": "41b92c4d-274c-4646-96ef-00c6a7f01044",
1649 "name": "LATENT",
1650 "type": "LATENT",
1651 "linkIds": [
1652 127
1653 ],
1654 "pos": [
1655 1694,
1656 364
1657 ]
1658 }
1659 ],
1660 "widgets": [],
1661 "nodes": [
1662 {
1663 "id": 30,
1664 "type": "CLIPLoader",
1665 "pos": [
1666 30,
1667 420
1668 ],
1669 "size": [
1670 270,
1671 170
1672 ],
1673 "flags": [],
1674 "order": 7,
1675 "mode": 0,
1676 "inputs": [
1677 {
1678 "localized_name": "clip_name",
1679 "name": "clip_name",
1680 "type": "COMBO",
1681 "widget": {
1682 "name": "clip_name"
1683 },
1684 "link": 74
1685 }
1686 ],
1687 "outputs": [
1688 {
1689 "localized_name": "CLIP",
1690 "name": "CLIP",
1691 "type": "CLIP",
1692 "links": [
1693 28
1694 ]
1695 }
1696 ],
1697 "properties": {
1698 "cnr_id": "comfy-core",
1699 "ver": "0.3.73",
1700 "enableTabs": false,
1701 "tabWidth": 65,
1702 "tabXOffset": 10,
1703 "hasSecondTab": false,
1704 "secondTabText": "Send Back",
1705 "secondTabOffset": 80,
1706 "secondTabWidth": 65,
1707 "Node name for S&R": "CLIPLoader",
1708 "models": [
1709 {
1710 "name": "qwen_3_4b.safetensors",
1711 "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
1712 "directory": "text_encoders"
1713 }
1714 ]
1715 },
1716 "widgets_values": [
1717 "qwen_3_4b.safetensors",
1718 "lumina2",
1719 "default"
1720 ]
1721 },
1722 {
1723 "id": 29,
1724 "type": "VAELoader",
1725 "pos": [
1726 30,
1727 650
1728 ],
1729 "size": [
1730 270,
1731 110
1732 ],
1733 "flags": [],
1734 "order": 6,
1735 "mode": 0,
1736 "inputs": [
1737 {
1738 "localized_name": "vae_name",
1739 "name": "vae_name",
1740 "type": "COMBO",
1741 "widget": {
1742 "name": "vae_name"
1743 },
1744 "link": 75
1745 }
1746 ],
1747 "outputs": [
1748 {
1749 "localized_name": "VAE",
1750 "name": "VAE",
1751 "type": "VAE",
1752 "links": [
1753 27
1754 ]
1755 }
1756 ],
1757 "properties": {
1758 "cnr_id": "comfy-core",
1759 "ver": "0.3.73",
1760 "enableTabs": false,
1761 "tabWidth": 65,
1762 "tabXOffset": 10,
1763 "hasSecondTab": false,
1764 "secondTabText": "Send Back",
1765 "secondTabOffset": 80,
1766 "secondTabWidth": 65,
1767 "Node name for S&R": "VAELoader",
1768 "models": [
1769 {
1770 "name": "ae.safetensors",
1771 "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
1772 "directory": "vae"
1773 }
1774 ]
1775 },
1776 "widgets_values": [
1777 "ae.safetensors"
1778 ]
1779 },
1780 {
1781 "id": 33,
1782 "type": "ConditioningZeroOut",
1783 "pos": [
1784 630,
1785 960
1786 ],
1787 "size": [
1788 230,
1789 80
1790 ],
1791 "flags": [],
1792 "order": 8,
1793 "mode": 0,
1794 "inputs": [
1795 {
1796 "localized_name": "conditioning",
1797 "name": "conditioning",
1798 "type": "CONDITIONING",
1799 "link": 32
1800 }
1801 ],
1802 "outputs": [
1803 {
1804 "localized_name": "CONDITIONING",
1805 "name": "CONDITIONING",
1806 "type": "CONDITIONING",
1807 "links": [
1808 33
1809 ]
1810 }
1811 ],
1812 "properties": {
1813 "cnr_id": "comfy-core",
1814 "ver": "0.3.73",
1815 "enableTabs": false,
1816 "tabWidth": 65,
1817 "tabXOffset": 10,
1818 "hasSecondTab": false,
1819 "secondTabText": "Send Back",
1820 "secondTabOffset": 80,
1821 "secondTabWidth": 65,
1822 "Node name for S&R": "ConditioningZeroOut"
1823 },
1824 "widgets_values": []
1825 },
1826 {
1827 "id": 8,
1828 "type": "VAEDecode",
1829 "pos": [
1830 1320,
1831 230
1832 ],
1833 "size": [
1834 230,
1835 100
1836 ],
1837 "flags": [],
1838 "order": 1,
1839 "mode": 0,
1840 "inputs": [
1841 {
1842 "localized_name": "samples",
1843 "name": "samples",
1844 "type": "LATENT",
1845 "link": 14
1846 },
1847 {
1848 "localized_name": "vae",
1849 "name": "vae",
1850 "type": "VAE",
1851 "link": 27
1852 }
1853 ],
1854 "outputs": [
1855 {
1856 "localized_name": "IMAGE",
1857 "name": "IMAGE",
1858 "type": "IMAGE",
1859 "slot_index": 0,
1860 "links": [
1861 16
1862 ]
1863 }
1864 ],
1865 "properties": {
1866 "cnr_id": "comfy-core",
1867 "ver": "0.3.64",
1868 "enableTabs": false,
1869 "tabWidth": 65,
1870 "tabXOffset": 10,
1871 "hasSecondTab": false,
1872 "secondTabText": "Send Back",
1873 "secondTabOffset": 80,
1874 "secondTabWidth": 65,
1875 "Node name for S&R": "VAEDecode"
1876 },
1877 "widgets_values": []
1878 },
1879 {
1880 "id": 28,
1881 "type": "UNETLoader",
1882 "pos": [
1883 30,
1884 230
1885 ],
1886 "size": [
1887 270,
1888 140
1889 ],
1890 "flags": [],
1891 "order": 5,
1892 "mode": 0,
1893 "inputs": [
1894 {
1895 "localized_name": "unet_name",
1896 "name": "unet_name",
1897 "type": "COMBO",
1898 "widget": {
1899 "name": "unet_name"
1900 },
1901 "link": 73
1902 }
1903 ],
1904 "outputs": [
1905 {
1906 "localized_name": "MODEL",
1907 "name": "MODEL",
1908 "type": "MODEL",
1909 "links": [
1910 26
1911 ]
1912 }
1913 ],
1914 "properties": {
1915 "cnr_id": "comfy-core",
1916 "ver": "0.3.73",
1917 "enableTabs": false,
1918 "tabWidth": 65,
1919 "tabXOffset": 10,
1920 "hasSecondTab": false,
1921 "secondTabText": "Send Back",
1922 "secondTabOffset": 80,
1923 "secondTabWidth": 65,
1924 "Node name for S&R": "UNETLoader",
1925 "models": [
1926 {
1927 "name": "z_image_turbo_bf16.safetensors",
1928 "url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/diffusion_models/z_image_turbo_bf16.safetensors",
1929 "directory": "diffusion_models"
1930 }
1931 ]
1932 },
1933 "widgets_values": [
1934 "z_image_turbo_bf16.safetensors",
1935 "default"
1936 ]
1937 },
1938 {
1939 "id": 27,
1940 "type": "CLIPTextEncode",
1941 "pos": [
1942 400,
1943 230
1944 ],
1945 "size": [
1946 450,
1947 650
1948 ],
1949 "flags": [],
1950 "order": 4,
1951 "mode": 0,
1952 "inputs": [
1953 {
1954 "localized_name": "clip",
1955 "name": "clip",
1956 "type": "CLIP",
1957 "link": 28
1958 },
1959 {
1960 "localized_name": "text",
1961 "name": "text",
1962 "type": "STRING",
1963 "widget": {
1964 "name": "text"
1965 },
1966 "link": 34
1967 }
1968 ],
1969 "outputs": [
1970 {
1971 "localized_name": "CONDITIONING",
1972 "name": "CONDITIONING",
1973 "type": "CONDITIONING",
1974 "links": [
1975 30,
1976 32
1977 ]
1978 }
1979 ],
1980 "properties": {
1981 "cnr_id": "comfy-core",
1982 "ver": "0.3.73",
1983 "enableTabs": false,
1984 "tabWidth": 65,
1985 "tabXOffset": 10,
1986 "hasSecondTab": false,
1987 "secondTabText": "Send Back",
1988 "secondTabOffset": 80,
1989 "secondTabWidth": 65,
1990 "Node name for S&R": "CLIPTextEncode"
1991 },
1992 "widgets_values": [
1993 "A red panda stands on its hind legs in a misty forest, surrounded by tall trees and moss-covered rocks, with sunlight filtering through the foliage. There's a waterfall behind it, and a black bird on it's head."
1994 ]
1995 },
1996 {
1997 "id": 13,
1998 "type": "EmptySD3LatentImage",
1999 "pos": [
2000 40,
2001 890
2002 ],
2003 "size": [
2004 260,
2005 170
2006 ],
2007 "flags": [],
2008 "order": 3,
2009 "mode": 0,
2010 "inputs": [
2011 {
2012 "localized_name": "width",
2013 "name": "width",
2014 "type": "INT",
2015 "widget": {
2016 "name": "width"
2017 },
2018 "link": 35
2019 },
2020 {
2021 "localized_name": "height",
2022 "name": "height",
2023 "type": "INT",
2024 "widget": {
2025 "name": "height"
2026 },
2027 "link": 36
2028 }
2029 ],
2030 "outputs": [
2031 {
2032 "localized_name": "LATENT",
2033 "name": "LATENT",
2034 "type": "LATENT",
2035 "slot_index": 0,
2036 "links": [
2037 17
2038 ]
2039 }
2040 ],
2041 "properties": {
2042 "cnr_id": "comfy-core",
2043 "ver": "0.3.64",
2044 "enableTabs": false,
2045 "tabWidth": 65,
2046 "tabXOffset": 10,
2047 "hasSecondTab": false,
2048 "secondTabText": "Send Back",
2049 "secondTabOffset": 80,
2050 "secondTabWidth": 65,
2051 "Node name for S&R": "EmptySD3LatentImage"
2052 },
2053 "widgets_values": [
2054 1024,
2055 1024,
2056 1
2057 ]
2058 },
2059 {
2060 "id": 11,
2061 "type": "ModelSamplingAuraFlow",
2062 "pos": [
2063 950,
2064 230
2065 ],
2066 "size": [
2067 310,
2068 110
2069 ],
2070 "flags": [],
2071 "order": 2,
2072 "mode": 0,
2073 "inputs": [
2074 {
2075 "localized_name": "model",
2076 "name": "model",
2077 "type": "MODEL",
2078 "link": 26
2079 }
2080 ],
2081 "outputs": [
2082 {
2083 "localized_name": "MODEL",
2084 "name": "MODEL",
2085 "type": "MODEL",
2086 "slot_index": 0,
2087 "links": [
2088 13
2089 ]
2090 }
2091 ],
2092 "properties": {
2093 "cnr_id": "comfy-core",
2094 "ver": "0.3.64",
2095 "enableTabs": false,
2096 "tabWidth": 65,
2097 "tabXOffset": 10,
2098 "hasSecondTab": false,
2099 "secondTabText": "Send Back",
2100 "secondTabOffset": 80,
2101 "secondTabWidth": 65,
2102 "Node name for S&R": "ModelSamplingAuraFlow"
2103 },
2104 "widgets_values": [
2105 3
2106 ]
2107 },
2108 {
2109 "id": 3,
2110 "type": "KSampler",
2111 "pos": [
2112 950,
2113 400
2114 ],
2115 "size": [
2116 320,
2117 350
2118 ],
2119 "flags": [],
2120 "order": 0,
2121 "mode": 0,
2122 "inputs": [
2123 {
2124 "localized_name": "model",
2125 "name": "model",
2126 "type": "MODEL",
2127 "link": 13
2128 },
2129 {
2130 "localized_name": "positive",
2131 "name": "positive",
2132 "type": "CONDITIONING",
2133 "link": 30
2134 },
2135 {
2136 "localized_name": "negative",
2137 "name": "negative",
2138 "type": "CONDITIONING",
2139 "link": 33
2140 },
2141 {
2142 "localized_name": "latent_image",
2143 "name": "latent_image",
2144 "type": "LATENT",
2145 "link": 17
2146 },
2147 {
2148 "localized_name": "seed",
2149 "name": "seed",
2150 "type": "INT",
2151 "widget": {
2152 "name": "seed"
2153 },
2154 "link": 71
2155 },
2156 {
2157 "localized_name": "steps",
2158 "name": "steps",
2159 "type": "INT",
2160 "widget": {
2161 "name": "steps"
2162 },
2163 "link": 72
2164 }
2165 ],
2166 "outputs": [
2167 {
2168 "localized_name": "LATENT",
2169 "name": "LATENT",
2170 "type": "LATENT",
2171 "slot_index": 0,
2172 "links": [
2173 14,
2174 127
2175 ]
2176 }
2177 ],
2178 "properties": {
2179 "cnr_id": "comfy-core",
2180 "ver": "0.3.64",
2181 "enableTabs": false,
2182 "tabWidth": 65,
2183 "tabXOffset": 10,
2184 "hasSecondTab": false,
2185 "secondTabText": "Send Back",
2186 "secondTabOffset": 80,
2187 "secondTabWidth": 65,
2188 "Node name for S&R": "KSampler"
2189 },
2190 "widgets_values": [
2191 118003886179702,
2192 "randomize",
2193 8,
2194 1,
2195 "res_multistep",
2196 "simple",
2197 1
2198 ]
2199 }
2200 ],
2201 "groups": [
2202 {
2203 "id": 2,
2204 "title": "Step2 - Image size",
2205 "bounding": [
2206 10,
2207 820,
2208 320,
2209 280
2210 ],
2211 "color": "#3f789e",
2212 "flags": []
2213 },
2214 {
2215 "id": 3,
2216 "title": "Step3 - Prompt",
2217 "bounding": [
2218 360,
2219 130,
2220 530,
2221 970
2222 ],
2223 "color": "#3f789e",
2224 "flags": []
2225 },
2226 {
2227 "id": 4,
2228 "title": "Step1 - Load models",
2229 "bounding": [
2230 0,
2231 130,
2232 330,
2233 660
2234 ],
2235 "color": "#3f789e",
2236 "flags": []
2237 }
2238 ],
2239 "links": [
2240 {
2241 "id": 32,
2242 "origin_id": 27,
2243 "origin_slot": 0,
2244 "target_id": 33,
2245 "target_slot": 0,
2246 "type": "CONDITIONING"
2247 },
2248 {
2249 "id": 26,
2250 "origin_id": 28,
2251 "origin_slot": 0,
2252 "target_id": 11,
2253 "target_slot": 0,
2254 "type": "MODEL"
2255 },
2256 {
2257 "id": 14,
2258 "origin_id": 3,
2259 "origin_slot": 0,
2260 "target_id": 8,
2261 "target_slot": 0,
2262 "type": "LATENT"
2263 },
2264 {
2265 "id": 27,
2266 "origin_id": 29,
2267 "origin_slot": 0,
2268 "target_id": 8,
2269 "target_slot": 1,
2270 "type": "VAE"
2271 },
2272 {
2273 "id": 13,
2274 "origin_id": 11,
2275 "origin_slot": 0,
2276 "target_id": 3,
2277 "target_slot": 0,
2278 "type": "MODEL"
2279 },
2280 {
2281 "id": 30,
2282 "origin_id": 27,
2283 "origin_slot": 0,
2284 "target_id": 3,
2285 "target_slot": 1,
2286 "type": "CONDITIONING"
2287 },
2288 {
2289 "id": 33,
2290 "origin_id": 33,
2291 "origin_slot": 0,
2292 "target_id": 3,
2293 "target_slot": 2,
2294 "type": "CONDITIONING"
2295 },
2296 {
2297 "id": 17,
2298 "origin_id": 13,
2299 "origin_slot": 0,
2300 "target_id": 3,
2301 "target_slot": 3,
2302 "type": "LATENT"
2303 },
2304 {
2305 "id": 28,
2306 "origin_id": 30,
2307 "origin_slot": 0,
2308 "target_id": 27,
2309 "target_slot": 0,
2310 "type": "CLIP"
2311 },
2312 {
2313 "id": 16,
2314 "origin_id": 8,
2315 "origin_slot": 0,
2316 "target_id": -20,
2317 "target_slot": 0,
2318 "type": "IMAGE"
2319 },
2320 {
2321 "id": 34,
2322 "origin_id": -10,
2323 "origin_slot": 0,
2324 "target_id": 27,
2325 "target_slot": 1,
2326 "type": "STRING"
2327 },
2328 {
2329 "id": 35,
2330 "origin_id": -10,
2331 "origin_slot": 1,
2332 "target_id": 13,
2333 "target_slot": 0,
2334 "type": "INT"
2335 },
2336 {
2337 "id": 36,
2338 "origin_id": -10,
2339 "origin_slot": 2,
2340 "target_id": 13,
2341 "target_slot": 1,
2342 "type": "INT"
2343 },
2344 {
2345 "id": 71,
2346 "origin_id": -10,
2347 "origin_slot": 3,
2348 "target_id": 3,
2349 "target_slot": 4,
2350 "type": "INT"
2351 },
2352 {
2353 "id": 72,
2354 "origin_id": -10,
2355 "origin_slot": 4,
2356 "target_id": 3,
2357 "target_slot": 5,
2358 "type": "INT"
2359 },
2360 {
2361 "id": 73,
2362 "origin_id": -10,
2363 "origin_slot": 5,
2364 "target_id": 28,
2365 "target_slot": 0,
2366 "type": "COMBO"
2367 },
2368 {
2369 "id": 74,
2370 "origin_id": -10,
2371 "origin_slot": 6,
2372 "target_id": 30,
2373 "target_slot": 0,
2374 "type": "COMBO"
2375 },
2376 {
2377 "id": 75,
2378 "origin_id": -10,
2379 "origin_slot": 7,
2380 "target_id": 29,
2381 "target_slot": 0,
2382 "type": "COMBO"
2383 },
2384 {
2385 "id": 127,
2386 "origin_id": 3,
2387 "origin_slot": 0,
2388 "target_id": -20,
2389 "target_slot": 1,
2390 "type": "LATENT"
2391 }
2392 ],
2393 "extra": {
2394 "workflowRendererVersion": "LG"
2395 }
2396 }
2397 ]
2398 },
2399 "config": [],
2400 "extra": {
2401 "ds": {
2402 "scale": 0.2878991308299266,
2403 "offset": [
2404 3651.482424263018,
2405 -183.64536962931243
2406 ]
2407 },
2408 "frontendVersion": "1.44.19",
2409 "workflowRendererVersion": "LG",
2410 "VHS_latentpreview": false,
2411 "VHS_latentpreviewrate": 0,
2412 "VHS_MetadataImage": true,
2413 "VHS_KeepIntermediate": true
2414 },
2415 "version": 0.4
2416}