ComfyUI / workflows /faceswapnew-klein-cropstitch.json
aleph65's picture
Add faceswapnew-* head-swap experiment workflows (klein quickwins/nolora/base/res2s/cropstitch, qwen2511 bfsv5/lightning8) + research notes
690ad30 verified
Raw
History Blame Contribute Delete
74.1 kB
{
"id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e",
"revision": 0,
"last_node_id": 202,
"last_link_id": 326,
"nodes": [
{
"id": 99,
"type": "MarkdownNote",
"pos": [
490,
690
],
"size": [
210,
88
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Click on the top-right corner of the node to open the [subgraph](https://docs.comfy.org/interface/features/subgraph) \n\ud83d\udc47"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 97,
"type": "MarkdownNote",
"pos": [
-750,
830
],
"size": [
610,
650
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8)\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n\ud83d\udcc2 ComfyUI/\n\u251c\u2500\u2500 \ud83d\udcc2 models/\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 text_encoders/\n\u2502 \u2502 \u2514\u2500\u2500 qwen_3_8b_fp8mixed.safetensors\n\u2502 \u2514\u2500\u2500 \ud83d\udcc2 vae/\n\u2502 \u2514\u2500\u2500 flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 111,
"type": "VAELoader",
"pos": [
369.76713102266166,
3563.7500284440807
],
"size": [
364.42708333333337,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
198,
202,
217
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAELoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"models": [
{
"name": "flux2-vae.safetensors",
"url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux2-vae.safetensors"
]
},
{
"id": 116,
"type": "5eb5cfa6-f140-40b7-bc6f-9477d677f888",
"pos": [
804.4338472220857,
3835.0834651279733
],
"size": [
240,
86
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"label": "positive",
"name": "conditioning",
"type": "CONDITIONING",
"link": 199
},
{
"label": "negative",
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 200
},
{
"name": "pixels",
"type": "IMAGE",
"link": 201
},
{
"name": "vae",
"type": "VAE",
"link": 202
}
],
"outputs": [
{
"label": "positive",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
195
]
},
{
"label": "negative",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"links": [
196
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 115,
"type": "CLIPLoader",
"pos": [
369.76712728365146,
3393.750122915234
],
"size": [
364.42708333333337,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
203,
204
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"models": [
{
"name": "qwen_3_8b_fp8mixed.safetensors",
"url": "https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"qwen_3_8b.safetensors",
"flux2",
"default"
]
},
{
"id": 123,
"type": "CFGGuider",
"pos": [
1295.766932383482,
3343.9167569419556
],
"size": [
270,
98
],
"flags": {},
"order": 31,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 207
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 208
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 209
}
],
"outputs": [
{
"name": "GUIDER",
"type": "GUIDER",
"links": [
188
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CFGGuider",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1.0
]
},
{
"id": 120,
"type": "ResizeImageMaskNode",
"pos": [
372.5967713992208,
3831.888921803501
],
"size": [
284.375,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 221
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "ResizeImageMaskNode",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"scale total pixels",
1.0,
"lanczos"
]
},
{
"id": 121,
"type": "ResizeImageMaskNode",
"pos": [
382.2530441635739,
4003.350673129131
],
"size": [
284.375,
106
],
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "input",
"type": "IMAGE,MASK",
"link": 318
}
],
"outputs": [
{
"name": "resized",
"type": "IMAGE",
"links": [
197,
308
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "ResizeImageMaskNode",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"scale total pixels",
1.0,
"lanczos"
]
},
{
"id": 118,
"type": "UNETLoader",
"pos": [
369.76712728365146,
3243.750176744951
],
"size": [
364.42708333333337,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
312
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "UNETLoader",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux-2-klein-9b.safetensors",
"default"
]
},
{
"id": 122,
"type": "Flux2Scheduler",
"pos": [
1276.9398129623294,
3587.7263081493907
],
"size": [
317.6727061509084,
110.76727061509109
],
"flags": {},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 205
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 206
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
310
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "Flux2Scheduler",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
5,
1280,
1280
]
},
{
"id": 125,
"type": "KSamplerSelect",
"pos": [
1288.0706137647162,
3493.537118060878
],
"size": [
270,
58
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
189
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "KSamplerSelect",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"euler"
]
},
{
"id": 172,
"type": "ImageResizeKJv2",
"pos": [
-29.39461811323457,
2645.8665635593456
],
"size": [
270,
336
],
"flags": {},
"order": 16,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 290
},
{
"name": "mask",
"shape": 7,
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
291
]
},
{
"name": "width",
"type": "INT",
"links": null
},
{
"name": "height",
"type": "INT",
"links": null
},
{
"name": "mask",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "93a4fba44c1635a716dc262f157a7ded7d716f3a",
"Node name for S&R": "ImageResizeKJv2",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
512,
512,
"lanczos",
"resize",
"0, 0, 0",
"center",
2,
"cpu"
]
},
{
"id": 169,
"type": "ShowText|pysssss",
"pos": [
783.9354167990583,
2619.962163330123
],
"size": [
259.72441345342133,
211.21816107680525
],
"flags": {},
"order": 26,
"mode": 4,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 287
}
],
"outputs": [
{
"name": "STRING",
"shape": 6,
"type": "STRING",
"links": null
}
],
"properties": {
"cnr_id": "comfyui-custom-scripts",
"ver": "1.2.5",
"Node name for S&R": "ShowText|pysssss",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"The man has a focused, intense, and slightly defiant facial expression.\n\nKey features:\n- His eyes are wide open and staring directly at the camera with an unblinking gaze.\n- His eyebrows are raised slightly, contributing to an alert or challenging look.\n- His mouth is set in a firm line; it's not smiling but rather held tight, suggesting concentration or determination.\n- There\u2019s visible tension around his jawline and cheekbones, indicating he's exerting effort while skateboarding.\n- A cigarette rests between his lips, adding a casual yet rebellious element to his demeanor.\n\nOverall, this isn't a relaxed or happy expression\u2014it conveys energy, focus, and perhaps a bit of edgy confidence as he rides down the street. The direct eye contact creates a sense of connection and intensity with the viewer."
]
},
{
"id": 168,
"type": "AILab_QwenVL",
"pos": [
274.03553021447294,
2653.077252632602
],
"size": [
340,
300
],
"flags": {},
"order": 22,
"mode": 4,
"inputs": [
{
"name": "image",
"shape": 7,
"type": "IMAGE",
"link": 291
},
{
"name": "video",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "RESPONSE",
"type": "STRING",
"links": [
287,
288
]
}
],
"properties": {
"cnr_id": "comfyui-qwenvl",
"ver": "2.0.0",
"Node name for S&R": "AILab_QwenVL",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"Qwen3-VL-4B-Instruct",
"None (FP16)",
"sdpa",
"\ud83d\uddbc\ufe0f Tags",
"Describe the facial expression.",
512,
false,
2302131607,
"fixed"
],
"color": "#28403f",
"bgcolor": "#374539"
},
{
"id": 110,
"type": "RandomNoise",
"pos": [
1295.766932383482,
3223.9168201963835
],
"size": [
270,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "NOISE",
"type": "NOISE",
"links": [
187
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "RandomNoise",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
42,
"fixed"
]
},
{
"id": 119,
"type": "CLIPTextEncode",
"pos": [
804.4338472220857,
3605.0834651279733
],
"size": [
420,
88
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 204
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
200
]
}
],
"title": "CLIP Text Encode ( Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.1",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"bad quality, noise, blurry, worst quality, low resolution, blur, distortion, unnatural blending, cartoon, illustration, painting"
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 133,
"type": "LoraLoaderModelOnly",
"pos": [
789.6756557041925,
3046.73243046243
],
"size": [
431.1349752832102,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 312
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
320
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "LoraLoaderModelOnly",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"flux2/klein/bfs_head_v1_flux-klein_9b_step3500_rank128.safetensors",
1
]
},
{
"id": 117,
"type": "CLIPTextEncode",
"pos": [
799.4095992598294,
3233.6667865601667
],
"size": [
440,
320
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 203
},
{
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 321
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
199
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPTextEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2, strictly preserving the hair, eye color, nose structure of Picture 2. copy the direction of the eye, head rotation, micro expressions from Picture 1, high quality, sharp details, 4k."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 171,
"type": "StringConcatenate",
"pos": [
1128.3045132913117,
2657.1175393967665
],
"size": [
400,
200
],
"flags": {},
"order": 27,
"mode": 4,
"inputs": [
{
"name": "string_b",
"type": "STRING",
"widget": {
"name": "string_b"
},
"link": 288
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
313,
321
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "StringConcatenate",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"head_swap: start with Picture 1 as the base image, keeping its lighting, environment, and background. remove the head from Picture 1 completely and replace it with the head from Picture 2, strictly preserving the hair, eye color, nose structure of Picture 2. copy the direction of the eye, head rotation, micro expressions from Picture 1, high quality, sharp details, 4k.",
"",
"\n\n"
]
},
{
"id": 181,
"type": "Reroute",
"pos": [
642.2838381851489,
3122.818291363274
],
"size": [
75,
26
],
"flags": {},
"order": 30,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 313
}
],
"outputs": [
{
"name": "",
"type": "STRING",
"links": null
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
}
},
{
"id": 114,
"type": "6e5070f7-26e8-4a9a-ae4d-5d3fc1c591af",
"pos": [
792.6348524497367,
4029.533494170478
],
"size": [
240,
86
],
"flags": {},
"order": 28,
"mode": 0,
"inputs": [
{
"label": "positive",
"name": "conditioning",
"type": "CONDITIONING",
"link": 195
},
{
"label": "negative",
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 196
},
{
"name": "pixels",
"type": "IMAGE",
"link": 197
},
{
"name": "vae",
"type": "VAE",
"link": 198
}
],
"outputs": [
{
"label": "positive",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
208
]
},
{
"label": "negative",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"links": [
209
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 163,
"type": "SaveImage",
"pos": [
2323.422946431911,
3217.243346818467
],
"size": [
270,
270
],
"flags": {},
"order": 34,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 285
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"faceswapnew-klein-cropstitch"
]
},
{
"id": 176,
"type": "ImageConcanate",
"pos": [
1974.1064761767686,
3849.568646166478
],
"size": [
270,
102
],
"flags": {},
"order": 29,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 307
},
{
"name": "image2",
"type": "IMAGE",
"link": 308
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
304
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "93a4fba44c1635a716dc262f157a7ded7d716f3a",
"Node name for S&R": "ImageConcanate",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"down",
true
]
},
{
"id": 177,
"type": "ImageConcanate",
"pos": [
2392.464606028409,
3848.014948438479
],
"size": [
270,
102
],
"flags": {},
"order": 35,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 304
},
{
"name": "image2",
"type": "IMAGE",
"link": 305
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
306
]
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "93a4fba44c1635a716dc262f157a7ded7d716f3a",
"Node name for S&R": "ImageConcanate",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"right",
true
]
},
{
"id": 178,
"type": "PreviewImage",
"pos": [
2812.756689716459,
3777.7268395291826
],
"size": [
140,
246
],
"flags": {},
"order": 36,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 306
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": []
},
{
"id": 131,
"type": "VAEDecode",
"pos": [
1886.2363711149524,
3305.2440041643285
],
"size": [
220,
46
],
"flags": {},
"order": 33,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 216
},
{
"name": "vae",
"type": "VAE",
"link": 217
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
305,
325
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAEDecode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 76,
"type": "LoadImage",
"pos": [
-248.47780094574466,
3116.260569394397
],
"size": [
320,
470
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
221,
290,
322,
323
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Body Reference",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"body.jpg",
"image"
]
},
{
"id": 124,
"type": "BasicScheduler",
"pos": [
1345.1141816695176,
3759.2167652502694
],
"size": [
270,
106
],
"flags": {},
"order": 19,
"mode": 4,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 271
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "BasicScheduler",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"bong_tangent",
4,
1
]
},
{
"id": 112,
"type": "GetImageSize",
"pos": [
1088.570754250372,
3935.6429717129963
],
"size": [
187.5,
124
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 192
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
193,
205
]
},
{
"name": "height",
"type": "INT",
"links": [
194,
206
]
},
{
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "GetImageSize",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 113,
"type": "EmptyFlux2LatentImage",
"pos": [
1334.1394035303103,
3942.242624381234
],
"size": [
270,
106
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 193
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 194
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
191
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "EmptyFlux2LatentImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 109,
"type": "SamplerCustomAdvanced",
"pos": [
1621.1480527828392,
3268.675653718491
],
"size": [
212.3638671875,
395.1720377604167
],
"flags": {},
"order": 32,
"mode": 0,
"inputs": [
{
"name": "noise",
"type": "NOISE",
"link": 187
},
{
"name": "guider",
"type": "GUIDER",
"link": 188
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 189
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 310
},
{
"name": "latent_image",
"type": "LATENT",
"link": 191
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
216
]
},
{
"name": "denoised_output",
"type": "LATENT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "SamplerCustomAdvanced",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 186,
"type": "MarkdownNote",
"pos": [
-910.4948154707993,
3809.248944551527
],
"size": [
610,
650
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Markdown Note 4b",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**text_encoders**\n\n- [qwen_3_4b.safetensors](https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors)\n\n**diffusion_models**\n\n- [lux-2-klein-base-4b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4b-fp8/resolve/main/flux-2-klein-base-4b-fp8.safetensors)(CFG: 5.0, Steps: 20/30/50...)\n\n- [lux-2-klein-4b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-4b-fp8/blob/main/flux-2-klein-4b-fp8.safetensors)(CFG: 1.0, Steps: 4...)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n\ud83d\udcc2 ComfyUI/\n\u251c\u2500\u2500 \ud83d\udcc2 models/\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 text_encoders/\n\u2502 \u2502 \u2514\u2500\u2500 qwen_3_4b.safetensors\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 diffusion_models/\n\u2502 \u2502 \u2514\u2500\u2500 lux-2-klein-base-4b-fp8.safetensors\n\u2502 \u2514\u2500\u2500 \ud83d\udcc2 vae/\n\u2502 \u2514\u2500\u2500 flux2-vae.safetensors\n```\n\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare the required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n\n"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 184,
"type": "MarkdownNote",
"pos": [
-907.2444036877835,
3091.9914110992695
],
"size": [
610,
650
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Markdown Note 9b",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-base-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8) (CFG 5.0, Steps: 20/30/50..)\n- [flux-2-klein-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8) (CFG 1.0, Steps: 4..)\n\n\n> Please visit BFL's repo, accept the agreement in the repo, and then download the fp8 model.\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n\ud83d\udcc2 ComfyUI/\n\u251c\u2500\u2500 \ud83d\udcc2 models/\n\u2502 \u251c\u2500\u2500 \ud83d\udcc2 text_encoders/\n\u2502 \u2502 \u2514\u2500\u2500 qwen_3_8b_fp8mixed.safetensors\n\u2502 \u2514\u2500\u2500 \ud83d\udcc2 vae/\n\u2502 \u2514\u2500\u2500 flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 81,
"type": "LoadImage",
"pos": [
-236.06351544032262,
3731.3318861681373
],
"size": [
320,
476.6666666666667
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
277,
317
]
},
{
"name": "MASK",
"type": "MASK",
"links": [
314
]
}
],
"title": "Face Reference",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"image": "clipspace/clipspace-painted-masked-1768744191181.png [input]"
},
"widgets_values": [
"face.jpg",
"image"
]
},
{
"id": 160,
"type": "ImageCropByMask",
"pos": [
193.37415987077623,
4242.049091418084
],
"size": [
177.1861328125,
46
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 277
},
{
"name": "mask",
"type": "MASK",
"link": 314
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": []
}
],
"properties": {
"cnr_id": "comfyui-kjnodes",
"ver": "93a4fba44c1635a716dc262f157a7ded7d716f3a",
"Node name for S&R": "ImageCropByMask",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": []
},
{
"id": 187,
"type": "RMBG",
"pos": [
446.17211572971297,
4210.581660100933
],
"size": [
340,
302
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 317
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
318
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": null
}
],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
},
"cnr_id": "comfyui-rmbg",
"ver": "2.9.5",
"Node name for S&R": "RMBG"
},
"widgets_values": [
"RMBG-2.0",
1,
1024,
0,
0,
false,
false,
"Alpha",
"#222222"
],
"color": "#222e40",
"bgcolor": "#364254"
},
{
"id": 189,
"type": "Note",
"pos": [
-20.296820503269263,
2508.166190461272
],
"size": [
368.06224828212055,
88
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Automatic caption of facial expression to concatenate in the prompt if you want."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 190,
"type": "LoraLoaderModelOnly",
"pos": [
789.6756557041925,
3176.73243046243
],
"size": [
431.1349752832102,
82
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 320
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
207,
271
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.2",
"Node name for S&R": "LoraLoaderModelOnly",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.5.1"
}
},
"widgets_values": [
"lissie_flux2_klein.safetensors",
0.6
],
"title": "Lissie lora"
},
{
"id": 200,
"type": "FaceSegment",
"pos": [
-1400,
900
],
"size": [
315,
200
],
"flags": {},
"order": 38,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 322
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": []
},
{
"name": "MASK",
"type": "MASK",
"links": [
324
]
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": []
}
],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
},
"cnr_id": "comfyui-rmbg",
"ver": "2.9.5",
"Node name for S&R": "FaceSegment"
},
"widgets_values": [
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
true,
false,
true,
1024,
0,
0,
false,
"Alpha",
"#222222"
]
},
{
"id": 201,
"type": "InpaintCropImproved",
"pos": [
-1100,
900
],
"size": [
315,
200
],
"flags": {},
"order": 39,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 323
},
{
"name": "mask",
"type": "MASK",
"link": 324
},
{
"name": "optional_context_mask",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "stitcher",
"type": "STITCHER",
"links": [
326
]
},
{
"name": "cropped_image",
"type": "IMAGE",
"links": [
192,
201,
307
]
},
{
"name": "cropped_mask",
"type": "MASK",
"links": []
}
],
"properties": {
"Node name for S&R": "InpaintCropImproved",
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.0.0"
},
"widgets_values": [
"lanczos",
"lanczos",
false,
"ensure minimum resolution",
1024,
1024,
16384,
16384,
true,
40,
false,
32,
0.1,
false,
1.0,
1.0,
1.0,
1.0,
1.5,
true,
1024,
1024,
"32",
"gpu (much faster)"
]
},
{
"id": 202,
"type": "InpaintStitchImproved",
"pos": [
1500,
700
],
"size": [
315,
200
],
"flags": {},
"order": 40,
"mode": 0,
"inputs": [
{
"name": "stitcher",
"type": "STITCHER",
"link": 326
},
{
"name": "inpainted_image",
"type": "IMAGE",
"link": 325
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
285
]
}
],
"properties": {
"Node name for S&R": "InpaintStitchImproved",
"cnr_id": "comfyui-inpaint-cropandstitch",
"ver": "2.0.0"
},
"widgets_values": []
}
],
"links": [
[
187,
110,
0,
109,
0,
"NOISE"
],
[
188,
123,
0,
109,
1,
"GUIDER"
],
[
189,
125,
0,
109,
2,
"SAMPLER"
],
[
191,
113,
0,
109,
4,
"LATENT"
],
[
192,
201,
1,
112,
0,
"IMAGE"
],
[
193,
112,
0,
113,
0,
"INT"
],
[
194,
112,
1,
113,
1,
"INT"
],
[
195,
116,
0,
114,
0,
"CONDITIONING"
],
[
196,
116,
1,
114,
1,
"CONDITIONING"
],
[
197,
121,
0,
114,
2,
"IMAGE"
],
[
198,
111,
0,
114,
3,
"VAE"
],
[
199,
117,
0,
116,
0,
"CONDITIONING"
],
[
200,
119,
0,
116,
1,
"CONDITIONING"
],
[
201,
201,
1,
116,
2,
"IMAGE"
],
[
202,
111,
0,
116,
3,
"VAE"
],
[
203,
115,
0,
117,
0,
"CLIP"
],
[
204,
115,
0,
119,
0,
"CLIP"
],
[
205,
112,
0,
122,
0,
"INT"
],
[
206,
112,
1,
122,
1,
"INT"
],
[
207,
190,
0,
123,
0,
"MODEL"
],
[
208,
114,
0,
123,
1,
"CONDITIONING"
],
[
209,
114,
1,
123,
2,
"CONDITIONING"
],
[
216,
109,
0,
131,
0,
"LATENT"
],
[
217,
111,
0,
131,
1,
"VAE"
],
[
221,
76,
0,
120,
0,
"IMAGE"
],
[
271,
190,
0,
124,
0,
"MODEL"
],
[
277,
81,
0,
160,
0,
"IMAGE"
],
[
285,
202,
0,
163,
0,
"IMAGE"
],
[
287,
168,
0,
169,
0,
"STRING"
],
[
288,
168,
0,
171,
0,
"STRING"
],
[
290,
76,
0,
172,
0,
"IMAGE"
],
[
291,
172,
0,
168,
0,
"IMAGE"
],
[
304,
176,
0,
177,
0,
"IMAGE"
],
[
305,
131,
0,
177,
1,
"IMAGE"
],
[
306,
177,
0,
178,
0,
"IMAGE"
],
[
307,
201,
1,
176,
0,
"IMAGE"
],
[
308,
121,
0,
176,
1,
"IMAGE"
],
[
310,
122,
0,
109,
3,
"SIGMAS"
],
[
312,
118,
0,
133,
0,
"MODEL"
],
[
313,
171,
0,
181,
0,
"STRING"
],
[
314,
81,
1,
160,
1,
"MASK"
],
[
317,
81,
0,
187,
0,
"IMAGE"
],
[
318,
187,
0,
121,
0,
"IMAGE"
],
[
320,
133,
0,
190,
0,
"MODEL"
],
[
321,
171,
0,
117,
1,
"STRING"
],
[
322,
76,
0,
200,
0,
"IMAGE"
],
[
323,
76,
0,
201,
0,
"IMAGE"
],
[
324,
200,
1,
201,
1,
"MASK"
],
[
325,
131,
0,
202,
1,
"IMAGE"
],
[
326,
201,
0,
202,
0,
"STITCHER"
]
],
"groups": [
{
"id": 4,
"title": "Prompt",
"bounding": [
784.4338472220857,
3155.0834651279733,
470,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Sampler",
"bounding": [
1294.4338472220857,
3155.0834651279733,
532.3638671875,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Models",
"bounding": [
364.43384722208566,
3155.0834651279733,
380,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "6e5070f7-26e8-4a9a-ae4d-5d3fc1c591af",
"version": 1,
"state": {
"lastGroupId": 4,
"lastNodeId": 78,
"lastLinkId": 170,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Reference Conditioning",
"inputNode": {
"id": -10,
"bounding": [
-270,
990,
120,
120
]
},
"outputNode": {
"id": -20,
"bounding": [
580,
970,
120,
80
]
},
"inputs": [
{
"id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
"name": "conditioning",
"type": "CONDITIONING",
"linkIds": [
165
],
"label": "positive",
"pos": [
-170,
1010
]
},
{
"id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
"name": "conditioning_1",
"type": "CONDITIONING",
"linkIds": [
166
],
"label": "negative",
"pos": [
-170,
1030
]
},
{
"id": "345bf085-5939-47ff-9767-8f8f239a719c",
"name": "pixels",
"type": "IMAGE",
"linkIds": [
167
],
"pos": [
-170,
1050
]
},
{
"id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
"name": "vae",
"type": "VAE",
"linkIds": [
168
],
"pos": [
-170,
1070
]
}
],
"outputs": [
{
"id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
"name": "CONDITIONING",
"type": "CONDITIONING",
"linkIds": [
169
],
"label": "positive",
"pos": [
600,
990
]
},
{
"id": "01519713-2ed1-4694-a387-79f44e088e89",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"linkIds": [
170
],
"label": "negative",
"pos": [
600,
1010
]
}
],
"widgets": [],
"nodes": [
{
"id": 76,
"type": "ReferenceLatent",
"pos": [
170,
1050
],
"size": [
204.134765625,
46
],
"flags": {
"collapsed": false
},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 166
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 163
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
170
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ReferenceLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 78,
"type": "VAEEncode",
"pos": [
-90,
1150
],
"size": [
190,
46
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 167
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 168
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
163,
164
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAEEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 77,
"type": "ReferenceLatent",
"pos": [
170,
940
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 165
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 164
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
169
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ReferenceLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 163,
"origin_id": 78,
"origin_slot": 0,
"target_id": 76,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 164,
"origin_id": 78,
"origin_slot": 0,
"target_id": 77,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 165,
"origin_id": -10,
"origin_slot": 0,
"target_id": 77,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 166,
"origin_id": -10,
"origin_slot": 1,
"target_id": 76,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 167,
"origin_id": -10,
"origin_slot": 2,
"target_id": 78,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 168,
"origin_id": -10,
"origin_slot": 3,
"target_id": 78,
"target_slot": 1,
"type": "VAE"
},
{
"id": 169,
"origin_id": 77,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 170,
"origin_id": 76,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "CONDITIONING"
}
],
"extra": {
"workflowRendererVersion": "LG",
"ue_links": [],
"links_added_by_ue": []
}
},
{
"id": "5eb5cfa6-f140-40b7-bc6f-9477d677f888",
"version": 1,
"state": {
"lastGroupId": 4,
"lastNodeId": 78,
"lastLinkId": 170,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Reference Conditioning",
"inputNode": {
"id": -10,
"bounding": [
-270,
990,
120,
120
]
},
"outputNode": {
"id": -20,
"bounding": [
580,
970,
120,
80
]
},
"inputs": [
{
"id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
"name": "conditioning",
"type": "CONDITIONING",
"linkIds": [
165
],
"label": "positive",
"pos": [
-170,
1010
]
},
{
"id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
"name": "conditioning_1",
"type": "CONDITIONING",
"linkIds": [
166
],
"label": "negative",
"pos": [
-170,
1030
]
},
{
"id": "345bf085-5939-47ff-9767-8f8f239a719c",
"name": "pixels",
"type": "IMAGE",
"linkIds": [
167
],
"pos": [
-170,
1050
]
},
{
"id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
"name": "vae",
"type": "VAE",
"linkIds": [
168
],
"pos": [
-170,
1070
]
}
],
"outputs": [
{
"id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
"name": "CONDITIONING",
"type": "CONDITIONING",
"linkIds": [
169
],
"label": "positive",
"pos": [
600,
990
]
},
{
"id": "01519713-2ed1-4694-a387-79f44e088e89",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"linkIds": [
170
],
"label": "negative",
"pos": [
600,
1010
]
}
],
"widgets": [],
"nodes": [
{
"id": 76,
"type": "ReferenceLatent",
"pos": [
170,
1050
],
"size": [
204.134765625,
46
],
"flags": {
"collapsed": false
},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 166
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 163
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
170
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ReferenceLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 78,
"type": "VAEEncode",
"pos": [
-90,
1150
],
"size": [
190,
46
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 167
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 168
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
163,
164
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAEEncode",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 77,
"type": "ReferenceLatent",
"pos": [
170,
940
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 165
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 164
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
169
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ReferenceLatent",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.5.1",
"input_ue_unconnectable": {}
},
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 163,
"origin_id": 78,
"origin_slot": 0,
"target_id": 76,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 164,
"origin_id": 78,
"origin_slot": 0,
"target_id": 77,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 165,
"origin_id": -10,
"origin_slot": 0,
"target_id": 77,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 166,
"origin_id": -10,
"origin_slot": 1,
"target_id": 76,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 167,
"origin_id": -10,
"origin_slot": 2,
"target_id": 78,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 168,
"origin_id": -10,
"origin_slot": 3,
"target_id": 78,
"target_slot": 1,
"type": "VAE"
},
{
"id": 169,
"origin_id": 77,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 170,
"origin_id": 76,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "CONDITIONING"
}
],
"extra": {
"workflowRendererVersion": "LG",
"ue_links": [],
"links_added_by_ue": []
}
}
]
},
"config": {},
"extra": {
"frontendVersion": "1.36.14",
"workflowRendererVersion": "LG",
"VHS_latentpreview": true,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 0.6303940863128965,
"offset": [
1212.3015616198231,
-2077.175326031613
]
}
},
"version": 0.4
}