Skip to content

Instantly share code, notes, and snippets.

@4rmx
Created September 30, 2023 15:09
Show Gist options
  • Save 4rmx/3e0f42303930b77f3f4cc6c13eede45a to your computer and use it in GitHub Desktop.
Save 4rmx/3e0f42303930b77f3f4cc6c13eede45a to your computer and use it in GitHub Desktop.
{
"last_node_id": 56,
"last_link_id": 85,
"nodes": [
{
"id": 28,
"type": "VAEDecode",
"pos": [
870,
30
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 41
},
{
"name": "vae",
"type": "VAE",
"link": 44
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
45
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 33,
"type": "Reroute",
"pos": [
-520,
-120
],
"size": [
75,
26
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 47
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
48
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 35,
"type": "Reroute",
"pos": [
-120,
-200
],
"size": [
75,
26
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 59
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
52
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 36,
"type": "Reroute",
"pos": [
330,
-200
],
"size": [
75,
26
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 52
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
53
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 15,
"type": "CLIPSetLastLayer",
"pos": [
-390,
-70
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 26
}
],
"outputs": [
{
"name": "CLIP",
"type": "CLIP",
"links": [
60,
61
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPSetLastLayer"
},
"widgets_values": [
-1
]
},
{
"id": 31,
"type": "PreviewImage",
"pos": [
870,
130
],
"size": {
"0": 410,
"1": 430
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 49,
"type": "EmptyLatentImage",
"pos": [
80,
540
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
768,
1
]
},
{
"id": 17,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
280
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 61
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
78
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
},
"widgets_values": [
"embedding:BadDream embedding:UnrealisticDream",
"mean",
"A1111"
]
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
0,
-110
],
"size": {
"0": 400,
"1": 100
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
47
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
26
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
79
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaper_8.safetensors"
]
},
{
"id": 30,
"type": "Reroute",
"pos": [
740,
-70
],
"size": [
75,
26
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 79
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
44
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 34,
"type": "CLIPVisionLoader",
"pos": [
-810,
220
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "CLIP_VISION",
"type": "CLIP_VISION",
"links": [
50
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPVisionLoader"
},
"widgets_values": [
"pytorch_model.bin"
]
},
{
"id": 51,
"type": "SolidMask",
"pos": [
-810,
340
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
80
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SolidMask"
},
"widgets_values": [
0,
512,
768
]
},
{
"id": 54,
"type": "MaskToImage",
"pos": [
-419.7428324218748,
549.9779344726564
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "mask",
"type": "MASK",
"link": 83
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
85
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskToImage"
}
},
{
"id": 56,
"type": "PreviewImage",
"pos": [
-190,
560
],
"size": {
"0": 210,
"1": 250
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 85
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 16,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
30
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 60
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
77
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
},
"widgets_values": [
"waring cowboy hat on the beach",
"mean",
"A1111"
]
},
{
"id": 52,
"type": "SolidMask",
"pos": [
-810,
520
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
81
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "SolidMask"
},
"widgets_values": [
1,
300,
768
]
},
{
"id": 53,
"type": "MaskComposite",
"pos": [
-440,
340
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "destination",
"type": "MASK",
"link": 80
},
{
"name": "source",
"type": "MASK",
"link": 81
}
],
"outputs": [
{
"name": "MASK",
"type": "MASK",
"links": [
82,
83
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MaskComposite"
},
"widgets_values": [
256,
0,
"add"
]
},
{
"id": 19,
"type": "KSampler //Inspire",
"pos": [
500,
30
],
"size": {
"0": 315,
"1": 286
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 53
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 77
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 78
},
{
"name": "latent_image",
"type": "LATENT",
"link": 74,
"slot_index": 3
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
41
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler //Inspire"
},
"widgets_values": [
37436574849911,
"randomize",
20,
7,
"dpmpp_2m_sde_gpu",
"karras",
0.9,
"GPU(=A1111)"
]
},
{
"id": 32,
"type": "IPAdapter",
"pos": [
-410,
60
],
"size": {
"0": 270,
"1": 170
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 48
},
{
"name": "image",
"type": "IMAGE",
"link": 49
},
{
"name": "clip_vision",
"type": "CLIP_VISION",
"link": 50,
"slot_index": 2
},
{
"name": "mask",
"type": "MASK",
"link": 82
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
59
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP_VISION_OUTPUT",
"type": "CLIP_VISION_OUTPUT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "IPAdapter"
},
"widgets_values": [
1.1,
"ip-adapter_sd15.bin",
"fp16"
]
},
{
"id": 21,
"type": "LoadImage",
"pos": [
-810,
-150
],
"size": [
220,
310
],
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
49
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"example.png",
"image"
]
}
],
"links": [
[
26,
3,
1,
15,
0,
"CLIP"
],
[
41,
19,
0,
28,
0,
"LATENT"
],
[
44,
30,
0,
28,
1,
"VAE"
],
[
45,
28,
0,
31,
0,
"IMAGE"
],
[
47,
3,
0,
33,
0,
"*"
],
[
48,
33,
0,
32,
0,
"MODEL"
],
[
49,
21,
0,
32,
1,
"IMAGE"
],
[
50,
34,
0,
32,
2,
"CLIP_VISION"
],
[
52,
35,
0,
36,
0,
"*"
],
[
53,
36,
0,
19,
0,
"MODEL"
],
[
59,
32,
0,
35,
0,
"*"
],
[
60,
15,
0,
16,
0,
"CLIP"
],
[
61,
15,
0,
17,
0,
"CLIP"
],
[
74,
49,
0,
19,
3,
"LATENT"
],
[
77,
16,
0,
19,
1,
"CONDITIONING"
],
[
78,
17,
0,
19,
2,
"CONDITIONING"
],
[
79,
3,
2,
30,
0,
"*"
],
[
80,
51,
0,
53,
0,
"MASK"
],
[
81,
52,
0,
53,
1,
"MASK"
],
[
82,
53,
0,
32,
3,
"MASK"
],
[
83,
53,
0,
54,
0,
"MASK"
],
[
85,
54,
0,
56,
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