Files
2026-05-25 19:04:28 +03:00

907 lines
20 KiB
JSON

{
"id": "9ae6082b-c7f4-433c-9971-7a8f65a3ea65",
"revision": 0,
"last_node_id": 147,
"last_link_id": 264,
"nodes": [
{
"id": 9,
"type": "SaveImage",
"pos": [
1750.191732115863,
-614.8928515388139
],
"size": [
748.5625,
714.625
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 252
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z-image-base"
]
},
{
"id": 98,
"type": "CLIPTextEncode",
"pos": [
89.82489218494345,
-635.688141888832
],
"size": [
225,
232.96875
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 126
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 144
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
260
]
}
],
"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": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 99,
"type": "EmptySD3LatentImage",
"pos": [
-850.1864551819885,
-84.81841358466158
],
"size": [
338.75,
143.328125
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
262
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "EmptySD3LatentImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 100,
"type": "VAELoader",
"pos": [
-849.0778933110353,
-227.61555038413707
],
"size": [
339.59375,
99.59375
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
218
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "VAELoader",
"models": [
{
"name": "ae.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/vae/ae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 101,
"type": "CLIPLoader",
"pos": [
-847.46247671436,
-447.54461627920426
],
"size": [
336.78125,
179.328125
],
"flags": {},
"order": 2,
"mode": 0,
"showAdvanced": true,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
126,
131
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "CLIPLoader",
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"qwen_3_4b.safetensors",
"lumina2",
"cpu"
]
},
{
"id": 103,
"type": "ModelSamplingAuraFlow",
"pos": [
329.6784099355003,
-514.8270103871895
],
"size": [
337.84375,
107.09375
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 135
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
259
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "ModelSamplingAuraFlow",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
3
]
},
{
"id": 104,
"type": "UNETLoader",
"pos": [
-849.1095192864279,
-636.6470436185241
],
"size": [
341.84375,
147.46875
],
"flags": {},
"order": 3,
"mode": 0,
"showAdvanced": true,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
135
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.73",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "z_image_bf16.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image/resolve/main/split_files/diffusion_models/z_image_bf16.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z_image_bf16.safetensors",
"default"
]
},
{
"id": 105,
"type": "CLIPTextEncode",
"pos": [
88.47352910322218,
-349.5021398731044
],
"size": [
225,
224.171875
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 131
},
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
261
]
}
],
"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": [
""
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 115,
"type": "PiDTextPrompt",
"pos": [
-494.421938151345,
-639.7729653465548
],
"size": [
568.234375,
514.375
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
144
]
},
{
"name": "caption",
"type": "STRING",
"links": [
255
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.2",
"Node name for S&R": "PiDTextPrompt",
"aux_id": "Merserk/ComfyUI-PiD"
},
"widgets_values": [
"A vibrant graphic novel-style cinematic illustration of a confident woman standing in the foreground, framed as the commanding heroine of a sci-fi adventure. She has a sleek jet-black bob haircut, bold red lipstick, and an intense, self-assured expression. She wears a striking crimson bomber jacket over a fitted black tactical bodysuit, with black gloves, a utility belt, and subtle futuristic detailing.\n\nBehind her stretches a vast, idealized ancient Egyptian city blended with sci-fi elements. A winding blue river cuts through the golden desert landscape, reflecting the bright sunlight beneath a clear, vivid blue sky. The environment is filled with monumental pharaonic statues, weathered stone columns, ruined temples, ancient obelisks, and partially collapsed structures. In the far distance, majestic pyramids rise against the horizon, surrounded by towering columns and elegant futuristic spires that hint at an advanced lost civilization.\n\nUse clean, bold linework, dynamic composition, rich warm desert tones, deep shadows, and high-contrast colors. The mood should feel epic, adventurous, mysterious, and cinematic, like a premium comic book cover or concept art for a sci-fi Egyptian fantasy film. Emphasize sharp detail, dramatic scale, atmospheric depth, and a polished graphic novel aesthetic."
]
},
{
"id": 134,
"type": "Note",
"pos": [
-1287.1492259595534,
-636.6958394483811
],
"size": [
415.84375,
687.59375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"PiD Decode - Simple Cheat Sheet\n\nBest 2K quality mode\nBase generation: 512 x 512\nPiD checkpoint: 2k\nScale: 4\nFinal output: 2048 x 2048\n\nBest 4K quality mode\nBase generation: 1024 x 1024\nPiD checkpoint: 2kto4k\nScale: 4\nFinal output: 4096 x 4096\n\nLowest-VRAM staged connection\nKSampler LATENT -> PiD Prepare latent\nPrompt caption -> PiD Prepare caption\nLeave PiD Prepare vae and baseline_image disconnected.\nPiD Prepare -> PiD Sample -> PiD Finalize\n\nPiD Sample runs the heavy PiD pass in a subprocess, so its CUDA context is destroyed after sampling.\n\nThe node infers the 1024px baseline size from the latent grid for official latent-conditioned PiD checkpoints. Connect baseline_image only if you need a specific external baseline size.\n\nIf 1024 -> 4096 still runs out of VRAM on 16GB, try sequential_blocks, then use 960 -> 3840 or 896 -> 3584."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 135,
"type": "VAEDecode",
"pos": [
331.05638217760804,
-631.5152680686276
],
"size": [
334.03125,
71.328125
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 263
},
{
"name": "vae",
"type": "VAE",
"link": 218
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
239
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.22.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 140,
"type": "SaveImage",
"pos": [
1751.73660039059,
149.97193545440916
],
"size": [
748.5625,
714.625
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 239
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.64",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"z-image-base"
]
},
{
"id": 143,
"type": "PiDPrepare",
"pos": [
685.8834960815193,
-625.5455033357583
],
"size": [
370.71875,
386.140625
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "latent",
"type": "LATENT",
"link": 264
},
{
"name": "caption",
"type": "STRING",
"link": 255
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"name": "baseline_image",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "prepared",
"type": "PID_PREP",
"links": [
257
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.2",
"Node name for S&R": "PiDPrepare"
},
"widgets_values": [
"zimage",
"2kto4k",
4,
0,
true,
true,
""
]
},
{
"id": 145,
"type": "PiDFinalize",
"pos": [
1512.8597103706938,
-618.6010724251227
],
"size": [
225,
71.328125
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"link": 258
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
252
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.2",
"Node name for S&R": "PiDFinalize"
},
"widgets_values": []
},
{
"id": 146,
"type": "PiDSample",
"pos": [
1073.5015999505663,
-621.5396729915881
],
"size": [
426.578125,
232.3125
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "prepared",
"type": "PID_PREP",
"link": 257
}
],
"outputs": [
{
"name": "sampled",
"type": "PID_SAMPLES",
"links": [
258
]
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.2",
"Node name for S&R": "PiDSample"
},
"widgets_values": [
4,
1,
719222849,
"randomize",
true,
"sequential_blocks_aggressive"
]
},
{
"id": 147,
"type": "PiDKSamplerCapture",
"pos": [
329.64066190775554,
-365.67519270724165
],
"size": [
338.203125,
373.453125
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 259
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 260
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 261
},
{
"name": "latent_image",
"type": "LATENT",
"link": 262
}
],
"outputs": [
{
"name": "final_latent",
"type": "LATENT",
"links": [
263
]
},
{
"name": "pid_latent",
"type": "LATENT",
"links": [
264
]
},
{
"name": "pid_sigma",
"type": "FLOAT",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-pid",
"ver": "0.2.3",
"Node name for S&R": "PiDKSamplerCapture"
},
"widgets_values": [
843320688075519,
"randomize",
50,
4,
"euler",
"beta",
1,
46
]
}
],
"links": [
[
126,
101,
0,
98,
0,
"CLIP"
],
[
131,
101,
0,
105,
0,
"CLIP"
],
[
135,
104,
0,
103,
0,
"MODEL"
],
[
144,
115,
0,
98,
1,
"STRING"
],
[
218,
100,
0,
135,
1,
"VAE"
],
[
239,
135,
0,
140,
0,
"IMAGE"
],
[
252,
145,
0,
9,
0,
"IMAGE"
],
[
255,
115,
1,
143,
1,
"STRING"
],
[
257,
143,
0,
146,
0,
"PID_PREP"
],
[
258,
146,
0,
145,
0,
"PID_SAMPLES"
],
[
259,
103,
0,
147,
0,
"MODEL"
],
[
260,
98,
0,
147,
1,
"CONDITIONING"
],
[
261,
105,
0,
147,
2,
"CONDITIONING"
],
[
262,
99,
0,
147,
3,
"LATENT"
],
[
263,
147,
0,
135,
0,
"LATENT"
],
[
264,
147,
1,
143,
0,
"LATENT"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7627768444385489,
"offset": [
813.7583185878806,
1059.9250253731389
]
},
"frontendVersion": "1.43.18",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}