Skip to content

Instantly share code, notes, and snippets.

@4rmx
Created September 30, 2023 15:09
Show Gist options
  • Save 4rmx/c63152e21efb25d1f776ea5bb03b67f2 to your computer and use it in GitHub Desktop.
Save 4rmx/c63152e21efb25d1f776ea5bb03b67f2 to your computer and use it in GitHub Desktop.
{
"last_node_id": 50,
"last_link_id": 78,
"nodes": [
{
"id": 28,
"type": "VAEDecode",
"pos": [
870,
30
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 13,
"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": 33,
"type": "Reroute",
"pos": [
-520,
-120
],
"size": [
75,
26
],
"flags": {},
"order": 4,
"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": 10,
"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": 11,
"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": 5,
"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": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 45
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 34,
"type": "CLIPVisionLoader",
"pos": [
-840,
220
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"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": 49,
"type": "EmptyLatentImage",
"pos": [
80,
540
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
768,
1
]
},
{
"id": 16,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
30
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 8,
"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 a cowboy hat on the beach",
"mean",
"A1111"
]
},
{
"id": 17,
"type": "BNK_CLIPTextEncodeAdvanced",
"pos": [
0,
280
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 9,
"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": 32,
"type": "IPAdapter",
"pos": [
-410,
60
],
"size": {
"0": 270,
"1": 170
},
"flags": {},
"order": 7,
"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": [
0.7000000000000001,
"ip-adapter_sd15.bin",
"fp16"
]
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
0,
-110
],
"size": {
"0": 400,
"1": 100
},
"flags": {},
"order": 3,
"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": [
43
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"dreamshaper_8.safetensors"
]
},
{
"id": 19,
"type": "KSampler //Inspire",
"pos": [
500,
30
],
"size": {
"0": 315,
"1": 286
},
"flags": {},
"order": 12,
"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": [
895443417652851,
"randomize",
20,
7,
"dpmpp_2m_sde_gpu",
"karras",
1,
"GPU(=A1111)"
]
},
{
"id": 21,
"type": "LoadImage",
"pos": [
-810,
-150
],
"size": [
220,
310
],
"flags": {},
"order": 1,
"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"
],
[
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"
],
[
74,
49,
0,
19,
3,
"LATENT"
],
[
77,
16,
0,
19,
1,
"CONDITIONING"
],
[
78,
17,
0,
19,
2,
"CONDITIONING"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment