1005 lines
18 KiB
JSON
1005 lines
18 KiB
JSON
{
|
|
"last_node_id": 137,
|
|
"last_link_id": 213,
|
|
"nodes": [
|
|
{
|
|
"id": 1,
|
|
"type": "CheckpointLoaderSimple",
|
|
"pos": [
|
|
-74,
|
|
-3
|
|
],
|
|
"size": [
|
|
315,
|
|
98
|
|
],
|
|
"flags": {},
|
|
"order": 0,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "MODEL",
|
|
"type": "MODEL",
|
|
"links": [
|
|
83
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "MODEL"
|
|
},
|
|
{
|
|
"name": "CLIP",
|
|
"type": "CLIP",
|
|
"links": [
|
|
43,
|
|
45,
|
|
47
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3,
|
|
"label": "CLIP"
|
|
},
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": null,
|
|
"shape": 3,
|
|
"label": "VAE"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CheckpointLoaderSimple"
|
|
},
|
|
"widgets_values": [
|
|
"SDXL/dreamshaperXL_v21TurboDPMSDE.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "VAELoader",
|
|
"pos": [
|
|
-82,
|
|
153
|
|
],
|
|
"size": [
|
|
315,
|
|
58
|
|
],
|
|
"flags": {},
|
|
"order": 1,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "VAE",
|
|
"type": "VAE",
|
|
"links": [
|
|
44
|
|
],
|
|
"shape": 3,
|
|
"label": "VAE"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VAELoader"
|
|
},
|
|
"widgets_values": [
|
|
"sdxl_vae.safetensors"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "LoadImage",
|
|
"pos": [
|
|
-203,
|
|
272
|
|
],
|
|
"size": [
|
|
304.088134765625,
|
|
409.95361328125
|
|
],
|
|
"flags": {},
|
|
"order": 2,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "IMAGE",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
194,
|
|
195,
|
|
196,
|
|
212
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "IMAGE"
|
|
},
|
|
{
|
|
"name": "MASK",
|
|
"type": "MASK",
|
|
"links": null,
|
|
"shape": 3,
|
|
"label": "MASK"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "LoadImage"
|
|
},
|
|
"widgets_values": [
|
|
"ComfyUI_temp_cfjvy_00005_.png",
|
|
"image"
|
|
]
|
|
},
|
|
{
|
|
"id": 48,
|
|
"type": "ToBasicPipe",
|
|
"pos": [
|
|
576,
|
|
23
|
|
],
|
|
"size": [
|
|
198.71665954589844,
|
|
106
|
|
],
|
|
"flags": {},
|
|
"order": 9,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "model",
|
|
"type": "MODEL",
|
|
"link": 83,
|
|
"slot_index": 0,
|
|
"label": "model"
|
|
},
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 43,
|
|
"slot_index": 1,
|
|
"label": "clip"
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": 44,
|
|
"slot_index": 2,
|
|
"label": "vae"
|
|
},
|
|
{
|
|
"name": "positive",
|
|
"type": "CONDITIONING",
|
|
"link": 46,
|
|
"label": "positive"
|
|
},
|
|
{
|
|
"name": "negative",
|
|
"type": "CONDITIONING",
|
|
"link": 48,
|
|
"label": "negative"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "basic_pipe",
|
|
"type": "BASIC_PIPE",
|
|
"links": [
|
|
69
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "basic_pipe"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ToBasicPipe"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 49,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
335,
|
|
18
|
|
],
|
|
"size": [
|
|
219.84222412109375,
|
|
200.23219299316406
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 5,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 45,
|
|
"label": "clip"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
46
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "CONDITIONING"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"green hair color\n,high detail,shiny,high quality, uhd, 4k"
|
|
]
|
|
},
|
|
{
|
|
"id": 50,
|
|
"type": "CLIPTextEncode",
|
|
"pos": [
|
|
307,
|
|
272
|
|
],
|
|
"size": [
|
|
210,
|
|
76
|
|
],
|
|
"flags": {
|
|
"collapsed": false
|
|
},
|
|
"order": 6,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "clip",
|
|
"type": "CLIP",
|
|
"link": 47,
|
|
"slot_index": 0,
|
|
"label": "clip"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "CONDITIONING",
|
|
"type": "CONDITIONING",
|
|
"links": [
|
|
48
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "CONDITIONING"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "CLIPTextEncode"
|
|
},
|
|
"widgets_values": [
|
|
"blurry, deformed"
|
|
]
|
|
},
|
|
{
|
|
"id": 51,
|
|
"type": "PreviewImage",
|
|
"pos": [
|
|
1824,
|
|
-400
|
|
],
|
|
"size": [
|
|
394.4882507324219,
|
|
492.5002136230469
|
|
],
|
|
"flags": {},
|
|
"order": 12,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 72,
|
|
"label": "images"
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"properties": {
|
|
"Node name for S&R": "PreviewImage"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 58,
|
|
"type": "DetailerForEachDebugPipe",
|
|
"pos": [
|
|
816,
|
|
37
|
|
],
|
|
"size": [
|
|
371.20001220703125,
|
|
824
|
|
],
|
|
"flags": {},
|
|
"order": 11,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 196,
|
|
"label": "image"
|
|
},
|
|
{
|
|
"name": "segs",
|
|
"type": "SEGS",
|
|
"link": 180,
|
|
"label": "segs"
|
|
},
|
|
{
|
|
"name": "basic_pipe",
|
|
"type": "BASIC_PIPE",
|
|
"link": 69,
|
|
"label": "basic_pipe"
|
|
},
|
|
{
|
|
"name": "detailer_hook",
|
|
"type": "DETAILER_HOOK",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "detailer_hook"
|
|
},
|
|
{
|
|
"name": "refiner_basic_pipe_opt",
|
|
"type": "BASIC_PIPE",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "refiner_basic_pipe_opt"
|
|
},
|
|
{
|
|
"name": "scheduler_func_opt",
|
|
"type": "SCHEDULER_FUNC",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "scheduler_func_opt"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
72,
|
|
211
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "image"
|
|
},
|
|
{
|
|
"name": "segs",
|
|
"type": "SEGS",
|
|
"links": null,
|
|
"shape": 3,
|
|
"label": "segs"
|
|
},
|
|
{
|
|
"name": "basic_pipe",
|
|
"type": "BASIC_PIPE",
|
|
"links": null,
|
|
"shape": 3,
|
|
"label": "basic_pipe"
|
|
},
|
|
{
|
|
"name": "cropped",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 6,
|
|
"label": "cropped"
|
|
},
|
|
{
|
|
"name": "cropped_refined",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 6,
|
|
"label": "cropped_refined"
|
|
},
|
|
{
|
|
"name": "cropped_refined_alpha",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 6,
|
|
"label": "cropped_refined_alpha"
|
|
},
|
|
{
|
|
"name": "cnet_images",
|
|
"type": "IMAGE",
|
|
"links": null,
|
|
"shape": 6,
|
|
"label": "cnet_images"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "DetailerForEachDebugPipe"
|
|
},
|
|
"widgets_values": [
|
|
64,
|
|
true,
|
|
1024,
|
|
265822843035570,
|
|
"randomize",
|
|
8,
|
|
6,
|
|
"dpmpp_2m_sde_gpu",
|
|
"karras",
|
|
0.6,
|
|
10,
|
|
true,
|
|
true,
|
|
"",
|
|
0.2,
|
|
1,
|
|
false,
|
|
20
|
|
]
|
|
},
|
|
{
|
|
"id": 111,
|
|
"type": "UltralyticsDetectorProvider",
|
|
"pos": [
|
|
198,
|
|
409
|
|
],
|
|
"size": [
|
|
324.06451416015625,
|
|
139.77671813964844
|
|
],
|
|
"flags": {},
|
|
"order": 3,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "BBOX_DETECTOR",
|
|
"type": "BBOX_DETECTOR",
|
|
"links": [],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "BBOX_DETECTOR"
|
|
},
|
|
{
|
|
"name": "SEGM_DETECTOR",
|
|
"type": "SEGM_DETECTOR",
|
|
"links": [
|
|
191
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3,
|
|
"label": "SEGM_DETECTOR"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "UltralyticsDetectorProvider"
|
|
},
|
|
"widgets_values": [
|
|
"segm/hair_yolov8n-seg_60.pt"
|
|
]
|
|
},
|
|
{
|
|
"id": 118,
|
|
"type": "UltralyticsDetectorProvider",
|
|
"pos": [
|
|
183,
|
|
603
|
|
],
|
|
"size": [
|
|
346.69671630859375,
|
|
100.40532684326172
|
|
],
|
|
"flags": {},
|
|
"order": 4,
|
|
"mode": 0,
|
|
"inputs": [],
|
|
"outputs": [
|
|
{
|
|
"name": "BBOX_DETECTOR",
|
|
"type": "BBOX_DETECTOR",
|
|
"links": [],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "BBOX_DETECTOR"
|
|
},
|
|
{
|
|
"name": "SEGM_DETECTOR",
|
|
"type": "SEGM_DETECTOR",
|
|
"links": [
|
|
192
|
|
],
|
|
"slot_index": 1,
|
|
"shape": 3,
|
|
"label": "SEGM_DETECTOR"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "UltralyticsDetectorProvider"
|
|
},
|
|
"widgets_values": [
|
|
"segm/face_yolov8m-seg_60.pt"
|
|
]
|
|
},
|
|
{
|
|
"id": 120,
|
|
"type": "SubtractMaskForEach",
|
|
"pos": [
|
|
576,
|
|
187
|
|
],
|
|
"size": [
|
|
210,
|
|
46
|
|
],
|
|
"flags": {},
|
|
"order": 10,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "base_segs",
|
|
"type": "SEGS",
|
|
"link": 189,
|
|
"label": "base_segs"
|
|
},
|
|
{
|
|
"name": "mask_segs",
|
|
"type": "SEGS",
|
|
"link": 190,
|
|
"label": "mask_segs"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "SEGS",
|
|
"type": "SEGS",
|
|
"links": [
|
|
180
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "SEGS"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SubtractMaskForEach"
|
|
},
|
|
"widgets_values": []
|
|
},
|
|
{
|
|
"id": 126,
|
|
"type": "SegmDetectorSEGS",
|
|
"pos": [
|
|
558,
|
|
535
|
|
],
|
|
"size": [
|
|
210,
|
|
212
|
|
],
|
|
"flags": {},
|
|
"order": 8,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "segm_detector",
|
|
"type": "SEGM_DETECTOR",
|
|
"link": 192,
|
|
"label": "segm_detector"
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 194,
|
|
"label": "image"
|
|
},
|
|
{
|
|
"name": "detailer_hook",
|
|
"type": "DETAILER_HOOK",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "detailer_hook"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "SEGS",
|
|
"type": "SEGS",
|
|
"links": [
|
|
190
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "SEGS"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SegmDetectorSEGS"
|
|
},
|
|
"widgets_values": [
|
|
0.5,
|
|
10,
|
|
3,
|
|
10,
|
|
"all"
|
|
]
|
|
},
|
|
{
|
|
"id": 127,
|
|
"type": "SegmDetectorSEGS",
|
|
"pos": [
|
|
559,
|
|
281
|
|
],
|
|
"size": [
|
|
210,
|
|
212
|
|
],
|
|
"flags": {},
|
|
"order": 7,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "segm_detector",
|
|
"type": "SEGM_DETECTOR",
|
|
"link": 191,
|
|
"label": "segm_detector"
|
|
},
|
|
{
|
|
"name": "image",
|
|
"type": "IMAGE",
|
|
"link": 195,
|
|
"label": "image"
|
|
},
|
|
{
|
|
"name": "detailer_hook",
|
|
"type": "DETAILER_HOOK",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "detailer_hook"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "SEGS",
|
|
"type": "SEGS",
|
|
"links": [
|
|
189
|
|
],
|
|
"slot_index": 0,
|
|
"shape": 3,
|
|
"label": "SEGS"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "SegmDetectorSEGS"
|
|
},
|
|
"widgets_values": [
|
|
0.5,
|
|
10,
|
|
3,
|
|
10,
|
|
"all"
|
|
]
|
|
},
|
|
{
|
|
"id": 136,
|
|
"type": "ImageCompareTransition",
|
|
"pos": [
|
|
1382,
|
|
184
|
|
],
|
|
"size": [
|
|
315,
|
|
102
|
|
],
|
|
"flags": {},
|
|
"order": 13,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "image1",
|
|
"type": "IMAGE",
|
|
"link": 211,
|
|
"label": "image1"
|
|
},
|
|
{
|
|
"name": "image2",
|
|
"type": "IMAGE",
|
|
"link": 212,
|
|
"label": "image2"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "frames",
|
|
"type": "IMAGE",
|
|
"links": [
|
|
213
|
|
],
|
|
"slot_index": 0,
|
|
"label": "frames"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "ImageCompareTransition"
|
|
},
|
|
"widgets_values": [
|
|
30,
|
|
8
|
|
]
|
|
},
|
|
{
|
|
"id": 137,
|
|
"type": "VHS_VideoCombine",
|
|
"pos": [
|
|
2029.8699951171875,
|
|
315.24346923828125
|
|
],
|
|
"size": [
|
|
315,
|
|
715.1956787109375
|
|
],
|
|
"flags": {},
|
|
"order": 14,
|
|
"mode": 0,
|
|
"inputs": [
|
|
{
|
|
"name": "images",
|
|
"type": "IMAGE",
|
|
"link": 213,
|
|
"shape": 7,
|
|
"label": "images"
|
|
},
|
|
{
|
|
"name": "audio",
|
|
"type": "AUDIO",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "audio"
|
|
},
|
|
{
|
|
"name": "meta_batch",
|
|
"type": "VHS_BatchManager",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "meta_batch"
|
|
},
|
|
{
|
|
"name": "vae",
|
|
"type": "VAE",
|
|
"link": null,
|
|
"shape": 7,
|
|
"label": "vae"
|
|
}
|
|
],
|
|
"outputs": [
|
|
{
|
|
"name": "Filenames",
|
|
"type": "VHS_FILENAMES",
|
|
"links": null,
|
|
"label": "Filenames"
|
|
}
|
|
],
|
|
"properties": {
|
|
"Node name for S&R": "VHS_VideoCombine"
|
|
},
|
|
"widgets_values": {
|
|
"frame_rate": 8,
|
|
"loop_count": 0,
|
|
"filename_prefix": "AnimateDiff",
|
|
"format": "video/h264-mp4",
|
|
"pix_fmt": "yuv420p",
|
|
"crf": 19,
|
|
"save_metadata": true,
|
|
"pingpong": false,
|
|
"save_output": true,
|
|
"videopreview": {
|
|
"hidden": false,
|
|
"paused": false,
|
|
"params": {
|
|
"filename": "AnimateDiff_00211.mp4",
|
|
"subfolder": "",
|
|
"type": "output",
|
|
"format": "video/h264-mp4",
|
|
"frame_rate": 8
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"links": [
|
|
[
|
|
43,
|
|
1,
|
|
1,
|
|
48,
|
|
1,
|
|
"CLIP"
|
|
],
|
|
[
|
|
44,
|
|
2,
|
|
0,
|
|
48,
|
|
2,
|
|
"VAE"
|
|
],
|
|
[
|
|
45,
|
|
1,
|
|
1,
|
|
49,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
46,
|
|
49,
|
|
0,
|
|
48,
|
|
3,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
47,
|
|
1,
|
|
1,
|
|
50,
|
|
0,
|
|
"CLIP"
|
|
],
|
|
[
|
|
48,
|
|
50,
|
|
0,
|
|
48,
|
|
4,
|
|
"CONDITIONING"
|
|
],
|
|
[
|
|
69,
|
|
48,
|
|
0,
|
|
58,
|
|
2,
|
|
"BASIC_PIPE"
|
|
],
|
|
[
|
|
72,
|
|
58,
|
|
0,
|
|
51,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
83,
|
|
1,
|
|
0,
|
|
48,
|
|
0,
|
|
"MODEL"
|
|
],
|
|
[
|
|
180,
|
|
120,
|
|
0,
|
|
58,
|
|
1,
|
|
"SEGS"
|
|
],
|
|
[
|
|
189,
|
|
127,
|
|
0,
|
|
120,
|
|
0,
|
|
"SEGS"
|
|
],
|
|
[
|
|
190,
|
|
126,
|
|
0,
|
|
120,
|
|
1,
|
|
"SEGS"
|
|
],
|
|
[
|
|
191,
|
|
111,
|
|
1,
|
|
127,
|
|
0,
|
|
"SEGM_DETECTOR"
|
|
],
|
|
[
|
|
192,
|
|
118,
|
|
1,
|
|
126,
|
|
0,
|
|
"SEGM_DETECTOR"
|
|
],
|
|
[
|
|
194,
|
|
4,
|
|
0,
|
|
126,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
195,
|
|
4,
|
|
0,
|
|
127,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
196,
|
|
4,
|
|
0,
|
|
58,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
211,
|
|
58,
|
|
0,
|
|
136,
|
|
0,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
212,
|
|
4,
|
|
0,
|
|
136,
|
|
1,
|
|
"IMAGE"
|
|
],
|
|
[
|
|
213,
|
|
136,
|
|
0,
|
|
137,
|
|
0,
|
|
"IMAGE"
|
|
]
|
|
],
|
|
"groups": [],
|
|
"config": {},
|
|
"extra": {
|
|
"ds": {
|
|
"scale": 0.5989500000000019,
|
|
"offset": [
|
|
190.82726333325894,
|
|
470.8488194436603
|
|
]
|
|
},
|
|
"info": {
|
|
"name": "haircolorize",
|
|
"author": "",
|
|
"description": "",
|
|
"version": "1",
|
|
"created": "2024-03-19T15:59:44.300Z",
|
|
"modified": "2024-04-02T11:58:58.757Z",
|
|
"software": "ComfyUI"
|
|
}
|
|
},
|
|
"version": 0.4
|
|
} |