{
  "last_node_id": 164,
  "last_link_id": 593,
  "nodes": [
    {
      "id": 43,
      "type": "PrimitiveNode",
      "pos": [
        -792,
        -188
      ],
      "size": {
        "0": 615.405517578125,
        "1": 258.605224609375
      },
      "flags": {},
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            298,
            302,
            476,
            538
          ],
          "slot_index": 0,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          }
        }
      ],
      "title": "Fundamental Negative",
      "properties": {},
      "widgets_values": [
        "anime, cartoon, painting, rendered, blurry, low quality, low resolution, bad quality, jpeg artifacts, disfigured"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 148,
      "type": "CLIPTextEncodeSDXLRefiner",
      "pos": [
        2638.4205271484366,
        -603.6376836972809
      ],
      "size": {
        "0": 242.90916442871094,
        "1": 126
      },
      "flags": {},
      "order": 16,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 539
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 538,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            540,
            545
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXLRefiner"
      },
      "widgets_values": [
        1,
        2500,
        2500,
        "anime, cartoon, painting, rendered, blurry, low quality, low resolution, bad quality, jpeg artifacts, disfigured"
      ]
    },
    {
      "id": 75,
      "type": "CLIPTextEncodeSDXL",
      "pos": [
        445.57944233398433,
        -372.4232978515624
      ],
      "size": {
        "0": 400,
        "1": 289.9999694824219
      },
      "flags": {
        "collapsed": true
      },
      "order": 19,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 261,
          "slot_index": 0
        },
        {
          "name": "text_g",
          "type": "STRING",
          "link": 434,
          "widget": {
            "name": "text_g",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_G"
              }
            ]
          }
        },
        {
          "name": "text_l",
          "type": "STRING",
          "link": 470,
          "widget": {
            "name": "text_l",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_L"
              }
            ]
          },
          "slot_index": 2
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            282
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Positive Base",
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXL"
      },
      "widgets_values": [
        2048,
        2048,
        0,
        0,
        2048,
        2048,
        "a wide angle poorly lit realistic photo of a young girl wearing a dark wizard robe with delicate features and expressive eyes, her hair flowing in the wind as she floats above a grass field. In her hands, she conjures a fireball, its light reflecting in her determined gaze.",
        "realistic photo, woman, conjuring fireball, floating, grass field, Early 2000s and late 90s tv style, intricate details, vibrant colors"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 147,
      "type": "CLIPTextEncodeSDXLRefiner",
      "pos": [
        2253.4205271484366,
        -1354.6376836972809
      ],
      "size": {
        "0": 242.90916442871094,
        "1": 126
      },
      "flags": {},
      "order": 21,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 535
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 536,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            537,
            586
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXLRefiner"
      },
      "widgets_values": [
        1,
        1440,
        2560,
        "a wide angle poorly lit realistic photo of a young girl wearing a dark wizard robe with delicate features and expressive eyes, her hair flowing in the wind as she floats above a grass field. In her hands, she conjures a fireball, its light reflecting in her determined gaze."
      ]
    },
    {
      "id": 77,
      "type": "PrimitiveNode",
      "pos": [
        -399,
        -622
      ],
      "size": {
        "0": 304.5749816894531,
        "1": 381.67327880859375
      },
      "flags": {},
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            470
          ],
          "slot_index": 0,
          "widget": {
            "name": "text_l",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_L"
              }
            ]
          }
        }
      ],
      "title": "Supporting Terms",
      "properties": {},
      "widgets_values": [
        "realistic photo, woman, conjuring fireball, floating, grass field, Early 2000s and late 90s tv style, intricate details, vibrant colors"
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 130,
      "type": "VAEEncode",
      "pos": [
        2664,
        -921
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 28,
      "mode": 0,
      "inputs": [
        {
          "name": "pixels",
          "type": "IMAGE",
          "link": 574,
          "slot_index": 0
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 491
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            528
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEEncode"
      }
    },
    {
      "id": 127,
      "type": "UpscaleModelLoader",
      "pos": [
        1602,
        -1110
      ],
      "size": {
        "0": 502.9045715332031,
        "1": 83.47543334960938
      },
      "flags": {},
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            488
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x-UltraSharp.pth"
      ]
    },
    {
      "id": 158,
      "type": "ImageScaleBy",
      "pos": [
        2304,
        -996
      ],
      "size": {
        "0": 315,
        "1": 82
      },
      "flags": {},
      "order": 26,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 566
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            574,
            575
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageScaleBy"
      },
      "widgets_values": [
        "nearest-exact",
        0.5
      ]
    },
    {
      "id": 129,
      "type": "PreviewImage",
      "pos": [
        2935,
        -1379
      ],
      "size": {
        "0": 495.7969970703125,
        "1": 509.0959167480469
      },
      "flags": {},
      "order": 29,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 575,
          "slot_index": 0
        }
      ],
      "title": "Pixel Upscaled Image Preview",
      "properties": {
        "Node name for S&R": "PreviewImage"
      }
    },
    {
      "id": 120,
      "type": "CLIPTextEncodeSDXLRefiner",
      "pos": [
        784.6638896972655,
        -742.6127244140628
      ],
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {
        "collapsed": true
      },
      "order": 20,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 479,
          "slot_index": 0
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 478,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            480
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Positive Refiner",
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXLRefiner"
      },
      "widgets_values": [
        5,
        2048,
        2048,
        "a wide angle poorly lit realistic photo of a young girl wearing a dark wizard robe with delicate features and expressive eyes, her hair flowing in the wind as she floats above a grass field. In her hands, she conjures a fireball, its light reflecting in her determined gaze."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 131,
      "type": "CheckpointLoaderSimple",
      "pos": [
        1639,
        -708
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            525,
            543
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            535,
            539
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            491,
            494,
            546
          ],
          "shape": 3,
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "juggernaut_v22.safetensors"
      ]
    },
    {
      "id": 81,
      "type": "CLIPTextEncodeSDXLRefiner",
      "pos": [
        743.6638896972655,
        -463.6127244140625
      ],
      "size": {
        "0": 400,
        "1": 200
      },
      "flags": {
        "collapsed": true
      },
      "order": 17,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 297
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 298,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            299
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Negative Refiner",
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXLRefiner"
      },
      "widgets_values": [
        1,
        2048,
        2048,
        "anime, cartoon, painting, rendered, blurry, low quality, low resolution, bad quality, jpeg artifacts, disfigured"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 102,
      "type": "PrimitiveNode",
      "pos": [
        824.6638896972655,
        -253.61272441406254
      ],
      "size": {
        "0": 210,
        "1": 82
      },
      "flags": {},
      "order": 4,
      "mode": 0,
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            384
          ],
          "slot_index": 0,
          "widget": {
            "name": "cfg",
            "config": [
              "FLOAT",
              {
                "default": 8,
                "min": 0,
                "max": 100
              }
            ]
          }
        }
      ],
      "title": "Refiner CFG",
      "properties": {},
      "widgets_values": [
        4.5,
        "fixed"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        460.66388969726563,
        -600.6127244140628
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 5,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            52
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            297,
            479
          ],
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            69
          ],
          "slot_index": 2
        }
      ],
      "title": "Refiner Model",
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_refiner_0.9.safetensors"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 22,
      "type": "KSamplerAdvanced",
      "pos": [
        381,
        -1376
      ],
      "size": {
        "0": 315,
        "1": 334
      },
      "flags": {
        "collapsed": false
      },
      "order": 23,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 48
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 282
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 304
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 49
        },
        {
          "name": "noise_seed",
          "type": "INT",
          "link": 214,
          "widget": {
            "name": "noise_seed",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 18446744073709552000
              }
            ]
          }
        },
        {
          "name": "cfg",
          "type": "FLOAT",
          "link": 380,
          "widget": {
            "name": "cfg",
            "config": [
              "FLOAT",
              {
                "default": 8,
                "min": 0,
                "max": 100
              }
            ]
          }
        },
        {
          "name": "steps",
          "type": "INT",
          "link": 474,
          "widget": {
            "name": "steps",
            "config": [
              "INT",
              {
                "default": 20,
                "min": 1,
                "max": 10000
              }
            ]
          },
          "slot_index": 7
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            55
          ],
          "slot_index": 0
        }
      ],
      "title": "First Pass Latent",
      "properties": {
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "enable",
        3165,
        "fixed",
        38,
        8,
        "ddim",
        "ddim_uniform",
        0,
        23,
        "enable"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 82,
      "type": "CLIPTextEncodeSDXL",
      "pos": [
        202,
        -931
      ],
      "size": {
        "0": 400,
        "1": 289.9999694824219
      },
      "flags": {
        "collapsed": true
      },
      "order": 18,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 301,
          "slot_index": 0
        },
        {
          "name": "text_g",
          "type": "STRING",
          "link": 302,
          "widget": {
            "name": "text_g",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_G"
              }
            ]
          }
        },
        {
          "name": "text_l",
          "type": "STRING",
          "link": 476,
          "widget": {
            "name": "text_l",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_L"
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            304
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Negative Base",
      "properties": {
        "Node name for S&R": "CLIPTextEncodeSDXL"
      },
      "widgets_values": [
        2048,
        2048,
        0,
        0,
        2048,
        2048,
        "anime, cartoon, painting, rendered, blurry, low quality, low resolution, bad quality, jpeg artifacts, disfigured",
        "anime, cartoon, painting, rendered, blurry, low quality, low resolution, bad quality, jpeg artifacts, disfigured"
      ],
      "color": "#322",
      "bgcolor": "#533"
    },
    {
      "id": 10,
      "type": "CheckpointLoaderSimple",
      "pos": [
        -250,
        -1337
      ],
      "size": {
        "0": 315,
        "1": 98
      },
      "flags": {},
      "order": 6,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            48
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            261,
            301
          ],
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [],
          "slot_index": 2
        }
      ],
      "title": "Base Model",
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_base_0.9.safetensors"
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 78,
      "type": "PrimitiveNode",
      "pos": [
        -742,
        -611
      ],
      "size": {
        "0": 306.0003662109375,
        "1": 380.3321228027344
      },
      "flags": {
        "collapsed": false
      },
      "order": 7,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            434,
            478,
            536
          ],
          "slot_index": 0,
          "widget": {
            "name": "text_g",
            "config": [
              "STRING",
              {
                "multiline": true,
                "default": "CLIP_G"
              }
            ]
          }
        }
      ],
      "title": "Linguistic Positive",
      "properties": {},
      "widgets_values": [
        "a wide angle poorly lit realistic photo of a young girl wearing a dark wizard robe with delicate features and expressive eyes, her hair flowing in the wind as she floats above a grass field. In her hands, she conjures a fireball, its light reflecting in her determined gaze."
      ],
      "color": "#232",
      "bgcolor": "#353"
    },
    {
      "id": 115,
      "type": "PrimitiveNode",
      "pos": [
        -709,
        -834
      ],
      "size": {
        "0": 210,
        "1": 82
      },
      "flags": {},
      "order": 8,
      "mode": 0,
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            474,
            475
          ],
          "slot_index": 0,
          "widget": {
            "name": "steps",
            "config": [
              "INT",
              {
                "default": 20,
                "min": 1,
                "max": 10000
              }
            ]
          }
        }
      ],
      "title": "Steps",
      "properties": {},
      "widgets_values": [
        38,
        "fixed"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 23,
      "type": "KSamplerAdvanced",
      "pos": [
        1148.6638896972654,
        -763.6127244140628
      ],
      "size": {
        "0": 315,
        "1": 334
      },
      "flags": {
        "collapsed": false
      },
      "order": 25,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 52
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 480
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 299
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 55
        },
        {
          "name": "cfg",
          "type": "FLOAT",
          "link": 384,
          "widget": {
            "name": "cfg",
            "config": [
              "FLOAT",
              {
                "default": 8,
                "min": 0,
                "max": 100
              }
            ]
          }
        },
        {
          "name": "steps",
          "type": "INT",
          "link": 475,
          "widget": {
            "name": "steps",
            "config": [
              "INT",
              {
                "default": 20,
                "min": 1,
                "max": 10000
              }
            ]
          }
        },
        {
          "name": "noise_seed",
          "type": "INT",
          "link": 482,
          "widget": {
            "name": "noise_seed",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 18446744073709552000
              }
            ]
          },
          "slot_index": 6
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            582
          ],
          "slot_index": 0
        }
      ],
      "title": "Second Pass Latent",
      "properties": {
        "Node name for S&R": "KSamplerAdvanced"
      },
      "widgets_values": [
        "disable",
        3165,
        "fixed",
        38,
        4.5,
        "ddim",
        "ddim_uniform",
        23,
        38,
        "disable"
      ],
      "color": "#323",
      "bgcolor": "#535"
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        1201,
        -199
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 27,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 582
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 69
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            483
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      },
      "color": "#222",
      "bgcolor": "#000"
    },
    {
      "id": 122,
      "type": "SaveImage",
      "pos": [
        1376,
        53
      ],
      "size": {
        "0": 717.6279296875,
        "1": 689.2993774414062
      },
      "flags": {},
      "order": 30,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 483
        }
      ],
      "title": "Refined Preview",
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ],
      "color": "#223",
      "bgcolor": "#335"
    },
    {
      "id": 133,
      "type": "VAEDecode",
      "pos": [
        3573.4205271484366,
        -999.6376836972809
      ],
      "size": {
        "0": 210,
        "1": 46
      },
      "flags": {},
      "order": 32,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 529
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 494
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            554,
            587,
            589
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 162,
      "type": "ControlNetApply",
      "pos": [
        4433,
        -1145
      ],
      "size": {
        "0": 317.4000244140625,
        "1": 98
      },
      "flags": {},
      "order": 34,
      "mode": 0,
      "inputs": [
        {
          "name": "conditioning",
          "type": "CONDITIONING",
          "link": 586
        },
        {
          "name": "control_net",
          "type": "CONTROL_NET",
          "link": 585
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 587
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            588
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetApply"
      },
      "widgets_values": [
        2
      ]
    },
    {
      "id": 101,
      "type": "PrimitiveNode",
      "pos": [
        -232,
        -843
      ],
      "size": {
        "0": 210,
        "1": 82
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "outputs": [
        {
          "name": "FLOAT",
          "type": "FLOAT",
          "links": [
            380
          ],
          "slot_index": 0,
          "widget": {
            "name": "cfg",
            "config": [
              "FLOAT",
              {
                "default": 8,
                "min": 0,
                "max": 100
              }
            ]
          }
        }
      ],
      "title": "Base CFG",
      "properties": {},
      "widgets_values": [
        8,
        "fixed"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 159,
      "type": "Note",
      "pos": [
        1784,
        -406
      ],
      "size": {
        "0": 210,
        "1": 58
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "properties": {
        "text": ""
      },
      "widgets_values": [
        "Load the best image from the last batch and re-run to upscale."
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 126,
      "type": "ImageUpscaleWithModel",
      "pos": [
        2145,
        -327
      ],
      "size": {
        "0": 241.79998779296875,
        "1": 46
      },
      "flags": {},
      "order": 24,
      "mode": 0,
      "inputs": [
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 488
        },
        {
          "name": "image",
          "type": "IMAGE",
          "link": 591,
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            566
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ImageUpscaleWithModel"
      }
    },
    {
      "id": 163,
      "type": "Reroute",
      "pos": [
        1971.0412476594784,
        -305.75765915547527
      ],
      "size": [
        75,
        26
      ],
      "flags": {},
      "order": 22,
      "mode": 0,
      "inputs": [
        {
          "name": "",
          "type": "*",
          "link": 592
        }
      ],
      "outputs": [
        {
          "name": "",
          "type": "IMAGE",
          "links": [
            591
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "showOutputText": false,
        "horizontal": false
      }
    },
    {
      "id": 66,
      "type": "PrimitiveNode",
      "pos": [
        -472,
        -837
      ],
      "size": {
        "0": 210,
        "1": 82
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "outputs": [
        {
          "name": "INT",
          "type": "INT",
          "links": [
            214,
            482
          ],
          "widget": {
            "name": "noise_seed",
            "config": [
              "INT",
              {
                "default": 0,
                "min": 0,
                "max": 18446744073709552000
              }
            ]
          },
          "slot_index": 0
        }
      ],
      "title": "Seed",
      "properties": {},
      "widgets_values": [
        3165,
        "fixed"
      ],
      "color": "#233",
      "bgcolor": "#355"
    },
    {
      "id": 5,
      "type": "EmptyLatentImage",
      "pos": [
        -278,
        -1161
      ],
      "size": {
        "0": 426.9938049316406,
        "1": 106
      },
      "flags": {
        "collapsed": false
      },
      "order": 12,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            49
          ],
          "slot_index": 0
        }
      ],
      "title": "Image Resolution",
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1024,
        1400,
        6
      ],
      "color": "#432",
      "bgcolor": "#653"
    },
    {
      "id": 142,
      "type": "KSampler",
      "pos": [
        3146,
        -814
      ],
      "size": {
        "0": 315,
        "1": 262
      },
      "flags": {},
      "order": 31,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 525
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 537
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 540
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 528
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            529
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        768418706038555,
        "randomize",
        30,
        7,
        "dpmpp_2m",
        "karras",
        0.28
      ]
    },
    {
      "id": 156,
      "type": "LoadImage",
      "pos": [
        1567,
        -302
      ],
      "size": {
        "0": 315,
        "1": 314
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            592
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": null,
          "shape": 3
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "ComfyUI_01446_.png",
        "image"
      ]
    },
    {
      "id": 151,
      "type": "UpscaleModelLoader",
      "pos": [
        4811,
        -1338
      ],
      "size": {
        "0": 502.9045715332031,
        "1": 83.47543334960938
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            548
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x-UltraSharp.pth"
      ]
    },
    {
      "id": 161,
      "type": "ControlNetLoader",
      "pos": [
        4383,
        -1328
      ],
      "size": {
        "0": 340.198974609375,
        "1": 58
      },
      "flags": {},
      "order": 15,
      "mode": 0,
      "outputs": [
        {
          "name": "CONTROL_NET",
          "type": "CONTROL_NET",
          "links": [
            585
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "ControlNetLoader"
      },
      "widgets_values": [
        "control_v11f1e_sd15_tile.pth"
      ]
    },
    {
      "id": 154,
      "type": "SaveImage",
      "pos": [
        3765,
        -586
      ],
      "size": {
        "0": 557.7634887695312,
        "1": 619.5809326171875
      },
      "flags": {},
      "order": 33,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 554
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 164,
      "type": "SaveImage",
      "pos": [
        5502,
        -1150
      ],
      "size": {
        "0": 557.7634887695312,
        "1": 619.5809326171875
      },
      "flags": {},
      "order": 36,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 593
        }
      ],
      "properties": {},
      "widgets_values": [
        "ComfyUI"
      ]
    },
    {
      "id": 149,
      "type": "UltimateSDUpscale",
      "pos": [
        4999.594804969482,
        -1007.0869611953723
      ],
      "size": {
        "0": 315,
        "1": 566
      },
      "flags": {},
      "order": 35,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 589
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 543
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 588
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 545
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 546
        },
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 548
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            593
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UltimateSDUpscale"
      },
      "widgets_values": [
        2,
        293167581504108,
        "randomize",
        40,
        8,
        "ddim",
        "ddim_uniform",
        0.3,
        "Linear",
        768,
        768,
        8,
        32,
        "None",
        1,
        64,
        8,
        16
      ]
    }
  ],
  "links": [
    [
      48,
      10,
      0,
      22,
      0,
      "MODEL"
    ],
    [
      49,
      5,
      0,
      22,
      3,
      "LATENT"
    ],
    [
      52,
      4,
      0,
      23,
      0,
      "MODEL"
    ],
    [
      55,
      22,
      0,
      23,
      3,
      "LATENT"
    ],
    [
      69,
      4,
      2,
      8,
      1,
      "VAE"
    ],
    [
      214,
      66,
      0,
      22,
      4,
      "INT"
    ],
    [
      261,
      10,
      1,
      75,
      0,
      "CLIP"
    ],
    [
      282,
      75,
      0,
      22,
      1,
      "CONDITIONING"
    ],
    [
      297,
      4,
      1,
      81,
      0,
      "CLIP"
    ],
    [
      298,
      43,
      0,
      81,
      1,
      "STRING"
    ],
    [
      299,
      81,
      0,
      23,
      2,
      "CONDITIONING"
    ],
    [
      301,
      10,
      1,
      82,
      0,
      "CLIP"
    ],
    [
      302,
      43,
      0,
      82,
      1,
      "STRING"
    ],
    [
      304,
      82,
      0,
      22,
      2,
      "CONDITIONING"
    ],
    [
      380,
      101,
      0,
      22,
      5,
      "FLOAT"
    ],
    [
      384,
      102,
      0,
      23,
      4,
      "FLOAT"
    ],
    [
      434,
      78,
      0,
      75,
      1,
      "STRING"
    ],
    [
      470,
      77,
      0,
      75,
      2,
      "STRING"
    ],
    [
      474,
      115,
      0,
      22,
      6,
      "INT"
    ],
    [
      475,
      115,
      0,
      23,
      5,
      "INT"
    ],
    [
      476,
      43,
      0,
      82,
      2,
      "STRING"
    ],
    [
      478,
      78,
      0,
      120,
      1,
      "STRING"
    ],
    [
      479,
      4,
      1,
      120,
      0,
      "CLIP"
    ],
    [
      480,
      120,
      0,
      23,
      1,
      "CONDITIONING"
    ],
    [
      482,
      66,
      0,
      23,
      6,
      "INT"
    ],
    [
      483,
      8,
      0,
      122,
      0,
      "IMAGE"
    ],
    [
      488,
      127,
      0,
      126,
      0,
      "UPSCALE_MODEL"
    ],
    [
      491,
      131,
      2,
      130,
      1,
      "VAE"
    ],
    [
      494,
      131,
      2,
      133,
      1,
      "VAE"
    ],
    [
      525,
      131,
      0,
      142,
      0,
      "MODEL"
    ],
    [
      528,
      130,
      0,
      142,
      3,
      "LATENT"
    ],
    [
      529,
      142,
      0,
      133,
      0,
      "LATENT"
    ],
    [
      535,
      131,
      1,
      147,
      0,
      "CLIP"
    ],
    [
      536,
      78,
      0,
      147,
      1,
      "STRING"
    ],
    [
      537,
      147,
      0,
      142,
      1,
      "CONDITIONING"
    ],
    [
      538,
      43,
      0,
      148,
      1,
      "STRING"
    ],
    [
      539,
      131,
      1,
      148,
      0,
      "CLIP"
    ],
    [
      540,
      148,
      0,
      142,
      2,
      "CONDITIONING"
    ],
    [
      543,
      131,
      0,
      149,
      1,
      "MODEL"
    ],
    [
      545,
      148,
      0,
      149,
      3,
      "CONDITIONING"
    ],
    [
      546,
      131,
      2,
      149,
      4,
      "VAE"
    ],
    [
      548,
      151,
      0,
      149,
      5,
      "UPSCALE_MODEL"
    ],
    [
      554,
      133,
      0,
      154,
      0,
      "IMAGE"
    ],
    [
      566,
      126,
      0,
      158,
      0,
      "IMAGE"
    ],
    [
      574,
      158,
      0,
      130,
      0,
      "IMAGE"
    ],
    [
      575,
      158,
      0,
      129,
      0,
      "IMAGE"
    ],
    [
      582,
      23,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      585,
      161,
      0,
      162,
      1,
      "CONTROL_NET"
    ],
    [
      586,
      147,
      0,
      162,
      0,
      "CONDITIONING"
    ],
    [
      587,
      133,
      0,
      162,
      2,
      "IMAGE"
    ],
    [
      588,
      162,
      0,
      149,
      2,
      "CONDITIONING"
    ],
    [
      589,
      133,
      0,
      149,
      0,
      "IMAGE"
    ],
    [
      591,
      163,
      0,
      126,
      1,
      "IMAGE"
    ],
    [
      592,
      156,
      0,
      163,
      0,
      "*"
    ],
    [
      593,
      149,
      0,
      164,
      0,
      "IMAGE"
    ]
  ],
  "groups": [
    {
      "title": "Refined Images",
      "bounding": [
        376,
        -747,
        1100,
        617
      ],
      "color": "#444"
    },
    {
      "title": "Base Model",
      "bounding": [
        -287,
        -1458,
        1041,
        425
      ],
      "color": "#444"
    },
    {
      "title": "Prompting",
      "bounding": [
        -762,
        -701,
        641,
        762
      ],
      "color": "#444"
    },
    {
      "title": "Gen Settings",
      "bounding": [
        -400,
        -669,
        504,
        421
      ],
      "color": "#444"
    },
    {
      "title": "Upscale and 3rd model",
      "bounding": [
        1591,
        -1452,
        2113,
        976
      ],
      "color": "#3f789e"
    },
    {
      "title": "Extra SD Tilted Upscale - Image currently disconnected ",
      "bounding": [
        4356,
        -1479,
        1784,
        1090
      ],
      "color": "#3f789e"
    },
    {
      "title": "Group",
      "bounding": [
        -729,
        -905,
        982,
        155
      ],
      "color": "#3f789e"
    }
  ],
  "config": {},
  "extra": {},
  "version": 0.4
}