Qwen-Image-Layered_Workflow / Qwen-Image-Layered_Workflow.json
SudoInstallAI's picture
Upload Qwen-Image-Layered_Workflow.json
4e9d8f7 verified
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 85,
"last_link_id": 156,
"nodes": [
{
"id": 71,
"type": "VAEEncode",
"pos": [
703.797838377496,
92.28159511099479
],
"size": [
140,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 138
},
{
"name": "vae",
"type": "VAE",
"link": 139
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
133
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEEncode"
},
"widgets_values": []
},
{
"id": 69,
"type": "ReferenceLatent",
"pos": [
865.8063846861651,
101.17346016049848
],
"size": [
204.1666717529297,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 129
},
{
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 133
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
130,
150
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ReferenceLatent"
},
"widgets_values": []
},
{
"id": 82,
"type": "ConditioningZeroOut",
"pos": [
620.088375079263,
396.37590648794736
],
"size": [
204.0999984741211,
26
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "conditioning",
"type": "CONDITIONING",
"link": 150
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
151
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ConditioningZeroOut"
},
"widgets_values": []
},
{
"id": 77,
"type": "Note",
"pos": [
867.4083234279973,
505.2876945652034
],
"size": [
371.86270718851114,
125.00823566033034
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"The \"length\" sets the amount of layers. I will add a node to make this more user friendly in the future. For now:\nlength 5 -> 1 layer\nlenght 9 -> 2 layers\nlength 13 -> 3 layers\nlength 17 -> 4 layers\nlength 21 -> 5 layers"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 76,
"type": "LatentCutToBatch",
"pos": [
1183.7800116170006,
48.173699201046404
],
"size": [
270,
82
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 142
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
143
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LatentCutToBatch"
},
"widgets_values": [
"t",
1
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1195.8255981738207,
194.76727061509092
],
"size": [
210,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 143
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
110
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAEDecode"
},
"widgets_values": []
},
{
"id": 66,
"type": "ModelSamplingAuraFlow",
"pos": [
418.2298278808594,
87.89485760684784
],
"size": [
270,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 148
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
154
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "ModelSamplingAuraFlow"
},
"widgets_values": [
1
]
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
415,
186
],
"size": [
422.84503173828125,
164.31304931640625
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 156
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
129
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 60,
"type": "SaveImage",
"pos": [
1483.8542323024506,
50.380179178936146
],
"size": [
558.5875378682033,
589.0552513054805
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 110
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 73,
"type": "EmptyHunyuanLatentVideo",
"pos": [
521.3844375447621,
476.9460832883059
],
"size": [
309.6197265625,
130
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
137
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "EmptyHunyuanLatentVideo"
},
"widgets_values": [
640,
640,
9,
1
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
863,
187
],
"size": [
315,
262
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 154
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 130
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 151
},
{
"name": "latent_image",
"type": "LATENT",
"link": 137
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
142
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "KSampler"
},
"widgets_values": [
169106260453104,
"randomize",
50,
3,
"euler",
"simple",
1
]
},
{
"id": 81,
"type": "LoraLoaderModelOnly",
"pos": [
414.73819333422136,
-37.56490125069992
],
"size": [
270,
82
],
"flags": {},
"order": 8,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 155
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
148
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"Qwen-Image-Lightning-4steps-V1.0-bf16.safetensors",
1
]
},
{
"id": 85,
"type": "CLIPLoader",
"pos": [
129.70297212532867,
194.87650512446876
],
"size": [
270,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
156
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "CLIPLoader"
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 39,
"type": "VAELoader",
"pos": [
129.2556754309264,
350.48799535319995
],
"size": [
268.2335696435641,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
139
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"qwen_image_layered_vae.safetensors"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 74,
"type": "LoadImage",
"pos": [
210.08243821094666,
460.9366115764037
],
"size": [
282.798828125,
314.00000000000006
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
138
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00039_2.jpg",
"image"
]
},
{
"id": 84,
"type": "UNETLoader",
"pos": [
130.85227638899215,
64.83659885863861
],
"size": [
270,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
155
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.5.1",
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"qwen_image_layered_fp8mixed.safetensors",
"default"
]
}
],
"links": [
[
76,
39,
0,
8,
1,
"VAE"
],
[
110,
8,
0,
60,
0,
"IMAGE"
],
[
129,
6,
0,
69,
0,
"CONDITIONING"
],
[
130,
69,
0,
3,
1,
"CONDITIONING"
],
[
133,
71,
0,
69,
1,
"LATENT"
],
[
137,
73,
0,
3,
3,
"LATENT"
],
[
138,
74,
0,
71,
0,
"IMAGE"
],
[
139,
39,
0,
71,
1,
"VAE"
],
[
142,
3,
0,
76,
0,
"LATENT"
],
[
143,
76,
0,
8,
0,
"LATENT"
],
[
148,
81,
0,
66,
0,
"MODEL"
],
[
150,
69,
0,
82,
0,
"CONDITIONING"
],
[
151,
82,
0,
3,
2,
"CONDITIONING"
],
[
154,
66,
0,
3,
0,
"MODEL"
],
[
155,
84,
0,
81,
0,
"MODEL"
],
[
156,
85,
0,
6,
0,
"CLIP"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.7627768444385499,
"offset": [
172.30291293473954,
294.0561862524395
]
},
"frontendVersion": "1.34.9",
"workflowRendererVersion": "LG"
},
"version": 0.4
}