Files
2026-07-16 14:25:24 +03:00

694 lines
12 KiB
JSON

{
"id": "pid_zimage_complete.json",
"revision": 0,
"last_node_id": 13,
"last_link_id": 13,
"nodes": [
{
"id": 1,
"type": "Note",
"pos": [
-1120,
-430
],
"size": [
410,
260
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Z-Image PiD complete workflow\nModels: z_image_bf16 + qwen_3_4b.\nRecommended PiD capture: 50 steps, capture 46.\nPiD output: 512 latent -> 2048 image with 2k/scale 4.\nUse 2kto4k and 1024 latent for 4K."
]
},
{
"id": 2,
"type": "UNETLoader",
"pos": [
-1120,
-130
],
"size": [
340,
148
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
1
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z_image_bf16.safetensors",
"default"
]
},
{
"id": 3,
"type": "ModelSamplingAuraFlow",
"pos": [
-720,
-130
],
"size": [
260,
92
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 1
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
5
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
3.0
]
},
{
"id": 4,
"type": "CLIPLoader",
"pos": [
-1120,
70
],
"size": [
340,
179
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
2,
4
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"qwen_3_4b.safetensors",
"lumina2",
"default"
]
},
{
"id": 5,
"type": "PiDTextPrompt",
"pos": [
-690,
70
],
"size": [
520,
240
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
3
]
},
{
"name": "caption",
"type": "STRING",
"links": [
10
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDTextPrompt",
"aux_id": "Merserk/ComfyUI-PiD"
},
"widgets_values": [
"A cinematic photorealistic portrait, detailed lighting, sharp focus, rich colors, high quality."
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-120,
-360
],
"size": [
300,
220
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 3
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
6
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
""
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
-120,
-70
],
"size": [
300,
220
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 4
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
7
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
""
]
},
{
"id": 8,
"type": "PiDEmptyLatentImage",
"pos": [
-690,
360
],
"size": [
390,
166
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "latent",
"type": "LATENT",
"slot_index": 0,
"links": [
8
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.6.4",
"Node name for S&R": "PiDEmptyLatentImage"
},
"widgets_values": [
"2k",
"512x512 (1:1)",
1,
"zimage"
]
},
{
"id": 9,
"type": "PiDKSamplerCapture",
"pos": [
260,
-245
],
"size": [
340,
405
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 5
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 6
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 7
},
{
"name": "latent_image",
"type": "LATENT",
"link": 8
}
],
"outputs": [
{
"name": "final_latent",
"type": "LATENT",
"links": []
},
{
"name": "pid_latent",
"type": "LATENT",
"links": [
9
]
},
{
"name": "pid_sigma",
"type": "FLOAT",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDKSamplerCapture"
},
"widgets_values": [
0,
"randomize",
50,
4.0,
"euler",
"flowmatch_euler_discrete",
1.0,
46,
3.0
]
},
{
"id": 10,
"type": "PiDPrepare",
"pos": [
650,
-230
],
"size": [
370,
386
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "latent",
"type": "LATENT",
"link": 9
},
{
"name": "caption",
"type": "STRING",
"link": 10
}
],
"outputs": [
{
"name": "prepared",
"type": "PID_PREP",
"links": [
11
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDPrepare"
},
"widgets_values": [
"v1",
"zimage",
"2k",
4,
0.0,
true,
"bf16",
true
]
},
{
"id": 11,
"type": "PiDSample",
"pos": [
1050,
-220
],
"size": [
426,
232
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "prepared",
"type": "PID_PREP",
"link": 11
}
],
"outputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"links": [
12
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDSample"
},
"widgets_values": [
4,
1.0,
0,
"randomize",
true
]
},
{
"id": 12,
"type": "PiDFinalize",
"pos": [
1510,
-210
],
"size": [
225,
72
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"link": 12
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDFinalize"
},
"widgets_values": []
},
{
"id": 13,
"type": "SaveImage",
"pos": [
1760,
-330
],
"size": [
520,
495
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 13
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"pid-zimage"
]
}
],
"links": [
[
1,
2,
0,
3,
0,
"MODEL"
],
[
2,
4,
0,
6,
0,
"CLIP"
],
[
3,
5,
0,
6,
1,
"STRING"
],
[
4,
4,
0,
7,
0,
"CLIP"
],
[
5,
3,
0,
9,
0,
"MODEL"
],
[
6,
6,
0,
9,
1,
"CONDITIONING"
],
[
7,
7,
0,
9,
2,
"CONDITIONING"
],
[
8,
8,
0,
9,
3,
"LATENT"
],
[
9,
9,
1,
10,
0,
"LATENT"
],
[
10,
5,
1,
10,
1,
"STRING"
],
[
11,
10,
0,
11,
0,
"PID_PREP"
],
[
12,
11,
0,
12,
0,
"PID_SAMPLES"
],
[
13,
12,
0,
13,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"frontendVersion": "1.43.18"
},
"version": 0.4
}