Qwen-Image-Edit-InScene / workflow.json
peteromallet's picture
Upload workflow.json
9bd0ffe verified
{
"id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb",
"revision": 0,
"last_node_id": 394,
"last_link_id": 623,
"nodes": [
{
"id": 377,
"type": "VAEEncode",
"pos": [
-121.45683288574219,
2561.767822265625
],
"size": [
140,
46
],
"flags": {},
"order": 13,
"mode": 4,
"inputs": [
{
"label": "pixels",
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 597
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 595
}
],
"outputs": [
{
"label": "LATENT",
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
608
]
}
],
"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": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 343,
"type": "LoadImage",
"pos": [
-551.4566040039062,
2191.76806640625
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 0,
"mode": 4,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
596
]
},
{
"label": "MASK",
"localized_name": "MASK",
"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
},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"0_1 (5).png",
"image"
]
},
{
"id": 344,
"type": "LoadImage",
"pos": [
-261.4567565917969,
2191.76806640625
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 1,
"mode": 4,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
597
]
},
{
"label": "MASK",
"localized_name": "MASK",
"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
},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"pose.png",
"image"
]
},
{
"id": 337,
"type": "VAELoader",
"pos": [
-867.2044677734375,
1992.507568359375
],
"size": [
330,
60
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "vae_name",
"name": "vae_name",
"type": "COMBO",
"widget": {
"name": "vae_name"
},
"link": null
}
],
"outputs": [
{
"label": "VAE",
"localized_name": "VAE",
"name": "VAE",
"type": "VAE",
"slot_index": 0,
"links": [
501,
593,
594,
595
]
}
],
"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/Comfy-Org/Qwen-Image_ComfyUI/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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_image_vae.safetensors"
]
},
{
"id": 339,
"type": "ModelSamplingAuraFlow",
"pos": [
142.7958221435547,
1532.5076904296875
],
"size": [
290,
60
],
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 615
},
{
"localized_name": "shift",
"name": "shift",
"type": "FLOAT",
"widget": {
"name": "shift"
},
"link": null
}
],
"outputs": [
{
"label": "MODEL",
"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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
3
]
},
{
"id": 335,
"type": "CFGNorm",
"pos": [
142.7958221435547,
1642.5076904296875
],
"size": [
290,
60
],
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 499
},
{
"localized_name": "strength",
"name": "strength",
"type": "FLOAT",
"widget": {
"name": "strength"
},
"link": null
}
],
"outputs": [
{
"label": "patched_model",
"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
},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1
]
},
{
"id": 336,
"type": "VAEDecode",
"pos": [
482.795654296875,
1532.5076904296875
],
"size": [
210,
46
],
"flags": {
"collapsed": false
},
"order": 23,
"mode": 0,
"inputs": [
{
"label": "samples",
"localized_name": "samples",
"name": "samples",
"type": "LATENT",
"link": 500
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 501
}
],
"outputs": [
{
"label": "IMAGE",
"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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 352,
"type": "MarkdownNote",
"pos": [
142.7958221435547,
2272.5068359375
],
"size": [
300,
160
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: KSampler settings",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"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| Official | 50 | 4.0 |\n| fp8_e4m3fn | 20 | 2.5 |\n| fp8_e4m3fn + 4steps LoRA | 4 | 1.0 |"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 351,
"type": "MarkdownNote",
"pos": [
132.7958221435547,
2692.5068359375
],
"size": [
330,
90
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: About image size",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"You can use the latent from **EmptySD3LatentImage** to replace **VAE Encode** to customize the image size."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 383,
"type": "c46c74c1-cfc4-41eb-81a8-9c6701737ef6",
"pos": [
-217.20423889160156,
2702.5068359375
],
"size": [
243.58987426757812,
110
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"label": "latent_2",
"localized_name": "latent_2",
"name": "latent_2",
"type": "LATENT",
"link": 604
},
{
"label": "latent",
"name": "latent",
"type": "LATENT",
"link": 609
},
{
"label": "latent_1",
"name": "latent_1",
"type": "LATENT",
"link": 608
},
{
"label": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 610
},
{
"label": "conditioning_1",
"name": "conditioning_1",
"type": "CONDITIONING",
"link": 611
}
],
"outputs": [
{
"label": "CONDITIONING_1",
"localized_name": "CONDITIONING_1",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"links": [
607
]
},
{
"label": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
612
]
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.3.63",
"proxyWidgets": [],
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 376,
"type": "VAEEncode",
"pos": [
-411.45660400390625,
2561.767822265625
],
"size": [
140,
46
],
"flags": {},
"order": 12,
"mode": 4,
"inputs": [
{
"label": "pixels",
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 596
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 594
}
],
"outputs": [
{
"label": "LATENT",
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
609
]
}
],
"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": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 338,
"type": "CLIPLoader",
"pos": [
-867.2044677734375,
1832.5076904296875
],
"size": [
330,
110
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "clip_name",
"name": "clip_name",
"type": "COMBO",
"widget": {
"name": "clip_name"
},
"link": null
},
{
"localized_name": "type",
"name": "type",
"type": "COMBO",
"widget": {
"name": "type"
},
"link": null
},
{
"localized_name": "device",
"name": "device",
"shape": 7,
"type": "COMBO",
"widget": {
"name": "device"
},
"link": null
}
],
"outputs": [
{
"label": "CLIP",
"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/Comfy-Org/Qwen-Image_ComfyUI/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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_2.5_vl_7b_fp8_scaled.safetensors",
"qwen_image",
"default"
]
},
{
"id": 341,
"type": "UNETLoader",
"pos": [
-950.315673828125,
1204.138916015625
],
"size": [
330,
90
],
"flags": {},
"order": 6,
"mode": 4,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"label": "MODEL",
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"slot_index": 0,
"links": []
}
],
"properties": {
"Node name for S&R": "UNETLoader",
"cnr_id": "comfy-core",
"ver": "0.3.48",
"models": [
{
"name": "qwen_image_edit_fp16.safetensors",
"url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp16.safetensors",
"directory": "diffusion_models"
}
],
"enableTabs": false,
"tabWidth": 65,
"tabXOffset": 10,
"hasSecondTab": false,
"secondTabText": "Send Back",
"secondTabOffset": 80,
"secondTabWidth": 65,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"qwen_image_edit_fp16.safetensors",
"default"
]
},
{
"id": 345,
"type": "EmptySD3LatentImage",
"pos": [
152.79580688476562,
2522.5068359375
],
"size": [
270,
106
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "width",
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": null
},
{
"localized_name": "height",
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": null
},
{
"localized_name": "batch_size",
"name": "batch_size",
"type": "INT",
"widget": {
"name": "batch_size"
},
"link": null
}
],
"outputs": [
{
"label": "LATENT",
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": []
}
],
"properties": {
"Node name for S&R": "EmptySD3LatentImage",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
1024,
640,
1
]
},
{
"id": 342,
"type": "SaveImage",
"pos": [
469.2864990234375,
1665.0369873046875
],
"size": [
950,
1040
],
"flags": {},
"order": 24,
"mode": 0,
"inputs": [
{
"label": "images",
"localized_name": "images",
"name": "images",
"type": "IMAGE",
"link": 507
},
{
"localized_name": "filename_prefix",
"name": "filename_prefix",
"type": "STRING",
"widget": {
"name": "filename_prefix"
},
"link": null
}
],
"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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 347,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-397.20404052734375,
1852.507568359375
],
"size": [
400,
200
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"label": "clip",
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 510
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"label": "image1",
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "image2",
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "image3",
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": null
}
],
"outputs": [
{
"label": "CONDITIONING",
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
611
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
""
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 375,
"type": "VAEEncode",
"pos": [
-711.456787109375,
2561.767822265625
],
"size": [
140,
46
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"label": "pixels",
"localized_name": "pixels",
"name": "pixels",
"type": "IMAGE",
"link": 592
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"type": "VAE",
"link": 593
}
],
"outputs": [
{
"label": "LATENT",
"localized_name": "LATENT",
"name": "LATENT",
"type": "LATENT",
"links": [
604,
621
]
}
],
"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": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": []
},
{
"id": 348,
"type": "TextEncodeQwenImageEditPlus",
"pos": [
-397.20404052734375,
1582.5076904296875
],
"size": [
400,
200
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"label": "clip",
"localized_name": "clip",
"name": "clip",
"type": "CLIP",
"link": 515
},
{
"label": "vae",
"localized_name": "vae",
"name": "vae",
"shape": 7,
"type": "VAE",
"link": null
},
{
"label": "image1",
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "image2",
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"label": "image3",
"localized_name": "image3",
"name": "image3",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "prompt",
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": null
}
],
"outputs": [
{
"label": "CONDITIONING",
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
610
]
}
],
"properties": {
"Node name for S&R": "TextEncodeQwenImageEditPlus",
"cnr_id": "comfy-core",
"ver": "0.3.59",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"make an image of the woman in a different pose and wearing a top hot"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 388,
"type": "MarkdownNote",
"pos": [
-969.6990356445312,
1439.517822265625
],
"size": [
310,
150
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Note: Raw latent version",
"properties": {
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Since the **TextEncodeQwenImageEditPlus** node will scale the image to 1M pixels, you might find that the output has a pixel-shifting issue.\n\nThe **Raw latent version** is to provide the raw latent to the sampler. This is the way you can provide the raw latent as an input condition."
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 340,
"type": "KSampler",
"pos": [
142.7958221435547,
1752.5076904296875
],
"size": [
300,
474
],
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 503
},
{
"label": "positive",
"localized_name": "positive",
"name": "positive",
"type": "CONDITIONING",
"link": 607
},
{
"label": "negative",
"localized_name": "negative",
"name": "negative",
"type": "CONDITIONING",
"link": 612
},
{
"label": "latent_image",
"localized_name": "latent_image",
"name": "latent_image",
"type": "LATENT",
"link": 621
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"localized_name": "steps",
"name": "steps",
"type": "INT",
"widget": {
"name": "steps"
},
"link": null
},
{
"localized_name": "cfg",
"name": "cfg",
"type": "FLOAT",
"widget": {
"name": "cfg"
},
"link": null
},
{
"localized_name": "sampler_name",
"name": "sampler_name",
"type": "COMBO",
"widget": {
"name": "sampler_name"
},
"link": null
},
{
"localized_name": "scheduler",
"name": "scheduler",
"type": "COMBO",
"widget": {
"name": "scheduler"
},
"link": null
},
{
"localized_name": "denoise",
"name": "denoise",
"type": "FLOAT",
"widget": {
"name": "denoise"
},
"link": null
}
],
"outputs": [
{
"label": "LATENT",
"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,
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
441110359394508,
"randomize",
5,
1,
"euler",
"simple",
1
]
},
{
"id": 349,
"type": "LoadImage",
"pos": [
-860.4247436523438,
2169.579345703125
],
"size": [
274.080078125,
314.0000305175781
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "choose file to upload",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"label": "IMAGE",
"localized_name": "IMAGE",
"name": "IMAGE",
"type": "IMAGE",
"links": [
592
]
},
{
"label": "MASK",
"localized_name": "MASK",
"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
},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"buffy.png",
"image"
]
},
{
"id": 390,
"type": "LoraLoaderModelOnly",
"pos": [
-408.7357482910156,
2955.51806640625
],
"size": [
270,
82
],
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 622
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
],
"outputs": [
{
"label": "MODEL",
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
615
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.65",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.3"
}
},
"widgets_values": [
"QWEN_InSubject-0.5.safetensors",
1
]
},
{
"id": 394,
"type": "UNETLoader",
"pos": [
-849.7191162109375,
1565.225341796875
],
"size": [
270,
82
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "unet_name",
"name": "unet_name",
"type": "COMBO",
"widget": {
"name": "unet_name"
},
"link": null
},
{
"localized_name": "weight_dtype",
"name": "weight_dtype",
"type": "COMBO",
"widget": {
"name": "weight_dtype"
},
"link": null
}
],
"outputs": [
{
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
623
]
}
],
"properties": {
"Node name for S&R": "UNETLoader"
},
"widgets_values": [
"qwen_image_edit_fp16.safetensors",
"default"
]
},
{
"id": 354,
"type": "LoraLoaderModelOnly",
"pos": [
-866.3267822265625,
1702.9407958984375
],
"size": [
310,
82
],
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"label": "model",
"localized_name": "model",
"name": "model",
"type": "MODEL",
"link": 623
},
{
"localized_name": "lora_name",
"name": "lora_name",
"type": "COMBO",
"widget": {
"name": "lora_name"
},
"link": null
},
{
"localized_name": "strength_model",
"name": "strength_model",
"type": "FLOAT",
"widget": {
"name": "strength_model"
},
"link": null
}
],
"outputs": [
{
"label": "MODEL",
"localized_name": "MODEL",
"name": "MODEL",
"type": "MODEL",
"links": [
622
]
}
],
"properties": {
"Node name for S&R": "LoraLoaderModelOnly",
"cnr_id": "comfy-core",
"ver": "0.3.50",
"models": [
{
"name": "Qwen-Image-Lightning-4steps-V1.0.safetensors",
"url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.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
},
"version": "7.3",
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"Qwen-Image-Lightning-4steps-V1.0.safetensors",
1
]
},
{
"id": 99,
"type": "MarkdownNote",
"pos": [
-1650.139892578125,
1351.55615234375
],
"size": [
550,
550
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [],
"outputs": [],
"title": "Model links",
"properties": {
"ue_properties": {
"version": "7.3",
"widget_ue_connectable": {},
"input_ue_unconnectable": {}
}
},
"widgets_values": [
"## QwenEdit Model links\n\nYou can find all the models on [Comfy-Org/Qwen-Image_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) and [Comfy-Org/Qwen-Image-Edit_ComfyUI](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI)\n\n**Diffusion model**\n\n- [qwen_image_edit_fp16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp16.safetensors)\n\n**Lightning LoRA (4-step)**\n\n- [Qwen-Image-Lightning-4steps-V1.0.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-4steps-V1.0.safetensors)\n\n**Text encoder**\n\n- [qwen_2.5_vl_7b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/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/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors)\n\n## InSeries LoRAs\n\n- [InStyle](https://huggingface.co/peteromallet/Qwen-Image-Edit-InStyle)\n- [InSubject](https://huggingface.co/peteromallet/Qwen-Image-Edit-InSubject)\n- [InScene](https://huggingface.co/peteromallet/Qwen-Image-Edit-InScene)"
],
"color": "#432",
"bgcolor": "#653"
}
],
"links": [
[
499,
339,
0,
335,
0,
"MODEL"
],
[
500,
340,
0,
336,
0,
"LATENT"
],
[
501,
337,
0,
336,
1,
"VAE"
],
[
503,
335,
0,
340,
0,
"MODEL"
],
[
507,
336,
0,
342,
0,
"IMAGE"
],
[
510,
338,
0,
347,
0,
"CLIP"
],
[
515,
338,
0,
348,
0,
"CLIP"
],
[
592,
349,
0,
375,
0,
"IMAGE"
],
[
593,
337,
0,
375,
1,
"VAE"
],
[
594,
337,
0,
376,
1,
"VAE"
],
[
595,
337,
0,
377,
1,
"VAE"
],
[
596,
343,
0,
376,
0,
"IMAGE"
],
[
597,
344,
0,
377,
0,
"IMAGE"
],
[
604,
375,
0,
383,
0,
"LATENT"
],
[
607,
383,
0,
340,
1,
"CONDITIONING"
],
[
608,
377,
0,
383,
2,
"LATENT"
],
[
609,
376,
0,
383,
1,
"LATENT"
],
[
610,
348,
0,
383,
3,
"CONDITIONING"
],
[
611,
347,
0,
383,
4,
"CONDITIONING"
],
[
612,
383,
1,
340,
2,
"CONDITIONING"
],
[
615,
390,
0,
339,
0,
"MODEL"
],
[
621,
375,
0,
340,
3,
"LATENT"
],
[
622,
354,
0,
390,
0,
"MODEL"
],
[
623,
394,
0,
354,
0,
"MODEL"
]
],
"groups": [
{
"id": 49,
"title": "Raw latent version",
"bounding": [
-897.204345703125,
1462.5076904296875,
2330,
1363.5999755859375
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 45,
"title": "Step1 - Load models",
"bounding": [
-887.204345703125,
1502.5076904296875,
370,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 46,
"title": "Step 2 - Upload image for editing",
"bounding": [
-881.4567260742188,
2091.767822265625,
970,
550
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 47,
"title": "Step 4 - Prompt",
"bounding": [
-487.20416259765625,
1502.5076904296875,
570,
570
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 48,
"title": "Step3 - Image Size",
"bounding": [
132.7958221435547,
2452.5068359375,
310,
200
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
},
{
"id": 50,
"title": "Group",
"bounding": [
-876.38671875,
2854.67041015625,
898.1263427734375,
490.8988342285156
],
"color": "#3f789e",
"font_size": 24,
"flags": {}
}
],
"definitions": {
"subgraphs": [
{
"id": "c46c74c1-cfc4-41eb-81a8-9c6701737ef6",
"version": 1,
"state": {
"lastGroupId": 48,
"lastNodeId": 382,
"lastLinkId": 615,
"lastRerouteId": 0
},
"revision": 0,
"config": {},
"name": "Reference_lantent(Subgraph)",
"inputNode": {
"id": -10,
"bounding": [
910,
3061,
120,
140
]
},
"outputNode": {
"id": -20,
"bounding": [
1350,
3091,
120,
80
]
},
"inputs": [
{
"id": "55a61535-c57a-4100-8c12-f150ea9fbd3e",
"name": "latent_2",
"type": "LATENT",
"linkIds": [
585,
580
],
"localized_name": "latent_2",
"label": "image1_latent",
"shape": 7,
"pos": {
"0": 1010,
"1": 3081
}
},
{
"id": "77c58bb5-ff18-42da-998f-9c6dd32ba314",
"name": "latent",
"type": "LATENT",
"linkIds": [
602,
603
],
"label": "image2_latent",
"pos": {
"0": 1010,
"1": 3101
}
},
{
"id": "4c787c91-a6db-4015-8f8a-e53ca592b8af",
"name": "latent_1",
"type": "LATENT",
"linkIds": [
604,
605
],
"label": "image3_latent",
"pos": {
"0": 1010,
"1": 3121
}
},
{
"id": "d468a361-7bd5-4684-b7d5-1839f74049ab",
"name": "conditioning",
"type": "CONDITIONING",
"linkIds": [
606
],
"label": "positive",
"pos": {
"0": 1010,
"1": 3141
}
},
{
"id": "d9e2ab28-0900-4d02-9da2-2f5c54767c56",
"name": "conditioning_1",
"type": "CONDITIONING",
"linkIds": [
609
],
"label": "negative",
"pos": {
"0": 1010,
"1": 3161
}
}
],
"outputs": [
{
"id": "341bc124-e5aa-4ef3-9d08-44b2c3e1f9d5",
"name": "CONDITIONING_1",
"type": "CONDITIONING",
"linkIds": [
598
],
"localized_name": "CONDITIONING_1",
"label": "positive",
"pos": {
"0": 1370,
"1": 3111
}
},
{
"id": "51726711-cbe7-4b1a-8c61-8828efd94366",
"name": "CONDITIONING",
"type": "CONDITIONING",
"linkIds": [
601
],
"label": "negative",
"pos": {
"0": 1370,
"1": 3131
}
}
],
"widgets": [],
"nodes": [
{
"id": 382,
"type": "ReferenceLatent",
"pos": [
1090,
3278
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 612
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 603
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
588
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 374,
"type": "ReferenceLatent",
"pos": [
1090,
3366
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 613
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 605
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
599,
601
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 380,
"type": "ReferenceLatent",
"pos": [
1090,
3060
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 615
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 604
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
598
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 381,
"type": "ReferenceLatent",
"pos": [
1090,
3190
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 609
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 585
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
586,
612,
613
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 379,
"type": "ReferenceLatent",
"pos": [
1090,
2880
],
"size": [
200,
50
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 606
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 580
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
581,
614
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
},
{
"id": 378,
"type": "ReferenceLatent",
"pos": [
1090,
2970
],
"size": [
197.712890625,
46
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "conditioning",
"name": "conditioning",
"type": "CONDITIONING",
"link": 614
},
{
"localized_name": "latent",
"name": "latent",
"shape": 7,
"type": "LATENT",
"link": 602
}
],
"outputs": [
{
"localized_name": "CONDITIONING",
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
583,
615
]
}
],
"properties": {
"Node name for S&R": "ReferenceLatent",
"cnr_id": "comfy-core",
"ver": "0.3.63",
"ue_properties": {
"widget_ue_connectable": {}
}
},
"widgets_values": []
}
],
"groups": [],
"links": [
{
"id": 585,
"origin_id": -10,
"origin_slot": 0,
"target_id": 381,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 580,
"origin_id": -10,
"origin_slot": 0,
"target_id": 379,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 598,
"origin_id": 380,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 601,
"origin_id": 374,
"origin_slot": 0,
"target_id": -20,
"target_slot": 1,
"type": "CONDITIONING"
},
{
"id": 602,
"origin_id": -10,
"origin_slot": 1,
"target_id": 378,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 603,
"origin_id": -10,
"origin_slot": 1,
"target_id": 382,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 604,
"origin_id": -10,
"origin_slot": 2,
"target_id": 380,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 605,
"origin_id": -10,
"origin_slot": 2,
"target_id": 374,
"target_slot": 1,
"type": "LATENT"
},
{
"id": 606,
"origin_id": -10,
"origin_slot": 3,
"target_id": 379,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 609,
"origin_id": -10,
"origin_slot": 4,
"target_id": 381,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 612,
"origin_id": 381,
"origin_slot": 0,
"target_id": 382,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 613,
"origin_id": 381,
"origin_slot": 0,
"target_id": 374,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 614,
"origin_id": 379,
"origin_slot": 0,
"target_id": 378,
"target_slot": 0,
"type": "CONDITIONING"
},
{
"id": 615,
"origin_id": 378,
"origin_slot": 0,
"target_id": 380,
"target_slot": 0,
"type": "CONDITIONING"
}
],
"extra": {
"ue_links": [],
"links_added_by_ue": []
}
}
]
},
"config": {},
"extra": {
"ds": {
"scale": 1,
"offset": [
1750.139892578125,
-1104.138916015625
]
},
"frontendVersion": "1.28.7",
"ue_links": [],
"links_added_by_ue": [],
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true
},
"version": 0.4
}