Files
aigc-home/docs/hel-892/watermark-document-evidence/source-graphs.json
T

1448 lines
29 KiB
JSON

{
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"raw_sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8",
"canonical_sha256": "2ad9c54aabf185db084a0773d0af8168ce7e5594e9d55e6959b57eb167e21c8b",
"nodes": [
{
"id": 1,
"type": "LayerUtility: AddBlindWaterMark",
"pos": [
6990,
4330
],
"size": [
290,
50
],
"flags": {},
"order": 9,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "IMAGE",
"link": 30
},
{
"localized_name": "水印图像",
"name": "watermark_image",
"type": "IMAGE",
"link": 31
}
],
"outputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"links": [
4,
8
]
}
],
"properties": {
"cnr_id": "comfyui_layerstyle_advance",
"ver": "2.0.38",
"Node name for S&R": "LayerUtility: AddBlindWaterMark",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 12,
"type": "Reroute",
"pos": [
6630,
4560
],
"size": [
75,
26
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 11
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
13,
14,
28,
30
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
}
},
{
"id": 5,
"type": "LoadImage",
"pos": [
6000,
4400
],
"size": [
430,
690
],
"flags": {},
"order": 0,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
11
]
},
{
"localized_name": "遮罩",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"ComfyUI_Qwen_00051_.png",
"image"
]
},
{
"id": 6,
"type": "LoadImage",
"pos": [
5990,
5170
],
"size": [
430,
480
],
"flags": {},
"order": 1,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
17
]
},
{
"localized_name": "遮罩",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"1772086821573.png",
"image"
]
},
{
"id": 20,
"type": "CameraWatermarkNode",
"pos": [
6990,
5690
],
"size": [
300,
730
],
"flags": {},
"order": 8,
"mode": 0,
"inputs": [
{
"localized_name": "image",
"name": "image",
"type": "IMAGE",
"link": 28
},
{
"localized_name": "exif_data",
"name": "exif_data",
"shape": 7,
"type": "STRING",
"link": null
},
{
"localized_name": "layout",
"name": "layout",
"type": "COMBO",
"widget": {
"name": "layout"
},
"link": null
},
{
"localized_name": "restore_preset",
"name": "restore_preset",
"type": "BOOLEAN",
"widget": {
"name": "restore_preset"
},
"link": null
},
{
"localized_name": "randomize_style",
"name": "randomize_style",
"type": "BOOLEAN",
"widget": {
"name": "randomize_style"
},
"link": null
},
{
"localized_name": "random_style_selection",
"name": "random_style_selection",
"type": "STRING",
"widget": {
"name": "random_style_selection"
},
"link": null
},
{
"localized_name": "seed",
"name": "seed",
"type": "INT",
"widget": {
"name": "seed"
},
"link": null
},
{
"localized_name": "use_exif",
"name": "use_exif",
"type": "BOOLEAN",
"widget": {
"name": "use_exif"
},
"link": null
},
{
"localized_name": "block_a_text_1",
"name": "block_a_text_1",
"type": "STRING",
"widget": {
"name": "block_a_text_1"
},
"link": null
},
{
"localized_name": "block_a_text_2",
"name": "block_a_text_2",
"type": "STRING",
"widget": {
"name": "block_a_text_2"
},
"link": null
},
{
"localized_name": "block_a_text_3",
"name": "block_a_text_3",
"type": "STRING",
"widget": {
"name": "block_a_text_3"
},
"link": null
},
{
"localized_name": "block_b_text_1",
"name": "block_b_text_1",
"type": "STRING",
"widget": {
"name": "block_b_text_1"
},
"link": null
},
{
"localized_name": "block_b_text_2",
"name": "block_b_text_2",
"type": "STRING",
"widget": {
"name": "block_b_text_2"
},
"link": null
},
{
"localized_name": "block_b_text_3",
"name": "block_b_text_3",
"type": "STRING",
"widget": {
"name": "block_b_text_3"
},
"link": null
},
{
"localized_name": "logo",
"name": "logo",
"type": "COMBO",
"widget": {
"name": "logo"
},
"link": null
},
{
"localized_name": "logo_size_ratio",
"name": "logo_size_ratio",
"type": "FLOAT",
"widget": {
"name": "logo_size_ratio"
},
"link": null
},
{
"localized_name": "bar_size",
"name": "bar_size",
"type": "INT",
"widget": {
"name": "bar_size"
},
"link": null
},
{
"localized_name": "bar_width",
"name": "bar_width",
"type": "INT",
"widget": {
"name": "bar_width"
},
"link": null
},
{
"localized_name": "bar_height",
"name": "bar_height",
"type": "INT",
"widget": {
"name": "bar_height"
},
"link": null
},
{
"localized_name": "padding",
"name": "padding",
"type": "INT",
"widget": {
"name": "padding"
},
"link": null
},
{
"localized_name": "spacing",
"name": "spacing",
"type": "INT",
"widget": {
"name": "spacing"
},
"link": null
},
{
"localized_name": "font_name",
"name": "font_name",
"type": "COMBO",
"widget": {
"name": "font_name"
},
"link": null
},
{
"localized_name": "font_bold_name",
"name": "font_bold_name",
"type": "COMBO",
"widget": {
"name": "font_bold_name"
},
"link": null
},
{
"localized_name": "font_size_large",
"name": "font_size_large",
"type": "INT",
"widget": {
"name": "font_size_large"
},
"link": null
},
{
"localized_name": "font_size_medium",
"name": "font_size_medium",
"type": "INT",
"widget": {
"name": "font_size_medium"
},
"link": null
},
{
"localized_name": "font_size_small",
"name": "font_size_small",
"type": "INT",
"widget": {
"name": "font_size_small"
},
"link": null
},
{
"localized_name": "bg_color",
"name": "bg_color",
"type": "STRING",
"widget": {
"name": "bg_color"
},
"link": null
},
{
"localized_name": "title_color",
"name": "title_color",
"type": "STRING",
"widget": {
"name": "title_color"
},
"link": null
},
{
"localized_name": "subtitle_color",
"name": "subtitle_color",
"type": "STRING",
"widget": {
"name": "subtitle_color"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
29
]
}
],
"properties": {
"aux_id": "karas17/ComfyUI-Camera-Watermark",
"ver": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7",
"Node name for S&R": "CameraWatermarkNode",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"1. 底部留白 - 左右分布",
false,
false,
"1-10",
166434517983310,
"randomize",
true,
"iPhone 15 Pro Max",
"Main Camera",
"© KARAS",
"SONY",
"24mm | f/1.8 | 1/125s | ISO 50",
"",
"leica",
1,
200,
1894,
165,
50,
15,
"Alibaba-PuHuiTi-Bold.ttf",
"Alibaba-PuHuiTi-Bold.ttf",
48,
28,
24,
"#FFFFFF",
"#000000",
"#888888"
]
},
{
"id": 16,
"type": "LayerUtility: ShowBlindWaterMark",
"pos": [
7470,
3560
],
"size": [
240,
30
],
"flags": {},
"order": 5,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "IMAGE",
"link": 22
}
],
"outputs": [
{
"localized_name": "watermark_image",
"name": "watermark_image",
"type": "IMAGE",
"links": [
23
]
}
],
"properties": {
"cnr_id": "comfyui_layerstyle_advance",
"ver": "2.0.38",
"Node name for S&R": "LayerUtility: ShowBlindWaterMark",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 17,
"type": "PreviewImage",
"pos": [
8020,
3570
],
"size": [
140,
250
],
"flags": {},
"order": 10,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 23
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 10,
"type": "LoadImage",
"pos": [
6810,
3550
],
"size": [
270,
320
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "COMBO",
"widget": {
"name": "image"
},
"link": null
},
{
"localized_name": "选择文件上传",
"name": "upload",
"type": "IMAGEUPLOAD",
"widget": {
"name": "upload"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
22
]
},
{
"localized_name": "遮罩",
"name": "MASK",
"type": "MASK",
"links": null
}
],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "LoadImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"ComfyUI_temp_pkyyb_00001_.png",
"image"
]
},
{
"id": 7,
"type": "PreviewImage",
"pos": [
7420,
3930
],
"size": [
300,
470
],
"flags": {},
"order": 14,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 4
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 14,
"type": "Reroute",
"pos": [
6610,
5160
],
"size": [
75,
26
],
"flags": {},
"order": 4,
"mode": 0,
"inputs": [
{
"name": "",
"type": "*",
"link": 17
}
],
"outputs": [
{
"name": "",
"type": "IMAGE",
"links": [
31
]
}
],
"properties": {
"showOutputText": false,
"horizontal": false,
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
}
},
{
"id": 8,
"type": "LayerUtility: ShowBlindWaterMark",
"pos": [
7840,
4320
],
"size": [
240,
30
],
"flags": {},
"order": 15,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "image",
"type": "IMAGE",
"link": 8
}
],
"outputs": [
{
"localized_name": "watermark_image",
"name": "watermark_image",
"type": "IMAGE",
"links": [
6
]
}
],
"properties": {
"cnr_id": "comfyui_layerstyle_advance",
"ver": "2.0.38",
"Node name for S&R": "LayerUtility: ShowBlindWaterMark",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [],
"color": "rgba(38, 73, 116, 0.7)"
},
{
"id": 9,
"type": "PreviewImage",
"pos": [
8440,
4340
],
"size": [
360,
470
],
"flags": {},
"order": 16,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 6
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 15,
"type": "PreviewImage",
"pos": [
7630,
5690
],
"size": [
380,
680
],
"flags": {},
"order": 13,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 29
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 11,
"type": "PreviewImage",
"pos": [
7650,
4480
],
"size": [
350,
570
],
"flags": {},
"order": 11,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 10
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 13,
"type": "PreviewImage",
"pos": [
7650,
5100
],
"size": [
370,
530
],
"flags": {},
"order": 12,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "images",
"type": "IMAGE",
"link": 16
}
],
"outputs": [],
"properties": {
"cnr_id": "comfy-core",
"ver": "0.25.0",
"Node name for S&R": "PreviewImage",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
},
{
"id": 3,
"type": "CR Simple Text Watermark",
"pos": [
7000,
4550
],
"size": [
270,
270
],
"flags": {},
"order": 6,
"mode": 0,
"inputs": [
{
"label": "图像",
"localized_name": "图像",
"name": "image",
"type": "IMAGE",
"link": 13
},
{
"label": "文本",
"localized_name": "文本",
"name": "text",
"type": "STRING",
"widget": {
"name": "text"
},
"link": null
},
{
"label": "对齐到",
"localized_name": "对齐到",
"name": "align",
"type": "COMBO",
"widget": {
"name": "align"
},
"link": null
},
{
"label": "不透明度",
"localized_name": "不透明度",
"name": "opacity",
"type": "FLOAT",
"widget": {
"name": "opacity"
},
"link": null
},
{
"label": "字体",
"localized_name": "字体",
"name": "font_name",
"type": "COMBO",
"widget": {
"name": "font_name"
},
"link": null
},
{
"localized_name": "font_size",
"name": "font_size",
"type": "INT",
"widget": {
"name": "font_size"
},
"link": null
},
{
"label": "字体颜色",
"localized_name": "字体颜色",
"name": "font_color",
"type": "COMBO",
"widget": {
"name": "font_color"
},
"link": null
},
{
"label": "X页边距",
"localized_name": "X页边距",
"name": "x_margin",
"type": "INT",
"widget": {
"name": "x_margin"
},
"link": null
},
{
"label": "Y页边距",
"localized_name": "Y页边距",
"name": "y_margin",
"type": "INT",
"widget": {
"name": "y_margin"
},
"link": null
},
{
"label": "字体颜色HEX",
"localized_name": "字体颜色HEX",
"name": "font_color_hex",
"shape": 7,
"type": "STRING",
"widget": {
"name": "font_color_hex"
},
"link": null
}
],
"outputs": [
{
"label": "图像",
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
10
]
},
{
"label": "显示帮助",
"localized_name": "显示帮助",
"name": "show_help",
"type": "STRING",
"links": null
}
],
"title": "文本水印(简易)",
"properties": {
"cnr_id": "ComfyUI_Comfyroll_CustomNodes",
"ver": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"Node name for S&R": "CR Simple Text Watermark",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"@ by Bright",
"center",
0.5,
"Caveat-VariableFont_wght.ttf",
150,
"white",
20,
20,
"#000000"
]
},
{
"id": 2,
"type": "孤海-图像添加水印",
"pos": [
7010,
5100
],
"size": [
270,
380
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"localized_name": "图像",
"name": "图像",
"type": "IMAGE",
"link": 14
},
{
"localized_name": "水印图像",
"name": "水印图像",
"shape": 7,
"type": "IMAGE",
"link": null
},
{
"localized_name": "水印文本",
"name": "水印文本",
"type": "STRING",
"widget": {
"name": "水印文本"
},
"link": null
},
{
"localized_name": "字体",
"name": "字体",
"type": "COMBO",
"widget": {
"name": "字体"
},
"link": null
},
{
"localized_name": "水印大小百分比",
"name": "水印大小百分比",
"type": "INT",
"widget": {
"name": "水印大小百分比"
},
"link": null
},
{
"localized_name": "水印不透明度",
"name": "水印不透明度",
"type": "INT",
"widget": {
"name": "水印不透明度"
},
"link": null
},
{
"localized_name": "水平位置",
"name": "水平位置",
"type": "COMBO",
"widget": {
"name": "水平位置"
},
"link": null
},
{
"localized_name": "垂直位置",
"name": "垂直位置",
"type": "COMBO",
"widget": {
"name": "垂直位置"
},
"link": null
},
{
"localized_name": "X偏移百分比",
"name": "X偏移百分比",
"type": "INT",
"widget": {
"name": "X偏移百分比"
},
"link": null
},
{
"localized_name": "Y偏移百分比",
"name": "Y偏移百分比",
"type": "INT",
"widget": {
"name": "Y偏移百分比"
},
"link": null
},
{
"localized_name": "文字颜色",
"name": "文字颜色",
"type": "COLORCODE",
"widget": {
"name": "文字颜色"
},
"link": null
},
{
"localized_name": "水印平铺",
"name": "水印平铺",
"type": "BOOLEAN",
"widget": {
"name": "水印平铺"
},
"link": null
},
{
"localized_name": "水印角度",
"name": "水印角度",
"type": "INT",
"widget": {
"name": "水印角度"
},
"link": null
},
{
"localized_name": "水印间距",
"name": "水印间距",
"type": "INT",
"widget": {
"name": "水印间距"
},
"link": null
},
{
"localized_name": "输出透明通道",
"name": "输出透明通道",
"type": "BOOLEAN",
"widget": {
"name": "输出透明通道"
},
"link": null
}
],
"outputs": [
{
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
16
]
}
],
"properties": {
"aux_id": "goohai/Goohaitools-comfyui",
"ver": "0b267384faaa9201c821c68dfa3dacd784da171d",
"Node name for S&R": "孤海-图像添加水印",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": [
"@ by Bright",
"华文细黑.ttf",
15,
75,
"居中",
"居中",
0,
0,
"#ece4e4",
false,
60,
22,
false
]
}
],
"links": [
[
4,
1,
0,
7,
0,
"IMAGE"
],
[
6,
8,
0,
9,
0,
"IMAGE"
],
[
8,
1,
0,
8,
0,
"IMAGE"
],
[
10,
3,
0,
11,
0,
"IMAGE"
],
[
11,
5,
0,
12,
0,
"IMAGE"
],
[
13,
12,
0,
3,
0,
"IMAGE"
],
[
14,
12,
0,
2,
0,
"IMAGE"
],
[
16,
2,
0,
13,
0,
"IMAGE"
],
[
17,
6,
0,
14,
0,
"IMAGE"
],
[
22,
10,
0,
16,
0,
"IMAGE"
],
[
23,
16,
0,
17,
0,
"IMAGE"
],
[
28,
12,
0,
20,
0,
"IMAGE"
],
[
29,
20,
0,
15,
0,
"IMAGE"
],
[
30,
12,
0,
1,
0,
"IMAGE"
],
[
31,
14,
0,
1,
1,
"IMAGE"
]
],
"extra": {
"ue_links": [],
"links_added_by_ue": [],
"ds": {
"scale": 1.1918176537727763,
"offset": [
-6593.846819738368,
-4832.937657309417
]
}
},
"saved_positions": 56,
"scalar_positions": 56,
"notes": 0,
"missing_widgets": [
12,
14
],
"empty_widgets": [
1,
16,
17,
7,
8,
9,
15,
11,
13
]
}