Files
smthemex-ComfyUI_MS_Diffusion/examples/controlnet.json
T
2024-08-02 11:25:42 +08:00

606 lines
10 KiB
JSON

{
"last_node_id": 50,
"last_link_id": 92,
"nodes": [
{
"id": 17,
"type": "LoadImage",
"pos": [
-551,
-1201
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
58
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"4.jpg",
"image"
]
},
{
"id": 18,
"type": "LoadImage",
"pos": [
-511,
-824
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
59
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"微信截图_20240801152544.png",
"image"
]
},
{
"id": 20,
"type": "MSdiffusion_Sampler",
"pos": [
347,
-1176
],
"size": {
"0": 460.65234375,
"1": 694.806884765625
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "pipe",
"type": "MODEL",
"link": 78,
"label": "pipe"
},
{
"name": "ms_model",
"type": "MODEL",
"link": 79,
"label": "ms_model"
},
{
"name": "image_encoder",
"type": "MODEL",
"link": 80,
"label": "image_encoder"
},
{
"name": "image_processor",
"type": "MODEL",
"link": 81,
"label": "image_processor"
},
{
"name": "image",
"type": "IMAGE",
"link": 90,
"label": "image"
},
{
"name": "control_image",
"type": "IMAGE",
"link": 91,
"label": "control_image",
"slot_index": 5
},
{
"name": "info",
"type": "STRING",
"link": 82,
"widget": {
"name": "info"
},
"label": "info",
"slot_index": 6
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
26
],
"shape": 3,
"label": "image",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MSdiffusion_Sampler"
},
"widgets_values": [
"",
"a [girl] wearing a [hat],a T-shirt best quality,8k,raw,",
"(worst quality, low quality, normal quality, lowres),",
344394168,
"randomize",
20,
7,
0.6,
0.5,
5,
0.8,
1024,
1024,
3,
false,
"0., 0.25, 0.4, 0.75;0.6, 0.25, 1., 0.75;0.3, 0.25, 1., 0.75;0.3, 0.25, 1., 0.75"
]
},
{
"id": 42,
"type": "MSdiffusion_Model_Loader",
"pos": [
-83,
-1223
],
"size": {
"0": 315,
"1": 378
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "pipe",
"type": "MODEL",
"links": [
78
],
"shape": 3,
"label": "pipe",
"slot_index": 0
},
{
"name": "ms_model",
"type": "MODEL",
"links": [
79
],
"shape": 3,
"label": "ms_model",
"slot_index": 1
},
{
"name": "image_encoder",
"type": "MODEL",
"links": [
80
],
"shape": 3,
"label": "image_encoder",
"slot_index": 2
},
{
"name": "image_processor",
"type": "MODEL",
"links": [
81
],
"shape": 3,
"label": "image_processor",
"slot_index": 3
},
{
"name": "info",
"type": "STRING",
"links": [
82
],
"shape": 3,
"label": "info",
"slot_index": 4
}
],
"properties": {
"Node name for S&R": "MSdiffusion_Model_Loader"
},
"widgets_values": [
"0SDXL\\juggernautXL_v8Rundiffusion.safetensors",
"",
"laion\\CLIP-ViT-bigG-14-laion2B-39B-b160k",
"",
"none",
"xinsir\\controlnet-canny-sdxl-1.0",
"",
"none",
0.8,
"best quality",
"Euler"
]
},
{
"id": 30,
"type": "MS_Object_img_Batch",
"pos": [
-22,
-797
],
"size": {
"0": 210,
"1": 86
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 58,
"label": "image_a"
},
{
"name": "image_b",
"type": "IMAGE",
"link": 59,
"label": "image_b"
},
{
"name": "image_c",
"type": "IMAGE",
"link": null,
"label": "image_c"
},
{
"name": "image_d",
"type": "IMAGE",
"link": null,
"label": "image_d"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
86,
90
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "MS_Object_img_Batch"
}
},
{
"id": 49,
"type": "Canny",
"pos": [
-106,
-652
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 87,
"label": "image"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
91,
92
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Canny"
},
"widgets_values": [
0.4,
0.8
]
},
{
"id": 50,
"type": "PreviewImage",
"pos": [
853,
-756
],
"size": {
"0": 270.068359375,
"1": 311.84661865234375
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 92,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 48,
"type": "LoadImage",
"pos": [
-109,
-522
],
"size": {
"0": 315,
"1": 314
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
87
],
"shape": 3,
"label": "IMAGE",
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3,
"label": "MASK"
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"ComfyUI_00034_.png",
"image"
]
},
{
"id": 16,
"type": "SaveImage",
"pos": [
844,
-1172
],
"size": {
"0": 427.42333984375,
"1": 369.4520263671875
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 26,
"label": "images"
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 47,
"type": "PreviewImage",
"pos": [
354,
-440
],
"size": {
"0": 378.7257385253906,
"1": 313.506591796875
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 86,
"label": "images"
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
}
],
"links": [
[
26,
20,
0,
16,
0,
"IMAGE"
],
[
58,
17,
0,
30,
0,
"IMAGE"
],
[
59,
18,
0,
30,
1,
"IMAGE"
],
[
78,
42,
0,
20,
0,
"MODEL"
],
[
79,
42,
1,
20,
1,
"MODEL"
],
[
80,
42,
2,
20,
2,
"MODEL"
],
[
81,
42,
3,
20,
3,
"MODEL"
],
[
82,
42,
4,
20,
6,
"STRING"
],
[
86,
30,
0,
47,
0,
"IMAGE"
],
[
87,
48,
0,
49,
0,
"IMAGE"
],
[
90,
30,
0,
20,
4,
"IMAGE"
],
[
91,
49,
0,
20,
5,
"IMAGE"
],
[
92,
49,
0,
50,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.922959981770698,
"offset": {
"0": 757.0659290871005,
"1": 1329.848618927273
}
}
},
"version": 0.4
}