{
 "last_node_id": 8,
 "last_link_id": 12,
 "nodes": [
  {
   "id": 1,
   "type": "CheckpointLoaderSimple",
   "pos": [
    50,
    300
   ],
   "size": [
    340,
    100
   ],
   "flags": {},
   "order": 0,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "MODEL",
     "type": "MODEL",
     "links": [
      1
     ],
     "slot_index": 0
    },
    {
     "name": "CLIP",
     "type": "CLIP",
     "links": [
      2,
      3
     ],
     "slot_index": 1
    },
    {
     "name": "VAE",
     "type": "VAE",
     "links": [
      5,
      11
     ],
     "slot_index": 2
    }
   ],
   "properties": {
    "Node name for S&R": "CheckpointLoaderSimple"
   },
   "widgets_values": [
    "sd_xl_base_1.0.safetensors"
   ]
  },
  {
   "id": 2,
   "type": "LoadImage",
   "pos": [
    50,
    640
   ],
   "size": [
    320,
    320
   ],
   "flags": {},
   "order": 1,
   "mode": 0,
   "inputs": [],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      4
     ],
     "slot_index": 0
    },
    {
     "name": "MASK",
     "type": "MASK",
     "links": [
      6
     ],
     "slot_index": 1
    }
   ],
   "properties": {
    "Node name for S&R": "LoadImage"
   },
   "widgets_values": [
    "example.png",
    "image"
   ]
  },
  {
   "id": 3,
   "type": "VAEEncodeForInpaint",
   "pos": [
    460,
    680
   ],
   "size": [
    240,
    100
   ],
   "flags": {},
   "order": 2,
   "mode": 0,
   "inputs": [
    {
     "name": "pixels",
     "type": "IMAGE",
     "link": 4
    },
    {
     "name": "vae",
     "type": "VAE",
     "link": 5
    },
    {
     "name": "mask",
     "type": "MASK",
     "link": 6
    }
   ],
   "outputs": [
    {
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      9
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "VAEEncodeForInpaint"
   },
   "widgets_values": [
    12
   ]
  },
  {
   "id": 4,
   "type": "CLIPTextEncode",
   "pos": [
    480,
    150
   ],
   "size": [
    400,
    180
   ],
   "flags": {},
   "order": 3,
   "mode": 0,
   "inputs": [
    {
     "name": "clip",
     "type": "CLIP",
     "link": 2
    }
   ],
   "outputs": [
    {
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      7
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "a red scarf"
   ]
  },
  {
   "id": 5,
   "type": "CLIPTextEncode",
   "pos": [
    480,
    400
   ],
   "size": [
    400,
    180
   ],
   "flags": {},
   "order": 4,
   "mode": 0,
   "inputs": [
    {
     "name": "clip",
     "type": "CLIP",
     "link": 3
    }
   ],
   "outputs": [
    {
     "name": "CONDITIONING",
     "type": "CONDITIONING",
     "links": [
      8
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "CLIPTextEncode"
   },
   "widgets_values": [
    "low quality, blurry, bad anatomy, extra limbs, watermark, text"
   ]
  },
  {
   "id": 6,
   "type": "KSampler",
   "pos": [
    950,
    300
   ],
   "size": [
    315,
    270
   ],
   "flags": {},
   "order": 5,
   "mode": 0,
   "inputs": [
    {
     "name": "model",
     "type": "MODEL",
     "link": 1
    },
    {
     "name": "positive",
     "type": "CONDITIONING",
     "link": 7
    },
    {
     "name": "negative",
     "type": "CONDITIONING",
     "link": 8
    },
    {
     "name": "latent_image",
     "type": "LATENT",
     "link": 9
    }
   ],
   "outputs": [
    {
     "name": "LATENT",
     "type": "LATENT",
     "links": [
      10
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "KSampler"
   },
   "widgets_values": [
    42,
    "fixed",
    25,
    6.0,
    "dpmpp_2m",
    "karras",
    0.85
   ]
  },
  {
   "id": 7,
   "type": "VAEDecode",
   "pos": [
    1320,
    300
   ],
   "size": [
    210,
    50
   ],
   "flags": {},
   "order": 6,
   "mode": 0,
   "inputs": [
    {
     "name": "samples",
     "type": "LATENT",
     "link": 10
    },
    {
     "name": "vae",
     "type": "VAE",
     "link": 11
    }
   ],
   "outputs": [
    {
     "name": "IMAGE",
     "type": "IMAGE",
     "links": [
      12
     ],
     "slot_index": 0
    }
   ],
   "properties": {
    "Node name for S&R": "VAEDecode"
   }
  },
  {
   "id": 8,
   "type": "SaveImage",
   "pos": [
    1580,
    300
   ],
   "size": [
    320,
    280
   ],
   "flags": {},
   "order": 7,
   "mode": 0,
   "inputs": [
    {
     "name": "images",
     "type": "IMAGE",
     "link": 12
    }
   ],
   "outputs": [],
   "properties": {
    "Node name for S&R": "SaveImage"
   },
   "widgets_values": [
    "course/wf04"
   ]
  }
 ],
 "links": [
  [
   1,
   1,
   0,
   6,
   0,
   "MODEL"
  ],
  [
   2,
   1,
   1,
   4,
   0,
   "CLIP"
  ],
  [
   3,
   1,
   1,
   5,
   0,
   "CLIP"
  ],
  [
   4,
   2,
   0,
   3,
   0,
   "IMAGE"
  ],
  [
   5,
   1,
   2,
   3,
   1,
   "VAE"
  ],
  [
   6,
   2,
   1,
   3,
   2,
   "MASK"
  ],
  [
   7,
   4,
   0,
   6,
   1,
   "CONDITIONING"
  ],
  [
   8,
   5,
   0,
   6,
   2,
   "CONDITIONING"
  ],
  [
   9,
   3,
   0,
   6,
   3,
   "LATENT"
  ],
  [
   10,
   6,
   0,
   7,
   0,
   "LATENT"
  ],
  [
   11,
   1,
   2,
   7,
   1,
   "VAE"
  ],
  [
   12,
   7,
   0,
   8,
   0,
   "IMAGE"
  ]
 ],
 "groups": [],
 "config": {},
 "extra": {},
 "version": 0.4
}