Files
ltdrdata-ComfyUI-Impact-Pack/misc/2pass-refine-old.json
T
ltdrdata 4c393c3537 Change structure of custom node.
* single file -> git clone

Add FaceDetailer, FaceDetailerPipe node.
2023-04-30 15:57:04 +09:00

940 lines
15 KiB
JSON

{
"last_node_id": 77,
"last_link_id": 177,
"nodes": [
{
"id": 67,
"type": "BboxDetectorForEach",
"pos": [
738.6226098144523,
108.70101345825232
],
"size": {
"0": 290.3233947753906,
"1": 126.13687896728516
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "bbox_model",
"type": "BBOX_MODEL",
"link": 176
},
{
"name": "image",
"type": "IMAGE",
"link": 140
}
],
"outputs": [
{
"name": "SEGS",
"type": "SEGS",
"links": [
152
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BboxDetectorForEach"
},
"widgets_values": [
0.5,
10,
4
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 76,
"type": "Reroute",
"pos": [
961.6226098144517,
1.701013458251873
],
"size": [
124,
26
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 174,
"pos": [
62,
0
]
}
],
"outputs": [
{
"name": "BBOX_MODEL",
"type": "BBOX_MODEL",
"links": [
175,
176
],
"slot_index": 0
}
],
"properties": {
"showOutputText": true,
"horizontal": true
}
},
{
"id": 44,
"type": "EmptyLatentImage",
"pos": [
401.62260981445274,
110.70101345825232
],
"size": {
"0": 297.0506896972656,
"1": 124.40960693359375
},
"flags": {
"collapsed": false
},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
73
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "EmptyLatentImage"
},
"widgets_values": [
256,
320,
1
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 40,
"type": "VAEDecode",
"pos": [
608.6226098144529,
30.701013458251865
],
"size": {
"0": 311,
"1": 46
},
"flags": {
"collapsed": true
},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 74
},
{
"name": "vae",
"type": "VAE",
"link": 137
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
110,
140,
155
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 30,
"type": "CheckpointLoader",
"pos": [
50.62260981445271,
109.70101345825233
],
"size": {
"0": 289.5052795410156,
"1": 122
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
72,
153,
168
],
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
49,
62
],
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
137,
156,
167
],
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoader"
},
"widgets_values": [
"anything_v3.yaml",
"V07_v07.safetensors"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 71,
"type": "SaveImage",
"pos": [
735.4799597167967,
759.880029144287
],
"size": {
"0": 302.5051574707031,
"1": 388.0459289550781
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 161
}
],
"title": "Refined Image",
"properties": {},
"widgets_values": [
"refined"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 70,
"type": "DetailerForEach",
"pos": [
733.6226098144523,
289.70101345825253
],
"size": {
"0": 297.7779235839844,
"1": 418
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 155
},
{
"name": "segs",
"type": "SEGS",
"link": 152
},
{
"name": "model",
"type": "MODEL",
"link": 153
},
{
"name": "vae",
"type": "VAE",
"link": 156
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 158
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 160
},
{
"name": "external_seed",
"type": "SEED",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
161,
172,
173
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DetailerForEach"
},
"widgets_values": [
256,
"bbox",
650434405941391,
"randomize",
20,
8,
"euler",
"karras",
0.6,
5,
"enabled"
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 75,
"type": "SaveImage",
"pos": [
1069.4799597167953,
759.880029144287
],
"size": {
"0": 287.59619140625,
"1": 388.227783203125
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 171
}
],
"title": "2nd Refined Image",
"properties": {},
"widgets_values": [
"refined"
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 41,
"type": "PreviewImage",
"pos": [
404.47995971679666,
766.880029144287
],
"size": {
"0": 300.68701171875,
"1": 383.2276916503906
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 110
}
],
"title": "Prompt Image",
"properties": {
"Node name for S&R": "PreviewImage"
},
"color": "#322",
"bgcolor": "#533"
},
{
"id": 37,
"type": "CLIPTextEncode",
"pos": [
45.47995971679696,
528.880029144287
],
"size": {
"0": 296.4716796875,
"1": 176.8111572265625
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 62
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
71,
158,
160,
165
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"low quality, worst quality, bad anatomy"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 31,
"type": "CLIPTextEncode",
"pos": [
48.47995971679696,
294.8800291442872
],
"size": {
"0": 290.4716796875,
"1": 180.8111572265625
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 49
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
70,
166
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"1girl, photorealistic:1.4, masterpiece, jump, full shot, jacket, jean shorts, perfect anatomy, street city background, detailed eyes, smile"
],
"color": "#233",
"bgcolor": "#355"
},
{
"id": 42,
"type": "KSampler",
"pos": [
402.47995971679666,
291.8800291442872
],
"size": {
"0": 300.4716796875,
"1": 416.8111572265625
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 72
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 70
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 71
},
{
"name": "latent_image",
"type": "LATENT",
"link": 73
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
74
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
805157917915454,
false,
20,
8,
"euler",
"karras",
1
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 73,
"type": "BboxDetectorForEach",
"pos": [
1067.4799597167953,
107.88002914428695
],
"size": {
"0": 284.8689270019531,
"1": 126
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "bbox_model",
"type": "BBOX_MODEL",
"link": 175
},
{
"name": "image",
"type": "IMAGE",
"link": 172
}
],
"outputs": [
{
"name": "SEGS",
"type": "SEGS",
"links": [
164
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "BboxDetectorForEach"
},
"widgets_values": [
0.5,
10,
4
],
"color": "#223",
"bgcolor": "#335"
},
{
"id": 45,
"type": "MMDetLoader",
"pos": [
1412.1400225830075,
115.2000213623046
],
"size": {
"0": 348.3031005859375,
"1": 99.29615783691406
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "BBOX_MODEL",
"type": "BBOX_MODEL",
"links": [
174
],
"slot_index": 0
},
{
"name": "SEGM_MODEL",
"type": "SEGM_MODEL",
"links": null
}
],
"properties": {
"Node name for S&R": "MMDetLoader"
},
"widgets_values": [
"bbox/mmdet_anime-face_yolov3.pth"
],
"color": "#222",
"bgcolor": "#000"
},
{
"id": 74,
"type": "DetailerForEach",
"pos": [
1068,
288
],
"size": [
285.10000305175777,
420.4000015258789
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 173
},
{
"name": "segs",
"type": "SEGS",
"link": 164
},
{
"name": "model",
"type": "MODEL",
"link": 168
},
{
"name": "vae",
"type": "VAE",
"link": 167
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 166
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 165
},
{
"name": "external_seed",
"type": "SEED",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
171
],
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "DetailerForEach"
},
"widgets_values": [
256,
"bbox",
621928064748632,
"randomize",
20,
8,
"euler",
"karras",
0.6,
5,
"enabled"
],
"color": "#223",
"bgcolor": "#335"
}
],
"links": [
[
49,
30,
1,
31,
0,
"CLIP"
],
[
62,
30,
1,
37,
0,
"CLIP"
],
[
70,
31,
0,
42,
1,
"CONDITIONING"
],
[
71,
37,
0,
42,
2,
"CONDITIONING"
],
[
72,
30,
0,
42,
0,
"MODEL"
],
[
73,
44,
0,
42,
3,
"LATENT"
],
[
74,
42,
0,
40,
0,
"LATENT"
],
[
110,
40,
0,
41,
0,
"IMAGE"
],
[
137,
30,
2,
40,
1,
"VAE"
],
[
140,
40,
0,
67,
1,
"IMAGE"
],
[
152,
67,
0,
70,
1,
"SEGS"
],
[
153,
30,
0,
70,
2,
"MODEL"
],
[
155,
40,
0,
70,
0,
"IMAGE"
],
[
156,
30,
2,
70,
3,
"VAE"
],
[
158,
37,
0,
70,
4,
"CONDITIONING"
],
[
160,
37,
0,
70,
5,
"CONDITIONING"
],
[
161,
70,
0,
71,
0,
"IMAGE"
],
[
164,
73,
0,
74,
1,
"SEGS"
],
[
165,
37,
0,
74,
5,
"CONDITIONING"
],
[
166,
31,
0,
74,
4,
"CONDITIONING"
],
[
167,
30,
2,
74,
3,
"VAE"
],
[
168,
30,
0,
74,
2,
"MODEL"
],
[
171,
74,
0,
75,
0,
"IMAGE"
],
[
172,
70,
0,
73,
1,
"IMAGE"
],
[
173,
70,
0,
74,
0,
"IMAGE"
],
[
174,
45,
0,
76,
0,
"*"
],
[
175,
76,
0,
73,
0,
"BBOX_MODEL"
],
[
176,
76,
0,
67,
0,
"BBOX_MODEL"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}