Z-Image-SAM-ControlNet / comfy-ui-patch /z-image-control.json
neuralvfx's picture
Upload z-image-control.json
85afb51 verified
raw
history blame
10.9 kB
{
"id": "dc824ad9-4bce-4551-a997-e6a87f72ec9a",
"revision": 0,
"last_node_id": 30,
"last_link_id": 44,
"nodes": [
{
"id": 23,
"type": "CLIPLoader",
"pos": [
193.35770362122202,
589.1045386116131
],
"size": [
270,
106
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
25,
26
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen_3_4b.safetensors",
"stable_diffusion",
"default"
]
},
{
"id": 11,
"type": "ZImageFunControlnet",
"pos": [
650.693370136532,
873.0013944643039
],
"size": [
270,
158
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 8
},
{
"name": "model_patch",
"type": "MODEL_PATCH",
"link": 7
},
{
"name": "vae",
"type": "VAE",
"link": 24
},
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 44
},
{
"name": "inpaint_image",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
9
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "ZImageFunControlnet"
},
"widgets_values": [
1
]
},
{
"id": 19,
"type": "CLIPTextEncode",
"pos": [
575.386073696718,
558.5820990144681
],
"size": [
384.6283512791799,
88
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 25
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
18
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"低分辨率,低画质,肢体畸形,手指畸形,画面过饱和,蜡像感,人脸无细节,过度光滑,画面具有AI感。构图混乱。文字模糊,扭曲。"
]
},
{
"id": 22,
"type": "VAELoader",
"pos": [
299.04518148310876,
1053.0221582644497
],
"size": [
270,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
23,
24
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"ae.safetensors"
]
},
{
"id": 20,
"type": "VAEDecode",
"pos": [
1304.5368015816512,
1029.7346108643137
],
"size": [
140,
46
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 19
},
{
"name": "vae",
"type": "VAE",
"link": 23
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
43
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 15,
"type": "LoadImage",
"pos": [
121.58164566971385,
1253.1819819080865
],
"size": [
282.798828125,
314
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
44
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"z-image.png",
"image"
]
},
{
"id": 24,
"type": "EmptySD3LatentImage",
"pos": [
665.3716158641379,
1223.558694484496
],
"size": [
270,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
40
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "EmptySD3LatentImage"
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 14,
"type": "CheckpointLoaderSimple",
"pos": [
296.99002192658565,
775.6854381875186
],
"size": [
270,
98
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
8
]
},
{
"name": "CLIP",
"type": "CLIP",
"links": []
},
{
"name": "VAE",
"type": "VAE",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"z_image_bf16.safetensors"
]
},
{
"id": 13,
"type": "ModelPatchLoader",
"pos": [
299.87400325559804,
937.3575331331284
],
"size": [
270,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL_PATCH",
"type": "MODEL_PATCH",
"links": [
7
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "ModelPatchLoader"
},
"widgets_values": [
"z-image-sam-controlnet.safetensors"
]
},
{
"id": 18,
"type": "CLIPTextEncode",
"pos": [
579.7513745545072,
394.7179132501322
],
"size": [
384.6283512791799,
88
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 26
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
13
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"some beach wood washed up on the sunny sand, spelling the words z-image, with footprints and waves crashing"
]
},
{
"id": 30,
"type": "SaveImage",
"pos": [
1390.0115724066345,
1148.1802964029368
],
"size": [
963.738329965309,
1146.7897439905723
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 43
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"beach_sgmm_uniform"
]
},
{
"id": 16,
"type": "KSampler",
"pos": [
1019.3164869552924,
1100.388973122045
],
"size": [
270,
474
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 9
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 13
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 18
},
{
"name": "latent_image",
"type": "LATENT",
"link": 40
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
19
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "KSampler"
},
"widgets_values": [
45,
"fixed",
50,
4,
"euler",
"normal",
1
]
}
],
"links": [
[
7,
13,
0,
11,
1,
"MODEL_PATCH"
],
[
8,
14,
0,
11,
0,
"MODEL"
],
[
9,
11,
0,
16,
0,
"MODEL"
],
[
13,
18,
0,
16,
1,
"CONDITIONING"
],
[
18,
19,
0,
16,
2,
"CONDITIONING"
],
[
19,
16,
0,
20,
0,
"LATENT"
],
[
23,
22,
0,
20,
1,
"VAE"
],
[
24,
22,
0,
11,
2,
"VAE"
],
[
25,
23,
0,
19,
0,
"CLIP"
],
[
26,
23,
0,
18,
0,
"CLIP"
],
[
40,
24,
0,
16,
3,
"LATENT"
],
[
43,
20,
0,
30,
0,
"IMAGE"
],
[
44,
15,
0,
11,
3,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"workflowRendererVersion": "LG",
"ds": {
"scale": 0.6549488697051965,
"offset": [
873.0789061555352,
-192.47603206701717
]
},
"frontendVersion": "1.37.11"
},
"version": 0.4
}