| { | |
| "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb", | |
| "revision": 0, | |
| "last_node_id": 141, | |
| "last_link_id": 293, | |
| "nodes": [ | |
| { | |
| "id": 99, | |
| "type": "MarkdownNote", | |
| "pos": [ | |
| -830, | |
| -10 | |
| ], | |
| "size": [ | |
| 540, | |
| 550 | |
| ], | |
| "flags": {}, | |
| "order": 0, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "title": "Model links", | |
| "properties": { | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image-edit) | [ζη¨](https://docs.comfy.org/zh-CN/tutorials/image/qwen/qwen-image-edit)\n\n\n## 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_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_fp8_e4m3fn.safetensors)\n\n**LoRA**\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\nModel Storage Location\n\n```\nπ ComfyUI/\nβββ π models/\nβ βββ π diffusion_models/\nβ β βββ qwen_image_edit_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" | |
| ], | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| }, | |
| { | |
| "id": 126, | |
| "type": "VAELoader", | |
| "pos": [ | |
| -249.80447387695312, | |
| 337.1279296875 | |
| ], | |
| "size": [ | |
| 330, | |
| 60 | |
| ], | |
| "flags": {}, | |
| "order": 1, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "VAE", | |
| "type": "VAE", | |
| "slot_index": 0, | |
| "links": [ | |
| 256, | |
| 258, | |
| 276, | |
| 288 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "VAELoader", | |
| "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, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "qwen_image_vae.safetensors" | |
| ] | |
| }, | |
| { | |
| "id": 128, | |
| "type": "TextEncodeQwenImageEdit", | |
| "pos": [ | |
| 137.7421112060547, | |
| 395.8420104980469 | |
| ], | |
| "size": [ | |
| 360, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 14, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 257 | |
| }, | |
| { | |
| "name": "vae", | |
| "shape": 7, | |
| "type": "VAE", | |
| "link": 258 | |
| }, | |
| { | |
| "name": "image", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": 283 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 268 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "TextEncodeQwenImageEdit", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "ue_properties": { | |
| "widget_ue_connectable": { | |
| "prompt": true | |
| } | |
| } | |
| }, | |
| "widgets_values": [ | |
| "" | |
| ], | |
| "color": "#223", | |
| "bgcolor": "#335" | |
| }, | |
| { | |
| "id": 129, | |
| "type": "ModelSamplingAuraFlow", | |
| "pos": [ | |
| 550.1956176757812, | |
| 27.127967834472656 | |
| ], | |
| "size": [ | |
| 290, | |
| 60 | |
| ], | |
| "flags": {}, | |
| "order": 16, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 293 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 260 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "ModelSamplingAuraFlow", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| 3 | |
| ] | |
| }, | |
| { | |
| "id": 130, | |
| "type": "CFGNorm", | |
| "pos": [ | |
| 550.1956176757812, | |
| 137.1279754638672 | |
| ], | |
| "size": [ | |
| 290, | |
| 60 | |
| ], | |
| "flags": {}, | |
| "order": 18, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 260 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "patched_model", | |
| "type": "MODEL", | |
| "links": [ | |
| 269 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "CFGNorm", | |
| "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": 135, | |
| "type": "VAEEncode", | |
| "pos": [ | |
| 248.32186889648438, | |
| 647.2574462890625 | |
| ], | |
| "size": [ | |
| 140, | |
| 46 | |
| ], | |
| "flags": {}, | |
| "order": 12, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "pixels", | |
| "type": "IMAGE", | |
| "link": 274 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 276 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 272 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "VAEEncode", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "ue_properties": { | |
| "widget_ue_connectable": {} | |
| } | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 131, | |
| "type": "ImageScaleToTotalPixels", | |
| "pos": [ | |
| -198.91114807128906, | |
| 893.8960571289062 | |
| ], | |
| "size": [ | |
| 270, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 9, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 275 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 274, | |
| 282, | |
| 283, | |
| 289 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "ImageScaleToTotalPixels", | |
| "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": [ | |
| "nearest-exact", | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 102, | |
| "type": "LanPaint_KSampler", | |
| "pos": [ | |
| 916.4383544921875, | |
| 29.786056518554688 | |
| ], | |
| "size": [ | |
| 400, | |
| 572 | |
| ], | |
| "flags": {}, | |
| "order": 20, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 269 | |
| }, | |
| { | |
| "name": "positive", | |
| "type": "CONDITIONING", | |
| "link": 267 | |
| }, | |
| { | |
| "name": "negative", | |
| "type": "CONDITIONING", | |
| "link": 268 | |
| }, | |
| { | |
| "name": "latent_image", | |
| "type": "LATENT", | |
| "link": 284 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 287 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "LanPaint", | |
| "ver": "453b6c090e400123bb82f5bc0c97854031b09274", | |
| "Node name for S&R": "LanPaint_KSampler" | |
| }, | |
| "widgets_values": [ | |
| 0, | |
| "fixed", | |
| 20, | |
| 2.5, | |
| "euler", | |
| "simple", | |
| 1, | |
| 5, | |
| "Image First", | |
| "LanPaint KSampler. For more info, visit https://github.com/scraed/LanPaint. If you find it useful, please give a star βοΈ!" | |
| ] | |
| }, | |
| { | |
| "id": 110, | |
| "type": "LoadImage", | |
| "pos": [ | |
| -207.1995086669922, | |
| 499.05206298828125 | |
| ], | |
| "size": [ | |
| 274.080078125, | |
| 314.0000305175781 | |
| ], | |
| "flags": {}, | |
| "order": 2, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 275 | |
| ] | |
| }, | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [ | |
| 277 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "LoadImage", | |
| "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": [ | |
| "clipspace/clipspace-painted-masked-23308506.png [input]", | |
| "image" | |
| ] | |
| }, | |
| { | |
| "id": 127, | |
| "type": "TextEncodeQwenImageEdit", | |
| "pos": [ | |
| 140.195556640625, | |
| 207.12796020507812 | |
| ], | |
| "size": [ | |
| 360, | |
| 150 | |
| ], | |
| "flags": {}, | |
| "order": 13, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "clip", | |
| "type": "CLIP", | |
| "link": 255 | |
| }, | |
| { | |
| "name": "vae", | |
| "shape": 7, | |
| "type": "VAE", | |
| "link": 256 | |
| }, | |
| { | |
| "name": "image", | |
| "shape": 7, | |
| "type": "IMAGE", | |
| "link": 282 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "CONDITIONING", | |
| "type": "CONDITIONING", | |
| "links": [ | |
| 267 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "TextEncodeQwenImageEdit", | |
| "enableTabs": false, | |
| "tabWidth": 65, | |
| "tabXOffset": 10, | |
| "hasSecondTab": false, | |
| "secondTabText": "Send Back", | |
| "secondTabOffset": 80, | |
| "secondTabWidth": 65, | |
| "ue_properties": { | |
| "widget_ue_connectable": { | |
| "prompt": true | |
| } | |
| } | |
| }, | |
| "widgets_values": [ | |
| "change the girl's cloth to red evening gown " | |
| ], | |
| "color": "#232", | |
| "bgcolor": "#353" | |
| }, | |
| { | |
| "id": 138, | |
| "type": "LanPaint_MaskBlend", | |
| "pos": [ | |
| 1746.5638427734375, | |
| 60.70713806152344 | |
| ], | |
| "size": [ | |
| 210, | |
| 98 | |
| ], | |
| "flags": {}, | |
| "order": 22, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image1", | |
| "type": "IMAGE", | |
| "link": 289 | |
| }, | |
| { | |
| "name": "image2", | |
| "type": "IMAGE", | |
| "link": 286 | |
| }, | |
| { | |
| "name": "mask", | |
| "type": "MASK", | |
| "link": 290 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 291 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "LanPaint", | |
| "ver": "4d3d5d17f0105b673df92da5b084cce567c9c712", | |
| "Node name for S&R": "LanPaint_MaskBlend" | |
| }, | |
| "widgets_values": [ | |
| 9 | |
| ] | |
| }, | |
| { | |
| "id": 137, | |
| "type": "VAEDecode", | |
| "pos": [ | |
| 1456.255615234375, | |
| 0.358134925365448 | |
| ], | |
| "size": [ | |
| 210, | |
| 46 | |
| ], | |
| "flags": {}, | |
| "order": 21, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 287 | |
| }, | |
| { | |
| "name": "vae", | |
| "type": "VAE", | |
| "link": 288 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "slot_index": 0, | |
| "links": [ | |
| 286 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.23", | |
| "Node name for S&R": "VAEDecode" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 104, | |
| "type": "SaveImage", | |
| "pos": [ | |
| 2063.178955078125, | |
| 10.873106002807617 | |
| ], | |
| "size": [ | |
| 311.2532653808594, | |
| 484.7096252441406 | |
| ], | |
| "flags": {}, | |
| "order": 23, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "images", | |
| "type": "IMAGE", | |
| "link": 291 | |
| } | |
| ], | |
| "outputs": [], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.23" | |
| }, | |
| "widgets_values": [ | |
| "ComfyUI" | |
| ] | |
| }, | |
| { | |
| "id": 136, | |
| "type": "MaskToImage", | |
| "pos": [ | |
| -125.77210235595703, | |
| 1047.446533203125 | |
| ], | |
| "size": [ | |
| 184.62362670898438, | |
| 26 | |
| ], | |
| "flags": {}, | |
| "order": 10, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "mask", | |
| "type": "MASK", | |
| "link": 277 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 270 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.51", | |
| "Node name for S&R": "MaskToImage" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 133, | |
| "type": "ImageToMask", | |
| "pos": [ | |
| -196.46453857421875, | |
| 1267.0250244140625 | |
| ], | |
| "size": [ | |
| 270, | |
| 58 | |
| ], | |
| "flags": {}, | |
| "order": 17, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 271 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "MASK", | |
| "type": "MASK", | |
| "links": [ | |
| 273, | |
| 290 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.51", | |
| "Node name for S&R": "ImageToMask" | |
| }, | |
| "widgets_values": [ | |
| "red" | |
| ] | |
| }, | |
| { | |
| "id": 132, | |
| "type": "ImageScaleToTotalPixels", | |
| "pos": [ | |
| -191.1123046875, | |
| 1125.3765869140625 | |
| ], | |
| "size": [ | |
| 270, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 15, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "image", | |
| "type": "IMAGE", | |
| "link": 270 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "IMAGE", | |
| "type": "IMAGE", | |
| "links": [ | |
| 271 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "ImageScaleToTotalPixels", | |
| "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": [ | |
| "nearest-exact", | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 134, | |
| "type": "SetLatentNoiseMask", | |
| "pos": [ | |
| 425.3291931152344, | |
| 644.5993041992188 | |
| ], | |
| "size": [ | |
| 180.74765014648438, | |
| 46 | |
| ], | |
| "flags": {}, | |
| "order": 19, | |
| "mode": 0, | |
| "inputs": [ | |
| { | |
| "name": "samples", | |
| "type": "LATENT", | |
| "link": 272 | |
| }, | |
| { | |
| "name": "mask", | |
| "type": "MASK", | |
| "link": 273 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "LATENT", | |
| "type": "LATENT", | |
| "links": [ | |
| 284 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.51", | |
| "Node name for S&R": "SetLatentNoiseMask" | |
| }, | |
| "widgets_values": [] | |
| }, | |
| { | |
| "id": 96, | |
| "type": "MarkdownNote", | |
| "pos": [ | |
| -205.49290466308594, | |
| 1360.4835205078125 | |
| ], | |
| "size": [ | |
| 280, | |
| 88 | |
| ], | |
| "flags": {}, | |
| "order": 3, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "properties": {}, | |
| "widgets_values": [ | |
| "This node is to avoid poor output results caused by excessively large input image sizes." | |
| ], | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| }, | |
| { | |
| "id": 139, | |
| "type": "MarkdownNote", | |
| "pos": [ | |
| -544.4594116210938, | |
| 908.2171630859375 | |
| ], | |
| "size": [ | |
| 280, | |
| 88 | |
| ], | |
| "flags": {}, | |
| "order": 4, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "properties": {}, | |
| "widgets_values": [ | |
| "If you have multiple of 8 issue, replace Scale Image to total pixels with Upscale Image and manually set the size." | |
| ], | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| }, | |
| { | |
| "id": 97, | |
| "type": "MarkdownNote", | |
| "pos": [ | |
| 960.13525390625, | |
| 776.3380737304688 | |
| ], | |
| "size": [ | |
| 300, | |
| 190 | |
| ], | |
| "flags": {}, | |
| "order": 5, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "title": "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": 124, | |
| "type": "UNETLoader", | |
| "pos": [ | |
| -249.80447387695312, | |
| 37.12797164916992 | |
| ], | |
| "size": [ | |
| 330, | |
| 90 | |
| ], | |
| "flags": {}, | |
| "order": 6, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "slot_index": 0, | |
| "links": [ | |
| 292 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "UNETLoader", | |
| "models": [ | |
| { | |
| "name": "qwen_image_edit_fp8_e4m3fn.safetensors", | |
| "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_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_fp8_e4m3fn.safetensors", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 141, | |
| "type": "LoraLoaderModelOnly", | |
| "pos": [ | |
| 199.41346740722656, | |
| 19.401098251342773 | |
| ], | |
| "size": [ | |
| 270, | |
| 82 | |
| ], | |
| "flags": {}, | |
| "order": 11, | |
| "mode": 4, | |
| "inputs": [ | |
| { | |
| "name": "model", | |
| "type": "MODEL", | |
| "link": 292 | |
| } | |
| ], | |
| "outputs": [ | |
| { | |
| "name": "MODEL", | |
| "type": "MODEL", | |
| "links": [ | |
| 293 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.50", | |
| "Node name for S&R": "LoraLoaderModelOnly", | |
| "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 | |
| } | |
| } | |
| }, | |
| "widgets_values": [ | |
| "Qwen-Image-Lightning-4steps-V1.0.safetensors", | |
| 1 | |
| ] | |
| }, | |
| { | |
| "id": 125, | |
| "type": "CLIPLoader", | |
| "pos": [ | |
| -249.80447387695312, | |
| 177.12796020507812 | |
| ], | |
| "size": [ | |
| 330, | |
| 110 | |
| ], | |
| "flags": {}, | |
| "order": 7, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [ | |
| { | |
| "name": "CLIP", | |
| "type": "CLIP", | |
| "slot_index": 0, | |
| "links": [ | |
| 255, | |
| 257 | |
| ] | |
| } | |
| ], | |
| "properties": { | |
| "cnr_id": "comfy-core", | |
| "ver": "0.3.48", | |
| "Node name for S&R": "CLIPLoader", | |
| "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, | |
| "widget_ue_connectable": {} | |
| }, | |
| "widgets_values": [ | |
| "qwen_2.5_vl_7b_fp8_scaled.safetensors", | |
| "qwen_image", | |
| "default" | |
| ] | |
| }, | |
| { | |
| "id": 140, | |
| "type": "MarkdownNote", | |
| "pos": [ | |
| 1334.337646484375, | |
| 368.5771484375 | |
| ], | |
| "size": [ | |
| 300, | |
| 190 | |
| ], | |
| "flags": {}, | |
| "order": 8, | |
| "mode": 0, | |
| "inputs": [], | |
| "outputs": [], | |
| "title": "KSampler settings", | |
| "properties": {}, | |
| "widgets_values": [ | |
| "Decrease **LanPaint_NumSteps** for faster generation. \n" | |
| ], | |
| "color": "#432", | |
| "bgcolor": "#653" | |
| } | |
| ], | |
| "links": [ | |
| [ | |
| 255, | |
| 125, | |
| 0, | |
| 127, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 256, | |
| 126, | |
| 0, | |
| 127, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 257, | |
| 125, | |
| 0, | |
| 128, | |
| 0, | |
| "CLIP" | |
| ], | |
| [ | |
| 258, | |
| 126, | |
| 0, | |
| 128, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 260, | |
| 129, | |
| 0, | |
| 130, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 267, | |
| 127, | |
| 0, | |
| 102, | |
| 1, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 268, | |
| 128, | |
| 0, | |
| 102, | |
| 2, | |
| "CONDITIONING" | |
| ], | |
| [ | |
| 269, | |
| 130, | |
| 0, | |
| 102, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 270, | |
| 136, | |
| 0, | |
| 132, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 271, | |
| 132, | |
| 0, | |
| 133, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 272, | |
| 135, | |
| 0, | |
| 134, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 273, | |
| 133, | |
| 0, | |
| 134, | |
| 1, | |
| "MASK" | |
| ], | |
| [ | |
| 274, | |
| 131, | |
| 0, | |
| 135, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 275, | |
| 110, | |
| 0, | |
| 131, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 276, | |
| 126, | |
| 0, | |
| 135, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 277, | |
| 110, | |
| 1, | |
| 136, | |
| 0, | |
| "MASK" | |
| ], | |
| [ | |
| 282, | |
| 131, | |
| 0, | |
| 127, | |
| 2, | |
| "IMAGE" | |
| ], | |
| [ | |
| 283, | |
| 131, | |
| 0, | |
| 128, | |
| 2, | |
| "IMAGE" | |
| ], | |
| [ | |
| 284, | |
| 134, | |
| 0, | |
| 102, | |
| 3, | |
| "LATENT" | |
| ], | |
| [ | |
| 286, | |
| 137, | |
| 0, | |
| 138, | |
| 1, | |
| "IMAGE" | |
| ], | |
| [ | |
| 287, | |
| 102, | |
| 0, | |
| 137, | |
| 0, | |
| "LATENT" | |
| ], | |
| [ | |
| 288, | |
| 126, | |
| 0, | |
| 137, | |
| 1, | |
| "VAE" | |
| ], | |
| [ | |
| 289, | |
| 131, | |
| 0, | |
| 138, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 290, | |
| 133, | |
| 0, | |
| 138, | |
| 2, | |
| "MASK" | |
| ], | |
| [ | |
| 291, | |
| 138, | |
| 0, | |
| 104, | |
| 0, | |
| "IMAGE" | |
| ], | |
| [ | |
| 292, | |
| 124, | |
| 0, | |
| 141, | |
| 0, | |
| "MODEL" | |
| ], | |
| [ | |
| 293, | |
| 141, | |
| 0, | |
| 129, | |
| 0, | |
| "MODEL" | |
| ] | |
| ], | |
| "groups": [ | |
| { | |
| "id": 1, | |
| "title": "Step1 - Load models", | |
| "bounding": [ | |
| -270, | |
| -40, | |
| 370, | |
| 450 | |
| ], | |
| "color": "#3f789e", | |
| "font_size": 24, | |
| "flags": {} | |
| }, | |
| { | |
| "id": 2, | |
| "title": "Step 2 - Upload image for editing", | |
| "bounding": [ | |
| -270, | |
| 430, | |
| 370, | |
| 400 | |
| ], | |
| "color": "#3f789e", | |
| "font_size": 24, | |
| "flags": {} | |
| }, | |
| { | |
| "id": 3, | |
| "title": "Step 3 - Prompt", | |
| "bounding": [ | |
| 130, | |
| 130, | |
| 380, | |
| 433.6000061035156 | |
| ], | |
| "color": "#3f789e", | |
| "font_size": 24, | |
| "flags": {} | |
| } | |
| ], | |
| "config": {}, | |
| "extra": { | |
| "ds": { | |
| "scale": 0.40914901834711453, | |
| "offset": [ | |
| 1600.1095769779836, | |
| 518.9695463016635 | |
| ] | |
| }, | |
| "frontendVersion": "1.25.9", | |
| "ue_links": [], | |
| "links_added_by_ue": [], | |
| "VHS_latentpreview": false, | |
| "VHS_latentpreviewrate": 0, | |
| "VHS_MetadataImage": true, | |
| "VHS_KeepIntermediate": true, | |
| "groupNodes": {} | |
| }, | |
| "version": 0.4 | |
| } |