Files
chflame163-ComfyUI_WordCloud/workflow/comfy_wordcloud_advance.json
T

557 lines
8.7 KiB
JSON

{
"last_node_id": 18,
"last_link_id": 42,
"nodes": [
{
"id": 15,
"type": "PreviewImage",
"pos": [
1377,
29
],
"size": {
"0": 326.0002136230469,
"1": 305.6000671386719
},
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 37
}
],
"properties": {
"Node name for S&R": "PreviewImage"
}
},
{
"id": 1,
"type": "LoadTextFile",
"pos": [
592,
45
],
"size": {
"0": 289.6014709472656,
"1": 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": [
586,
164
],
"size": {
"0": 295.9548645019531,
"1": 314
},
"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": 11,
"type": "Image Rembg (Remove Background)",
"pos": [
584,
541
],
"size": {
"0": 315,
"1": 250
},
"flags": {},
"order": 3,
"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": 14,
"type": "RGB_Picker",
"pos": [
941,
26
],
"size": {
"0": 210,
"1": 94
},
"flags": {},
"order": 2,
"mode": 0,
"outputs": [
{
"name": "value",
"type": "STRING",
"links": [
36
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "RGB_Picker"
},
"widgets_values": [
"#ffffff",
"HEX"
]
},
{
"id": 9,
"type": "ComfyWordCloud",
"pos": [
940,
177
],
"size": {
"0": 394.4380187988281,
"1": 623.7396850585938
},
"flags": {},
"order": 4,
"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"
}
},
{
"name": "background_color",
"type": "STRING",
"link": 36,
"widget": {
"name": "background_color"
}
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
23,
37,
42
],
"shape": 3,
"slot_index": 0
},
{
"name": "mask",
"type": "MASK",
"links": null,
"shape": 3
}
],
"properties": {
"Node name for S&R": "ComfyWordCloud"
},
"widgets_values": [
"",
512,
512,
4,
0,
"锐字真言体RZZhenYan.ttf",
4,
128,
0.5,
"Oranges",
"#000000",
true,
0.9,
200,
false,
false,
-1,
"的,是,再",
0,
"#000000",
"重,大,新,闻",
60
]
},
{
"id": 13,
"type": "SaveImage",
"pos": [
1731,
35
],
"size": [
678.1050823120122,
754.5836868286134
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 40
}
],
"properties": {},
"widgets_values": [
"ComfyUI"
]
},
{
"id": 8,
"type": "GetImageSize",
"pos": [
1383,
391
],
"size": {
"0": 210,
"1": 46
},
"flags": {},
"order": 5,
"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": 7,
"type": "ImageScale",
"pos": [
1379,
493
],
"size": {
"0": 315,
"1": 130
},
"flags": {},
"order": 7,
"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": [
41
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "ImageScale"
},
"widgets_values": [
"nearest-exact",
512,
512,
"disabled"
]
},
{
"id": 18,
"type": "Image Blending Mode",
"pos": [
1379,
684
],
"size": {
"0": 315,
"1": 102
},
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"name": "image_a",
"type": "IMAGE",
"link": 42
},
{
"name": "image_b",
"type": "IMAGE",
"link": 41
}
],
"outputs": [
{
"name": "image",
"type": "IMAGE",
"links": [
40
],
"shape": 3,
"slot_index": 0
}
],
"properties": {
"Node name for S&R": "Image Blending Mode"
},
"widgets_values": [
"add",
0.55
]
}
],
"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"
],
[
27,
3,
0,
11,
0,
"IMAGE"
],
[
28,
11,
0,
9,
1,
"IMAGE"
],
[
36,
14,
0,
9,
3,
"STRING"
],
[
37,
9,
0,
15,
0,
"IMAGE"
],
[
40,
18,
0,
13,
0,
"IMAGE"
],
[
41,
7,
0,
18,
1,
"IMAGE"
],
[
42,
9,
0,
18,
0,
"IMAGE"
]
],
"groups": [],
"config": {},
"extra": {},
"version": 0.4
}