Skip to content

Instantly share code, notes, and snippets.

@ljleb
Created August 1, 2023 17:49
Show Gist options
  • Save ljleb/e96e53734db7601f8e6de443c31e1a91 to your computer and use it in GitHub Desktop.
Save ljleb/e96e53734db7601f8e6de443c31e1a91 to your computer and use it in GitHub Desktop.
{
"last_node_id": 327,
"last_link_id": 589,
"nodes": [
{
"id": 323,
"type": "PreviewImage",
"pos": [
864,
389
],
"size": [
210,
246
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 588
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 318,
"type": "PreviewImage",
"pos": [
857,
112
],
"size": [
210,
246
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 589
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 322,
"type": "PostprocessToWebui",
"pos": [
857,
282
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 578
}
],
"properties": {
"Node name for S&R": "PostprocessToWebui"
}
},
{
"id": 320,
"type": "VAEDecode",
"pos": [
534,
323
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 579
},
{
"name": "vae",
"type": "VAE",
"link": 582
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
577
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 319,
"type": "ImageInvert",
"pos": [
683,
323
],
"size": [
187.93842112304674,
26
],
"flags": {
"collapsed": true
},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 577
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
578,
588
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageInvert"
}
},
{
"id": 317,
"type": "PostprocessToWebui",
"pos": [
841,
1
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 575
}
],
"properties": {
"Node name for S&R": "PostprocessToWebui"
}
},
{
"id": 325,
"type": "WebuiCheckpointLoader",
"pos": [
-312,
238
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
580
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
586
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
581,
582
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "WebuiCheckpointLoader"
},
"widgets_values": [
"3"
]
},
{
"id": 327,
"type": "CLIPTextEncode",
"pos": [
-28,
376
],
"size": {
"0": 400,
"1": 200
},
"flags": {
"collapsed": true
},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 586
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
584,
585
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
""
]
},
{
"id": 326,
"type": "VAEEncode",
"pos": [
30,
418
],
"size": {
"0": 210,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 587
},
{
"name": "vae",
"type": "VAE",
"link": 581
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
583
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 316,
"type": "PostprocessFromWebui",
"pos": [
-296,
61
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
575,
587,
589
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "PostprocessFromWebui"
},
"widgets_values": [
"3"
]
},
{
"id": 324,
"type": "KSamplerAdvanced",
"pos": [
192,
293
],
"size": [
315,
546
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 580
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 584
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 585
},
{
"name": "latent_image",
"type": "LATENT",
"link": 583
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
579
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSamplerAdvanced"
},
"widgets_values": [
"enable",
930887146273182,
"randomize",
24,
7,
"dpmpp_2m",
"karras",
12,
20,
"disable"
]
}
],
"links": [
[
575,
316,
0,
317,
0,
"IMAGE"
],
[
577,
320,
0,
319,
0,
"IMAGE"
],
[
578,
319,
0,
322,
0,
"IMAGE"
],
[
579,
324,
0,
320,
0,
"LATENT"
],
[
580,
325,
0,
324,
0,
"MODEL"
],
[
581,
325,
2,
326,
1,
"VAE"
],
[
582,
325,
2,
320,
1,
"VAE"
],
[
583,
326,
0,
324,
3,
"LATENT"
],
[
584,
327,
0,
324,
1,
"CONDITIONING"
],
[
585,
327,
0,
324,
2,
"CONDITIONING"
],
[
586,
325,
1,
327,
0,
"CLIP"
],
[
587,
316,
0,
326,
0,
"IMAGE"
],
[
588,
319,
0,
323,
0,
"IMAGE"
],
[
589,
316,
0,
318,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment