{
  "last_node_id": 322,
  "last_link_id": 659,
  "nodes": [
    {
      "id": 105,
      "type": "SelfAttentionGuidance",
      "pos": [
        604,
        -17
      ],
      "size": {
        "0": 335.3377380371094,
        "1": 83.87688446044922
      },
      "flags": {
        "pinned": false
      },
      "order": 40,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 607
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            480
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "SelfAttentionGuidance"
      },
      "widgets_values": [
        0.5,
        1
      ]
    },
    {
      "id": 288,
      "type": "Reroute",
      "pos": [
        413,
        -148
      ],
      "size": [
        75,
        26
      ],
      "flags": {
        "pinned": false
      },
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 587
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            616,
            618
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 48,
      "type": "CLIPTextEncode",
      "pos": [
        -1216,
        143
      ],
      "size": {
        "0": 303.7496337890625,
        "1": 54
      },
      "flags": {
        "pinned": false
      },
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 625
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 640,
          "widget": {
            "name": "text"
          }
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            602
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "Molecules, Microscopic meat textures, very detailed, masterpiece, intricate details, UHD, 8K"
      ]
    },
    {
      "id": 287,
      "type": "Reroute",
      "pos": [
        -106,
        -147
      ],
      "size": [
        75,
        26
      ],
      "flags": {
        "pinned": false
      },
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 626
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            587,
            617
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 303,
      "type": "Reroute",
      "pos": [
        -103,
        -192
      ],
      "size": [
        75,
        26
      ],
      "flags": {
        "pinned": false
      },
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 627
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "CONTROL_NET",
          "links": [
            628,
            632
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 265,
      "type": "VAEEncodeTiled",
      "pos": [
        126,
        1300
      ],
      "size": {
        "0": 353.5344543457031,
        "1": 78
      },
      "flags": {},
      "order": 41,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 594
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 623
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            604
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncodeTiled"
      },
      "widgets_values": [
        768
      ]
    },
    {
      "id": 255,
      "type": "ControlNetApplyAdvanced",
      "pos": [
        608,
        363
      ],
      "size": {
        "0": 325.24365234375,
        "1": 189.1873321533203
      },
      "flags": {},
      "order": 42,
      "mode": 0,
      "inputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 610
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 611
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 630
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 616
        },
        {
          "name": "strength",
          "type": "FLOAT",
          "link": 635,
          "widget": {
            "name": "strength"
          }
        }
      ],
      "outputs": [
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            612
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            613
          ],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApplyAdvanced"
      },
      "widgets_values": [
        0.1,
        0,
        1
      ]
    },
    {
      "id": 304,
      "type": "Reroute",
      "pos": [
        411,
        -192
      ],
      "size": [
        75,
        26
      ],
      "flags": {
        "pinned": false
      },
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 632
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "CONTROL_NET",
          "links": [
            630
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 207,
      "type": "SaveImage",
      "pos": [
        1000,
        173
      ],
      "size": {
        "0": 353.062255859375,
        "1": 270
      },
      "flags": {},
      "order": 47,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 426
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 195,
      "type": "VAEDecodeTiled_TiledDiffusion",
      "pos": [
        609,
        979
      ],
      "size": {
        "0": 323.6496276855469,
        "1": 102
      },
      "flags": {
        "pinned": false
      },
      "order": 45,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 605,
          "slot_index": 0
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 614,
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            424
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecodeTiled_TiledDiffusion"
      },
      "widgets_values": [
        768,
        true
      ]
    },
    {
      "id": 292,
      "type": "ImpactMakeTileSEGS",
      "pos": [
        123,
        -12
      ],
      "size": {
        "0": 337.4186096191406,
        "1": 219.98025512695312
      },
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 643
        },
        {
          "name": "filter_in_segs_opt",
          "type": "SEGS",
          "link": null
        },
        {
          "name": "filter_out_segs_opt",
          "type": "SEGS",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "SEGS",
          "type": "SEGS",
          "links": [
            597
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImpactMakeTileSEGS"
      },
      "widgets_values": [
        512,
        1.5,
        64,
        8,
        0,
        "Reuse fast"
      ]
    },
    {
      "id": 297,
      "type": "FromBasicPipe",
      "pos": [
        122,
        1122
      ],
      "size": {
        "0": 361.0519714355469,
        "1": 115.79039001464844
      },
      "flags": {},
      "order": 39,
      "mode": 0,
      "inputs": [
        {
          "name": "basic_pipe",
          "type": "BASIC_PIPE",
          "link": 606
        }
      ],
      "outputs": [
        {
          "name": "model",
          "type": "MODEL",
          "links": [
            607
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "clip",
          "type": "CLIP",
          "links": null,
          "shape": 3
        },
        {
          "name": "vae",
          "type": "VAE",
          "links": [
            614,
            623
          ],
          "shape": 3,
          "slot_index": 2
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "links": [
            610
          ],
          "shape": 3,
          "slot_index": 3
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "links": [
            611
          ],
          "shape": 3,
          "slot_index": 4
        }
      ],
      "properties": {
        "Node name for S&R": "FromBasicPipe"
      }
    },
    {
      "id": 298,
      "type": "KSampler",
      "pos": [
        611,
        632
      ],
      "size": {
        "0": 322.3697814941406,
        "1": 268.0008239746094
      },
      "flags": {},
      "order": 44,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 608
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 612
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 613
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 604
        },
        {
          "name": "denoise",
          "type": "FLOAT",
          "link": 638,
          "widget": {
            "name": "denoise"
          }
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            605
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        0,
        "fixed",
        8,
        2,
        "dpmpp_2m_sde_gpu",
        "karras",
        0.5
      ]
    },
    {
      "id": 302,
      "type": "Reroute",
      "pos": [
        -538,
        -148
      ],
      "size": [
        75,
        26
      ],
      "flags": {
        "pinned": false
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 620
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            626,
            642
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 196,
      "type": "TiledDiffusion",
      "pos": [
        604,
        144
      ],
      "size": {
        "0": 335.9942932128906,
        "1": 154.18289184570312
      },
      "flags": {
        "pinned": false
      },
      "order": 43,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 480
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            608
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "TiledDiffusion"
      },
      "widgets_values": [
        "MultiDiffusion",
        768,
        768,
        64,
        4
      ]
    },
    {
      "id": 290,
      "type": "ImpactControlNetApplySEGS",
      "pos": [
        109,
        275
      ],
      "size": {
        "0": 350.83270263671875,
        "1": 118.18903350830078
      },
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "segs",
          "type": "SEGS",
          "link": 597
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 628
        },
        {
          "name": "segs_preprocessor",
          "type": "SEGS_PREPROCESSOR",
          "link": null
        },
        {
          "name": "control_image",
          "type": "IMAGE",
          "link": 617
        },
        {
          "name": "strength",
          "type": "FLOAT",
          "link": 634,
          "widget": {
            "name": "strength"
          }
        }
      ],
      "outputs": [
        {
          "name": "SEGS",
          "type": "SEGS",
          "links": [
            599
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImpactControlNetApplySEGS"
      },
      "widgets_values": [
        0.1
      ]
    },
    {
      "id": 188,
      "type": "SaveImage",
      "pos": [
        117,
        1458
      ],
      "size": {
        "0": 370,
        "1": 380
      },
      "flags": {
        "pinned": false
      },
      "order": 38,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 595
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 291,
      "type": "DetailerForEachDebugPipe",
      "pos": [
        118,
        453
      ],
      "size": {
        "0": 371.20001220703125,
        "1": 604
      },
      "flags": {},
      "order": 37,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 646
        },
        {
          "name": "segs",
          "type": "SEGS",
          "link": 599
        },
        {
          "name": "basic_pipe",
          "type": "BASIC_PIPE",
          "link": 592
        },
        {
          "name": "detailer_hook",
          "type": "DETAILER_HOOK",
          "link": null
        },
        {
          "name": "refiner_basic_pipe_opt",
          "type": "BASIC_PIPE",
          "link": null
        },
        {
          "name": "denoise",
          "type": "FLOAT",
          "link": 636,
          "widget": {
            "name": "denoise"
          }
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            594,
            595
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "segs",
          "type": "SEGS",
          "links": null,
          "shape": 3
        },
        {
          "name": "basic_pipe",
          "type": "BASIC_PIPE",
          "links": [
            606
          ],
          "shape": 3,
          "slot_index": 2
        },
        {
          "name": "cropped",
          "type": "IMAGE",
          "links": null,
          "shape": 6
        },
        {
          "name": "cropped_refined",
          "type": "IMAGE",
          "links": null,
          "shape": 6
        },
        {
          "name": "cropped_refined_alpha",
          "type": "IMAGE",
          "links": null,
          "shape": 6
        },
        {
          "name": "cnet_images",
          "type": "IMAGE",
          "links": null,
          "shape": 6
        }
      ],
      "properties": {
        "Node name for S&R": "DetailerForEachDebugPipe"
      },
      "widgets_values": [
        64,
        false,
        768,
        0,
        "fixed",
        8,
        2,
        "dpmpp_2m_sde_gpu",
        "karras",
        0.4,
        10,
        true,
        true,
        "",
        0.2,
        1,
        false,
        10
      ]
    },
    {
      "id": 190,
      "type": "Image Comparer (rgthree)",
      "pos": {
        "0": 1456,
        "1": 177,
        "2": 0,
        "3": 0,
        "4": 0,
        "5": 0,
        "6": 0,
        "7": 0,
        "8": 0,
        "9": 0
      },
      "size": {
        "0": 500.4734191894531,
        "1": 534.0213623046875
      },
      "flags": {},
      "order": 48,
      "mode": 0,
      "inputs": [
        {
          "name": "image_a",
          "type": "IMAGE",
          "link": 618,
          "dir": 3
        },
        {
          "name": "image_b",
          "type": "IMAGE",
          "link": 649,
          "dir": 3,
          "slot_index": 1
        }
      ],
      "outputs": [],
      "properties": {
        "comparer_mode": "Slide"
      },
      "widgets_values": [
        [
          "/view?filename=rgthree.compare._temp_ujydp_00003_.png&type=temp&subfolder=&rand=0.4983789195076025",
          "/view?filename=rgthree.compare._temp_ujydp_00004_.png&type=temp&subfolder=&rand=0.11242172001850759"
        ]
      ]
    },
    {
      "id": 45,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -1222,
        -17
      ],
      "size": {
        "0": 320,
        "1": 100
      },
      "flags": {
        "pinned": false
      },
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            214
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            97,
            212,
            560,
            625
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            567
          ],
          "shape": 3,
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "cyberrealistic_v41BacktoBasics.safetensors"
      ]
    },
    {
      "id": 256,
      "type": "ControlNetLoader",
      "pos": [
        -765.4056788543697,
        -22.022369768524165
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "links": [
            627
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "control_v11u_sd15_tile_fp16.safetensors"
      ]
    },
    {
      "id": 312,
      "type": "CCSR_Model_Select",
      "pos": [
        -339,
        -15
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "ccsr_model",
          "type": "CCSRMODEL",
          "links": [
            641
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CCSR_Model_Select"
      },
      "widgets_values": [
        "real-world_ccsr.ckpt"
      ]
    },
    {
      "id": 71,
      "type": "LoraLoader",
      "pos": [
        -764.4056788543697,
        103.97763023147581
      ],
      "size": {
        "0": 320,
        "1": 130
      },
      "flags": {
        "pinned": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 214
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 97,
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            503
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [],
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoraLoader"
      },
      "widgets_values": [
        "add_detail.safetensors",
        0.9,
        0.9
      ]
    },
    {
      "id": 145,
      "type": "ToBasicPipe",
      "pos": [
        -761.4056788543697,
        495.97763023147587
      ],
      "size": {
        "0": 308.4121398925781,
        "1": 116.6963882446289
      },
      "flags": {
        "pinned": false
      },
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 568,
          "slot_index": 0
        },
        {
          "name": "clip",
          "type": "CLIP",
          "link": 560,
          "slot_index": 1
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 567,
          "slot_index": 2
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 602,
          "slot_index": 3
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 603,
          "slot_index": 4
        }
      ],
      "outputs": [
        {
          "name": "basic_pipe",
          "type": "BASIC_PIPE",
          "links": [
            592
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ToBasicPipe"
      }
    },
    {
      "id": 254,
      "type": "FreeU_V2",
      "pos": [
        -758.4056788543697,
        288.97763023147587
      ],
      "size": {
        "0": 315,
        "1": 130
      },
      "flags": {},
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 503
        }
      ],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            568
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "FreeU_V2"
      },
      "widgets_values": [
        1.5,
        1.6,
        0.9,
        0
      ]
    },
    {
      "id": 206,
      "type": "ColorMatch",
      "pos": [
        1016,
        -12
      ],
      "size": {
        "0": 331.2784118652344,
        "1": 84.83650207519531
      },
      "flags": {},
      "order": 46,
      "mode": 0,
      "inputs": [
        {
          "name": "image_ref",
          "type": "IMAGE",
          "link": 645
        },
        {
          "name": "image_target",
          "type": "IMAGE",
          "link": 424
        }
      ],
      "outputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "links": [
            426,
            649
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ColorMatch"
      },
      "widgets_values": [
        "mkl"
      ]
    },
    {
      "id": 311,
      "type": "CCSR_Upscale",
      "pos": [
        -332,
        113
      ],
      "size": {
        "0": 317.4000244140625,
        "1": 390
      },
      "flags": {},
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "ccsr_model",
          "type": "CCSRMODEL",
          "link": 641
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 642
        }
      ],
      "outputs": [
        {
          "name": "upscaled_image",
          "type": "IMAGE",
          "links": [
            643,
            644,
            645,
            646
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CCSR_Upscale"
      },
      "widgets_values": [
        "lanczos",
        4,
        15,
        0.64,
        0.35000000000000003,
        "ccsr_tiled_vae_gaussian_weights",
        512,
        256,
        1024,
        1024,
        "adain",
        true,
        570027297441348,
        "fixed"
      ]
    },
    {
      "id": 114,
      "type": "CLIPTextEncode",
      "pos": [
        -1218,
        628
      ],
      "size": {
        "0": 320,
        "1": 250
      },
      "flags": {
        "pinned": false
      },
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 212,
          "slot_index": 0
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            603
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "CLIP Text Encode (Negative Prompt)",
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "text, waterproof, lowres, medium quality, lack of details, bad quality, worst quality, blur, blurry, painting, pixelated, jpeg artifacts"
      ]
    },
    {
      "id": 322,
      "type": "ShowText|pysssss",
      "pos": [
        -1217,
        259
      ],
      "size": {
        "0": 296.6535949707031,
        "1": 313.30718994140625
      },
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 659,
          "widget": {
            "name": "text"
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": null,
          "shape": 6
        }
      ],
      "properties": {
        "Node name for S&R": "ShowText|pysssss"
      },
      "widgets_values": [
        "",
        "(very detailed, masterpiece, intricate details, UHD, 8K, photographic, realistic:1.3)"
      ]
    },
    {
      "id": 126,
      "type": "SaveImage",
      "pos": [
        -332,
        588
      ],
      "size": {
        "0": 318.75830078125,
        "1": 400.0613098144531
      },
      "flags": {
        "pinned": false
      },
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 644,
          "slot_index": 0
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 211,
      "type": "Text Concatenate",
      "pos": [
        -1682,
        752
      ],
      "size": {
        "0": 309.44317626953125,
        "1": 170.5689239501953
      },
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "text_a",
          "type": "STRING",
          "link": 658,
          "widget": {
            "name": "text_a"
          }
        },
        {
          "name": "text_b",
          "type": "STRING",
          "link": 534,
          "widget": {
            "name": "text_b"
          },
          "slot_index": 1
        },
        {
          "name": "text_c",
          "type": "STRING",
          "link": 657,
          "widget": {
            "name": "text_c"
          },
          "slot_index": 2
        },
        {
          "name": "text_d",
          "type": "STRING",
          "link": null,
          "widget": {
            "name": "text_d"
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            640,
            659
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "Text Concatenate"
      },
      "widgets_values": [
        " , ",
        "true",
        "false",
        "",
        "",
        ","
      ]
    },
    {
      "id": 238,
      "type": "String",
      "pos": [
        -2039,
        242
      ],
      "size": {
        "0": 294.5337219238281,
        "1": 58
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            533
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Magic Words",
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        "very detailed, masterpiece, intricate details, UHD, 8K, photographic, realistic"
      ]
    },
    {
      "id": 269,
      "type": "PromptComposerGrouping",
      "pos": [
        -1686,
        243
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "inputs": [
        {
          "name": "text_in",
          "type": "STRING",
          "link": 533,
          "widget": {
            "name": "text_in"
          }
        }
      ],
      "outputs": [
        {
          "name": "text_out",
          "type": "STRING",
          "links": [
            534
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Prompt Composer Grouping (Second)",
      "properties": {
        "Node name for S&R": "PromptComposerGrouping"
      },
      "widgets_values": [
        "",
        1.3,
        true
      ]
    },
    {
      "id": 270,
      "type": "PromptComposerGrouping",
      "pos": [
        -1687,
        473
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "text_in",
          "type": "STRING",
          "link": 655,
          "widget": {
            "name": "text_in"
          }
        }
      ],
      "outputs": [
        {
          "name": "text_out",
          "type": "STRING",
          "links": [
            657
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Prompt Composer Grouping (Third)",
      "properties": {
        "Node name for S&R": "PromptComposerGrouping"
      },
      "widgets_values": [
        "",
        0.8,
        true
      ]
    },
    {
      "id": 218,
      "type": "Text String",
      "pos": [
        -2421,
        -15
      ],
      "size": {
        "0": 315,
        "1": 190
      },
      "flags": {},
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "text_c",
          "type": "STRING",
          "link": 633,
          "widget": {
            "name": "text_c"
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            442
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            440
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            441
          ],
          "shape": 3,
          "slot_index": 2
        },
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            460
          ],
          "shape": 3,
          "slot_index": 3
        }
      ],
      "properties": {
        "Node name for S&R": "Text String"
      },
      "widgets_values": [
        "Describe xxxxx in the image just in five words. YOU MUST include xxxxx in your answer.",
        "xxxxx",
        "girl face, hair",
        ""
      ]
    },
    {
      "id": 268,
      "type": "PromptComposerGrouping",
      "pos": [
        -1687,
        -24
      ],
      "size": {
        "0": 315,
        "1": 106
      },
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "text_in",
          "type": "STRING",
          "link": 656,
          "widget": {
            "name": "text_in"
          },
          "slot_index": 0
        }
      ],
      "outputs": [
        {
          "name": "text_out",
          "type": "STRING",
          "links": [
            658
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Prompt Composer Grouping (First)",
      "properties": {
        "Node name for S&R": "PromptComposerGrouping"
      },
      "widgets_values": [
        "",
        1,
        true
      ]
    },
    {
      "id": 209,
      "type": "KepOpenAI_ImageWithPrompt",
      "pos": [
        -2407,
        259
      ],
      "size": {
        "0": 290.578125,
        "1": 80.77449798583984
      },
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "Image",
          "type": "IMAGE",
          "link": 448,
          "slot_index": 0
        },
        {
          "name": "prompt",
          "type": "STRING",
          "link": 443,
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            647
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "GPT-4 Generate Caption",
      "properties": {
        "Node name for S&R": "KepOpenAI_ImageWithPrompt"
      },
      "widgets_values": [
        "Describe xxxxx in the image just in five words. YOU MUST include xxxxx in your answer.",
        77
      ]
    },
    {
      "id": 319,
      "type": "String",
      "pos": [
        -2411,
        672
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            650
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        " For the image, describe each element in four words or fewer, and list them in English, separated by commas. The elements should reflect specific visual features, colors, textures, environment, style."
      ]
    },
    {
      "id": 215,
      "type": "Text Find and Replace Input",
      "pos": [
        -2084,
        -11
      ],
      "size": {
        "0": 317.4000244140625,
        "1": 166
      },
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "text",
          "type": "STRING",
          "link": 442,
          "widget": {
            "name": "text"
          }
        },
        {
          "name": "find",
          "type": "STRING",
          "link": 440,
          "widget": {
            "name": "find"
          }
        },
        {
          "name": "replace",
          "type": "STRING",
          "link": 441,
          "widget": {
            "name": "replace"
          }
        }
      ],
      "outputs": [
        {
          "name": "result_text",
          "type": "STRING",
          "links": [
            443
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "replacement_count_number",
          "type": "NUMBER",
          "links": null,
          "shape": 3
        },
        {
          "name": "replacement_count_float",
          "type": "FLOAT",
          "links": null,
          "shape": 3
        },
        {
          "name": "replacement_count_int",
          "type": "INT",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "Text Find and Replace Input"
      },
      "widgets_values": [
        "",
        "",
        ""
      ]
    },
    {
      "id": 316,
      "type": "String",
      "pos": [
        -3259,
        848
      ],
      "size": {
        "0": 478.1753845214844,
        "1": 58
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            654
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Manual Prompt (First)",
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 317,
      "type": "String",
      "pos": [
        -3261,
        1019
      ],
      "size": {
        "0": 478.1753845214844,
        "1": 58
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            653
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Manual Prompt (Third)",
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 36,
      "type": "LoadImage",
      "pos": [
        -3000,
        -164
      ],
      "size": {
        "0": 491.23004150390625,
        "1": 484.7897033691406
      },
      "flags": {
        "pinned": false
      },
      "order": 7,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            444,
            448,
            620
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3,
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "beatles-abbeyroard.jpeg",
        "image"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 212,
      "type": "KepOpenAI_ImageWithPrompt",
      "pos": [
        -2396,
        814
      ],
      "size": {
        "0": 281.9680480957031,
        "1": 78
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "Image",
          "type": "IMAGE",
          "link": 444
        },
        {
          "name": "prompt",
          "type": "STRING",
          "link": 650,
          "widget": {
            "name": "prompt"
          }
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            652
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "GPT-4 Generate Caption",
      "properties": {
        "Node name for S&R": "KepOpenAI_ImageWithPrompt"
      },
      "widgets_values": [
        "Generate a high quality caption for the image. The most important aspects of the image should be described first. If needed, weights can be applied to the caption in the following format: '(word or phrase:weight)', where the weight should be a float less than 2.",
        77
      ]
    },
    {
      "id": 307,
      "type": "Float",
      "pos": [
        -2841,
        589
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            634,
            635
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "ControlNet Strength",
      "properties": {
        "Node name for S&R": "Float"
      },
      "widgets_values": [
        0.1
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 313,
      "type": "ImpactSwitch",
      "pos": [
        -2726,
        828
      ],
      "size": {
        "0": 210,
        "1": 122
      },
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "input1",
          "type": "STRING",
          "link": 647
        },
        {
          "name": "input2",
          "type": "STRING",
          "link": 654,
          "slot_index": 1
        },
        {
          "name": "input3",
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            656
          ],
          "shape": 3,
          "label": "STRING"
        },
        {
          "name": "selected_label",
          "type": "STRING",
          "links": null,
          "shape": 3
        },
        {
          "name": "selected_index",
          "type": "INT",
          "links": null,
          "shape": 3
        }
      ],
      "title": "GPT-4 Switch",
      "properties": {
        "Node name for S&R": "ImpactSwitch"
      },
      "widgets_values": [
        2,
        true
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 320,
      "type": "ImpactSwitch",
      "pos": [
        -2727,
        998
      ],
      "size": {
        "0": 210,
        "1": 122
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "input1",
          "type": "STRING",
          "link": 652
        },
        {
          "name": "input2",
          "type": "STRING",
          "link": 653
        },
        {
          "name": "input3",
          "type": "STRING",
          "link": null
        }
      ],
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            655
          ],
          "shape": 3,
          "label": "STRING",
          "slot_index": 0
        },
        {
          "name": "selected_label",
          "type": "STRING",
          "links": null,
          "shape": 3
        },
        {
          "name": "selected_index",
          "type": "INT",
          "links": null,
          "shape": 3
        }
      ],
      "title": "GPT-4 Switch",
      "properties": {
        "Node name for S&R": "ImpactSwitch"
      },
      "widgets_values": [
        2,
        true
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 308,
      "type": "Float",
      "pos": [
        -2843,
        482
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            636
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Denoise",
      "properties": {
        "Node name for S&R": "Float"
      },
      "widgets_values": [
        0.3
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 310,
      "type": "Float",
      "pos": [
        -2841,
        704
      ],
      "size": {
        "0": 315,
        "1": 58
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            638
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Denoise",
      "properties": {
        "Node name for S&R": "Float"
      },
      "widgets_values": [
        0.35000000000000003
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 306,
      "type": "String",
      "pos": [
        -2994,
        372
      ],
      "size": {
        "0": 478.1753845214844,
        "1": 58
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            633
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "What You Want GPT-4 to Describe",
      "properties": {
        "Node name for S&R": "String"
      },
      "widgets_values": [
        ""
      ],
      "color": "#322",
      "bgcolor": "#533"
    }
  ],
  "links": [
    [
      97,
      45,
      1,
      71,
      1,
      "CLIP"
    ],
    [
      212,
      45,
      1,
      114,
      0,
      "CLIP"
    ],
    [
      214,
      45,
      0,
      71,
      0,
      "MODEL"
    ],
    [
      424,
      195,
      0,
      206,
      1,
      "IMAGE"
    ],
    [
      426,
      206,
      0,
      207,
      0,
      "IMAGE"
    ],
    [
      440,
      218,
      1,
      215,
      1,
      "STRING"
    ],
    [
      441,
      218,
      2,
      215,
      2,
      "STRING"
    ],
    [
      442,
      218,
      0,
      215,
      0,
      "STRING"
    ],
    [
      443,
      215,
      0,
      209,
      1,
      "STRING"
    ],
    [
      444,
      36,
      0,
      212,
      0,
      "IMAGE"
    ],
    [
      448,
      36,
      0,
      209,
      0,
      "IMAGE"
    ],
    [
      460,
      218,
      3,
      223,
      0,
      "STRING"
    ],
    [
      480,
      105,
      0,
      196,
      0,
      "MODEL"
    ],
    [
      503,
      71,
      0,
      254,
      0,
      "MODEL"
    ],
    [
      533,
      238,
      0,
      269,
      0,
      "STRING"
    ],
    [
      534,
      269,
      0,
      211,
      1,
      "STRING"
    ],
    [
      560,
      45,
      1,
      145,
      1,
      "CLIP"
    ],
    [
      567,
      45,
      2,
      145,
      2,
      "VAE"
    ],
    [
      568,
      254,
      0,
      145,
      0,
      "MODEL"
    ],
    [
      587,
      287,
      0,
      288,
      0,
      "*"
    ],
    [
      592,
      145,
      0,
      291,
      2,
      "BASIC_PIPE"
    ],
    [
      594,
      291,
      0,
      265,
      0,
      "IMAGE"
    ],
    [
      595,
      291,
      0,
      188,
      0,
      "IMAGE"
    ],
    [
      597,
      292,
      0,
      290,
      0,
      "SEGS"
    ],
    [
      599,
      290,
      0,
      291,
      1,
      "SEGS"
    ],
    [
      602,
      48,
      0,
      145,
      3,
      "CONDITIONING"
    ],
    [
      603,
      114,
      0,
      145,
      4,
      "CONDITIONING"
    ],
    [
      604,
      265,
      0,
      298,
      3,
      "LATENT"
    ],
    [
      605,
      298,
      0,
      195,
      0,
      "LATENT"
    ],
    [
      606,
      291,
      2,
      297,
      0,
      "BASIC_PIPE"
    ],
    [
      607,
      297,
      0,
      105,
      0,
      "MODEL"
    ],
    [
      608,
      196,
      0,
      298,
      0,
      "MODEL"
    ],
    [
      610,
      297,
      3,
      255,
      0,
      "CONDITIONING"
    ],
    [
      611,
      297,
      4,
      255,
      1,
      "CONDITIONING"
    ],
    [
      612,
      255,
      0,
      298,
      1,
      "CONDITIONING"
    ],
    [
      613,
      255,
      1,
      298,
      2,
      "CONDITIONING"
    ],
    [
      614,
      297,
      2,
      195,
      1,
      "VAE"
    ],
    [
      616,
      288,
      0,
      255,
      3,
      "IMAGE"
    ],
    [
      617,
      287,
      0,
      290,
      3,
      "IMAGE"
    ],
    [
      618,
      288,
      0,
      190,
      0,
      "IMAGE"
    ],
    [
      620,
      36,
      0,
      302,
      0,
      "*"
    ],
    [
      623,
      297,
      2,
      265,
      1,
      "VAE"
    ],
    [
      625,
      45,
      1,
      48,
      0,
      "CLIP"
    ],
    [
      626,
      302,
      0,
      287,
      0,
      "*"
    ],
    [
      627,
      256,
      0,
      303,
      0,
      "*"
    ],
    [
      628,
      303,
      0,
      290,
      1,
      "CONTROL_NET"
    ],
    [
      630,
      304,
      0,
      255,
      2,
      "CONTROL_NET"
    ],
    [
      632,
      303,
      0,
      304,
      0,
      "*"
    ],
    [
      633,
      306,
      0,
      218,
      0,
      "STRING"
    ],
    [
      634,
      307,
      0,
      290,
      4,
      "FLOAT"
    ],
    [
      635,
      307,
      0,
      255,
      4,
      "FLOAT"
    ],
    [
      636,
      308,
      0,
      291,
      5,
      "FLOAT"
    ],
    [
      638,
      310,
      0,
      298,
      4,
      "FLOAT"
    ],
    [
      640,
      211,
      0,
      48,
      1,
      "STRING"
    ],
    [
      641,
      312,
      0,
      311,
      0,
      "CCSRMODEL"
    ],
    [
      642,
      302,
      0,
      311,
      1,
      "IMAGE"
    ],
    [
      643,
      311,
      0,
      292,
      0,
      "IMAGE"
    ],
    [
      644,
      311,
      0,
      126,
      0,
      "IMAGE"
    ],
    [
      645,
      311,
      0,
      206,
      0,
      "IMAGE"
    ],
    [
      646,
      311,
      0,
      291,
      0,
      "IMAGE"
    ],
    [
      647,
      209,
      0,
      313,
      0,
      "*"
    ],
    [
      649,
      206,
      0,
      190,
      1,
      "IMAGE"
    ],
    [
      650,
      319,
      0,
      212,
      1,
      "STRING"
    ],
    [
      652,
      212,
      0,
      320,
      0,
      "STRING"
    ],
    [
      653,
      317,
      0,
      320,
      1,
      "STRING"
    ],
    [
      654,
      316,
      0,
      313,
      1,
      "STRING"
    ],
    [
      655,
      320,
      0,
      270,
      0,
      "STRING"
    ],
    [
      656,
      313,
      0,
      268,
      0,
      "STRING"
    ],
    [
      657,
      270,
      0,
      211,
      2,
      "STRING"
    ],
    [
      658,
      268,
      0,
      211,
      0,
      "STRING"
    ],
    [
      659,
      211,
      0,
      322,
      0,
      "STRING"
    ]
  ],
  "groups": [
    {
      "title": "CCSR Upscaler",
      "bounding": [
        -370,
        -108,
        388,
        1136
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Second Pass",
      "bounding": [
        569,
        -111,
        404,
        1622
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Load Models",
      "bounding": [
        -1262,
        -103,
        401,
        1018
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "First Pass",
      "bounding": [
        56,
        -109,
        487,
        1972
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Color Matcher",
      "bounding": [
        998,
        -109,
        363,
        575
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Apply Model Enhancer",
      "bounding": [
        -791,
        -108,
        379,
        785
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    },
    {
      "title": "Positive Prompt Generator",
      "bounding": [
        -2452,
        -107,
        1132,
        1075
      ],
      "color": "#3f789e",
      "font_size": 24,
      "locked": false
    }
  ],
  "config": {},
  "extra": {},
  "version": 0.4
}