Files
workflow-templates-broken-z…/templates/02_qwen_Image_edit_subgraphed.json
2026-06-07 20:47:45 -07:00

1734 lines
45 KiB
JSON
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 123,
"last_link_id": 234,
"nodes": [
{
"id": 120,
"type": "LoadImage",
"pos": [
-958.6665882874828,
735.3334469374631
],
"size": [
280,
325.98958333333337
],
"flags": {},
"order": 0,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
233
]
},
{
"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": [
"02_qwen_Image_edit_subgraphed_input_image.png",
"image"
]
},
{
"id": 121,
"type": "LoadImage",
"pos": [
-648.6664418077778,
735.3334469374631
],
"size": [
260,
325.98958333333337
],
"flags": {},
"order": 1,
"mode": 4,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
234
]
},
{
"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": [
"02_qwen_Image_edit_subgraphed_input_image.png",
"image"
]
},
{
"id": 78,
"type": "LoadImage",
"pos": [
-967.9999287816738,
188.00001572579203
],
"size": [
580,
441.14583333333337
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
232
]
},
{
"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": [
"02_qwen_Image_edit_subgraphed_input_image.png",
"image"
]
},
{
"id": 115,
"type": "33e101ba-5dc4-4252-b3eb-2a67387cb931",
"pos": [
-347.9996358222636,
188.00001572579203
],
"size": [
465.7682291666667,
614.4270833333334
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"label": "image_input",
"name": "image",
"type": "IMAGE",
"link": 232
},
{
"label": "image2 (optional)",
"name": "image2",
"type": "IMAGE",
"link": 233
},
{
"label": "image3 (optional)",
"name": "image3",
"type": "IMAGE",
"link": 234
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
231
]
}
],
"properties": {
"proxyWidgets": [
[
"-1",
"unet_name"
],
[
"-1",
"lora_name"
],
[
"-1",
"seed"
],
[
"-1",
"steps"
],
[
"-1",
"cfg"
],
[
"-1",
"prompt"
]
],
"cnr_id": "comfy-core",
"ver": "0.3.62"
},
"widgets_values": [
"qwen_image_edit_2509_fp8_e4m3fn.safetensors",
"Qwen-Image-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors",
1118877715456453,
4,
1,
"Change the style of the image to a realistic style. The cloud in the background is realistic and fluffy. The balloon is yellow and reflective. "
]
},
{
"id": 60,
"type": "SaveImage",
"pos": [
160,
190
],
"size": [
962.8776041666667,
623.0208333333334
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 231
}
],
"outputs": [],
"properties": {
"Node name for S&R": "SaveImage",
"cnr_id": "comfy-core",
"ver": "0.3.65"
},
"widgets_values": [
"Hanzo Studio"
]
},
{
"id": 119,
"type": "MarkdownNote",
"pos": [
-1660,
190
],
"size": [
660,
1115.2083333333335
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: how to use this workflow",
"properties": {},
"widgets_values": [
"[Tutorial](https://docs.hanzo.ai/tutorials/image/qwen/qwen-image-edit) \n\n## About Qwen Image Edit model\n\n**Qwen Image Edit** is an image-editing model. It supports image editing tasks such as changing the background of an image, replacing something on it, changing a character's outfit, and so on.\n\nIt supports up to 3 images as input. So, you can use one image as the main image, and the others as style references, background, or something.\n\n**Qwen Image Edit 2509 (subgraph)** node is a subgraph, which is converted from the Qwen-Image workflow.\n\n## For Comfy Cloud Users\n\nIf you are using [cloud.hanzo.ai](https://cloud.hanzo.ai/):\n\n1. Since the workflow in the Cloud will have the input image ready, for the first run, you can just click the run button to see what happens. \n\n2. Update the text (prompt) in the **Qwen Image Edit 2509 (subgraph)** node. Try the following prompts:\n - \"Remove the yellow balloon\"\n - \"Change the balloon's color to blue.\"\n - \"Replace the man with a child, keep the same oil-painting style.\" \n\n3. Try to upload your own image and then try to apply some changes to it.\n\n## For Local Users\n\nThis workflow requires high VRAM(More than 16GB). If you are using the Hanzo Studio for the first time, you can get started here: [Basic text-to-image workflow for beginners\n](https://docs.hanzo.ai/tutorials/basic/text-to-image)\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-Edit-2509-Lightning-4steps-V1.0-bf16.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 text_encoders/\n│ └── qwen_2.5_vl_7b_fp8_scaled.safetensors\n```\n"
],
"color": "#432",
"bgcolor": "#000"
}
],
"links": [
[
231,
115,
0,
60,
0,
"IMAGE"
],
[
232,
78,
0,
115,
0,
"IMAGE"
],
[
233,
120,
0,
115,
1,
"IMAGE"
],
[
234,
121,
0,
115,
2,
"IMAGE"
]
],
"groups": [
{
"id": 1,
"title": "More inputs (Select and Ctrl-B to enable)",
"bounding": [
-968.6666343961194,
665.3333301817496,
590,
409.6
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "33e101ba-5dc4-4252-b3eb-2a67387cb931",
"version": 1,
"state": {
"lastGroupId": 4,
"lastNodeId": 116,
"lastLinkId": 247,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Qwen Image Edit 2509 (Simplified)",
"inputNode": {
"id": -10,
"bounding": [
-1020,
450,
132.71875,
220
]
},
"outputNode": {
"id": -20,
"bounding": [
1340,
290,
120,
60
]
},
"inputs": [
{
"id": "9216bc61-7959-4565-b2a0-03011b527b90",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
226
],
"pos": [
-907.28125,
470
]
},
{
"id": "ce4f6ff0-6e5e-4163-803d-1109a26250cc",
"name": "lora_name",
"type": "COMBO",
"linkIds": [
227,
247
],
"pos": [
-907.28125,
490
]
},
{
"id": "bad62020-e7c6-4f46-8c31-5f832eb31294",
"name": "seed",
"type": "INT",
"linkIds": [
229
],
"pos": [
-907.28125,
510
]
},
{
"id": "10ce0fbf-8deb-4f1d-986e-c72f09427412",
"name": "steps",
"type": "INT",
"linkIds": [
230
],
"pos": [
-907.28125,
530
]
},
{
"id": "d5089bd3-63bc-4a24-b478-6565ed2364e3",
"name": "image",
"type": "IMAGE",
"linkIds": [
234
],
"label": "image_input",
"pos": [
-907.28125,
550
]
},
{
"id": "9e80fff0-ed0a-439f-a16e-a4a6cc1eb601",
"name": "image2",
"type": "IMAGE",
"linkIds": [
235,
236
],
"label": "image2 (optional)",
"pos": [
-907.28125,
570
]
},
{
"id": "49d98fd6-01b5-440b-8603-579252fd7fef",
"name": "image3",
"type": "IMAGE",
"linkIds": [
237,
238
],
"label": "image3 (optional)",
"pos": [
-907.28125,
590
]
},
{
"id": "b09977df-e181-4b0f-bcda-b8ac66c6f22e",
"name": "cfg",
"type": "FLOAT",
"linkIds": [
243
],
"pos": [
-907.28125,
610
]
},
{
"id": "5de32f24-a7b5-4423-b772-72824005f585",
"name": "prompt",
"type": "STRING",
"linkIds": [
244
],
"pos": [
-907.28125,
630
]
}
],
"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": 10,
"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": 8,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": 226
}
],
"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": 14,
"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": 225
},
{
"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": 113,
"type": "MarkdownNote",
"pos": [
460,
1030
],
"size": [
330,
90
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About image size",
"properties": {},
"widgets_values": [
"You can use the latent from the **EmptySD3LatentImage** to replace **VAE Encode**, so you can customize the image size."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 97,
"type": "MarkdownNote",
"pos": [
470,
610
],
"size": [
300,
160
],
"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\n| Model | Steps | CFG |\n|---------------------|---------------|---------------|\n| Offical | 50 | 4.0 \n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |\n"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 66,
"type": "ModelSamplingAuraFlow",
"pos": [
470,
-130
],
"size": [
290,
60
],
"flags": {},
"order": 9,
"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": 15,
"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": 224
},
{
"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": [
"Change the style of the image to a realistic style. The cloud in the background is realistic and fluffy. The balloon is yellow and reflective. "
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 112,
"type": "EmptySD3LatentImage",
"pos": [
490,
860
],
"size": [
270,
106
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [
{
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.59"
},
"widgets_values": [
2560,
1440,
1
]
},
{
"id": 96,
"type": "MarkdownNote",
"pos": [
-460,
810
],
"size": [
290,
140
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [],
"outputs": [],
"properties": {},
"widgets_values": [
"This node is to avoid bad output results caused by excessively large input image sizes. Because when we input one image, we use the size of that input image.\n\nThe **TextEncodeQwenImageEditPlus** will scale your input to 1024×104 pixels. We use the size of your first input image. This node is to avoid having an input image size that is too large (such as 3000×3000 pixels), which could bring bad results."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 88,
"type": "VAEEncode",
"pos": [
90,
670
],
"size": [
140,
46
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 178
},
{
"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": 93,
"type": "ImageScaleToTotalPixels",
"pos": [
-440,
660
],
"size": [
270,
106
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 234
}
],
"outputs": [
{
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
178,
224,
225
]
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels",
"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": {
"upscale_method": true,
"megapixels": true
}
}
},
"widgets_values": [
"lanczos",
1,
1
]
},
{
"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
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": 229
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": 230
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": 243
}
],
"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": [
1118877715456453,
"randomize",
4,
1,
"euler",
"simple",
1
]
},
{
"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,
240
]
}
],
"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": 116,
"type": "PreviewImage",
"pos": [
1430,
-130
],
"size": [
714.5306396484375,
742.0773315429688
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 240
}
],
"outputs": [],
"properties": {
"Node name for S&R": "PreviewImage",
"cnr_id": "comfy-core",
"ver": "0.3.65"
},
"widgets_values": []
},
{
"id": 89,
"type": "LoraLoaderModelOnly",
"pos": [
-510,
40
],
"size": [
310,
82
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 184
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": 247
}
],
"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
]
}
],
"groups": [
{
"id": 1,
"title": "Step1 - Load models",
"bounding": [
-540,
-170,
370,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 2,
"title": "Step 2 - Scale Image",
"bounding": [
-540,
430,
970,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 3,
"title": "Step 4 - Prompt",
"bounding": [
-140,
-170,
570,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 4,
"title": "Step3 - Image Size",
"bounding": [
460,
780,
310,
200
],
"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": 178,
"origin_id": 93,
"origin_slot": 0,
"target_id": 88,
"target_slot": 0,
"type": "IMAGE"
},
{
"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": 225,
"origin_id": 93,
"origin_slot": 0,
"target_id": 110,
"target_slot": 2,
"type": "IMAGE"
},
{
"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": 224,
"origin_id": 93,
"origin_slot": 0,
"target_id": 111,
"target_slot": 2,
"type": "IMAGE"
},
{
"id": 110,
"origin_id": 8,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 226,
"origin_id": -10,
"origin_slot": 0,
"target_id": 37,
"target_slot": 0,
"type": "COMBO"
},
{
"id": 229,
"origin_id": -10,
"origin_slot": 2,
"target_id": 3,
"target_slot": 4,
"type": "INT"
},
{
"id": 230,
"origin_id": -10,
"origin_slot": 3,
"target_id": 3,
"target_slot": 5,
"type": "INT"
},
{
"id": 234,
"origin_id": -10,
"origin_slot": 4,
"target_id": 93,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 235,
"origin_id": -10,
"origin_slot": 5,
"target_id": 111,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 236,
"origin_id": -10,
"origin_slot": 5,
"target_id": 110,
"target_slot": 3,
"type": "IMAGE"
},
{
"id": 237,
"origin_id": -10,
"origin_slot": 6,
"target_id": 111,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 238,
"origin_id": -10,
"origin_slot": 6,
"target_id": 110,
"target_slot": 4,
"type": "IMAGE"
},
{
"id": 240,
"origin_id": 8,
"origin_slot": 0,
"target_id": 116,
"target_slot": 0,
"type": "IMAGE"
},
{
"id": 243,
"origin_id": -10,
"origin_slot": 7,
"target_id": 3,
"target_slot": 6,
"type": "FLOAT"
},
{
"id": 244,
"origin_id": -10,
"origin_slot": 8,
"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": 247,
"origin_id": -10,
"origin_slot": 1,
"target_id": 89,
"target_slot": 1,
"type": "COMBO"
}
],
"extra": {
"workflowRendererVersion": "LG"
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 0.6518393892974448,
"offset": [
2167.2021277746844,
98.33098600924336
]
},
"frontendVersion": "1.35.7",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"version": 0.4
}