{
  "id": "04e8cdb0-dcd8-47c8-94b9-f53a10f970a1",
  "revision": 0,
  "last_node_id": 839,
  "last_link_id": 1911,
  "nodes": [
    {
      "id": 707,
      "type": "KSamplerSelect",
      "pos": [
        4498.317814487981,
        1546.5502337347336
      ],
      "size": [
        269.9609375,
        88.984375
      ],
      "flags": {},
      "order": 0,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "SAMPLER",
          "type": "SAMPLER",
          "links": [
            1776
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "KSamplerSelect",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "euler"
      ]
    },
    {
      "id": 708,
      "type": "CFGGuider",
      "pos": [
        4498.317814487981,
        1352.7793788550332
      ],
      "size": [
        269.9609375,
        126.77083333333334
      ],
      "flags": {},
      "order": 83,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 1883
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 1875
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 1876
        }
      ],
      "outputs": [
        {
          "name": "GUIDER",
          "type": "GUIDER",
          "links": [
            1775
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "CFGGuider",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        1
      ]
    },
    {
      "id": 715,
      "type": "EmptyFlux2LatentImage",
      "pos": [
        4522.317960434503,
        1710.380045749856
      ],
      "size": [
        270,
        140
      ],
      "flags": {},
      "order": 50,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 1880
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 1879
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            1778
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "EmptyFlux2LatentImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        2048,
        2048,
        1
      ]
    },
    {
      "id": 733,
      "type": "VAEDecode",
      "pos": [
        5384.89520447907,
        1382.5236556136972
      ],
      "size": [
        219.9609375,
        80.13020833333334
      ],
      "flags": {},
      "order": 85,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 1795
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 1884
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "slot_index": 0,
          "links": [
            1794
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "VAEDecode",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 746,
      "type": "SetNode",
      "pos": [
        -4089.86093112703,
        1313.8810871938983
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 58,
      "mode": 0,
      "inputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "link": 1815
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_vae",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "vae"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 744,
      "type": "SetNode",
      "pos": [
        -4102.062088357322,
        1110.4061641297524
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 60,
      "mode": 0,
      "inputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "link": 1814
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_clip",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "clip"
      },
      "widgets_values": [
        "clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 748,
      "type": "GetNode",
      "pos": [
        -38.607309586904165,
        1921.7528393017888
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1816
          ]
        }
      ],
      "title": "Get_clip",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "clip"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 760,
      "type": "ResizeImagesByLongerEdge",
      "pos": [
        -4084.4635699525743,
        3842.702480836897
      ],
      "size": [
        348.624609375,
        58
      ],
      "flags": {},
      "order": 48,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1825
        },
        {
          "name": "longer_edge",
          "type": "INT",
          "widget": {
            "name": "longer_edge"
          },
          "link": 1826
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            1827
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResizeImagesByLongerEdge"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 761,
      "type": "GetNode",
      "pos": [
        -4266.621561936299,
        3898.93598668223
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 2,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1826
          ]
        }
      ],
      "title": "Get_longer_edge",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 762,
      "type": "LoadImage",
      "pos": [
        -4582.451060902706,
        3839.4039290177057
      ],
      "size": [
        282.83333587646484,
        314
      ],
      "flags": {},
      "order": 3,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1825
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_00007_.png",
        "image"
      ]
    },
    {
      "id": 763,
      "type": "SetNode",
      "pos": [
        -3731.7770972800104,
        3847.6163197798487
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 68,
      "mode": 4,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 1827
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_img_ref3",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "img_ref3"
      },
      "widgets_values": [
        "img_ref3"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 764,
      "type": "ResizeImagesByLongerEdge",
      "pos": [
        -4094.779437737448,
        4227.5556981541995
      ],
      "size": [
        348.624609375,
        58
      ],
      "flags": {},
      "order": 49,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1828
        },
        {
          "name": "longer_edge",
          "type": "INT",
          "widget": {
            "name": "longer_edge"
          },
          "link": 1829
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            1830
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResizeImagesByLongerEdge"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 765,
      "type": "GetNode",
      "pos": [
        -4276.937429721175,
        4283.789203999532
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 4,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1829
          ]
        }
      ],
      "title": "Get_longer_edge",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 766,
      "type": "LoadImage",
      "pos": [
        -4592.766928687582,
        4224.257146335008
      ],
      "size": [
        282.83333587646484,
        314
      ],
      "flags": {},
      "order": 5,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1828
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_00007_.png",
        "image"
      ]
    },
    {
      "id": 767,
      "type": "SetNode",
      "pos": [
        -3742.092965064885,
        4232.46953709715
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 69,
      "mode": 4,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 1830
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_img_ref4",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "img_ref4"
      },
      "widgets_values": [
        "img_ref4"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 769,
      "type": "GetNode",
      "pos": [
        -3002.193038699545,
        2094.0333610489097
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 6,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1833
          ]
        }
      ],
      "title": "Get_img_ref2",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref2"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 780,
      "type": "ConditioningZeroOut",
      "pos": [
        586.9064498152079,
        2023.419796100886
      ],
      "size": [
        204.134765625,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 66,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1848
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1850
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.16.4",
        "Node name for S&R": "ConditioningZeroOut",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 782,
      "type": "SetNode",
      "pos": [
        798.5900356591476,
        2026.2367243415108
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 77,
      "mode": 0,
      "inputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "link": 1850
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_prompt_neg",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "prompt_neg"
      },
      "widgets_values": [
        "prompt_neg"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 781,
      "type": "SetNode",
      "pos": [
        606.7829353487731,
        1925.8026622264304
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 67,
      "mode": 0,
      "inputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "link": 1849
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_prompt_pos",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "prompt_pos"
      },
      "widgets_values": [
        "prompt_pos"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 792,
      "type": "GetNode",
      "pos": [
        1097.7983830140488,
        1425.676647516197
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1860
          ]
        }
      ],
      "title": "Get_prompt_neg",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "prompt_neg"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 791,
      "type": "GetNode",
      "pos": [
        1102.257522979221,
        1381.488781946198
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1859
          ]
        }
      ],
      "title": "Get_prompt_pos",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "prompt_pos"
      ],
      "color": "#332922",
      "bgcolor": "#593930"
    },
    {
      "id": 797,
      "type": "GetNode",
      "pos": [
        2272.7289498453215,
        1482.389050178495
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 9,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1862
          ]
        }
      ],
      "title": "Get_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 735,
      "type": "11d8d846-90ab-4038-91d6-decd6db93a04",
      "pos": [
        1699.711234736782,
        1380.2897056229056
      ],
      "size": [
        297.73760757962464,
        90.51696634231939
      ],
      "flags": {},
      "order": 64,
      "mode": 0,
      "inputs": [
        {
          "label": "positive",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1859
        },
        {
          "label": "negative",
          "name": "conditioning_1",
          "type": "CONDITIONING",
          "link": 1860
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 1857
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 1858
        }
      ],
      "outputs": [
        {
          "label": "positive",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1863
          ]
        },
        {
          "label": "negative",
          "name": "CONDITIONING_1",
          "type": "CONDITIONING",
          "links": [
            1864
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [],
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 796,
      "type": "GetNode",
      "pos": [
        2247.0109957320296,
        1436.8509919366757
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 10,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1861
          ]
        }
      ],
      "title": "Get_img_ref2",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref2"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 802,
      "type": "GetNode",
      "pos": [
        3018.077920384559,
        1473.430608065979
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 11,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1868
          ]
        }
      ],
      "title": "Get_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 804,
      "type": "GetNode",
      "pos": [
        2999.792147672475,
        1436.8111675056075
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 12,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1867
          ]
        }
      ],
      "title": "Get_img_ref3",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref3"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 798,
      "type": "e513ce78-aafe-496e-aa29-5df36170058c",
      "pos": [
        2444.3119527798517,
        1379.7752602726484
      ],
      "size": [
        297.73760757962464,
        90.51696634231939
      ],
      "flags": {},
      "order": 75,
      "mode": 4,
      "inputs": [
        {
          "label": "positive",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1863
        },
        {
          "label": "negative",
          "name": "conditioning_1",
          "type": "CONDITIONING",
          "link": 1864
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 1861
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 1862
        }
      ],
      "outputs": [
        {
          "label": "positive",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1869
          ]
        },
        {
          "label": "negative",
          "name": "CONDITIONING_1",
          "type": "CONDITIONING",
          "links": [
            1870
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [],
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 808,
      "type": "GetNode",
      "pos": [
        3749.4045702633293,
        1470.4577355054957
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 13,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1872
          ]
        }
      ],
      "title": "Get_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 810,
      "type": "GetNode",
      "pos": [
        3723.686616150037,
        1424.9196772636772
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 14,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1871
          ]
        }
      ],
      "title": "Get_img_ref4",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref4"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 803,
      "type": "d6a66e0e-8e0c-46c8-bf8d-ef7f2025e33b",
      "pos": [
        3189.660923319083,
        1370.8168181601325
      ],
      "size": [
        297.73760757962464,
        90.51696634231939
      ],
      "flags": {},
      "order": 80,
      "mode": 4,
      "inputs": [
        {
          "label": "positive",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1869
        },
        {
          "label": "negative",
          "name": "conditioning_1",
          "type": "CONDITIONING",
          "link": 1870
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 1867
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 1868
        }
      ],
      "outputs": [
        {
          "label": "positive",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1873
          ]
        },
        {
          "label": "negative",
          "name": "CONDITIONING_1",
          "type": "CONDITIONING",
          "links": [
            1874
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [],
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 809,
      "type": "d779d914-cfa9-4a60-96fb-1538598edaa7",
      "pos": [
        3920.9875731978595,
        1367.8439455996493
      ],
      "size": [
        297.73760757962464,
        90.51696634231939
      ],
      "flags": {},
      "order": 82,
      "mode": 4,
      "inputs": [
        {
          "label": "positive",
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 1873
        },
        {
          "label": "negative",
          "name": "conditioning_1",
          "type": "CONDITIONING",
          "link": 1874
        },
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 1871
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 1872
        }
      ],
      "outputs": [
        {
          "label": "positive",
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            1875
          ]
        },
        {
          "label": "negative",
          "name": "CONDITIONING_1",
          "type": "CONDITIONING",
          "links": [
            1876
          ]
        }
      ],
      "properties": {
        "proxyWidgets": [],
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 813,
      "type": "SetNode",
      "pos": [
        -4038.7059901456073,
        2064.1263765336485
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 63,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 1878
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_height",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "height"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 812,
      "type": "SetNode",
      "pos": [
        -4029.9454958719375,
        2002.3223849283097
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 62,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 1877
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_width",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "width"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 814,
      "type": "GetNode",
      "pos": [
        4302.505283660491,
        1761.0193536506476
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 15,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1880
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 815,
      "type": "GetNode",
      "pos": [
        4298.361158976948,
        1805.7819271364554
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 16,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1879
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 817,
      "type": "GetNode",
      "pos": [
        4316.72724595469,
        1964.8879805230524
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1881
          ]
        }
      ],
      "title": "Get_width",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "width"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 816,
      "type": "GetNode",
      "pos": [
        4320.705169110728,
        2012.6963219487052
      ],
      "size": [
        210,
        50
      ],
      "flags": {
        "collapsed": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1882
          ]
        }
      ],
      "title": "Get_height",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "height"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 818,
      "type": "GetNode",
      "pos": [
        4340.283617114084,
        1354.7896447579094
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1883
          ]
        }
      ],
      "title": "Get_model",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "model"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 819,
      "type": "GetNode",
      "pos": [
        5244.807627383141,
        1438.9272175506699
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 20,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1884
          ]
        }
      ],
      "title": "Get_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 821,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        2522.291195977861,
        1052.0520890818707
      ],
      "size": [
        516.770983378189,
        137.40496317191446
      ],
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "",
        "matchTitle": "Conditionning",
        "showNav": true,
        "showAllGraphs": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "default"
      }
    },
    {
      "id": 825,
      "type": "GetNode",
      "pos": [
        6134.083042173193,
        1027.8704979431975
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1886
          ]
        }
      ],
      "title": "Get_img_ref1",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref1"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 824,
      "type": "PreviewImage",
      "pos": [
        6542.28051067184,
        1363.0483660805319
      ],
      "size": [
        988.2268783314548,
        586.1039319117776
      ],
      "flags": {},
      "order": 52,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1886
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 723,
      "type": "Flux2Scheduler",
      "pos": [
        4521.963079902841,
        1894.2439042547867
      ],
      "size": [
        260,
        140
      ],
      "flags": {},
      "order": 51,
      "mode": 0,
      "inputs": [
        {
          "name": "width",
          "type": "INT",
          "widget": {
            "name": "width"
          },
          "link": 1881
        },
        {
          "name": "height",
          "type": "INT",
          "widget": {
            "name": "height"
          },
          "link": 1882
        }
      ],
      "outputs": [
        {
          "name": "SIGMAS",
          "type": "SIGMAS",
          "links": [
            1777
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "Flux2Scheduler",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        4,
        2048,
        2048
      ]
    },
    {
      "id": 759,
      "type": "SetNode",
      "pos": [
        -3731.7770972800076,
        3562.2205539734905
      ],
      "size": [
        210,
        58
      ],
      "flags": {},
      "order": 70,
      "mode": 4,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 1824
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_img_ref2",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "img_ref2"
      },
      "widgets_values": [
        "img_ref2"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 756,
      "type": "ResizeImagesByLongerEdge",
      "pos": [
        -4100.814369035225,
        3563.2524601515047
      ],
      "size": [
        348.624609375,
        58
      ],
      "flags": {},
      "order": 53,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1822
        },
        {
          "name": "longer_edge",
          "type": "INT",
          "widget": {
            "name": "longer_edge"
          },
          "link": 1823
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            1824
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResizeImagesByLongerEdge"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 758,
      "type": "GetNode",
      "pos": [
        -4279.9994884584685,
        3597.189421793217
      ],
      "size": [
        210,
        34
      ],
      "flags": {
        "collapsed": true
      },
      "order": 23,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1823
          ]
        }
      ],
      "title": "Get_longer_edge",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 757,
      "type": "LoadImage",
      "pos": [
        -4583.937497182947,
        3500.4964571226596
      ],
      "size": [
        302.1570075196023,
        326
      ],
      "flags": {},
      "order": 24,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1822
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_00007_.png",
        "image"
      ]
    },
    {
      "id": 724,
      "type": "RandomNoise",
      "pos": [
        4832.317995030645,
        1220.38008532097
      ],
      "size": [
        269.9609375,
        86.78385416666667
      ],
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "NOISE",
          "type": "NOISE",
          "links": [
            1774
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "RandomNoise",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        4,
        "fixed"
      ]
    },
    {
      "id": 751,
      "type": "SetNode",
      "pos": [
        -3741.078291528475,
        3033.957257076291
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 72,
      "mode": 0,
      "inputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "link": 1821
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_img_ref1",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "img_ref1"
      },
      "widgets_values": [
        "img_ref1"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 752,
      "type": "ResizeImagesByLongerEdge",
      "pos": [
        -4156.416210723607,
        3056.069532319545
      ],
      "size": [
        348.624609375,
        58
      ],
      "flags": {},
      "order": 57,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1888
        },
        {
          "name": "longer_edge",
          "type": "INT",
          "widget": {
            "name": "longer_edge"
          },
          "link": 1819
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            1821
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResizeImagesByLongerEdge"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 753,
      "type": "PrimitiveInt",
      "pos": [
        -4494.450153112092,
        1820.3841873858805
      ],
      "size": [
        357.6997405342445,
        126.5930884072427
      ],
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1906
          ]
        }
      ],
      "title": "Max longer age for image resize input",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "PrimitiveInt"
      },
      "widgets_values": [
        1024,
        "fixed"
      ]
    },
    {
      "id": 711,
      "type": "MarkdownNote",
      "pos": [
        -5270.542956957223,
        853.6184549386137
      ],
      "size": [
        610,
        670
      ],
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [],
      "outputs": [],
      "properties": {},
      "widgets_values": [
        "[black-forest-labs/FLUX.2-klein-9b-kv-fp8](https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-kv-fp8)\n\n## Model links (for local users)\n\n**diffusion_models**\n\n- [flux-2-klein-9b-kv-fp8.safetensors](https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-kv-fp8/resolve/main/flux-2-klein-9b-kv-fp8.safetensors)\n\n**text_encoders**\n\n- [qwen_3_8b_fp8mixed.safetensors](https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors)\n\n**vae**\n\n- [flux2-vae.safetensors](https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors)\n\n\nModel Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│   ├── 📂 diffusion_models/\n│   │      └── flux-2-klein-9b-kv-fp8.safetensors\n│   ├── 📂 text_encoders/\n│   │      └── qwen_3_8b_fp8mixed.safetensors\n│   └── 📂 vae/\n│          └── flux2-vae.safetensors\n```\n## Report issue\n\nNote: please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud will be updated after the stable release; nightly-supported models may not be included yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
      ],
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 713,
      "type": "FluxKVCache",
      "pos": [
        -4072.136743732988,
        912.5702619171337
      ],
      "size": [
        250,
        70
      ],
      "flags": {},
      "order": 65,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 1907
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1813
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.16.4",
        "Node name for S&R": "FluxKVCache",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 739,
      "type": "SetNode",
      "pos": [
        -3716.2384948449844,
        912.7243772271427
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 76,
      "mode": 0,
      "inputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "link": 1813
        }
      ],
      "outputs": [
        {
          "name": "*",
          "type": "*",
          "links": null
        }
      ],
      "title": "Set_model",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "model"
      },
      "widgets_values": [
        "model"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 774,
      "type": "GetNode",
      "pos": [
        -2416.278099221472,
        2009.216082664193
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 28,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1840
          ]
        }
      ],
      "title": "Get_longer_edge",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 717,
      "type": "ImageStitch",
      "pos": [
        -2646.1643912384443,
        1896.6372451240088
      ],
      "size": [
        270,
        150
      ],
      "flags": {
        "collapsed": true
      },
      "order": 55,
      "mode": 4,
      "inputs": [
        {
          "name": "image1",
          "type": "IMAGE",
          "link": 1832
        },
        {
          "name": "image2",
          "shape": 7,
          "type": "IMAGE",
          "link": 1833
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "Node name for S&R": "ImageStitch"
      },
      "widgets_values": [
        "right",
        true,
        0,
        "white"
      ]
    },
    {
      "id": 768,
      "type": "GetNode",
      "pos": [
        -2994.3412404806545,
        1918.9108600453637
      ],
      "size": [
        210,
        60
      ],
      "flags": {},
      "order": 29,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1832,
            1892
          ]
        }
      ],
      "title": "Get_img_ref1",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref1"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 755,
      "type": "GetNode",
      "pos": [
        -4183.788276004522,
        3230.2351727955947
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 30,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            1819
          ]
        }
      ],
      "title": "Get_longer_edge",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 750,
      "type": "LoadImage",
      "pos": [
        -4551.139376287729,
        3070.6450696553175
      ],
      "size": [
        282.83333587646484,
        314
      ],
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1888
          ]
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "abhishek-verma-bike-concepts.jpg",
        "image"
      ]
    },
    {
      "id": 773,
      "type": "ResizeImagesByLongerEdge",
      "pos": [
        -2175.9729361662075,
        1882.6228915645383
      ],
      "size": [
        348.624609375,
        58
      ],
      "flags": {},
      "order": 56,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1892
        },
        {
          "name": "longer_edge",
          "type": "INT",
          "widget": {
            "name": "longer_edge"
          },
          "link": 1840
        }
      ],
      "outputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "links": [
            1844,
            1896
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResizeImagesByLongerEdge"
      },
      "widgets_values": [
        1024
      ]
    },
    {
      "id": 776,
      "type": "StringConcatenate",
      "pos": [
        -2093.481719095186,
        2385.426666693341
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 61,
      "mode": 4,
      "inputs": [
        {
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          },
          "link": 1845
        },
        {
          "name": "string_b",
          "type": "STRING",
          "widget": {
            "name": "string_b"
          },
          "link": 1846
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1899
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
        "",
        "",
        ""
      ]
    },
    {
      "id": 745,
      "type": "VAELoader",
      "pos": [
        -4537.843174605089,
        1285.2926731610394
      ],
      "size": [
        364.38802083333337,
        88.984375
      ],
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1815
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "VAELoader",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "models": [
          {
            "name": "flux2-vae.safetensors",
            "url": "https://huggingface.co/Comfy-Org/flux2-dev/resolve/main/split_files/vae/flux2-vae.safetensors",
            "directory": "vae"
          }
        ]
      },
      "widgets_values": [
        "flux2-vae.safetensors"
      ]
    },
    {
      "id": 822,
      "type": "Fast Groups Bypasser (rgthree)",
      "pos": [
        -2194.5491932943805,
        -227.22300549984163
      ],
      "size": [
        475.33694518828804,
        298
      ],
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "OPT_CONNECTION",
          "type": "*",
          "links": null
        }
      ],
      "properties": {
        "matchColors": "",
        "matchTitle": "Qwen",
        "showNav": true,
        "showAllGraphs": true,
        "sort": "position",
        "customSortAlphabet": "",
        "toggleRestriction": "default"
      }
    },
    {
      "id": 828,
      "type": "CLIPLoader",
      "pos": [
        -1773.5609777413536,
        1881.5626879852414
      ],
      "size": [
        370,
        150
      ],
      "flags": {
        "collapsed": true
      },
      "order": 34,
      "mode": 4,
      "showAdvanced": false,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1894
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "gemma4_e4b_it_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "gemma4_e4b_it_fp8_scaled.safetensors",
        "stable_diffusion",
        "default"
      ]
    },
    {
      "id": 727,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2748.7021668699845,
        325.59068973973535
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 35,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1901
          ]
        }
      ],
      "title": "Prompt to improve in any language (Multiline)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Voici un matte painting d'un bateau traditionnel (brigantin) dans une crique, la météo est overcast. Change cette scene pour qu'elle se déroule à midi, un jour de grand soleil. La plage est bordée de vague qui laissent apparaitre de l'écume."
      ]
    },
    {
      "id": 834,
      "type": "StringConcatenate",
      "pos": [
        -2151.7928763059554,
        334.6173645800869
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 59,
      "mode": 4,
      "inputs": [
        {
          "name": "string_a",
          "type": "STRING",
          "widget": {
            "name": "string_a"
          },
          "link": 1901
        },
        {
          "name": "string_b",
          "type": "STRING",
          "widget": {
            "name": "string_b"
          },
          "link": 1902
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1903
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "StringConcatenate"
      },
      "widgets_values": [
        "",
        "",
        ""
      ]
    },
    {
      "id": 833,
      "type": "CLIPLoader",
      "pos": [
        -1922.361437957177,
        624.8575941716241
      ],
      "size": [
        370,
        150
      ],
      "flags": {
        "collapsed": true
      },
      "order": 36,
      "mode": 4,
      "showAdvanced": false,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1900
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "CLIPLoader",
        "models": [
          {
            "name": "gemma4_e4b_it_fp8_scaled.safetensors",
            "url": "https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "gemma4_e4b_it_fp8_scaled.safetensors",
        "stable_diffusion",
        "default"
      ]
    },
    {
      "id": 836,
      "type": "PreviewAny",
      "pos": [
        -1077.3800112549548,
        432.72215907601355
      ],
      "size": [
        210,
        166
      ],
      "flags": {},
      "order": 78,
      "mode": 4,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 1905
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.24.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 832,
      "type": "TextGenerate",
      "pos": [
        -1638.2083490579823,
        391.65564081897037
      ],
      "size": [
        400,
        412
      ],
      "flags": {},
      "order": 73,
      "mode": 4,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1900
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 1903
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            1905
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "TextGenerate"
      },
      "widgets_values": [
        "Describe the image, and transcribe the audio",
        2048,
        "on",
        0.7,
        64,
        0.95,
        0.05,
        1.05,
        0,
        0,
        false,
        true
      ]
    },
    {
      "id": 820,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2689.638788706295,
        570.0335811074626
      ],
      "size": [
        529.1918779476798,
        406.42615280770565
      ],
      "flags": {
        "collapsed": false
      },
      "order": 37,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1902
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "You are an expert prompt engineer specialized in text-to-image generation models. Your task is to transform vague, short, or ambiguous user prompts into highly detailed, visually rich, and optimized descriptive prompts in English.\n\nThe input you receive may be written in any language. You must always output the final refined prompt in English.\n\nYour role is to:\n1. Translate the user's idea into English.\n2. Resolve ambiguities by making creative but logical choices that enhance the visual quality.\n3. Expand the prompt by adding specific details regarding: composition, lighting, textures, camera settings, and artistic atmosphere.\n4. Maintain the core essence of the user's intent while elevating it to a professional artistic level.\n\nCore principles for expansion:\n- Sensory Detail: Describe textures (weathered wood, soft silk, damp pavement), materials, and fine details.\n- Lighting & Color: Specify the light source (golden hour, neon glow, volumetric fog) and a coherent color palette.\n- Composition & Camera: Define the shot type (close-up, wide shot, bird's-eye view) and technical aspects (shallow depth of field, 35mm lens, motion blur).\n- Style & Mood: Unless specified otherwise, default to high-end cinematic realism or a polished digital art style. Define the atmosphere (e.g., melancholic, vibrant, ethereal).\n- No Meta-Talk: Do not use words like \"photorealistic\" or \"ultra-detailed\". Instead, describe the details that make it so (e.g., \"visible pores and fine facial hair\" instead of \"hyper-realistic skin\").\n\nOutput format:\nReturn only the improved prompt in English. No explanations, no introductory text, no quotes.\n\nExamples:\n\nInput (French):\n\"un chat dans l'espace\"\nOutput:\n\"A majestic cinematic shot of a fluffy ginger cat floating weightlessly inside a futuristic glass-domed spaceship. Earth is visible in the background as a glowing blue crescent. Soft blue cockpit lighting reflects off the cat’s fur, with tiny dust motes shimmering in zero gravity. High-tech control panels with glowing holographic interfaces surround the scene.\"\n\nInput (French):\n\"une ville futuriste sous la pluie\"\nOutput:\n\"A wide-angle panoramic view of a cyberpunk megalopolis at night during a heavy downpour. Towering skyscrapers with massive animated neon billboards are reflected in deep puddles on the asphalt. Flying vehicles with glowing tail lights streak through the hazy, rain-slicked air. The atmosphere is moody and noir, with a color palette of deep cyans and vibrant magentas.\"\n\nInput (French):\n\"chevalier devant un château\"\nOutput:\n\"A heroic low-angle shot of a battle-worn knight in intricate silver plate armor standing before a gothic stone fortress. The knight holds a glowing broadsword pointing towards the ground. Dark, dramatic storm clouds gather above the castle towers, with occasional flashes of lightning illuminating the damp stone textures and the knight's tattered red cape fluttering in the wind.\"\n\nInput (French):\n\"forêt magique avec des champignons\"\nOutput:\n\"An enchanting, ethereal forest floor viewed from a macro perspective. Giant bioluminescent mushrooms in shades of teal and violet emit a soft glow, illuminating the surrounding mossy earth and ancient gnarled roots. Tiny forest spirits appearing as golden specks of light drift through the air. A soft, mystical fog rolls between the trees, creating a dreamlike, fairytale atmosphere.\"\n\nInput (French):\n\"portrait d'une vieille femme\"\nOutput:\n\"A soulful, close-up portrait of an elderly woman with a kind expression. Her face is a map of deep wrinkles and wisdom, captured in natural side-lighting that emphasizes the texture of her weathered skin. She wears a hand-woven wool shawl with visible fibers. The background is a soft, out-of-focus rustic interior, creating a warm and intimate atmosphere.\""
      ]
    },
    {
      "id": 775,
      "type": "PreviewImage",
      "pos": [
        -2125.9583780906955,
        2022.3712112615656
      ],
      "size": [
        290.7655130222324,
        246
      ],
      "flags": {},
      "order": 71,
      "mode": 4,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1844
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "PreviewImage"
      },
      "widgets_values": []
    },
    {
      "id": 725,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2628.5328487588326,
        2374.070575021578
      ],
      "size": [
        529.1918779476798,
        406.42615280770565
      ],
      "flags": {
        "collapsed": true
      },
      "order": 38,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1845
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Here is your system prompt : \"You are an expert prompt engineer specialized in image editing models. Your task is to transform user-provided editing instructions into precise, detailed, and optimized prompts in English for an image-to-image editing model.\n\nThe input you receive may be written in any language. You must always output a refined version of the instruction in English, regardless of the input language.\n\nYou have access to both:\n\nThe original user instruction (prompt)\nThe input image to be edited\n\nYour role is to:\n\nTranslate the instruction into English if necessary\nClarify ambiguous or underspecified requests using visual cues from the image\nExpand the instruction into a structured, explicit, and model-friendly prompt\nPreserve the user’s intent exactly, without adding unrelated modifications\n\nCore principles:\n\nLocality of edits\nOnly modify what is explicitly requested. All other elements of the image must remain unchanged.\nStructural preservation\nPreserve identity, pose, composition, lighting consistency, perspective, and overall realism unless explicitly instructed otherwise.\nVisual coherence\nEnsure that any modification blends naturally with the image. Maintain consistent lighting, shadows, reflections, textures, depth of field, and color grading.\nExplicit reconstruction instructions\nWhen removing or replacing elements, explicitly describe how the background or occluded areas should be reconstructed.\nPrecision over brevity\nPrefer detailed and explicit instructions over short prompts.\nNo invention of intent\nDo not introduce new elements or changes that were not requested.\nImage-aware reasoning\nUse the visual content of the image to make the prompt more precise (e.g., refer to visible objects, positions, attributes, or context).\nOutput format:\n\nReturn a single improved prompt in English. Do not include explanations, comments, or metadata.\n\nExamples:\n\nInput (French):\n\"enlève le chapeau\"\n\nOutput:\n\"Remove the hat from the subject’s head, reconstructing the occluded hair and background realistically. Preserve the subject’s facial features, head shape, pose, and lighting. Ensure the reconstructed areas blend seamlessly with the surrounding textures and maintain consistent color and illumination across the image.\"\n\nInput (French):\n\"change le ciel en coucher de soleil\"\n\nOutput:\n\"Replace the sky with a realistic sunset sky, featuring warm tones such as orange, pink, and soft purple hues. Adapt the global lighting of the scene to match the sunset ambiance, including subtle warm reflections and color shifts on visible surfaces, while preserving the original composition and all foreground elements.\"\n\nInput (French):\n\"mets une veste en cuir\"\n\nOutput:\n\"Replace the subject’s current upper-body clothing with a realistic leather jacket that fits their body shape and pose. Preserve the subject’s posture and anatomy, and ensure the jacket follows natural folds and lighting consistent with the scene. Maintain all other elements of the image unchanged.\"\n\nInput (French):\n\"supprime la voiture derrière\"\n\nOutput:\n\"Remove the car located in the background behind the subject. Reconstruct the background to fill the removed area with contextually accurate elements (such as street, buildings, or environment details), ensuring proper perspective, lighting, and texture continuity. Keep the subject and all other elements unchanged.\"\n\nInput (French):\n\"change la couleur des yeux en bleu\"\n\nOutput:\n\"Change the subject’s eye color to natural-looking blue while preserving eye details such as reflections, texture, and lighting. Ensure the result remains realistic and consistent with the overall image quality and color balance. Do not alter any other facial features.\"\n\"\n\nHere is the user input : "
      ]
    },
    {
      "id": 743,
      "type": "CLIPLoader",
      "pos": [
        -4538.8251831371945,
        1082.7760665976132
      ],
      "size": [
        364.38802083333337,
        146.6796875
      ],
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1814
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "CLIPLoader",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "models": [
          {
            "name": "qwen_3_8b_fp8mixed.safetensors",
            "url": "https://huggingface.co/Comfy-Org/flux2-klein-9B/resolve/main/split_files/text_encoders/qwen_3_8b_fp8mixed.safetensors",
            "directory": "text_encoders"
          }
        ]
      },
      "widgets_values": [
        "qwen_3_8b_fp8mixed.safetensors",
        "flux2",
        "default"
      ]
    },
    {
      "id": 754,
      "type": "SetNode",
      "pos": [
        -4015.753305647879,
        1828.63192391578
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": false
      },
      "order": 54,
      "mode": 0,
      "inputs": [
        {
          "name": "INT",
          "type": "INT",
          "link": 1906
        }
      ],
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": null
        }
      ],
      "title": "Set_longer_edge",
      "properties": {
        "Node name for S&R": "SetNode",
        "aux_id": "kijai/ComfyUI-KJNodes",
        "previousName": "longer_edge"
      },
      "widgets_values": [
        "longer_edge"
      ],
      "color": "#1b4669",
      "bgcolor": "#29699c"
    },
    {
      "id": 741,
      "type": "UNETLoader",
      "pos": [
        -4565.592060747731,
        891.2830153053976
      ],
      "size": [
        364.38802083333337,
        117.83854166666667
      ],
      "flags": {},
      "order": 40,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "UNETLoader",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65,
        "models": [
          {
            "name": "flux-2-klein-9b-kv-fp8.safetensors",
            "url": "https://huggingface.co/black-forest-labs/FLUX.2-klein-9b-kv-fp8/resolve/main/flux-2-klein-9b-kv-fp8.safetensors",
            "directory": "diffusion_models"
          }
        ]
      },
      "widgets_values": [
        "flux-2-klein-9b-kv-fp8.safetensors",
        "default"
      ]
    },
    {
      "id": 778,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2774.8805967920107,
        2477.5289504215007
      ],
      "size": [
        400,
        200
      ],
      "flags": {},
      "order": 41,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            1846
          ]
        }
      ],
      "title": "USER Input (your prompt) (String (Multiline))",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "Voici une moto futuriste, j'aimerais que tu changes sa texture sans changer sa forme, afin que ses couleurs soient un assemblage de jaunes qui rappelle une guepe. \nRetire le fond pour que la moto soit sur un fond uni blanc."
      ]
    },
    {
      "id": 831,
      "type": "TextGenerate",
      "pos": [
        -1598.958242695944,
        1860.9211227070955
      ],
      "size": [
        400,
        412
      ],
      "flags": {},
      "order": 74,
      "mode": 4,
      "showAdvanced": true,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1894
        },
        {
          "name": "image",
          "shape": 7,
          "type": "IMAGE",
          "link": 1896
        },
        {
          "name": "video",
          "shape": 7,
          "type": "IMAGE",
          "link": null
        },
        {
          "name": "audio",
          "shape": 7,
          "type": "AUDIO",
          "link": null
        },
        {
          "name": "prompt",
          "type": "STRING",
          "widget": {
            "name": "prompt"
          },
          "link": 1899
        }
      ],
      "outputs": [
        {
          "name": "generated_text",
          "type": "STRING",
          "links": [
            1908
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "TextGenerate"
      },
      "widgets_values": [
        "Describe the image, and transcribe the audio",
        2048,
        "on",
        0.7,
        64,
        0.95,
        0.05,
        1.05,
        0,
        0,
        false,
        true
      ]
    },
    {
      "id": 838,
      "type": "VRAMCleanup",
      "pos": [
        -1174.181081092633,
        1863.5770687751033
      ],
      "size": [
        270,
        82
      ],
      "flags": {},
      "order": 79,
      "mode": 4,
      "inputs": [
        {
          "name": "anything",
          "shape": 7,
          "type": "*",
          "link": 1908
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "*",
          "links": [
            1909
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfyui_memory_cleanup",
        "ver": "1.1.3",
        "Node name for S&R": "VRAMCleanup"
      },
      "widgets_values": [
        true,
        true
      ]
    },
    {
      "id": 811,
      "type": "ResolutionSelector",
      "pos": [
        -4472.868771879928,
        2011.3373797691631
      ],
      "size": [
        270,
        126
      ],
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "width",
          "type": "INT",
          "links": [
            1877
          ]
        },
        {
          "name": "height",
          "type": "INT",
          "links": [
            1878
          ]
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.2",
        "Node name for S&R": "ResolutionSelector"
      },
      "widgets_values": [
        "1:1 (Square)",
        1.5,
        8
      ]
    },
    {
      "id": 710,
      "type": "SamplerCustomAdvanced",
      "pos": [
        4856.581885435513,
        1370.3114299793883
      ],
      "size": [
        260,
        326
      ],
      "flags": {},
      "order": 84,
      "mode": 0,
      "inputs": [
        {
          "name": "noise",
          "type": "NOISE",
          "link": 1774
        },
        {
          "name": "guider",
          "type": "GUIDER",
          "link": 1775
        },
        {
          "name": "sampler",
          "type": "SAMPLER",
          "link": 1776
        },
        {
          "name": "sigmas",
          "type": "SIGMAS",
          "link": 1777
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 1778
        }
      ],
      "outputs": [
        {
          "name": "output",
          "type": "LATENT",
          "links": [
            1795
          ]
        },
        {
          "name": "denoised_output",
          "type": "LATENT",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "SamplerCustomAdvanced",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": []
    },
    {
      "id": 747,
      "type": "CLIPTextEncode",
      "pos": [
        114.07113212338687,
        1894.1478834364761
      ],
      "size": [
        440,
        380
      ],
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1816
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "slot_index": 0,
          "links": [
            1848,
            1849
          ]
        }
      ],
      "title": "CLIP Text Encode (Positive Prompt)",
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "CLIPTextEncode",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Change the texture of the futuristic motorcycle to resemble a wasp pattern, utilizing shades of yellow as the primary color palette, while strictly maintaining the existing shape, form, and structural details of the bike. Remove the current background entirely and replace it with a solid white backdrop. Ensure the motorcycle maintains its current lighting and shadows, adapted naturally to the new white background."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 830,
      "type": "PreviewAny",
      "pos": [
        -812.401640051592,
        1849.6198162298535
      ],
      "size": [
        560,
        660
      ],
      "flags": {
        "collapsed": false
      },
      "order": 81,
      "mode": 0,
      "inputs": [
        {
          "name": "source",
          "type": "*",
          "link": 1909
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.21.0",
        "Node name for S&R": "PreviewAny"
      },
      "widgets_values": [
        null,
        null,
        null
      ]
    },
    {
      "id": 726,
      "type": "PrimitiveStringMultiline",
      "pos": [
        -2736.4869041481747,
        2855.4855925468937
      ],
      "size": [
        529.1918779476798,
        406.42615280770565
      ],
      "flags": {
        "collapsed": true
      },
      "order": 43,
      "mode": 4,
      "inputs": [],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": []
        }
      ],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.18.1",
        "Node name for S&R": "PrimitiveStringMultiline"
      },
      "widgets_values": [
        "You are an expert prompt engineer specialized in text-to-image generation models. Your task is to transform vague, short, or ambiguous user prompts into highly detailed, visually rich, and optimized descriptive prompts in English.\n\nThe input you receive may be written in any language. You must always output the final refined prompt in English.\n\nYour role is to:\n1. Translate the user's idea into English.\n2. Resolve ambiguities by making creative but logical choices that enhance the visual quality.\n3. Expand the prompt by adding specific details regarding: composition, lighting, textures, camera settings, and artistic atmosphere.\n4. Maintain the core essence of the user's intent while elevating it to a professional artistic level.\n\nCore principles for expansion:\n- Sensory Detail: Describe textures (weathered wood, soft silk, damp pavement), materials, and fine details.\n- Lighting & Color: Specify the light source (golden hour, neon glow, volumetric fog) and a coherent color palette.\n- Composition & Camera: Define the shot type (close-up, wide shot, bird's-eye view) and technical aspects (shallow depth of field, 35mm lens, motion blur).\n- Style & Mood: Unless specified otherwise, default to high-end cinematic realism or a polished digital art style. Define the atmosphere (e.g., melancholic, vibrant, ethereal).\n- No Meta-Talk: Do not use words like \"photorealistic\" or \"ultra-detailed\". Instead, describe the details that make it so (e.g., \"visible pores and fine facial hair\" instead of \"hyper-realistic skin\").\n\nOutput format:\nReturn only the improved prompt in English. No explanations, no introductory text, no quotes.\n\nExamples:\n\nInput (French):\n\"un chat dans l'espace\"\nOutput:\n\"A majestic cinematic shot of a fluffy ginger cat floating weightlessly inside a futuristic glass-domed spaceship. Earth is visible in the background as a glowing blue crescent. Soft blue cockpit lighting reflects off the cat’s fur, with tiny dust motes shimmering in zero gravity. High-tech control panels with glowing holographic interfaces surround the scene.\"\n\nInput (French):\n\"une ville futuriste sous la pluie\"\nOutput:\n\"A wide-angle panoramic view of a cyberpunk megalopolis at night during a heavy downpour. Towering skyscrapers with massive animated neon billboards are reflected in deep puddles on the asphalt. Flying vehicles with glowing tail lights streak through the hazy, rain-slicked air. The atmosphere is moody and noir, with a color palette of deep cyans and vibrant magentas.\"\n\nInput (French):\n\"chevalier devant un château\"\nOutput:\n\"A heroic low-angle shot of a battle-worn knight in intricate silver plate armor standing before a gothic stone fortress. The knight holds a glowing broadsword pointing towards the ground. Dark, dramatic storm clouds gather above the castle towers, with occasional flashes of lightning illuminating the damp stone textures and the knight's tattered red cape fluttering in the wind.\"\n\nInput (French):\n\"forêt magique avec des champignons\"\nOutput:\n\"An enchanting, ethereal forest floor viewed from a macro perspective. Giant bioluminescent mushrooms in shades of teal and violet emit a soft glow, illuminating the surrounding mossy earth and ancient gnarled roots. Tiny forest spirits appearing as golden specks of light drift through the air. A soft, mystical fog rolls between the trees, creating a dreamlike, fairytale atmosphere.\"\n\nInput (French):\n\"portrait d'une vieille femme\"\nOutput:\n\"A soulful, close-up portrait of an elderly woman with a kind expression. Her face is a map of deep wrinkles and wisdom, captured in natural side-lighting that emphasizes the texture of her weathered skin. She wears a hand-woven wool shawl with visible fibers. The background is a soft, out-of-focus rustic interior, creating a warm and intimate atmosphere.\""
      ]
    },
    {
      "id": 789,
      "type": "GetNode",
      "pos": [
        1526.8997720665152,
        1482.9034955287516
      ],
      "size": [
        210,
        60
      ],
      "flags": {
        "collapsed": true
      },
      "order": 44,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            1858
          ]
        }
      ],
      "title": "Get_vae",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "vae"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 790,
      "type": "GetNode",
      "pos": [
        1508.6511791434568,
        1442.9129052464855
      ],
      "size": [
        210,
        58
      ],
      "flags": {
        "collapsed": true
      },
      "order": 45,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            1857
          ]
        }
      ],
      "title": "Get_img_ref1",
      "properties": {
        "Node name for S&R": "GetNode",
        "aux_id": "kijai/ComfyUI-KJNodes"
      },
      "widgets_values": [
        "img_ref1"
      ],
      "color": "#2a363b",
      "bgcolor": "#3f5159"
    },
    {
      "id": 732,
      "type": "SaveImage",
      "pos": [
        5737.303288894415,
        1372.1142970831431
      ],
      "size": [
        773.601876841064,
        607.9099296937302
      ],
      "flags": {},
      "order": 86,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 1794
        }
      ],
      "outputs": [],
      "properties": {
        "cnr_id": "comfy-core",
        "ver": "0.8.2",
        "Node name for S&R": "SaveImage",
        "enableTabs": false,
        "tabWidth": 65,
        "tabXOffset": 10,
        "hasSecondTab": false,
        "secondTabText": "Send Back",
        "secondTabOffset": 80,
        "secondTabWidth": 65
      },
      "widgets_values": [
        "Flux2_Klein_9b_kv"
      ]
    },
    {
      "id": 837,
      "type": "UnetLoaderGGUF",
      "pos": [
        -4517.831903466085,
        718.2643665768062
      ],
      "size": [
        270,
        58
      ],
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            1907
          ]
        }
      ],
      "properties": {
        "cnr_id": "ComfyUI-GGUF",
        "ver": "6ea2651e7df66d7585f6ffee804b20e92fb38b8a",
        "Node name for S&R": "UnetLoaderGGUF"
      },
      "widgets_values": [
        "Flux-2-Klein-9B-KV-Q5_K_M.gguf"
      ]
    }
  ],
  "links": [
    [
      1774,
      724,
      0,
      710,
      0,
      "NOISE"
    ],
    [
      1775,
      708,
      0,
      710,
      1,
      "GUIDER"
    ],
    [
      1776,
      707,
      0,
      710,
      2,
      "SAMPLER"
    ],
    [
      1777,
      723,
      0,
      710,
      3,
      "SIGMAS"
    ],
    [
      1778,
      715,
      0,
      710,
      4,
      "LATENT"
    ],
    [
      1794,
      733,
      0,
      732,
      0,
      "IMAGE"
    ],
    [
      1795,
      710,
      0,
      733,
      0,
      "LATENT"
    ],
    [
      1813,
      713,
      0,
      739,
      0,
      "MODEL"
    ],
    [
      1814,
      743,
      0,
      744,
      0,
      "CLIP"
    ],
    [
      1815,
      745,
      0,
      746,
      0,
      "VAE"
    ],
    [
      1816,
      748,
      0,
      747,
      0,
      "CLIP"
    ],
    [
      1819,
      755,
      0,
      752,
      1,
      "INT"
    ],
    [
      1821,
      752,
      0,
      751,
      0,
      "IMAGE"
    ],
    [
      1822,
      757,
      0,
      756,
      0,
      "IMAGE"
    ],
    [
      1823,
      758,
      0,
      756,
      1,
      "INT"
    ],
    [
      1824,
      756,
      0,
      759,
      0,
      "IMAGE"
    ],
    [
      1825,
      762,
      0,
      760,
      0,
      "IMAGE"
    ],
    [
      1826,
      761,
      0,
      760,
      1,
      "INT"
    ],
    [
      1827,
      760,
      0,
      763,
      0,
      "IMAGE"
    ],
    [
      1828,
      766,
      0,
      764,
      0,
      "IMAGE"
    ],
    [
      1829,
      765,
      0,
      764,
      1,
      "INT"
    ],
    [
      1830,
      764,
      0,
      767,
      0,
      "IMAGE"
    ],
    [
      1832,
      768,
      0,
      717,
      0,
      "IMAGE"
    ],
    [
      1833,
      769,
      0,
      717,
      1,
      "IMAGE"
    ],
    [
      1840,
      774,
      0,
      773,
      1,
      "INT"
    ],
    [
      1844,
      773,
      0,
      775,
      0,
      "IMAGE"
    ],
    [
      1845,
      725,
      0,
      776,
      0,
      "STRING"
    ],
    [
      1846,
      778,
      0,
      776,
      1,
      "STRING"
    ],
    [
      1848,
      747,
      0,
      780,
      0,
      "CONDITIONING"
    ],
    [
      1849,
      747,
      0,
      781,
      0,
      "CONDITIONING"
    ],
    [
      1850,
      780,
      0,
      782,
      0,
      "CONDITIONING"
    ],
    [
      1857,
      790,
      0,
      735,
      2,
      "IMAGE"
    ],
    [
      1858,
      789,
      0,
      735,
      3,
      "VAE"
    ],
    [
      1859,
      791,
      0,
      735,
      0,
      "CONDITIONING"
    ],
    [
      1860,
      792,
      0,
      735,
      1,
      "CONDITIONING"
    ],
    [
      1861,
      796,
      0,
      798,
      2,
      "IMAGE"
    ],
    [
      1862,
      797,
      0,
      798,
      3,
      "VAE"
    ],
    [
      1863,
      735,
      0,
      798,
      0,
      "CONDITIONING"
    ],
    [
      1864,
      735,
      1,
      798,
      1,
      "CONDITIONING"
    ],
    [
      1867,
      804,
      0,
      803,
      2,
      "IMAGE"
    ],
    [
      1868,
      802,
      0,
      803,
      3,
      "VAE"
    ],
    [
      1869,
      798,
      0,
      803,
      0,
      "CONDITIONING"
    ],
    [
      1870,
      798,
      1,
      803,
      1,
      "CONDITIONING"
    ],
    [
      1871,
      810,
      0,
      809,
      2,
      "IMAGE"
    ],
    [
      1872,
      808,
      0,
      809,
      3,
      "VAE"
    ],
    [
      1873,
      803,
      0,
      809,
      0,
      "CONDITIONING"
    ],
    [
      1874,
      803,
      1,
      809,
      1,
      "CONDITIONING"
    ],
    [
      1875,
      809,
      0,
      708,
      1,
      "CONDITIONING"
    ],
    [
      1876,
      809,
      1,
      708,
      2,
      "CONDITIONING"
    ],
    [
      1877,
      811,
      0,
      812,
      0,
      "INT"
    ],
    [
      1878,
      811,
      1,
      813,
      0,
      "INT"
    ],
    [
      1879,
      815,
      0,
      715,
      1,
      "INT"
    ],
    [
      1880,
      814,
      0,
      715,
      0,
      "INT"
    ],
    [
      1881,
      817,
      0,
      723,
      0,
      "INT"
    ],
    [
      1882,
      816,
      0,
      723,
      1,
      "INT"
    ],
    [
      1883,
      818,
      0,
      708,
      0,
      "MODEL"
    ],
    [
      1884,
      819,
      0,
      733,
      1,
      "VAE"
    ],
    [
      1886,
      825,
      0,
      824,
      0,
      "IMAGE"
    ],
    [
      1888,
      750,
      0,
      752,
      0,
      "IMAGE"
    ],
    [
      1892,
      768,
      0,
      773,
      0,
      "IMAGE"
    ],
    [
      1894,
      828,
      0,
      831,
      0,
      "CLIP"
    ],
    [
      1896,
      773,
      0,
      831,
      1,
      "IMAGE"
    ],
    [
      1899,
      776,
      0,
      831,
      4,
      "STRING"
    ],
    [
      1900,
      833,
      0,
      832,
      0,
      "CLIP"
    ],
    [
      1901,
      727,
      0,
      834,
      0,
      "STRING"
    ],
    [
      1902,
      820,
      0,
      834,
      1,
      "STRING"
    ],
    [
      1903,
      834,
      0,
      832,
      4,
      "STRING"
    ],
    [
      1905,
      832,
      0,
      836,
      0,
      "STRING"
    ],
    [
      1906,
      753,
      0,
      754,
      0,
      "INT"
    ],
    [
      1907,
      837,
      0,
      713,
      0,
      "MODEL"
    ],
    [
      1908,
      831,
      0,
      838,
      0,
      "STRING"
    ],
    [
      1909,
      838,
      0,
      830,
      0,
      "*"
    ]
  ],
  "groups": [
    {
      "id": 9,
      "title": "Sampler",
      "bounding": [
        4492.651429047574,
        1131.7134066007964,
        670,
        1060
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 12,
      "title": "Load Models",
      "bounding": [
        -4575.592060747731,
        817.6830153053976,
        1262.3612818814045,
        594.1161557812001
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 13,
      "title": "Prompt Enhance",
      "bounding": [
        -2776.92967077797,
        222.72948240398887,
        1950.0390938275,
        864.2298244153972
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 14,
      "title": "QwenVL prompt + images (to test)",
      "bounding": [
        -3012.193038699545,
        1785.2514942284452,
        2158.2137933317063,
        917.219398182785
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 15,
      "title": "Final prompt",
      "bounding": [
        -48.60730958690415,
        1820.5478834364762,
        1053.2995370075873,
        511.3170310575415
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 16,
      "title": "Load images",
      "bounding": [
        -4602.766928687582,
        2952.144866314148,
        1090.9898314075726,
        1596.11228002086
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 17,
      "title": "Options",
      "bounding": [
        -4506.480665071985,
        1723.4332998470823,
        725.8642868186844,
        450.844121278471
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 18,
      "title": "Conditionning IMG1",
      "bounding": [
        1492.41027768896,
        1306.6897056229059,
        515.0385646274467,
        186.21378990584716
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 19,
      "title": "Conditionning IMG2",
      "bounding": [
        2237.0109957320296,
        1306.175260272651,
        515.0385646274467,
        186.21378990584716
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 20,
      "title": "Conditionning IMG3",
      "bounding": [
        2982.3599662712663,
        1297.2168181601346,
        515.0385646274467,
        186.21378990584716
      ],
      "color": "#3f789e",
      "flags": {}
    },
    {
      "id": 21,
      "title": "Conditionning IMG4",
      "bounding": [
        3713.686616150037,
        1294.2439455996516,
        515.0385646274467,
        186.21378990584716
      ],
      "color": "#3f789e",
      "flags": {}
    }
  ],
  "definitions": {
    "subgraphs": [
      {
        "id": "11d8d846-90ab-4038-91d6-decd6db93a04",
        "version": 1,
        "state": {
          "lastGroupId": 21,
          "lastNodeId": 839,
          "lastLinkId": 1911,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Reference Conditioning IMG1",
        "inputNode": {
          "id": -10,
          "bounding": [
            -270,
            990,
            120,
            120
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            580,
            970,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
            "name": "conditioning",
            "type": "CONDITIONING",
            "linkIds": [
              165
            ],
            "label": "positive",
            "pos": [
              -170,
              1010
            ]
          },
          {
            "id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
            "name": "conditioning_1",
            "type": "CONDITIONING",
            "linkIds": [
              166
            ],
            "label": "negative",
            "pos": [
              -170,
              1030
            ]
          },
          {
            "id": "345bf085-5939-47ff-9767-8f8f239a719c",
            "name": "pixels",
            "type": "IMAGE",
            "linkIds": [
              167
            ],
            "pos": [
              -170,
              1050
            ]
          },
          {
            "id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              168
            ],
            "pos": [
              -170,
              1070
            ]
          }
        ],
        "outputs": [
          {
            "id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
            "name": "CONDITIONING",
            "type": "CONDITIONING",
            "linkIds": [
              169
            ],
            "label": "positive",
            "pos": [
              600,
              990
            ]
          },
          {
            "id": "01519713-2ed1-4694-a387-79f44e088e89",
            "name": "CONDITIONING_1",
            "type": "CONDITIONING",
            "linkIds": [
              170
            ],
            "label": "negative",
            "pos": [
              600,
              1010
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 116,
            "type": "ReferenceLatent",
            "pos": [
              170,
              1090
            ],
            "size": [
              204.134765625,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 0,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 166
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 163
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  170
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 117,
            "type": "VAEEncode",
            "pos": [
              -90,
              1100
            ],
            "size": [
              190,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 167
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 168
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  163,
                  164
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "VAEEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 118,
            "type": "ReferenceLatent",
            "pos": [
              170,
              980
            ],
            "size": [
              210,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 0,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 165
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 164
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  169
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 163,
            "origin_id": 117,
            "origin_slot": 0,
            "target_id": 116,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 164,
            "origin_id": 117,
            "origin_slot": 0,
            "target_id": 118,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 165,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 118,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 166,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 116,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 167,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 117,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 168,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 117,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 169,
            "origin_id": 118,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 170,
            "origin_id": 116,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "CONDITIONING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "e513ce78-aafe-496e-aa29-5df36170058c",
        "version": 1,
        "state": {
          "lastGroupId": 21,
          "lastNodeId": 839,
          "lastLinkId": 1911,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Reference Conditioning IMG1",
        "inputNode": {
          "id": -10,
          "bounding": [
            -270,
            990,
            120,
            120
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            580,
            970,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
            "name": "conditioning",
            "type": "CONDITIONING",
            "linkIds": [
              165
            ],
            "label": "positive",
            "pos": [
              -170,
              1010
            ]
          },
          {
            "id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
            "name": "conditioning_1",
            "type": "CONDITIONING",
            "linkIds": [
              166
            ],
            "label": "negative",
            "pos": [
              -170,
              1030
            ]
          },
          {
            "id": "345bf085-5939-47ff-9767-8f8f239a719c",
            "name": "pixels",
            "type": "IMAGE",
            "linkIds": [
              167
            ],
            "pos": [
              -170,
              1050
            ]
          },
          {
            "id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              168
            ],
            "pos": [
              -170,
              1070
            ]
          }
        ],
        "outputs": [
          {
            "id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
            "name": "CONDITIONING",
            "type": "CONDITIONING",
            "linkIds": [
              169
            ],
            "label": "positive",
            "pos": [
              600,
              990
            ]
          },
          {
            "id": "01519713-2ed1-4694-a387-79f44e088e89",
            "name": "CONDITIONING_1",
            "type": "CONDITIONING",
            "linkIds": [
              170
            ],
            "label": "negative",
            "pos": [
              600,
              1010
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 793,
            "type": "ReferenceLatent",
            "pos": [
              170,
              1090
            ],
            "size": [
              204.134765625,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 0,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 166
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 163
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  170
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 794,
            "type": "VAEEncode",
            "pos": [
              -90,
              1100
            ],
            "size": [
              190,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 167
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 168
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  163,
                  164
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "VAEEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 795,
            "type": "ReferenceLatent",
            "pos": [
              170,
              980
            ],
            "size": [
              210,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 165
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 164
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  169
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 163,
            "origin_id": 794,
            "origin_slot": 0,
            "target_id": 793,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 164,
            "origin_id": 794,
            "origin_slot": 0,
            "target_id": 795,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 165,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 795,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 166,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 793,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 167,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 794,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 168,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 794,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 169,
            "origin_id": 795,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 170,
            "origin_id": 793,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "CONDITIONING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "d6a66e0e-8e0c-46c8-bf8d-ef7f2025e33b",
        "version": 1,
        "state": {
          "lastGroupId": 21,
          "lastNodeId": 839,
          "lastLinkId": 1911,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Reference Conditioning IMG1",
        "inputNode": {
          "id": -10,
          "bounding": [
            -270,
            990,
            120,
            120
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            580,
            970,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
            "name": "conditioning",
            "type": "CONDITIONING",
            "linkIds": [
              165
            ],
            "label": "positive",
            "pos": [
              -170,
              1010
            ]
          },
          {
            "id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
            "name": "conditioning_1",
            "type": "CONDITIONING",
            "linkIds": [
              166
            ],
            "label": "negative",
            "pos": [
              -170,
              1030
            ]
          },
          {
            "id": "345bf085-5939-47ff-9767-8f8f239a719c",
            "name": "pixels",
            "type": "IMAGE",
            "linkIds": [
              167
            ],
            "pos": [
              -170,
              1050
            ]
          },
          {
            "id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              168
            ],
            "pos": [
              -170,
              1070
            ]
          }
        ],
        "outputs": [
          {
            "id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
            "name": "CONDITIONING",
            "type": "CONDITIONING",
            "linkIds": [
              169
            ],
            "label": "positive",
            "pos": [
              600,
              990
            ]
          },
          {
            "id": "01519713-2ed1-4694-a387-79f44e088e89",
            "name": "CONDITIONING_1",
            "type": "CONDITIONING",
            "linkIds": [
              170
            ],
            "label": "negative",
            "pos": [
              600,
              1010
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 799,
            "type": "ReferenceLatent",
            "pos": [
              170,
              1090
            ],
            "size": [
              204.134765625,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 0,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 166
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 163
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  170
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 800,
            "type": "VAEEncode",
            "pos": [
              -90,
              1100
            ],
            "size": [
              190,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 167
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 168
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  163,
                  164
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "VAEEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 801,
            "type": "ReferenceLatent",
            "pos": [
              170,
              980
            ],
            "size": [
              210,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 165
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 164
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  169
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 163,
            "origin_id": 800,
            "origin_slot": 0,
            "target_id": 799,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 164,
            "origin_id": 800,
            "origin_slot": 0,
            "target_id": 801,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 165,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 801,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 166,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 799,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 167,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 800,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 168,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 800,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 169,
            "origin_id": 801,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 170,
            "origin_id": 799,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "CONDITIONING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      },
      {
        "id": "d779d914-cfa9-4a60-96fb-1538598edaa7",
        "version": 1,
        "state": {
          "lastGroupId": 21,
          "lastNodeId": 839,
          "lastLinkId": 1911,
          "lastRerouteId": 0
        },
        "revision": 0,
        "config": {},
        "name": "Reference Conditioning IMG1",
        "inputNode": {
          "id": -10,
          "bounding": [
            -270,
            990,
            120,
            120
          ]
        },
        "outputNode": {
          "id": -20,
          "bounding": [
            580,
            970,
            120,
            80
          ]
        },
        "inputs": [
          {
            "id": "5c9a0f5e-8cee-4947-90bc-330de782043a",
            "name": "conditioning",
            "type": "CONDITIONING",
            "linkIds": [
              165
            ],
            "label": "positive",
            "pos": [
              -170,
              1010
            ]
          },
          {
            "id": "61826d46-4c21-4ad6-801c-3e3fa94115e2",
            "name": "conditioning_1",
            "type": "CONDITIONING",
            "linkIds": [
              166
            ],
            "label": "negative",
            "pos": [
              -170,
              1030
            ]
          },
          {
            "id": "345bf085-5939-47ff-9767-8f8f239a719c",
            "name": "pixels",
            "type": "IMAGE",
            "linkIds": [
              167
            ],
            "pos": [
              -170,
              1050
            ]
          },
          {
            "id": "f4594e34-e2f5-4f1e-b1fa-a1dc2aeb0a90",
            "name": "vae",
            "type": "VAE",
            "linkIds": [
              168
            ],
            "pos": [
              -170,
              1070
            ]
          }
        ],
        "outputs": [
          {
            "id": "b3357c0e-6428-4055-9cd3-3595f0896fa8",
            "name": "CONDITIONING",
            "type": "CONDITIONING",
            "linkIds": [
              169
            ],
            "label": "positive",
            "pos": [
              600,
              990
            ]
          },
          {
            "id": "01519713-2ed1-4694-a387-79f44e088e89",
            "name": "CONDITIONING_1",
            "type": "CONDITIONING",
            "linkIds": [
              170
            ],
            "label": "negative",
            "pos": [
              600,
              1010
            ]
          }
        ],
        "widgets": [],
        "nodes": [
          {
            "id": 805,
            "type": "ReferenceLatent",
            "pos": [
              170,
              1090
            ],
            "size": [
              204.134765625,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 0,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 166
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 163
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  170
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 806,
            "type": "VAEEncode",
            "pos": [
              -90,
              1100
            ],
            "size": [
              190,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 1,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "pixels",
                "name": "pixels",
                "type": "IMAGE",
                "link": 167
              },
              {
                "localized_name": "vae",
                "name": "vae",
                "type": "VAE",
                "link": 168
              }
            ],
            "outputs": [
              {
                "localized_name": "LATENT",
                "name": "LATENT",
                "type": "LATENT",
                "links": [
                  163,
                  164
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "VAEEncode",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          },
          {
            "id": 807,
            "type": "ReferenceLatent",
            "pos": [
              170,
              980
            ],
            "size": [
              210,
              46
            ],
            "flags": {
              "collapsed": false
            },
            "order": 2,
            "mode": 4,
            "inputs": [
              {
                "localized_name": "conditioning",
                "name": "conditioning",
                "type": "CONDITIONING",
                "link": 165
              },
              {
                "localized_name": "latent",
                "name": "latent",
                "shape": 7,
                "type": "LATENT",
                "link": 164
              }
            ],
            "outputs": [
              {
                "localized_name": "CONDITIONING",
                "name": "CONDITIONING",
                "type": "CONDITIONING",
                "links": [
                  169
                ]
              }
            ],
            "properties": {
              "cnr_id": "comfy-core",
              "ver": "0.8.2",
              "Node name for S&R": "ReferenceLatent",
              "enableTabs": false,
              "tabWidth": 65,
              "tabXOffset": 10,
              "hasSecondTab": false,
              "secondTabText": "Send Back",
              "secondTabOffset": 80,
              "secondTabWidth": 65
            },
            "widgets_values": []
          }
        ],
        "groups": [],
        "links": [
          {
            "id": 163,
            "origin_id": 806,
            "origin_slot": 0,
            "target_id": 805,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 164,
            "origin_id": 806,
            "origin_slot": 0,
            "target_id": 807,
            "target_slot": 1,
            "type": "LATENT"
          },
          {
            "id": 165,
            "origin_id": -10,
            "origin_slot": 0,
            "target_id": 807,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 166,
            "origin_id": -10,
            "origin_slot": 1,
            "target_id": 805,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 167,
            "origin_id": -10,
            "origin_slot": 2,
            "target_id": 806,
            "target_slot": 0,
            "type": "IMAGE"
          },
          {
            "id": 168,
            "origin_id": -10,
            "origin_slot": 3,
            "target_id": 806,
            "target_slot": 1,
            "type": "VAE"
          },
          {
            "id": 169,
            "origin_id": 807,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 0,
            "type": "CONDITIONING"
          },
          {
            "id": 170,
            "origin_id": 805,
            "origin_slot": 0,
            "target_id": -20,
            "target_slot": 1,
            "type": "CONDITIONING"
          }
        ],
        "extra": {
          "workflowRendererVersion": "LG"
        }
      }
    ]
  },
  "config": {},
  "extra": {
    "ds": {
      "scale": 0.814027493868481,
      "offset": [
        -3915.5607160927875,
        -829.732445628598
      ]
    },
    "frontendVersion": "1.45.15",
    "VHS_latentpreview": false,
    "VHS_latentpreviewrate": 0,
    "VHS_MetadataImage": true,
    "VHS_KeepIntermediate": true
  },
  "version": 0.4
}