Files
2026-06-07 20:50:28 -07:00

3386 lines
86 KiB
JSON

{
"id": "7c048efb-a059-44e2-970a-43e1eb472d0d",
"revision": 0,
"last_node_id": 64,
"last_link_id": 163,
"nodes": [
{
"id": 9,
"type": "SaveImage",
"pos": [
-165,
-70
],
"size": [
700,
480
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 156
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Flux2"
]
},
{
"id": 64,
"type": "SaveImage",
"pos": [
-165,
490
],
"size": [
700,
470
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 159
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Flux2"
]
},
{
"id": 46,
"type": "LoadImage",
"pos": [
-980,
330
],
"size": [
274.080078125,
314.00000000000006
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
160,
161
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"image_flux2_input_Illustration.png",
"image"
]
},
{
"id": 42,
"type": "LoadImage",
"pos": [
-980,
-70
],
"size": [
274.080078125,
314.0000000000001
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
162,
163
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"image_flux2_input_ref_image.png",
"image"
]
},
{
"id": 61,
"type": "MarkdownNote",
"pos": [
-1460,
-70
],
"size": [
430,
640
],
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {},
"widgets_values": [
"We are using quantized weights in this workflow, the original flux 2 repo is [here](https://huggingface.co/black-forest-labs/FLUX.2-dev/)\n\nGuide: [Subgraph](https://docs.hanzo.ai/interface/features/subgraph)\n\n## Report issue\n\nNote: please update Hanzo Studio first ([guide](https://docs.hanzo.ai/zh-CN/installation/update_comfyui)) and prepare required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [HanzoStudio/issues](https://github.com/hanzoai/studio/issues)\n- UI / frontend issues: [HanzoStudio_frontend/issues](https://github.com/hanzoui/frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/hanzoui/workflow-templates/issues)\n\n\n## Model links\n\n**text_encoders**\n\n- [mistral_3_small_flux2_fp8.safetensors](https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_fp8.safetensors)\n\n**loras**\n\n- [Flux2TurboComfyv2.safetensors](https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/loras/Flux2TurboComfyv2.safetensors)\n\n**diffusion_models**\n\n- [flux2_dev_fp8mixed.safetensors](https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 HanzoStudio/\n├── 📂 models/\n│ ├── 📂 text_encoders/\n│ │ └── mistral_3_small_flux2_fp8.safetensors\n│ ├── 📂 loras/\n│ │ └── Flux2TurboComfyv2.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── flux2_dev_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 62,
"type": "406cf93b-f2d9-4ec9-a89b-45c1956ea70a",
"pos": [
-600,
-70
],
"size": [
400,
470
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"label": "image_1",
"name": "image",
"type": "IMAGE",
"link": 162
},
{
"label": "image_2",
"name": "image_1",
"type": "IMAGE",
"link": 160
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
156
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"25",
"noise_seed"
],
[
"25",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.7.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Apply the design from Reference Image 1 onto objects in Reference Image 2.\n"
]
},
{
"id": 63,
"type": "78067b9c-c4ad-4bf3-a964-9cae8257b7a5",
"pos": [
-600,
490
],
"size": [
400,
470
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"label": "image_1",
"name": "image",
"type": "IMAGE",
"link": 163
},
{
"label": "image_2",
"name": "image_1",
"type": "IMAGE",
"link": 161
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
159
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"25",
"noise_seed"
],
[
"25",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.7.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Apply the design from Reference Image 1 onto objects in Reference Image 2.\n"
]
}
],
"links": [
[
156,
62,
0,
9,
0,
"IMAGE"
],
[
159,
63,
0,
64,
0,
"IMAGE"
],
[
160,
46,
0,
62,
1,
"IMAGE"
],
[
161,
46,
0,
63,
1,
"IMAGE"
],
[
162,
42,
0,
62,
0,
"IMAGE"
],
[
163,
42,
0,
63,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "406cf93b-f2d9-4ec9-a89b-45c1956ea70a",
"version": 1,
"state": {
"lastGroupId": 5,
"lastNodeId": 63,
"lastLinkId": 160,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Dev)",
"inputNode": {
"id": -10,
"bounding": [
-1160,
410,
120,
100
]
},
"outputNode": {
"id": -20,
"bounding": [
450,
420,
120,
60
]
},
"inputs": [
{
"id": "77c73fd8-6586-4141-bc01-10fe7c40708c",
"name": "image",
"type": "IMAGE",
"linkIds": [
128
],
"localized_name": "image",
"label": "image_1",
"pos": [
-1060,
430
]
},
{
"id": "c6da9a80-e077-4bb5-b348-1442d234b83b",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
123
],
"localized_name": "image_1",
"label": "image_2",
"pos": [
-1060,
450
]
},
{
"id": "2fc42ec2-de96-49d4-a4bc-ce4dd781d6a4",
"name": "text",
"type": "STRING",
"linkIds": [
154
],
"pos": [
-1060,
470
]
}
],
"outputs": [
{
"id": "b75f09fc-1927-439a-aceb-600ebbe977ac",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
9
],
"localized_name": "IMAGE",
"pos": [
470,
440
]
}
],
"widgets": [],
"nodes": [
{
"id": 48,
"type": "Flux2Scheduler",
"pos": [
-160,
260
],
"size": [
222.3482666015625,
106
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 157
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 159
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
132
]
}
],
"properties": {
"Node name for S&R": "Flux2Scheduler",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
20,
1024,
1024
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
-160,
70
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 133
},
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 153
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "BasicGuider",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-973.1827364834872,
230
],
"size": [
298.1818181818182,
60.429901123046875
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
12,
120,
127
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "flux2-vae.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
"directory": "vae"
},
{
"name": "flux2-vae.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux2-vae.safetensors"
]
},
{
"id": 40,
"type": "VAEEncode",
"pos": [
-405.919921875,
880
],
"size": [
140,
46
],
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 122
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 120
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
121
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 44,
"type": "VAEEncode",
"pos": [
-840,
880
],
"size": [
140,
46
],
"flags": {
"collapsed": true
},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 126
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 127
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
125
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 41,
"type": "ImageScaleToTotalPixels",
"pos": [
-535.919921875,
750
],
"size": [
270,
106
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 123
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
122
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"area",
1,
1
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
-520,
220
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 41
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
144
]
}
],
"properties": {
"Node name for S&R": "FluxGuidance",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
4
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
170,
740
],
"size": [
210,
46
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
90,
-40
],
"size": [
272.3617858886719,
124.53733825683594
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 37
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 30
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 19
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 132
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 131
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
24
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
-160,
160
],
"size": [
222.3482666015625,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"euler"
]
},
{
"id": 43,
"type": "ReferenceLatent",
"pos": [
-910,
920
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 144
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 125
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
145
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 39,
"type": "ReferenceLatent",
"pos": [
-463.6328125,
920
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 145
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 121
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
153
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-973.1827364834872,
-42
],
"size": [
298.1818181818182,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
133
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "flux2_dev_fp8mixed.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors",
"directory": "diffusion_models"
},
{
"name": "flux2_dev_fp8mixed.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux2_dev_fp8mixed.safetensors",
"default"
]
},
{
"id": 62,
"type": "Note",
"pos": [
-960,
1080
],
"size": [
490,
130
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Unbypass (CTRL-B) the ReferenceLatent nodes to give ref images.\n\nIf you want to add more reference images, you can add multiple reference images by following the pattern.\n\nIf you don't want any reference image, just select all ReferenceLatent nodes and then use CTRL-B to bypass them, turning the workflow into a Text to Image workflow."
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-630,
-50
],
"size": [
430,
230
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 117
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 154
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
41
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Apply the design from Reference Image 1 onto objects in Reference Image 2.\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
-160,
-50
],
"size": [
222.3482666015625,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
37
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
120839687766682,
"randomize"
]
},
{
"id": 45,
"type": "ImageScaleToTotalPixels",
"pos": [
-970,
750
],
"size": [
270,
106
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 128
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
126,
156
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"area",
1,
1
]
},
{
"id": 63,
"type": "GetImageSize",
"pos": [
-810,
560
],
"size": [
140,
66
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 156
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
157,
158
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
159,
160
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize",
"cnr_id": "comfy-core",
"ver": "0.7.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 47,
"type": "EmptyFlux2LatentImage",
"pos": [
20,
500
],
"size": [
270,
106
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 158
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 160
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
131
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
1024,
1024,
1
]
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-973.1827364834872,
82
],
"size": [
298.1818181818182,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
117
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "mistral_3_small_flux2_fp8.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_fp8.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"mistral_3_small_flux2_fp8.safetensors",
"flux2",
"default"
]
}
],
"groups": [
{
"id": 1,
"title": "Model",
"bounding": [
-980,
-120,
318.18181818181813,
416.0299011230469
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Custom sampler",
"bounding": [
-170,
-120,
558.5359191894531,
501.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Image size",
"bounding": [
-170,
400,
560,
285.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Prompt",
"bounding": [
-640,
-120,
450,
420
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Reference images (up to 10)",
"bounding": [
-980,
320,
790,
700
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 133,
"origin_id": 12,
"origin_slot": 0,
"target_id": 22,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 153,
"origin_id": 39,
"origin_slot": 0,
"target_id": 22,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 122,
"origin_id": 41,
"origin_slot": 0,
"target_id": 40,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 120,
"origin_id": 10,
"origin_slot": 0,
"target_id": 40,
"target_slot": 1,
"type": "VAE"
},
{
"id": 126,
"origin_id": 45,
"origin_slot": 0,
"target_id": 44,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 127,
"origin_id": 10,
"origin_slot": 0,
"target_id": 44,
"target_slot": 1,
"type": "VAE"
},
{
"id": 41,
"origin_id": 6,
"origin_slot": 0,
"target_id": 26,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 24,
"origin_id": 13,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 12,
"origin_id": 10,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 37,
"origin_id": 25,
"origin_slot": 0,
"target_id": 13,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 30,
"origin_id": 22,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 19,
"origin_id": 16,
"origin_slot": 0,
"target_id": 13,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 132,
"origin_id": 48,
"origin_slot": 0,
"target_id": 13,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 131,
"origin_id": 47,
"origin_slot": 0,
"target_id": 13,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 144,
"origin_id": 26,
"origin_slot": 0,
"target_id": 43,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 125,
"origin_id": 44,
"origin_slot": 0,
"target_id": 43,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 145,
"origin_id": 43,
"origin_slot": 0,
"target_id": 39,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 121,
"origin_id": 40,
"origin_slot": 0,
"target_id": 39,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 117,
"origin_id": 38,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 128,
"origin_id": -10,
"origin_slot": 0,
"target_id": 45,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 123,
"origin_id": -10,
"origin_slot": 1,
"target_id": 41,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 9,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 154,
"origin_id": -10,
"origin_slot": 2,
"target_id": 6,
"target_slot": 1,
"type": "STRING"
},
{
"id": 156,
"origin_id": 45,
"origin_slot": 0,
"target_id": 63,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 157,
"origin_id": 63,
"origin_slot": 0,
"target_id": 48,
"target_slot": 0,
"type": "INT"
},
{
"id": 158,
"origin_id": 63,
"origin_slot": 0,
"target_id": 47,
"target_slot": 0,
"type": "INT"
},
{
"id": 159,
"origin_id": 63,
"origin_slot": 1,
"target_id": 48,
"target_slot": 1,
"type": "INT"
},
{
"id": 160,
"origin_id": 63,
"origin_slot": 1,
"target_id": 47,
"target_slot": 1,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "78067b9c-c4ad-4bf3-a964-9cae8257b7a5",
"version": 1,
"state": {
"lastGroupId": 6,
"lastNodeId": 65,
"lastLinkId": 166,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Dev 8steps)",
"inputNode": {
"id": -10,
"bounding": [
-1160,
410,
120,
100
]
},
"outputNode": {
"id": -20,
"bounding": [
450,
420,
120,
60
]
},
"inputs": [
{
"id": "77c73fd8-6586-4141-bc01-10fe7c40708c",
"name": "image",
"type": "IMAGE",
"linkIds": [
128
],
"localized_name": "image",
"label": "image_1",
"pos": [
-1060,
430
]
},
{
"id": "c6da9a80-e077-4bb5-b348-1442d234b83b",
"name": "image_1",
"type": "IMAGE",
"linkIds": [
123
],
"localized_name": "image_1",
"label": "image_2",
"pos": [
-1060,
450
]
},
{
"id": "2fc42ec2-de96-49d4-a4bc-ce4dd781d6a4",
"name": "text",
"type": "STRING",
"linkIds": [
154
],
"pos": [
-1060,
470
]
}
],
"outputs": [
{
"id": "b75f09fc-1927-439a-aceb-600ebbe977ac",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
9
],
"localized_name": "IMAGE",
"pos": [
470,
440
]
}
],
"widgets": [],
"nodes": [
{
"id": 22,
"type": "BasicGuider",
"pos": [
-160,
70
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 157
},
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 153
}
],
"outputs": [
{
"localized_name": "GUIDER",
"name": "GUIDER",
"type": "GUIDER",
"slot_index": 0,
"links": [
30
]
}
],
"properties": {
"Node name for S&R": "BasicGuider",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 10,
"type": "VAELoader",
"pos": [
-973.1827364834872,
230
],
"size": [
298.1818181818182,
60.429901123046875
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
12,
120,
127
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "flux2-vae.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
"directory": "vae"
},
{
"name": "flux2-vae.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux2-vae.safetensors"
]
},
{
"id": 40,
"type": "VAEEncode",
"pos": [
-405.919921875,
880
],
"size": [
140,
46
],
"flags": {
"collapsed": true
},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 122
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 120
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
121
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 44,
"type": "VAEEncode",
"pos": [
-840,
880
],
"size": [
140,
46
],
"flags": {
"collapsed": true
},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 126
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 127
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
125
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 41,
"type": "ImageScaleToTotalPixels",
"pos": [
-535.919921875,
750
],
"size": [
270,
106
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 123
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
122
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"area",
1,
1
]
},
{
"id": 26,
"type": "FluxGuidance",
"pos": [
-520,
220
],
"size": [
317.4000244140625,
58
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 41
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
144
]
}
],
"properties": {
"Node name for S&R": "FluxGuidance",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
4
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
170,
740
],
"size": [
210,
46
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 12
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
9
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 13,
"type": "SamplerCustomAdvanced",
"pos": [
90,
-40
],
"size": [
272.3617858886719,
124.53733825683594
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "noise",
"name": "noise",
"type": "NOISE",
"link": 37
},
{
"localized_name": "guider",
"name": "guider",
"type": "GUIDER",
"link": 30
},
{
"localized_name": "sampler",
"name": "sampler",
"type": "SAMPLER",
"link": 19
},
{
"localized_name": "sigmas",
"name": "sigmas",
"type": "SIGMAS",
"link": 132
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 131
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "LATENT",
"slot_index": 0,
"links": [
24
]
},
{
"localized_name": "denoised_output",
"name": "denoised_output",
"type": "LATENT",
"links": null
}
],
"properties": {
"Node name for S&R": "SamplerCustomAdvanced",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 16,
"type": "KSamplerSelect",
"pos": [
-160,
160
],
"size": [
222.3482666015625,
58
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "SAMPLER",
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
19
]
}
],
"properties": {
"Node name for S&R": "KSamplerSelect",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"euler"
]
},
{
"id": 43,
"type": "ReferenceLatent",
"pos": [
-910,
920
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 144
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 125
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
145
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 39,
"type": "ReferenceLatent",
"pos": [
-463.6328125,
920
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 145
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 121
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
153
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 62,
"type": "Note",
"pos": [
-960,
1080
],
"size": [
490,
130
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"Unbypass (CTRL-B) the ReferenceLatent nodes to give ref images.\n\nIf you want to add more reference images, you can add multiple reference images by following the pattern.\n\nIf you don't want any reference image, just select all ReferenceLatent nodes and then use CTRL-B to bypass them, turning the workflow into a Text to Image workflow."
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 6,
"type": "CLIPTextEncode",
"pos": [
-630,
-50
],
"size": [
430,
230
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 117
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 154
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"slot_index": 0,
"links": [
41
]
}
],
"title": "CLIP Text Encode (Positive Prompt)",
"properties": {
"Node name for S&R": "CLIPTextEncode",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Apply the design from Reference Image 1 onto objects in Reference Image 2.\n"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
-160,
-50
],
"size": [
222.3482666015625,
82
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "NOISE",
"name": "NOISE",
"type": "NOISE",
"links": [
37
]
}
],
"properties": {
"Node name for S&R": "RandomNoise",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
120839687766682,
"randomize"
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-973.1827364834872,
-42
],
"size": [
298.1818181818182,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
156
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "flux2_dev_fp8mixed.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors",
"directory": "diffusion_models"
},
{
"name": "flux2_dev_fp8mixed.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/diffusion_models/flux2_dev_fp8mixed.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"flux2_dev_fp8mixed.safetensors",
"default"
]
},
{
"id": 63,
"type": "LoraLoaderModelOnly",
"pos": [
-630,
-230
],
"size": [
420,
82
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 156
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
157
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.7.0",
"models": [
{
"name": "Flux2TurboComfyv2.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/loras/Flux2TurboComfyv2.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Flux2TurboComfyv2.safetensors",
1
]
},
{
"id": 48,
"type": "Flux2Scheduler",
"pos": [
-160,
260
],
"size": [
222.3482666015625,
106
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 163
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 165
}
],
"outputs": [
{
"localized_name": "SIGMAS",
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
132
]
}
],
"properties": {
"Node name for S&R": "Flux2Scheduler",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
8,
16,
16
]
},
{
"id": 45,
"type": "ImageScaleToTotalPixels",
"pos": [
-980,
730
],
"size": [
270,
106
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 128
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
126,
162
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"area",
1,
1
]
},
{
"id": 47,
"type": "EmptyFlux2LatentImage",
"pos": [
-20,
500
],
"size": [
270,
106
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 164
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 166
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
131
]
}
],
"properties": {
"Node name for S&R": "EmptyFlux2LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
16,
16,
1
]
},
{
"id": 65,
"type": "GetImageSize",
"pos": [
-850,
560
],
"size": [
140,
66
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 162
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
163,
164
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
165,
166
]
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"links": null
}
],
"properties": {
"Node name for S&R": "GetImageSize",
"cnr_id": "comfy-core",
"ver": "0.7.0",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": []
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-973.1827364834872,
82
],
"size": [
298.1818181818182,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"links": [
117
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.71",
"models": [
{
"name": "mistral_3_small_flux2_fp8.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_fp8.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"mistral_3_small_flux2_fp8.safetensors",
"flux2",
"default"
]
}
],
"groups": [
{
"id": 1,
"title": "Model",
"bounding": [
-980,
-120,
318.18181818181813,
416.0299011230469
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Custom sampler",
"bounding": [
-170,
-120,
558.5359191894531,
501.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Image size",
"bounding": [
-170,
400,
560,
285.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Prompt",
"bounding": [
-640,
-120,
450,
420
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 5,
"title": "Reference images (up to 10)",
"bounding": [
-980,
320,
790,
700
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 6,
"title": "Turbo LoRA",
"bounding": [
-640,
-300,
450,
160
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 153,
"origin_id": 39,
"origin_slot": 0,
"target_id": 22,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 122,
"origin_id": 41,
"origin_slot": 0,
"target_id": 40,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 120,
"origin_id": 10,
"origin_slot": 0,
"target_id": 40,
"target_slot": 1,
"type": "VAE"
},
{
"id": 126,
"origin_id": 45,
"origin_slot": 0,
"target_id": 44,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 127,
"origin_id": 10,
"origin_slot": 0,
"target_id": 44,
"target_slot": 1,
"type": "VAE"
},
{
"id": 41,
"origin_id": 6,
"origin_slot": 0,
"target_id": 26,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 24,
"origin_id": 13,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 12,
"origin_id": 10,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 37,
"origin_id": 25,
"origin_slot": 0,
"target_id": 13,
"target_slot": 0,
"type": "NOISE"
},
{
"id": 30,
"origin_id": 22,
"origin_slot": 0,
"target_id": 13,
"target_slot": 1,
"type": "GUIDER"
},
{
"id": 19,
"origin_id": 16,
"origin_slot": 0,
"target_id": 13,
"target_slot": 2,
"type": "SAMPLER"
},
{
"id": 132,
"origin_id": 48,
"origin_slot": 0,
"target_id": 13,
"target_slot": 3,
"type": "SIGMAS"
},
{
"id": 131,
"origin_id": 47,
"origin_slot": 0,
"target_id": 13,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 144,
"origin_id": 26,
"origin_slot": 0,
"target_id": 43,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 125,
"origin_id": 44,
"origin_slot": 0,
"target_id": 43,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 145,
"origin_id": 43,
"origin_slot": 0,
"target_id": 39,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 121,
"origin_id": 40,
"origin_slot": 0,
"target_id": 39,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 117,
"origin_id": 38,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 128,
"origin_id": -10,
"origin_slot": 0,
"target_id": 45,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 123,
"origin_id": -10,
"origin_slot": 1,
"target_id": 41,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 9,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 154,
"origin_id": -10,
"origin_slot": 2,
"target_id": 6,
"target_slot": 1,
"type": "STRING"
},
{
"id": 156,
"origin_id": 12,
"origin_slot": 0,
"target_id": 63,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 157,
"origin_id": 63,
"origin_slot": 0,
"target_id": 22,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 162,
"origin_id": 45,
"origin_slot": 0,
"target_id": 65,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 163,
"origin_id": 65,
"origin_slot": 0,
"target_id": 48,
"target_slot": 0,
"type": "INT"
},
{
"id": 164,
"origin_id": 65,
"origin_slot": 0,
"target_id": 47,
"target_slot": 0,
"type": "INT"
},
{
"id": 165,
"origin_id": 65,
"origin_slot": 1,
"target_id": 48,
"target_slot": 1,
"type": "INT"
},
{
"id": 166,
"origin_id": 65,
"origin_slot": 1,
"target_id": 47,
"target_slot": 1,
"type": "INT"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.7107854931533234,
"offset": [
1374.641671110417,
49.823106799244044
]
},
"frontendVersion": "1.38.6",
"workflowRendererVersion": "LG",
"groupNodes": {},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}