{ "id": "91f6bbe2-ed41-4fd6-bac7-71d5b5864ecb", "revision": 0, "last_node_id": 76, "last_link_id": 132, "nodes": [ { "id": 69, "type": "MarkdownNote", "pos": [ -540, -220 ], "size": [ 390, 180 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [], "title": "VRAM Usage", "properties": { "widget_ue_connectable": {} }, "widgets_values": [ "## GPU:RTX4090D 24GB\n\n| Configuration | VRAM Usage | 1st Generation | 2nd Generation |\n|---------------------|---------------|---------------|-----------------|\n| Fp8_e4m3fn | 86% | ≈ 94s | ≈ 71s |\n| With 8steps LoRA | 86% | ≈ 55s | ≈ 34s |\n| Distill fp8_e4m3fn | 86% | ≈ 69s | ≈ 36s |" ], "color": "#432", "bgcolor": "#000" }, { "id": 67, "type": "MarkdownNote", "pos": [ -540, 10 ], "size": [ 540, 630 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [], "title": "Model links", "properties": { "widget_ue_connectable": {} }, "widgets_values": [ "[Tutorial](https://docs.comfy.org/tutorials/image/qwen/qwen-image) \n\n## Model links\n\nYou can find all the models on [Huggingface](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/tree/main) or [Modelscope](https://modelscope.cn/models/Comfy-Org/Qwen-Image_ComfyUI/files)\n\n**Diffusion model**\n\n- [qwen_image_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_fp8_e4m3fn.safetensors)\n\nQwen_image_distill\n\n- [qwen_image_distill_full_fp8_e4m3fn.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/non_official/diffusion_models/qwen_image_distill_full_fp8_e4m3fn.safetensors)\n- [qwen_image_distill_full_bf16.safetensors](https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/non_official/diffusion_models/qwen_image_distill_full_bf16.safetensors)\n\n**LoRA**\n\n- [Qwen-Image-Lightning-8steps-V1.0.safetensors](https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-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_fp8_e4m3fn.safetensors\n│ │ └── qwen_image_distill_full_fp8_e4m3fn.safetensors\n│ ├── 📂 loras/\n│ │ └── Qwen-Image-Lightning-8steps-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": "#000" }, { "id": 76, "type": "e5cfe5ba-2ae0-4bc4-869f-ab2228cb44d3", "pos": [ 30, 10 ], "size": [ 470, 590 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "label": "Positive", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": null } ], "outputs": [ { "name": "IMAGE", "type": "IMAGE", "links": [ 131 ] } ], "properties": { "proxyWidgets": [ [ "-1", "text" ], [ "58", "width" ], [ "58", "height" ], [ "3", "seed" ], [ "3", "control_after_generate" ] ] }, "widgets_values": [ "\"A vibrant, warm neon-lit street scene in Hong Kong at the afternoon, with a mix of colorful Chinese and English signs glowing brightly. The atmosphere is lively, cinematic, and rain-washed with reflections on the pavement. The colors are vivid, full of pink, blue, red, and green hues. Crowded buildings with overlapping neon signs. 1980s Hong Kong style. Signs include:\n\"龍鳳冰室\" \"金華燒臘\" \"HAPPY HAIR\" \"鴻運茶餐廳\" \"EASY BAR\" \"永發魚蛋粉\" \"添記粥麵\" \"SUNSHINE MOTEL\" \"美都餐室\" \"富記糖水\" \"太平館\" \"雅芳髮型屋\" \"STAR KTV\" \"銀河娛樂城\" \"百樂門舞廳\" \"BUBBLE CAFE\" \"萬豪麻雀館\" \"CITY LIGHTS BAR\" \"瑞祥香燭莊\" \"文記文具\" \"GOLDEN JADE HOTEL\" \"LOVELY BEAUTY\" \"合興百貨\" \"興旺電器\" And the background is warm yellow street and with all stores' lights on." ] }, { "id": 60, "type": "SaveImage", "pos": [ 530, 10 ], "size": [ 490, 600 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "images", "type": "IMAGE", "link": 131 } ], "outputs": [], "properties": { "Node name for S&R": "SaveImage", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ "Qwen-Image" ] } ], "links": [ [ 131, 76, 0, 60, 0, "IMAGE" ] ], "groups": [], "definitions": { "subgraphs": [ { "id": "e5cfe5ba-2ae0-4bc4-869f-ab2228cb44d3", "version": 1, "state": { "lastGroupId": 4, "lastNodeId": 74, "lastLinkId": 133, "lastRerouteId": 0 }, "revision": 0, "config": {}, "name": "Text to Image (Qwen-Image)", "inputNode": { "id": -10, "bounding": [ -720, 370, 120, 60 ] }, "outputNode": { "id": -20, "bounding": [ 1440, 360, 120, 60 ] }, "inputs": [ { "id": "846fd1a5-9f4a-4e83-af40-27cafe99e5c6", "name": "text", "type": "STRING", "linkIds": [ 132 ], "label": "Positive", "pos": [ -620, 390 ] } ], "outputs": [ { "id": "2af20250-dc7a-4643-bc84-0a180d9ca62b", "name": "IMAGE", "type": "IMAGE", "linkIds": [ 110 ], "localized_name": "IMAGE", "pos": [ 1460, 380 ] } ], "widgets": [], "nodes": [ { "id": 39, "type": "VAELoader", "pos": [ -270, 340 ], "size": [ 330, 60 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "VAE", "name": "VAE", "type": "VAE", "slot_index": 0, "links": [ 76 ] } ], "properties": { "Node name for S&R": "VAELoader", "cnr_id": "comfy-core", "ver": "0.3.48", "models": [ { "name": "qwen_image_vae.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/vae/qwen_image_vae.safetensors", "directory": "vae" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ "qwen_image_vae.safetensors" ] }, { "id": 38, "type": "CLIPLoader", "pos": [ -270, 190 ], "size": [ 330, 110 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "CLIP", "name": "CLIP", "type": "CLIP", "slot_index": 0, "links": [ 74, 75 ] } ], "properties": { "Node name for S&R": "CLIPLoader", "cnr_id": "comfy-core", "ver": "0.3.48", "models": [ { "name": "qwen_2.5_vl_7b_fp8_scaled.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/text_encoders/qwen_2.5_vl_7b_fp8_scaled.safetensors", "directory": "text_encoders" } ], "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ "qwen_2.5_vl_7b_fp8_scaled.safetensors", "qwen_image", "default" ] }, { "id": 58, "type": "EmptySD3LatentImage", "pos": [ -240, 510 ], "size": [ 270, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "links": [ 107 ] } ], "properties": { "Node name for S&R": "EmptySD3LatentImage", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 1328, 1328, 1 ] }, { "id": 66, "type": "ModelSamplingAuraFlow", "pos": [ 560, 10 ], "size": [ 300, 58 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 130 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 125 ] } ], "properties": { "Node name for S&R": "ModelSamplingAuraFlow", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 3.1000000000000005 ] }, { "id": 37, "type": "UNETLoader", "pos": [ -270, 50 ], "size": [ 330, 90 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "slot_index": 0, "links": [ 129 ] } ], "properties": { "Node name for S&R": "UNETLoader", "cnr_id": "comfy-core", "ver": "0.3.48", "models": [ { "name": "qwen_image_fp8_e4m3fn.safetensors", "url": "https://huggingface.co/Comfy-Org/Qwen-Image_ComfyUI/resolve/main/split_files/diffusion_models/qwen_image_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_fp8_e4m3fn.safetensors", "default" ] }, { "id": 6, "type": "CLIPTextEncode", "pos": [ 100, 240 ], "size": [ 422.84503173828125, 164.31304931640625 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 74 }, { "localized_name": "text", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 132 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 46 ] } ], "title": "CLIP Text Encode (Positive Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ "\"A vibrant, warm neon-lit street scene in Hong Kong at the afternoon, with a mix of colorful Chinese and English signs glowing brightly. The atmosphere is lively, cinematic, and rain-washed with reflections on the pavement. The colors are vivid, full of pink, blue, red, and green hues. Crowded buildings with overlapping neon signs. 1980s Hong Kong style. Signs include:\n\"龍鳳冰室\" \"金華燒臘\" \"HAPPY HAIR\" \"鴻運茶餐廳\" \"EASY BAR\" \"永發魚蛋粉\" \"添記粥麵\" \"SUNSHINE MOTEL\" \"美都餐室\" \"富記糖水\" \"太平館\" \"雅芳髮型屋\" \"STAR KTV\" \"銀河娛樂城\" \"百樂門舞廳\" \"BUBBLE CAFE\" \"萬豪麻雀館\" \"CITY LIGHTS BAR\" \"瑞祥香燭莊\" \"文記文具\" \"GOLDEN JADE HOTEL\" \"LOVELY BEAUTY\" \"合興百貨\" \"興旺電器\" And the background is warm yellow street and with all stores' lights on." ], "color": "#232", "bgcolor": "#353" }, { "id": 7, "type": "CLIPTextEncode", "pos": [ 100, 440 ], "size": [ 425.27801513671875, 180.6060791015625 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "localized_name": "clip", "name": "clip", "type": "CLIP", "link": 75 } ], "outputs": [ { "localized_name": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 52 ] } ], "title": "CLIP Text Encode (Negative Prompt)", "properties": { "Node name for S&R": "CLIPTextEncode", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ "" ], "color": "#322", "bgcolor": "#533" }, { "id": 8, "type": "VAEDecode", "pos": [ 890, 20 ], "size": [ 210, 46 ], "flags": { "collapsed": false }, "order": 9, "mode": 0, "inputs": [ { "localized_name": "samples", "name": "samples", "type": "LATENT", "link": 128 }, { "localized_name": "vae", "name": "vae", "type": "VAE", "link": 76 } ], "outputs": [ { "localized_name": "IMAGE", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 110 ] } ], "properties": { "Node name for S&R": "VAEDecode", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} } }, { "id": 73, "type": "LoraLoaderModelOnly", "pos": [ 170, 60 ], "size": [ 270, 82 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 129 } ], "outputs": [ { "localized_name": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 130 ] } ], "properties": { "Node name for S&R": "LoraLoaderModelOnly", "cnr_id": "comfy-core", "ver": "0.3.49", "models": [ { "name": "Qwen-Image-Lightning-8steps-V1.0.safetensors", "url": "https://huggingface.co/lightx2v/Qwen-Image-Lightning/resolve/main/Qwen-Image-Lightning-8steps-V1.0.safetensors", "directory": "loras" } ] }, "widgets_values": [ "Qwen-Image-Lightning-8steps-V1.0.safetensors", 1 ] }, { "id": 3, "type": "KSampler", "pos": [ 560, 120 ], "size": [ 300, 474 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "localized_name": "model", "name": "model", "type": "MODEL", "link": 125 }, { "localized_name": "positive", "name": "positive", "type": "CONDITIONING", "link": 46 }, { "localized_name": "negative", "name": "negative", "type": "CONDITIONING", "link": 52 }, { "localized_name": "latent_image", "name": "latent_image", "type": "LATENT", "link": 107 } ], "outputs": [ { "localized_name": "LATENT", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 128 ] } ], "properties": { "Node name for S&R": "KSampler", "cnr_id": "comfy-core", "ver": "0.3.48", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "widget_ue_connectable": {} }, "widgets_values": [ 0, "randomize", 8, 1, "euler", "simple", 1 ] } ], "groups": [ { "id": 1, "title": "Step1 - Load models", "bounding": [ -280, -20, 350, 433.6000061035156 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step2 - Image size", "bounding": [ -280, 430, 350, 210 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Step3 - Prompt", "bounding": [ 90, 160, 450, 470 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "Lightx2v 8steps LoRA", "bounding": [ 90, -20, 450, 170 ], "color": "#3f789e", "font_size": 24, "flags": {} } ], "links": [ { "id": 74, "origin_id": 38, "origin_slot": 0, "target_id": 6, "target_slot": 0, "type": "CLIP" }, { "id": 75, "origin_id": 38, "origin_slot": 0, "target_id": 7, "target_slot": 0, "type": "CLIP" }, { "id": 130, "origin_id": 73, "origin_slot": 0, "target_id": 66, "target_slot": 0, "type": "MODEL" }, { "id": 129, "origin_id": 37, "origin_slot": 0, "target_id": 73, "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": 125, "origin_id": 66, "origin_slot": 0, "target_id": 3, "target_slot": 0, "type": "MODEL" }, { "id": 46, "origin_id": 6, "origin_slot": 0, "target_id": 3, "target_slot": 1, "type": "CONDITIONING" }, { "id": 52, "origin_id": 7, "origin_slot": 0, "target_id": 3, "target_slot": 2, "type": "CONDITIONING" }, { "id": 107, "origin_id": 58, "origin_slot": 0, "target_id": 3, "target_slot": 3, "type": "LATENT" }, { "id": 110, "origin_id": 8, "origin_slot": 0, "target_id": -20, "target_slot": 0, "type": "IMAGE" }, { "id": 132, "origin_id": -10, "origin_slot": 0, "target_id": 6, "target_slot": 1, "type": "STRING" } ], "extra": { "workflowRendererVersion": "LG" } } ] }, "config": {}, "extra": { "ds": { "scale": 0.39948157701765835, "offset": [ 2338.6616425179936, 593.1712119210159 ] }, "frontendVersion": "1.37.0", "workflowRendererVersion": "LG", "ue_links": [], "links_added_by_ue": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }