Qwen_Image_Workflows / Qwen_Image_InstantX_Controlnet.json
stablediffusiontutorials's picture
Upload 3 files
8333013 verified
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 107,
"last_link_id": 185,
"nodes": [
{
"id": 71,
"type": "LoadImage",
"pos": [
-70,
635
],
"size": [
274.080078125,
314.00006103515625
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
140
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
"Zoomable image (3).jpg",
"image"
]
},
{
"id": 7,
"type": "CLIPTextEncode",
"pos": [
300,
380
],
"size": [
460,
140
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 75
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
152
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
" "
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-120,
130
],
"size": [
380,
106
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
74,
75
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"models": [
{
"name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
]
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-120,
290
],
"size": [
380,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
144,
153
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
]
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 84,
"type": "ControlNetLoader",
"pos": [
-120,
400
],
"size": [
380,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
150
]
}
],
"properties": {
"Node name for S&R": "ControlNetLoader",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"models": [
{
"name": "Qwen-Image-InstantX-ControlNet-Union.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image-InstantX-ControlNets/resolve/main/split_files/controlnet/Qwen-Image-InstantX-ControlNet-Union.safetensors",
"directory": "controlnet"
}
]
},
"widgets_values": [
"Qwen-Image-InstantX-ControlNet-Union.safetensors"
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": [
-120,
0
],
"size": [
380,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
145
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"models": [
{
"name": "qwen_image_fp8_e4m3fn.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors",
"directory": "diffusion_models"
}
]
},
"widgets_values": [
"qwen_image_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 66,
"type": "ModelSamplingAuraFlow",
"pos": [
800,
10
],
"size": [
310,
58
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 149
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
156
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
3.1000000000000005
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
1150,
480
],
"size": [
310,
46
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 128
},
{
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
110
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": []
},
{
"id": 68,
"type": "Note",
"pos": [
810,
-140
],
"size": [
310,
90
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Increase the shift if you get too many blury/dark/bad images. Decrease if you want to try increasing detail."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 86,
"type": "Note",
"pos": [
1150,
580
],
"size": [
307.4002380371094,
127.38092803955078
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Set cfg to 1.0 for a speed boost at the cost of consistency. Samplers like res_multistep work pretty well at cfg 1.0\n\nThe official number of steps is 50 but I think that's too much. Even just 10 steps seems to work."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 79,
"type": "MarkdownNote",
"pos": [
1160,
770
],
"size": [
310,
140
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "KSampler settings",
"properties": {},
"widgets_values": [
"You can test and find the best setting by yourself. The following table is for reference.\n\n| model | steps | cfg |\n|---------------------|---------------|---------------|\n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4 Steps lightning LoRA | 4 | 1.0 |\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 75,
"type": "ImageScaleToTotalPixels",
"pos": [
-60,
995
],
"size": [
270,
82
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 140
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
143,
183
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
"area",
1.68
]
},
{
"id": 107,
"type": "MarkdownNote",
"pos": [
320,
840
],
"size": [
410,
110
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "About Lotus Depth",
"properties": {},
"widgets_values": [
"\"It's a subgraph. Double-click on the node or click the icon on the top-left to learn how it works.\n\nYou can use any SD1.5 VAE.\n\nOr you can use the canny node if you want to use the canny control.\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 72,
"type": "Canny",
"pos": [
320,
1000
],
"size": [
240,
90
],
"flags": {},
"order": 9,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
}
],
"properties": {
"Node name for S&R": "Canny",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
0.1,
0.2
]
},
{
"id": 85,
"type": "ControlNetApplyAdvanced",
"pos": [
820,
620
],
"size": [
220,
186
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 151
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 152
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 150
},
{
"name": "image",
"type": "IMAGE",
"link": 185
},
{
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 153
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
154
]
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
155
]
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 106,
"type": "ef3b4b73-ce32-4a60-a60e-d7f278bf6b14",
"pos": [
320,
640
],
"size": [
400,
150
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 183
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
184,
185
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
"vae-ft-mse-840000-ema-pruned.safetensors",
"lotus-depth-d-v1-1.safetensors",
10000,
"euler"
]
},
{
"id": 76,
"type": "VAEEncode",
"pos": [
880,
290
],
"size": [
140,
46
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 143
},
{
"name": "vae",
"type": "VAE",
"link": 144
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": []
},
{
"id": 73,
"type": "PreviewImage",
"pos": [
820,
850
],
"size": [
230,
258
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 184
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": []
},
{
"id": 80,
"type": "LoraLoaderModelOnly",
"pos": [
320,
-10
],
"size": [
430,
82
],
"flags": {},
"order": 15,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 145
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
149
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.51",
"models": [
{
"name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors",
"directory": "loras"
}
]
},
"widgets_values": [
"Qwen-Image-Lightning-4steps-V1.0.safetensors",
1
]
},
{
"id": 3,
"type": "KSampler",
"pos": [
1150,
0
],
"size": [
310,
430
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 156
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 154
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 155
},
{
"name": "latent_image",
"type": "LATENT",
"link": 142
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
128
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
452179129219851,
"randomize",
20,
2.5,
"euler",
"simple",
1
]
},
{
"id": 60,
"type": "SaveImage",
"pos": [
1510,
0
],
"size": [
970,
1030
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 110
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 78,
"type": "MarkdownNote",
"pos": [
-690,
-50
],
"size": [
540,
630
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image) | [教程](https://docs.comfy.org/zh-CN/tutorials/image/qwen/qwen-image)\n\n\n## Model links\n\nYou can find all the models on [Huggingface](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) or [Modelscope](https://modelscope.cn/models/Comfy-Org/Qwen-Image_ComfyUI/files)\n\n**Diffusion model**\n\n- [qwen_image_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors)\n\n**ControlNet**\n\n- [Qwen-Image-InstantX-ControlNet-Union.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-InstantX-ControlNets/resolve/main/split_files/controlnet/Qwen-Image-InstantX-ControlNet-Union.safetensors)\n\n\n**LoRA**\n\n- [Qwen-Image-Lightning-4steps-V1.0.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**VAE**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── qwen_image_fp8_e4m3fn.safetensors\n│ │ └── qwen_image_distill_full_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-8steps-V1.0.safetensors\n│ ├── 📂 controlnet/ \n│ │ └── Qwen-Image-InstantX-ControlNet-Union.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 105,
"type": "MarkdownNote",
"pos": [
-680,
630
],
"size": [
530,
250
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Lotus Depth",
"properties": {},
"widgets_values": [
"**Diffusion Model**\n\nDownload [lotus-depth-d-v1-1.safetensors](https://huggingface.co/Comfy-Org/lotus/resolve/main/lotus-depth-d-v1-1.safetensors) \n and place it in **ComfyUI/models/diffusion_models**\n\n**VAE Model**\n\nDownload [vae-ft-mse-840000-ema-pruned.safetensors](https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors) and place it in **ComfyUI/models/vae** or you can use any SD1.5 VAE if you prefer.\n\n\n```\nComfyUI/\n├── models/\n│ ├── diffusion_models/\n│ │ └─── lotus-depth-d-v1-1.safetensors\n│ └── vae/\n│ └── lvae-ft-mse-840000-ema-pruned.safetensors\n```\n\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
300,
170
],
"size": [
460,
164.31304931640625
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 74
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
151
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.51"
},
"widgets_values": [
"Post-apocalyptic style clothing, long wavy hair, rough texture, exotic woman, tattered coarse-woven linen fabric, wearing a hood, mechanical aesthetics, mainly in dark gray tones, low-saturation earthy yellow, sense of impact and rebellion, doomsday aesthetics, grotesque aesthetics, works of art, backlighting, film photography, professional photography works, clear visible face, emotional and atmospheric dynamic photography, Fujichrome color positive film, shot with a 17mm Hasselblad ultra-wide-angle lens, f/1.2 large aperture, side backlighting, artistic light, hair light, Rembrandt light, 8K high-definition image quality, delicate real human skin texture."
],
"color": "#232",
"bgcolor": "#353"
}
],
"links": [
[
74,
38,
0,
6,
0,
"CLIP"
],
[
75,
38,
0,
7,
0,
"CLIP"
],
[
76,
39,
0,
8,
1,
"VAE"
],
[
110,
8,
0,
60,
0,
"IMAGE"
],
[
128,
3,
0,
8,
0,
"LATENT"
],
[
140,
71,
0,
75,
0,
"IMAGE"
],
[
142,
76,
0,
3,
3,
"LATENT"
],
[
143,
75,
0,
76,
0,
"IMAGE"
],
[
144,
39,
0,
76,
1,
"VAE"
],
[
145,
37,
0,
80,
0,
"MODEL"
],
[
149,
80,
0,
66,
0,
"MODEL"
],
[
150,
84,
0,
85,
2,
"CONTROL_NET"
],
[
151,
6,
0,
85,
0,
"CONDITIONING"
],
[
152,
7,
0,
85,
1,
"CONDITIONING"
],
[
153,
39,
0,
85,
4,
"VAE"
],
[
154,
85,
0,
3,
1,
"CONDITIONING"
],
[
155,
85,
1,
3,
2,
"CONDITIONING"
],
[
156,
66,
0,
3,
0,
"MODEL"
],
[
183,
75,
0,
106,
0,
"IMAGE"
],
[
184,
106,
0,
73,
0,
"IMAGE"
],
[
185,
106,
0,
85,
3,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "Step 1 - Upload models",
"bounding": [
-130,
-80,
400,
610
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 2 - Upload reference image",
"bounding": [
-130,
550,
400,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Image processing and applying ControlNet",
"bounding": [
290,
550,
810,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Step 3 - Prompt",
"bounding": [
290,
100,
490,
430
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "4 steps lightning LoRA",
"bounding": [
290,
-80,
490,
160
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "ef3b4b73-ce32-4a60-a60e-d7f278bf6b14",
"version": 1,
"state": {
"lastGroupId": 6,
"lastNodeId": 105,
"lastLinkId": 186,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Lotus Depth",
"inputNode": {
"id": -10,
"bounding": [
-420,
1753,
120,
140
]
},
"outputNode": {
"id": -20,
"bounding": [
1045.2000122070312,
1753,
120,
60
]
},
"inputs": [
{
"id": "b946d075-34dd-429b-bbf4-46aa4c693ce1",
"name": "pixels",
"type": "IMAGE",
"linkIds": [
175
],
"localized_name": "pixels",
"pos": {
"0": -320,
"1": 1773
}
},
{
"id": "25d3c1a2-cf9a-4785-8032-4cd13e275b02",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
183
],
"pos": {
"0": -320,
"1": 1793
}
},
{
"id": "51418d0c-a7be-46cb-b995-aefc0c41133a",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
184
],
"pos": {
"0": -320,
"1": 1813
}
},
{
"id": "e1521e97-d7b7-4b40-8d2c-37aa4938a67a",
"name": "sigma",
"type": "FLOAT",
"linkIds": [
185
],
"pos": {
"0": -320,
"1": 1833
}
},
{
"id": "4599e2fd-50fe-428b-88eb-f45862e22153",
"name": "sampler_name",
"type": "COMBO",
"linkIds": [
186
],
"pos": {
"0": -320,
"1": 1853
}
}
],
"outputs": [
{
"id": "6889d480-8282-4e52-935b-952a148b23b7",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
179,
182
],
"localized_name": "IMAGE",
"pos": {
"0": 1065.199951171875,
"1": 1773
}
}
],
"widgets": [],
"nodes": [
{
"id": 92,
"type": "SamplerCustomAdvanced",
"pos": [
630,
1570
],
"size": [
355.20001220703125,
326
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 164
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 165
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 166
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 167
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 168
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
171
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"slot_index": 1,
"links": []
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 94,
"type": "BasicGuider",
"pos": [
370,
1640
],
"size": [
210,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 173
},
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 169
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
165
]
}
],
"properties": {
"Node name for S&R": "BasicGuider",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 95,
"type": "BasicScheduler",
"pos": [
120,
1740
],
"size": [
210,
106
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 174
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"slot_index": 0,
"links": [
170
]
}
],
"properties": {
"Node name for S&R": "BasicScheduler",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": [
"normal",
1,
1
]
},
{
"id": 96,
"type": "LotusConditioning",
"pos": [
130,
1660
],
"size": [
210,
26
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
169
]
}
],
"properties": {
"Node name for S&R": "LotusConditioning",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 97,
"type": "VAEEncode",
"pos": [
130,
1900
],
"size": [
210,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 175
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 176
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
168
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 93,
"type": "DisableNoise",
"pos": [
370,
1570
],
"size": [
210,
26
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"slot_index": 0,
"links": [
164
]
}
],
"properties": {
"Node name for S&R": "DisableNoise",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 98,
"type": "VAEDecode",
"pos": [
750,
1940
],
"size": [
210,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 171
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 177
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
172
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 99,
"type": "ImageInvert",
"pos": [
760,
2040
],
"size": [
210,
26
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 172
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
179,
182
]
}
],
"properties": {
"Node name for S&R": "ImageInvert",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 89,
"type": "VAELoader",
"pos": [
-230,
1570
],
"size": [
305.93701171875,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 183
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
176,
177
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"models": [
{
"name": "vae-ft-mse-840000-ema-pruned.safetensors",
"url": "https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.safetensors",
"directory": "vae"
}
],
"widget_ue_connectable": {}
},
"widgets_values": [
"vae-ft-mse-840000-ema-pruned.safetensors"
]
},
{
"id": 87,
"type": "UNETLoader",
"pos": [
-230,
1690
],
"size": [
305.93701171875,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 184
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
173,
174
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"models": [
{
"name": "lotus-depth-d-v1-1.safetensors",
"url": "https://huggingface.co/Comfy-Org/lotus/resolve/main/lotus-depth-d-v1-1.safetensors",
"directory": "diffusion_models"
}
],
"widget_ue_connectable": {}
},
"widgets_values": [
"lotus-depth-d-v1-1.safetensors",
"default"
]
},
{
"id": 101,
"type": "SetFirstSigma",
"pos": [
370,
1830
],
"size": [
210,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 170
},
{
"localized_name": "sigma",
"name": "sigma",
"type": "FLOAT",
"widget": {
"name": "sigma"
},
"link": 185
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"slot_index": 0,
"links": [
167
]
}
],
"properties": {
"Node name for S&R": "SetFirstSigma",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": [
10000
]
},
{
"id": 100,
"type": "KSamplerSelect",
"pos": [
370,
1730
],
"size": [
210,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": 186
}
],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"slot_index": 0,
"links": [
166
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.3.34",
"widget_ue_connectable": {}
},
"widgets_values": [
"euler"
]
}
],
"groups": [
{
"id": 6,
"title": "Load models",
"bounding": [
-240,
1500,
325.93701171875,
285.6000061035156
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 164,
"origin_id": 93,
"origin_slot": 0,
"target_id": 92,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 165,
"origin_id": 94,
"origin_slot": 0,
"target_id": 92,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 166,
"origin_id": 100,
"origin_slot": 0,
"target_id": 92,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 167,
"origin_id": 101,
"origin_slot": 0,
"target_id": 92,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 168,
"origin_id": 97,
"origin_slot": 0,
"target_id": 92,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 173,
"origin_id": 87,
"origin_slot": 0,
"target_id": 94,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 169,
"origin_id": 96,
"origin_slot": 0,
"target_id": 94,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 174,
"origin_id": 87,
"origin_slot": 0,
"target_id": 95,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 176,
"origin_id": 89,
"origin_slot": 0,
"target_id": 97,
"target_slot": 1,
"type": "VAE"
},
{
"id": 170,
"origin_id": 95,
"origin_slot": 0,
"target_id": 101,
"target_slot": 0,
"type": "SIGMAS"
},
{
"id": 171,
"origin_id": 92,
"origin_slot": 0,
"target_id": 98,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 177,
"origin_id": 89,
"origin_slot": 0,
"target_id": 98,
"target_slot": 1,
"type": "VAE"
},
{
"id": 172,
"origin_id": 98,
"origin_slot": 0,
"target_id": 99,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 175,
"origin_id": -10,
"origin_slot": 0,
"target_id": 97,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 179,
"origin_id": 99,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 182,
"origin_id": 99,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 183,
"origin_id": -10,
"origin_slot": 1,
"target_id": 89,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 184,
"origin_id": -10,
"origin_slot": 2,
"target_id": 87,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 185,
"origin_id": -10,
"origin_slot": 3,
"target_id": 101,
"target_slot": 1,
"type": "FLOAT"
},
{
"id": 186,
"origin_id": -10,
"origin_slot": 4,
"target_id": 100,
"target_slot": 0,
"type": "COMBO"
}
],
"extra": {}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 1.143471730470958,
"offset": [
272.78316057387894,
-25.534779791767107
]
},
"frontendVersion": "1.26.7"
},
"version": 0.4
}