{
  "last_node_id": 22,
  "last_link_id": 38,
  "nodes": [
    {
      "id": 15,
      "type": "PrimitiveNode",
      "pos": [
        1,
        31
      ],
      "size": {
        "0": 423.15509033203125,
        "1": 197.5022735595703
      },
      "flags": {
        "collapsed": false
      },
      "order": 0,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            18,
            19
          ],
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 0
        }
      ],
      "title": "Positive Prompt",
      "properties": {},
      "widgets_values": [
        "masterpiece, realistic photo expensive sports car"
      ],
      "color": "#232",
      "bgcolor": "#353",
      "shape": 4
    },
    {
      "id": 8,
      "type": "VAEDecode",
      "pos": [
        775,
        391
      ],
      "size": {
        "0": 315.86663818359375,
        "1": 46
      },
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 28
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 18,
      "type": "VAEDecode",
      "pos": [
        779,
        481
      ],
      "size": {
        "0": 311.6451110839844,
        "1": 46
      },
      "flags": {},
      "order": 13,
      "mode": 0,
      "inputs": [
        {
          "name": "samples",
          "type": "LATENT",
          "link": 36
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 37
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            30
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "VAEDecode"
      }
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        764,
        64
      ],
      "size": {
        "0": 332.2149963378906,
        "1": 282.3649597167969
      },
      "flags": {},
      "order": 12,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9
        }
      ],
      "properties": {},
      "widgets_values": [
        "base_output"
      ],
      "shape": 1
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        504,
        531
      ],
      "size": {
        "0": 210,
        "1": 54
      },
      "flags": {
        "collapsed": true
      },
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 5
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 22,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            25
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "text, watermark"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        503,
        491
      ],
      "size": {
        "0": 210,
        "1": 54
      },
      "flags": {
        "collapsed": true
      },
      "order": 5,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 3
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 19,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          }
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            24
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "masterpiece, realistic photo expensive sports car"
      ]
    },
    {
      "id": 13,
      "type": "CLIPTextEncode",
      "pos": [
        503,
        451
      ],
      "size": {
        "0": 210,
        "1": 54
      },
      "flags": {
        "collapsed": true
      },
      "order": 8,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 13
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 21,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            33
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "text, watermark"
      ]
    },
    {
      "id": 12,
      "type": "CLIPTextEncode",
      "pos": [
        504,
        411
      ],
      "size": {
        "0": 219,
        "1": 54
      },
      "flags": {
        "collapsed": true
      },
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 11
        },
        {
          "name": "text",
          "type": "STRING",
          "link": 18,
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            32
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "masterpiece, realistic photo expensive sports car"
      ]
    },
    {
      "id": 16,
      "type": "PrimitiveNode",
      "pos": [
        1,
        259
      ],
      "size": {
        "0": 423.44293212890625,
        "1": 133.0699920654297
      },
      "flags": {
        "collapsed": false
      },
      "order": 1,
      "mode": 0,
      "outputs": [
        {
          "name": "STRING",
          "type": "STRING",
          "links": [
            21,
            22
          ],
          "widget": {
            "name": "text",
            "config": [
              "STRING",
              {
                "multiline": true
              }
            ]
          },
          "slot_index": 0
        }
      ],
      "title": "Negative Prompt",
      "properties": {},
      "widgets_values": [
        "text, watermark"
      ],
      "color": "#332922",
      "bgcolor": "#593930",
      "shape": 4
    },
    {
      "id": 19,
      "type": "SaveImage",
      "pos": [
        1099,
        64
      ],
      "size": {
        "0": 599.1996459960938,
        "1": 766.01123046875
      },
      "flags": {},
      "order": 14,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 30
        }
      ],
      "properties": {},
      "widgets_values": [
        "refiner_output"
      ],
      "shape": 1
    },
    {
      "id": 21,
      "type": "EmptyLatentImage",
      "pos": [
        1,
        422
      ],
      "size": {
        "0": 424.3347473144531,
        "1": 106
      },
      "flags": {
        "collapsed": false
      },
      "order": 2,
      "mode": 0,
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            38
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "Image Size\n",
      "properties": {
        "Node name for S&R": "EmptyLatentImage"
      },
      "widgets_values": [
        1024,
        1024,
        1
      ]
    },
    {
      "id": 17,
      "type": "KSampler",
      "pos": [
        446,
        570
      ],
      "size": {
        "0": 319.0548400878906,
        "1": 263.69866943359375
      },
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 27
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 24
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 25
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 38
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            28,
            35
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        168267941594997,
        "randomize",
        30,
        7,
        "dpmpp_2s_ancestral",
        "normal",
        1
      ]
    },
    {
      "id": 20,
      "type": "KSampler",
      "pos": [
        781,
        571
      ],
      "size": {
        "0": 310.3995056152344,
        "1": 262.82855224609375
      },
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "model",
          "type": "MODEL",
          "link": 34
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 32
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 33
        },
        {
          "name": "latent_image",
          "type": "LATENT",
          "link": 35
        }
      ],
      "outputs": [
        {
          "name": "LATENT",
          "type": "LATENT",
          "links": [
            36
          ],
          "shape": 3,
          "slot_index": 0
        }
      ],
      "title": "KSampler for refiner (like img2img)",
      "properties": {
        "Node name for S&R": "KSampler"
      },
      "widgets_values": [
        929384395467457,
        "randomize",
        15,
        7,
        "dpmpp_2s_ancestral",
        "normal",
        0.25
      ]
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        428,
        251
      ],
      "size": {
        "0": 330.2593078613281,
        "1": 120.29596710205078
      },
      "flags": {},
      "order": 3,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            27
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            3,
            5
          ],
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            8
          ],
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_base_1.0.safetensors"
      ]
    },
    {
      "id": 11,
      "type": "CheckpointLoaderSimple",
      "pos": [
        428,
        65
      ],
      "size": {
        "0": 330.85821533203125,
        "1": 117.693603515625
      },
      "flags": {
        "collapsed": false
      },
      "order": 4,
      "mode": 0,
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            34
          ],
          "shape": 3,
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            11,
            13
          ],
          "shape": 3,
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            37
          ],
          "shape": 3,
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_refiner_1.0.safetensors"
      ]
    }
  ],
  "links": [
    [
      3,
      4,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      5,
      4,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      8,
      4,
      2,
      8,
      1,
      "VAE"
    ],
    [
      9,
      8,
      0,
      9,
      0,
      "IMAGE"
    ],
    [
      11,
      11,
      1,
      12,
      0,
      "CLIP"
    ],
    [
      13,
      11,
      1,
      13,
      0,
      "CLIP"
    ],
    [
      18,
      15,
      0,
      12,
      1,
      "STRING"
    ],
    [
      19,
      15,
      0,
      6,
      1,
      "STRING"
    ],
    [
      21,
      16,
      0,
      13,
      1,
      "STRING"
    ],
    [
      22,
      16,
      0,
      7,
      1,
      "STRING"
    ],
    [
      24,
      6,
      0,
      17,
      1,
      "CONDITIONING"
    ],
    [
      25,
      7,
      0,
      17,
      2,
      "CONDITIONING"
    ],
    [
      27,
      4,
      0,
      17,
      0,
      "MODEL"
    ],
    [
      28,
      17,
      0,
      8,
      0,
      "LATENT"
    ],
    [
      30,
      18,
      0,
      19,
      0,
      "IMAGE"
    ],
    [
      32,
      12,
      0,
      20,
      1,
      "CONDITIONING"
    ],
    [
      33,
      13,
      0,
      20,
      2,
      "CONDITIONING"
    ],
    [
      34,
      11,
      0,
      20,
      0,
      "MODEL"
    ],
    [
      35,
      17,
      0,
      20,
      3,
      "LATENT"
    ],
    [
      36,
      20,
      0,
      18,
      0,
      "LATENT"
    ],
    [
      37,
      11,
      2,
      18,
      1,
      "VAE"
    ],
    [
      38,
      21,
      0,
      17,
      3,
      "LATENT"
    ]
  ],
  "groups": [
    {
      "title": "REFINER HERE",
      "bounding": [
        426,
        1,
        335,
        184
      ],
      "color": "#3f789e"
    },
    {
      "title": "BASE HERE",
      "bounding": [
        425,
        186,
        336,
        186
      ],
      "color": "#8A8"
    },
    {
      "title": "RESULT WITHOUT REFINER",
      "bounding": [
        762,
        0,
        335,
        345
      ],
      "color": "#b58b2a"
    },
    {
      "title": "RESULT WITH REFINER",
      "bounding": [
        1097,
        0,
        602,
        830
      ],
      "color": "#a1309b"
    }
  ],
  "config": {},
  "extra": {},
  "version": 0.4
}