{ "id": "1d0ae582-2cf7-4b10-999d-857e264c4df0", "revision": 0, "last_node_id": 36, "last_link_id": 53, "nodes": [ { "id": 14, "type": "SaveImage", "pos": [ 1545.3738932511367, -340.74532851336573 ], "size": [ 270, 270 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 12 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 15, "type": "SaveImage", "pos": [ 1841.1293854657304, -342.46483718903187 ], "size": [ 270, 270 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 13 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 5, "type": "PreviewAny", "pos": [ -704.0622604269851, -462.3590494501036 ], "size": [ 390.1103528241805, 88 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "source", "type": "*", "link": 3 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "PreviewAny" }, "widgets_values": [] }, { "id": 3, "type": "JWStringGetLine", "pos": [ -146.4910136376318, -473.41179894595075 ], "size": [ 270, 82 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 5 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 27 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 0 ] }, { "id": 6, "type": "JWStringGetLine", "pos": [ 377.87572550419463, -477.4463469168193 ], "size": [ 270, 82 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 6 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 28 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 1 ] }, { "id": 8, "type": "JWStringGetLine", "pos": [ 807.3490606265283, -482.6756334094342 ], "size": [ 270, 82 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 8 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 29 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 2 ] }, { "id": 9, "type": "JWStringGetLine", "pos": [ 844.9042998528511, 337.7415698671985 ], "size": [ 270, 82 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 9 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 16 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 5 ] }, { "id": 10, "type": "JWStringGetLine", "pos": [ 354.1766068710172, 355.2942289286173 ], "size": [ 270, 82 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 10 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 15 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 4 ] }, { "id": 7, "type": "JWStringGetLine", "pos": [ -170.89455184459683, 338.95168540175735 ], "size": [ 270, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "source", "type": "STRING", "widget": { "name": "source" }, "link": 7 } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 14 ] } ], "properties": { "aux_id": "jamesWalker55/comfyui-various", "ver": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2", "Node name for S&R": "JWStringGetLine", "cnr_id": "comfyui-various", "ue_properties": { "widget_ue_connectable": {}, "input_ue_unconnectable": {}, "version": "7.3" } }, "widgets_values": [ "", 3 ] }, { "id": 20, "type": "SaveImage", "pos": [ 1556.7355435958711, -23.42607355960091 ], "size": [ 270, 270 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 18 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 19, "type": "SaveImage", "pos": [ 1259.7979699100267, -21.609672960061673 ], "size": [ 270, 270 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 17 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 21, "type": "SaveImage", "pos": [ 1852.9380305525974, -26.98006932726278 ], "size": [ 270, 270 ], "flags": {}, "order": 20, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 19 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 13, "type": "SaveImage", "pos": [ 1242.7403663338785, -339.0258198376996 ], "size": [ 270, 270 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 11 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 12, "type": "86a0c498-e24b-41d0-bccd-b9b69eb87973", "pos": [ 756.143146919097, -335.8696881473073 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 23 }, { "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": 29 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 13 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 1, "type": "1bbb0694-caea-450d-999f-c5a69064a9f1", "pos": [ -231.79233907693137, -333.11963667814354 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 21 }, { "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": 27 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 11, 39 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 11, "type": "8ea12cae-39d5-4d70-8dc2-7e3ad9d6ada8", "pos": [ 267.5729610867384, -331.1718978989193 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 22 }, { "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": 28 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 12, 41 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 28, "type": "ImageStitch", "pos": [ 346.29969706894485, -705.6691447771051 ], "size": [ 270, 150 ], "flags": {}, "order": 22, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 41 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 42 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 44 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "right", true, 0, "white" ] }, { "id": 30, "type": "SaveImage", "pos": [ 1252.503318538242, -697.14359503433 ], "size": [ 270, 270 ], "flags": {}, "order": 27, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 45 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 34, "type": "ImageStitch", "pos": [ 352.68381687806624, 1157.8491190924256 ], "size": [ 270, 150 ], "flags": {}, "order": 24, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": null }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 51 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 48 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "right", true, 0, "white" ] }, { "id": 16, "type": "a6c200a4-6924-40f9-82f6-2d20f85f68d6", "pos": [ -202.46304836000786, 481.89772330756523 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 24 }, { "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": 14 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 17, 40, 49 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 27, "type": "ImageStitch", "pos": [ -144.23720761231453, -700.3103192583707 ], "size": [ 270, 150 ], "flags": {}, "order": 18, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 39 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 40 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 43 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "right", true, 0, "white" ] }, { "id": 35, "type": "ImageStitch", "pos": [ -138.21316392180518, 1148.0714114768925 ], "size": [ 270, 150 ], "flags": {}, "order": 23, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 49 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 50 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 47 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "right", true, 0, "white" ] }, { "id": 17, "type": "c2670ad3-dc9c-4fce-9deb-617063ccc9b4", "pos": [ 296.9022518036621, 483.84546208678944 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 25 }, { "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": 15 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 18, 42, 50, 51 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 33, "type": "ImageStitch", "pos": [ 828.6949011759624, 1151.0552977332911 ], "size": [ 270, 150 ], "flags": {}, "order": 26, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 47 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 48 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 46 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "down", true, 0, "white" ] }, { "id": 32, "type": "SaveImage", "pos": [ 1271.570638217544, 475.14027591032277 ], "size": [ 270, 270 ], "flags": {}, "order": 29, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 46 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66" }, "widgets_values": [ "ComfyUI" ] }, { "id": 29, "type": "ImageStitch", "pos": [ 843.2496630604286, -711.1777931337222 ], "size": [ 270, 150 ], "flags": {}, "order": 25, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 43 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 44 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 45, 52 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "down", true, 0, "white" ] }, { "id": 18, "type": "34a4a36e-cf4a-4534-8702-ab1013487bae", "pos": [ 785.4724376360211, 479.1476718384015 ], "size": [ 465.7705383300781, 614.4389038085938 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "label": "image_input", "name": "image", "type": "IMAGE", "link": 26 }, { "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": 16 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 19, 53 ] } ], "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-Lightning-8steps-V2.0.safetensors", 420, 8, 1, "" ] }, { "id": 36, "type": "ImageStitch", "pos": [ 2134.8018505545115, -336.05829220942974 ], "size": [ 270, 150 ], "flags": {}, "order": 28, "mode": 0, "inputs": [ { "name": "image1", "type": "IMAGE", "link": 52 }, { "name": "image2", "shape": 7, "type": "IMAGE", "link": 53 } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "ImageStitch" }, "widgets_values": [ "down", true, 0, "white" ] }, { "id": 22, "type": "LoadImage", "pos": [ -1099.0899506063897, -305.32345738487294 ], "size": [ 278, 314 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 20, 21, 22, 23, 24, 25, 26 ] }, { "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "LoadImage" }, "widgets_values": [ "ComfyUI_00051_.png", "image" ] }, { "id": 2, "type": "GeminiNode", "pos": [ -707.0549663511288, -319.69036264536464 ], "size": [ 390, 624 ], "flags": { "pinned": true }, "order": 1, "mode": 0, "inputs": [ { "name": "images", "shape": 7, "type": "IMAGE", "link": 20 }, { "name": "audio", "shape": 7, "type": "AUDIO", "link": null }, { "name": "video", "shape": 7, "type": "VIDEO", "link": null }, { "name": "files", "shape": 7, "type": "GEMINI_INPUT_FILES", "link": null } ], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 3, 5, 6, 7, 8, 9, 10 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.66", "Node name for S&R": "GeminiNode" }, "widgets_values": [ "πŸŽ₯ Prompt Set: β€œPro Skate Photo Session” (6 Shots)\n\nLow-Angle Curb Launch: captured from ground level with a wide-angle lens; sunlight glinting off the trucks as the board kicks up dust near a graffiti-covered curb. Focus on motion blur of the wheels and debris; urban golden-hour tones.\n\nFish-Eye Rail Slide: classic 90s skate-mag composition; camera positioned inches from the rail with the board slicing across the frame. Harsh midday light, high-contrast shadows, emphasizing chrome grind sparks and chipped paint on the ledge.\n\nOverhead Drone Pullback: high-altitude cinematic drone shot as the skater carves a snake-like path through a concrete park bowl. Long shadows, morning mist, pastel sky gradients; board graphics pop with vivid color.\n\nSide-Tracking Follow Cam: mid-action panning shot taken on a glide rig at knee height, tracking the spin of the board during a trick sequence. Shallow depth of field, background streaking with kinetic energy.\n\nNight Session Flash Pop: ultra-crisp flash freeze shot under urban neon lights; multiple strobes capturing dust trails and smoke as the board lands. Moody reflections from puddles, cinematic lens flare, ISO grain for realism.\n\nSunset Ramp Silhouette: telephoto compression at dusk; skater airborne over a half-pipe, framed against a glowing sky. Lens flare bleeding into the board graphic; long-exposure light streaks from passing cars below.\n\n***only the prompts, no other output, newline separated, no line spaces", "gemini-2.5-flash-preview-04-17", 534462213568850, "randomize" ], "color": "#432", "bgcolor": "#653" } ], "links": [ [ 3, 2, 0, 5, 0, "*" ], [ 5, 2, 0, 3, 0, "STRING" ], [ 6, 2, 0, 6, 0, "STRING" ], [ 7, 2, 0, 7, 0, "STRING" ], [ 8, 2, 0, 8, 0, "STRING" ], [ 9, 2, 0, 9, 0, "STRING" ], [ 10, 2, 0, 10, 0, "STRING" ], [ 11, 1, 0, 13, 0, "IMAGE" ], [ 12, 11, 0, 14, 0, "IMAGE" ], [ 13, 12, 0, 15, 0, "IMAGE" ], [ 14, 7, 0, 16, 3, "STRING" ], [ 15, 10, 0, 17, 3, "STRING" ], [ 16, 9, 0, 18, 3, "STRING" ], [ 17, 16, 0, 19, 0, "IMAGE" ], [ 18, 17, 0, 20, 0, "IMAGE" ], [ 19, 18, 0, 21, 0, "IMAGE" ], [ 20, 22, 0, 2, 0, "IMAGE" ], [ 21, 22, 0, 1, 0, "IMAGE" ], [ 22, 22, 0, 11, 0, "IMAGE" ], [ 23, 22, 0, 12, 0, "IMAGE" ], [ 24, 22, 0, 16, 0, "IMAGE" ], [ 25, 22, 0, 17, 0, "IMAGE" ], [ 26, 22, 0, 18, 0, "IMAGE" ], [ 27, 3, 0, 1, 3, "STRING" ], [ 28, 6, 0, 11, 3, "STRING" ], [ 29, 8, 0, 12, 3, "STRING" ], [ 39, 1, 0, 27, 0, "IMAGE" ], [ 40, 16, 0, 27, 1, "IMAGE" ], [ 41, 11, 0, 28, 0, "IMAGE" ], [ 42, 17, 0, 28, 1, "IMAGE" ], [ 43, 27, 0, 29, 0, "IMAGE" ], [ 44, 28, 0, 29, 1, "IMAGE" ], [ 45, 29, 0, 30, 0, "IMAGE" ], [ 46, 33, 0, 32, 0, "IMAGE" ], [ 47, 35, 0, 33, 0, "IMAGE" ], [ 48, 34, 0, 33, 1, "IMAGE" ], [ 49, 16, 0, 35, 0, "IMAGE" ], [ 50, 17, 0, 35, 1, "IMAGE" ], [ 51, 17, 0, 34, 1, "IMAGE" ], [ 52, 29, 0, 36, 0, "IMAGE" ], [ 53, 18, 0, 36, 1, "IMAGE" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "1bbb0694-caea-450d-999f-c5a69064a9f1", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 120, 60 ] }, "inputs": [ { "id": "9216bc61-7959-4565-b2a0-03011b527b90", "name": "unet_name", "type": "COMBO", "linkIds": [ 226 ], "pos": [ -903, 470 ] }, { "id": "ce4f6ff0-6e5e-4163-803d-1109a26250cc", "name": "lora_name", "type": "COMBO", "linkIds": [ 227 ], "pos": [ -903, 490 ] }, { "id": "bad62020-e7c6-4f46-8c31-5f832eb31294", "name": "seed", "type": "INT", "linkIds": [ 229 ], "pos": [ -903, 510 ] }, { "id": "10ce0fbf-8deb-4f1d-986e-c72f09427412", "name": "steps", "type": "INT", "linkIds": [ 230 ], "pos": [ -903, 530 ] }, { "id": "d5089bd3-63bc-4a24-b478-6565ed2364e3", "name": "image", "type": "IMAGE", "linkIds": [ 234 ], "label": "image_input", "pos": [ -903, 550 ] }, { "id": "9e80fff0-ed0a-439f-a16e-a4a6cc1eb601", "name": "image2", "type": "IMAGE", "linkIds": [ 235, 236 ], "label": "image2 (optional)", "pos": [ -903, 570 ] }, { "id": "49d98fd6-01b5-440b-8603-579252fd7fef", "name": "image3", "type": "IMAGE", "linkIds": [ 237, 238 ], "label": "image3 (optional)", "pos": [ -903, 590 ] }, { "id": "b09977df-e181-4b0f-bcda-b8ac66c6f22e", "name": "cfg", "type": "FLOAT", "linkIds": [ 243 ], "pos": [ -903, 610 ] }, { "id": "5de32f24-a7b5-4423-b772-72824005f585", "name": "prompt", "type": "STRING", "linkIds": [ 244 ], "pos": [ -903, 630 ] } ], "outputs": [ { "id": "c4ebfc18-de83-4361-8e42-767c3c8c25c0", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 110 ], "localized_name": "IMAGE", "pos": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} }, { "id": "8ea12cae-39d5-4d70-8dc2-7e3ad9d6ada8", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 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 ], "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": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} }, { "id": "86a0c498-e24b-41d0-bccd-b9b69eb87973", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 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 ], "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": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} }, { "id": "a6c200a4-6924-40f9-82f6-2d20f85f68d6", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 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 ], "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": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} }, { "id": "c2670ad3-dc9c-4fce-9deb-617063ccc9b4", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 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 ], "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": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} }, { "id": "34a4a36e-cf4a-4534-8702-ab1013487bae", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 116, "lastLinkId": 246, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Qwen Image Edit 2509(subgraph)", "inputNode": { "id": -10, "bounding": [ -1020, 450, 137, 220 ] }, "outputNode": { "id": -20, "bounding": [ 1350, 470, 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 ], "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": [ 1370, 490 ] } ], "widgets": [], "nodes": [ { "id": 75, "type": "CFGNorm", "pos": [ 740, -20 ], "size": [ 290, 60 ], "flags": {}, "order": 11, "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": { "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": 39, "type": "VAELoader", "pos": [ -250, 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": { "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": 38, "type": "CLIPLoader", "pos": [ -250, 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": { "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": 37, "type": "UNETLoader", "pos": [ -250, -100 ], "size": [ 330, 90 ], "flags": {}, "order": 9, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "UNETLoader", "models": [ { "name": "qwen_image_edit_2509_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/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": [ 220, 180 ], "size": [ 400, 200 ], "flags": {}, "order": 15, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#223", "bgcolor": "#335" }, { "id": 93, "type": "ImageScaleToTotalPixels", "pos": [ -230, 890 ], "size": [ 270, 82 ], "flags": {}, "order": 14, "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": { "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": [ "lanczos", 1 ] }, { "id": 113, "type": "MarkdownNote", "pos": [ 730, 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": [ 740, 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": 99, "type": "MarkdownNote", "pos": [ -840, -140 ], "size": [ 550, 550 ], "flags": {}, "order": 4, "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_2509_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image-Edit_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_edit_2509_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_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" ], "color": "#432", "bgcolor": "#653" }, { "id": 96, "type": "MarkdownNote", "pos": [ -240, 1030 ], "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": 66, "type": "ModelSamplingAuraFlow", "pos": [ 740, -130 ], "size": [ 290, 60 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 185 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 141 ] } ], "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": 8, "type": "VAEDecode", "pos": [ 1137.2684326171875, -133.9394073486328 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 8, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "VAEDecode", "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": [ 1478.2650146484375, -108.80297088623047 ], "size": [ 714.5306396484375, 742.0773315429688 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "localized_name": "images", "name": "images", "type": "IMAGE", "link": 240 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.65", "Node name for S&R": "PreviewImage" }, "widgets_values": [] }, { "id": 3, "type": "KSampler", "pos": [ 736.597900390625, 86.3262710571289 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "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": { "cnr_id": "comfy-core", "ver": "0.3.48", "Node name for S&R": "KSampler", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 420, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 111, "type": "TextEncodeQwenImageEditPlus", "pos": [ 220, -90 ], "size": [ 400, 200 ], "flags": {}, "order": 16, "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": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "TextEncodeQwenImageEditPlus" }, "widgets_values": [ "" ], "color": "#232", "bgcolor": "#353" }, { "id": 89, "type": "LoraLoaderModelOnly", "pos": [ -240, 40 ], "size": [ 310, 82 ], "flags": {}, "order": 13, "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": 227 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 185 ] } ], "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-8steps-V2.0.safetensors", 1 ] }, { "id": 112, "type": "EmptySD3LatentImage", "pos": [ 759.1995849609375, 856.4791259765625 ], "size": [ 270, 106 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.59", "Node name for S&R": "EmptySD3LatentImage" }, "widgets_values": [ 2560, 1440, 1 ] }, { "id": 88, "type": "VAEEncode", "pos": [ 490, 900 ], "size": [ 140, 46 ], "flags": {}, "order": 12, "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": { "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": [] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -270, -170, 370, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 2 - Upload image for editing", "bounding": [ -270, 430, 970, 550 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step 4 - Prompt", "bounding": [ 130, -170, 570, 570 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Step3 - Image Size", "bounding": [ 730, 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": 227, "origin_id": -10, "origin_slot": 1, "target_id": 89, "target_slot": 1, "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" } ], "extra": {} } ] }, "config": {}, "extra": { "ds": { "scale": 0.8998097436965594, "offset": [ 1254.7546819417275, 437.5459901017895 ] }, "frontendVersion": "1.28.7", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }