Skip to content

Instantly share code, notes, and snippets.

@4rmx
Created September 30, 2023 14:54
Show Gist options
  • Save 4rmx/5c6eb8a92025a9eed17463d8e9a41603 to your computer and use it in GitHub Desktop.
Save 4rmx/5c6eb8a92025a9eed17463d8e9a41603 to your computer and use it in GitHub Desktop.
{
"last_node_id": 40,
"last_link_id": 61,
"nodes": [
{
"id": 26,
"type": "Reroute",
"pos": [
-520,
-60
],
"size": [
75,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 37
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
38
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 28,
"type": "VAEDecode",
"pos": [
870,
30
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 15,
"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": 30,
"type": "Reroute",
"pos": [
740,
-60
],
"size": [
75,
26
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 43
}
],
"outputs": [
{
"name": "",
"type": "VAE",
"links": [
44
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 16,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
30
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 60
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
31
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
},
"widgets_values": [
"",
"mean",
"A1111"
]
},
{
"id": 17,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
280
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 61
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
32
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BNK_CLIPTextEncodeAdvanced"
},
"widgets_values": [
"",
"mean",
"A1111"
]
},
{
"id": 25,
"type": "VAEEncode",
"pos": [
-390,
90
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 36
},
{
"name": "vae",
"type": "VAE",
"link": 38
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
39
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
0,
-110
],
"size": {
"0": 400,
"1": 100
},
"flags": {},
"order": 0,
"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": [
37,
43
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaper_8.safetensors"
]
},
{
"id": 33,
"type": "Reroute",
"pos": [
-520,
-120
],
"size": [
75,
26
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 47
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
48
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 23,
"type": "ImageScale",
"pos": [
-870,
90
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 34
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
512,
768,
"disabled"
]
},
{
"id": 34,
"type": "CLIPVisionLoader",
"pos": [
-870,
-20
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 2,
"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": 35,
"type": "Reroute",
"pos": [
-120,
-200
],
"size": [
75,
26
],
"flags": {},
"order": 12,
"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": 13,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 52
}
],
"outputs": [
{
"name": "",
"type": "MODEL",
"links": [
53
],
"slot_index": 0
}
],
"properties": {
"showOutputText": false,
"horizontal": false
}
},
{
"id": 32,
"type": "IPAdapter",
"pos": [
-480,
250
],
"size": {
"0": 380.4000244140625,
"1": 166
},
"flags": {},
"order": 8,
"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": null
}
],
"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,
"ip-adapter_sd15.bin",
"fp16"
]
},
{
"id": 31,
"type": "PreviewImage",
"pos": [
870,
130
],
"size": {
"0": 210,
"1": 250
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 19,
"type": "KSampler //Inspire",
"pos": [
500,
30
],
"size": {
"0": 315,
"1": 286
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 53
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 31
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 32
},
{
"name": "latent_image",
"type": "LATENT",
"link": 39,
"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": [
1006927512168489,
"fixed",
20,
7,
"dpmpp_sde",
"karras",
1,
"GPU(=A1111)"
]
},
{
"id": 15,
"type": "CLIPSetLastLayer",
"pos": [
-390,
-70
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 4,
"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": 21,
"type": "LoadImage",
"pos": [
-870,
260
],
"size": [
220,
310
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
34,
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"
],
[
31,
16,
0,
19,
1,
"CONDITIONING"
],
[
32,
17,
0,
19,
2,
"CONDITIONING"
],
[
34,
21,
0,
23,
0,
"IMAGE"
],
[
36,
23,
0,
25,
0,
"IMAGE"
],
[
37,
3,
2,
26,
0,
"*"
],
[
38,
26,
0,
25,
1,
"VAE"
],
[
39,
25,
0,
19,
3,
"LATENT"
],
[
41,
19,
0,
28,
0,
"LATENT"
],
[
43,
3,
2,
30,
0,
"*"
],
[
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"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment