HunyuanDiT_Controlnet_tile / workflow_hunyuan_tile.json
TTPlanet's picture
Upload workflow_hunyuan_tile.json
04ff484 verified
{
"last_node_id": 22,
"last_link_id": 34,
"nodes": [
{
"id": 12,
"type": "ControlNetLoader",
"pos": [
1623,
379
],
"size": {
"0": 315,
"1": 58
},
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "CONTROL_NET",
"type": "CONTROL_NET",
"links": [
16
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "ControlNetLoader"
},
"widgets_values": [
"pytorch_model_tile_ema_module_only.pt"
]
},
{
"id": 14,
"type": "DownloadAndLoadFlorence2Model",
"pos": [
1127,
-480
],
"size": {
"0": 315,
"1": 106
},
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "florence2_model",
"type": "FL2MODEL",
"links": [
17
],
"shape": 3
}
],
"properties": {
"Node name for S&R": "DownloadAndLoadFlorence2Model"
},
"widgets_values": [
"microsoft/Florence-2-large",
"fp16",
"flash_attention_2"
]
},
{
"id": 16,
"type": "GoogleTranslateTextNode",
"pos": [
1547,
-233
],
"size": [
218.39999389648438,
192
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 19,
"widget": {
"name": "text"
},
"slot_index": 0
}
],
"outputs": [
{
"name": "text",
"type": "STRING",
"links": [
20
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "GoogleTranslateTextNode"
},
"widgets_values": [
"auto",
"en",
false,
"Manual Trasnlate",
""
]
},
{
"id": 4,
"type": "CLIPTextEncodeHunyuanDiT",
"pos": [
1072,
125
],
"size": [
394.5294504476135,
122.16705481763302
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 1
},
{
"name": "mt5xl",
"type": "STRING",
"link": 21,
"widget": {
"name": "mt5xl"
}
},
{
"name": "bert",
"type": "STRING",
"link": 22,
"widget": {
"name": "bert"
}
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
12
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeHunyuanDiT"
},
"widgets_values": [
"",
""
],
"color": "#232",
"bgcolor": "#353"
},
{
"id": 8,
"type": "VAEDecode",
"pos": [
2584,
146
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 17,
"mode": 0,
"inputs": [
{
"name": "samples",
"type": "LATENT",
"link": 24,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 7
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
23
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEDecode"
}
},
{
"id": 9,
"type": "VAEEncode",
"pos": [
1785,
527
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"name": "pixels",
"type": "IMAGE",
"link": 26,
"slot_index": 0
},
{
"name": "vae",
"type": "VAE",
"link": 8
}
],
"outputs": [
{
"name": "LATENT",
"type": "LATENT",
"links": [
10
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "VAEEncode"
}
},
{
"id": 18,
"type": "ImageScaleToTotalPixels",
"pos": [
1114,
312
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 29
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
26,
30
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScaleToTotalPixels"
},
"widgets_values": [
"bilinear",
1
]
},
{
"id": 3,
"type": "CheckpointLoaderSimple",
"pos": [
324,
140
],
"size": {
"0": 315,
"1": 98
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": [
4
],
"shape": 3,
"slot_index": 0
},
{
"name": "CLIP",
"type": "CLIP",
"links": [
1,
2
],
"shape": 3,
"slot_index": 1
},
{
"name": "VAE",
"type": "VAE",
"links": [
7,
8,
11,
32
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "CheckpointLoaderSimple"
},
"widgets_values": [
"hunyuan_dit_1.2.safetensors"
]
},
{
"id": 21,
"type": "Text Concatenate",
"pos": [
683,
-105
],
"size": [
315,
178
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "text_a",
"type": "STRING",
"link": 34,
"widget": {
"name": "text_a"
}
},
{
"name": "text_b",
"type": "STRING",
"link": null,
"widget": {
"name": "text_b"
}
},
{
"name": "text_c",
"type": "STRING",
"link": null,
"widget": {
"name": "text_c"
}
},
{
"name": "text_d",
"type": "STRING",
"link": null,
"widget": {
"name": "text_d"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "Text Concatenate"
},
"widgets_values": [
", ",
"true",
"",
"",
"",
""
]
},
{
"id": 22,
"type": "easy prompt",
"pos": [
211,
-172
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 3,
"mode": 0,
"outputs": [
{
"name": "prompt",
"type": "STRING",
"links": [
34
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "easy prompt"
},
"widgets_values": [
"",
"none",
"none"
]
},
{
"id": 15,
"type": "ShowText|pysssss",
"pos": [
1123,
1
],
"size": [
315,
76
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"name": "text",
"type": "STRING",
"link": 20,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "STRING",
"type": "STRING",
"links": [
21,
22
],
"shape": 6,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ShowText|pysssss"
},
"widgets_values": [
"",
"The image shows a woman with long black hair and bangs leaning against a window, wearing a denim dress. The background is slightly blurred, giving the image a dreamy feel."
]
},
{
"id": 13,
"type": "Florence2Run",
"pos": [
1088,
-329
],
"size": {
"0": 400,
"1": 260
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 31
},
{
"name": "florence2_model",
"type": "FL2MODEL",
"link": 17,
"slot_index": 1
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": null,
"shape": 3
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3
},
{
"name": "caption",
"type": "STRING",
"links": [
19
],
"shape": 3,
"slot_index": 2
}
],
"properties": {
"Node name for S&R": "Florence2Run"
},
"widgets_values": [
"",
"detailed_caption",
true,
false,
1024,
3,
true
]
},
{
"id": 11,
"type": "ControlNetApplySD3",
"pos": [
1629,
138
],
"size": {
"0": 315,
"1": 186
},
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"name": "positive",
"type": "CONDITIONING",
"link": 12
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 13
},
{
"name": "control_net",
"type": "CONTROL_NET",
"link": 16,
"slot_index": 2
},
{
"name": "vae",
"type": "VAE",
"link": 32
},
{
"name": "image",
"type": "IMAGE",
"link": 30
}
],
"outputs": [
{
"name": "positive",
"type": "CONDITIONING",
"links": [
14
],
"shape": 3,
"slot_index": 0
},
{
"name": "negative",
"type": "CONDITIONING",
"links": [
15
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ControlNetApplySD3"
},
"widgets_values": [
1,
0,
1
]
},
{
"id": 5,
"type": "CLIPTextEncodeHunyuanDiT",
"pos": [
1069,
474
],
"size": {
"0": 400,
"1": 200
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "clip",
"type": "CLIP",
"link": 2
}
],
"outputs": [
{
"name": "CONDITIONING",
"type": "CONDITIONING",
"links": [
13
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "CLIPTextEncodeHunyuanDiT"
},
"widgets_values": [
"错误的眼睛,糟糕的人脸,毁容,糟糕的艺术,变形,多余的肢体,模糊的颜色,模糊,重复,病态,残缺, ",
"错误的眼睛,糟糕的人脸,毁容,糟糕的艺术,变形,多余的肢体,模糊的颜色,模糊,重复,病态,残缺, 动漫,"
],
"color": "#322",
"bgcolor": "#533"
},
{
"id": 7,
"type": "KSampler (Efficient)",
"pos": [
2126,
131
],
"size": [
325,
562
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"name": "model",
"type": "MODEL",
"link": 4
},
{
"name": "positive",
"type": "CONDITIONING",
"link": 14
},
{
"name": "negative",
"type": "CONDITIONING",
"link": 15
},
{
"name": "latent_image",
"type": "LATENT",
"link": 10
},
{
"name": "optional_vae",
"type": "VAE",
"link": 11
},
{
"name": "script",
"type": "SCRIPT",
"link": null
}
],
"outputs": [
{
"name": "MODEL",
"type": "MODEL",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING+",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "CONDITIONING-",
"type": "CONDITIONING",
"links": null,
"shape": 3
},
{
"name": "LATENT",
"type": "LATENT",
"links": [
24
],
"shape": 3
},
{
"name": "VAE",
"type": "VAE",
"links": null,
"shape": 3
},
{
"name": "IMAGE",
"type": "IMAGE",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "KSampler (Efficient)"
},
"widgets_values": [
467713497714872,
null,
100,
6,
"ddpm",
"sgm_uniform",
1,
"auto",
"true"
],
"color": "#332222",
"bgcolor": "#553333",
"shape": 1
},
{
"id": 19,
"type": "TTPlanet_Tile_Preprocessor_Simple",
"pos": [
713,
298
],
"size": {
"0": 315,
"1": 82
},
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 27
}
],
"outputs": [
{
"name": "image_output",
"type": "IMAGE",
"links": [
29,
33
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "TTPlanet_Tile_Preprocessor_Simple"
},
"widgets_values": [
3.5,
1.5
]
},
{
"id": 20,
"type": "PreviewImage",
"pos": [
2809,
192
],
"size": [
782.8568788928524,
835.8412660029444
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 33
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 10,
"type": "LoadImage",
"pos": [
-32,
287
],
"size": [
692.3502556848252,
841.6283079056514
],
"flags": {},
"order": 4,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
27,
31
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"pasted/image (1121).png",
"image"
]
},
{
"id": 17,
"type": "SaveImage",
"pos": [
3597,
195
],
"size": [
769.4305228353078,
815.4873133015197
],
"flags": {},
"order": 18,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 23
}
],
"properties": {
"Node name for S&R": "SaveImage"
},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
1,
3,
1,
4,
0,
"CLIP"
],
[
2,
3,
1,
5,
0,
"CLIP"
],
[
4,
3,
0,
7,
0,
"MODEL"
],
[
7,
3,
2,
8,
1,
"VAE"
],
[
8,
3,
2,
9,
1,
"VAE"
],
[
10,
9,
0,
7,
3,
"LATENT"
],
[
11,
3,
2,
7,
4,
"VAE"
],
[
12,
4,
0,
11,
0,
"CONDITIONING"
],
[
13,
5,
0,
11,
1,
"CONDITIONING"
],
[
14,
11,
0,
7,
1,
"CONDITIONING"
],
[
15,
11,
1,
7,
2,
"CONDITIONING"
],
[
16,
12,
0,
11,
2,
"CONTROL_NET"
],
[
17,
14,
0,
13,
1,
"FL2MODEL"
],
[
19,
13,
2,
16,
0,
"STRING"
],
[
20,
16,
0,
15,
0,
"STRING"
],
[
21,
15,
0,
4,
1,
"STRING"
],
[
22,
15,
0,
4,
2,
"STRING"
],
[
23,
8,
0,
17,
0,
"IMAGE"
],
[
24,
7,
3,
8,
0,
"LATENT"
],
[
26,
18,
0,
9,
0,
"IMAGE"
],
[
27,
10,
0,
19,
0,
"IMAGE"
],
[
29,
19,
0,
18,
0,
"IMAGE"
],
[
30,
18,
0,
11,
4,
"IMAGE"
],
[
31,
10,
0,
13,
0,
"IMAGE"
],
[
32,
3,
2,
11,
3,
"VAE"
],
[
33,
19,
0,
20,
0,
"IMAGE"
],
[
34,
22,
0,
21,
0,
"STRING"
]
],
"groups": [],
"config": {},
"extra": {
"ds": {
"scale": 0.4665073802097333,
"offset": [
-888.1009748823192,
597.4529380988542
]
}
},
"version": 0.4
}