Files
comfyui-workflows/models/flux2klein/image-edit-4b-base/workflow.json
T

3756 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": 130,
"last_link_id": 216,
"nodes": [
{
"id": 9,
"type": "SaveImage",
"pos": [
740,
830
],
"size": [
419.984375,
469.984375
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 154
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Flux2-Klein-4b-base"
]
},
{
"id": 76,
"type": "LoadImage",
"pos": [
-80,
830
],
"size": [
319.984375,
469.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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"robed_women.png",
"image"
]
},
{
"id": 94,
"type": "SaveImage",
"pos": [
740,
1470
],
"size": [
419.984375,
479.984375
],
"flags": {},
"order": 6,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 171
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"Node name for S&R": "SaveImage",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Flux2-Klein-4b-base"
]
},
{
"id": 81,
"type": "LoadImage",
"pos": [
-80,
1440
],
"size": [
319.984375,
479.984375
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
172
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"pink_tone_chair.png",
"image"
]
},
{
"id": 97,
"type": "MarkdownNote",
"pos": [
-750,
830
],
"size": [
609.984375,
859.984375
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links\n\n**diffusion_models**\n\n- [flux-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)\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**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-base-4b-fp8.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen_3_4b.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": [
310,
830
],
"size": [
399.984375,
469.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": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"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-base-4b-fp8.safetensors",
"qwen_3_4b.safetensors",
"full_encoder_small_decoder.safetensors",
"Change the background to a cozy, softly lit interior space with warm beige tones, soft natural window light filtering through, and a relaxed, intimate atmosphere similar to the original image's mood. Keep the person in the exact same position, scale, and pose. Maintain identical camera angle, framing, and perspective. The lighting should be soft, even, and warm - not harsh or bright. Only replace the room environment, preserving all facial features, hairstyle, expression, clothing, and pose exactly as they are.",
1111443136920027
]
},
{
"id": 92,
"type": "65c22b29-59aa-496b-89c6-55a603658670",
"pos": [
320,
1470
],
"size": [
379.984375,
479.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": 172
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
171
]
}
],
"title": "Image Edit (Flux.2 Klein 4B Distilled)",
"properties": {
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"text": true
},
"version": "7.7",
"input_ue_unconnectable": {}
},
"proxyWidgetErrorQuarantine": [
{
"originalEntry": [
"105",
"control_after_generate"
],
"reason": "missingSubgraphInput",
"attemptedAtVersion": 1
}
],
"previewExposures": []
},
"widgets_values": [
"flux-2-klein-base-4b-fp8.safetensors",
"qwen_3_4b.safetensors",
"full_encoder_small_decoder.safetensors",
"A stylish young woman with dark skin wearing a plush deep emerald green bathrobe, light pink towel turban, and red heart-shaped sunglasses, seated on a light-colored rattan chair with soft pink cushions, positioned in front of a textured dusty rose pink wall with an arched alcove, large tropical plants with broad dark green leaves framing both sides, woven straw baskets on the floor, remove any existing shoes from the background, only the woman's beige woven sandals visible in the foreground, soft natural lighting casting gentle shadows, warm bohemian chic aesthetic, professional fashion photography",
133932424540642
]
}
],
"links": [
[
154,
75,
0,
9,
0,
"IMAGE"
],
[
155,
76,
0,
75,
1,
"IMAGE"
],
[
169,
76,
0,
92,
1,
"IMAGE"
],
[
171,
92,
0,
94,
0,
"IMAGE"
],
[
172,
81,
0,
92,
2,
"IMAGE"
]
],
"groups": [
{
"id": 3,
"title": "Multiple input exampleSelect all nodes then Ctrl-B to enable/disable",
"bounding": [
300,
1370,
900,
670
],
"color": "#3f789e",
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "7b34ab90-36f9-45ba-a665-71d418f0df18",
"version": 1,
"state": {
"lastGroupId": 7,
"lastNodeId": 130,
"lastLinkId": 216,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Klein 4B)",
"inputNode": {
"id": -10,
"bounding": [
-700,
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": [
-600,
560
]
},
{
"id": "f29f705e-e43a-4502-b231-a1eea93a1d69",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
160
],
"pos": [
-600,
580
]
},
{
"id": "a954f490-386b-4367-9ea1-1b65913963a5",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
161
],
"pos": [
-600,
600
]
},
{
"id": "7061147a-fb75-450d-8e97-c8be594a8e16",
"name": "text",
"type": "STRING",
"linkIds": [
162
],
"label": "prompt",
"pos": [
-600,
620
]
},
{
"id": "68629112-b7b0-41ce-8912-23adad00d3db",
"name": "image",
"type": "IMAGE",
"linkIds": [
175
],
"pos": [
-600,
640
]
},
{
"id": "c5814457-a70a-45f4-a4ed-09f5519de363",
"name": "noise_seed",
"type": "INT",
"linkIds": [
215
],
"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": [
600,
580
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"euler"
]
},
{
"id": 62,
"type": "Flux2Scheduler",
"pos": [
600,
750
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
20,
1024,
1024
]
},
{
"id": 63,
"type": "CFGGuider",
"pos": [
600,
370
],
"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": 197
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 198
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CFGGuider",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
5
]
},
{
"id": 64,
"type": "SamplerCustomAdvanced",
"pos": [
890,
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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 65,
"type": "VAEDecode",
"pos": [
1170,
150
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 73,
"type": "RandomNoise",
"pos": [
600,
200
],
"size": [
270,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "noise_seed",
"name": "noise_seed",
"type": "INT",
"widget": {
"name": "noise_seed"
},
"link": 215
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1111443136920027,
"randomize"
]
},
{
"id": 70,
"type": "UNETLoader",
"pos": [
-390,
210
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "flux-2-klein-base-4b-fp8.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4b-fp8/resolve/main/flux-2-klein-base-4b-fp8.safetensors",
"directory": "diffusion_models"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"flux-2-klein-base-4b-fp8.safetensors",
"default"
]
},
{
"id": 71,
"type": "CLIPLoader",
"pos": [
-390,
470
],
"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,
152
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_3_4b.safetensors",
"flux2",
"default"
]
},
{
"id": 74,
"type": "CLIPTextEncode",
"pos": [
60,
210
],
"size": [
450,
500
],
"flags": {},
"order": 11,
"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": [
193
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Change the background to a cozy, softly lit interior space with warm beige tones, soft natural window light filtering through, and a relaxed, intimate atmosphere similar to the original image's mood. Keep the person in the exact same position, scale, and pose. Maintain identical camera angle, framing, and perspective. The lighting should be soft, even, and warm - not harsh or bright. Only replace the room environment, preserving all facial features, hairstyle, expression, clothing, and pose exactly as they are."
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 67,
"type": "CLIPTextEncode",
"pos": [
80,
780
],
"size": [
430,
140
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 152
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
194
]
}
],
"title": "CLIP Text Encode (Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
""
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 72,
"type": "VAELoader",
"pos": [
-390,
760
],
"size": [
370,
110
],
"flags": {},
"order": 10,
"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,
196
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"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": 66,
"type": "EmptyFlux2LatentImage",
"pos": [
840,
1010
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 80,
"type": "ImageScaleToTotalPixels",
"pos": [
-400,
1050
],
"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": [
170,
195
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 100,
"type": "GetImageSize",
"pos": [
570,
1010
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 122,
"type": "ReferenceLatent",
"pos": [
190,
1200
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 194
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 191
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
198
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 123,
"type": "VAEEncode",
"pos": [
-80,
1120
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 195
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 196
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
191,
192
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 124,
"type": "ReferenceLatent",
"pos": [
190,
1050
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 193
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 192
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
197
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-430,
120,
440,
820
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
40,
120,
490,
820
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Sampler",
"bounding": [
560,
120,
580,
820
],
"color": "#3f789e",
"flags": {}
},
{
"id": 5,
"title": "Image Reference",
"bounding": [
-430,
970,
960,
340
],
"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": 152,
"origin_id": 71,
"origin_slot": 0,
"target_id": 67,
"target_slot": 0,
"type": "CLIP"
},
{
"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": 170,
"origin_id": 80,
"origin_slot": 0,
"target_id": 100,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 171,
"origin_id": 100,
"origin_slot": 0,
"target_id": 62,
"target_slot": 0,
"type": "INT"
},
{
"id": 172,
"origin_id": 100,
"origin_slot": 0,
"target_id": 66,
"target_slot": 0,
"type": "INT"
},
{
"id": 173,
"origin_id": 100,
"origin_slot": 1,
"target_id": 62,
"target_slot": 1,
"type": "INT"
},
{
"id": 174,
"origin_id": 100,
"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": 191,
"origin_id": 123,
"origin_slot": 0,
"target_id": 122,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 192,
"origin_id": 123,
"origin_slot": 0,
"target_id": 124,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 193,
"origin_id": 74,
"origin_slot": 0,
"target_id": 124,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 194,
"origin_id": 67,
"origin_slot": 0,
"target_id": 122,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 195,
"origin_id": 80,
"origin_slot": 0,
"target_id": 123,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 196,
"origin_id": 72,
"origin_slot": 0,
"target_id": 123,
"target_slot": 1,
"type": "VAE"
},
{
"id": 197,
"origin_id": 124,
"origin_slot": 0,
"target_id": 63,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 198,
"origin_id": 122,
"origin_slot": 0,
"target_id": 63,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 215,
"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": 130,
"lastLinkId": 216,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Klein 9B)",
"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": "8e253454-8547-44fd-879f-d476bc7e219c",
"name": "noise_seed",
"type": "INT",
"linkIds": [
216
],
"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": 102,
"type": "KSamplerSelect",
"pos": [
490,
640
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"euler"
]
},
{
"id": 103,
"type": "SamplerCustomAdvanced",
"pos": [
790,
220
],
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 104,
"type": "VAEDecode",
"pos": [
1080,
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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 105,
"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": 216
}
],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
142
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
133932424540642,
"randomize"
]
},
{
"id": 106,
"type": "UNETLoader",
"pos": [
-460,
270
],
"size": [
370,
110
],
"flags": {},
"order": 6,
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "flux-2-klein-base-4b-fp8.safetensors",
"url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-base-4b-fp8/resolve/main/flux-2-klein-base-4b-fp8.safetensors",
"directory": "diffusion_models"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"flux-2-klein-base-4b-fp8.safetensors",
"default"
]
},
{
"id": 107,
"type": "VAELoader",
"pos": [
-450,
770
],
"size": [
370,
110
],
"flags": {},
"order": 7,
"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,
204,
212
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"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": 108,
"type": "GetImageSize",
"pos": [
480,
1140
],
"size": [
230,
120
],
"flags": {},
"order": 8,
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 109,
"type": "EmptyFlux2LatentImage",
"pos": [
770,
1120
],
"size": [
270,
170
],
"flags": {},
"order": 9,
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 110,
"type": "ImageScaleToTotalPixels",
"pos": [
-460,
1100
],
"size": [
270,
140
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 175
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
170,
203
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 85,
"type": "ImageScaleToTotalPixels",
"pos": [
-460,
1450
],
"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": [
211
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"nearest-exact",
1,
1
]
},
{
"id": 111,
"type": "CLIPLoader",
"pos": [
-450,
510
],
"size": [
370,
150
],
"flags": {},
"order": 11,
"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,
189
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"models": [
{
"name": "qwen_3_4b.safetensors",
"url": "https://huggingface.co/Comfy-Org/z_image_turbo/resolve/main/split_files/text_encoders/qwen_3_4b.safetensors",
"directory": "text_encoders"
}
],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_3_4b.safetensors",
"flux2",
"default"
]
},
{
"id": 113,
"type": "CLIPTextEncode",
"pos": [
-30,
230
],
"size": [
440,
560
],
"flags": {},
"order": 12,
"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": [
201
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"A stylish young woman with dark skin wearing a plush deep emerald green bathrobe, light pink towel turban, and red heart-shaped sunglasses, seated on a light-colored rattan chair with soft pink cushions, positioned in front of a textured dusty rose pink wall with an arched alcove, large tropical plants with broad dark green leaves framing both sides, woven straw baskets on the floor, remove any existing shoes from the background, only the woman's beige woven sandals visible in the foreground, soft natural lighting casting gentle shadows, warm bohemian chic aesthetic, professional fashion photography"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 87,
"type": "CLIPTextEncode",
"pos": [
-10,
850
],
"size": [
420,
140
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 189
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
202
]
}
],
"title": "CLIP Text Encode ( Negative Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.9.1",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
""
],
"color": "#323",
"bgcolor": "#535"
},
{
"id": 114,
"type": "CFGGuider",
"pos": [
490,
400
],
"size": [
270,
160
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 139
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 213
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 214
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"links": [
143
]
}
],
"properties": {
"Node name for S&R": "CFGGuider",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
5
]
},
{
"id": 115,
"type": "Flux2Scheduler",
"pos": [
490,
830
],
"size": [
270,
170
],
"flags": {},
"order": 14,
"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",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
20,
1024,
1024
]
},
{
"id": 125,
"type": "ReferenceLatent",
"pos": [
190,
1240
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 202
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 199
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
210
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 126,
"type": "VAEEncode",
"pos": [
-150,
1120
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 203
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 204
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
199,
200
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 127,
"type": "ReferenceLatent",
"pos": [
200,
1100
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 201
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 200
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
209
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 128,
"type": "ReferenceLatent",
"pos": [
200,
1610
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 210
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 207
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
214
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 129,
"type": "VAEEncode",
"pos": [
-140,
1470
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 211
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 212
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
207,
208
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 130,
"type": "ReferenceLatent",
"pos": [
200,
1470
],
"size": [
230,
100
],
"flags": {
"collapsed": false
},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 209
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 208
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
213
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.8.2",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.7",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-470,
140,
400,
860
],
"color": "#3f789e",
"flags": {}
},
{
"id": 2,
"title": "Prompt",
"bounding": [
-50,
140,
480,
870
],
"color": "#3f789e",
"flags": {}
},
{
"id": 3,
"title": "Sampler",
"bounding": [
460,
140,
560,
870
],
"color": "#3f789e",
"flags": {}
},
{
"id": 6,
"title": "Reference Image 1",
"bounding": [
-470,
1030,
905,
319.6
],
"color": "#3f789e",
"flags": {}
},
{
"id": 7,
"title": "Reference Image 2",
"bounding": [
-470,
1380,
905,
339.6
],
"color": "#3f789e",
"flags": {}
}
],
"links": [
{
"id": 139,
"origin_id": 106,
"origin_slot": 0,
"target_id": 114,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 142,
"origin_id": 105,
"origin_slot": 0,
"target_id": 103,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 143,
"origin_id": 114,
"origin_slot": 0,
"target_id": 103,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 144,
"origin_id": 102,
"origin_slot": 0,
"target_id": 103,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 145,
"origin_id": 115,
"origin_slot": 0,
"target_id": 103,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 146,
"origin_id": 109,
"origin_slot": 0,
"target_id": 103,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 147,
"origin_id": 103,
"origin_slot": 0,
"target_id": 104,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 148,
"origin_id": 107,
"origin_slot": 0,
"target_id": 104,
"target_slot": 1,
"type": "VAE"
},
{
"id": 151,
"origin_id": 111,
"origin_slot": 0,
"target_id": 113,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 153,
"origin_id": 104,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 159,
"origin_id": -10,
"origin_slot": 0,
"target_id": 106,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 160,
"origin_id": -10,
"origin_slot": 1,
"target_id": 111,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 161,
"origin_id": -10,
"origin_slot": 2,
"target_id": 107,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 162,
"origin_id": -10,
"origin_slot": 3,
"target_id": 113,
"target_slot": 1,
"type": "STRING"
},
{
"id": 170,
"origin_id": 110,
"origin_slot": 0,
"target_id": 108,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 171,
"origin_id": 108,
"origin_slot": 0,
"target_id": 115,
"target_slot": 0,
"type": "INT"
},
{
"id": 172,
"origin_id": 108,
"origin_slot": 0,
"target_id": 109,
"target_slot": 0,
"type": "INT"
},
{
"id": 173,
"origin_id": 108,
"origin_slot": 1,
"target_id": 115,
"target_slot": 1,
"type": "INT"
},
{
"id": 174,
"origin_id": 108,
"origin_slot": 1,
"target_id": 109,
"target_slot": 1,
"type": "INT"
},
{
"id": 175,
"origin_id": -10,
"origin_slot": 4,
"target_id": 110,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 186,
"origin_id": -10,
"origin_slot": 5,
"target_id": 85,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 189,
"origin_id": 111,
"origin_slot": 0,
"target_id": 87,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 199,
"origin_id": 126,
"origin_slot": 0,
"target_id": 125,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 200,
"origin_id": 126,
"origin_slot": 0,
"target_id": 127,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 201,
"origin_id": 113,
"origin_slot": 0,
"target_id": 127,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 202,
"origin_id": 87,
"origin_slot": 0,
"target_id": 125,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 203,
"origin_id": 110,
"origin_slot": 0,
"target_id": 126,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 204,
"origin_id": 107,
"origin_slot": 0,
"target_id": 126,
"target_slot": 1,
"type": "VAE"
},
{
"id": 207,
"origin_id": 129,
"origin_slot": 0,
"target_id": 128,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 208,
"origin_id": 129,
"origin_slot": 0,
"target_id": 130,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 209,
"origin_id": 127,
"origin_slot": 0,
"target_id": 130,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 210,
"origin_id": 125,
"origin_slot": 0,
"target_id": 128,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 211,
"origin_id": 85,
"origin_slot": 0,
"target_id": 129,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 212,
"origin_id": 107,
"origin_slot": 0,
"target_id": 129,
"target_slot": 1,
"type": "VAE"
},
{
"id": 213,
"origin_id": 130,
"origin_slot": 0,
"target_id": 114,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 214,
"origin_id": 128,
"origin_slot": 0,
"target_id": 114,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 216,
"origin_id": -10,
"origin_slot": 6,
"target_id": 105,
"target_slot": 0,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG",
"ue_links": []
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.47564743602095483,
"offset": [
939.5821745596121,
-107.82384006843728
]
},
"frontendVersion": "1.47.10",
"workflowRendererVersion": "LG",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"ue_links": []
},
"version": 0.4
}