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

2473 lines
62 KiB
JSON

{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 1,
"last_node_id": 435,
"last_link_id": 705,
"nodes": [
{
"id": 99,
"type": "MarkdownNote",
"pos": [
-1005.0001224332077,
-162.00007733911437
],
"size": [
550,
698.4635416666667
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"widget_ue_connectable": {}
},
"widgets_values": [
"[Tutorial](https://docs.hanzo.ai/tutorials/image/qwen/qwen-image-edit)\n\n\n## Model links\n\nYou can find all the models on [hanzoui/Qwen-Image_Hanzo Studio](https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/tree/main) and [hanzoui/Qwen-Image-Edit_Hanzo Studio](https://huggingface.co/hanzoui/Qwen-Image-Edit_Hanzo Studio) \n\n**Diffusion model**\n\n- [qwen_image_edit_2509_fp8_e4m3fn.safetensors](https://huggingface.co/hanzoui/Qwen-Image-Edit_HanzoStudio/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors)\n\n**LoRA**\n\n- [Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors)\n\n**VAE**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\nModel Storage Location\n\n```\nšŸ“‚ HanzoStudio/\nā”œā”€ā”€ šŸ“‚ models/\n│ ā”œā”€ā”€ šŸ“‚ diffusion_models/\n│ │ └── qwen_image_edit_2509_fp8_e4m3fn.safetensors\n│ ā”œā”€ā”€ šŸ“‚ loras/\n│ │ └── Qwen-Image-Lightning-4steps-V1.0.safetensors\n│ ā”œā”€ā”€ šŸ“‚ vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── šŸ“‚ text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n\n## Report issue\nIf you have any problems running this workflow, please report template-related issues via this link: [report the template issue here](https://github.com/hanzoui/workflow-templates/issues)"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 60,
"type": "SaveImage",
"pos": [
514.9999844190073,
-162.00007733911437
],
"size": [
770,
520
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 696
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"Hanzo Studio"
]
},
{
"id": 78,
"type": "LoadImage",
"pos": [
-415.00006233485897,
-162.00007733911437
],
"size": [
460,
568.3333333333334
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
695,
701
]
},
{
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"Node name for S&R": "LoadImage",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"image": true,
"upload": true
}
}
},
"widgets_values": [
"image_qwen_image_edit_2509_input_image.png",
"image"
]
},
{
"id": 435,
"type": "PrimitiveStringMultiline",
"pos": [
-400,
500
],
"size": [
430,
200
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
704,
705
]
}
],
"title": "Prompt",
"properties": {
"Node name for S&R": "PrimitiveStringMultiline"
},
"widgets_values": [
"Replace the cat with a dalmatian"
]
},
{
"id": 342,
"type": "SaveImage",
"pos": [
520,
500
],
"size": [
930,
840
],
"flags": {},
"order": 5,
"mode": 4,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 700
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"Hanzo Studio"
]
},
{
"id": 433,
"type": "eba40a3a-f6c5-48ac-b58e-55525d06b373",
"pos": [
85.00004629852845,
-162.00007733911437
],
"size": [
390,
460
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"label": "image",
"name": "image",
"type": "IMAGE",
"link": 695
},
{
"label": "image2 (optional)",
"name": "image2",
"type": "IMAGE",
"link": null
},
{
"label": "image3 (optional)",
"name": "image3",
"type": "IMAGE",
"link": null
},
{
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 705
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
696
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"prompt"
],
[
"3",
"seed"
],
[
"3",
"control_after_generate"
]
],
"cnr_id": "comfy-core",
"ver": "0.3.62"
},
"widgets_values": [
""
]
},
{
"id": 434,
"type": "090e935a-ca0d-4191-8f17-eba77774e4c2",
"pos": [
80,
500
],
"size": [
400,
470
],
"flags": {},
"order": 3,
"mode": 4,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 701
},
{
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 704
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
700
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"prompt"
],
[
"340",
"seed"
],
[
"340",
"control_after_generate"
]
]
},
"widgets_values": [
""
]
}
],
"links": [
[
695,
78,
0,
433,
0,
"IMAGE"
],
[
696,
433,
0,
60,
0,
"IMAGE"
],
[
700,
434,
0,
342,
0,
"IMAGE"
],
[
701,
78,
0,
434,
0,
"IMAGE"
],
[
704,
435,
0,
434,
1,
"STRING"
],
[
705,
435,
0,
433,
3,
"STRING"
]
],
"groups": [],
"definitions": {
"subgraphs": [
{
"id": "eba40a3a-f6c5-48ac-b58e-55525d06b373",
"version": 1,
"state": {
"lastGroupId": 4,
"lastNodeId": 117,
"lastLinkId": 252,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Image Edit (Qwen 2509)",
"inputNode": {
"id": -10,
"bounding": [
-1020,
450,
139.22265625,
120
]
},
"outputNode": {
"id": -20,
"bounding": [
1340,
290,
120,
60
]
},
"inputs": [
{
"id": "d5089bd3-63bc-4a24-b478-6565ed2364e3",
"name": "image",
"type": "IMAGE",
"linkIds": [
248
],
"label": "image",
"pos": [
-900.77734375,
470
]
},
{
"id": "9e80fff0-ed0a-439f-a16e-a4a6cc1eb601",
"name": "image2",
"type": "IMAGE",
"linkIds": [
235,
236
],
"label": "image2 (optional)",
"pos": [
-900.77734375,
490
]
},
{
"id": "49d98fd6-01b5-440b-8603-579252fd7fef",
"name": "image3",
"type": "IMAGE",
"linkIds": [
237,
238
],
"label": "image3 (optional)",
"pos": [
-900.77734375,
510
]
},
{
"id": "5de32f24-a7b5-4423-b772-72824005f585",
"name": "prompt",
"type": "STRING",
"linkIds": [
244
],
"pos": [
-900.77734375,
530
]
}
],
"outputs": [
{
"id": "c4ebfc18-de83-4361-8e42-767c3c8c25c0",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
110
],
"localized_name": "IMAGE",
"pos": [
1360,
310
]
}
],
"widgets": [],
"nodes": [
{
"id": 75,
"type": "CFGNorm",
"pos": [
470,
-20
],
"size": [
290,
60
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 141
}
],
"outputs": [
{
"localized_name": "patched_model",
"name": "patched_model",
"type": "MODEL",
"links": [
186
]
}
],
"properties": {
"Node name for S&R": "CFGNorm",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"strength": true
}
}
},
"widgets_values": [
1
]
},
{
"id": 39,
"type": "VAELoader",
"pos": [
-520,
320
],
"size": [
330,
60
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
76,
168,
206,
207
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 38,
"type": "CLIPLoader",
"pos": [
-520,
160
],
"size": [
330,
110
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
204,
205
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 37,
"type": "UNETLoader",
"pos": [
-520,
-100
],
"size": [
330,
90
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
184
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image-Edit_HanzoStudio/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 110,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-50,
180
],
"size": [
400,
200
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 204
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 206
},
{
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 251
},
{
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 236
},
{
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 238
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
210
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"widgets_values": [
""
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 66,
"type": "ModelSamplingAuraFlow",
"pos": [
470,
-130
],
"size": [
290,
60
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 185
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
141
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
3
]
},
{
"id": 111,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-50,
-90
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 205
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": 207
},
{
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 250
},
{
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 235
},
{
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": 237
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 244
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
211
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 88,
"type": "VAEEncode",
"pos": [
90,
670
],
"size": [
140,
46
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 249
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 168
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
246
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
820,
-120
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 128
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 76
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
110
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 89,
"type": "LoraLoaderModelOnly",
"pos": [
-510,
40
],
"size": [
310,
82
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 184
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
185
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"models": [
{
"name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
}
}
},
"widgets_values": [
"Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1
]
},
{
"id": 117,
"type": "FluxKontextImageScale",
"pos": [
-450,
670
],
"size": [
194.9458984375,
26.000000000000004
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 248
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
249,
250,
251
]
}
],
"properties": {
"Node name for S&R": "FluxKontextImageScale"
},
"widgets_values": []
},
{
"id": 3,
"type": "KSampler",
"pos": [
460,
90
],
"size": [
300,
474
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 186
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 211
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 210
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 246
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
128
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
0,
"randomize",
4,
1,
"euler",
"simple",
1
]
}
],
"groups": [
{
"id": 1,
"title": "Step1 - Load models",
"bounding": [
-543.3333333333334,
-168.33333333333334,
370,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 2 - Scale Image",
"bounding": [
-543.3333333333334,
431.6666666666667,
970,
320
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step 4 - Prompt",
"bounding": [
-143.33333333333334,
-168.33333333333334,
570,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 141,
"origin_id": 66,
"origin_slot": 0,
"target_id": 75,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 128,
"origin_id": 3,
"origin_slot": 0,
"target_id": 8,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 76,
"origin_id": 39,
"origin_slot": 0,
"target_id": 8,
"target_slot": 1,
"type": "VAE"
},
{
"id": 185,
"origin_id": 89,
"origin_slot": 0,
"target_id": 66,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 184,
"origin_id": 37,
"origin_slot": 0,
"target_id": 89,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 186,
"origin_id": 75,
"origin_slot": 0,
"target_id": 3,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 211,
"origin_id": 111,
"origin_slot": 0,
"target_id": 3,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 210,
"origin_id": 110,
"origin_slot": 0,
"target_id": 3,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 168,
"origin_id": 39,
"origin_slot": 0,
"target_id": 88,
"target_slot": 1,
"type": "VAE"
},
{
"id": 204,
"origin_id": 38,
"origin_slot": 0,
"target_id": 110,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 206,
"origin_id": 39,
"origin_slot": 0,
"target_id": 110,
"target_slot": 1,
"type": "VAE"
},
{
"id": 205,
"origin_id": 38,
"origin_slot": 0,
"target_id": 111,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 207,
"origin_id": 39,
"origin_slot": 0,
"target_id": 111,
"target_slot": 1,
"type": "VAE"
},
{
"id": 110,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 235,
"origin_id": -10,
"origin_slot": 1,
"target_id": 111,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 236,
"origin_id": -10,
"origin_slot": 1,
"target_id": 110,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 237,
"origin_id": -10,
"origin_slot": 2,
"target_id": 111,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 238,
"origin_id": -10,
"origin_slot": 2,
"target_id": 110,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 244,
"origin_id": -10,
"origin_slot": 3,
"target_id": 111,
"target_slot": 5,
"type": "STRING"
},
{
"id": 246,
"origin_id": 88,
"origin_slot": 0,
"target_id": 3,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 248,
"origin_id": -10,
"origin_slot": 0,
"target_id": 117,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 249,
"origin_id": 117,
"origin_slot": 0,
"target_id": 88,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 250,
"origin_id": 117,
"origin_slot": 0,
"target_id": 111,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 251,
"origin_id": 117,
"origin_slot": 0,
"target_id": 110,
"target_slot": 2,
"type": "IMAGE"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
},
{
"id": "090e935a-ca0d-4191-8f17-eba77774e4c2",
"version": 1,
"state": {
"lastGroupId": 49,
"lastNodeId": 433,
"lastLinkId": 700,
"lastRerouteId": 0
},
"revision": 1,
"config": {},
"name": "Image Edit (Qwen 2509 Raw Latent)",
"inputNode": {
"id": -10,
"bounding": [
-420,
1735,
120,
80
]
},
"outputNode": {
"id": -20,
"bounding": [
1450,
1735,
120,
60
]
},
"inputs": [
{
"id": "c3477ffa-a28a-4406-8de9-ed0e4e4240d1",
"name": "image",
"type": "IMAGE",
"linkIds": [
632
],
"localized_name": "image",
"pos": [
-320,
1755
]
},
{
"id": "54c1b155-73b0-4da5-b8a2-b96afbe603d1",
"name": "prompt",
"type": "STRING",
"linkIds": [
700
],
"pos": [
-320,
1775
]
}
],
"outputs": [
{
"id": "363b67f6-82af-4261-a0ed-d52900200705",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
507
],
"localized_name": "IMAGE",
"pos": [
1470,
1755
]
}
],
"widgets": [],
"nodes": [
{
"id": 335,
"type": "CFGNorm",
"pos": [
800,
1420
],
"size": [
290,
66.66666666666667
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 499
}
],
"outputs": [
{
"localized_name": "patched_model",
"name": "patched_model",
"type": "MODEL",
"links": [
503
]
}
],
"properties": {
"Node name for S&R": "CFGNorm",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"strength": true
}
}
},
"widgets_values": [
1
]
},
{
"id": 337,
"type": "VAELoader",
"pos": [
-210,
1770
],
"size": [
330,
70
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
501,
593
]
}
],
"properties": {
"Node name for S&R": "VAELoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_image_vae.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/vae/qwen_image_vae.safetensors",
"directory": "vae"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 338,
"type": "CLIPLoader",
"pos": [
-210,
1610
],
"size": [
330,
127.7734375
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "CLIP",
"name": "CLIP",
"type": "CLIP",
"slot_index": 0,
"links": [
510,
515
]
}
],
"properties": {
"Node name for S&R": "CLIPLoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_2.5_vl_7b_fp8_scaled.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image_HanzoStudio/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors",
"directory": "text_encoders"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 341,
"type": "UNETLoader",
"pos": [
-210,
1350
],
"size": [
330,
98.88020833333334
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": [
521
]
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"url": "https://huggingface.co/hanzoui/Qwen-Image-Edit_HanzoStudio/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
"qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"default"
]
},
{
"id": 339,
"type": "ModelSamplingAuraFlow",
"pos": [
800,
1310
],
"size": [
290,
66.66666666666667
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 502
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
499
]
}
],
"properties": {
"Node name for S&R": "ModelSamplingAuraFlow",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
3
]
},
{
"id": 354,
"type": "LoraLoaderModelOnly",
"pos": [
-210,
1490
],
"size": [
330,
96.66666666666667
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 521
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
502
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"models": [
{
"name": "Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Edit-2509/Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
"directory": "loras"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {
"lora_name": true,
"strength_model": true
}
}
},
"widgets_values": [
"Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1
]
},
{
"id": 336,
"type": "VAEDecode",
"pos": [
1140,
1310
],
"size": [
210,
60
],
"flags": {
"collapsed": false
},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 500
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 501
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"slot_index": 0,
"links": [
507
]
}
],
"properties": {
"Node name for S&R": "VAEDecode",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": []
},
{
"id": 375,
"type": "VAEEncode",
"pos": [
150,
2100
],
"size": [
187.5,
60
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 633
},
{
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 593
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
600,
618
]
}
],
"properties": {
"Node name for S&R": "VAEEncode",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 395,
"type": "ReferenceLatent",
"pos": [
440,
2080
],
"size": [
204.134765625,
60
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 625
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 618
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
691
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63"
},
"widgets_values": []
},
{
"id": 389,
"type": "MarkdownNote",
"pos": [
800,
2050
],
"size": [
300,
201.484375
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: KSampler settings",
"properties": {},
"widgets_values": [
"You can test and find the best setting by yourself. The following table is for reference.\n| Parameters | Qwen Team | Comfy Original | with 4steps LoRA |\n|--------|---------|------------|---------------------------|\n| Steps | 50 | 20 | 4 |\n| CFG | 4.0 | 2.5 | 1.0 |"
],
"color": "#432",
"bgcolor": "#000"
},
{
"id": 347,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
260,
1630
],
"size": [
400,
200
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 510
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
631
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"widgets_values": [
""
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 340,
"type": "KSampler",
"pos": [
800,
1530
],
"size": [
300,
474
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 503
},
{
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 691
},
{
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 631
},
{
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 600
}
],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"slot_index": 0,
"links": [
500
]
}
],
"properties": {
"Node name for S&R": "KSampler",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"widget_ue_connectable": {}
},
"widgets_values": [
0,
"randomize",
4,
1,
"euler",
"simple",
1
]
},
{
"id": 348,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
260,
1380
],
"size": [
400,
200
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 515
},
{
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": 700
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
625
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"widgets_values": [
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 397,
"type": "FluxKontextImageScale",
"pos": [
-150,
2090
],
"size": [
194.9458984375,
40
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 632
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
633
]
}
],
"properties": {
"Node name for S&R": "FluxKontextImageScale",
"cnr_id": "comfy-core",
"ver": "0.3.70"
},
"widgets_values": []
}
],
"groups": [
{
"id": 49,
"title": "Raw latent version",
"bounding": [
-240,
1240,
1630,
1050
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 45,
"title": "Load models",
"bounding": [
-230,
1280,
370,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 47,
"title": "Prompt",
"bounding": [
170,
1280,
570,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"links": [
{
"id": 499,
"origin_id": 339,
"origin_slot": 0,
"target_id": 335,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 503,
"origin_id": 335,
"origin_slot": 0,
"target_id": 340,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 691,
"origin_id": 395,
"origin_slot": 0,
"target_id": 340,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 631,
"origin_id": 347,
"origin_slot": 0,
"target_id": 340,
"target_slot": 2,
"type": "CONDITIONING"
},
{
"id": 600,
"origin_id": 375,
"origin_slot": 0,
"target_id": 340,
"target_slot": 3,
"type": "LATENT"
},
{
"id": 502,
"origin_id": 354,
"origin_slot": 0,
"target_id": 339,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 521,
"origin_id": 341,
"origin_slot": 0,
"target_id": 354,
"target_slot": 0,
"type": "MODEL"
},
{
"id": 500,
"origin_id": 340,
"origin_slot": 0,
"target_id": 336,
"target_slot": 0,
"type": "LATENT"
},
{
"id": 501,
"origin_id": 337,
"origin_slot": 0,
"target_id": 336,
"target_slot": 1,
"type": "VAE"
},
{
"id": 633,
"origin_id": 397,
"origin_slot": 0,
"target_id": 375,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 593,
"origin_id": 337,
"origin_slot": 0,
"target_id": 375,
"target_slot": 1,
"type": "VAE"
},
{
"id": 625,
"origin_id": 348,
"origin_slot": 0,
"target_id": 395,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 618,
"origin_id": 375,
"origin_slot": 0,
"target_id": 395,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 515,
"origin_id": 338,
"origin_slot": 0,
"target_id": 348,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 510,
"origin_id": 338,
"origin_slot": 0,
"target_id": 347,
"target_slot": 0,
"type": "CLIP"
},
{
"id": 632,
"origin_id": -10,
"origin_slot": 0,
"target_id": 397,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 507,
"origin_id": 336,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 700,
"origin_id": -10,
"origin_slot": 1,
"target_id": 348,
"target_slot": 5,
"type": "STRING"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.5449065905762716,
"offset": [
1047.7494235352162,
333.51648103395775
]
},
"frontendVersion": "1.38.6",
"workflowRendererVersion": "LG",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}