Files
comfyui-workflows/models/flux2klein/image-edit-9b-distilled/workflow.json
T

3854 lines
98 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "92112d97-bb64-4b44-86f2-ea5691ef8f6e",
"revision": 0,
"last_node_id": 150,
"last_link_id": 220,
"nodes": [
{
"id": 76,
"type": "LoadImage",
"pos": [
-80,
810
],
"size": [
319.984375,
409.984375
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
155,
169
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"bold_outfit_woman.jpeg",
"image"
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
870,
810
],
"size": [
379.984375,
409.984375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 154
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Flux2-Klein"
]
},
{
"id": 97,
"type": "MarkdownNote",
"pos": [
-600,
810
],
"size": [
479.984375,
909.984375
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## Model Links\n\n**diffusion_models**\n\n- [flux-2-klein-9b-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors)\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- [full_encoder_small_decoder.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── flux-2-klein-9b-fp8.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_8b_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── full_encoder_small_decoder.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\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": 75,
"type": "7b34ab90-36f9-45ba-a665-71d418f0df18",
"pos": [
340,
810
],
"size": [
399.984375,
409.984375
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"name": "image",
"type": "IMAGE",
"link": 155
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
154
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.7",
"input_ue_unconnectable": {}
},
"proxyWidgetErrorQuarantine": [
{
"originalEntry": [
"73",
"control_after_generate"
],
"reason": "missingSubgraphInput",
"attemptedAtVersion": 1
}
],
"previewExposures": []
},
"widgets_values": [
"flux-2-klein-9b-fp8mixed.safetensors",
"qwen_3_8b_fp8mixed.safetensors",
"full_encoder_small_decoder.safetensors",
"Replace the background with a quiet coastal cliff at overcast sunset. Remove all buildings and streets. Add wind-shaped grass and a distant ocean horizon. Keep the subjects pose and framing unchanged.",
26416064315367
]
},
{
"id": 122,
"type": "SaveImage",
"pos": [
900,
1430
],
"size": [
359.984375,
409.984375
],
"flags": {},
"order": 6,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 191
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.17.0",
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 121,
"type": "LoadImage",
"pos": [
-60,
1440
],
"size": [
319.984375,
409.984375
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
189
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"handbag_white.png",
"image"
]
},
{
"id": 92,
"type": "65c22b29-59aa-496b-89c6-55a603658670",
"pos": [
340,
1430
],
"size": [
399.984375,
409.984375
],
"flags": {},
"order": 4,
"mode": 4,
"inputs": [
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"label": "reference_image1",
"name": "image",
"type": "IMAGE",
"link": 169
},
{
"label": "reference_image2",
"name": "image_1",
"type": "IMAGE",
"link": 189
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
191
]
}
],
"properties": {
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.7",
"input_ue_unconnectable": {}
},
"proxyWidgetErrorQuarantine": [
{
"originalEntry": [
"106",
"control_after_generate"
],
"reason": "missingSubgraphInput",
"attemptedAtVersion": 1
}
],
"previewExposures": []
},
"widgets_values": [
"flux-2-klein-9b-fp8mixed.safetensors",
"qwen_3_8b_fp8mixed.safetensors",
"full_encoder_small_decoder.safetensors",
"Let this character hold the bag with both hands",
583453753589969
]
}
],
"links": [
[
154,
75,
0,
9,
0,
"IMAGE"
],
[
155,
76,
0,
75,
1,
"IMAGE"
],
[
169,
76,
0,
92,
1,
"IMAGE"
],
[
189,
121,
0,
92,
2,
"IMAGE"
],
[
191,
92,
0,
122,
0,
"IMAGE"
]
],
"groups": [
{
"id": 3,
"title": "Multiple input exampleSelect all nodes then Ctrl-B to enable/disable",
"bounding": [
310,
1340,
991.6666666666667,
600
],
"color": "#3f789e",
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "7b34ab90-36f9-45ba-a665-71d418f0df18",
"version": 1,
"state": {
"lastGroupId": 7,
"lastNodeId": 150,
"lastLinkId": 220,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Klein 9B Distilled)",
"inputNode": {
"id": -10,
"bounding": [
-920,
540,
120,
140
]
},
"outputNode": {
"id": -20,
"bounding": [
1373.6666536013363,
549.0277780034634,
120,
60
]
},
"inputs": [
{
"id": "ae713dbf-52cb-471a-807d-b12fa9acbb48",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
159
],
"pos": [
-820,
560
]
},
{
"id": "f29f705e-e43a-4502-b231-a1eea93a1d69",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
160
],
"pos": [
-820,
580
]
},
{
"id": "a954f490-386b-4367-9ea1-1b65913963a5",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
161
],
"pos": [
-820,
600
]
},
{
"id": "7061147a-fb75-450d-8e97-c8be594a8e16",
"name": "text",
"type": "STRING",
"linkIds": [
162
],
"label": "prompt",
"pos": [
-820,
620
]
},
{
"id": "68629112-b7b0-41ce-8912-23adad00d3db",
"name": "image",
"type": "IMAGE",
"linkIds": [
175
],
"pos": [
-820,
640
]
},
{
"id": "28a1ca82-e413-4da8-9a02-10a5b8768b1d",
"name": "noise_seed",
"type": "INT",
"linkIds": [
219
],
"pos": [
0,
0
]
}
],
"outputs": [
{
"id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
153
],
"localized_name": "IMAGE",
"pos": [
1393.6666536013363,
569.0277780034634
]
}
],
"widgets": [],
"nodes": [
{
"id": 61,
"type": "KSamplerSelect",
"pos": [
540,
560
],
"size": [
270,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
144
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"euler"
]
},
{
"id": 64,
"type": "SamplerCustomAdvanced",
"pos": [
880,
200
],
"size": [
230,
170
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 142
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 143
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 144
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 145
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 146
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
147
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": []
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 65,
"type": "VAEDecode",
"pos": [
1220,
210
],
"size": [
230,
100
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 147
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 148
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
153
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 73,
"type": "RandomNoise",
"pos": [
540,
200
],
"size": [
270,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 219
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
26416064315367,
"randomize"
]
},
{
"id": 70,
"type": "UNETLoader",
"pos": [
-390,
200
],
"size": [
370,
110
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 159
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
139
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"models": [
{
"name": "flux-2-klein-9b-fp8.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors",
"directory": "diffusion_models"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"flux-2-klein-9b-fp8.safetensors",
"default"
]
},
{
"id": 71,
"type": "CLIPLoader",
"pos": [
-390,
440
],
"size": [
370,
150
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 160
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
151
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"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"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_3_8b_fp8mixed.safetensors",
"flux2",
"default"
]
},
{
"id": 66,
"type": "EmptyFlux2LatentImage",
"pos": [
830,
980
],
"size": [
270,
170
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 172
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 174
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
146
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 63,
"type": "CFGGuider",
"pos": [
540,
350
],
"size": [
270,
160
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 139
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 194
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 195
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CFGGuider",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1
]
},
{
"id": 62,
"type": "Flux2Scheduler",
"pos": [
540,
730
],
"size": [
270,
170
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 171
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 173
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
145
]
}
],
"properties": {
"Node name for S&R": "Flux2Scheduler",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
4,
1024,
1024
]
},
{
"id": 99,
"type": "GetImageSize",
"pos": [
530,
980
],
"size": [
230,
120
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 170
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
171,
172
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
173,
174
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 123,
"type": "ReferenceLatent",
"pos": [
250,
1150
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 200
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 192
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
195
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 80,
"type": "ImageScaleToTotalPixels",
"pos": [
-380,
1000
],
"size": [
270,
140
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 175
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
169,
170,
196
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 72,
"type": "VAELoader",
"pos": [
-390,
710
],
"size": [
370,
110
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 161
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
148,
176,
197
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"models": [
{
"name": "full_encoder_small_decoder.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors",
"directory": "vae"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"full_encoder_small_decoder.safetensors"
]
},
{
"id": 125,
"type": "ReferenceLatent",
"pos": [
250,
1010
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 199
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 193
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
194
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 74,
"type": "CLIPTextEncode",
"pos": [
30,
200
],
"size": [
450,
590
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 151
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 162
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
165,
177,
199
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Replace the background with a quiet coastal cliff at overcast sunset. Remove all buildings and streets. Add wind-shaped grass and a distant ocean horizon. Keep the subjects pose and framing unchanged."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 82,
"type": "ConditioningZeroOut",
"pos": [
250,
870
],
"size": [
230,
80
],
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 177
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
178,
200
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.9.1",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 124,
"type": "VAEEncode",
"pos": [
-30,
1070
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 196
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 197
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
192,
193
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-390,
120,
380,
780
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
20,
120,
470,
780
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Sampler",
"bounding": [
520,
120,
600,
790
],
"color": "#3f789e",
"flags": {}
},
{
"id": 7,
"title": "Image Reference",
"bounding": [
-390,
930,
880,
330
],
"color": "#3f789e",
"flags": {}
}
],
"links": [
{
"id": 139,
"origin_id": 70,
"origin_slot": 0,
"target_id": 63,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 142,
"origin_id": 73,
"origin_slot": 0,
"target_id": 64,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 143,
"origin_id": 63,
"origin_slot": 0,
"target_id": 64,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 144,
"origin_id": 61,
"origin_slot": 0,
"target_id": 64,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 145,
"origin_id": 62,
"origin_slot": 0,
"target_id": 64,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 146,
"origin_id": 66,
"origin_slot": 0,
"target_id": 64,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 147,
"origin_id": 64,
"origin_slot": 0,
"target_id": 65,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 148,
"origin_id": 72,
"origin_slot": 0,
"target_id": 65,
"target_slot": 1,
"type": "VAE"
},
{
"id": 151,
"origin_id": 71,
"origin_slot": 0,
"target_id": 74,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 153,
"origin_id": 65,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 159,
"origin_id": -10,
"origin_slot": 0,
"target_id": 70,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 160,
"origin_id": -10,
"origin_slot": 1,
"target_id": 71,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 161,
"origin_id": -10,
"origin_slot": 2,
"target_id": 72,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 162,
"origin_id": -10,
"origin_slot": 3,
"target_id": 74,
"target_slot": 1,
"type": "STRING"
},
{
"id": 165,
"origin_id": 74,
"origin_slot": 0,
"target_id": 79,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 169,
"origin_id": 80,
"origin_slot": 0,
"target_id": 79,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 170,
"origin_id": 80,
"origin_slot": 0,
"target_id": 99,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 171,
"origin_id": 99,
"origin_slot": 0,
"target_id": 62,
"target_slot": 0,
"type": "INT"
},
{
"id": 172,
"origin_id": 99,
"origin_slot": 0,
"target_id": 66,
"target_slot": 0,
"type": "INT"
},
{
"id": 173,
"origin_id": 99,
"origin_slot": 1,
"target_id": 62,
"target_slot": 1,
"type": "INT"
},
{
"id": 174,
"origin_id": 99,
"origin_slot": 1,
"target_id": 66,
"target_slot": 1,
"type": "INT"
},
{
"id": 175,
"origin_id": -10,
"origin_slot": 4,
"target_id": 80,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 176,
"origin_id": 72,
"origin_slot": 0,
"target_id": 79,
"target_slot": 3,
"type": "VAE"
},
{
"id": 177,
"origin_id": 74,
"origin_slot": 0,
"target_id": 82,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 178,
"origin_id": 82,
"origin_slot": 0,
"target_id": 79,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 192,
"origin_id": 124,
"origin_slot": 0,
"target_id": 123,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 193,
"origin_id": 124,
"origin_slot": 0,
"target_id": 125,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 194,
"origin_id": 125,
"origin_slot": 0,
"target_id": 63,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 195,
"origin_id": 123,
"origin_slot": 0,
"target_id": 63,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 196,
"origin_id": 80,
"origin_slot": 0,
"target_id": 124,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 197,
"origin_id": 72,
"origin_slot": 0,
"target_id": 124,
"target_slot": 1,
"type": "VAE"
},
{
"id": 199,
"origin_id": 74,
"origin_slot": 0,
"target_id": 125,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 200,
"origin_id": 82,
"origin_slot": 0,
"target_id": 123,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 219,
"origin_id": -10,
"origin_slot": 5,
"target_id": 73,
"target_slot": 0,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG",
"ue_links": []
}
},
{
"id": "65c22b29-59aa-496b-89c6-55a603658670",
"version": 1,
"state": {
"lastGroupId": 7,
"lastNodeId": 150,
"lastLinkId": 220,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Klein 9B Distilled)",
"inputNode": {
"id": -10,
"bounding": [
-730,
580,
142.36328125,
160
]
},
"outputNode": {
"id": -20,
"bounding": [
1295.3333202680028,
573.833333604156,
120,
60
]
},
"inputs": [
{
"id": "ae713dbf-52cb-471a-807d-b12fa9acbb48",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
159
],
"pos": [
-607.63671875,
600
]
},
{
"id": "f29f705e-e43a-4502-b231-a1eea93a1d69",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
160
],
"pos": [
-607.63671875,
620
]
},
{
"id": "a954f490-386b-4367-9ea1-1b65913963a5",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
161
],
"pos": [
-607.63671875,
640
]
},
{
"id": "7061147a-fb75-450d-8e97-c8be594a8e16",
"name": "text",
"type": "STRING",
"linkIds": [
162
],
"label": "prompt",
"pos": [
-607.63671875,
660
]
},
{
"id": "68629112-b7b0-41ce-8912-23adad00d3db",
"name": "image",
"type": "IMAGE",
"linkIds": [
175
],
"label": "reference_image1",
"pos": [
-607.63671875,
680
]
},
{
"id": "7e0c98fd-26e9-412a-a112-171e50fe2d0c",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
186
],
"label": "reference_image2",
"pos": [
-607.63671875,
700
]
},
{
"id": "76fc7d5b-0139-4a94-8602-8e86137bd411",
"name": "noise_seed",
"type": "INT",
"linkIds": [
220
],
"pos": [
0,
0
]
}
],
"outputs": [
{
"id": "c5e7966d-07ed-4c9a-ad89-9d378a41ea7b",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
153
],
"localized_name": "IMAGE",
"pos": [
1315.3333202680028,
593.833333604156
]
}
],
"widgets": [],
"nodes": [
{
"id": 101,
"type": "KSamplerSelect",
"pos": [
490,
590
],
"size": [
270,
110
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
144
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"euler"
]
},
{
"id": 102,
"type": "Flux2Scheduler",
"pos": [
490,
750
],
"size": [
270,
170
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 171
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 173
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
145
]
}
],
"properties": {
"Node name for S&R": "Flux2Scheduler",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
4,
1024,
1024
]
},
{
"id": 103,
"type": "CFGGuider",
"pos": [
490,
380
],
"size": [
270,
160
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 139
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 211
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 212
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CFGGuider",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1
]
},
{
"id": 104,
"type": "SamplerCustomAdvanced",
"pos": [
830,
220
],
"size": [
230,
170
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 142
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 143
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 144
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 145
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 146
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"links": [
147
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": []
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 105,
"type": "VAEDecode",
"pos": [
1260,
200
],
"size": [
230,
100
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 147
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 148
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
153
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 106,
"type": "RandomNoise",
"pos": [
490,
220
],
"size": [
270,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 220
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
583453753589969,
"randomize"
]
},
{
"id": 107,
"type": "UNETLoader",
"pos": [
-460,
230
],
"size": [
370,
110
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 159
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
139
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"models": [
{
"name": "flux-2-klein-9b-fp8.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-fp8/resolve/main/flux-2-klein-9b-fp8.safetensors",
"directory": "diffusion_models"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"flux-2-klein-9b-fp8.safetensors",
"default"
]
},
{
"id": 108,
"type": "CLIPLoader",
"pos": [
-460,
460
],
"size": [
370,
150
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 160
}
],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
151
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"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"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_3_8b_fp8mixed.safetensors",
"flux2",
"default"
]
},
{
"id": 109,
"type": "CLIPTextEncode",
"pos": [
-20,
230
],
"size": [
450,
340
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 151
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 162
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
165,
187,
207
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Let this character hold the bag with both hands"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 86,
"type": "ConditioningZeroOut",
"pos": [
-30,
640
],
"size": [
230,
80
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 187
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
188,
208
]
}
],
"properties": {
"Node name for S&R": "ConditioningZeroOut",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 113,
"type": "EmptyFlux2LatentImage",
"pos": [
850,
990
],
"size": [
270,
170
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 172
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 174
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
146
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 114,
"type": "GetImageSize",
"pos": [
570,
1020
],
"size": [
230,
120
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 170
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
171,
172
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
173,
174
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 127,
"type": "VAEEncode",
"pos": [
-130,
1020
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 205
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 206
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
201,
202
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 129,
"type": "ReferenceLatent",
"pos": [
190,
1580
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 216
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 209
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
212
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 131,
"type": "ReferenceLatent",
"pos": [
180,
1420
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 215
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 210
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
211
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 130,
"type": "VAEEncode",
"pos": [
-130,
1430
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 213
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 214
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
209,
210
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 110,
"type": "VAELoader",
"pos": [
-450,
730
],
"size": [
370,
110
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 161
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"links": [
148,
176,
181,
206,
214
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"models": [
{
"name": "full_encoder_small_decoder.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-small-decoder/resolve/main/full_encoder_small_decoder.safetensors",
"directory": "vae"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"full_encoder_small_decoder.safetensors"
]
},
{
"id": 128,
"type": "ReferenceLatent",
"pos": [
190,
1020
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 207
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 202
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
203,
215
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 126,
"type": "ReferenceLatent",
"pos": [
190,
1160
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 208
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 201
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
204,
216
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 111,
"type": "ImageScaleToTotalPixels",
"pos": [
-450,
1020
],
"size": [
270,
140
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 175
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
169,
170,
205
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"lanczos",
1,
1
]
},
{
"id": 85,
"type": "ImageScaleToTotalPixels",
"pos": [
-440,
1420
],
"size": [
270,
140
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 186
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
180,
213
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"cnr_id": "comfy-core",
"ver": "0.8.2",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"lanczos",
1,
1
]
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-470,
140,
400,
760
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
-40,
140,
470,
760
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Sampler",
"bounding": [
460,
140,
610,
800
],
"color": "#3f789e",
"flags": {}
},
{
"id": 5,
"title": "Reference Image 1",
"bounding": [
-470,
930,
910,
370
],
"color": "#3f789e",
"flags": {}
},
{
"id": 6,
"title": "Reference Image 2",
"bounding": [
-460,
1330,
900,
380
],
"color": "#3f789e",
"flags": {}
}
],
"links": [
{
"id": 139,
"origin_id": 107,
"origin_slot": 0,
"target_id": 103,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 142,
"origin_id": 106,
"origin_slot": 0,
"target_id": 104,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 143,
"origin_id": 103,
"origin_slot": 0,
"target_id": 104,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 144,
"origin_id": 101,
"origin_slot": 0,
"target_id": 104,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 145,
"origin_id": 102,
"origin_slot": 0,
"target_id": 104,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 146,
"origin_id": 113,
"origin_slot": 0,
"target_id": 104,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 147,
"origin_id": 104,
"origin_slot": 0,
"target_id": 105,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 148,
"origin_id": 110,
"origin_slot": 0,
"target_id": 105,
"target_slot": 1,
"type": "VAE"
},
{
"id": 151,
"origin_id": 108,
"origin_slot": 0,
"target_id": 109,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 153,
"origin_id": 105,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 159,
"origin_id": -10,
"origin_slot": 0,
"target_id": 107,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 160,
"origin_id": -10,
"origin_slot": 1,
"target_id": 108,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 161,
"origin_id": -10,
"origin_slot": 2,
"target_id": 110,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 162,
"origin_id": -10,
"origin_slot": 3,
"target_id": 109,
"target_slot": 1,
"type": "STRING"
},
{
"id": 165,
"origin_id": 109,
"origin_slot": 0,
"target_id": 112,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 169,
"origin_id": 111,
"origin_slot": 0,
"target_id": 112,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 170,
"origin_id": 111,
"origin_slot": 0,
"target_id": 114,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 171,
"origin_id": 114,
"origin_slot": 0,
"target_id": 102,
"target_slot": 0,
"type": "INT"
},
{
"id": 172,
"origin_id": 114,
"origin_slot": 0,
"target_id": 113,
"target_slot": 0,
"type": "INT"
},
{
"id": 173,
"origin_id": 114,
"origin_slot": 1,
"target_id": 102,
"target_slot": 1,
"type": "INT"
},
{
"id": 174,
"origin_id": 114,
"origin_slot": 1,
"target_id": 113,
"target_slot": 1,
"type": "INT"
},
{
"id": 175,
"origin_id": -10,
"origin_slot": 4,
"target_id": 111,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 176,
"origin_id": 110,
"origin_slot": 0,
"target_id": 112,
"target_slot": 3,
"type": "VAE"
},
{
"id": 180,
"origin_id": 85,
"origin_slot": 0,
"target_id": 84,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 181,
"origin_id": 110,
"origin_slot": 0,
"target_id": 84,
"target_slot": 3,
"type": "VAE"
},
{
"id": 186,
"origin_id": -10,
"origin_slot": 5,
"target_id": 85,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 187,
"origin_id": 109,
"origin_slot": 0,
"target_id": 86,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 188,
"origin_id": 86,
"origin_slot": 0,
"target_id": 112,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 201,
"origin_id": 127,
"origin_slot": 0,
"target_id": 126,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 202,
"origin_id": 127,
"origin_slot": 0,
"target_id": 128,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 203,
"origin_id": 128,
"origin_slot": 0,
"target_id": 84,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 204,
"origin_id": 126,
"origin_slot": 0,
"target_id": 84,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 205,
"origin_id": 111,
"origin_slot": 0,
"target_id": 127,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 206,
"origin_id": 110,
"origin_slot": 0,
"target_id": 127,
"target_slot": 1,
"type": "VAE"
},
{
"id": 207,
"origin_id": 109,
"origin_slot": 0,
"target_id": 128,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 208,
"origin_id": 86,
"origin_slot": 0,
"target_id": 126,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 209,
"origin_id": 130,
"origin_slot": 0,
"target_id": 129,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 210,
"origin_id": 130,
"origin_slot": 0,
"target_id": 131,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 211,
"origin_id": 131,
"origin_slot": 0,
"target_id": 103,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 212,
"origin_id": 129,
"origin_slot": 0,
"target_id": 103,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 213,
"origin_id": 85,
"origin_slot": 0,
"target_id": 130,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 214,
"origin_id": 110,
"origin_slot": 0,
"target_id": 130,
"target_slot": 1,
"type": "VAE"
},
{
"id": 215,
"origin_id": 128,
"origin_slot": 0,
"target_id": 131,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 216,
"origin_id": 126,
"origin_slot": 0,
"target_id": 129,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 220,
"origin_id": -10,
"origin_slot": 6,
"target_id": 106,
"target_slot": 0,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG",
"ue_links": []
}
}
]
},
"config": {},
"extra": {
"frontendVersion": "1.47.10",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ds": {
"scale": 0.6209213230591553,
"offset": [
786.1389809017754,
-91.76577764403532
]
},
"ue_links": []
},
"version": 0.4
}