HunyuanDiT_Controlnet_inpainting / workflow_hunyuan_inpainting.json
TTPlanet's picture
Upload workflow_hunyuan_inpainting.json
86db23c verified
raw
history blame contribute delete
No virus
14.6 kB
{
"last_node_id": 117,
"last_link_id": 245,
"nodes": [
{
"id": 58,
"type": "PreviewImage",
"pos": [
1450,
-2647
],
"size": {
"0": 375.79327392578125,
"1": 340.0160827636719
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 224
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 71,
"type": "VAEEncode",
"pos": [
1030,
-2195
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 245
},
{
"name": "vae",
"type": "VAE",
"link": 169
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
170
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 50,
"type": "CheckpointLoaderSimple",
"pos": [
-379,
-1865
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
244
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
110,
112
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
108,
169,
231
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"hunyuan_dit_1.2.safetensors"
]
},
{
"id": 48,
"type": "VAEDecode",
"pos": [
1027,
-2081
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 107,
"label": "Latent"
},
{
"name": "vae",
"type": "VAE",
"link": 108,
"label": "VAE"
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
109,
174
],
"slot_index": 0,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 105,
"type": "TTPlanet_inpainting_Preprecessor",
"pos": [
1050,
-2790
],
"size": {
"0": 294,
"1": 46
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 216
},
{
"name": "mask",
"type": "MASK",
"link": 217
}
],
"outputs": [
{
"name": "blackened_image",
"type": "IMAGE",
"links": [
223
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TTPlanet_inpainting_Preprecessor"
}
},
{
"id": 80,
"type": "Image Comparer (rgthree)",
"pos": {
"0": 2009,
"1": -2661,
"2": 0,
"3": 0,
"4": 0,
"5": 0,
"6": 0,
"7": 0,
"8": 0,
"9": 0
},
"size": {
"0": 917.8810424804688,
"1": 1082.5218505859375
},
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 173,
"dir": 3
},
{
"name": "image_b",
"type": "IMAGE",
"link": 174,
"dir": 3
}
],
"outputs": [],
"properties": {
"comparer_mode": "Slide"
},
"widgets_values": [
[
"/view?filename=rgthree.compare._temp_eboob_00001_.png&type=temp&subfolder=&rand=0.5903426603381017",
"/view?filename=rgthree.compare._temp_eboob_00002_.png&type=temp&subfolder=&rand=0.01778835790815947"
]
]
},
{
"id": 49,
"type": "SaveImage",
"pos": [
1366,
-2220
],
"size": {
"0": 569.7950439453125,
"1": 617.7257080078125
},
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 109,
"label": "图像"
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 52,
"type": "CLIPTextEncodeHunyuanDiT",
"pos": [
45,
-1786
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 112
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
237
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeHunyuanDiT"
},
"widgets_values": [
"错误的眼睛,糟糕的人脸,毁容,糟糕的艺术,变形,多余的肢体,模糊的颜色,模糊,重复,病态,残缺, 盆栽",
"错误的眼睛,糟糕的人脸,毁容,糟糕的艺术,变形,多余的肢体,模糊的颜色,模糊,重复,病态,残缺, 盆栽"
]
},
{
"id": 55,
"type": "ControlNetLoader",
"pos": [
532,
-1715
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
235
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"pytorch_model_inpaint_ema_module_only.pt"
]
},
{
"id": 111,
"type": "ControlNetApplySD3",
"pos": [
532,
-1991
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 236
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 237
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 235
},
{
"name": "vae",
"type": "VAE",
"link": 231
},
{
"name": "image",
"type": "IMAGE",
"link": 232
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
233
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
234
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplySD3"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 107,
"type": "ImageScaleToTotalPixels",
"pos": [
1046,
-2672
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 223
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
224,
232
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"bicubic",
1
]
},
{
"id": 47,
"type": "KSampler",
"pos": [
974,
-1959
],
"size": {
"0": 295.08831787109375,
"1": 280.044677734375
},
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 244,
"label": "模型"
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 233,
"label": "正面条件"
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 234,
"label": "负面条件"
},
{
"name": "latent_image",
"type": "LATENT",
"link": 170,
"label": "Latent"
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
107
],
"slot_index": 0,
"label": "Latent"
}
],
"properties": {
"Node name for S&R": "KSampler"
},
"widgets_values": [
338678619423509,
"fixed",
50,
6,
"dpmpp_2m",
"sgm_uniform",
1
]
},
{
"id": 108,
"type": "ImageScaleToTotalPixels",
"pos": [
1037,
-2484
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 226
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
245
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"bicubic",
1
]
},
{
"id": 56,
"type": "LoadImage",
"pos": [
263,
-2909
],
"size": {
"0": 623.7274780273438,
"1": 664.0277099609375
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
173,
216,
226
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": [
217
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"clipspace/clipspace-mask-22191224.png [input]",
"image"
]
},
{
"id": 51,
"type": "CLIPTextEncodeHunyuanDiT",
"pos": [
45,
-2068
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 110
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
236
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeHunyuanDiT"
},
"widgets_values": [
"写实画风, 一个可爱的小狗在客厅里",
"写实画风, 一个可爱的小狗在客厅里"
]
}
],
"links": [
[
107,
47,
0,
48,
0,
"LATENT"
],
[
108,
50,
2,
48,
1,
"VAE"
],
[
109,
48,
0,
49,
0,
"IMAGE"
],
[
110,
50,
1,
51,
0,
"CLIP"
],
[
112,
50,
1,
52,
0,
"CLIP"
],
[
169,
50,
2,
71,
1,
"VAE"
],
[
170,
71,
0,
47,
3,
"LATENT"
],
[
173,
56,
0,
80,
0,
"IMAGE"
],
[
174,
48,
0,
80,
1,
"IMAGE"
],
[
216,
56,
0,
105,
0,
"IMAGE"
],
[
217,
56,
1,
105,
1,
"MASK"
],
[
223,
105,
0,
107,
0,
"IMAGE"
],
[
224,
107,
0,
58,
0,
"IMAGE"
],
[
226,
56,
0,
108,
0,
"IMAGE"
],
[
231,
50,
2,
111,
3,
"VAE"
],
[
232,
107,
0,
111,
4,
"IMAGE"
],
[
233,
111,
0,
47,
1,
"CONDITIONING"
],
[
234,
111,
1,
47,
2,
"CONDITIONING"
],
[
235,
55,
0,
111,
2,
"CONTROL_NET"
],
[
236,
51,
0,
111,
0,
"CONDITIONING"
],
[
237,
52,
0,
111,
1,
"CONDITIONING"
],
[
244,
50,
0,
47,
0,
"MODEL"
],
[
245,
108,
0,
71,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.4950000000000003,
"offset": [
406.1280088069019,
3036.960295598471
]
}
},
"version": 0.4
}