refcontrol-FLUX.2-klein-9B-reference-normal-lora / refcontrol_normal_flux_klein_9b.json
thedeoxen's picture
Initial upload: RefControl normal LoRA for FLUX.2 Klein 9B
0fec799 verified
Raw
History Blame Contribute Delete
61.8 kB
{
"id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e",
"revision": 0,
"last_node_id": 151,
"last_link_id": 268,
"nodes": [
{
"id": 97,
"type": "MarkdownNote",
"pos": [
-769.6994106988898,
979.5368506236221
],
"size": [
610,
650
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"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📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── 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": 94,
"type": "SaveImage",
"pos": [
807.772177302948,
1008.8018272469205
],
"size": [
416.6666666666667,
315.75757575757615
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 253
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "SaveImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Flux2-Klein-4b-base"
]
},
{
"id": 145,
"type": "MarkdownNote",
"pos": [
220.6602030809772,
848.0740813036571
],
"size": [
259.96826797167796,
88
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"You can disable the normal\n\nif input already pose isage"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 151,
"type": "DSINE-NormalMapPreprocessor",
"pos": [
206.70681515569908,
996.6728567635879
],
"size": [
270,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 267
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
268
]
}
],
"properties": {
"cnr_id": "comfyui_controlnet_aux",
"ver": "1.1.3",
"Node name for S&R": "DSINE-NormalMapPreprocessor"
},
"widgets_values": [
60,
5,
512
]
},
{
"id": 144,
"type": "571d168d-aafd-4642-bd5c-4d2c80cd000e",
"pos": [
548.7994387442088,
1013.1694935693298
],
"size": [
210,
214
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"label": "normal",
"name": "image",
"type": "IMAGE",
"link": 268
},
{
"label": "reference",
"name": "image_1",
"type": "IMAGE",
"link": 257
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
253
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"133",
"text"
]
],
"cnr_id": "comfy-core",
"ver": "0.11.0"
},
"widgets_values": [
"refcontrol"
]
},
{
"id": 119,
"type": "LoadImage",
"pos": [
-128.82504717935961,
995.5068917944233
],
"size": [
282.798828125,
314.0000000000001
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
267
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load normal Image",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"Gemini_Generated_Image_r714vnr714vnr714 (1).png",
"image"
]
},
{
"id": 81,
"type": "LoadImage",
"pos": [
-123.83343078701654,
1356.9324832882699
],
"size": [
320,
476.6666666666667
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
257
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"title": "Load REFERENCE Image",
"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
},
"widgets_values": [
"48ddeb78-99ae-49b0-83ae-cc9dcd223bae.png",
"image"
]
}
],
"links": [
[
253,
144,
0,
94,
0,
"IMAGE"
],
[
257,
81,
0,
144,
1,
"IMAGE"
],
[
267,
119,
0,
151,
0,
"IMAGE"
],
[
268,
151,
0,
144,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "27eacb9f-0da2-421d-a0bf-b4b4e5fe5709",
"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",
"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",
"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",
"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"
}
},
{
"id": "93041a64-452a-477a-9447-40330b7c1136",
"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",
"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",
"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",
"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"
}
},
{
"id": "571d168d-aafd-4642-bd5c-4d2c80cd000e",
"version": 1,
"state": {
"lastGroupId": 3,
"lastNodeId": 143,
"lastLinkId": 253,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "New Subgraph",
"inputNode": {
"id": -10,
"bounding": [
399.8839351830252,
1064.1644259983418,
120,
100
]
},
"outputNode": {
"id": -20,
"bounding": [
2345.2172083339224,
1074.1644259983418,
120,
60
]
},
"inputs": [
{
"id": "e6af832a-661d-41b6-906f-ade8a5344e7a",
"name": "image",
"type": "IMAGE",
"linkIds": [
252
],
"localized_name": "image",
"label": "normal",
"pos": [
499.8839351830252,
1084.1644259983418
]
},
{
"id": "a478f2b3-a7c6-4a98-941f-3e525ccd1228",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
253
],
"localized_name": "image_1",
"label": "reference",
"pos": [
499.8839351830252,
1104.1644259983418
]
},
{
"id": "42733546-041f-49de-a0ad-221f2340160b",
"name": "text",
"type": "STRING",
"linkIds": [
251
],
"pos": [
499.8839351830252,
1124.1644259983418
]
}
],
"outputs": [
{
"id": "41c616ad-8e58-4c6b-9457-c6cdc3fab027",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
250
],
"localized_name": "IMAGE",
"pos": [
2365.2172083339224,
1094.1644259983418
]
}
],
"widgets": [],
"nodes": [
{
"id": 126,
"type": "KSamplerSelect",
"pos": [
1511.217020344422,
1001.1023316913781
],
"size": [
270,
58
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
224
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "KSamplerSelect",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"euler"
]
},
{
"id": 127,
"type": "SamplerCustomAdvanced",
"pos": [
1811.2171919890384,
781.1023377309343
],
"size": [
212.3638671875,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 222
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 223
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 224
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 225
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 226
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
244
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "SamplerCustomAdvanced",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 128,
"type": "RandomNoise",
"pos": [
1511.217020344422,
741.1024321003408
],
"size": [
270,
82
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
222
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "RandomNoise",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1061619242743380,
"randomize"
]
},
{
"id": 129,
"type": "VAELoader",
"pos": [
585.2172189836012,
1080.9356403480376
],
"size": [
364.42708333333337,
58
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
239,
243,
245
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAELoader",
"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": 131,
"type": "EmptyFlux2LatentImage",
"pos": [
1519.8839351830256,
1462.2690770319302
],
"size": [
270,
106
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 228
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 229
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
226
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "EmptyFlux2LatentImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 132,
"type": "CLIPLoader",
"pos": [
585.217215244591,
910.9357348191909
],
"size": [
364.42708333333337,
106
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
230,
246
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPLoader",
"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_fp8mixed.safetensors",
"flux2",
"default"
]
},
{
"id": 133,
"type": "CLIPTextEncode",
"pos": [
1019.8839351830248,
1122.2690770319302
],
"size": [
420,
88
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 230
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
241
]
}
],
"title": "CLIP Text Encode ( Negative Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.9.1",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
""
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 134,
"type": "CFGGuider",
"pos": [
1511.217020344422,
861.1023688459127
],
"size": [
270,
98
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 231
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 232
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 233
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
223
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CFGGuider",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
5
]
},
{
"id": 135,
"type": "Flux2Scheduler",
"pos": [
1511.217020344422,
1101.1022423370557
],
"size": [
270,
106
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 234
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 235
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
225
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "Flux2Scheduler",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
20,
1024,
1024
]
},
{
"id": 136,
"type": "UNETLoader",
"pos": [
585.217215244591,
760.9357886489083
],
"size": [
364.42708333333337,
82
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
247
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "UNETLoader",
"models": [
{
"name": "flux-2-klein-base-9b-fp8.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-base-9b-fp8/resolve/main/flux-2-klein-base-9b-fp8.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux-2-klein-base-9b-fp8.safetensors",
"default"
]
},
{
"id": 138,
"type": "93041a64-452a-477a-9447-40330b7c1136",
"pos": [
1042.453934942631,
1564.3078275427686
],
"size": [
240,
86
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"label": "positive",
"name": "conditioning",
"type": "CONDITIONING",
"link": 236
},
{
"label": "negative",
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 237
},
{
"name": "pixels",
"type": "IMAGE",
"link": 238
},
{
"name": "vae",
"type": "VAE",
"link": 239
}
],
"outputs": [
{
"label": "positive",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
232
]
},
{
"label": "negative",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"links": [
233
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 140,
"type": "VAEDecode",
"pos": [
2065.2172083339224,
711.1024295927987
],
"size": [
220,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 244
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 245
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
250
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 142,
"type": "CLIPTextEncode",
"pos": [
1015.2169253936196,
761.1024082844503
],
"size": [
440,
320
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 246
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 251
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
240
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"refcontrol"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 130,
"type": "GetImageSize",
"pos": [
1319.8839351830256,
1332.2690770319302
],
"size": [
187.5,
124
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 227
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
228,
234
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
229,
235
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": []
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "GetImageSize",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 139,
"type": "27eacb9f-0da2-421d-a0bf-b4b4e5fe5709",
"pos": [
994.7877712237909,
1401.7239470466188
],
"size": [
240,
86
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"label": "positive",
"name": "conditioning",
"type": "CONDITIONING",
"link": 240
},
{
"label": "negative",
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 241
},
{
"name": "pixels",
"type": "IMAGE",
"link": 242
},
{
"name": "vae",
"type": "VAE",
"link": 243
}
],
"outputs": [
{
"label": "positive",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
236
]
},
{
"label": "negative",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"links": [
237
]
}
],
"properties": {
"proxyWidgets": [],
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 141,
"type": "ImageScaleToTotalPixels",
"pos": [
621.9692112687457,
1323.3147745993779
],
"size": [
270,
106
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 252
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
227,
242
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 137,
"type": "ImageScaleToTotalPixels",
"pos": [
589.8839351830252,
1602.2690770319302
],
"size": [
270,
106
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 253
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
238
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 143,
"type": "LoraLoaderModelOnly",
"pos": [
1086.8219408251277,
530.0597749647536
],
"size": [
270,
82
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 247
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
231
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.11.0",
"Node name for S&R": "LoraLoaderModelOnly"
},
"widgets_values": [
"flux2_klein_9b_refcontrol_normal.safetensors",
1
]
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
579.8839351830252,
672.2690770319305,
380,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
999.8839351830248,
672.2690770319305,
470,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Sampler",
"bounding": [
1509.8839351830256,
672.2690770319305,
532.3638671875,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 222,
"origin_id": 128,
"origin_slot": 0,
"target_id": 127,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 223,
"origin_id": 134,
"origin_slot": 0,
"target_id": 127,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 224,
"origin_id": 126,
"origin_slot": 0,
"target_id": 127,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 225,
"origin_id": 135,
"origin_slot": 0,
"target_id": 127,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 226,
"origin_id": 131,
"origin_slot": 0,
"target_id": 127,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 227,
"origin_id": 141,
"origin_slot": 0,
"target_id": 130,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 228,
"origin_id": 130,
"origin_slot": 0,
"target_id": 131,
"target_slot": 0,
"type": "INT"
},
{
"id": 229,
"origin_id": 130,
"origin_slot": 1,
"target_id": 131,
"target_slot": 1,
"type": "INT"
},
{
"id": 230,
"origin_id": 132,
"origin_slot": 0,
"target_id": 133,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 231,
"origin_id": 143,
"origin_slot": 0,
"target_id": 134,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 232,
"origin_id": 138,
"origin_slot": 0,
"target_id": 134,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 233,
"origin_id": 138,
"origin_slot": 1,
"target_id": 134,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 234,
"origin_id": 130,
"origin_slot": 0,
"target_id": 135,
"target_slot": 0,
"type": "INT"
},
{
"id": 235,
"origin_id": 130,
"origin_slot": 1,
"target_id": 135,
"target_slot": 1,
"type": "INT"
},
{
"id": 236,
"origin_id": 139,
"origin_slot": 0,
"target_id": 138,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 237,
"origin_id": 139,
"origin_slot": 1,
"target_id": 138,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 238,
"origin_id": 137,
"origin_slot": 0,
"target_id": 138,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 239,
"origin_id": 129,
"origin_slot": 0,
"target_id": 138,
"target_slot": 3,
"type": "VAE"
},
{
"id": 240,
"origin_id": 142,
"origin_slot": 0,
"target_id": 139,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 241,
"origin_id": 133,
"origin_slot": 0,
"target_id": 139,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 242,
"origin_id": 141,
"origin_slot": 0,
"target_id": 139,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 243,
"origin_id": 129,
"origin_slot": 0,
"target_id": 139,
"target_slot": 3,
"type": "VAE"
},
{
"id": 244,
"origin_id": 127,
"origin_slot": 0,
"target_id": 140,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 245,
"origin_id": 129,
"origin_slot": 0,
"target_id": 140,
"target_slot": 1,
"type": "VAE"
},
{
"id": 246,
"origin_id": 132,
"origin_slot": 0,
"target_id": 142,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 247,
"origin_id": 136,
"origin_slot": 0,
"target_id": 143,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 250,
"origin_id": 140,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 251,
"origin_id": -10,
"origin_slot": 2,
"target_id": 142,
"target_slot": 1,
"type": "STRING"
},
{
"id": 252,
"origin_id": -10,
"origin_slot": 0,
"target_id": 141,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 253,
"origin_id": -10,
"origin_slot": 1,
"target_id": 137,
"target_slot": 0,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"frontendVersion": "1.37.11",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 1.0884478165922278,
"offset": [
725.6726874290025,
-831.4912902928828
]
}
},
"version": 0.4
}