Files

1587 lines
30 KiB
JSON

{
"last_node_id": 95,
"last_link_id": 174,
"nodes": [
{
"id": 34,
"type": "CheckpointLoaderSimple",
"pos": [
-682,
640
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
38
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
40,
58,
59
],
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": [
41
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"epic-realism.safetensors"
]
},
{
"id": 35,
"type": "FreeU_V2",
"pos": [
-326,
643
],
"size": {
"0": 210,
"1": 130
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 38
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
39
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "FreeU_V2"
},
"widgets_values": [
1.3,
1.4,
0.9,
0.2
]
},
{
"id": 42,
"type": "VAEDecode",
"pos": [
1390,
610
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 51
},
{
"name": "vae",
"type": "VAE",
"link": 53,
"slot_index": 1
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
52
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 39,
"type": "FromBasicPipe_v2",
"pos": [
300,
640
],
"size": {
"0": 178,
"1": 126
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"link": 44
}
],
"outputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "model",
"type": "MODEL",
"links": [
45,
46,
57
],
"shape": 3,
"slot_index": 1
},
{
"name": "clip",
"type": "CLIP",
"links": null,
"shape": 3
},
{
"name": "vae",
"type": "VAE",
"links": [
53,
56
],
"shape": 3
},
{
"name": "positive",
"type": "CONDITIONING",
"links": [
48
],
"shape": 3
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
49
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "FromBasicPipe_v2"
}
},
{
"id": 44,
"type": "VAEEncode",
"pos": [
510,
500
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 54
},
{
"name": "vae",
"type": "VAE",
"link": 56,
"slot_index": 1
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
55
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 36,
"type": "ToBasicPipe",
"pos": [
-53,
642
],
"size": {
"0": 241.79998779296875,
"1": 106
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 39
},
{
"name": "clip",
"type": "CLIP",
"link": 40,
"slot_index": 1
},
{
"name": "vae",
"type": "VAE",
"link": 41,
"slot_index": 2
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 91,
"slot_index": 3
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 43,
"slot_index": 4
}
],
"outputs": [
{
"name": "basic_pipe",
"type": "BASIC_PIPE",
"links": [
44
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ToBasicPipe"
}
},
{
"id": 41,
"type": "IterativeMixingScheduler",
"pos": [
590,
1000
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 57,
"slot_index": 0
}
],
"outputs": [
{
"name": "SIGMAS",
"type": "SIGMAS",
"links": [
50
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "IterativeMixingScheduler"
},
"widgets_values": [
"normal",
40,
1
]
},
{
"id": 38,
"type": "CLIPTextEncode",
"pos": [
-700,
1080
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 59,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
43
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"nude, nsfw"
]
},
{
"id": 40,
"type": "SamplerCustom",
"pos": [
940,
590
],
"size": {
"0": 355.20001220703125,
"1": 442
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 46,
"slot_index": 0
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 48,
"slot_index": 1
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 49,
"slot_index": 2
},
{
"name": "sampler",
"type": "SAMPLER",
"link": 47
},
{
"name": "sigmas",
"type": "SIGMAS",
"link": 50,
"slot_index": 4
},
{
"name": "latent_image",
"type": "LATENT",
"link": 55,
"slot_index": 5
}
],
"outputs": [
{
"name": "output",
"type": "LATENT",
"links": [
51
],
"shape": 3,
"slot_index": 0
},
{
"name": "denoised_output",
"type": "LATENT",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "SamplerCustom"
},
"widgets_values": [
false,
23423,
"fixed",
8
]
},
{
"id": 33,
"type": "IterativeMixingSampler",
"pos": [
580,
590
],
"size": {
"0": 315,
"1": 366
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 45,
"slot_index": 0
},
{
"name": "mixing_masks",
"type": "MASK",
"link": null
}
],
"outputs": [
{
"name": "SAMPLER",
"type": "SAMPLER",
"links": [
47
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "IterativeMixingSampler"
},
"widgets_values": [
"euler",
2.4,
"cosine",
"addition",
false,
0,
1,
1,
0,
1,
"masks",
0.75,
10
]
},
{
"id": 37,
"type": "CLIPTextEncode",
"pos": [
-700,
830
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 58,
"slot_index": 0
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
91
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncode"
},
"widgets_values": [
"(chimpanzees:1.2)"
]
},
{
"id": 10,
"type": "LoadImage",
"pos": [
68,
67
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
54,
173
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"title": "Load an image of some people",
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (58).png",
"image"
]
},
{
"id": 43,
"type": "PreviewImage",
"pos": [
1726,
323
],
"size": [
442.5476076044124,
328.61757807256265
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 52
}
],
"title": "Overpainted with Iterative Mixing",
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 95,
"type": "PreviewImage",
"pos": [
1728,
692
],
"size": [
437.4660683688344,
324.18710472978887
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 173
}
],
"title": "Original",
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
38,
34,
0,
35,
0,
"MODEL"
],
[
39,
35,
0,
36,
0,
"MODEL"
],
[
40,
34,
1,
36,
1,
"CLIP"
],
[
41,
34,
2,
36,
2,
"VAE"
],
[
43,
38,
0,
36,
4,
"CONDITIONING"
],
[
44,
36,
0,
39,
0,
"BASIC_PIPE"
],
[
45,
39,
1,
33,
0,
"MODEL"
],
[
46,
39,
1,
40,
0,
"MODEL"
],
[
47,
33,
0,
40,
3,
"SAMPLER"
],
[
48,
39,
4,
40,
1,
"CONDITIONING"
],
[
49,
39,
5,
40,
2,
"CONDITIONING"
],
[
50,
41,
0,
40,
4,
"SIGMAS"
],
[
51,
40,
0,
42,
0,
"LATENT"
],
[
52,
42,
0,
43,
0,
"IMAGE"
],
[
53,
39,
3,
42,
1,
"VAE"
],
[
54,
10,
0,
44,
0,
"IMAGE"
],
[
55,
44,
0,
40,
5,
"LATENT"
],
[
56,
39,
3,
44,
1,
"VAE"
],
[
57,
39,
1,
41,
0,
"MODEL"
],
[
58,
34,
1,
37,
0,
"CLIP"
],
[
59,
34,
1,
38,
0,
"CLIP"
],
[
91,
37,
0,
36,
3,
"CONDITIONING"
],
[
173,
10,
0,
95,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"groupNodes": {
"Segment Anything": {
"nodes": [
{
"type": "GroundingDinoModelLoader (segment anything)",
"pos": [
550,
290
],
"size": {
"0": 315,
"1": 58
},
"flags": {
"collapsed": false
},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "GROUNDING_DINO_MODEL",
"type": "GROUNDING_DINO_MODEL",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "GroundingDinoModelLoader (segment anything)"
},
"widgets_values": [
"GroundingDINO_SwinT_OGC (694MB)"
],
"index": 0
},
{
"type": "SAMModelLoader (segment anything)",
"pos": [
550,
190
],
"size": {
"0": 315,
"1": 58
},
"flags": {
"collapsed": false
},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "SAM_MODEL",
"type": "SAM_MODEL",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "SAMModelLoader (segment anything)"
},
"widgets_values": [
"sam_vit_h (2.56GB)"
],
"index": 1
},
{
"type": "GroundingDinoSAMSegment (segment anything)",
"pos": [
1000,
190
],
"size": {
"0": 330,
"1": 122
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "sam_model",
"type": "SAM_MODEL",
"link": null,
"slot_index": 0
},
{
"name": "grounding_dino_model",
"type": "GROUNDING_DINO_MODEL",
"link": null,
"slot_index": 1
},
{
"name": "image",
"type": "IMAGE",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "GroundingDinoSAMSegment (segment anything)"
},
"widgets_values": [
"",
0.3
],
"index": 2
}
],
"links": [
[
1,
0,
2,
0,
13,
"SAM_MODEL"
],
[
0,
0,
2,
1,
11,
"GROUNDING_DINO_MODEL"
]
],
"external": []
},
"Cut Subject": {
"nodes": [
{
"type": "Mask By Text",
"pos": [
500,
80
],
"size": {
"0": 228.1490020751953,
"1": 194
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Mask By Text"
},
"widgets_values": [
"woman",
"face",
0.5,
"yes"
],
"index": 0
},
{
"type": "Blur",
"pos": [
510,
320
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Blur"
},
"widgets_values": [
20,
2
],
"index": 1
},
{
"type": "Cut By Mask",
"pos": [
800,
80
],
"size": {
"0": 342.5999755859375,
"1": 122
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
},
{
"name": "mask",
"type": "IMAGE",
"link": null,
"slot_index": 1
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
],
"index": 2
}
],
"links": [
[
null,
0,
0,
0,
10,
"IMAGE"
],
[
0,
0,
1,
0,
18,
"IMAGE"
],
[
null,
0,
2,
0,
10,
"IMAGE"
],
[
0,
0,
2,
1,
18,
"IMAGE"
]
],
"external": [
[
2,
0,
"IMAGE"
]
]
},
"Face Paster": {
"nodes": [
{
"type": "Image Crop Face",
"pos": [
1660,
410
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "CROP_DATA",
"type": "CROP_DATA",
"links": [],
"shape": 3
}
],
"properties": {
"Node name for S&R": "Image Crop Face"
},
"widgets_values": [
0.25,
"haarcascade_frontalface_alt.xml"
],
"index": 0
},
{
"type": "Image Paste Face",
"pos": [
2120,
360
],
"size": {
"0": 315,
"1": 122
},
"flags": {},
"order": 20,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null
},
{
"name": "crop_image",
"type": "IMAGE",
"link": null,
"slot_index": 1
},
{
"name": "crop_data",
"type": "CROP_DATA",
"link": null,
"slot_index": 2
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK_IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Image Paste Face"
},
"widgets_values": [
0.25,
0
],
"index": 1
}
],
"links": [
[
null,
0,
0,
0,
48,
"IMAGE"
],
[
null,
0,
1,
0,
42,
"IMAGE"
],
[
0,
0,
1,
1,
51,
"IMAGE"
],
[
0,
1,
1,
2,
51,
"CROP_DATA"
]
],
"external": [
[
1,
0,
"IMAGE"
]
]
},
"Paster": {
"nodes": [
{
"type": "Mask By Text",
"pos": [
1690,
850
],
"size": {
"0": 228.1490020751953,
"1": 194
},
"flags": {},
"order": 19,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Mask By Text"
},
"widgets_values": [
"woman",
"face",
0.5,
"yes"
],
"index": 0
},
{
"type": "Blur",
"pos": [
1700,
1090
],
"size": {
"0": 210,
"1": 82
},
"flags": {},
"order": 21,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Blur"
},
"widgets_values": [
20,
2
],
"index": 1
},
{
"type": "Cut By Mask",
"pos": [
1990,
850
],
"size": {
"0": 342.5999755859375,
"1": 122
},
"flags": {},
"order": 22,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": null,
"slot_index": 0
},
{
"name": "mask",
"type": "IMAGE",
"link": null,
"slot_index": 1
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Cut By Mask"
},
"widgets_values": [
0,
0
],
"index": 2
},
{
"type": "Paste By Mask",
"pos": [
2120,
600
],
"size": {
"0": 342.5999755859375,
"1": 118
},
"flags": {},
"order": 23,
"mode": 0,
"inputs": [
{
"name": "image_base",
"type": "IMAGE",
"link": null
},
{
"name": "image_to_paste",
"type": "IMAGE",
"link": null,
"slot_index": 1
},
{
"name": "mask",
"type": "IMAGE",
"link": null
},
{
"name": "mask_mapping_optional",
"type": "MASK_MAPPING",
"link": null
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Paste By Mask"
},
"widgets_values": [
"source_size"
],
"index": 3
}
],
"links": [
[
null,
0,
0,
0,
42,
"IMAGE"
],
[
0,
0,
1,
0,
62,
"IMAGE"
],
[
null,
0,
2,
0,
42,
"IMAGE"
],
[
0,
0,
2,
1,
62,
"IMAGE"
],
[
null,
0,
3,
0,
48,
"IMAGE"
],
[
2,
0,
3,
1,
64,
"IMAGE"
],
[
1,
0,
3,
2,
63,
"IMAGE"
]
],
"external": [
[
3,
0,
"IMAGE"
]
]
}
}
},
"version": 0.4
}