{
  "last_node_id": 11,
  "last_link_id": 9,
  "nodes": [
    {
      "id": 1,
      "type": "LoadImage",
      "pos": [
        0,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 1,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            3
          ],
          "slot_index": 0
        },
        {
          "name": "MASK",
          "type": "MASK",
          "links": [],
          "slot_index": 1
        }
      ],
      "properties": {
        "Node name for S&R": "LoadImage"
      },
      "widgets_values": [
        "portrait_src.png"
      ]
    },
    {
      "id": 4,
      "type": "CheckpointLoaderSimple",
      "pos": [
        300,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 4,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "MODEL",
          "type": "MODEL",
          "links": [
            4
          ],
          "slot_index": 0
        },
        {
          "name": "CLIP",
          "type": "CLIP",
          "links": [
            1,
            2
          ],
          "slot_index": 1
        },
        {
          "name": "VAE",
          "type": "VAE",
          "links": [
            7
          ],
          "slot_index": 2
        }
      ],
      "properties": {
        "Node name for S&R": "CheckpointLoaderSimple"
      },
      "widgets_values": [
        "sd_xl_base_1.0.safetensors"
      ]
    },
    {
      "id": 6,
      "type": "CLIPTextEncode",
      "pos": [
        600,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 6,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 1
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            5
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "highly detailed photograph, sharp focus, fine skin pores, individual hair strands, natural skin texture, high resolution, photorealistic, 85mm"
      ]
    },
    {
      "id": 7,
      "type": "CLIPTextEncode",
      "pos": [
        900,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 7,
      "mode": 0,
      "inputs": [
        {
          "name": "clip",
          "type": "CLIP",
          "link": 2
        }
      ],
      "outputs": [
        {
          "name": "CONDITIONING",
          "type": "CONDITIONING",
          "links": [
            6
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "CLIPTextEncode"
      },
      "widgets_values": [
        "blurry, smooth plastic skin, oversharpened, jpeg artifacts, painting, cartoon"
      ]
    },
    {
      "id": 10,
      "type": "UpscaleModelLoader",
      "pos": [
        1200,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 10,
      "mode": 0,
      "inputs": [],
      "outputs": [
        {
          "name": "UPSCALE_MODEL",
          "type": "UPSCALE_MODEL",
          "links": [
            8
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UpscaleModelLoader"
      },
      "widgets_values": [
        "4x-UltraSharp.pth"
      ]
    },
    {
      "id": 11,
      "type": "UltimateSDUpscale",
      "pos": [
        1500,
        0
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 11,
      "mode": 0,
      "inputs": [
        {
          "name": "image",
          "type": "IMAGE",
          "link": 3
        },
        {
          "name": "model",
          "type": "MODEL",
          "link": 4
        },
        {
          "name": "positive",
          "type": "CONDITIONING",
          "link": 5
        },
        {
          "name": "negative",
          "type": "CONDITIONING",
          "link": 6
        },
        {
          "name": "vae",
          "type": "VAE",
          "link": 7
        },
        {
          "name": "upscale_model",
          "type": "UPSCALE_MODEL",
          "link": 8
        }
      ],
      "outputs": [
        {
          "name": "IMAGE",
          "type": "IMAGE",
          "links": [
            9
          ],
          "slot_index": 0
        }
      ],
      "properties": {
        "Node name for S&R": "UltimateSDUpscale"
      },
      "widgets_values": [
        2.0,
        42,
        "fixed",
        20,
        6.0,
        "dpmpp_2m",
        "karras",
        0.2,
        "Linear",
        1024,
        1024,
        8,
        32,
        "None",
        1.0,
        64,
        8,
        16,
        true,
        false,
        1
      ]
    },
    {
      "id": 9,
      "type": "SaveImage",
      "pos": [
        0,
        360
      ],
      "size": [
        260,
        120
      ],
      "flags": {},
      "order": 9,
      "mode": 0,
      "inputs": [
        {
          "name": "images",
          "type": "IMAGE",
          "link": 9
        }
      ],
      "outputs": [],
      "properties": {
        "Node name for S&R": "SaveImage"
      },
      "widgets_values": [
        "ultimate_upscale"
      ]
    }
  ],
  "links": [
    [
      1,
      4,
      1,
      6,
      0,
      "CLIP"
    ],
    [
      2,
      4,
      1,
      7,
      0,
      "CLIP"
    ],
    [
      3,
      1,
      0,
      11,
      0,
      "IMAGE"
    ],
    [
      4,
      4,
      0,
      11,
      1,
      "MODEL"
    ],
    [
      5,
      6,
      0,
      11,
      2,
      "CONDITIONING"
    ],
    [
      6,
      7,
      0,
      11,
      3,
      "CONDITIONING"
    ],
    [
      7,
      4,
      2,
      11,
      4,
      "VAE"
    ],
    [
      8,
      10,
      0,
      11,
      5,
      "UPSCALE_MODEL"
    ],
    [
      9,
      11,
      0,
      9,
      0,
      "IMAGE"
    ]
  ],
  "groups": [],
  "config": {},
  "extra": {},
  "version": 0.4
}