Files
dseditor-ComfyUI-ListHelper/Example/QwenLayerToPSD.json
T
2025-12-26 19:26:41 +08:00

1358 lines
25 KiB
JSON

{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 162,
"last_link_id": 248,
"nodes": [
{
"id": 153,
"type": "VAELoader",
"pos": [
-1800,
-100
],
"size": [
330,
70
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
238,
243
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "VAELoader",
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_layered_vae.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 148,
"type": "CLIPLoaderGGUF",
"pos": [
-1820,
-230
],
"size": [
340,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
233
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "01f8845bf30d89fff293c7bd50187bc59d9d53ea",
"Node name for S&R": "CLIPLoaderGGUF",
"widget_ue_connectable": {}
},
"widgets_values": [
"Qwen2.5-VL-7B-Instruct-Q8_0.gguf",
"qwen_image"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 146,
"type": "UnetLoaderGGUF",
"pos": [
-1820,
-500
],
"size": [
340,
60
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
230
]
}
],
"properties": {
"cnr_id": "ComfyUI-GGUF",
"ver": "01f8845bf30d89fff293c7bd50187bc59d9d53ea",
"Node name for S&R": "UnetLoaderGGUF",
"widget_ue_connectable": {}
},
"widgets_values": [
"Qwen_Image_Layered-Q8_0.gguf"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 147,
"type": "LoraLoaderModelOnly",
"pos": [
-1820,
-380
],
"size": [
360,
90
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 230
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
246
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "LoraLoaderModelOnly",
"widget_ue_connectable": {}
},
"widgets_values": [
"Qwen\\Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 159,
"type": "ModelPatchTorchSettings",
"pos": [
-1760,
280
],
"size": [
312.095703125,
58
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 244
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
245
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ea74a928034631ffcdf3c70bc468bf9cf8c1224d",
"Node name for S&R": "ModelPatchTorchSettings",
"widget_ue_connectable": {}
},
"widgets_values": [
true
]
},
{
"id": 158,
"type": "PathchSageAttentionKJ",
"pos": [
-1740,
140
],
"size": [
270,
82
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 246
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
244
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "ea74a928034631ffcdf3c70bc468bf9cf8c1224d",
"Node name for S&R": "PathchSageAttentionKJ",
"widget_ue_connectable": {}
},
"widgets_values": [
"auto",
false
]
},
{
"id": 160,
"type": "Note",
"pos": [
-2010,
80
],
"size": [
210,
88
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "SageAttn",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"可加速批次,但不會安裝可忽略"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 157,
"type": "Note",
"pos": [
-2240,
-520
],
"size": [
370,
370
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model模型組合",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"可使用GGUF,如\nhttps://huggingface.co/QuantStack/Qwen-Image-Layered-GGUF/resolve/main/Qwen_Image_Layered-Q8_0.gguf\n\n或原生FP8模型\nhttps://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_layered_fp8mixed.safetensors\n\nGGUF沒有比較快\nVAE必須使用\nhttps://huggingface.co/Comfy-Org/Qwen-Image-Layered_ComfyUI/resolve/main/split_files/vae/qwen_image_layered_vae.safetensors\n==\n可選用\n4步\nhttps://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors\n或是8步\nhttps://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-8steps-V1.0-bf16.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 127,
"type": "CLIPTextEncode",
"pos": [
-1340,
-440
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 233
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
193,
237
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "CLIPTextEncode",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 151,
"type": "ConditioningZeroOut",
"pos": [
-1320,
-210
],
"size": [
151.9,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 237
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
235
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "ConditioningZeroOut",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 125,
"type": "VAEEncode",
"pos": [
-1330,
-100
],
"size": [
148.59375,
46
],
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 205
},
{
"name": "vae",
"type": "VAE",
"link": 243
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
194
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEEncode",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 122,
"type": "ReferenceLatent",
"pos": [
-1110,
-190
],
"size": [
204.1666717529297,
46
],
"flags": {
"collapsed": true
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 193
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 194
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
197
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ReferenceLatent",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 82,
"type": "ImageScaleToMaxDimension",
"pos": [
-1120,
-120
],
"size": [
270,
90
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 147
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
204,
205
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ImageScaleToMaxDimension",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"lanczos",
1280
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 156,
"type": "Note",
"pos": [
-1130,
20
],
"size": [
300,
88
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"縮放尺寸,將影像縮放至長邊尺寸大小"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 129,
"type": "GetImageSize",
"pos": [
-1160,
190
],
"size": [
330,
124
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 204
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
208
]
},
{
"name": "height",
"type": "INT",
"links": [
209
]
},
{
"name": "batch_size",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "GetImageSize",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"width: 934, height: 1280\n batch size: 1"
]
},
{
"id": 128,
"type": "KSampler",
"pos": [
-810,
-270
],
"size": [
270,
400
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 196
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 197
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 235
},
{
"name": "latent_image",
"type": "LATENT",
"link": 210
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
199
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "KSampler",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
700844619563458,
"randomize",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 123,
"type": "ModelSamplingAuraFlow",
"pos": [
-820,
-420
],
"size": [
270,
58
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 245
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
196
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ModelSamplingAuraFlow",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1
]
},
{
"id": 124,
"type": "LatentCutToBatch",
"pos": [
-520,
-430
],
"size": [
270,
82
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 199
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
202
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LatentCutToBatch",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"t",
1
]
},
{
"id": 126,
"type": "VAEDecode",
"pos": [
-490,
-290
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 202
},
{
"name": "vae",
"type": "VAE",
"link": 238
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
206,
247
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEDecode",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 130,
"type": "EmptyQwenImageLayeredLatentImage",
"pos": [
-510,
-180
],
"size": [
330.9341796875,
130
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 208
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 209
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
210
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "EmptyQwenImageLayeredLatentImage",
"widget_ue_connectable": {},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
640,
640,
4,
1
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 155,
"type": "Note",
"pos": [
-500,
0
],
"size": [
300,
88
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"分層,此處的Layers是選擇分割的層次"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 162,
"type": "PreviewAny",
"pos": [
720,
-330
],
"size": [
340,
180
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "source",
"type": "*",
"link": 248
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.6.0",
"Node name for S&R": "PreviewAny",
"widget_ue_connectable": {}
},
"widgets_values": [
null,
null,
null
]
},
{
"id": 161,
"type": "BatchToPSD",
"pos": [
720,
-490
],
"size": [
275.650390625,
82
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 247
}
],
"outputs": [
{
"name": "message",
"type": "STRING",
"links": [
248
]
}
],
"properties": {
"cnr_id": "Listhelper",
"ver": "6aa94a8686464cb5d47c91726ebf00baa2bb6bbe",
"Node name for S&R": "BatchToPSD",
"widget_ue_connectable": {}
},
"widgets_values": [
"ComfyUI_PSD",
false
]
},
{
"id": 60,
"type": "SaveImage",
"pos": [
-150,
-460
],
"size": [
810,
820
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 206
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"Qwen-image-layers"
]
},
{
"id": 74,
"type": "LoadImage",
"pos": [
-1480,
-1010
],
"size": [
280,
430
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
147
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"未命名 (1).png",
"image"
]
}
],
"links": [
[
147,
74,
0,
82,
0,
"IMAGE"
],
[
193,
127,
0,
122,
0,
"CONDITIONING"
],
[
194,
125,
0,
122,
1,
"LATENT"
],
[
196,
123,
0,
128,
0,
"MODEL"
],
[
197,
122,
0,
128,
1,
"CONDITIONING"
],
[
199,
128,
0,
124,
0,
"LATENT"
],
[
202,
124,
0,
126,
0,
"LATENT"
],
[
204,
82,
0,
129,
0,
"IMAGE"
],
[
205,
82,
0,
125,
0,
"IMAGE"
],
[
206,
126,
0,
60,
0,
"IMAGE"
],
[
208,
129,
0,
130,
0,
"INT"
],
[
209,
129,
1,
130,
1,
"INT"
],
[
210,
130,
0,
128,
3,
"LATENT"
],
[
230,
146,
0,
147,
0,
"MODEL"
],
[
233,
148,
0,
127,
0,
"CLIP"
],
[
235,
151,
0,
128,
2,
"CONDITIONING"
],
[
237,
127,
0,
151,
0,
"CONDITIONING"
],
[
238,
153,
0,
126,
1,
"VAE"
],
[
243,
153,
0,
125,
1,
"VAE"
],
[
244,
158,
0,
159,
0,
"MODEL"
],
[
245,
159,
0,
123,
0,
"MODEL"
],
[
246,
147,
0,
158,
0,
"MODEL"
],
[
247,
126,
0,
161,
0,
"IMAGE"
],
[
248,
161,
0,
162,
0,
"STRING"
]
],
"groups": [
{
"id": 3,
"title": "Model",
"bounding": [
-1840,
-570,
430,
590
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Sampler",
"bounding": [
-1380,
-570,
2070,
1040
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 7,
"title": "SageAttn",
"bounding": [
-1780,
50,
370,
310
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 8,
"title": "PSD",
"bounding": [
710,
-560,
360,
423.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"config": {},
"extra": {
"frontendVersion": "1.35.9",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 0.5388400011697768,
"offset": [
1996.2590784453294,
842.005382162079
]
},
"ue_links": [],
"links_added_by_ue": []
},
"version": 0.4
}