Files
chflame163-ComfyUI_WordCloud/workflow/comfy_wordcloud_advance.json
T
2024-01-12 22:18:20 +08:00

468 lines
7.2 KiB
JSON

{
"last_node_id": 13,
"last_link_id": 35,
"nodes": [
{
"id": 7,
"type": "ImageScale",
"pos": [
1387,
322
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 13
},
{
"name": "width",
"type": "INT",
"link": 15,
"widget": {
"name": "width"
}
},
{
"name": "height",
"type": "INT",
"link": 16,
"widget": {
"name": "height"
}
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
25
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
512,
512,
"disabled"
]
},
{
"id": 9,
"type": "ComfyWordCloud",
"pos": [
940,
177
],
"size": {
"0": 400,
"1": 600
},
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "color_ref_image",
"type": "IMAGE",
"link": 19
},
{
"name": "mask_image",
"type": "IMAGE",
"link": 28
},
{
"name": "text",
"type": "STRING",
"link": 21,
"widget": {
"name": "text"
}
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
23,
24
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ComfyWordCloud"
},
"widgets_values": [
"",
512,
512,
4,
0,
"C:\\AIRes\\font\\锐字真言体RZZhenYan.ttf",
4,
128,
0.5,
"Oranges",
"#000000",
false,
0.9,
200,
false,
false,
-1,
"的,是,再",
0,
"#000000",
"重,大,新,闻",
60
]
},
{
"id": 8,
"type": "GetImageSize",
"pos": [
1390,
216
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 23
}
],
"outputs": [
{
"name": "width",
"type": "INT",
"links": [
15
],
"shape": 3,
"slot_index": 0
},
{
"name": "height",
"type": "INT",
"links": [
16
],
"shape": 3,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "GetImageSize"
}
},
{
"id": 11,
"type": "Image Rembg (Remove Background)",
"pos": [
578,
558
],
"size": {
"0": 315,
"1": 250
},
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 27
}
],
"outputs": [
{
"name": "images",
"type": "IMAGE",
"links": [
28
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Rembg (Remove Background)"
},
"widgets_values": [
true,
"u2net",
false,
false,
false,
240,
10,
10,
"none"
]
},
{
"id": 1,
"type": "LoadTextFile",
"pos": [
587,
140
],
"size": [
289.6014779663086,
58
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "Text",
"type": "STRING",
"links": [
21
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "LoadTextFile"
},
"widgets_values": [
"C:\\AIRes\\test2.txt"
]
},
{
"id": 3,
"type": "LoadImage",
"pos": [
584,
251
],
"size": [
295.9548724365235,
245.6844891357423
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
13,
19,
27
],
"shape": 3,
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "LoadImage"
},
"widgets_values": [
"D04QPvc.jpg",
"image"
]
},
{
"id": 10,
"type": "ImageBlend",
"pos": [
1388,
518
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "image1",
"type": "IMAGE",
"link": 24
},
{
"name": "image2",
"type": "IMAGE",
"link": 25
}
],
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
35
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageBlend"
},
"widgets_values": [
0.56,
"screen"
]
},
{
"id": 13,
"type": "SaveImage",
"pos": [
1746,
157
],
"size": [
621.1948974609377,
604.6911083984376
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 35
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
}
],
"links": [
[
13,
3,
0,
7,
0,
"IMAGE"
],
[
15,
8,
0,
7,
1,
"INT"
],
[
16,
8,
1,
7,
2,
"INT"
],
[
19,
3,
0,
9,
0,
"IMAGE"
],
[
21,
1,
0,
9,
2,
"STRING"
],
[
23,
9,
0,
8,
0,
"IMAGE"
],
[
24,
9,
0,
10,
0,
"IMAGE"
],
[
25,
7,
0,
10,
1,
"IMAGE"
],
[
27,
3,
0,
11,
0,
"IMAGE"
],
[
28,
11,
0,
9,
1,
"IMAGE"
],
[
35,
10,
0,
13,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}