Skip to content

Instantly share code, notes, and snippets.

@Lerc
Created September 8, 2023 08:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lerc/acde317d2e8561a8211dd1249843f035 to your computer and use it in GitHub Desktop.
Save Lerc/acde317d2e8561a8211dd1249843f035 to your computer and use it in GitHub Desktop.
{
"last_node_id": 55,
"last_link_id": 110,
"nodes": [
{
"id": 38,
"type": "ControlNetApplyAdvanced",
"pos": [
226,
-442
],
"size": {
"0": 315,
"1": 166
},
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 78
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 79
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 77
},
{
"name": "image",
"type": "IMAGE",
"link": 74
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
81
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
82
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 44,
"type": "EmptyLatentImage",
"pos": [
213,
-601
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
83
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
512,
512,
1
]
},
{
"id": 47,
"type": "PreviewImage",
"pos": [
1526,
-625
],
"size": {
"0": 290,
"1": 310
},
"flags": {
"collapsed": false
},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 86
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#233",
"bgcolor": "#355"
},
{
"id": 45,
"type": "VAEDecode",
"pos": [
1096,
-635
],
"size": {
"0": 320,
"1": 50
},
"flags": {
"pinned": false,
"collapsed": false
},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 84
},
{
"name": "vae",
"type": "VAE",
"link": 87
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
86,
92
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 9,
"type": "ControlNetLoader",
"pos": [
262,
415
],
"size": {
"0": 330,
"1": 60
},
"flags": {
"pinned": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"control-lora-canny-rank256.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 31,
"type": "EmptyLatentImage",
"pos": [
382,
846
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
60
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
1024,
1024,
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 7,
"type": "LoadImage",
"pos": [
-717,
834
],
"size": {
"0": 250,
"1": 320
},
"flags": {
"pinned": false
},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"00028-397623118.png",
"image"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 8,
"type": "SaveImage",
"pos": [
1662,
-12
],
"size": {
"0": 670,
"1": 720
},
"flags": {
"pinned": false
},
"order": 25,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 65
}
],
"properties": {},
"widgets_values": [
"comfyui-clora-sketch"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 5,
"type": "CLIPTextEncode",
"pos": [
101,
632
],
"size": {
"0": 400,
"1": 130
},
"flags": {
"pinned": false
},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 6
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
11
],
"slot_index": 0
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"black and white, shadows, background, sketch, drawing, backlit"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 4,
"type": "CLIPTextEncode",
"pos": [
9,
118
],
"size": {
"0": 400,
"1": 150
},
"flags": {
"pinned": false
},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 5
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
10
],
"slot_index": 0
}
],
"title": "Positive Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"A scifi spaceship on a solid blue background. High quality, realistic, cinematic"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 6,
"type": "VAEDecode",
"pos": [
1294,
142
],
"size": {
"0": 320,
"1": 50
},
"flags": {
"pinned": false,
"collapsed": true
},
"order": 24,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 103
},
{
"name": "vae",
"type": "VAE",
"link": 102
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
65,
93
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 54,
"type": "VAELoader",
"pos": [
1130,
126
],
"size": {
"0": 315,
"1": 58
},
"flags": {
"collapsed": true
},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "VAE",
"type": "VAE",
"links": [
102
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAELoader"
},
"widgets_values": [
"sdxl_vae.safetensors"
]
},
{
"id": 36,
"type": "Send_To_Editor",
"pos": [
1466,
188
],
"size": {
"0": 210,
"1": 26
},
"flags": {
"collapsed": true
},
"order": 26,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 93
}
],
"properties": {
"Node name for S&R": "Send_To_Editor"
}
},
{
"id": 43,
"type": "KSampler",
"pos": [
651,
-816
],
"size": {
"0": 290,
"1": 320
},
"flags": {
"pinned": false
},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 105
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 81
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 82
},
{
"name": "latent_image",
"type": "LATENT",
"link": 83
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
84
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
579006431467006,
"randomize",
7,
8,
"dpmpp_2s_ancestral",
"normal",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 40,
"type": "CLIPTextEncode",
"pos": [
-683,
-415
],
"size": {
"0": 400,
"1": 150
},
"flags": {
"pinned": false
},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 109
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
78
],
"slot_index": 0
}
],
"title": "Positive Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"flat illustration of a Spaceship, on a plain background"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 42,
"type": "CLIPTextEncode",
"pos": [
-675,
-206
],
"size": {
"0": 400,
"1": 130
},
"flags": {
"pinned": false
},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 110
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
79
],
"slot_index": 0
}
],
"title": "Negative Prompt",
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"black and white, shadows, clouds, background"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 37,
"type": "CheckpointLoaderSimple",
"pos": [
-1180,
-719
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 5,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
104
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
108
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
87
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"3dAnimationDiffusion_v10.safetensors"
]
},
{
"id": 55,
"type": "LoraLoader",
"pos": [
-1053,
-453
],
"size": {
"0": 315,
"1": 126
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 104
},
{
"name": "clip",
"type": "CLIP",
"link": 108
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
105
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
109,
110
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoraLoader"
},
"widgets_values": [
"2DspriteV2.safetensors",
1,
1
]
},
{
"id": 21,
"type": "ImageScaleToTotalPixels",
"pos": [
-614,
2
],
"size": {
"0": 315,
"1": 82
},
"flags": {
"collapsed": true
},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 72
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
70
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"nearest-exact",
1
],
"color": "#2a363b",
"bgcolor": "#3f5159"
},
{
"id": 22,
"type": "PreviewImage",
"pos": [
872,
-206
],
"size": {
"0": 290,
"1": 310
},
"flags": {
"collapsed": false
},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 91
}
],
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#233",
"bgcolor": "#355"
},
{
"id": 1,
"type": "KSampler",
"pos": [
750,
530
],
"size": {
"0": 290,
"1": 320
},
"flags": {
"pinned": false
},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 54
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 2
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 3
},
{
"name": "latent_image",
"type": "LATENT",
"link": 60
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
103
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
856620086600063,
"randomize",
8,
8,
"dpmpp_2s_ancestral",
"normal",
1
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 2,
"type": "CheckpointLoaderSimple",
"pos": [
-330,
550
],
"size": {
"0": 330,
"1": 100
},
"flags": {
"pinned": false
},
"order": 6,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
54
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
5,
6
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"sd_xl_base_1.0.safetensors"
],
"color": "#432",
"bgcolor": "#653"
},
{
"id": 35,
"type": "Canvas_Tab",
"pos": [
-925,
-68
],
"size": {
"0": 210,
"1": 342
},
"flags": {},
"order": 7,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
72
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Canvas_Tab"
},
"widgets_values": [
"bingo",
"",
""
]
},
{
"id": 25,
"type": "ScribblePreprocessor",
"pos": [
-31,
-25
],
"size": {
"0": 210,
"1": 26
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 70
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
74
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ScribblePreprocessor"
},
"color": "#223",
"bgcolor": "#335"
},
{
"id": 39,
"type": "ControlNetLoader",
"pos": [
-244,
-144
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 8,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
77
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"controlnetT2IAdapter_t2iAdapterSketch.safetensors"
]
},
{
"id": 49,
"type": "Canny",
"pos": [
401,
-105
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 92
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
90,
91
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Canny"
},
"widgets_values": [
0.12999999999999987,
0.8
]
},
{
"id": 10,
"type": "ControlNetApplyAdvanced",
"pos": [
719,
249
],
"size": {
"0": 320,
"1": 170
},
"flags": {
"pinned": false
},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 10
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 11
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 12
},
{
"name": "image",
"type": "IMAGE",
"link": 90
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
2
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
3
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplyAdvanced"
},
"widgets_values": [
0.9499999999999995,
0,
1
],
"color": "#223",
"bgcolor": "#335"
}
],
"links": [
[
2,
10,
0,
1,
1,
"CONDITIONING"
],
[
3,
10,
1,
1,
2,
"CONDITIONING"
],
[
5,
2,
1,
4,
0,
"CLIP"
],
[
6,
2,
1,
5,
0,
"CLIP"
],
[
10,
4,
0,
10,
0,
"CONDITIONING"
],
[
11,
5,
0,
10,
1,
"CONDITIONING"
],
[
12,
9,
0,
10,
2,
"CONTROL_NET"
],
[
54,
2,
0,
1,
0,
"MODEL"
],
[
60,
31,
0,
1,
3,
"LATENT"
],
[
65,
6,
0,
8,
0,
"IMAGE"
],
[
70,
21,
0,
25,
0,
"IMAGE"
],
[
72,
35,
0,
21,
0,
"IMAGE"
],
[
74,
25,
0,
38,
3,
"IMAGE"
],
[
77,
39,
0,
38,
2,
"CONTROL_NET"
],
[
78,
40,
0,
38,
0,
"CONDITIONING"
],
[
79,
42,
0,
38,
1,
"CONDITIONING"
],
[
81,
38,
0,
43,
1,
"CONDITIONING"
],
[
82,
38,
1,
43,
2,
"CONDITIONING"
],
[
83,
44,
0,
43,
3,
"LATENT"
],
[
84,
43,
0,
45,
0,
"LATENT"
],
[
86,
45,
0,
47,
0,
"IMAGE"
],
[
87,
37,
2,
45,
1,
"VAE"
],
[
90,
49,
0,
10,
3,
"IMAGE"
],
[
91,
49,
0,
22,
0,
"IMAGE"
],
[
92,
45,
0,
49,
0,
"IMAGE"
],
[
93,
6,
0,
36,
0,
"IMAGE"
],
[
102,
54,
0,
6,
1,
"VAE"
],
[
103,
1,
0,
6,
0,
"LATENT"
],
[
104,
37,
0,
55,
0,
"MODEL"
],
[
105,
55,
0,
43,
0,
"MODEL"
],
[
108,
37,
1,
55,
1,
"CLIP"
],
[
109,
55,
1,
40,
0,
"CLIP"
],
[
110,
55,
1,
42,
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