{ "id": "01ecd06d-0e30-419c-91d1-748e7d611cf0", "revision": 0, "last_node_id": 29, "last_link_id": 23, "nodes": [ { "id": 1, "type": "VAELoader", "pos": [ 527.7552490234375, 413.0078430175781 ], "size": [ 337.76861572265625, 58 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "VAE", "type": "VAE", "links": [ 5, 7 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "VAELoader", "models": [ { "name": "ae.safetensors", "url": "https://huggingface.co/Comfy-Org/Lumina_Image_2.0_Repackaged/resolve/main/split_files/vae/ae.safetensors", "directory": "vae" } ], "widget_ue_connectable": {} }, "widgets_values": [ "ae.safetensors" ], "color": "#322", "bgcolor": "#533" }, { "id": 3, "type": "ConditioningZeroOut", "pos": [ 1175.2686767578125, 229.18930053710938 ], "size": [ 240, 26 ], "flags": { "collapsed": false }, "order": 14, "mode": 0, "inputs": [ { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 1 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 16 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "ConditioningZeroOut", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 6, "type": "LoadImageOutput", "pos": [ 875.2686157226562, 799.1893310546875 ], "size": [ 320, 374 ], "flags": {}, "order": 1, "mode": 4, "inputs": [], "outputs": [ { "label": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 10 ] }, { "label": "MASK", "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.40", "Node name for S&R": "LoadImageOutput", "widget_ue_connectable": {} }, "widgets_values": [ "ComfyUI_00654_.png [output]", false, "refresh", "image" ], "color": "#322", "bgcolor": "#533" }, { "id": 7, "type": "VAEDecode", "pos": [ 1455.2686767578125, 379.1893005371094 ], "size": [ 190, 46 ], "flags": { "collapsed": false }, "order": 20, "mode": 0, "inputs": [ { "label": "Latent", "name": "samples", "type": "LATENT", "link": 4 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 5 } ], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "slot_index": 0, "links": [ 3 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "VAEDecode", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 8, "type": "VAEEncode", "pos": [ 905.2686157226562, 429.1893005371094 ], "size": [ 240, 50 ], "flags": { "collapsed": false }, "order": 16, "mode": 0, "inputs": [ { "label": "图像", "name": "pixels", "type": "IMAGE", "link": 6 }, { "label": "VAE", "name": "vae", "type": "VAE", "link": 7 } ], "outputs": [ { "label": "Latent", "name": "LATENT", "type": "LATENT", "links": [ 13, 17 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "VAEEncode", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 9, "type": "FluxKontextImageScale", "pos": [ 875.2686157226562, 599.1893310546875 ], "size": [ 270, 30 ], "flags": { "collapsed": false }, "order": 13, "mode": 0, "inputs": [ { "label": "image", "name": "image", "type": "IMAGE", "link": 8 } ], "outputs": [ { "label": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 2, 6 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "FluxKontextImageScale", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 10, "type": "MarkdownNote", "pos": [ 875.2686157226562, 669.1893310546875 ], "size": [ 320, 88 ], "flags": {}, "order": 2, "mode": 0, "inputs": [], "outputs": [], "title": "About Flux Kontext Edit", "properties": { "widget_ue_connectable": {} }, "widgets_values": [ "[English] Use Ctrl + B to enable multipule image input.\n\n[中文] 使用 **Ctrl + B** 来启用多张图片输入" ], "color": "#432", "bgcolor": "#653" }, { "id": 12, "type": "FluxGuidance", "pos": [ 1175.2686767578125, 119.1893081665039 ], "size": [ 240, 58 ], "flags": { "collapsed": false }, "order": 18, "mode": 0, "inputs": [ { "label": "条件", "name": "conditioning", "type": "CONDITIONING", "link": 11 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 15 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "FluxGuidance", "widget_ue_connectable": {} }, "widgets_values": [ 2.5 ] }, { "id": 17, "type": "ReferenceLatent", "pos": [ 935.2686157226562, 169.18930053710938 ], "size": [ 197.712890625, 46 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "label": "conditioning", "name": "conditioning", "type": "CONDITIONING", "link": 12 }, { "label": "latent", "name": "latent", "shape": 7, "type": "LATENT", "link": 13 } ], "outputs": [ { "label": "CONDITIONING", "name": "CONDITIONING", "type": "CONDITIONING", "links": [ 11 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "ReferenceLatent", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 18, "type": "MarkdownNote", "pos": [ 895.2686157226562, -120.8106918334961 ], "size": [ 540, 150 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [], "title": "About multiple images reference", "properties": { "widget_ue_connectable": {} }, "widgets_values": [ "[English] In addition to using **Image Stitch** to combine two images at a time, you can also encode individual images, then concatenate multiple latent conditions using the **ReferenceLatent** node, thus achieving the purpose of referencing multiple images. You can use the **EmptySD3LatentImage** node on the right to connect to **KSamper** and customize the size of the **latent_image**.\n\n[中文] 除了使用 **Image Stitch** 将两个两个图像拼合之外,你同样可以将单独的图像 encode 之后,将多个 latent 条件使用 **ReferenceLatent** 节点串联,从而实现多张图像参考的目的。可以使用右边的 **EmptySD3LatentImage** 节点连接到 **KSamper**来自定义 **latent_image** 的尺寸" ], "color": "#432", "bgcolor": "#653" }, { "id": 25, "type": "CLIPTextEncode", "pos": [ 1255.2686767578125, 589.1893310546875 ], "size": [ 400, 220 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "label": "CLIP", "name": "clip", "type": "CLIP", "link": 18 }, { "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 22 } ], "outputs": [ { "label": "条件", "name": "CONDITIONING", "type": "CONDITIONING", "slot_index": 0, "links": [ 1, 12 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "CLIPTextEncode", "widget_ue_connectable": {} }, "widgets_values": [ "Make Pikachu hold a sign that says 'Nunchaku is awesome', yarn art style, detailed, vibrant colors", [ false, true ] ], "color": "#232", "bgcolor": "#353" }, { "id": 28, "type": "CR Prompt Text", "pos": [ -586.831298828125, 551.7391967773438 ], "size": [ 400, 200 ], "flags": {}, "order": 4, "mode": 0, "inputs": [], "outputs": [ { "label": "提示词文本", "name": "prompt", "type": "STRING", "links": [ 21 ] }, { "name": "show_help", "type": "STRING", "links": null } ], "properties": { "cnr_id": "comfyroll", "ver": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", "widget_ue_connectable": {}, "Node name for S&R": "CR Prompt Text" }, "widgets_values": [ "让女孩的头发变棕色", [ false, true ] ] }, { "id": 27, "type": "GoogleTranslateTextNode", "pos": [ -50.45390319824219, 565.3063354492188 ], "size": [ 400, 200 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "label": "text", "name": "text", "type": "STRING", "widget": { "name": "text" }, "link": 21 } ], "outputs": [ { "label": "text", "name": "text", "type": "STRING", "links": [ 22 ] } ], "properties": { "cnr_id": "comfyui_custom_nodes_alekpet", "ver": "a77f4034d9a038efd80d17eedcfcba50248a13a8", "widget_ue_connectable": {}, "Node name for S&R": "GoogleTranslateTextNode" }, "widgets_values": [ "auto", "en", false, "Manual Trasnlate", "", [ false, true ] ] }, { "id": 19, "type": "EmptySD3LatentImage", "pos": [ 1448.3577880859375, -115.4181900024414 ], "size": [ 310, 106 ], "flags": {}, "order": 5, "mode": 4, "inputs": [], "outputs": [ { "label": "Latent", "name": "LATENT", "type": "LATENT", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.41", "Node name for S&R": "EmptySD3LatentImage", "widget_ue_connectable": {} }, "widgets_values": [ 1024, 1024, 1 ] }, { "id": 11, "type": "ImageStitch", "pos": [ 535.2686157226562, 599.1893310546875 ], "size": [ 270, 150 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "label": "image1", "name": "image1", "type": "IMAGE", "link": 23 }, { "label": "image2", "name": "image2", "shape": 7, "type": "IMAGE", "link": 10 } ], "outputs": [ { "label": "IMAGE", "name": "IMAGE", "type": "IMAGE", "links": [ 8 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.40", "Node name for S&R": "ImageStitch", "widget_ue_connectable": {} }, "widgets_values": [ "right", true, 0, "white" ] }, { "id": 29, "type": "LoadImage", "pos": [ 559.127197265625, 847.9725341796875 ], "size": [ 270, 314 ], "flags": {}, "order": 6, "mode": 0, "inputs": [], "outputs": [ { "label": "图像", "name": "IMAGE", "type": "IMAGE", "links": [ 23 ] }, { "label": "遮罩", "name": "MASK", "type": "MASK", "links": null } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.43", "widget_ue_connectable": {}, "Node name for S&R": "LoadImage" }, "widgets_values": [ "1EEFA90B9C3188986B3DF6FE11B9CE56.jpg", "image" ] }, { "id": 4, "type": "PreviewImage", "pos": [ 1274.5889892578125, 880.8120727539062 ], "size": [ 420, 310 ], "flags": {}, "order": 15, "mode": 0, "inputs": [ { "label": "图像", "name": "images", "type": "IMAGE", "link": 2 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.40", "Node name for S&R": "PreviewImage", "widget_ue_connectable": {} }, "widgets_values": [] }, { "id": 5, "type": "SaveImage", "pos": [ 1725.9432373046875, 538.3239135742188 ], "size": [ 650, 660 ], "flags": {}, "order": 21, "mode": 0, "inputs": [ { "label": "图像", "name": "images", "type": "IMAGE", "link": 3 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.3.39", "Node name for S&R": "SaveImage", "widget_ue_connectable": {} }, "widgets_values": [ "ComfyUI" ] }, { "id": 20, "type": "KSampler", "pos": [ 1807.851318359375, -95.37171936035156 ], "size": [ 320, 474 ], "flags": {}, "order": 19, "mode": 0, "inputs": [ { "label": "模型", "name": "model", "type": "MODEL", "link": 20 }, { "label": "正面条件", "name": "positive", "type": "CONDITIONING", "link": 15 }, { "label": "负面条件", "name": "negative", "type": "CONDITIONING", "link": 16 }, { "label": "Latent", "name": "latent_image", "type": "LATENT", "link": 17 } ], "outputs": [ { "label": "Latent", "name": "LATENT", "type": "LATENT", "slot_index": 0, "links": [ 4 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "KSampler", "widget_ue_connectable": {} }, "widgets_values": [ 680487224679397, "randomize", 8, 1, "euler", "simple", 1 ] }, { "id": 22, "type": "NunchakuFluxDiTLoader", "pos": [ 543.60791015625, -159.71958923339844 ], "size": [ 275.7613220214844, 202 ], "flags": {}, "order": 7, "mode": 0, "inputs": [], "outputs": [ { "label": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 19 ] } ], "properties": { "cnr_id": "ComfyUI-nunchaku", "ver": "3b2c771cf2f4e62f97c284bfd8f594482c5f8bc0", "Node name for S&R": "NunchakuFluxDiTLoader", "widget_ue_connectable": {} }, "widgets_values": [ "svdq-int4_r32-flux.1-kontext-dev.safetensors", 0.10000000000000002, "nunchaku-fp16", "auto", 0, "bfloat16", "enabled" ] }, { "id": 2, "type": "DualCLIPLoader", "pos": [ 524.2085571289062, 243.05630493164062 ], "size": [ 337.76861572265625, 130 ], "flags": {}, "order": 8, "mode": 0, "inputs": [], "outputs": [ { "label": "CLIP", "name": "CLIP", "type": "CLIP", "links": [ 18 ] } ], "properties": { "cnr_id": "comfy-core", "ver": "0.3.38", "Node name for S&R": "DualCLIPLoader", "models": [ { "name": "clip_l.safetensors", "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/clip_l.safetensors", "directory": "text_encoders" }, { "name": "t5xxl_fp8_e4m3fn_scaled.safetensors", "url": "https://huggingface.co/comfyanonymous/flux_text_encoders/resolve/main/t5xxl_fp8_e4m3fn_scaled.safetensors", "directory": "text_encoders" } ], "widget_ue_connectable": {} }, "widgets_values": [ "clip_l.safetensors", "t5xxl_fp8_e4m3fn.safetensors", "flux", "default" ], "color": "#322", "bgcolor": "#533" }, { "id": 26, "type": "NunchakuFluxLoraLoader", "pos": [ 541.981689453125, 117.1360855102539 ], "size": [ 300.6851501464844, 82 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "label": "model", "name": "model", "type": "MODEL", "link": 19 } ], "outputs": [ { "label": "MODEL", "name": "MODEL", "type": "MODEL", "links": [ 20 ] } ], "properties": { "cnr_id": "ComfyUI-nunchaku", "ver": "3b2c771cf2f4e62f97c284bfd8f594482c5f8bc0", "Node name for S&R": "NunchakuFluxLoraLoader", "widget_ue_connectable": {} }, "widgets_values": [ "FLUX.1-Turbo-Alpha.safetensors", 1 ] } ], "links": [ [ 1, 25, 0, 3, 0, "CONDITIONING" ], [ 2, 9, 0, 4, 0, "IMAGE" ], [ 3, 7, 0, 5, 0, "IMAGE" ], [ 4, 20, 0, 7, 0, "LATENT" ], [ 5, 1, 0, 7, 1, "VAE" ], [ 6, 9, 0, 8, 0, "IMAGE" ], [ 7, 1, 0, 8, 1, "VAE" ], [ 8, 11, 0, 9, 0, "IMAGE" ], [ 10, 6, 0, 11, 1, "IMAGE" ], [ 11, 17, 0, 12, 0, "CONDITIONING" ], [ 12, 25, 0, 17, 0, "CONDITIONING" ], [ 13, 8, 0, 17, 1, "LATENT" ], [ 15, 12, 0, 20, 1, "CONDITIONING" ], [ 16, 3, 0, 20, 2, "CONDITIONING" ], [ 17, 8, 0, 20, 3, "LATENT" ], [ 18, 2, 0, 25, 0, "CLIP" ], [ 19, 22, 0, 26, 0, "MODEL" ], [ 20, 26, 0, 20, 0, "MODEL" ], [ 21, 28, 0, 27, 0, "STRING" ], [ 22, 27, 0, 25, 1, "STRING" ], [ 23, 29, 0, 11, 0, "IMAGE" ] ], "groups": [ { "id": 1, "title": "Step 2 - Upload images", "bounding": [ 515.2686157226562, 509.1893005371094, 700, 680 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 2, "title": "Step 3 - Prompt", "bounding": [ 1235.2686767578125, 509.1893005371094, 430, 330 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 3, "title": "Conditioning", "bounding": [ 895.2686157226562, 39.18930435180664, 540, 250 ], "color": "#3f789e", "font_size": 24, "flags": {} }, { "id": 4, "title": "B站、Youtube:T8star-Aix", "bounding": [ -873.1056518554688, -690.31494140625, 4168, 309 ], "color": "#3f789e", "font_size": 240, "flags": {} } ], "config": {}, "extra": { "ds": { "scale": 0.495000000000002, "offset": [ 1476.846680468814, 1747.6288823493333 ] }, "frontendVersion": "1.23.4", "ue_links": [], "links_added_by_ue": [], "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }