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

1996 lines
51 KiB
JSON

{
"id": "7c048efb-a059-44e2-970a-43e1eb472d0d",
"revision": 0,
"last_node_id": 94,
"last_link_id": 192,
"nodes": [
{
"id": 46,
"type": "LoadImage",
"pos": [
-960,
-90
],
"size": [
274.080078125,
314
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
128
]
},
{
"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_image.png",
"image"
]
},
{
"id": 45,
"type": "ImageScaleToTotalPixels",
"pos": [
-960,
280
],
"size": [
270,
106
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 128
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
166
]
}
],
"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": [
"lanczos",
1,
1
]
},
{
"id": 9,
"type": "SaveImage",
"pos": [
-201.919921875,
-90
],
"size": [
470,
470
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 167
}
],
"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": 66,
"type": "MarkdownNote",
"pos": [
-1520,
-90
],
"size": [
520,
620
],
"flags": {
"collapsed": false
},
"order": 1,
"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 the required models. Desktop/Cloud ship stable builds; nightly-supported models may not be included yet, please wait for the next stable release.\n\n- Cannot run / runtime errors: [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 (for local user)\n\n**text_encoders**\n\n- [mistral_3_small_flux2_bf16.safetensors](https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors)\n\n**loras**\n\n- [Flux_2-Turbo-LoRA_comfyui.safetensors](https://huggingface.co/ByteZSzn/Flux.2-Turbo-HanzoStudio/resolve/main/Flux_2-Turbo-LoRA_comfyui.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_bf16.safetensors\n│ ├── 📂 loras/\n│ │ └── Flux_2-Turbo-LoRA_comfyui.safetensors\n│ ├── 📂 diffusion_models/\n│ │ └── flux2_dev_fp8mixed.safetensors\n│ └── 📂 vae/\n│ └── flux2-vae.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 68,
"type": "7651d2ae-5471-47b0-b064-b34ee62343c1",
"pos": [
-643.919921875,
-90
],
"size": [
400,
480
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 166
},
{
"label": "prompt",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"label": "enable_turbo_mode",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
},
"link": null
},
{
"label": "turbo_lora",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
167
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"text"
],
[
"-1",
"value"
],
[
"25",
"noise_seed"
],
[
"25",
"control_after_generate"
],
[
"-1",
"unet_name"
],
[
"-1",
"lora_name"
],
[
"-1",
"clip_name"
],
[
"-1",
"vae_name"
]
],
"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": [
"The woman is wearing a small pale yellow knitted beanie, with a white fabric patch on the front right, embroidered with big gray text “FLUX.2 COMFY.” Keep the face",
false,
null,
null,
"flux2_dev_fp8mixed.safetensors",
"Flux_2-Turbo-LoRA_comfyui.safetensors",
"mistral_3_small_flux2_bf16.safetensors",
"flux2-vae.safetensors"
]
}
],
"links": [
[
128,
46,
0,
45,
0,
"IMAGE"
],
[
166,
45,
0,
68,
0,
"IMAGE"
],
[
167,
68,
0,
9,
0,
"IMAGE"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "7651d2ae-5471-47b0-b064-b34ee62343c1",
"version": 1,
"state": {
"lastGroupId": 8,
"lastNodeId": 94,
"lastLinkId": 192,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Flux.2 Dev)",
"inputNode": {
"id": -10,
"bounding": [
-1460,
230,
151.744140625,
180
]
},
"outputNode": {
"id": -20,
"bounding": [
1130,
360,
120,
60
]
},
"inputs": [
{
"id": "fc74acd5-30a9-410b-abb5-4a4171ba3d25",
"name": "pixels",
"type": "IMAGE",
"linkIds": [
126,
169
],
"localized_name": "pixels",
"pos": [
-1328.255859375,
250
]
},
{
"id": "3e69affa-397b-4d52-82d7-68dfcef9e761",
"name": "text",
"type": "STRING",
"linkIds": [
168
],
"label": "prompt",
"pos": [
-1328.255859375,
270
]
},
{
"id": "2f016a8a-fb3e-4cb9-97f2-a991defe4fa2",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
177
],
"pos": [
-1328.255859375,
290
]
},
{
"id": "799b9dc7-0c90-4b19-9a13-e01d896bea1f",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
178
],
"pos": [
-1328.255859375,
310
]
},
{
"id": "e58a83c9-1b93-4378-9598-f24068820313",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
179
],
"pos": [
-1328.255859375,
330
]
},
{
"id": "8335a4a9-0ce4-4e67-a641-1c9d7a762977",
"name": "value",
"type": "BOOLEAN",
"linkIds": [
191
],
"label": "enable_turbo_mode",
"pos": [
-1328.255859375,
350
]
},
{
"id": "890b22b4-44a7-4707-912a-ca8b4ee7b7c9",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
192
],
"label": "turbo_lora",
"pos": [
-1328.255859375,
370
]
}
],
"outputs": [
{
"id": "3eaa05d6-4960-4a7c-bf2a-8b585fbb7c9c",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
9
],
"localized_name": "IMAGE",
"pos": [
1150,
380
]
}
],
"widgets": [],
"nodes": [
{
"id": 48,
"type": "Flux2Scheduler",
"pos": [
520,
300
],
"size": [
222.3482666015625,
106
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 188
},
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 170
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 172
}
],
"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,
1248,
832
]
},
{
"id": 22,
"type": "BasicGuider",
"pos": [
520,
110
],
"size": [
222.3482666015625,
46
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 185
},
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 166
}
],
"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": 16,
"type": "KSamplerSelect",
"pos": [
520,
200
],
"size": [
222.3482666015625,
58
],
"flags": {},
"order": 0,
"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": 10,
"type": "VAELoader",
"pos": [
-973.1827364834872,
230
],
"size": [
298.1818181818182,
60.429901123046875
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": 179
}
],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
127,
159
]
}
],
"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": 13,
"type": "SamplerCustomAdvanced",
"pos": [
770,
0
],
"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": 161
}
],
"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": 6,
"type": "CLIPTextEncode",
"pos": [
-630,
-50
],
"size": [
430,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 117
},
{
"localized_name": "text",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": 168
}
],
"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": [
"The woman is wearing a small pale yellow knitted beanie, with a white fabric patch on the front right, embroidered with big gray text “FLUX.2 COMFY.” Keep the face"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-973.1827364834872,
82
],
"size": [
298.1818181818182,
106
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": 178
}
],
"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_bf16.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.safetensors",
"directory": "text_encoders"
},
{
"name": "mistral_3_small_flux2_bf16.safetensors",
"url": "https://huggingface.co/hanzoui/flux2-dev/resolve/main/split_files/text_encoders/mistral_3_small_flux2_bf16.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_bf16.safetensors",
"flux2",
"default"
]
},
{
"id": 25,
"type": "RandomNoise",
"pos": [
520,
-10
],
"size": [
222.3482666015625,
82
],
"flags": {},
"order": 1,
"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": [
649422536169327,
"randomize"
]
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
850,
310
],
"size": [
210,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 24
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 159
}
],
"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": 26,
"type": "FluxGuidance",
"pos": [
-610,
210
],
"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": 89,
"type": "LoraLoaderModelOnly",
"pos": [
-140,
200
],
"size": [
300,
82
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 181
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 192
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
183
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.7.0",
"models": [
{
"name": "Flux_2-Turbo-LoRA_comfyui.safetensors",
"url": "https://huggingface.co/ByteZSzn/Flux.2-Turbo-HanzoStudio/resolve/main/Flux_2-Turbo-LoRA_comfyui.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65
},
"widgets_values": [
"Flux_2-Turbo-LoRA_comfyui.safetensors",
1
]
},
{
"id": 12,
"type": "UNETLoader",
"pos": [
-973.1827364834872,
-42
],
"size": [
298.1818181818182,
82
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 177
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
181,
184
]
}
],
"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": 92,
"type": "ComfySwitchNode",
"pos": [
201.09884164464702,
-4.51745335684231
],
"size": [
270,
78
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"localized_name": "on_false",
"name": "on_false",
"type": "MODEL",
"link": 184
},
{
"localized_name": "on_true",
"name": "on_true",
"type": "MODEL",
"link": 183
},
{
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
},
"link": 190
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "MODEL",
"links": [
185
]
}
],
"title": "Switch(model)",
"properties": {
"Node name for S&R": "ComfySwitchNode"
},
"widgets_values": [
false
]
},
{
"id": 90,
"type": "PrimitiveInt",
"pos": [
-140,
350
],
"size": [
300,
82
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
186
]
}
],
"title": "Steps",
"properties": {
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
8,
"fixed"
]
},
{
"id": 91,
"type": "PrimitiveInt",
"pos": [
-140,
-50
],
"size": [
270,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "INT",
"name": "INT",
"type": "INT",
"links": [
187
]
}
],
"title": "Steps",
"properties": {
"Node name for S&R": "PrimitiveInt"
},
"widgets_values": [
20,
"fixed"
]
},
{
"id": 93,
"type": "ComfySwitchNode",
"pos": [
200,
270
],
"size": [
270,
78
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"localized_name": "on_false",
"name": "on_false",
"type": "INT",
"link": 187
},
{
"localized_name": "on_true",
"name": "on_true",
"type": "INT",
"link": 186
},
{
"localized_name": "switch",
"name": "switch",
"type": "BOOLEAN",
"widget": {
"name": "switch"
},
"link": 189
}
],
"outputs": [
{
"localized_name": "output",
"name": "output",
"type": "INT",
"links": [
188
]
}
],
"title": "Switch(steps)",
"properties": {
"Node name for S&R": "ComfySwitchNode"
},
"widgets_values": [
false
]
},
{
"id": 47,
"type": "EmptyFlux2LatentImage",
"pos": [
530,
540
],
"size": [
270,
106
],
"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": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
161
]
}
],
"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": [
1248,
832,
1
]
},
{
"id": 72,
"type": "GetImageSize",
"pos": [
30,
530
],
"size": [
140,
66
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 169
}
],
"outputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"links": [
170,
171
]
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"links": [
172,
173
]
},
{
"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": 44,
"type": "VAEEncode",
"pos": [
-960,
430
],
"size": [
140,
46
],
"flags": {
"collapsed": true
},
"order": 13,
"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": 43,
"type": "ReferenceLatent",
"pos": [
-520,
400
],
"size": [
204.134765625,
46
],
"flags": {},
"order": 12,
"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": [
166
]
}
],
"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": 94,
"type": "PrimitiveBoolean",
"pos": [
-561.7891501932231,
613.6308246899257
],
"size": [
270,
58
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"localized_name": "value",
"name": "value",
"type": "BOOLEAN",
"widget": {
"name": "value"
},
"link": 191
}
],
"outputs": [
{
"localized_name": "BOOLEAN",
"name": "BOOLEAN",
"type": "BOOLEAN",
"links": [
189,
190
]
}
],
"title": "Enable 8 steps lora",
"properties": {
"Node name for S&R": "PrimitiveBoolean"
},
"widgets_values": [
false
]
}
],
"groups": [
{
"id": 1,
"title": "Models",
"bounding": [
-980,
-120,
318.18181818181813,
416.0299011230469
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Custom sampler",
"bounding": [
510,
-80,
558.5359191894531,
501.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Image size",
"bounding": [
510,
440,
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": 7,
"title": "Original",
"bounding": [
-150,
-120,
320,
170
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 8,
"title": "8 Steps LoRA",
"bounding": [
-150,
130,
320,
315.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 41,
"origin_id": 6,
"origin_slot": 0,
"target_id": 26,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"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": 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": 161,
"origin_id": 47,
"origin_slot": 0,
"target_id": 13,
"target_slot": 4,
"type": "LATENT"
},
{
"id": 24,
"origin_id": 13,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 159,
"origin_id": 10,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 117,
"origin_id": 38,
"origin_slot": 0,
"target_id": 6,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 127,
"origin_id": 10,
"origin_slot": 0,
"target_id": 44,
"target_slot": 1,
"type": "VAE"
},
{
"id": 126,
"origin_id": -10,
"origin_slot": 0,
"target_id": 44,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 9,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 166,
"origin_id": 43,
"origin_slot": 0,
"target_id": 22,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 168,
"origin_id": -10,
"origin_slot": 1,
"target_id": 6,
"target_slot": 1,
"type": "STRING"
},
{
"id": 169,
"origin_id": -10,
"origin_slot": 0,
"target_id": 72,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 170,
"origin_id": 72,
"origin_slot": 0,
"target_id": 48,
"target_slot": 1,
"type": "INT"
},
{
"id": 171,
"origin_id": 72,
"origin_slot": 0,
"target_id": 47,
"target_slot": 0,
"type": "INT"
},
{
"id": 172,
"origin_id": 72,
"origin_slot": 1,
"target_id": 48,
"target_slot": 2,
"type": "INT"
},
{
"id": 173,
"origin_id": 72,
"origin_slot": 1,
"target_id": 47,
"target_slot": 1,
"type": "INT"
},
{
"id": 177,
"origin_id": -10,
"origin_slot": 2,
"target_id": 12,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 178,
"origin_id": -10,
"origin_slot": 3,
"target_id": 38,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 179,
"origin_id": -10,
"origin_slot": 4,
"target_id": 10,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 181,
"origin_id": 12,
"origin_slot": 0,
"target_id": 89,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 183,
"origin_id": 89,
"origin_slot": 0,
"target_id": 92,
"target_slot": 1,
"type": "MODEL"
},
{
"id": 184,
"origin_id": 12,
"origin_slot": 0,
"target_id": 92,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 185,
"origin_id": 92,
"origin_slot": 0,
"target_id": 22,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 186,
"origin_id": 90,
"origin_slot": 0,
"target_id": 93,
"target_slot": 1,
"type": "INT"
},
{
"id": 187,
"origin_id": 91,
"origin_slot": 0,
"target_id": 93,
"target_slot": 0,
"type": "INT"
},
{
"id": 188,
"origin_id": 93,
"origin_slot": 0,
"target_id": 48,
"target_slot": 0,
"type": "INT"
},
{
"id": 189,
"origin_id": 94,
"origin_slot": 0,
"target_id": 93,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 190,
"origin_id": 94,
"origin_slot": 0,
"target_id": 92,
"target_slot": 2,
"type": "BOOLEAN"
},
{
"id": 191,
"origin_id": -10,
"origin_slot": 5,
"target_id": 94,
"target_slot": 0,
"type": "BOOLEAN"
},
{
"id": 192,
"origin_id": -10,
"origin_slot": 6,
"target_id": 89,
"target_slot": 1,
"type": "COMBO"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.7167824122834023,
"offset": [
1831.3466796875,
466.40864229202265
]
},
"frontendVersion": "1.41.3",
"workflowRendererVersion": "LG",
"groupNodes": {},
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}