From 459d7fd86601a9901b4aa19752eaa5680bb6072a Mon Sep 17 00:00:00 2001 From: leefer Date: Fri, 30 Oct 2026 21:08:43 +0800 Subject: [PATCH] HEL-892: document four watermark branches with pinned static sources Co-authored-by: multica-agent --- .../src/calliope/comfyui/fixed_document.py | 4 + .../src/calliope/comfyui/source_reviews.json | 2174 ++++- .../tests/test_background_fixed_document.py | 4 +- .../tests/test_birefnet_fixed_document.py | 4 +- .../tests/test_concat_fixed_document.py | 4 +- .../tests/test_controlnet_fixed_document.py | 2 +- .../tests/test_frames_fixed_document.py | 4 +- .../tests/test_gemma_fixed_document.py | 4 +- .../tests/test_gif_images_fixed_document.py | 4 +- .../tests/test_grid_fixed_document.py | 4 +- .../tests/test_latent_fixed_document.py | 4 +- .../tests/test_nlf_fixed_document.py | 6 +- .../tests/test_openpose_fixed_document.py | 6 +- .../tests/test_reverse_fixed_document.py | 6 +- .../tests/test_sdpose_fixed_document.py | 5 +- .../tests/test_watermark_fixed_document.py | 297 + .../watermark-document-evidence/.gitignore | 2 + .../actual-图像4种添加水印节点.json | 3393 +++++++ .../audit-summary.json | 24 + .../backend-initial.txt | 425 + .../backend-second.txt | 67 + .../watermark-document-evidence/backend.txt | 13 + .../boundaries.json | 728 ++ .../browser-initial.txt | 1401 +++ .../browser-results.json | 1853 ++++ .../watermark-document-evidence/build.txt | 4 + .../build_definition.py | 917 ++ .../build_layer_editorial.py | 110 + .../commit-identity-note.txt | 1 + .../definition-0.json | 2172 ++++ .../delivery-summary.md | 16 + .../diff-check.txt | 0 .../discover_sources.py | 83 + .../discovery-errors.txt | 0 .../watermark-document-evidence/discovery.txt | 6 + .../extra-discovery-second.txt | 1 + .../extra-discovery.txt | 1 + .../extra-errors-second.txt | 0 .../extra-errors.txt | 0 .../fetch_extra_sources.py | 86 + .../fixed-source-index.json | 554 ++ .../format-fourth.txt | 1 + .../format-initial.txt | 1 + .../format-second.txt | 1 + .../format-third.txt | 1 + .../watermark-document-evidence/format.txt | 1 + .../frozen-resource-check.json | 771 ++ .../import-protection.json | 69 + .../watermark-document-evidence/js-syntax.txt | 0 .../layer-editorial.json | 170 + .../lint-initial.txt | 1099 +++ .../lint-second.txt | 165 + .../lint-third.txt | 66 + .../watermark-document-evidence/lint.txt | 1 + .../original-binding.json | 4 + .../package-check.json | 23 + .../watermark-document-evidence/pins.json | 3 + .../pr-before.json | 8 + .../rebuild-errors.txt | 0 .../watermark-document-evidence/rebuild.py | 64 + .../watermark-document-evidence/rebuild.txt | 1 + .../recompute-initial.txt | 2 + .../watermark-document-evidence/recompute.py | 330 + .../watermark-document-evidence/recompute.txt | 2 + .../render_report.py | 117 + .../repeat-final.txt | 1 + .../watermark-document-evidence/repeat.py | 42 + .../watermark-document-evidence/repeat.txt | 1 + .../repeatability.json | 10 + .../request-counts.txt | 1 + .../request_counts.py | 39 + .../review-delta.json | 15 + .../server-request-accounting.json | 39 + .../watermark-document-evidence/service-0.txt | 102 + .../watermark-document-evidence/service-1.txt | 11 + .../service-stop.json | 7 + .../source-check.json | 128 + .../source-graphs.json | 1447 +++ .../staged-diff-check.txt | 2327 +++++ .../tested-files.json | 225 + .../tests-initial.txt | 13 + .../validation-commands.txt | 24 + .../verify_sources.py | 91 + .../watermark-reference/camera-tree.json | 1098 +++ .../watermark-reference/camera____init__.py | 654 ++ .../watermark-reference/core-tree.json | 8692 +++++++++++++++++ .../hel-892/watermark-reference/core__LICENSE | 674 ++ ...ore__comfy_api__input_impl__video_types.py | 2 + .../watermark-reference/core__nodes.py | 2529 +++++ docs/hel-892/watermark-reference/cr-tree.json | 1197 +++ .../watermark-reference/cr____init__.py | 30 + .../watermark-reference/cr__categories.py | 43 + .../hel-892/watermark-reference/cr__config.py | 77 + .../watermark-reference/cr__node_mappings.py | 532 + .../cr__nodes__functions_graphics.py | 484 + .../cr__nodes__nodes_graphics_text.py | 501 + .../watermark-reference/guhai-tree.json | 3081 ++++++ .../watermark-reference/guhai____init__.py | 49 + .../guhai__nodes__图像添加水印.py | 259 + .../layer-package-list.json | 631 ++ .../layer-registry-2.0.38.json | 1 + .../watermark-reference/layer__LICENSE | 21 + .../watermark-reference/layer____init__.py | 48 + .../layer__py__imagefunc.py | 2581 +++++ .../layer__py__watermark.py | 112 + .../watermark-reference/layer__pyproject.toml | 15 + .../layer__requirements.txt | 42 + docs/hel-892/watermark-reference/pins.json | 22 + docs/hel-892/四种水印固定参考中文说明.md | 1660 ++++ e2e/run-watermark-document.py | 78 + e2e/watermark-document.mjs | 102 + 111 files changed, 47013 insertions(+), 14 deletions(-) create mode 100644 calliope-backend/tests/test_watermark_fixed_document.py create mode 100644 docs/hel-892/watermark-document-evidence/.gitignore create mode 100644 docs/hel-892/watermark-document-evidence/actual-图像4种添加水印节点.json create mode 100644 docs/hel-892/watermark-document-evidence/audit-summary.json create mode 100644 docs/hel-892/watermark-document-evidence/backend-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/backend-second.txt create mode 100644 docs/hel-892/watermark-document-evidence/backend.txt create mode 100644 docs/hel-892/watermark-document-evidence/boundaries.json create mode 100644 docs/hel-892/watermark-document-evidence/browser-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/browser-results.json create mode 100644 docs/hel-892/watermark-document-evidence/build.txt create mode 100644 docs/hel-892/watermark-document-evidence/build_definition.py create mode 100644 docs/hel-892/watermark-document-evidence/build_layer_editorial.py create mode 100644 docs/hel-892/watermark-document-evidence/commit-identity-note.txt create mode 100644 docs/hel-892/watermark-document-evidence/definition-0.json create mode 100644 docs/hel-892/watermark-document-evidence/delivery-summary.md create mode 100644 docs/hel-892/watermark-document-evidence/diff-check.txt create mode 100644 docs/hel-892/watermark-document-evidence/discover_sources.py create mode 100644 docs/hel-892/watermark-document-evidence/discovery-errors.txt create mode 100644 docs/hel-892/watermark-document-evidence/discovery.txt create mode 100644 docs/hel-892/watermark-document-evidence/extra-discovery-second.txt create mode 100644 docs/hel-892/watermark-document-evidence/extra-discovery.txt create mode 100644 docs/hel-892/watermark-document-evidence/extra-errors-second.txt create mode 100644 docs/hel-892/watermark-document-evidence/extra-errors.txt create mode 100644 docs/hel-892/watermark-document-evidence/fetch_extra_sources.py create mode 100644 docs/hel-892/watermark-document-evidence/fixed-source-index.json create mode 100644 docs/hel-892/watermark-document-evidence/format-fourth.txt create mode 100644 docs/hel-892/watermark-document-evidence/format-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/format-second.txt create mode 100644 docs/hel-892/watermark-document-evidence/format-third.txt create mode 100644 docs/hel-892/watermark-document-evidence/format.txt create mode 100644 docs/hel-892/watermark-document-evidence/frozen-resource-check.json create mode 100644 docs/hel-892/watermark-document-evidence/import-protection.json create mode 100644 docs/hel-892/watermark-document-evidence/js-syntax.txt create mode 100644 docs/hel-892/watermark-document-evidence/layer-editorial.json create mode 100644 docs/hel-892/watermark-document-evidence/lint-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/lint-second.txt create mode 100644 docs/hel-892/watermark-document-evidence/lint-third.txt create mode 100644 docs/hel-892/watermark-document-evidence/lint.txt create mode 100644 docs/hel-892/watermark-document-evidence/original-binding.json create mode 100644 docs/hel-892/watermark-document-evidence/package-check.json create mode 100644 docs/hel-892/watermark-document-evidence/pins.json create mode 100644 docs/hel-892/watermark-document-evidence/pr-before.json create mode 100644 docs/hel-892/watermark-document-evidence/rebuild-errors.txt create mode 100644 docs/hel-892/watermark-document-evidence/rebuild.py create mode 100644 docs/hel-892/watermark-document-evidence/rebuild.txt create mode 100644 docs/hel-892/watermark-document-evidence/recompute-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/recompute.py create mode 100644 docs/hel-892/watermark-document-evidence/recompute.txt create mode 100644 docs/hel-892/watermark-document-evidence/render_report.py create mode 100644 docs/hel-892/watermark-document-evidence/repeat-final.txt create mode 100644 docs/hel-892/watermark-document-evidence/repeat.py create mode 100644 docs/hel-892/watermark-document-evidence/repeat.txt create mode 100644 docs/hel-892/watermark-document-evidence/repeatability.json create mode 100644 docs/hel-892/watermark-document-evidence/request-counts.txt create mode 100644 docs/hel-892/watermark-document-evidence/request_counts.py create mode 100644 docs/hel-892/watermark-document-evidence/review-delta.json create mode 100644 docs/hel-892/watermark-document-evidence/server-request-accounting.json create mode 100644 docs/hel-892/watermark-document-evidence/service-0.txt create mode 100644 docs/hel-892/watermark-document-evidence/service-1.txt create mode 100644 docs/hel-892/watermark-document-evidence/service-stop.json create mode 100644 docs/hel-892/watermark-document-evidence/source-check.json create mode 100644 docs/hel-892/watermark-document-evidence/source-graphs.json create mode 100644 docs/hel-892/watermark-document-evidence/staged-diff-check.txt create mode 100644 docs/hel-892/watermark-document-evidence/tested-files.json create mode 100644 docs/hel-892/watermark-document-evidence/tests-initial.txt create mode 100644 docs/hel-892/watermark-document-evidence/validation-commands.txt create mode 100644 docs/hel-892/watermark-document-evidence/verify_sources.py create mode 100644 docs/hel-892/watermark-reference/camera-tree.json create mode 100644 docs/hel-892/watermark-reference/camera____init__.py create mode 100644 docs/hel-892/watermark-reference/core-tree.json create mode 100644 docs/hel-892/watermark-reference/core__LICENSE create mode 100644 docs/hel-892/watermark-reference/core__comfy_api__input_impl__video_types.py create mode 100644 docs/hel-892/watermark-reference/core__nodes.py create mode 100644 docs/hel-892/watermark-reference/cr-tree.json create mode 100644 docs/hel-892/watermark-reference/cr____init__.py create mode 100644 docs/hel-892/watermark-reference/cr__categories.py create mode 100644 docs/hel-892/watermark-reference/cr__config.py create mode 100644 docs/hel-892/watermark-reference/cr__node_mappings.py create mode 100644 docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py create mode 100644 docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py create mode 100644 docs/hel-892/watermark-reference/guhai-tree.json create mode 100644 docs/hel-892/watermark-reference/guhai____init__.py create mode 100644 docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py create mode 100644 docs/hel-892/watermark-reference/layer-package-list.json create mode 100644 docs/hel-892/watermark-reference/layer-registry-2.0.38.json create mode 100644 docs/hel-892/watermark-reference/layer__LICENSE create mode 100644 docs/hel-892/watermark-reference/layer____init__.py create mode 100644 docs/hel-892/watermark-reference/layer__py__imagefunc.py create mode 100644 docs/hel-892/watermark-reference/layer__py__watermark.py create mode 100644 docs/hel-892/watermark-reference/layer__pyproject.toml create mode 100644 docs/hel-892/watermark-reference/layer__requirements.txt create mode 100644 docs/hel-892/watermark-reference/pins.json create mode 100644 docs/hel-892/四种水印固定参考中文说明.md create mode 100644 e2e/run-watermark-document.py create mode 100644 e2e/watermark-document.mjs diff --git a/calliope-backend/src/calliope/comfyui/fixed_document.py b/calliope-backend/src/calliope/comfyui/fixed_document.py index 08527b99..e3c051c8 100644 --- a/calliope-backend/src/calliope/comfyui/fixed_document.py +++ b/calliope-backend/src/calliope/comfyui/fixed_document.py @@ -15,6 +15,10 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc # Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust. DEFINITIONS = { + ( + "example_ComfyUI_workflows/0-基础处理:图像合并-音频" + "分离-视频截取合并-图像视频放大/图像4种添加水印节点.json" + ): "1fe4c97b9f7f7576b894041f7ab166fb0ed13e0fcc86a4b371638dc2770d995e", ( "example_ComfyUI_workflows/0-基础处理:图像合并-音频" "分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json" diff --git a/calliope-backend/src/calliope/comfyui/source_reviews.json b/calliope-backend/src/calliope/comfyui/source_reviews.json index a933cd95..03a92c33 100644 --- a/calliope-backend/src/calliope/comfyui/source_reviews.json +++ b/calliope-backend/src/calliope/comfyui/source_reviews.json @@ -17059,7 +17059,2179 @@ "scope": [ "结构及用途局部审校", "源具名参数/注释/连线/素材模型用途人工语义局部审校" - ] + ], + "fixed_version_document": { + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "source_sha1": "303dca71c55e659a7033b3d14d5885bc8a36ae7a", + "source_sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8", + "canonical_sha256": "2ad9c54aabf185db084a0773d0af8168ce7e5594e9d55e6959b57eb167e21c8b", + "notice": "固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和实际效果未知,未实跑,转换保持关闭。", + "user_overview": "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "versions": [ + "core准确固定v0.25.0→135abed8da169e33ab0b86550e05e3ae55d6df8c,只读静态文本,不证明目标安装。", + "camera准确固定c461dedc6ce65e1defe7308e97e7081cedcaf2a7→c461dedc6ce65e1defe7308e97e7081cedcaf2a7,只读静态文本,不证明目标安装。", + "cr准确固定d78b780ae43fcf8c6b7c6505e6ffb4584281ceca→d78b780ae43fcf8c6b7c6505e6ffb4584281ceca,只读静态文本,不证明目标安装。", + "guhai准确固定0b267384faaa9201c821c68dfa3dacd784da171d→0b267384faaa9201c821c68dfa3dacd784da171d,只读静态文本,不证明目标安装。", + "源没有frontendVersion;显式frontend1.43.17→f754141537fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。", + "core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知。", + "LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。" + ], + "counts": { + "saved_fields": 56, + "scalar_saved_positions": 56, + "history_objects": 0, + "source_nodes": 17, + "physical_edges": 15, + "source_notes": 0, + "linked_saved_fields": 0, + "frontend_only": 4, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "node_id": "5", + "definition_node_id": "5", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/2/widgets_values/0", + "field": "image", + "label": "四路共用底图引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点5独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "ComfyUI_Qwen_00051_.png", + "json_type": "str" + }, + { + "node_id": "5", + "definition_node_id": "5", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/2/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点5的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "6", + "definition_node_id": "6", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/3/widgets_values/0", + "field": "image", + "label": "盲水印内容图引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点6独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1772086821573.png", + "json_type": "str" + }, + { + "node_id": "6", + "definition_node_id": "6", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/3/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点6的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "10", + "definition_node_id": "10", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/7/widgets_values/0", + "field": "image", + "label": "独立提取支路的已加印图片引用引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点10独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "ComfyUI_temp_pkyyb_00001_.png", + "json_type": "str" + }, + { + "node_id": "10", + "definition_node_id": "10", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/7/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点10的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/0", + "field": "text", + "label": "水印文字", + "type": "STRING", + "schema_default": "@ your name", + "unit": "文字", + "limits": "单行字符串", + "effect": "在每张输入图片上绘制保存的@ by Bright,不改写文本。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "@ by Bright", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/1", + "field": "align", + "label": "文字对齐", + "type": "COMBO", + "schema_default": "未显式default,选项首项center", + "unit": "对齐枚举", + "limits": "center/top left/top center/top right/bottom left/bottom center/bottom right", + "effect": "保存center使文字边界框居中;此分支不使用x_margin或y_margin。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "center", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/2", + "field": "opacity", + "label": "文字不透明度", + "type": "FLOAT", + "schema_default": "0.30", + "unit": "比例", + "limits": "0~1,step0.01", + "effect": "保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0.5, + "json_type": "float" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/3", + "field": "font_name", + "label": "文字字体引用", + "type": "COMBO", + "schema_default": "动态fonts目录.ttf列表,无显式default", + "unit": "字体文件引用", + "limits": "目标动态成员/字形/许可未知", + "effect": "保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetype加载插件fonts下引用,无此处加载异常回退;不读取或下载字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Caveat-VariableFont_wght.ttf", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/4", + "field": "font_size", + "label": "文字字号", + "type": "INT", + "schema_default": "50", + "unit": "Pillow字号像素", + "limits": "1~1024", + "effect": "保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 150, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/5", + "field": "font_color", + "label": "文字颜色选项", + "type": "COMBO", + "schema_default": "无显式default,列表首项custom", + "unit": "颜色枚举", + "limits": "准确config.COLORS列表", + "effect": "保存white按color_mapping为(255,255,255),不会读取font_color_hex。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "white", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/6", + "field": "x_margin", + "label": "水平边距", + "type": "INT", + "schema_default": "20", + "unit": "像素", + "limits": "-1024~1024", + "effect": "保存20在非居中左右支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 20, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/7", + "field": "y_margin", + "label": "垂直边距", + "type": "INT", + "schema_default": "20", + "unit": "像素", + "limits": "-1024~1024", + "effect": "保存20在顶部/底部支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 20, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/8", + "field": "font_color_hex", + "label": "自定义文字HEX", + "type": "STRING", + "schema_default": "#000000", + "unit": "RGB十六进制字符串", + "limits": "只有font_color=custom才解析;不保证任意字符串有效", + "effect": "保存#000000,但white支路不采用;不能把它说成当前黑色水印。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#000000", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/0", + "field": "水印文本", + "label": "文字水印内容", + "type": "STRING", + "schema_default": "水印", + "unit": "文字", + "limits": "字符串;当前无外部水印图输入", + "effect": "保存@ by Bright;可选水印图像未接,固定实现走文字支路。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "@ by Bright", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/1", + "field": "字体", + "label": "文字字体引用", + "type": "COMBO", + "schema_default": "动态fonts目录,无显式default", + "unit": "字体文件引用", + "limits": ".ttf/.otf/.ttc动态成员与实际文件未知", + "effect": "保存华文细黑.ttf;按插件fonts引用,truetype异常回退ImageFont.load_default,不保证字形一致。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "华文细黑.ttf", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/2", + "field": "水印大小百分比", + "label": "文字大小百分比", + "type": "INT", + "schema_default": "5", + "unit": "底图高度百分比", + "limits": "0~100,step1;0在schema合法不保证绘制成功", + "effect": "保存15;文字字号int(原图高×15/100),不是文字宽度或图片水印比例。只有外部水印图分支才按水印自身尺寸百分比缩放。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 15, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/3", + "field": "水印不透明度", + "label": "文字不透明度", + "type": "INT", + "schema_default": "50", + "unit": "百分比", + "limits": "0~100,step1", + "effect": "保存75;十六进制颜色解析alpha=int(255×75/100),再按图层mask粘贴/alpha_composite,不能直接承诺最终alpha75%。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 75, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/4", + "field": "水平位置", + "label": "水平对齐", + "type": "COMBO", + "schema_default": "无显式default,首项居中", + "unit": "对齐枚举", + "limits": "居中/靠左/靠右", + "effect": "当前居中时x=(原图宽-水印宽)//2+X偏移像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "居中", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/5", + "field": "垂直位置", + "label": "垂直对齐", + "type": "COMBO", + "schema_default": "无显式default,首项居中", + "unit": "对齐枚举", + "limits": "居中/靠上/靠下", + "effect": "当前居中时y=(原图高-水印高)//2+Y偏移像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "居中", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/6", + "field": "X偏移百分比", + "label": "水平偏移", + "type": "INT", + "schema_default": "0", + "unit": "底图宽度百分比", + "limits": "0~50,step1", + "effect": "保存0;int(原图宽×X/100),居中向右加、靠右从右边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/7", + "field": "Y偏移百分比", + "label": "垂直偏移", + "type": "INT", + "schema_default": "0", + "unit": "底图高度百分比", + "limits": "0~50,step1", + "effect": "保存0;int(原图高×Y/100),居中向下加、靠下从下边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/8", + "field": "文字颜色", + "label": "文字颜色", + "type": "COLORCODE", + "schema_default": "#FFFFFF", + "unit": "RGB十六进制", + "limits": "解析前三对十六进制,非法输入不保证有效", + "effect": "保存#ece4e4,固定实现解析RGB并结合不透明度形成RGBA。前端COLORCODE控件恢复未证明,不靠字段名补宿主行为。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#ece4e4", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/9", + "field": "水印平铺", + "label": "平铺文字", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false;当前false", + "effect": "false走单一水印定位;true按旋转后的文字尺寸与间距重复粘贴,本图不走该分支。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/10", + "field": "水印角度", + "label": "文字旋转角度", + "type": "INT", + "schema_default": "0", + "unit": "度", + "limits": "-90~90,step1", + "effect": "保存60;旋转在平铺判断之前执行,BICUBIC且expand=True,所以关闭平铺仍作用于单一文字水印,不能说被忽略。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 60, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/11", + "field": "水印间距", + "label": "平铺文字间距", + "type": "INT", + "schema_default": "10", + "unit": "底图高度百分比", + "limits": "0~50,step1;仅平铺文字分支", + "effect": "保存22;只有平铺true才算int(原图高×22/100)作为行列间距。当前false不作用,不是22像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 22, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/12", + "field": "输出透明通道", + "label": "保留输出透明通道", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "当前false把RGBA结果转RGB再转tensor;true只是保留结果通道,不等于自动移除底图背景。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/0", + "field": "layout", + "label": "相机水印版式", + "type": "COMBO", + "schema_default": "无显式default,首项1. 底部留白 - 左右分布", + "unit": "版式枚举", + "limits": "固定LAYOUT_OPTIONS十项", + "effect": "保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_width/bar_height不参与此版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1. 底部留白 - 左右分布", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/1", + "field": "restore_preset", + "label": "恢复当前版式预设", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "false不以LAYOUT_PRESETS覆写保存参数。固定实现true时在随机版式选择后params.update预设;真实宿主回调/恢复未知。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/2", + "field": "randomize_style", + "label": "随机相机版式", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "false不调用random.seed/choice;保存seed不随机求值。与前端seed附加randomize控件是两件事。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/3", + "field": "random_style_selection", + "label": "随机版式候选", + "type": "STRING", + "schema_default": "1-10", + "unit": "编号范围字符串", + "limits": "逗号和闭区间,过滤为1~10;仅randomize_style=true", + "effect": "保存1-10。固定解析允许数字/区间,非法部分跳过;无有效候选保留当前版式。当前false不选择随机版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1-10", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/4", + "field": "seed", + "label": "随机版式种子保存值", + "type": "INT", + "schema_default": "0", + "unit": "整数种子", + "limits": "0~18446744073709551615;仅随机版式分支使用", + "effect": "保存166434517983310;附加前端randomize位独立。源未声明前端,不称最终提交seed,不运行随机。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 166434517983310, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/5", + "field": "control_after_generate", + "label": "种子附加前端控制", + "type": "前端控制", + "schema_default": "源前端版本未知;不认作后台默认", + "unit": "前端状态", + "limits": "保存randomize;不是第六个后台参数", + "effect": "此位置插在seed后,27个服务端控件加1前端控制共28位置;后面的use_exif不能移位成此值。固定参考前端策略也不证明本图真实恢复或最终seed。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "randomize", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/6", + "field": "use_exif", + "label": "优先外部EXIF", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "布尔开关", + "limits": "须同时有exif_data非空且strip()!=\"{}\"", + "effect": "保存true但exif_data外线未接,准确代码回退六个手工文本,不从IMAGE张量或图像引用自动读取EXIF。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": true, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/7", + "field": "block_a_text_1", + "label": "A区第1行文字", + "type": "STRING", + "schema_default": "\"iPhone 15 Pro Max\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "iPhone 15 Pro Max", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/8", + "field": "block_a_text_2", + "label": "A区第2行文字", + "type": "STRING", + "schema_default": "\"Main Camera\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Main Camera", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/9", + "field": "block_a_text_3", + "label": "A区第3行文字", + "type": "STRING", + "schema_default": "\"© KARAS\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "© KARAS", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/10", + "field": "block_b_text_1", + "label": "B区第1行文字", + "type": "STRING", + "schema_default": "\"SONY\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "SONY", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/11", + "field": "block_b_text_2", + "label": "B区第2行文字", + "type": "STRING", + "schema_default": "\"24mm | f/1.8 | 1/125s | ISO 50\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "24mm | f/1.8 | 1/125s | ISO 50", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/12", + "field": "block_b_text_3", + "label": "B区第3行文字", + "type": "STRING", + "schema_default": "\"\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/13", + "field": "logo", + "label": "相机标志引用", + "type": "COMBO", + "schema_default": "存在leica时选leica,否则动态列表首项", + "unit": "logo文件引用", + "limits": "None加插件logos目录PNG名称;目标成员/许可未知", + "effect": "保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "leica", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/14", + "field": "logo_size_ratio", + "label": "标志尺寸倍率", + "type": "FLOAT", + "schema_default": "1.0", + "unit": "倍数", + "limits": "0.1~3.0,step0.1", + "effect": "保存整数1(保留JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 1, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/15", + "field": "bar_size", + "label": "信息条厚度", + "type": "INT", + "schema_default": "200", + "unit": "参考像素", + "limits": "0~2048,step10", + "effect": "保存200。第1版式在底部增加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 200, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/16", + "field": "bar_width", + "label": "备用独立画布宽", + "type": "INT", + "schema_default": "1894", + "unit": "参考像素", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "effect": "保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不能因名称独立信息条就称使用bar_width。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 1894, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/17", + "field": "bar_height", + "label": "备用独立画布高", + "type": "INT", + "schema_default": "165", + "unit": "参考像素", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "effect": "保存165;当前第1版式不使用,仅else画布按scale_factor缩放。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 165, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/18", + "field": "padding", + "label": "版式边距", + "type": "INT", + "schema_default": "50", + "unit": "参考像素", + "limits": "0~400,step1", + "effect": "保存50;int(50×scale_factor),第1版式左右组与条边缘间距,真实文字边界依赖字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 50, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/19", + "field": "spacing", + "label": "文本与元素间隔", + "type": "INT", + "schema_default": "15", + "unit": "参考像素", + "limits": "0~200,step1", + "effect": "保存15;int(15×scale_factor),用于文本行以及标志/文本间隔。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 15, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/20", + "field": "font_name", + "label": "常规文字字体引用", + "type": "COMBO", + "schema_default": "动态字体列表,无显式default", + "unit": "字体文件引用", + "limits": ".ttf/.ttc/.otf;实际文件和字形未知", + "effect": "保存Alibaba-PuHuiTi-Bold.ttf;此名称用于medium/small,与粗体引用独立保留,即使值相同也不去重。加载失败回退默认字体,不保证效果。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Alibaba-PuHuiTi-Bold.ttf", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/21", + "field": "font_bold_name", + "label": "标题粗体字体引用", + "type": "COMBO", + "schema_default": "动态bold/bd子集或完整字体列表,无显式default", + "unit": "字体文件引用", + "limits": "实际成员/字形/许可未知", + "effect": "保存同名Alibaba-PuHuiTi-Bold.ttf,用于large_bold;按名称筛选不证明真正字体粗细。不下载字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Alibaba-PuHuiTi-Bold.ttf", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/22", + "field": "font_size_large", + "label": "大标题字号", + "type": "INT", + "schema_default": "48", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存48;int(48×scale_factor)传给粗体字体,两区第1行使用。小图可能缩至更低,schema范围不等于实际字号范围。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 48, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/23", + "field": "font_size_medium", + "label": "中号文字字号", + "type": "INT", + "schema_default": "28", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存28;int(28×scale_factor)传给常规字体,两区第2行使用。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 28, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/24", + "field": "font_size_small", + "label": "小号文字字号", + "type": "INT", + "schema_default": "24", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存24;int(24×scale_factor)传给常规字体,两区第3行使用;B3为空不绘制。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 24, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/25", + "field": "bg_color", + "label": "信息条背景色", + "type": "STRING", + "schema_default": "#FFFFFF", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制;实际合法性未知", + "effect": "保存#FFFFFF,当前底部条画布用此背景;不代表原图背景被改白。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#FFFFFF", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/26", + "field": "title_color", + "label": "标题文字颜色", + "type": "STRING", + "schema_default": "#000000", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制", + "effect": "保存#000000,A/B区第一行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#000000", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/27", + "field": "subtitle_color", + "label": "副文字颜色", + "type": "STRING", + "schema_default": "#888888", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制", + "effect": "保存#888888,A/B区第二与第三行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#888888", + "json_type": "str" + } + ], + "sources": [ + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1695, + 1770 + ], + "claim": "core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出" + }, + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1622, + 1693 + ], + "claim": "PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽" + }, + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 2023, + 2065 + ], + "claim": "LoadImage和PreviewImage旧式准确注册" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/nodes_graphics_text.py", + "local_file": "../watermark-reference/cr__nodes__nodes_graphics_text.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb", + "lines": [ + 356, + 448 + ], + "claim": "Comfyroll准确九字段schema、批次循环、位置、字体和合成" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 358, + 377 + ], + "claim": "只有custom使用HEX,其它颜色按color_mapping" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 421, + 431 + ], + "claim": "RGBA alpha按opacity减弱" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "config.py", + "local_file": "../watermark-reference/cr__config.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd", + "lines": [ + 1, + 35 + ], + "claim": "Comfyroll颜色选项与white映射" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "node_mappings.py", + "local_file": "../watermark-reference/cr__node_mappings.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633", + "lines": [ + 1, + 532 + ], + "claim": "包入口引入node_mappings,CR准确类注册链" + }, + { + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "nodes/图像添加水印.py", + "local_file": "../watermark-reference/guhai__nodes__图像添加水印.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0", + "lines": [ + 1, + 259 + ], + "claim": "孤海准确schema、文字与图像支路、旋转/平铺、通道与注册" + }, + { + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "__init__.py", + "local_file": "../watermark-reference/guhai____init__.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952", + "lines": [ + 1, + 48 + ], + "claim": "孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 230, + 269 + ], + "claim": "Camera准确27服务端控件schema及可选exif_data" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 314, + 365 + ], + "claim": "样式范围解析和EXIF外线条件、手工文案回退、logo选择" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 407, + 650 + ], + "claim": "随机/预设条件、1200宽动态缩放、字体、画布和logo绘制" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 20, + 121 + ], + "claim": "字体/logo动态枚举、十种版式及预设" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 271, + 295 + ], + "claim": "tensor转换与字体缓存/加载失败回退" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 645, + 654 + ], + "claim": "Camera准确注册;该完整树没有JS文件,不证明宿主预设回调" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../birefnet-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts", + "sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06", + "lines": [ + 1, + 40 + ], + "claim": "按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "local_file": "../birefnet-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29", + "lines": [ + 1, + 129 + ], + "claim": "准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 296, + 309 + ], + "claim": "IMAGEUPLOAD控件工厂注册" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 899, + 938 + ], + "claim": "按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 963, + 996 + ], + "claim": "保存widgets_values及onSerialize,保存态不直接等于最终prompt" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 1945, + 1998 + ], + "claim": "addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/utils/executionUtil.ts", + "local_file": "../birefnet-reference/frontend__src__utils__executionUtil.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts", + "sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33", + "lines": [ + 83, + 112 + ], + "claim": "graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/composables/node/useNodeImageUpload.ts", + "local_file": "../birefnet-reference/frontend__src__composables__node__useNodeImageUpload.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts", + "sha256": "11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8", + "lines": [ + 20, + 56 + ], + "claim": "上传POST与完成后路径更新仅源码说明;本轮不调用上传" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "LICENSE", + "local_file": "../birefnet-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书" + }, + { + "id": "frontend-explicit-assumption", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 82, + 265 + ], + "claim": "显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "__init__.py", + "local_file": "../watermark-reference/layer____init__.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59", + "lines": [ + 1, + 48 + ], + "claim": "准确包按py/*.py合并注册", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/watermark.py", + "local_file": "../watermark-reference/layer__py__watermark.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903", + "lines": [ + 1, + 112 + ], + "claim": "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1295, + 1381 + ], + "claim": "水印尺寸公式、临时PNG、blind_watermark调用与异常回退", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 119, + 149 + ], + "claim": "PIL/tensor归一化与量化", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 791, + 805 + ], + "claim": "normalize_gray亮度拉伸", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1053, + 1086 + ], + "claim": "YCbCr分离/通道合并", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1737, + 1742 + ], + "claim": "RGBA恢复alpha", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "pyproject.toml", + "local_file": "../watermark-reference/layer__pyproject.toml", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a", + "lines": [ + 1, + 15 + ], + "claim": "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "LICENSE", + "local_file": "../watermark-reference/layer__LICENSE", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0", + "lines": [ + 1, + 21 + ], + "claim": "准确包MIT许可全文", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + } + ], + "comments": [], + "flow": [ + "17节点、15物理边、全mode0;15实体加Reroute12/14。56顶层标量保存位置=LoadImage三组各2、Camera28、CR9、孤海13。无子图、无Note;AddBlind1、Show8/16和六Preview7/9/11/13/15/17原[]零位置;两个Reroute缺widgets_values键,不补成[]。", + "四条并行支路:底图5.IMAGE槽0经边11→Reroute12输入0,再以边13→CR3.image、边14→孤海2.图像、边28→Camera20.image、边30→AddBlind1.image;四种效果分别预览,不是四种叠加在同一张图。", + "盲水印内容图6.IMAGE槽0以边17→Reroute14,再边31→AddBlind1.watermark_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。", + "独立提取:另载图10.IMAGE槽0以边22→Show16.image,再边23→Preview17.images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。", + "CR3.IMAGE槽0以边10→Preview11.images;show_help STRING槽1未接,是帮助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。", + "孤海文字支路:外部水印图像未接;文字60度旋转在平铺判断前,false仍旋转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", + "Camera外部exif_data未接:use_exif=true仍回退六手工字符串,不证明iPhone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/1200)缩放;bar_width/bar_height当前不作用。", + "三LoadImage的MASK槽1 links=null,全部未接。六Preview继承固定core0.25.0 SaveImage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。", + "源extra仅UE空表和坐标,没有frontendVersion。UE各节点7.8、空绑定表、未知宿主布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。", + "盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。", + "Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_size=int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。", + "包imagefunc写临时PNG,调用blind_watermark.WaterMark(password_img=1,password_wm=1),read_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。", + "Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经WaterMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。", + "源物理边:[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\"]", + "节点1 LayerUtility: AddBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点12 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点5 LoadImage mode=0;widgets_values=[\"ComfyUI_Qwen_00051_.png\", \"image\"];原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\"}}", + "节点6 LoadImage mode=0;widgets_values=[\"1772086821573.png\", \"image\"];原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\"}}", + "节点20 CameraWatermarkNode mode=0;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\"];原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\"}}", + "节点16 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点17 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点10 LoadImage mode=0;widgets_values=[\"ComfyUI_temp_pkyyb_00001_.png\", \"image\"];原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\"}}", + "节点7 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点14 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点8 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点9 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点15 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点11 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点13 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点3 CR Simple Text Watermark mode=0;widgets_values=[\"@ by Bright\", \"center\", 0.5, \"Caveat-VariableFont_wght.ttf\", 150, \"white\", 20, 20, \"#000000\"];原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}];原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\"}}", + "节点2 孤海-图像添加水印 mode=0;widgets_values=[\"@ by Bright\", \"华文细黑.ttf\", 15, 75, \"居中\", \"居中\", 0, 0, \"#ece4e4\", false, 60, 22, false];原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\"}}" + ], + "flow_evidence": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "zero_saved_nodes": [ + { + "node_id": "1", + "class_type": "LayerUtility: AddBlindWaterMark", + "effect": "原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "16", + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "17", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "7", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "8", + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "9", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "15", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "11", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "13", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + } + ], + "steps": [ + "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。", + "操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。", + "操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Preview误认为顺序叠加结果。", + "操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独立提取;二者不证明鲁棒性或当前执行成功。", + "常见问题:white下HEX不生效、center下边距不生效符合固定CR代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真实文件,不能凭引用保证。", + "常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。randomize附加控制不是随机版式开关,不能把保存seed称最终seed。", + "常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未检查。" + ] + } }, "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json": { "source_sha": "bf31676bcd4e3656f0bc4fc33b3cc76ac03ceb0b", diff --git a/calliope-backend/tests/test_background_fixed_document.py b/calliope-backend/tests/test_background_fixed_document.py index 1e4e1dc7..35b4bca3 100644 --- a/calliope-backend/tests/test_background_fixed_document.py +++ b/calliope-backend/tests/test_background_fixed_document.py @@ -190,6 +190,8 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent(): p = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "ec3388a:" + p], cwd=REPO)) now = json.loads((REPO / p).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") # Freeze the historical eleven-document revision; the two grid additions are @@ -218,7 +220,7 @@ def test_ten_documents_only_gain_overview_and_new_block_is_independent(): assert len(additions) == 12 for p in additions: now[p].pop("fixed_version_document") - historical = [p for p in DEFINITIONS if p not in additions and p != birefnet] + historical = [p for p in DEFINITIONS if p not in additions and p not in [birefnet, watermark]] assert len(historical) == 11 for path in historical: block = now[path]["fixed_version_document"] diff --git a/calliope-backend/tests/test_birefnet_fixed_document.py b/calliope-backend/tests/test_birefnet_fixed_document.py index c5e82663..df8fa95f 100644 --- a/calliope-backend/tests/test_birefnet_fixed_document.py +++ b/calliope-backend/tests/test_birefnet_fixed_document.py @@ -174,8 +174,10 @@ def test_actual_graph_counts_pointers_notes_unknowns_and_old_objects(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "6e1e47b:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 old_blocks = [ r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r ] diff --git a/calliope-backend/tests/test_concat_fixed_document.py b/calliope-backend/tests/test_concat_fixed_document.py index 0641c384..d8f3621e 100644 --- a/calliope-backend/tests/test_concat_fixed_document.py +++ b/calliope-backend/tests/test_concat_fixed_document.py @@ -162,6 +162,8 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "d1ba226:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -170,7 +172,7 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): now[later].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") d = doc(0) - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 assert d["fixed_version"]["matched"] and len(b["fields"]) == 42 assert b["comments"] == [] and b["counts"]["history_objects"] == 3 assert b["counts"]["scalar_saved_positions"] == 39 diff --git a/calliope-backend/tests/test_controlnet_fixed_document.py b/calliope-backend/tests/test_controlnet_fixed_document.py index dec0b9c0..cd6a5e5f 100644 --- a/calliope-backend/tests/test_controlnet_fixed_document.py +++ b/calliope-backend/tests/test_controlnet_fixed_document.py @@ -203,7 +203,7 @@ def test_graph_specific_semantics_and_companion(): def test_other_documents_and_block_swaps(): - assert len(DEFINITIONS) == 24 + assert len(DEFINITIONS) == 25 for path in DEFINITIONS: if path == PATH: continue diff --git a/calliope-backend/tests/test_frames_fixed_document.py b/calliope-backend/tests/test_frames_fixed_document.py index d29c449d..0856618e 100644 --- a/calliope-backend/tests/test_frames_fixed_document.py +++ b/calliope-backend/tests/test_frames_fixed_document.py @@ -162,12 +162,14 @@ def test_exact_graph_versions_and_preservation(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "9db8857:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) now[latent].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 assert len(b["fields"]) == 31 and b["counts"]["history_objects"] == 3 assert b["counts"]["scalar_saved_positions"] == 28 assert b["comments"] == [] and b["counts"]["linked_saved_fields"] == 0 diff --git a/calliope-backend/tests/test_gemma_fixed_document.py b/calliope-backend/tests/test_gemma_fixed_document.py index 081a7f54..6999c9e3 100644 --- a/calliope-backend/tests/test_gemma_fixed_document.py +++ b/calliope-backend/tests/test_gemma_fixed_document.py @@ -153,6 +153,8 @@ def test_real_document_and_frozen_old_thirteen_blocks(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "9dac1b4:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -176,7 +178,7 @@ def test_real_document_and_frozen_old_thirteen_blocks(): # SDPose is independently frozen against 7291887 in its own suite. sdpose = next(p for p in now if p.endswith("sdpose_视频人物姿势骨架提取.json")) now[sdpose].pop("fixed_version_document") - assert len(now) == 156 and len(DEFINITIONS) == 24 + assert len(now) == 156 and len(DEFINITIONS) == 25 assert len([r for r in old.values() if "fixed_version_document" in r]) == 13 assert ( sum( diff --git a/calliope-backend/tests/test_gif_images_fixed_document.py b/calliope-backend/tests/test_gif_images_fixed_document.py index 33bf47af..48087be1 100644 --- a/calliope-backend/tests/test_gif_images_fixed_document.py +++ b/calliope-backend/tests/test_gif_images_fixed_document.py @@ -136,6 +136,8 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "ae625ac:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -157,7 +159,7 @@ def test_actual_paths_counts_old_objects_and_media_conditions(): assert all(step in d["steps"] for step in b["steps"]) added = next(p for p in now if p.endswith("双图像或视频合并显示.json")) now[added].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] assert len(blocks) == 18 and sum(len(b["fields"]) for b in blocks) == 516 gif = doc(0)["fixed_version"] diff --git a/calliope-backend/tests/test_grid_fixed_document.py b/calliope-backend/tests/test_grid_fixed_document.py index 4a40c989..446750dd 100644 --- a/calliope-backend/tests/test_grid_fixed_document.py +++ b/calliope-backend/tests/test_grid_fixed_document.py @@ -171,6 +171,8 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "27e6d56:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -197,7 +199,7 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved(): # Gemma addition is independently protected against 9dac1b4 in its own suite. gemma = next(p for p in now if p.endswith("gemma4_提示词反推(图像视频音频).json")) now[gemma].pop("fixed_version_document") - assert len(DEFINITIONS) == 24 + assert len(DEFINITIONS) == 25 assert ( sum( len(r["fixed_version_document"]["fields"]) diff --git a/calliope-backend/tests/test_latent_fixed_document.py b/calliope-backend/tests/test_latent_fixed_document.py index d1a79222..a04c85c9 100644 --- a/calliope-backend/tests/test_latent_fixed_document.py +++ b/calliope-backend/tests/test_latent_fixed_document.py @@ -162,10 +162,12 @@ def test_exact_graph_versions_and_preservation(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "256e6be:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") b = now[PATHS[0]].pop("fixed_version_document") - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 assert b["counts"] == dict( saved_fields=13, scalar_saved_positions=12, diff --git a/calliope-backend/tests/test_nlf_fixed_document.py b/calliope-backend/tests/test_nlf_fixed_document.py index 796ce46a..a6958af3 100644 --- a/calliope-backend/tests/test_nlf_fixed_document.py +++ b/calliope-backend/tests/test_nlf_fixed_document.py @@ -260,6 +260,8 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -277,7 +279,7 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): reverse = next(p for p in now if p.endswith("/视频倒放.json")) now[reverse].pop("fixed_version_document") assert now[PATH].pop("fixed_version_document") == BLOCK - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 old_blocks = [ r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r ] @@ -288,6 +290,8 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects(): assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) assert d["dependencies"]["check_state"] == "unchecked" for p in DEFINITIONS: + if p == watermark: + continue if p.endswith("/birefnet_图像移除背景.json"): continue if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): diff --git a/calliope-backend/tests/test_openpose_fixed_document.py b/calliope-backend/tests/test_openpose_fixed_document.py index af7ac830..043b365d 100644 --- a/calliope-backend/tests/test_openpose_fixed_document.py +++ b/calliope-backend/tests/test_openpose_fixed_document.py @@ -202,6 +202,8 @@ def test_exact_document_topology_and_preservation(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" previous = json.loads(subprocess.check_output(["git", "show", "fec5cca:" + resource], cwd=REPO)) current = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in current if p.endswith("/图像4种添加水印节点.json")) + current[watermark].pop("fixed_version_document") birefnet = next(p for p in current if p.endswith("/birefnet_图像移除背景.json")) current[birefnet].pop("fixed_version_document") latent = next(p for p in current if p.endswith("/加载本地latent解码.json")) @@ -221,7 +223,7 @@ def test_exact_document_topology_and_preservation(): nlf = next(p for p in current if p.endswith("NLF_视频人物动作骨架获取.json")) current[nlf].pop("fixed_version_document") assert current[PATH].pop("fixed_version_document") == BLOCK - assert current == previous and len(DEFINITIONS) == 24 + assert current == previous and len(DEFINITIONS) == 25 old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r] assert len(old) == 15 and sum(len(b["fields"]) for b in old) == 394 assert sum(len(b.get("comments", [])) for b in old) == 13 # one historical ASR flow note @@ -229,6 +231,8 @@ def test_exact_document_topology_and_preservation(): assert d["dependencies"]["check_state"] == "unchecked" assert not doc(path="untrusted.json").get("fixed_version") for p in DEFINITIONS: + if p == watermark: + continue if p.endswith("/birefnet_图像移除背景.json"): continue if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): diff --git a/calliope-backend/tests/test_reverse_fixed_document.py b/calliope-backend/tests/test_reverse_fixed_document.py index 0abfe082..876574c6 100644 --- a/calliope-backend/tests/test_reverse_fixed_document.py +++ b/calliope-backend/tests/test_reverse_fixed_document.py @@ -213,6 +213,8 @@ def test_exact_graph_and_original_seventeen_unchanged(): resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" old = json.loads(subprocess.check_output(["git", "show", "ab18cd3:" + resource], cwd=REPO)) now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") for added in [ @@ -230,7 +232,7 @@ def test_exact_graph_and_original_seventeen_unchanged(): ]: now[added].pop("fixed_version_document") assert now[PATH].pop("fixed_version_document") == BLOCK - assert now == old and len(DEFINITIONS) == 24 + assert now == old and len(DEFINITIONS) == 25 blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] assert len(blocks) == 17 and sum(len(b["fields"]) for b in blocks) == 495 assert ( @@ -239,6 +241,8 @@ def test_exact_graph_and_original_seventeen_unchanged(): assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) assert d["dependencies"]["check_state"] == "unchecked" for p in DEFINITIONS: + if p == watermark: + continue if p.endswith("/birefnet_图像移除背景.json"): continue if p.endswith( diff --git a/calliope-backend/tests/test_sdpose_fixed_document.py b/calliope-backend/tests/test_sdpose_fixed_document.py index 0a11c59c..31b743c1 100644 --- a/calliope-backend/tests/test_sdpose_fixed_document.py +++ b/calliope-backend/tests/test_sdpose_fixed_document.py @@ -154,6 +154,7 @@ def test_real_document_and_frozen_old_fourteen_blocks(): p for p in DEFINITIONS if p != PATH + and not p.endswith("/图像4种添加水印节点.json") and not p.endswith("/birefnet_图像移除背景.json") and not p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")) and not p.endswith( @@ -162,6 +163,8 @@ def test_real_document_and_frozen_old_fourteen_blocks(): ) resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) now[birefnet].pop("fixed_version_document") latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) @@ -189,7 +192,7 @@ def test_real_document_and_frozen_old_fourteen_blocks(): assert not doc(review=review)["fixed_version"]["matched"] now[openpose].pop("fixed_version_document") old = json.loads(subprocess.check_output(["git", "show", "7291887:" + resource], cwd=REPO)) - assert len(now) == 156 and len(DEFINITIONS) == 24 + assert len(now) == 156 and len(DEFINITIONS) == 25 old_blocks = [ r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r ] diff --git a/calliope-backend/tests/test_watermark_fixed_document.py b/calliope-backend/tests/test_watermark_fixed_document.py new file mode 100644 index 00000000..73948233 --- /dev/null +++ b/calliope-backend/tests/test_watermark_fixed_document.py @@ -0,0 +1,297 @@ +"""One editorial addition: identity refusal, exact positions and media conditions.""" + +import copy +import hashlib +import json +import subprocess +from pathlib import Path + +import pytest +from calliope.comfyui.fixed_document import DEFINITIONS, canonical +from calliope.comfyui.library import build_document +from calliope.comfyui.source_reviews import review_for + +REPO = Path(__file__).resolve().parents[2] +OUT = REPO / "docs/hel-892/watermark-document-evidence" +PATHS = [next(p for p in DEFINITIONS if p.endswith(n + ".json")) for n in ["图像4种添加水印节点"]] +SOURCES = [json.loads((REPO / p).read_bytes()) for p in PATHS] +REVIEWS = [review_for(p, hashlib.sha1((REPO / p).read_bytes()).hexdigest()) for p in PATHS] +FIELDS = [(i, f) for i, r in enumerate(REVIEWS) for f in r["fixed_version_document"]["fields"]] + + +def pointer(obj, path): + for part in path.strip("/").split("/"): + obj = obj[int(part)] if isinstance(obj, list) else obj[part] + return obj + + +def doc(i, source=None, review=None): + return build_document( + PATHS[i], + SOURCES[i] if source is None else source, + None, + None, + [], + REVIEWS[i] if review is None else review, + ) + + +@pytest.mark.parametrize("i,field", FIELDS) +def test_exact_positions_and_fixed_text_citations(i, field): + value = pointer(SOURCES[i], field["pointer"]) + assert ( + canonical(value) == canonical(field["value"]) and type(value).__name__ == field["json_type"] + ) + for k in [ + "label", + "type", + "schema_default", + "unit", + "limits", + "effect", + "execution_note", + "role", + ]: + assert field[k] + for k in field["evidence"]: + e = REVIEWS[i]["fixed_version_document"]["sources"][k] + raw = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(raw).hexdigest() == e["sha256"] + assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines()) + assert (len(e["commit"]) == 40 and e["commit"] in e["url"]) or e.get( + "git_commit_binding" + ) == "unknown" + + +@pytest.mark.parametrize("i,field", FIELDS) +@pytest.mark.parametrize("variant", ["saved", "type", "text"]) +def test_every_position_refuses_even_recomputed_caller_digest(i, field, variant): + s, r = copy.deepcopy(SOURCES[i]), copy.deepcopy(REVIEWS[i]) + b = r["fixed_version_document"] + f = next(f for f in b["fields"] if f["pointer"] == field["pointer"]) + if variant == "text": + f["schema_default"] = "forged" + else: + parent, _, key = field["pointer"].rpartition("/") + target = pointer(s, parent) + target[int(key) if isinstance(target, list) else key] = ( + "forged" if variant == "type" else ("changed-null" if field["value"] is None else None) + ) + f["value"] = pointer(s, field["pointer"]) + f["json_type"] = type(f["value"]).__name__ + b["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + r["caller_digest"] = hashlib.sha256(canonical(b)).hexdigest() + assert not doc(i, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("node", [1, 12, 5, 6, 20, 16, 17, 10, 7, 14, 8, 9, 15, 11, 13, 3, 2]) +@pytest.mark.parametrize("kind", ["mode", "ver", "cnr", "ue"]) +def test_each_identity_and_mode_refuses_recomputed_digest(node, kind): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + n = next(n for n in s["nodes"] if n["id"] == node) + if kind == "mode": + n["mode"] = 2 + elif kind == "ue": + n["properties"]["ue_properties"]["version"] = "forged" + else: + n["properties"]["ver" if kind == "ver" else "cnr_id"] = "forged" + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("node", [1, 16, 17, 7, 8, 9, 15, 11, 13]) +@pytest.mark.parametrize("kind", ["missing", "null", "object"]) +def test_zero_positions_are_not_missing_null_or_object(node, kind): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + n = next(n for n in s["nodes"] if n["id"] == node) + if kind == "missing": + del n["widgets_values"] + else: + n["widgets_values"] = None if kind == "null" else {} + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("edge", range(15)) +@pytest.mark.parametrize("side", ["input", "output", "physical"]) +def test_each_physical_and_dual_endpoint_refuses(edge, side): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + e = s["links"][edge] + nodes = {n["id"]: n for n in s["nodes"]} + if side == "input": + nodes[e[3]]["inputs"][e[4]]["link"] = None + elif side == "output": + nodes[e[1]]["outputs"][e[2]]["links"].remove(e[0]) + else: + e[1] = 999 + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize( + "kind", + [ + "source_sha", + "citation", + "frontend", + "ue", + "swap", + "unconnected_mask", + "wrong_path", + "seed", + "image", + "logo", + "font", + ], +) +def test_references_and_binding_fail_closed(kind): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + nodes = {n["id"]: n for n in s["nodes"]} + if kind == "source_sha": + r["source_sha"] = "0" * 40 + elif kind == "citation": + r["fixed_version_document"]["sources"][0]["sha256"] = "0" * 64 + elif kind == "frontend": + s["extra"]["frontendVersion"] = "1.43.17" + elif kind == "ue": + s["extra"]["links_added_by_ue"] = [1] + elif kind == "swap": + other = next(p for p in DEFINITIONS if p.endswith("/birefnet_图像移除背景.json")) + r = copy.deepcopy(review_for(other, hashlib.sha1((REPO / other).read_bytes()).hexdigest())) + elif kind == "unconnected_mask": + nodes[5]["outputs"][1]["links"] = [] + elif kind == "wrong_path": + r["fixed_version_document"]["source_path"] = "forged" + elif kind == "seed": + nodes[20]["widgets_values"][5] = "fixed" + elif kind == "image": + nodes[6]["widgets_values"][0] = nodes[5]["widgets_values"][0] + elif kind == "logo": + nodes[20]["widgets_values"][13] = "None" + else: + nodes[3]["widgets_values"][3] = "forged.ttf" + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + r["caller_digest"] = hashlib.sha256(canonical(r["fixed_version_document"])).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("node", [12, 14]) +@pytest.mark.parametrize("variant", [[], None, {}]) +def test_reroute_missing_key_is_not_zero_or_null(node, variant): + s, r = copy.deepcopy(SOURCES[0]), copy.deepcopy(REVIEWS[0]) + next(n for n in s["nodes"] if n["id"] == node)["widgets_values"] = variant + r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest() + assert not doc(0, s, r)["fixed_version"]["matched"] + + +def test_exact_graph_semantics_and_old_24_objects(): + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "11938ca:" + resource], cwd=REPO)) + now = json.loads((REPO / resource).read_bytes()) + block = now[PATHS[0]].pop("fixed_version_document") + assert now == old and len(DEFINITIONS) == 25 + oldblocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] + assert len(oldblocks) == 24 and sum(len(b["fields"]) for b in oldblocks) == 665 + assert sum(len(b.get("comments", [])) for b in oldblocks) == 15 # ASR source note independent + assert block["counts"] == dict( + saved_fields=56, + scalar_saved_positions=56, + history_objects=0, + source_nodes=17, + physical_edges=15, + source_notes=0, + linked_saved_fields=0, + frontend_only=4, + final_scalars=0, + final_prompt_constructed=False, + ) + g = SOURCES[0] + ns = {n["id"]: n for n in g["nodes"]} + assert len(ns) == 17 and len(g["links"]) == 15 and all(n["mode"] == 0 for n in ns.values()) + assert {i for i, n in ns.items() if "widgets_values" not in n} == {12, 14} + assert {i for i, n in ns.items() if n.get("widgets_values") == []} == { + 1, + 8, + 16, + 7, + 9, + 11, + 13, + 15, + 17, + } + assert sum(len(n.get("widgets_values", [])) for n in ns.values()) == 56 + assert ( + "frontendVersion" not in g["extra"] + and g["extra"]["ue_links"] == g["extra"]["links_added_by_ue"] == [] + ) + assert len(block["zero_saved_nodes"]) == 9 and not block["comments"] + assert len({f["pointer"] for f in block["fields"]}) == 56 + assert ns[20]["widgets_values"][4:7] == [166434517983310, "randomize", True] + assert [f["field"] for f in block["fields"] if f["node_id"] == "20"][4:7] == [ + "seed", + "control_after_generate", + "use_exif", + ] + assert g["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"], + ] + for eid, origin, slot, target, inp, typ in g["links"]: + assert eid in ns[origin]["outputs"][slot]["links"] + assert ns[origin]["outputs"][slot]["type"] == typ + assert ns[target]["inputs"][inp]["link"] == eid + assert ns[target]["inputs"][inp]["type"] == ("*" if target in [12, 14] else typ) + assert all(ns[i]["outputs"][1]["links"] is None for i in [5, 6, 10]) + assert ns[3]["outputs"][1]["links"] is None + assert next(i for i in ns[20]["inputs"] if i["name"] == "exif_data")["link"] is None + assert next(i for i in ns[2]["inputs"] if i["name"] == "水印图像")["link"] is None + d = doc(0) + assert d["fixed_version"]["matched"] + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + for token in [ + "不是四种叠加", + "独立提取", + "外线未接", + "false仍旋转", + "间距22", + "temp PNG", + "unknown", + "没有frontendVersion", + "compression_ratio=100", + "YCbCr", + "wm_size", + "bar_width", + "白", + "randomize", + ]: + assert token in json.dumps(block, ensure_ascii=False) + + +@pytest.mark.parametrize("other", [p for p in DEFINITIONS if p not in PATHS]) +def test_every_old_block_and_new_block_cannot_be_swapped(other): + raw = (REPO / other).read_bytes() + old_source = json.loads(raw) + old_review = copy.deepcopy(review_for(other, hashlib.sha1(raw).hexdigest())) + new_review = copy.deepcopy(REVIEWS[0]) + old_block = old_review["fixed_version_document"] + old_review["fixed_version_document"] = new_review["fixed_version_document"] + new_review["fixed_version_document"] = old_block + assert not doc(0, review=new_review)["fixed_version"]["matched"] + assert not build_document(other, old_source, None, None, [], old_review)["fixed_version"][ + "matched" + ] diff --git a/docs/hel-892/watermark-document-evidence/.gitignore b/docs/hel-892/watermark-document-evidence/.gitignore new file mode 100644 index 00000000..7a60b85e --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/.gitignore @@ -0,0 +1,2 @@ +__pycache__/ +*.pyc diff --git a/docs/hel-892/watermark-document-evidence/actual-图像4种添加水印节点.json b/docs/hel-892/watermark-document-evidence/actual-图像4种添加水印节点.json new file mode 100644 index 00000000..f6b32f2b --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/actual-图像4种添加水印节点.json @@ -0,0 +1,3393 @@ +{ + "companion_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "dependencies": { + "check_state": "unchecked", + "checked_at": null, + "missing": [], + "model_locations": "待目标机提供", + "models": [], + "node_packs": [], + "node_types": [ + "CR Simple Text Watermark", + "CameraWatermarkNode", + "LayerUtility: AddBlindWaterMark", + "LayerUtility: ShowBlindWaterMark", + "LoadImage", + "PreviewImage", + "Reroute", + "孤海-图像添加水印" + ], + "source": null + }, + "draft": true, + "errors": [ + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LayerUtility: AddBlindWaterMark" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:Reroute" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LoadImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LoadImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:CameraWatermarkNode" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LayerUtility: ShowBlindWaterMark" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LoadImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:Reroute" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LayerUtility: ShowBlindWaterMark" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:PreviewImage" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:CR Simple Text Watermark" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:孤海-图像添加水印" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "未得到可执行节点" + } + ], + "fixed_version": { + "canonical_sha256": "2ad9c54aabf185db084a0773d0af8168ce7e5594e9d55e6959b57eb167e21c8b", + "comments": [], + "counts": { + "final_prompt_constructed": false, + "final_scalars": 0, + "frontend_only": 4, + "history_objects": 0, + "linked_saved_fields": 0, + "physical_edges": 15, + "saved_fields": 56, + "scalar_saved_positions": 56, + "source_nodes": 17, + "source_notes": 0 + }, + "fields": [ + { + "class_type": "LoadImage", + "definition_node_id": "5", + "effect": "节点5独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "image", + "json_type": "str", + "label": "四路共用底图引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "node_id": "5", + "pointer": "/nodes/2/widgets_values/0", + "role": "scalar", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "ComfyUI_Qwen_00051_.png" + }, + { + "class_type": "LoadImage", + "definition_node_id": "5", + "effect": "节点5的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "upload", + "json_type": "str", + "label": "图片上传控件保存状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "node_id": "5", + "pointer": "/nodes/2/widgets_values/1", + "role": "frontend_control", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "scope": "root", + "type": "IMAGEUPLOAD(前端)", + "unit": "前端状态", + "value": "image" + }, + { + "class_type": "LoadImage", + "definition_node_id": "6", + "effect": "节点6独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "image", + "json_type": "str", + "label": "盲水印内容图引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "node_id": "6", + "pointer": "/nodes/3/widgets_values/0", + "role": "scalar", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "1772086821573.png" + }, + { + "class_type": "LoadImage", + "definition_node_id": "6", + "effect": "节点6的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "upload", + "json_type": "str", + "label": "图片上传控件保存状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "node_id": "6", + "pointer": "/nodes/3/widgets_values/1", + "role": "frontend_control", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "scope": "root", + "type": "IMAGEUPLOAD(前端)", + "unit": "前端状态", + "value": "image" + }, + { + "class_type": "LoadImage", + "definition_node_id": "10", + "effect": "节点10独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "image", + "json_type": "str", + "label": "独立提取支路的已加印图片引用引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "node_id": "10", + "pointer": "/nodes/7/widgets_values/0", + "role": "scalar", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "ComfyUI_temp_pkyyb_00001_.png" + }, + { + "class_type": "LoadImage", + "definition_node_id": "10", + "effect": "节点10的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "upload", + "json_type": "str", + "label": "图片上传控件保存状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "node_id": "10", + "pointer": "/nodes/7/widgets_values/1", + "role": "frontend_control", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "scope": "root", + "type": "IMAGEUPLOAD(前端)", + "unit": "前端状态", + "value": "image" + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "在每张输入图片上绘制保存的@ by Bright,不改写文本。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "text", + "json_type": "str", + "label": "水印文字", + "limits": "单行字符串", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/0", + "role": "scalar", + "schema_default": "@ your name", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "@ by Bright" + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存center使文字边界框居中;此分支不使用x_margin或y_margin。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "align", + "json_type": "str", + "label": "文字对齐", + "limits": "center/top left/top center/top right/bottom left/bottom center/bottom right", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/1", + "role": "scalar", + "schema_default": "未显式default,选项首项center", + "scope": "root", + "type": "COMBO", + "unit": "对齐枚举", + "value": "center" + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "opacity", + "json_type": "float", + "label": "文字不透明度", + "limits": "0~1,step0.01", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/2", + "role": "scalar", + "schema_default": "0.30", + "scope": "root", + "type": "FLOAT", + "unit": "比例", + "value": 0.5 + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetype加载插件fonts下引用,无此处加载异常回退;不读取或下载字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_name", + "json_type": "str", + "label": "文字字体引用", + "limits": "目标动态成员/字形/许可未知", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/3", + "role": "scalar", + "schema_default": "动态fonts目录.ttf列表,无显式default", + "scope": "root", + "type": "COMBO", + "unit": "字体文件引用", + "value": "Caveat-VariableFont_wght.ttf" + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_size", + "json_type": "int", + "label": "文字字号", + "limits": "1~1024", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/4", + "role": "scalar", + "schema_default": "50", + "scope": "root", + "type": "INT", + "unit": "Pillow字号像素", + "value": 150 + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存white按color_mapping为(255,255,255),不会读取font_color_hex。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_color", + "json_type": "str", + "label": "文字颜色选项", + "limits": "准确config.COLORS列表", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/5", + "role": "scalar", + "schema_default": "无显式default,列表首项custom", + "scope": "root", + "type": "COMBO", + "unit": "颜色枚举", + "value": "white" + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存20在非居中左右支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "x_margin", + "json_type": "int", + "label": "水平边距", + "limits": "-1024~1024", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/6", + "role": "scalar", + "schema_default": "20", + "scope": "root", + "type": "INT", + "unit": "像素", + "value": 20 + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存20在顶部/底部支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "y_margin", + "json_type": "int", + "label": "垂直边距", + "limits": "-1024~1024", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/7", + "role": "scalar", + "schema_default": "20", + "scope": "root", + "type": "INT", + "unit": "像素", + "value": 20 + }, + { + "class_type": "CR Simple Text Watermark", + "definition_node_id": "3", + "effect": "保存#000000,但white支路不采用;不能把它说成当前黑色水印。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_color_hex", + "json_type": "str", + "label": "自定义文字HEX", + "limits": "只有font_color=custom才解析;不保证任意字符串有效", + "node_id": "3", + "pointer": "/nodes/15/widgets_values/8", + "role": "scalar", + "schema_default": "#000000", + "scope": "root", + "type": "STRING", + "unit": "RGB十六进制字符串", + "value": "#000000" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存@ by Bright;可选水印图像未接,固定实现走文字支路。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印文本", + "json_type": "str", + "label": "文字水印内容", + "limits": "字符串;当前无外部水印图输入", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/0", + "role": "scalar", + "schema_default": "水印", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "@ by Bright" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存华文细黑.ttf;按插件fonts引用,truetype异常回退ImageFont.load_default,不保证字形一致。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "字体", + "json_type": "str", + "label": "文字字体引用", + "limits": ".ttf/.otf/.ttc动态成员与实际文件未知", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/1", + "role": "scalar", + "schema_default": "动态fonts目录,无显式default", + "scope": "root", + "type": "COMBO", + "unit": "字体文件引用", + "value": "华文细黑.ttf" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存15;文字字号int(原图高×15/100),不是文字宽度或图片水印比例。只有外部水印图分支才按水印自身尺寸百分比缩放。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印大小百分比", + "json_type": "int", + "label": "文字大小百分比", + "limits": "0~100,step1;0在schema合法不保证绘制成功", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/2", + "role": "scalar", + "schema_default": "5", + "scope": "root", + "type": "INT", + "unit": "底图高度百分比", + "value": 15 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存75;十六进制颜色解析alpha=int(255×75/100),再按图层mask粘贴/alpha_composite,不能直接承诺最终alpha75%。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印不透明度", + "json_type": "int", + "label": "文字不透明度", + "limits": "0~100,step1", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/3", + "role": "scalar", + "schema_default": "50", + "scope": "root", + "type": "INT", + "unit": "百分比", + "value": 75 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "当前居中时x=(原图宽-水印宽)//2+X偏移像素。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水平位置", + "json_type": "str", + "label": "水平对齐", + "limits": "居中/靠左/靠右", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/4", + "role": "scalar", + "schema_default": "无显式default,首项居中", + "scope": "root", + "type": "COMBO", + "unit": "对齐枚举", + "value": "居中" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "当前居中时y=(原图高-水印高)//2+Y偏移像素。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "垂直位置", + "json_type": "str", + "label": "垂直对齐", + "limits": "居中/靠上/靠下", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/5", + "role": "scalar", + "schema_default": "无显式default,首项居中", + "scope": "root", + "type": "COMBO", + "unit": "对齐枚举", + "value": "居中" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存0;int(原图宽×X/100),居中向右加、靠右从右边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "X偏移百分比", + "json_type": "int", + "label": "水平偏移", + "limits": "0~50,step1", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/6", + "role": "scalar", + "schema_default": "0", + "scope": "root", + "type": "INT", + "unit": "底图宽度百分比", + "value": 0 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存0;int(原图高×Y/100),居中向下加、靠下从下边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "Y偏移百分比", + "json_type": "int", + "label": "垂直偏移", + "limits": "0~50,step1", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/7", + "role": "scalar", + "schema_default": "0", + "scope": "root", + "type": "INT", + "unit": "底图高度百分比", + "value": 0 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存#ece4e4,固定实现解析RGB并结合不透明度形成RGBA。前端COLORCODE控件恢复未证明,不靠字段名补宿主行为。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "文字颜色", + "json_type": "str", + "label": "文字颜色", + "limits": "解析前三对十六进制,非法输入不保证有效", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/8", + "role": "scalar", + "schema_default": "#FFFFFF", + "scope": "root", + "type": "COLORCODE", + "unit": "RGB十六进制", + "value": "#ece4e4" + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "false走单一水印定位;true按旋转后的文字尺寸与间距重复粘贴,本图不走该分支。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印平铺", + "json_type": "bool", + "label": "平铺文字", + "limits": "true/false;当前false", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/9", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "布尔开关", + "value": false + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存60;旋转在平铺判断之前执行,BICUBIC且expand=True,所以关闭平铺仍作用于单一文字水印,不能说被忽略。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印角度", + "json_type": "int", + "label": "文字旋转角度", + "limits": "-90~90,step1", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/10", + "role": "scalar", + "schema_default": "0", + "scope": "root", + "type": "INT", + "unit": "度", + "value": 60 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "保存22;只有平铺true才算int(原图高×22/100)作为行列间距。当前false不作用,不是22像素。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "水印间距", + "json_type": "int", + "label": "平铺文字间距", + "limits": "0~50,step1;仅平铺文字分支", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/11", + "role": "scalar", + "schema_default": "10", + "scope": "root", + "type": "INT", + "unit": "底图高度百分比", + "value": 22 + }, + { + "class_type": "孤海-图像添加水印", + "definition_node_id": "2", + "effect": "当前false把RGBA结果转RGB再转tensor;true只是保留结果通道,不等于自动移除底图背景。", + "evidence": [ + 8, + 9 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "输出透明通道", + "json_type": "bool", + "label": "保留输出透明通道", + "limits": "true/false", + "node_id": "2", + "pointer": "/nodes/16/widgets_values/12", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "布尔开关", + "value": false + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_width/bar_height不参与此版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "layout", + "json_type": "str", + "label": "相机水印版式", + "limits": "固定LAYOUT_OPTIONS十项", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/0", + "role": "scalar", + "schema_default": "无显式default,首项1. 底部留白 - 左右分布", + "scope": "root", + "type": "COMBO", + "unit": "版式枚举", + "value": "1. 底部留白 - 左右分布" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "false不以LAYOUT_PRESETS覆写保存参数。固定实现true时在随机版式选择后params.update预设;真实宿主回调/恢复未知。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "restore_preset", + "json_type": "bool", + "label": "恢复当前版式预设", + "limits": "true/false", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/1", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "布尔开关", + "value": false + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "false不调用random.seed/choice;保存seed不随机求值。与前端seed附加randomize控件是两件事。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "randomize_style", + "json_type": "bool", + "label": "随机相机版式", + "limits": "true/false", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/2", + "role": "scalar", + "schema_default": "false", + "scope": "root", + "type": "BOOLEAN", + "unit": "布尔开关", + "value": false + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存1-10。固定解析允许数字/区间,非法部分跳过;无有效候选保留当前版式。当前false不选择随机版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "random_style_selection", + "json_type": "str", + "label": "随机版式候选", + "limits": "逗号和闭区间,过滤为1~10;仅randomize_style=true", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/3", + "role": "scalar", + "schema_default": "1-10", + "scope": "root", + "type": "STRING", + "unit": "编号范围字符串", + "value": "1-10" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存166434517983310;附加前端randomize位独立。源未声明前端,不称最终提交seed,不运行随机。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "seed", + "json_type": "int", + "label": "随机版式种子保存值", + "limits": "0~18446744073709551615;仅随机版式分支使用", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/4", + "role": "scalar", + "schema_default": "0", + "scope": "root", + "type": "INT", + "unit": "整数种子", + "value": 166434517983310 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "此位置插在seed后,27个服务端控件加1前端控制共28位置;后面的use_exif不能移位成此值。固定参考前端策略也不证明本图真实恢复或最终seed。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "control_after_generate", + "json_type": "str", + "label": "种子附加前端控制", + "limits": "保存randomize;不是第六个后台参数", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/5", + "role": "frontend_control", + "schema_default": "源前端版本未知;不认作后台默认", + "scope": "root", + "type": "前端控制", + "unit": "前端状态", + "value": "randomize" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存true但exif_data外线未接,准确代码回退六个手工文本,不从IMAGE张量或图像引用自动读取EXIF。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "use_exif", + "json_type": "bool", + "label": "优先外部EXIF", + "limits": "须同时有exif_data非空且strip()!=\"{}\"", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/6", + "role": "scalar", + "schema_default": "true", + "scope": "root", + "type": "BOOLEAN", + "unit": "布尔开关", + "value": true + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工A区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_a_text_1", + "json_type": "str", + "label": "A区第1行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/7", + "role": "scalar", + "schema_default": "\"iPhone 15 Pro Max\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "iPhone 15 Pro Max" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工A区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_a_text_2", + "json_type": "str", + "label": "A区第2行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/8", + "role": "scalar", + "schema_default": "\"Main Camera\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "Main Camera" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工A区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_a_text_3", + "json_type": "str", + "label": "A区第3行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/9", + "role": "scalar", + "schema_default": "\"© KARAS\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "© KARAS" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工B区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_b_text_1", + "json_type": "str", + "label": "B区第1行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/10", + "role": "scalar", + "schema_default": "\"SONY\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "SONY" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工B区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_b_text_2", + "json_type": "str", + "label": "B区第2行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/11", + "role": "scalar", + "schema_default": "\"24mm | f/1.8 | 1/125s | ISO 50\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "24mm | f/1.8 | 1/125s | ISO 50" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存手工B区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "block_b_text_3", + "json_type": "str", + "label": "B区第3行文字", + "limits": "单行字符串;空字符串不绘制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/12", + "role": "scalar", + "schema_default": "\"\"", + "scope": "root", + "type": "STRING", + "unit": "文字", + "value": "" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "logo", + "json_type": "str", + "label": "相机标志引用", + "limits": "None加插件logos目录PNG名称;目标成员/许可未知", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/13", + "role": "scalar", + "schema_default": "存在leica时选leica,否则动态列表首项", + "scope": "root", + "type": "COMBO", + "unit": "logo文件引用", + "value": "leica" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存整数1(保留JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "logo_size_ratio", + "json_type": "int", + "label": "标志尺寸倍率", + "limits": "0.1~3.0,step0.1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/14", + "role": "scalar", + "schema_default": "1.0", + "scope": "root", + "type": "FLOAT", + "unit": "倍数", + "value": 1 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存200。第1版式在底部增加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "bar_size", + "json_type": "int", + "label": "信息条厚度", + "limits": "0~2048,step10", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/15", + "role": "scalar", + "schema_default": "200", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 200 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不能因名称独立信息条就称使用bar_width。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "bar_width", + "json_type": "int", + "label": "备用独立画布宽", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/16", + "role": "scalar", + "schema_default": "1894", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 1894 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存165;当前第1版式不使用,仅else画布按scale_factor缩放。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "bar_height", + "json_type": "int", + "label": "备用独立画布高", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/17", + "role": "scalar", + "schema_default": "165", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 165 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存50;int(50×scale_factor),第1版式左右组与条边缘间距,真实文字边界依赖字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "padding", + "json_type": "int", + "label": "版式边距", + "limits": "0~400,step1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/18", + "role": "scalar", + "schema_default": "50", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 50 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存15;int(15×scale_factor),用于文本行以及标志/文本间隔。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "spacing", + "json_type": "int", + "label": "文本与元素间隔", + "limits": "0~200,step1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/19", + "role": "scalar", + "schema_default": "15", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 15 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存Alibaba-PuHuiTi-Bold.ttf;此名称用于medium/small,与粗体引用独立保留,即使值相同也不去重。加载失败回退默认字体,不保证效果。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_name", + "json_type": "str", + "label": "常规文字字体引用", + "limits": ".ttf/.ttc/.otf;实际文件和字形未知", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/20", + "role": "scalar", + "schema_default": "动态字体列表,无显式default", + "scope": "root", + "type": "COMBO", + "unit": "字体文件引用", + "value": "Alibaba-PuHuiTi-Bold.ttf" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存同名Alibaba-PuHuiTi-Bold.ttf,用于large_bold;按名称筛选不证明真正字体粗细。不下载字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_bold_name", + "json_type": "str", + "label": "标题粗体字体引用", + "limits": "实际成员/字形/许可未知", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/21", + "role": "scalar", + "schema_default": "动态bold/bd子集或完整字体列表,无显式default", + "scope": "root", + "type": "COMBO", + "unit": "字体文件引用", + "value": "Alibaba-PuHuiTi-Bold.ttf" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存48;int(48×scale_factor)传给粗体字体,两区第1行使用。小图可能缩至更低,schema范围不等于实际字号范围。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_size_large", + "json_type": "int", + "label": "大标题字号", + "limits": "8~200,step1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/22", + "role": "scalar", + "schema_default": "48", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 48 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存28;int(28×scale_factor)传给常规字体,两区第2行使用。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_size_medium", + "json_type": "int", + "label": "中号文字字号", + "limits": "8~200,step1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/23", + "role": "scalar", + "schema_default": "28", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 28 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存24;int(24×scale_factor)传给常规字体,两区第3行使用;B3为空不绘制。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "font_size_small", + "json_type": "int", + "label": "小号文字字号", + "limits": "8~200,step1", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/24", + "role": "scalar", + "schema_default": "24", + "scope": "root", + "type": "INT", + "unit": "参考像素", + "value": 24 + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存#FFFFFF,当前底部条画布用此背景;不代表原图背景被改白。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "bg_color", + "json_type": "str", + "label": "信息条背景色", + "limits": "schema无进一步限制;实际合法性未知", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/25", + "role": "scalar", + "schema_default": "#FFFFFF", + "scope": "root", + "type": "STRING", + "unit": "Pillow颜色字符串", + "value": "#FFFFFF" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存#000000,A/B区第一行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "title_color", + "json_type": "str", + "label": "标题文字颜色", + "limits": "schema无进一步限制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/26", + "role": "scalar", + "schema_default": "#000000", + "scope": "root", + "type": "STRING", + "unit": "Pillow颜色字符串", + "value": "#000000" + }, + { + "class_type": "CameraWatermarkNode", + "definition_node_id": "20", + "effect": "保存#888888,A/B区第二与第三行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "field": "subtitle_color", + "json_type": "str", + "label": "副文字颜色", + "limits": "schema无进一步限制", + "node_id": "20", + "pointer": "/nodes/4/widgets_values/27", + "role": "scalar", + "schema_default": "#888888", + "scope": "root", + "type": "STRING", + "unit": "Pillow颜色字符串", + "value": "#888888" + } + ], + "flow": [ + "17节点、15物理边、全mode0;15实体加Reroute12/14。56顶层标量保存位置=LoadImage三组各2、Camera28、CR9、孤海13。无子图、无Note;AddBlind1、Show8/16和六Preview7/9/11/13/15/17原[]零位置;两个Reroute缺widgets_values键,不补成[]。", + "四条并行支路:底图5.IMAGE槽0经边11→Reroute12输入0,再以边13→CR3.image、边14→孤海2.图像、边28→Camera20.image、边30→AddBlind1.image;四种效果分别预览,不是四种叠加在同一张图。", + "盲水印内容图6.IMAGE槽0以边17→Reroute14,再边31→AddBlind1.watermark_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。", + "独立提取:另载图10.IMAGE槽0以边22→Show16.image,再边23→Preview17.images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。", + "CR3.IMAGE槽0以边10→Preview11.images;show_help STRING槽1未接,是帮助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。", + "孤海文字支路:外部水印图像未接;文字60度旋转在平铺判断前,false仍旋转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", + "Camera外部exif_data未接:use_exif=true仍回退六手工字符串,不证明iPhone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/1200)缩放;bar_width/bar_height当前不作用。", + "三LoadImage的MASK槽1 links=null,全部未接。六Preview继承固定core0.25.0 SaveImage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。", + "源extra仅UE空表和坐标,没有frontendVersion。UE各节点7.8、空绑定表、未知宿主布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。", + "盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。", + "Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_size=int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。", + "包imagefunc写临时PNG,调用blind_watermark.WaterMark(password_img=1,password_wm=1),read_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。", + "Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经WaterMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。", + "源物理边:[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\"]", + "节点1 LayerUtility: AddBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点12 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点5 LoadImage mode=0;widgets_values=[\"ComfyUI_Qwen_00051_.png\", \"image\"];原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\"}}", + "节点6 LoadImage mode=0;widgets_values=[\"1772086821573.png\", \"image\"];原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\"}}", + "节点20 CameraWatermarkNode mode=0;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\"];原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\"}}", + "节点16 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点17 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点10 LoadImage mode=0;widgets_values=[\"ComfyUI_temp_pkyyb_00001_.png\", \"image\"];原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\"}}", + "节点7 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点14 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点8 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点9 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点15 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点11 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点13 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点3 CR Simple Text Watermark mode=0;widgets_values=[\"@ by Bright\", \"center\", 0.5, \"Caveat-VariableFont_wght.ttf\", 150, \"white\", 20, 20, \"#000000\"];原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}];原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\"}}", + "节点2 孤海-图像添加水印 mode=0;widgets_values=[\"@ by Bright\", \"华文细黑.ttf\", 15, 75, \"居中\", \"居中\", 0, 0, \"#ece4e4\", false, 60, 22, false];原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\"}}" + ], + "flow_evidence": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "matched": true, + "notice": "固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和实际效果未知,未实跑,转换保持关闭。", + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "source_sha1": "303dca71c55e659a7033b3d14d5885bc8a36ae7a", + "source_sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8", + "sources": [ + { + "claim": "core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "id": "core", + "lines": [ + 1695, + 1770 + ], + "local_file": "../watermark-reference/core__nodes.py", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py" + }, + { + "claim": "PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "id": "core", + "lines": [ + 1622, + 1693 + ], + "local_file": "../watermark-reference/core__nodes.py", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py" + }, + { + "claim": "LoadImage和PreviewImage旧式准确注册", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "id": "core", + "lines": [ + 2023, + 2065 + ], + "local_file": "../watermark-reference/core__nodes.py", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py" + }, + { + "claim": "Comfyroll准确九字段schema、批次循环、位置、字体和合成", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/nodes_graphics_text.py", + "id": "cr", + "lines": [ + 356, + 448 + ], + "local_file": "../watermark-reference/cr__nodes__nodes_graphics_text.py", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py" + }, + { + "claim": "只有custom使用HEX,其它颜色按color_mapping", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "id": "cr", + "lines": [ + 358, + 377 + ], + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py" + }, + { + "claim": "RGBA alpha按opacity减弱", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "id": "cr", + "lines": [ + 421, + 431 + ], + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py" + }, + { + "claim": "Comfyroll颜色选项与white映射", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "config.py", + "id": "cr", + "lines": [ + 1, + 35 + ], + "local_file": "../watermark-reference/cr__config.py", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py" + }, + { + "claim": "包入口引入node_mappings,CR准确类注册链", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "node_mappings.py", + "id": "cr", + "lines": [ + 1, + 532 + ], + "local_file": "../watermark-reference/cr__node_mappings.py", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py" + }, + { + "claim": "孤海准确schema、文字与图像支路、旋转/平铺、通道与注册", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "nodes/图像添加水印.py", + "id": "guhai", + "lines": [ + 1, + 259 + ], + "local_file": "../watermark-reference/guhai__nodes__图像添加水印.py", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py" + }, + { + "claim": "孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "__init__.py", + "id": "guhai", + "lines": [ + 1, + 48 + ], + "local_file": "../watermark-reference/guhai____init__.py", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py" + }, + { + "claim": "Camera准确27服务端控件schema及可选exif_data", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 230, + 269 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "样式范围解析和EXIF外线条件、手工文案回退、logo选择", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 314, + 365 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "随机/预设条件、1200宽动态缩放、字体、画布和logo绘制", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 407, + 650 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "字体/logo动态枚举、十种版式及预设", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 20, + 121 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "tensor转换与字体缓存/加载失败回退", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 271, + 295 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "Camera准确注册;该完整树没有JS文件,不证明宿主预设回调", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "id": "camera", + "lines": [ + 645, + 654 + ], + "local_file": "../watermark-reference/camera____init__.py", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py" + }, + { + "claim": "按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/extensions/core/uploadImage.ts", + "id": "frontend", + "lines": [ + 1, + 40 + ], + "local_file": "../birefnet-reference/frontend__src__extensions__core__uploadImage.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts" + }, + { + "claim": "准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "id": "frontend", + "lines": [ + 1, + 129 + ], + "local_file": "../birefnet-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts" + }, + { + "claim": "IMAGEUPLOAD控件工厂注册", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "id": "frontend", + "lines": [ + 296, + 309 + ], + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts" + }, + { + "claim": "按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "id": "frontend", + "lines": [ + 899, + 938 + ], + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts" + }, + { + "claim": "保存widgets_values及onSerialize,保存态不直接等于最终prompt", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "id": "frontend", + "lines": [ + 963, + 996 + ], + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts" + }, + { + "claim": "addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "id": "frontend", + "lines": [ + 1945, + 1998 + ], + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts" + }, + { + "claim": "graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/utils/executionUtil.ts", + "id": "frontend", + "lines": [ + 83, + 112 + ], + "local_file": "../birefnet-reference/frontend__src__utils__executionUtil.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts" + }, + { + "claim": "上传POST与完成后路径更新仅源码说明;本轮不调用上传", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/composables/node/useNodeImageUpload.ts", + "id": "frontend", + "lines": [ + 20, + 56 + ], + "local_file": "../birefnet-reference/frontend__src__composables__node__useNodeImageUpload.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts" + }, + { + "claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "LICENSE", + "id": "frontend", + "lines": [ + 1, + 674 + ], + "local_file": "../birefnet-reference/frontend__LICENSE", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE" + }, + { + "claim": "显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "id": "frontend-explicit-assumption", + "lines": [ + 82, + 265 + ], + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts" + }, + { + "claim": "准确包按py/*.py合并注册", + "commit": "unknown", + "file": "__init__.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1, + 48 + ], + "local_file": "../watermark-reference/layer____init__.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出", + "commit": "unknown", + "file": "py/watermark.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1, + 112 + ], + "local_file": "../watermark-reference/layer__py__watermark.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "水印尺寸公式、临时PNG、blind_watermark调用与异常回退", + "commit": "unknown", + "file": "py/imagefunc.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1295, + 1381 + ], + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "PIL/tensor归一化与量化", + "commit": "unknown", + "file": "py/imagefunc.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 119, + 149 + ], + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "normalize_gray亮度拉伸", + "commit": "unknown", + "file": "py/imagefunc.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 791, + 805 + ], + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "YCbCr分离/通道合并", + "commit": "unknown", + "file": "py/imagefunc.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1053, + 1086 + ], + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "RGBA恢复alpha", + "commit": "unknown", + "file": "py/imagefunc.py", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1737, + 1742 + ], + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖", + "commit": "unknown", + "file": "pyproject.toml", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1, + 15 + ], + "local_file": "../watermark-reference/layer__pyproject.toml", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + }, + { + "claim": "准确包MIT许可全文", + "commit": "unknown", + "file": "LICENSE", + "git_commit_binding": "unknown", + "id": "layer-registry-2.0.38", + "lines": [ + 1, + 21 + ], + "local_file": "../watermark-reference/layer__LICENSE", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af", + "registry_version": "2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip" + } + ], + "steps": [ + "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。", + "操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。", + "操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Preview误认为顺序叠加结果。", + "操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独立提取;二者不证明鲁棒性或当前执行成功。", + "常见问题:white下HEX不生效、center下边距不生效符合固定CR代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真实文件,不能凭引用保证。", + "常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。randomize附加控制不是随机版式开关,不能把保存seed称最终seed。", + "常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未检查。" + ], + "user_overview": "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "versions": [ + "core准确固定v0.25.0→135abed8da169e33ab0b86550e05e3ae55d6df8c,只读静态文本,不证明目标安装。", + "camera准确固定c461dedc6ce65e1defe7308e97e7081cedcaf2a7→c461dedc6ce65e1defe7308e97e7081cedcaf2a7,只读静态文本,不证明目标安装。", + "cr准确固定d78b780ae43fcf8c6b7c6505e6ffb4584281ceca→d78b780ae43fcf8c6b7c6505e6ffb4584281ceca,只读静态文本,不证明目标安装。", + "guhai准确固定0b267384faaa9201c821c68dfa3dacd784da171d→0b267384faaa9201c821c68dfa3dacd784da171d,只读静态文本,不证明目标安装。", + "源没有frontendVersion;显式frontend1.43.17→f754141537fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。", + "core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知。", + "LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。" + ], + "zero_saved_nodes": [ + { + "class_type": "LayerUtility: AddBlindWaterMark", + "effect": "原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "node_id": "1" + }, + { + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "node_id": "16" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "17" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "7" + }, + { + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "node_id": "8" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "9" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "15" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "11" + }, + { + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ], + "node_id": "13" + } + ] + }, + "io": { + "inputs": [], + "outputs": [] + }, + "materials": [], + "params": [], + "purpose": "四种水印方案包含盲水印添加与显示、简单文字水印、相机水印和孤海水印节点。", + "snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "source_links": [ + { + "link": [ + 4, + 1, + 0, + 7, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 6, + 8, + 0, + 9, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 8, + 1, + 0, + 8, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 10, + 3, + 0, + 11, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 11, + 5, + 0, + 12, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 13, + 12, + 0, + 3, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 14, + 12, + 0, + 2, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 16, + 2, + 0, + 13, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 17, + 6, + 0, + 14, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 22, + 10, + 0, + 16, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 23, + 16, + 0, + 17, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 28, + 12, + 0, + 20, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 29, + 20, + 0, + 15, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 30, + 12, + 0, + 1, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 31, + 14, + 0, + 1, + 1, + "IMAGE" + ], + "scope": "" + } + ], + "source_nodes": [ + { + "class_type": "LayerUtility: AddBlindWaterMark", + "inputs": [ + { + "link": 30, + "localized_name": "图像", + "name": "image", + "type": "IMAGE" + }, + { + "link": 31, + "localized_name": "水印图像", + "name": "watermark_image", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "1", + "source_values": [], + "title": null + }, + { + "class_type": "Reroute", + "inputs": [ + { + "link": 11, + "name": "", + "type": "*" + } + ], + "mode": 0, + "node_id": "12", + "source_values": [], + "title": null + }, + { + "class_type": "LoadImage", + "inputs": [ + { + "link": null, + "localized_name": "图像", + "name": "image", + "type": "COMBO", + "widget": { + "name": "image" + } + }, + { + "link": null, + "localized_name": "选择文件上传", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + } + } + ], + "mode": 0, + "node_id": "5", + "source_values": [ + "ComfyUI_Qwen_00051_.png", + "image" + ], + "title": null + }, + { + "class_type": "LoadImage", + "inputs": [ + { + "link": null, + "localized_name": "图像", + "name": "image", + "type": "COMBO", + "widget": { + "name": "image" + } + }, + { + "link": null, + "localized_name": "选择文件上传", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + } + } + ], + "mode": 0, + "node_id": "6", + "source_values": [ + "1772086821573.png", + "image" + ], + "title": null + }, + { + "class_type": "CameraWatermarkNode", + "inputs": [ + { + "link": 28, + "localized_name": "image", + "name": "image", + "type": "IMAGE" + }, + { + "link": null, + "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" + } + } + ], + "mode": 0, + "node_id": "20", + "source_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" + ], + "title": null + }, + { + "class_type": "LayerUtility: ShowBlindWaterMark", + "inputs": [ + { + "link": 22, + "localized_name": "图像", + "name": "image", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "16", + "source_values": [], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 23, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "17", + "source_values": [], + "title": null + }, + { + "class_type": "LoadImage", + "inputs": [ + { + "link": null, + "localized_name": "图像", + "name": "image", + "type": "COMBO", + "widget": { + "name": "image" + } + }, + { + "link": null, + "localized_name": "选择文件上传", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + } + } + ], + "mode": 0, + "node_id": "10", + "source_values": [ + "ComfyUI_temp_pkyyb_00001_.png", + "image" + ], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 4, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "7", + "source_values": [], + "title": null + }, + { + "class_type": "Reroute", + "inputs": [ + { + "link": 17, + "name": "", + "type": "*" + } + ], + "mode": 0, + "node_id": "14", + "source_values": [], + "title": null + }, + { + "class_type": "LayerUtility: ShowBlindWaterMark", + "inputs": [ + { + "link": 8, + "localized_name": "图像", + "name": "image", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "8", + "source_values": [], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 6, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "9", + "source_values": [], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 29, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "15", + "source_values": [], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 10, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "11", + "source_values": [], + "title": null + }, + { + "class_type": "PreviewImage", + "inputs": [ + { + "link": 16, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + } + ], + "mode": 0, + "node_id": "13", + "source_values": [], + "title": null + }, + { + "class_type": "CR Simple Text Watermark", + "inputs": [ + { + "label": "图像", + "link": 13, + "localized_name": "图像", + "name": "image", + "type": "IMAGE" + }, + { + "label": "文本", + "link": null, + "localized_name": "文本", + "name": "text", + "type": "STRING", + "widget": { + "name": "text" + } + }, + { + "label": "对齐到", + "link": null, + "localized_name": "对齐到", + "name": "align", + "type": "COMBO", + "widget": { + "name": "align" + } + }, + { + "label": "不透明度", + "link": null, + "localized_name": "不透明度", + "name": "opacity", + "type": "FLOAT", + "widget": { + "name": "opacity" + } + }, + { + "label": "字体", + "link": null, + "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" + } + }, + { + "label": "字体颜色", + "link": null, + "localized_name": "字体颜色", + "name": "font_color", + "type": "COMBO", + "widget": { + "name": "font_color" + } + }, + { + "label": "X页边距", + "link": null, + "localized_name": "X页边距", + "name": "x_margin", + "type": "INT", + "widget": { + "name": "x_margin" + } + }, + { + "label": "Y页边距", + "link": null, + "localized_name": "Y页边距", + "name": "y_margin", + "type": "INT", + "widget": { + "name": "y_margin" + } + }, + { + "label": "字体颜色HEX", + "link": null, + "localized_name": "字体颜色HEX", + "name": "font_color_hex", + "shape": 7, + "type": "STRING", + "widget": { + "name": "font_color_hex" + } + } + ], + "mode": 0, + "node_id": "3", + "source_values": [ + "@ by Bright", + "center", + 0.5, + "Caveat-VariableFont_wght.ttf", + 150, + "white", + 20, + 20, + "#000000" + ], + "title": "文本水印(简易)" + }, + { + "class_type": "孤海-图像添加水印", + "inputs": [ + { + "link": 14, + "localized_name": "图像", + "name": "图像", + "type": "IMAGE" + }, + { + "link": null, + "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": "输出透明通道" + } + } + ], + "mode": 0, + "node_id": "2", + "source_values": [ + "@ by Bright", + "华文细黑.ttf", + 15, + 75, + "居中", + "居中", + 0, + 0, + "#ece4e4", + false, + 60, + 22, + false + ], + "title": null + } + ], + "source_notes": [], + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "source_review": { + "complete": false, + "evidence": { + "link_count": 15, + "model_references": [], + "named_value_count": 0, + "node_count": 17, + "note_node_ids": [], + "unnamed_widget_node_ids": [ + "5", + "6", + "20", + "10", + "3", + "2" + ] + }, + "instruction": "分别替换各 LoadImage 并检查对应 PreviewImage;字体文件名也需核对,不能只检查模型文件。", + "purpose": "四种水印方案包含盲水印添加与显示、简单文字水印、相机水印和孤海水印节点。", + "reviewed_named_fields": [], + "scope": [ + "结构及用途局部审校", + "源具名参数/注释/连线/素材模型用途人工语义局部审校" + ], + "semantic_review": { + "batch": "HEL-892-third", + "conclusions": [ + "1的盲水印图像既到7预览又到8提取后9预览", + "3文字水印到11、20相机水印到15。先分别核对5/6/10素材和Caveat-VariableFont_wght.ttf、华文细黑.ttf字体", + "字体是依赖,源未列模型权重,也无注释确认水印可靠性。" + ], + "evidence_refs": { + "nodes": [ + { + "node_id": "1", + "pointer": "/source_nodes/0" + }, + { + "node_id": "5", + "pointer": "/source_nodes/2" + }, + { + "node_id": "6", + "pointer": "/source_nodes/3" + }, + { + "node_id": "20", + "pointer": "/source_nodes/4" + }, + { + "node_id": "10", + "pointer": "/source_nodes/7" + }, + { + "node_id": "7", + "pointer": "/source_nodes/8" + }, + { + "node_id": "8", + "pointer": "/source_nodes/10" + }, + { + "node_id": "9", + "pointer": "/source_nodes/11" + }, + { + "node_id": "15", + "pointer": "/source_nodes/12" + }, + { + "node_id": "11", + "pointer": "/source_nodes/13" + }, + { + "node_id": "3", + "pointer": "/source_nodes/15" + } + ], + "notes": [], + "source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)" + }, + "mechanical_inventory": { + "link_count": 15, + "named_value_count": 0, + "note_count": 0, + "position_widget_node_count": 6 + }, + "named_parameter_finding": "未发现可由源文件确认的具名参数", + "operation_check": "1的盲水印图像既到7预览又到8提取后9预览;3文字水印到11、20相机水印到15。先分别核对5/6/10素材和Caveat-VariableFont_wght.ttf、华文细黑.ttf字体;字体是依赖,源未列模型权重,也无注释确认水印可靠性。", + "unknowns": [ + "位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证", + "注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证", + "静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出", + "模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对" + ] + }, + "source_sha": "303dca71c55e659a7033b3d14d5885bc8a36ae7a", + "unconfirmed": [ + "逐参数语义、单位、范围和调整效果未定稿", + "UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出", + "模型/节点包位置、素材可用性及实际输出未在目标环境核对" + ] + }, + "source_review_sha": "a7bb4fd07bdf44f1cdfc2e272dd89565b999e41c798c1fbbfd18fad8d9047bca", + "status": { + "doc_done": false, + "exec_verified": false, + "imported": true + }, + "steps": [ + "分别替换各 LoadImage 并检查对应 PreviewImage;字体文件名也需核对,不能只检查模型文件。", + "1的盲水印图像既到7预览又到8提取后9预览;3文字水印到11、20相机水印到15。先分别核对5/6/10素材和Caveat-VariableFont_wght.ttf、华文细黑.ttf字体;字体是依赖,源未列模型权重,也无注释确认水印可靠性。", + "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。", + "操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。", + "操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Preview误认为顺序叠加结果。", + "操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独立提取;二者不证明鲁棒性或当前执行成功。", + "常见问题:white下HEX不生效、center下边距不生效符合固定CR代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真实文件,不能凭引用保证。", + "常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。randomize附加控制不是随机版式开关,不能把保存seed称最终seed。", + "常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未检查。" + ], + "title": "图像4种添加水印节点" +} diff --git a/docs/hel-892/watermark-document-evidence/audit-summary.json b/docs/hel-892/watermark-document-evidence/audit-summary.json new file mode 100644 index 00000000..dfd588aa --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/audit-summary.json @@ -0,0 +1,24 @@ +{ + "total": 155, + "audit_scope": "current_delivery", + "source_files": 156, + "target_files": 155, + "user_excluded": 1, + "source_structure_purpose_partially_reviewed": 155, + "full_documents_completed": 0, + "files_with_selected_named_fields_reviewed": 41, + "selected_named_fields_reviewed": 1217, + "real_executions": 0, + "states": { + "pending_check": 16, + "needs_conversion": 139 + }, + "named_values_preserved": 1217, + "unnamed_widget_nodes": 3660, + "semantic_batch_files": 139, + "semantic_batch_without_named_fields": 114, + "semantic_batch_named_fields": 490, + "named_values_without_manual_field_review": 0, + "named_values_without_verified_units_ranges_effects": 1217, + "scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿" +} diff --git a/docs/hel-892/watermark-document-evidence/backend-initial.txt b/docs/hel-892/watermark-document-evidence/backend-initial.txt new file mode 100644 index 00000000..c43de4b0 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/backend-initial.txt @@ -0,0 +1,425 @@ +........................................................................ [ 16%] +........................................................................ [ 33%] +........................................................................ [ 50%] +........................................................................ [ 66%] +........................................................................ [ 83%] +................................................................FFF..FF. [100%] +=================================== FAILURES =================================== +______________ test_exact_graph_and_original_seventeen_unchanged _______________ + + def test_exact_graph_and_original_seventeen_unchanged(): + d = doc() + assert d["fixed_version"]["matched"] + assert len(BLOCK["fields"]) == 21 and BLOCK["comments"] == [] + assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 2 + nodes = {n["id"]: n for n in SOURCE["nodes"]} + assert {k: len(n["widgets_values"]) for k, n in nodes.items()} == {20: 0, 21: 11, 1: 10, 15: 0} + assert all(n["mode"] == 0 for n in nodes.values()) + assert "frontendVersion" not in SOURCE["extra"] and "definitions" not in SOURCE + assert SOURCE["links"] == [ + [15, 1, 0, 20, 0, "IMAGE"], + [16, 20, 0, 15, 0, "IMAGE"], + [17, 20, 0, 21, 0, "IMAGE"], + [18, 1, 2, 21, 1, "AUDIO"], + ] + for eid, origin, slot, target, inp, typ in SOURCE["links"]: + assert eid in nodes[origin]["outputs"][slot]["links"] + assert nodes[origin]["outputs"][slot]["type"] == typ + assert nodes[target]["inputs"][inp]["link"] == eid + assert nodes[target]["inputs"][inp]["type"] == typ + fields = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]} + assert fields["1", "force_rate"]["value"] == fields["21", "frame_rate"]["value"] == 16 + assert fields["1", "force_rate"]["json_type"] == "int" + assert fields["1", "choose video to upload"]["role"] == "frontend_control" + assert all( + f["role"] == "frontend_history" for f in BLOCK["fields"] if f["field"] == "videopreview" + ) + text = "".join(BLOCK["flow"]) + for token in [ + "音频link18", + "绕过Reverse20", + "torch.flip(images,[0])", + "没有frontendVersion", + "-shortest", + "RETURN_TYPES", + "未接", + "历史", + "未知", + "内存", + "VHS1.7.7", + ]: + assert token in text + assert not BLOCK["counts"]["final_prompt_constructed"] + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "ab18cd3:" + resource], cwd=REPO)) + now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") + birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) + now[birefnet].pop("fixed_version_document") + for added in [ + p + for p in now + if p.endswith( + ( + "视频转gif动图图片.json", + "加载图片合成视频.json", + "双图像或视频合并显示.json", + "截取视频每一帧.json", + "加载本地latent解码.json", + ) + ) + ]: + now[added].pop("fixed_version_document") + assert now[PATH].pop("fixed_version_document") == BLOCK + assert now == old and len(DEFINITIONS) == 25 + blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] + assert len(blocks) == 17 and sum(len(b["fields"]) for b in blocks) == 495 + assert ( + sum(len(b.get("comments", [])) for b in blocks) == 14 + ) # ASR historical note counted separately + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + for p in DEFINITIONS: + if p.endswith("/birefnet_图像移除背景.json"): + continue + if p.endswith( + ( + "视频转gif动图图片.json", + "加载图片合成视频.json", + "双图像或视频合并显示.json", + "截取视频每一帧.json", + "加载本地latent解码.json", + ) + ): + continue + if p == PATH: + continue + r = copy.deepcopy(REVIEW) +> r["fixed_version_document"] = old[p]["fixed_version_document"] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E KeyError: 'fixed_version_document' + +calliope-backend/tests/test_reverse_fixed_document.py:259: KeyError +__________ test_exact_topology_counts_modes_unknowns_and_old_objects ___________ + + def test_exact_topology_counts_modes_unknowns_and_old_objects(): + d = doc() + assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"] + assert len(BLOCK["fields"]) == 74 and len(BLOCK["comments"]) == 0 + assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 3 + assert sum(f["value"] is None for f in BLOCK["fields"]) == 1 + assert sum(f["role"] == "unknown_saved" for f in BLOCK["fields"]) == 7 + expected = { + 203: 1, + 334: 1, + 340: 1, + 137: 11, + 339: 1, + 373: 11, + 364: 3, + 362: 7, + 363: 0, + 106: 2, + 374: 9, + 370: 1, + 130: 9, + 208: 1, + 376: 1, + 375: 9, + 365: 0, + 335: 2, + 372: 4, + } + nodes = {n["id"]: n for n in SOURCE["nodes"]} + assert {nid: len(n["widgets_values"]) for nid, n in nodes.items()} == expected + assert {nid for nid, n in nodes.items() if n["mode"] == 4} == {106, 375, 365} + assert len(SOURCE["links"]) == 22 and "definitions" not in SOURCE + assert [e[0] for e in SOURCE["links"]] == [ + 570, + 621, + 623, + 624, + 625, + 627, + 629, + 648, + 650, + 651, + 653, + 654, + 655, + 656, + 657, + 658, + 659, + 660, + 661, + 662, + 663, + 665, + ] + for eid, origin, slot, target, inp, typ in SOURCE["links"]: + assert eid in nodes[origin]["outputs"][slot]["links"] + assert nodes[target]["inputs"][inp]["link"] == eid + assert nodes[target]["inputs"][inp]["type"] == ( + {648: "INT", 661: "INT,FLOAT", 662: "INT,FLOAT"}.get(eid, typ) + ) + text = "".join(BLOCK["flow"]) + assert all( + t in text + for t in [ + "没有warmup", + "没有per_batch", + "round(result)", + "两Combine.audio都未接", + "临时目录", + "UE", + "mode4", + "0新源注释", + "冲突不抹平", + "taichi", + "提供方", + "未实跑", + ] + ) + assert not BLOCK["counts"]["final_prompt_constructed"] + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + resource], cwd=REPO)) + now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") + birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) + now[birefnet].pop("fixed_version_document") + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") + later = next(p for p in now if p.endswith("/截取视频每一帧.json")) + now[later].pop("fixed_version_document") + for added in [ + p + for p in now + if p.endswith( + ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") + ) + ]: + now[added].pop("fixed_version_document") + reverse = next(p for p in now if p.endswith("/视频倒放.json")) + now[reverse].pop("fixed_version_document") + assert now[PATH].pop("fixed_version_document") == BLOCK + assert now == old and len(DEFINITIONS) == 25 + old_blocks = [ + r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r + ] + assert len(old_blocks) == 16 and sum(len(b["fields"]) for b in old_blocks) == 421 + assert ( + sum(len(b.get("comments", [])) for b in old_blocks) == 14 + ) # separate historical ASR flow note + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + for p in DEFINITIONS: + if p.endswith("/birefnet_图像移除背景.json"): + continue + if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): + continue + if p.endswith( + ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") + ): + continue + if p == PATH or p.endswith("/视频倒放.json"): + continue + r = copy.deepcopy(REVIEW) +> r["fixed_version_document"] = old[p]["fixed_version_document"] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E KeyError: 'fixed_version_document' + +calliope-backend/tests/test_nlf_fixed_document.py:304: KeyError +________________ test_exact_document_topology_and_preservation _________________ + + def test_exact_document_topology_and_preservation(): + d = doc() + assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"] + assert len(BLOCK["fields"]) == 27 and len(BLOCK["comments"]) == 1 + assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 2 + assert len(SOURCE["nodes"]) == 5 and len(SOURCE["links"]) == 4 + assert SOURCE["links"] == [ + [4, 1, 0, 4, 0, "IMAGE"], + [10, 2, 0, 1, 0, "IMAGE"], + [11, 2, 3, 9, 0, "VHS_VIDEOINFO"], + [12, 9, 0, 4, 4, "FLOAT"], + ] + nodes = {n["id"]: n for n in SOURCE["nodes"]} + for edge, origin, slot, target, inp, typ in SOURCE["links"]: + assert edge in nodes[origin]["outputs"][slot]["links"] + assert nodes[target]["inputs"][inp]["link"] == edge + assert nodes[target]["inputs"][inp]["type"] == typ + assert nodes[9]["widgets_values"] == {} and type(nodes[9]["widgets_values"]) is dict + assert all(n["mode"] == 0 for n in SOURCE["nodes"]) + assert pointer(SOURCE, BLOCK["comments"][0]["pointer"]) == BLOCK["comments"][0]["text"] + assert not BLOCK["counts"]["final_prompt_constructed"] + assert all( + s in "".join(BLOCK["flow"]) + for s in [ + "未实跑", + "包同字节不等于提交绑定", + "loaded_fps", + "外线覆盖", + "音频", + "UE7.5.2", + "空对象", + "不是缺键/null/[]", + ] + ) + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + previous = json.loads(subprocess.check_output(["git", "show", "fec5cca:" + resource], cwd=REPO)) + current = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in current if p.endswith("/图像4种添加水印节点.json")) + current[watermark].pop("fixed_version_document") + birefnet = next(p for p in current if p.endswith("/birefnet_图像移除背景.json")) + current[birefnet].pop("fixed_version_document") + latent = next(p for p in current if p.endswith("/加载本地latent解码.json")) + current[latent].pop("fixed_version_document") + later = next(p for p in current if p.endswith("/截取视频每一帧.json")) + current[later].pop("fixed_version_document") + for added in [ + p + for p in current + if p.endswith( + ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") + ) + ]: + current[added].pop("fixed_version_document") + reverse = next(p for p in current if p.endswith("/视频倒放.json")) + current[reverse].pop("fixed_version_document") + nlf = next(p for p in current if p.endswith("NLF_视频人物动作骨架获取.json")) + current[nlf].pop("fixed_version_document") + assert current[PATH].pop("fixed_version_document") == BLOCK + assert current == previous and len(DEFINITIONS) == 25 + old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r] + assert len(old) == 15 and sum(len(b["fields"]) for b in old) == 394 + assert sum(len(b.get("comments", [])) for b in old) == 13 # one historical ASR flow note + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + assert not doc(path="untrusted.json").get("fixed_version") + for p in DEFINITIONS: + if p.endswith("/birefnet_图像移除背景.json"): + continue + if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")): + continue + if p.endswith( + ("视频转gif动图图片.json", "加载图片合成视频.json", "双图像或视频合并显示.json") + ): + continue + if p in [PATH, nlf, reverse]: + continue + r = copy.deepcopy(REVIEW) +> r["fixed_version_document"] = previous[p]["fixed_version_document"] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E KeyError: 'fixed_version_document' + +calliope-backend/tests/test_openpose_fixed_document.py:245: KeyError +______________ test_real_document_and_frozen_old_fourteen_blocks _______________ + + def test_real_document_and_frozen_old_fourteen_blocks(): + d = doc() + assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"] + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + assert "fixed_version" not in doc(path="untrusted.json") + review = copy.deepcopy(REVIEW) + other = next( + p + for p in DEFINITIONS + if p != PATH + and not p.endswith("/birefnet_图像移除背景.json") + and not p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")) + and not p.endswith( + ("NLF_视频人物动作骨架获取.json", "/视频倒放.json", "双图像或视频合并显示.json") + ) + ) + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") + birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) + now[birefnet].pop("fixed_version_document") + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") + later = next(p for p in now if p.endswith("/截取视频每一帧.json")) + now[later].pop("fixed_version_document") + for added in [ + p + for p in now + if p.endswith( + ( + "视频转gif动图图片.json", + "加载图片合成视频.json", + "双图像或视频合并显示.json", + ) + ) + ]: + now[added].pop("fixed_version_document") + reverse = next(p for p in now if p.endswith("/视频倒放.json")) + now[reverse].pop("fixed_version_document") + nlf = next(p for p in now if p.endswith("NLF_视频人物动作骨架获取.json")) + now[nlf].pop("fixed_version_document") + openpose = next(p for p in now if p.endswith("openpose-video-姿态检测.json")) +> review["fixed_version_document"] = now[other]["fixed_version_document"] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E KeyError: 'fixed_version_document' + +calliope-backend/tests/test_sdpose_fixed_document.py:190: KeyError +______ test_ten_documents_only_gain_overview_and_new_block_is_independent ______ + + def test_ten_documents_only_gain_overview_and_new_block_is_independent(): + p = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "ec3388a:" + p], cwd=REPO)) + now = json.loads((REPO / p).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") + birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) + now[birefnet].pop("fixed_version_document") + # Freeze the historical eleven-document revision; the two grid additions are + # independently compared against 27e6d56 in test_grid_fixed_document. + # Gemma is separately checked against 9dac1b4 in test_gemma_fixed_document. + additions = [ + p + for p in DEFINITIONS + if p.endswith( + ( + "图像合并成四宫格.json", + "图像分割-多宫格分割.json", + "gemma4_提示词反推(图像视频音频).json", + "sdpose_视频人物姿势骨架提取.json", + "openpose-video-姿态检测.json", + "NLF_视频人物动作骨架获取.json", + "/视频倒放.json", + "视频转gif动图图片.json", + "加载图片合成视频.json", + "双图像或视频合并显示.json", + "截取视频每一帧.json", + "加载本地latent解码.json", + ) + ) + ] + assert len(additions) == 12 + for p in additions: + now[p].pop("fixed_version_document") + historical = [p for p in DEFINITIONS if p not in additions and p != birefnet] +> assert len(historical) == 11 +E AssertionError: assert 12 == 11 +E + where 12 = len(['example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json', 'example_ComfyUI_workflows/3-图像生成/Qwen-Im...图像视频放大/Minimax-H3提示词增强.json', 'example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json', ...]) + +calliope-backend/tests/test_background_fixed_document.py:224: AssertionError +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-7681e8af13d0/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. + _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]] + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +=========================== short test summary info ============================ +FAILED calliope-backend/tests/test_reverse_fixed_document.py::test_exact_graph_and_original_seventeen_unchanged +FAILED calliope-backend/tests/test_nlf_fixed_document.py::test_exact_topology_counts_modes_unknowns_and_old_objects +FAILED calliope-backend/tests/test_openpose_fixed_document.py::test_exact_document_topology_and_preservation +FAILED calliope-backend/tests/test_sdpose_fixed_document.py::test_real_document_and_frozen_old_fourteen_blocks +FAILED calliope-backend/tests/test_background_fixed_document.py::test_ten_documents_only_gain_overview_and_new_block_is_independent +5 failed, 427 passed, 1 warning in 6.31s diff --git a/docs/hel-892/watermark-document-evidence/backend-second.txt b/docs/hel-892/watermark-document-evidence/backend-second.txt new file mode 100644 index 00000000..18beea8e --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/backend-second.txt @@ -0,0 +1,67 @@ +........................................................................ [ 16%] +........................................................................ [ 33%] +........................................................................ [ 50%] +........................................................................ [ 66%] +........................................................................ [ 83%] +.....................................................................F.. [100%] +=================================== FAILURES =================================== +______________ test_real_document_and_frozen_old_fourteen_blocks _______________ + + def test_real_document_and_frozen_old_fourteen_blocks(): + d = doc() + assert d["fixed_version"]["matched"] and d["fixed_version"]["fields"] == BLOCK["fields"] + assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False) + assert d["dependencies"]["check_state"] == "unchecked" + assert "fixed_version" not in doc(path="untrusted.json") + review = copy.deepcopy(REVIEW) + other = next( + p + for p in DEFINITIONS + if p != PATH + and not p.endswith("/birefnet_图像移除背景.json") + and not p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")) + and not p.endswith( + ("NLF_视频人物动作骨架获取.json", "/视频倒放.json", "双图像或视频合并显示.json") + ) + ) + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + now = json.loads((REPO / resource).read_bytes()) + watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json")) + now[watermark].pop("fixed_version_document") + birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json")) + now[birefnet].pop("fixed_version_document") + latent = next(p for p in now if p.endswith("/加载本地latent解码.json")) + now[latent].pop("fixed_version_document") + later = next(p for p in now if p.endswith("/截取视频每一帧.json")) + now[later].pop("fixed_version_document") + for added in [ + p + for p in now + if p.endswith( + ( + "视频转gif动图图片.json", + "加载图片合成视频.json", + "双图像或视频合并显示.json", + ) + ) + ]: + now[added].pop("fixed_version_document") + reverse = next(p for p in now if p.endswith("/视频倒放.json")) + now[reverse].pop("fixed_version_document") + nlf = next(p for p in now if p.endswith("NLF_视频人物动作骨架获取.json")) + now[nlf].pop("fixed_version_document") + openpose = next(p for p in now if p.endswith("openpose-video-姿态检测.json")) +> review["fixed_version_document"] = now[other]["fixed_version_document"] + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +E KeyError: 'fixed_version_document' + +calliope-backend/tests/test_sdpose_fixed_document.py:190: KeyError +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-7681e8af13d0/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. + _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]] + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +=========================== short test summary info ============================ +FAILED calliope-backend/tests/test_sdpose_fixed_document.py::test_real_document_and_frozen_old_fourteen_blocks +1 failed, 431 passed, 1 warning in 6.13s diff --git a/docs/hel-892/watermark-document-evidence/backend.txt b/docs/hel-892/watermark-document-evidence/backend.txt new file mode 100644 index 00000000..99985820 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/backend.txt @@ -0,0 +1,13 @@ +........................................................................ [ 16%] +........................................................................ [ 33%] +........................................................................ [ 50%] +........................................................................ [ 66%] +........................................................................ [ 83%] +........................................................................ [100%] +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-7681e8af13d0/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. + _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]] + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +432 passed, 1 warning in 6.04s diff --git a/docs/hel-892/watermark-document-evidence/boundaries.json b/docs/hel-892/watermark-document-evidence/boundaries.json new file mode 100644 index 00000000..4ef9b516 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/boundaries.json @@ -0,0 +1,728 @@ +{ + "base": "11938ca837fac5acace9d9ef3555d54e224c3d1e", + "files": [ + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json", + "sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed" + }, + { + "path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json", + "sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json", + "sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49" + }, + { + "path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json", + "sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json", + "sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json", + "sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c" + }, + { + "path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json", + "sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json", + "sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json", + "sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json", + "sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json", + "sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json", + "sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json", + "sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json", + "sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json", + "sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json", + "sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json", + "sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json", + "sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json", + "sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json", + "sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json", + "sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json", + "sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json", + "sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json", + "sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json", + "sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json", + "sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json", + "sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json", + "sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json", + "sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json", + "sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json", + "sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json", + "sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json", + "sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json", + "sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json", + "sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json", + "sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json", + "sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json", + "sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json", + "sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json", + "sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json", + "sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json", + "sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json", + "sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json", + "sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json", + "sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json", + "sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json", + "sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json", + "sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json", + "sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json", + "sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json", + "sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json", + "sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json", + "sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json", + "sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json", + "sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json", + "sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json", + "sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json", + "sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json", + "sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json", + "sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json", + "sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json", + "sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json", + "sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json", + "sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json", + "sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json", + "sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json", + "sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json", + "sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json", + "sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json", + "sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json", + "sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json", + "sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json", + "sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json", + "sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json", + "sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json", + "sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json", + "sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json", + "sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json", + "sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json", + "sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json", + "sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json", + "sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json", + "sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json", + "sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json", + "sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json", + "sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json", + "sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json", + "sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json", + "sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json", + "sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json", + "sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json", + "sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json", + "sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json", + "sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json", + "sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json", + "sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json", + "sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json", + "sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json", + "sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json", + "sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json", + "sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json", + "sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json", + "sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json", + "sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json", + "sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json", + "sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json", + "sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json", + "sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json", + "sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json", + "sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json", + "sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json", + "sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json", + "sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json", + "sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json", + "sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json", + "sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json", + "sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json", + "sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json", + "sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json", + "sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json", + "sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json", + "sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json", + "sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json", + "sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json", + "sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json", + "sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json", + "sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json", + "sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json", + "sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json", + "sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json", + "sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json", + "sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json", + "sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json", + "sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json", + "sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json", + "sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json", + "sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json", + "sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json", + "sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json", + "sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json", + "sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json", + "sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json", + "sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json", + "sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json", + "sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json", + "sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json", + "sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json", + "sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json", + "sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json", + "sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json", + "sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071" + }, + { + "path": "docs/hel-892/supplied-api/02.api.json", + "sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b" + }, + { + "path": "docs/hel-892/supplied-api/01.api.json", + "sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e" + }, + { + "path": "docs/hel-892/supplied-api/07.api.json", + "sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d" + }, + { + "path": "docs/hel-892/supplied-api/06.api.json", + "sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b" + }, + { + "path": "docs/hel-892/supplied-api/04.api.json", + "sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e" + }, + { + "path": "docs/hel-892/supplied-api/03.api.json", + "sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce" + }, + { + "path": "docs/hel-892/supplied-api/05.api.json", + "sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8" + }, + { + "path": "calliope-backend/src/calliope/comfyui/registry.py", + "sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library_cli.py", + "sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380" + }, + { + "path": "calliope-backend/src/calliope/comfyui/client.py", + "sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72" + }, + { + "path": "calliope-backend/src/calliope/comfyui/output_map.py", + "sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.py", + "sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.json", + "sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4" + }, + { + "path": "calliope-backend/src/calliope/routers/workflows.py", + "sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97" + }, + { + "path": "calliope-backend/src/calliope/queue/worker.py", + "sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b" + }, + { + "path": "docs/hel-892/h3-chain-evidence/library.json", + "sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4" + }, + { + "path": "docs/hel-892/media-evidence/protected-six-cases.json", + "sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/structure_reference.py", + "sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb" + }, + { + "path": "calliope-backend/src/calliope/comfyui/serialization_reference.py", + "sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1" + }, + { + "path": "calliope-backend/src/calliope/comfyui/ui2api.py", + "sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py", + "sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py", + "sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c" + } + ], + "originals": 163, + "old_twenty_four_blocks_unchanged": true, + "drawer_css_unchanged": true, + "drawer_whole_file_unchanged": true, + "drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1", + "conversion_rerun": false, + "profiles_28_candidates_9_diffs_6": "unchanged" +} diff --git a/docs/hel-892/watermark-document-evidence/browser-initial.txt b/docs/hel-892/watermark-document-evidence/browser-initial.txt new file mode 100644 index 00000000..85d16c83 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/browser-initial.txt @@ -0,0 +1,1401 @@ +PASS 25图721保存位置 +PASS 25图16源注释 +PASS 1440 图像4种添加水印节点默认中文用途 +PASS 1440 图像4种添加水印节点源审校默认折叠 +PASS 1440 图像4种添加水印节点技术范围默认折叠 +PASS 1440 图像4种添加水印节点默认无执行计数/实现标识 +PASS 1440 图像4种添加水印节点默认依据限制可见 +PASS 1440 图像4种添加水印节点 说明未定稿 +PASS 1440 图像4种添加水印节点 未验证实跑 +PASS 1440 图像4种添加水印节点 未检查 +PASS 1440 图像4种添加水印节点停用/时间戳空 +PASS 1440 图像4种添加水印节点参数全保留 +PASS 1440 图像4种添加水印节点默认无溢出 +PASS 1440 图像4种添加水印节点原用途/源路径展开保留 +PASS 1440 图像4种添加水印节点展开流程 0 +PASS 1440 图像4种添加水印节点展开流程 1 +PASS 1440 图像4种添加水印节点展开流程 2 +PASS 1440 图像4种添加水印节点展开流程 3 +PASS 1440 图像4种添加水印节点展开流程 4 +PASS 1440 图像4种添加水印节点展开流程 5 +PASS 1440 图像4种添加水印节点展开流程 6 +PASS 1440 图像4种添加水印节点展开流程 7 +PASS 1440 图像4种添加水印节点展开流程 8 +PASS 1440 图像4种添加水印节点展开流程 9 +PASS 1440 图像4种添加水印节点展开流程 10 +PASS 1440 图像4种添加水印节点展开流程 11 +PASS 1440 图像4种添加水印节点展开流程 12 +PASS 1440 图像4种添加水印节点展开流程 13 +PASS 1440 图像4种添加水印节点展开流程 14 +PASS 1440 图像4种添加水印节点展开流程 15 +PASS 1440 图像4种添加水印节点展开流程 16 +PASS 1440 图像4种添加水印节点展开流程 17 +PASS 1440 图像4种添加水印节点展开流程 18 +PASS 1440 图像4种添加水印节点展开流程 19 +PASS 1440 图像4种添加水印节点展开流程 20 +PASS 1440 图像4种添加水印节点展开流程 21 +PASS 1440 图像4种添加水印节点展开流程 22 +PASS 1440 图像4种添加水印节点展开流程 23 +PASS 1440 图像4种添加水印节点展开流程 24 +PASS 1440 图像4种添加水印节点展开流程 25 +PASS 1440 图像4种添加水印节点展开流程 26 +PASS 1440 图像4种添加水印节点展开流程 27 +PASS 1440 图像4种添加水印节点展开流程 28 +PASS 1440 图像4种添加水印节点展开流程 29 +PASS 1440 图像4种添加水印节点展开流程 30 +PASS 1440 图像4种添加水印节点展开流程 31 +PASS 1440 图像4种添加水印节点展开流程 32 +PASS 1440 图像4种添加水印节点展开流程 33 +PASS 1440 图像4种添加水印节点展开流程 34 +PASS 1440 图像4种添加水印节点展开流程 35 +PASS 1440 图像4种添加水印节点展开流程 36 +PASS 1440 图像4种添加水印节点展开流程 37 +PASS 1440 图像4种添加水印节点展开流程 38 +PASS 1440 图像4种添加水印节点展开流程 39 +PASS 1440 图像4种添加水印节点展开流程 40 +PASS 1440 图像4种添加水印节点展开流程 41 +PASS 1440 图像4种添加水印节点展开流程 42 +PASS 1440 图像4种添加水印节点展开流程 43 +PASS 1440 图像4种添加水印节点展开流程 44 +PASS 1440 图像4种添加水印节点原件摘要可展开 +PASS 1440 图像4种添加水印节点版本 0 +PASS 1440 图像4种添加水印节点版本 1 +PASS 1440 图像4种添加水印节点版本 2 +PASS 1440 图像4种添加水印节点版本 3 +PASS 1440 图像4种添加水印节点版本 4 +PASS 1440 图像4种添加水印节点版本 5 +PASS 1440 图像4种添加水印节点版本 6 +PASS 1440 5.image键盘展开 +PASS 1440 5.image用途/单位/范围/来源条件 +PASS 1440 5.image精确保留现值 +PASS 1440 5.image指针默认折叠 +PASS 1440 5.image精确源码/类型/指针 +PASS 1440 5.image展开无溢出 +PASS 1440 5.upload键盘展开 +PASS 1440 5.upload用途/单位/范围/来源条件 +PASS 1440 5.upload精确保留现值 +PASS 1440 5.upload指针默认折叠 +PASS 1440 5.upload精确源码/类型/指针 +PASS 1440 5.upload展开无溢出 +PASS 1440 6.image键盘展开 +PASS 1440 6.image用途/单位/范围/来源条件 +PASS 1440 6.image精确保留现值 +PASS 1440 6.image指针默认折叠 +PASS 1440 6.image精确源码/类型/指针 +PASS 1440 6.image展开无溢出 +PASS 1440 6.upload键盘展开 +PASS 1440 6.upload用途/单位/范围/来源条件 +PASS 1440 6.upload精确保留现值 +PASS 1440 6.upload指针默认折叠 +PASS 1440 6.upload精确源码/类型/指针 +PASS 1440 6.upload展开无溢出 +PASS 1440 10.image键盘展开 +PASS 1440 10.image用途/单位/范围/来源条件 +PASS 1440 10.image精确保留现值 +PASS 1440 10.image指针默认折叠 +PASS 1440 10.image精确源码/类型/指针 +PASS 1440 10.image展开无溢出 +PASS 1440 10.upload键盘展开 +PASS 1440 10.upload用途/单位/范围/来源条件 +PASS 1440 10.upload精确保留现值 +PASS 1440 10.upload指针默认折叠 +PASS 1440 10.upload精确源码/类型/指针 +PASS 1440 10.upload展开无溢出 +PASS 1440 3.text键盘展开 +PASS 1440 3.text用途/单位/范围/来源条件 +PASS 1440 3.text精确保留现值 +PASS 1440 3.text指针默认折叠 +PASS 1440 3.text精确源码/类型/指针 +PASS 1440 3.text展开无溢出 +PASS 1440 3.align键盘展开 +PASS 1440 3.align用途/单位/范围/来源条件 +PASS 1440 3.align精确保留现值 +PASS 1440 3.align指针默认折叠 +PASS 1440 3.align精确源码/类型/指针 +PASS 1440 3.align展开无溢出 +PASS 1440 3.opacity键盘展开 +PASS 1440 3.opacity用途/单位/范围/来源条件 +PASS 1440 3.opacity精确保留现值 +PASS 1440 3.opacity指针默认折叠 +PASS 1440 3.opacity精确源码/类型/指针 +PASS 1440 3.opacity展开无溢出 +PASS 1440 3.font_name键盘展开 +PASS 1440 3.font_name用途/单位/范围/来源条件 +PASS 1440 3.font_name精确保留现值 +PASS 1440 3.font_name指针默认折叠 +PASS 1440 3.font_name精确源码/类型/指针 +PASS 1440 3.font_name展开无溢出 +PASS 1440 3.font_size键盘展开 +PASS 1440 3.font_size用途/单位/范围/来源条件 +PASS 1440 3.font_size精确保留现值 +PASS 1440 3.font_size指针默认折叠 +PASS 1440 3.font_size精确源码/类型/指针 +PASS 1440 3.font_size展开无溢出 +PASS 1440 3.font_color键盘展开 +PASS 1440 3.font_color用途/单位/范围/来源条件 +PASS 1440 3.font_color精确保留现值 +PASS 1440 3.font_color指针默认折叠 +PASS 1440 3.font_color精确源码/类型/指针 +PASS 1440 3.font_color展开无溢出 +PASS 1440 3.x_margin键盘展开 +PASS 1440 3.x_margin用途/单位/范围/来源条件 +PASS 1440 3.x_margin精确保留现值 +PASS 1440 3.x_margin指针默认折叠 +PASS 1440 3.x_margin精确源码/类型/指针 +PASS 1440 3.x_margin展开无溢出 +PASS 1440 3.y_margin键盘展开 +PASS 1440 3.y_margin用途/单位/范围/来源条件 +PASS 1440 3.y_margin精确保留现值 +PASS 1440 3.y_margin指针默认折叠 +PASS 1440 3.y_margin精确源码/类型/指针 +PASS 1440 3.y_margin展开无溢出 +PASS 1440 3.font_color_hex键盘展开 +PASS 1440 3.font_color_hex用途/单位/范围/来源条件 +PASS 1440 3.font_color_hex精确保留现值 +PASS 1440 3.font_color_hex指针默认折叠 +PASS 1440 3.font_color_hex精确源码/类型/指针 +PASS 1440 3.font_color_hex展开无溢出 +PASS 1440 2.水印文本键盘展开 +PASS 1440 2.水印文本用途/单位/范围/来源条件 +PASS 1440 2.水印文本精确保留现值 +PASS 1440 2.水印文本指针默认折叠 +PASS 1440 2.水印文本精确源码/类型/指针 +PASS 1440 2.水印文本展开无溢出 +PASS 1440 2.字体键盘展开 +PASS 1440 2.字体用途/单位/范围/来源条件 +PASS 1440 2.字体精确保留现值 +PASS 1440 2.字体指针默认折叠 +PASS 1440 2.字体精确源码/类型/指针 +PASS 1440 2.字体展开无溢出 +PASS 1440 2.水印大小百分比键盘展开 +PASS 1440 2.水印大小百分比用途/单位/范围/来源条件 +PASS 1440 2.水印大小百分比精确保留现值 +PASS 1440 2.水印大小百分比指针默认折叠 +PASS 1440 2.水印大小百分比精确源码/类型/指针 +PASS 1440 2.水印大小百分比展开无溢出 +PASS 1440 2.水印不透明度键盘展开 +PASS 1440 2.水印不透明度用途/单位/范围/来源条件 +PASS 1440 2.水印不透明度精确保留现值 +PASS 1440 2.水印不透明度指针默认折叠 +PASS 1440 2.水印不透明度精确源码/类型/指针 +PASS 1440 2.水印不透明度展开无溢出 +PASS 1440 2.水平位置键盘展开 +PASS 1440 2.水平位置用途/单位/范围/来源条件 +PASS 1440 2.水平位置精确保留现值 +PASS 1440 2.水平位置指针默认折叠 +PASS 1440 2.水平位置精确源码/类型/指针 +PASS 1440 2.水平位置展开无溢出 +PASS 1440 2.垂直位置键盘展开 +PASS 1440 2.垂直位置用途/单位/范围/来源条件 +PASS 1440 2.垂直位置精确保留现值 +PASS 1440 2.垂直位置指针默认折叠 +PASS 1440 2.垂直位置精确源码/类型/指针 +PASS 1440 2.垂直位置展开无溢出 +PASS 1440 2.X偏移百分比键盘展开 +PASS 1440 2.X偏移百分比用途/单位/范围/来源条件 +PASS 1440 2.X偏移百分比精确保留现值 +PASS 1440 2.X偏移百分比指针默认折叠 +PASS 1440 2.X偏移百分比精确源码/类型/指针 +PASS 1440 2.X偏移百分比展开无溢出 +PASS 1440 2.Y偏移百分比键盘展开 +PASS 1440 2.Y偏移百分比用途/单位/范围/来源条件 +PASS 1440 2.Y偏移百分比精确保留现值 +PASS 1440 2.Y偏移百分比指针默认折叠 +PASS 1440 2.Y偏移百分比精确源码/类型/指针 +PASS 1440 2.Y偏移百分比展开无溢出 +PASS 1440 2.文字颜色键盘展开 +PASS 1440 2.文字颜色用途/单位/范围/来源条件 +PASS 1440 2.文字颜色精确保留现值 +PASS 1440 2.文字颜色指针默认折叠 +PASS 1440 2.文字颜色精确源码/类型/指针 +PASS 1440 2.文字颜色展开无溢出 +PASS 1440 2.水印平铺键盘展开 +PASS 1440 2.水印平铺用途/单位/范围/来源条件 +PASS 1440 2.水印平铺精确保留现值 +PASS 1440 2.水印平铺指针默认折叠 +PASS 1440 2.水印平铺精确源码/类型/指针 +PASS 1440 2.水印平铺展开无溢出 +PASS 1440 2.水印角度键盘展开 +PASS 1440 2.水印角度用途/单位/范围/来源条件 +PASS 1440 2.水印角度精确保留现值 +PASS 1440 2.水印角度指针默认折叠 +PASS 1440 2.水印角度精确源码/类型/指针 +PASS 1440 2.水印角度展开无溢出 +PASS 1440 2.水印间距键盘展开 +PASS 1440 2.水印间距用途/单位/范围/来源条件 +PASS 1440 2.水印间距精确保留现值 +PASS 1440 2.水印间距指针默认折叠 +PASS 1440 2.水印间距精确源码/类型/指针 +PASS 1440 2.水印间距展开无溢出 +PASS 1440 2.输出透明通道键盘展开 +PASS 1440 2.输出透明通道用途/单位/范围/来源条件 +PASS 1440 2.输出透明通道精确保留现值 +PASS 1440 2.输出透明通道指针默认折叠 +PASS 1440 2.输出透明通道精确源码/类型/指针 +PASS 1440 2.输出透明通道展开无溢出 +PASS 1440 20.layout键盘展开 +PASS 1440 20.layout用途/单位/范围/来源条件 +PASS 1440 20.layout精确保留现值 +PASS 1440 20.layout指针默认折叠 +PASS 1440 20.layout精确源码/类型/指针 +PASS 1440 20.layout展开无溢出 +PASS 1440 20.restore_preset键盘展开 +PASS 1440 20.restore_preset用途/单位/范围/来源条件 +PASS 1440 20.restore_preset精确保留现值 +PASS 1440 20.restore_preset指针默认折叠 +PASS 1440 20.restore_preset精确源码/类型/指针 +PASS 1440 20.restore_preset展开无溢出 +PASS 1440 20.randomize_style键盘展开 +PASS 1440 20.randomize_style用途/单位/范围/来源条件 +PASS 1440 20.randomize_style精确保留现值 +PASS 1440 20.randomize_style指针默认折叠 +PASS 1440 20.randomize_style精确源码/类型/指针 +PASS 1440 20.randomize_style展开无溢出 +PASS 1440 20.random_style_selection键盘展开 +PASS 1440 20.random_style_selection用途/单位/范围/来源条件 +PASS 1440 20.random_style_selection精确保留现值 +PASS 1440 20.random_style_selection指针默认折叠 +PASS 1440 20.random_style_selection精确源码/类型/指针 +PASS 1440 20.random_style_selection展开无溢出 +PASS 1440 20.seed键盘展开 +PASS 1440 20.seed用途/单位/范围/来源条件 +PASS 1440 20.seed精确保留现值 +PASS 1440 20.seed指针默认折叠 +PASS 1440 20.seed精确源码/类型/指针 +PASS 1440 20.seed展开无溢出 +PASS 1440 20.control_after_generate键盘展开 +PASS 1440 20.control_after_generate用途/单位/范围/来源条件 +PASS 1440 20.control_after_generate精确保留现值 +PASS 1440 20.control_after_generate指针默认折叠 +PASS 1440 20.control_after_generate精确源码/类型/指针 +PASS 1440 20.control_after_generate展开无溢出 +PASS 1440 20.use_exif键盘展开 +PASS 1440 20.use_exif用途/单位/范围/来源条件 +PASS 1440 20.use_exif精确保留现值 +PASS 1440 20.use_exif指针默认折叠 +PASS 1440 20.use_exif精确源码/类型/指针 +PASS 1440 20.use_exif展开无溢出 +PASS 1440 20.block_a_text_1键盘展开 +PASS 1440 20.block_a_text_1用途/单位/范围/来源条件 +PASS 1440 20.block_a_text_1精确保留现值 +PASS 1440 20.block_a_text_1指针默认折叠 +PASS 1440 20.block_a_text_1精确源码/类型/指针 +PASS 1440 20.block_a_text_1展开无溢出 +PASS 1440 20.block_a_text_2键盘展开 +PASS 1440 20.block_a_text_2用途/单位/范围/来源条件 +PASS 1440 20.block_a_text_2精确保留现值 +PASS 1440 20.block_a_text_2指针默认折叠 +PASS 1440 20.block_a_text_2精确源码/类型/指针 +PASS 1440 20.block_a_text_2展开无溢出 +PASS 1440 20.block_a_text_3键盘展开 +PASS 1440 20.block_a_text_3用途/单位/范围/来源条件 +PASS 1440 20.block_a_text_3精确保留现值 +PASS 1440 20.block_a_text_3指针默认折叠 +PASS 1440 20.block_a_text_3精确源码/类型/指针 +PASS 1440 20.block_a_text_3展开无溢出 +PASS 1440 20.block_b_text_1键盘展开 +PASS 1440 20.block_b_text_1用途/单位/范围/来源条件 +PASS 1440 20.block_b_text_1精确保留现值 +PASS 1440 20.block_b_text_1指针默认折叠 +PASS 1440 20.block_b_text_1精确源码/类型/指针 +PASS 1440 20.block_b_text_1展开无溢出 +PASS 1440 20.block_b_text_2键盘展开 +PASS 1440 20.block_b_text_2用途/单位/范围/来源条件 +PASS 1440 20.block_b_text_2精确保留现值 +PASS 1440 20.block_b_text_2指针默认折叠 +PASS 1440 20.block_b_text_2精确源码/类型/指针 +PASS 1440 20.block_b_text_2展开无溢出 +PASS 1440 20.block_b_text_3键盘展开 +PASS 1440 20.block_b_text_3用途/单位/范围/来源条件 +PASS 1440 20.block_b_text_3精确保留现值 +PASS 1440 20.block_b_text_3指针默认折叠 +PASS 1440 20.block_b_text_3精确源码/类型/指针 +PASS 1440 20.block_b_text_3展开无溢出 +PASS 1440 20.logo键盘展开 +PASS 1440 20.logo用途/单位/范围/来源条件 +PASS 1440 20.logo精确保留现值 +PASS 1440 20.logo指针默认折叠 +PASS 1440 20.logo精确源码/类型/指针 +PASS 1440 20.logo展开无溢出 +PASS 1440 20.logo_size_ratio键盘展开 +PASS 1440 20.logo_size_ratio用途/单位/范围/来源条件 +PASS 1440 20.logo_size_ratio精确保留现值 +PASS 1440 20.logo_size_ratio指针默认折叠 +PASS 1440 20.logo_size_ratio精确源码/类型/指针 +PASS 1440 20.logo_size_ratio展开无溢出 +PASS 1440 20.bar_size键盘展开 +PASS 1440 20.bar_size用途/单位/范围/来源条件 +PASS 1440 20.bar_size精确保留现值 +PASS 1440 20.bar_size指针默认折叠 +PASS 1440 20.bar_size精确源码/类型/指针 +PASS 1440 20.bar_size展开无溢出 +PASS 1440 20.bar_width键盘展开 +PASS 1440 20.bar_width用途/单位/范围/来源条件 +PASS 1440 20.bar_width精确保留现值 +PASS 1440 20.bar_width指针默认折叠 +PASS 1440 20.bar_width精确源码/类型/指针 +PASS 1440 20.bar_width展开无溢出 +PASS 1440 20.bar_height键盘展开 +PASS 1440 20.bar_height用途/单位/范围/来源条件 +PASS 1440 20.bar_height精确保留现值 +PASS 1440 20.bar_height指针默认折叠 +PASS 1440 20.bar_height精确源码/类型/指针 +PASS 1440 20.bar_height展开无溢出 +PASS 1440 20.padding键盘展开 +PASS 1440 20.padding用途/单位/范围/来源条件 +PASS 1440 20.padding精确保留现值 +PASS 1440 20.padding指针默认折叠 +PASS 1440 20.padding精确源码/类型/指针 +PASS 1440 20.padding展开无溢出 +PASS 1440 20.spacing键盘展开 +PASS 1440 20.spacing用途/单位/范围/来源条件 +PASS 1440 20.spacing精确保留现值 +PASS 1440 20.spacing指针默认折叠 +PASS 1440 20.spacing精确源码/类型/指针 +PASS 1440 20.spacing展开无溢出 +PASS 1440 20.font_name键盘展开 +PASS 1440 20.font_name用途/单位/范围/来源条件 +PASS 1440 20.font_name精确保留现值 +PASS 1440 20.font_name指针默认折叠 +PASS 1440 20.font_name精确源码/类型/指针 +PASS 1440 20.font_name展开无溢出 +PASS 1440 20.font_bold_name键盘展开 +PASS 1440 20.font_bold_name用途/单位/范围/来源条件 +PASS 1440 20.font_bold_name精确保留现值 +PASS 1440 20.font_bold_name指针默认折叠 +PASS 1440 20.font_bold_name精确源码/类型/指针 +PASS 1440 20.font_bold_name展开无溢出 +PASS 1440 20.font_size_large键盘展开 +PASS 1440 20.font_size_large用途/单位/范围/来源条件 +PASS 1440 20.font_size_large精确保留现值 +PASS 1440 20.font_size_large指针默认折叠 +PASS 1440 20.font_size_large精确源码/类型/指针 +PASS 1440 20.font_size_large展开无溢出 +PASS 1440 20.font_size_medium键盘展开 +PASS 1440 20.font_size_medium用途/单位/范围/来源条件 +PASS 1440 20.font_size_medium精确保留现值 +PASS 1440 20.font_size_medium指针默认折叠 +PASS 1440 20.font_size_medium精确源码/类型/指针 +PASS 1440 20.font_size_medium展开无溢出 +PASS 1440 20.font_size_small键盘展开 +PASS 1440 20.font_size_small用途/单位/范围/来源条件 +PASS 1440 20.font_size_small精确保留现值 +PASS 1440 20.font_size_small指针默认折叠 +PASS 1440 20.font_size_small精确源码/类型/指针 +PASS 1440 20.font_size_small展开无溢出 +PASS 1440 20.bg_color键盘展开 +PASS 1440 20.bg_color用途/单位/范围/来源条件 +PASS 1440 20.bg_color精确保留现值 +PASS 1440 20.bg_color指针默认折叠 +PASS 1440 20.bg_color精确源码/类型/指针 +PASS 1440 20.bg_color展开无溢出 +PASS 1440 20.title_color键盘展开 +PASS 1440 20.title_color用途/单位/范围/来源条件 +PASS 1440 20.title_color精确保留现值 +PASS 1440 20.title_color指针默认折叠 +PASS 1440 20.title_color精确源码/类型/指针 +PASS 1440 20.title_color展开无溢出 +PASS 1440 20.subtitle_color键盘展开 +PASS 1440 20.subtitle_color用途/单位/范围/来源条件 +PASS 1440 20.subtitle_color精确保留现值 +PASS 1440 20.subtitle_color指针默认折叠 +PASS 1440 20.subtitle_color精确源码/类型/指针 +PASS 1440 20.subtitle_color展开无溢出 +PASS 1440Tab焦点保留 +PASS 1440ShiftTab焦点保留 +PASS 1440 图像4种添加水印节点关闭归还焦点 +PASS 1440 birefnet_图像移除背景默认中文用途 +PASS 1440 birefnet_图像移除背景源审校默认折叠 +PASS 1440 birefnet_图像移除背景技术范围默认折叠 +PASS 1440 birefnet_图像移除背景默认无执行计数/实现标识 +PASS 1440 birefnet_图像移除背景默认依据限制可见 +PASS 1440 birefnet_图像移除背景 说明未定稿 +PASS 1440 birefnet_图像移除背景 未验证实跑 +PASS 1440 birefnet_图像移除背景 未检查 +PASS 1440 birefnet_图像移除背景停用/时间戳空 +PASS 1440 birefnet_图像移除背景参数全保留 +PASS 1440 birefnet_图像移除背景默认无溢出 +PASS 1440 birefnet_图像移除背景旧图归还焦点 +PASS 1440 加载本地latent解码默认中文用途 +PASS 1440 加载本地latent解码源审校默认折叠 +PASS 1440 加载本地latent解码技术范围默认折叠 +PASS 1440 加载本地latent解码默认无执行计数/实现标识 +PASS 1440 加载本地latent解码默认依据限制可见 +PASS 1440 加载本地latent解码 说明未定稿 +PASS 1440 加载本地latent解码 未验证实跑 +PASS 1440 加载本地latent解码 未检查 +PASS 1440 加载本地latent解码停用/时间戳空 +PASS 1440 加载本地latent解码参数全保留 +PASS 1440 加载本地latent解码默认无溢出 +PASS 1440 加载本地latent解码旧图归还焦点 +PASS 1440 截取视频每一帧默认中文用途 +PASS 1440 截取视频每一帧源审校默认折叠 +PASS 1440 截取视频每一帧技术范围默认折叠 +PASS 1440 截取视频每一帧默认无执行计数/实现标识 +PASS 1440 截取视频每一帧默认依据限制可见 +PASS 1440 截取视频每一帧 说明未定稿 +PASS 1440 截取视频每一帧 未验证实跑 +PASS 1440 截取视频每一帧 未检查 +PASS 1440 截取视频每一帧停用/时间戳空 +PASS 1440 截取视频每一帧参数全保留 +PASS 1440 截取视频每一帧默认无溢出 +PASS 1440 截取视频每一帧旧图归还焦点 +PASS 1440 双图像或视频合并显示默认中文用途 +PASS 1440 双图像或视频合并显示源审校默认折叠 +PASS 1440 双图像或视频合并显示技术范围默认折叠 +PASS 1440 双图像或视频合并显示默认无执行计数/实现标识 +PASS 1440 双图像或视频合并显示默认依据限制可见 +PASS 1440 双图像或视频合并显示 说明未定稿 +PASS 1440 双图像或视频合并显示 未验证实跑 +PASS 1440 双图像或视频合并显示 未检查 +PASS 1440 双图像或视频合并显示停用/时间戳空 +PASS 1440 双图像或视频合并显示参数全保留 +PASS 1440 双图像或视频合并显示默认无溢出 +PASS 1440 双图像或视频合并显示旧图归还焦点 +PASS 1440 视频转gif动图图片默认中文用途 +PASS 1440 视频转gif动图图片源审校默认折叠 +PASS 1440 视频转gif动图图片技术范围默认折叠 +PASS 1440 视频转gif动图图片默认无执行计数/实现标识 +PASS 1440 视频转gif动图图片默认依据限制可见 +PASS 1440 视频转gif动图图片 说明未定稿 +PASS 1440 视频转gif动图图片 未验证实跑 +PASS 1440 视频转gif动图图片 未检查 +PASS 1440 视频转gif动图图片停用/时间戳空 +PASS 1440 视频转gif动图图片参数全保留 +PASS 1440 视频转gif动图图片默认无溢出 +PASS 1440 视频转gif动图图片旧图归还焦点 +PASS 1440 加载图片合成视频默认中文用途 +PASS 1440 加载图片合成视频源审校默认折叠 +PASS 1440 加载图片合成视频技术范围默认折叠 +PASS 1440 加载图片合成视频默认无执行计数/实现标识 +PASS 1440 加载图片合成视频默认依据限制可见 +PASS 1440 加载图片合成视频 说明未定稿 +PASS 1440 加载图片合成视频 未验证实跑 +PASS 1440 加载图片合成视频 未检查 +PASS 1440 加载图片合成视频停用/时间戳空 +PASS 1440 加载图片合成视频参数全保留 +PASS 1440 加载图片合成视频默认无溢出 +PASS 1440 加载图片合成视频旧图归还焦点 +PASS 1440 视频倒放默认中文用途 +PASS 1440 视频倒放源审校默认折叠 +PASS 1440 视频倒放技术范围默认折叠 +PASS 1440 视频倒放默认无执行计数/实现标识 +PASS 1440 视频倒放默认依据限制可见 +PASS 1440 视频倒放 说明未定稿 +PASS 1440 视频倒放 未验证实跑 +PASS 1440 视频倒放 未检查 +PASS 1440 视频倒放停用/时间戳空 +PASS 1440 视频倒放参数全保留 +PASS 1440 视频倒放默认无溢出 +PASS 1440 视频倒放旧图归还焦点 +PASS 1440 NLF_视频人物动作骨架获取默认中文用途 +PASS 1440 NLF_视频人物动作骨架获取源审校默认折叠 +PASS 1440 NLF_视频人物动作骨架获取技术范围默认折叠 +PASS 1440 NLF_视频人物动作骨架获取默认无执行计数/实现标识 +PASS 1440 NLF_视频人物动作骨架获取默认依据限制可见 +PASS 1440 NLF_视频人物动作骨架获取 说明未定稿 +PASS 1440 NLF_视频人物动作骨架获取 未验证实跑 +PASS 1440 NLF_视频人物动作骨架获取 未检查 +PASS 1440 NLF_视频人物动作骨架获取停用/时间戳空 +PASS 1440 NLF_视频人物动作骨架获取参数全保留 +PASS 1440 NLF_视频人物动作骨架获取默认无溢出 +PASS 1440 NLF_视频人物动作骨架获取旧图归还焦点 +PASS 1440 openpose-video-姿态检测默认中文用途 +PASS 1440 openpose-video-姿态检测源审校默认折叠 +PASS 1440 openpose-video-姿态检测技术范围默认折叠 +PASS 1440 openpose-video-姿态检测默认无执行计数/实现标识 +PASS 1440 openpose-video-姿态检测默认依据限制可见 +PASS 1440 openpose-video-姿态检测 说明未定稿 +PASS 1440 openpose-video-姿态检测 未验证实跑 +PASS 1440 openpose-video-姿态检测 未检查 +PASS 1440 openpose-video-姿态检测停用/时间戳空 +PASS 1440 openpose-video-姿态检测参数全保留 +PASS 1440 openpose-video-姿态检测默认无溢出 +PASS 1440 openpose-video-姿态检测旧图归还焦点 +PASS 1440 sdpose_视频人物姿势骨架提取默认中文用途 +PASS 1440 sdpose_视频人物姿势骨架提取源审校默认折叠 +PASS 1440 sdpose_视频人物姿势骨架提取技术范围默认折叠 +PASS 1440 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识 +PASS 1440 sdpose_视频人物姿势骨架提取默认依据限制可见 +PASS 1440 sdpose_视频人物姿势骨架提取 说明未定稿 +PASS 1440 sdpose_视频人物姿势骨架提取 未验证实跑 +PASS 1440 sdpose_视频人物姿势骨架提取 未检查 +PASS 1440 sdpose_视频人物姿势骨架提取停用/时间戳空 +PASS 1440 sdpose_视频人物姿势骨架提取参数全保留 +PASS 1440 sdpose_视频人物姿势骨架提取默认无溢出 +PASS 1440 sdpose_视频人物姿势骨架提取旧图归还焦点 +PASS 1440 gemma4_提示词反推(图像视频音频)默认中文用途 +PASS 1440 gemma4_提示词反推(图像视频音频)源审校默认折叠 +PASS 1440 gemma4_提示词反推(图像视频音频)技术范围默认折叠 +PASS 1440 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识 +PASS 1440 gemma4_提示词反推(图像视频音频)默认依据限制可见 +PASS 1440 gemma4_提示词反推(图像视频音频) 说明未定稿 +PASS 1440 gemma4_提示词反推(图像视频音频) 未验证实跑 +PASS 1440 gemma4_提示词反推(图像视频音频) 未检查 +PASS 1440 gemma4_提示词反推(图像视频音频)停用/时间戳空 +PASS 1440 gemma4_提示词反推(图像视频音频)参数全保留 +PASS 1440 gemma4_提示词反推(图像视频音频)默认无溢出 +PASS 1440 gemma4_提示词反推(图像视频音频)旧图归还焦点 +PASS 1440 图像合并成四宫格默认中文用途 +PASS 1440 图像合并成四宫格源审校默认折叠 +PASS 1440 图像合并成四宫格技术范围默认折叠 +PASS 1440 图像合并成四宫格默认无执行计数/实现标识 +PASS 1440 图像合并成四宫格默认依据限制可见 +PASS 1440 图像合并成四宫格 说明未定稿 +PASS 1440 图像合并成四宫格 未验证实跑 +PASS 1440 图像合并成四宫格 未检查 +PASS 1440 图像合并成四宫格停用/时间戳空 +PASS 1440 图像合并成四宫格参数全保留 +PASS 1440 图像合并成四宫格默认无溢出 +PASS 1440 图像合并成四宫格旧图归还焦点 +PASS 1440 图像分割-多宫格分割默认中文用途 +PASS 1440 图像分割-多宫格分割源审校默认折叠 +PASS 1440 图像分割-多宫格分割技术范围默认折叠 +PASS 1440 图像分割-多宫格分割默认无执行计数/实现标识 +PASS 1440 图像分割-多宫格分割默认依据限制可见 +PASS 1440 图像分割-多宫格分割 说明未定稿 +PASS 1440 图像分割-多宫格分割 未验证实跑 +PASS 1440 图像分割-多宫格分割 未检查 +PASS 1440 图像分割-多宫格分割停用/时间戳空 +PASS 1440 图像分割-多宫格分割参数全保留 +PASS 1440 图像分割-多宫格分割默认无溢出 +PASS 1440 图像分割-多宫格分割旧图归还焦点 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认中文用途 +PASS 1440 Qwen_image2.1_图像编辑_背景移除源审校默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认依据限制可见 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 说明未定稿 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 未验证实跑 +PASS 1440 Qwen_image2.1_图像编辑_背景移除 未检查 +PASS 1440 Qwen_image2.1_图像编辑_背景移除停用/时间戳空 +PASS 1440 Qwen_image2.1_图像编辑_背景移除参数全保留 +PASS 1440 Qwen_image2.1_图像编辑_背景移除默认无溢出 +PASS 1440 Qwen_image2.1_图像编辑_背景移除旧图归还焦点 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认中文用途 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 说明未定稿 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 未验证实跑 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强 未检查 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强参数全保留 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强默认无溢出 +PASS 1440 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认中文用途 +PASS 1440 Qwen_image2.1_文生图_提示词增强源审校默认折叠 +PASS 1440 Qwen_image2.1_文生图_提示词增强技术范围默认折叠 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认依据限制可见 +PASS 1440 Qwen_image2.1_文生图_提示词增强 说明未定稿 +PASS 1440 Qwen_image2.1_文生图_提示词增强 未验证实跑 +PASS 1440 Qwen_image2.1_文生图_提示词增强 未检查 +PASS 1440 Qwen_image2.1_文生图_提示词增强停用/时间戳空 +PASS 1440 Qwen_image2.1_文生图_提示词增强参数全保留 +PASS 1440 Qwen_image2.1_文生图_提示词增强默认无溢出 +PASS 1440 Qwen_image2.1_文生图_提示词增强旧图归还焦点 +PASS 1440 ControlNet_aux_常用样例默认中文用途 +PASS 1440 ControlNet_aux_常用样例源审校默认折叠 +PASS 1440 ControlNet_aux_常用样例技术范围默认折叠 +PASS 1440 ControlNet_aux_常用样例默认无执行计数/实现标识 +PASS 1440 ControlNet_aux_常用样例默认依据限制可见 +PASS 1440 ControlNet_aux_常用样例 说明未定稿 +PASS 1440 ControlNet_aux_常用样例 未验证实跑 +PASS 1440 ControlNet_aux_常用样例 未检查 +PASS 1440 ControlNet_aux_常用样例停用/时间戳空 +PASS 1440 ControlNet_aux_常用样例参数全保留 +PASS 1440 ControlNet_aux_常用样例默认无溢出 +PASS 1440 ControlNet_aux_常用样例旧图归还焦点 +PASS 1440 Qwen3-ASR-语音转文字默认中文用途 +PASS 1440 Qwen3-ASR-语音转文字源审校默认折叠 +PASS 1440 Qwen3-ASR-语音转文字技术范围默认折叠 +PASS 1440 Qwen3-ASR-语音转文字默认无执行计数/实现标识 +PASS 1440 Qwen3-ASR-语音转文字默认依据限制可见 +PASS 1440 Qwen3-ASR-语音转文字 说明未定稿 +PASS 1440 Qwen3-ASR-语音转文字 未验证实跑 +PASS 1440 Qwen3-ASR-语音转文字 未检查 +PASS 1440 Qwen3-ASR-语音转文字停用/时间戳空 +PASS 1440 Qwen3-ASR-语音转文字参数全保留 +PASS 1440 Qwen3-ASR-语音转文字默认无溢出 +PASS 1440 Qwen3-ASR-语音转文字旧图归还焦点 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认中文用途 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 说明未定稿 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 未验证实跑 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕 未检查 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕参数全保留 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕默认无溢出 +PASS 1440 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点 +PASS 1440 Minimax-H3提示词增强默认中文用途 +PASS 1440 Minimax-H3提示词增强源审校默认折叠 +PASS 1440 Minimax-H3提示词增强技术范围默认折叠 +PASS 1440 Minimax-H3提示词增强默认无执行计数/实现标识 +PASS 1440 Minimax-H3提示词增强默认依据限制可见 +PASS 1440 Minimax-H3提示词增强 说明未定稿 +PASS 1440 Minimax-H3提示词增强 未验证实跑 +PASS 1440 Minimax-H3提示词增强 未检查 +PASS 1440 Minimax-H3提示词增强停用/时间戳空 +PASS 1440 Minimax-H3提示词增强参数全保留 +PASS 1440 Minimax-H3提示词增强默认无溢出 +PASS 1440 Minimax-H3提示词增强旧图归还焦点 +PASS 1440 音频转MP3格式默认中文用途 +PASS 1440 音频转MP3格式源审校默认折叠 +PASS 1440 音频转MP3格式技术范围默认折叠 +PASS 1440 音频转MP3格式默认无执行计数/实现标识 +PASS 1440 音频转MP3格式默认依据限制可见 +PASS 1440 音频转MP3格式 说明未定稿 +PASS 1440 音频转MP3格式 未验证实跑 +PASS 1440 音频转MP3格式 未检查 +PASS 1440 音频转MP3格式停用/时间戳空 +PASS 1440 音频转MP3格式参数全保留 +PASS 1440 音频转MP3格式默认无溢出 +PASS 1440 音频转MP3格式旧图归还焦点 +PASS 1440 音频人声分离默认中文用途 +PASS 1440 音频人声分离源审校默认折叠 +PASS 1440 音频人声分离技术范围默认折叠 +PASS 1440 音频人声分离默认无执行计数/实现标识 +PASS 1440 音频人声分离默认依据限制可见 +PASS 1440 音频人声分离 说明未定稿 +PASS 1440 音频人声分离 未验证实跑 +PASS 1440 音频人声分离 未检查 +PASS 1440 音频人声分离停用/时间戳空 +PASS 1440 音频人声分离参数全保留 +PASS 1440 音频人声分离默认无溢出 +PASS 1440 音频人声分离旧图归还焦点 +PASS 1440 视频-音频分离默认中文用途 +PASS 1440 视频-音频分离源审校默认折叠 +PASS 1440 视频-音频分离技术范围默认折叠 +PASS 1440 视频-音频分离默认无执行计数/实现标识 +PASS 1440 视频-音频分离默认依据限制可见 +PASS 1440 视频-音频分离 说明未定稿 +PASS 1440 视频-音频分离 未验证实跑 +PASS 1440 视频-音频分离 未检查 +PASS 1440 视频-音频分离停用/时间戳空 +PASS 1440 视频-音频分离参数全保留 +PASS 1440 视频-音频分离默认无溢出 +PASS 1440 视频-音频分离旧图归还焦点 +PASS 1440 图像嵌入文字描述默认中文用途 +PASS 1440 图像嵌入文字描述源审校默认折叠 +PASS 1440 图像嵌入文字描述技术范围默认折叠 +PASS 1440 图像嵌入文字描述默认无执行计数/实现标识 +PASS 1440 图像嵌入文字描述默认依据限制可见 +PASS 1440 图像嵌入文字描述 说明未定稿 +PASS 1440 图像嵌入文字描述 未验证实跑 +PASS 1440 图像嵌入文字描述 未检查 +PASS 1440 图像嵌入文字描述停用/时间戳空 +PASS 1440 图像嵌入文字描述参数全保留 +PASS 1440 图像嵌入文字描述默认无溢出 +PASS 1440 图像嵌入文字描述旧图归还焦点 +PASS 390 图像4种添加水印节点默认中文用途 +PASS 390 图像4种添加水印节点源审校默认折叠 +PASS 390 图像4种添加水印节点技术范围默认折叠 +PASS 390 图像4种添加水印节点默认无执行计数/实现标识 +PASS 390 图像4种添加水印节点默认依据限制可见 +PASS 390 图像4种添加水印节点 说明未定稿 +PASS 390 图像4种添加水印节点 未验证实跑 +PASS 390 图像4种添加水印节点 未检查 +PASS 390 图像4种添加水印节点停用/时间戳空 +PASS 390 图像4种添加水印节点参数全保留 +PASS 390 图像4种添加水印节点默认无溢出 +PASS 390 图像4种添加水印节点原用途/源路径展开保留 +PASS 390 图像4种添加水印节点展开流程 0 +PASS 390 图像4种添加水印节点展开流程 1 +PASS 390 图像4种添加水印节点展开流程 2 +PASS 390 图像4种添加水印节点展开流程 3 +PASS 390 图像4种添加水印节点展开流程 4 +PASS 390 图像4种添加水印节点展开流程 5 +PASS 390 图像4种添加水印节点展开流程 6 +PASS 390 图像4种添加水印节点展开流程 7 +PASS 390 图像4种添加水印节点展开流程 8 +PASS 390 图像4种添加水印节点展开流程 9 +PASS 390 图像4种添加水印节点展开流程 10 +PASS 390 图像4种添加水印节点展开流程 11 +PASS 390 图像4种添加水印节点展开流程 12 +PASS 390 图像4种添加水印节点展开流程 13 +PASS 390 图像4种添加水印节点展开流程 14 +PASS 390 图像4种添加水印节点展开流程 15 +PASS 390 图像4种添加水印节点展开流程 16 +PASS 390 图像4种添加水印节点展开流程 17 +PASS 390 图像4种添加水印节点展开流程 18 +PASS 390 图像4种添加水印节点展开流程 19 +PASS 390 图像4种添加水印节点展开流程 20 +PASS 390 图像4种添加水印节点展开流程 21 +PASS 390 图像4种添加水印节点展开流程 22 +PASS 390 图像4种添加水印节点展开流程 23 +PASS 390 图像4种添加水印节点展开流程 24 +PASS 390 图像4种添加水印节点展开流程 25 +PASS 390 图像4种添加水印节点展开流程 26 +PASS 390 图像4种添加水印节点展开流程 27 +PASS 390 图像4种添加水印节点展开流程 28 +PASS 390 图像4种添加水印节点展开流程 29 +PASS 390 图像4种添加水印节点展开流程 30 +PASS 390 图像4种添加水印节点展开流程 31 +PASS 390 图像4种添加水印节点展开流程 32 +PASS 390 图像4种添加水印节点展开流程 33 +PASS 390 图像4种添加水印节点展开流程 34 +PASS 390 图像4种添加水印节点展开流程 35 +PASS 390 图像4种添加水印节点展开流程 36 +PASS 390 图像4种添加水印节点展开流程 37 +PASS 390 图像4种添加水印节点展开流程 38 +PASS 390 图像4种添加水印节点展开流程 39 +PASS 390 图像4种添加水印节点展开流程 40 +PASS 390 图像4种添加水印节点展开流程 41 +PASS 390 图像4种添加水印节点展开流程 42 +PASS 390 图像4种添加水印节点展开流程 43 +PASS 390 图像4种添加水印节点展开流程 44 +PASS 390 图像4种添加水印节点原件摘要可展开 +PASS 390 图像4种添加水印节点版本 0 +PASS 390 图像4种添加水印节点版本 1 +PASS 390 图像4种添加水印节点版本 2 +PASS 390 图像4种添加水印节点版本 3 +PASS 390 图像4种添加水印节点版本 4 +PASS 390 图像4种添加水印节点版本 5 +PASS 390 图像4种添加水印节点版本 6 +PASS 390 5.image键盘展开 +PASS 390 5.image用途/单位/范围/来源条件 +PASS 390 5.image精确保留现值 +PASS 390 5.image指针默认折叠 +PASS 390 5.image精确源码/类型/指针 +PASS 390 5.image展开无溢出 +PASS 390 5.upload键盘展开 +PASS 390 5.upload用途/单位/范围/来源条件 +PASS 390 5.upload精确保留现值 +PASS 390 5.upload指针默认折叠 +PASS 390 5.upload精确源码/类型/指针 +PASS 390 5.upload展开无溢出 +PASS 390 6.image键盘展开 +PASS 390 6.image用途/单位/范围/来源条件 +PASS 390 6.image精确保留现值 +PASS 390 6.image指针默认折叠 +PASS 390 6.image精确源码/类型/指针 +PASS 390 6.image展开无溢出 +PASS 390 6.upload键盘展开 +PASS 390 6.upload用途/单位/范围/来源条件 +PASS 390 6.upload精确保留现值 +PASS 390 6.upload指针默认折叠 +PASS 390 6.upload精确源码/类型/指针 +PASS 390 6.upload展开无溢出 +PASS 390 10.image键盘展开 +PASS 390 10.image用途/单位/范围/来源条件 +PASS 390 10.image精确保留现值 +PASS 390 10.image指针默认折叠 +PASS 390 10.image精确源码/类型/指针 +PASS 390 10.image展开无溢出 +PASS 390 10.upload键盘展开 +PASS 390 10.upload用途/单位/范围/来源条件 +PASS 390 10.upload精确保留现值 +PASS 390 10.upload指针默认折叠 +PASS 390 10.upload精确源码/类型/指针 +PASS 390 10.upload展开无溢出 +PASS 390 3.text键盘展开 +PASS 390 3.text用途/单位/范围/来源条件 +PASS 390 3.text精确保留现值 +PASS 390 3.text指针默认折叠 +PASS 390 3.text精确源码/类型/指针 +PASS 390 3.text展开无溢出 +PASS 390 3.align键盘展开 +PASS 390 3.align用途/单位/范围/来源条件 +PASS 390 3.align精确保留现值 +PASS 390 3.align指针默认折叠 +PASS 390 3.align精确源码/类型/指针 +PASS 390 3.align展开无溢出 +PASS 390 3.opacity键盘展开 +PASS 390 3.opacity用途/单位/范围/来源条件 +PASS 390 3.opacity精确保留现值 +PASS 390 3.opacity指针默认折叠 +PASS 390 3.opacity精确源码/类型/指针 +PASS 390 3.opacity展开无溢出 +PASS 390 3.font_name键盘展开 +PASS 390 3.font_name用途/单位/范围/来源条件 +PASS 390 3.font_name精确保留现值 +PASS 390 3.font_name指针默认折叠 +PASS 390 3.font_name精确源码/类型/指针 +PASS 390 3.font_name展开无溢出 +PASS 390 3.font_size键盘展开 +PASS 390 3.font_size用途/单位/范围/来源条件 +PASS 390 3.font_size精确保留现值 +PASS 390 3.font_size指针默认折叠 +PASS 390 3.font_size精确源码/类型/指针 +PASS 390 3.font_size展开无溢出 +PASS 390 3.font_color键盘展开 +PASS 390 3.font_color用途/单位/范围/来源条件 +PASS 390 3.font_color精确保留现值 +PASS 390 3.font_color指针默认折叠 +PASS 390 3.font_color精确源码/类型/指针 +PASS 390 3.font_color展开无溢出 +PASS 390 3.x_margin键盘展开 +PASS 390 3.x_margin用途/单位/范围/来源条件 +PASS 390 3.x_margin精确保留现值 +PASS 390 3.x_margin指针默认折叠 +PASS 390 3.x_margin精确源码/类型/指针 +PASS 390 3.x_margin展开无溢出 +PASS 390 3.y_margin键盘展开 +PASS 390 3.y_margin用途/单位/范围/来源条件 +PASS 390 3.y_margin精确保留现值 +PASS 390 3.y_margin指针默认折叠 +PASS 390 3.y_margin精确源码/类型/指针 +PASS 390 3.y_margin展开无溢出 +PASS 390 3.font_color_hex键盘展开 +PASS 390 3.font_color_hex用途/单位/范围/来源条件 +PASS 390 3.font_color_hex精确保留现值 +PASS 390 3.font_color_hex指针默认折叠 +PASS 390 3.font_color_hex精确源码/类型/指针 +PASS 390 3.font_color_hex展开无溢出 +PASS 390 2.水印文本键盘展开 +PASS 390 2.水印文本用途/单位/范围/来源条件 +PASS 390 2.水印文本精确保留现值 +PASS 390 2.水印文本指针默认折叠 +PASS 390 2.水印文本精确源码/类型/指针 +PASS 390 2.水印文本展开无溢出 +PASS 390 2.字体键盘展开 +PASS 390 2.字体用途/单位/范围/来源条件 +PASS 390 2.字体精确保留现值 +PASS 390 2.字体指针默认折叠 +PASS 390 2.字体精确源码/类型/指针 +PASS 390 2.字体展开无溢出 +PASS 390 2.水印大小百分比键盘展开 +PASS 390 2.水印大小百分比用途/单位/范围/来源条件 +PASS 390 2.水印大小百分比精确保留现值 +PASS 390 2.水印大小百分比指针默认折叠 +PASS 390 2.水印大小百分比精确源码/类型/指针 +PASS 390 2.水印大小百分比展开无溢出 +PASS 390 2.水印不透明度键盘展开 +PASS 390 2.水印不透明度用途/单位/范围/来源条件 +PASS 390 2.水印不透明度精确保留现值 +PASS 390 2.水印不透明度指针默认折叠 +PASS 390 2.水印不透明度精确源码/类型/指针 +PASS 390 2.水印不透明度展开无溢出 +PASS 390 2.水平位置键盘展开 +PASS 390 2.水平位置用途/单位/范围/来源条件 +PASS 390 2.水平位置精确保留现值 +PASS 390 2.水平位置指针默认折叠 +PASS 390 2.水平位置精确源码/类型/指针 +PASS 390 2.水平位置展开无溢出 +PASS 390 2.垂直位置键盘展开 +PASS 390 2.垂直位置用途/单位/范围/来源条件 +PASS 390 2.垂直位置精确保留现值 +PASS 390 2.垂直位置指针默认折叠 +PASS 390 2.垂直位置精确源码/类型/指针 +PASS 390 2.垂直位置展开无溢出 +PASS 390 2.X偏移百分比键盘展开 +PASS 390 2.X偏移百分比用途/单位/范围/来源条件 +PASS 390 2.X偏移百分比精确保留现值 +PASS 390 2.X偏移百分比指针默认折叠 +PASS 390 2.X偏移百分比精确源码/类型/指针 +PASS 390 2.X偏移百分比展开无溢出 +PASS 390 2.Y偏移百分比键盘展开 +PASS 390 2.Y偏移百分比用途/单位/范围/来源条件 +PASS 390 2.Y偏移百分比精确保留现值 +PASS 390 2.Y偏移百分比指针默认折叠 +PASS 390 2.Y偏移百分比精确源码/类型/指针 +PASS 390 2.Y偏移百分比展开无溢出 +PASS 390 2.文字颜色键盘展开 +PASS 390 2.文字颜色用途/单位/范围/来源条件 +PASS 390 2.文字颜色精确保留现值 +PASS 390 2.文字颜色指针默认折叠 +PASS 390 2.文字颜色精确源码/类型/指针 +PASS 390 2.文字颜色展开无溢出 +PASS 390 2.水印平铺键盘展开 +PASS 390 2.水印平铺用途/单位/范围/来源条件 +PASS 390 2.水印平铺精确保留现值 +PASS 390 2.水印平铺指针默认折叠 +PASS 390 2.水印平铺精确源码/类型/指针 +PASS 390 2.水印平铺展开无溢出 +PASS 390 2.水印角度键盘展开 +PASS 390 2.水印角度用途/单位/范围/来源条件 +PASS 390 2.水印角度精确保留现值 +PASS 390 2.水印角度指针默认折叠 +PASS 390 2.水印角度精确源码/类型/指针 +PASS 390 2.水印角度展开无溢出 +PASS 390 2.水印间距键盘展开 +PASS 390 2.水印间距用途/单位/范围/来源条件 +PASS 390 2.水印间距精确保留现值 +PASS 390 2.水印间距指针默认折叠 +PASS 390 2.水印间距精确源码/类型/指针 +PASS 390 2.水印间距展开无溢出 +PASS 390 2.输出透明通道键盘展开 +PASS 390 2.输出透明通道用途/单位/范围/来源条件 +PASS 390 2.输出透明通道精确保留现值 +PASS 390 2.输出透明通道指针默认折叠 +PASS 390 2.输出透明通道精确源码/类型/指针 +PASS 390 2.输出透明通道展开无溢出 +PASS 390 20.layout键盘展开 +PASS 390 20.layout用途/单位/范围/来源条件 +PASS 390 20.layout精确保留现值 +PASS 390 20.layout指针默认折叠 +PASS 390 20.layout精确源码/类型/指针 +PASS 390 20.layout展开无溢出 +PASS 390 20.restore_preset键盘展开 +PASS 390 20.restore_preset用途/单位/范围/来源条件 +PASS 390 20.restore_preset精确保留现值 +PASS 390 20.restore_preset指针默认折叠 +PASS 390 20.restore_preset精确源码/类型/指针 +PASS 390 20.restore_preset展开无溢出 +PASS 390 20.randomize_style键盘展开 +PASS 390 20.randomize_style用途/单位/范围/来源条件 +PASS 390 20.randomize_style精确保留现值 +PASS 390 20.randomize_style指针默认折叠 +PASS 390 20.randomize_style精确源码/类型/指针 +PASS 390 20.randomize_style展开无溢出 +PASS 390 20.random_style_selection键盘展开 +PASS 390 20.random_style_selection用途/单位/范围/来源条件 +PASS 390 20.random_style_selection精确保留现值 +PASS 390 20.random_style_selection指针默认折叠 +PASS 390 20.random_style_selection精确源码/类型/指针 +PASS 390 20.random_style_selection展开无溢出 +PASS 390 20.seed键盘展开 +PASS 390 20.seed用途/单位/范围/来源条件 +PASS 390 20.seed精确保留现值 +PASS 390 20.seed指针默认折叠 +PASS 390 20.seed精确源码/类型/指针 +PASS 390 20.seed展开无溢出 +PASS 390 20.control_after_generate键盘展开 +PASS 390 20.control_after_generate用途/单位/范围/来源条件 +PASS 390 20.control_after_generate精确保留现值 +PASS 390 20.control_after_generate指针默认折叠 +PASS 390 20.control_after_generate精确源码/类型/指针 +PASS 390 20.control_after_generate展开无溢出 +PASS 390 20.use_exif键盘展开 +PASS 390 20.use_exif用途/单位/范围/来源条件 +PASS 390 20.use_exif精确保留现值 +PASS 390 20.use_exif指针默认折叠 +PASS 390 20.use_exif精确源码/类型/指针 +PASS 390 20.use_exif展开无溢出 +PASS 390 20.block_a_text_1键盘展开 +PASS 390 20.block_a_text_1用途/单位/范围/来源条件 +PASS 390 20.block_a_text_1精确保留现值 +PASS 390 20.block_a_text_1指针默认折叠 +PASS 390 20.block_a_text_1精确源码/类型/指针 +PASS 390 20.block_a_text_1展开无溢出 +PASS 390 20.block_a_text_2键盘展开 +PASS 390 20.block_a_text_2用途/单位/范围/来源条件 +PASS 390 20.block_a_text_2精确保留现值 +PASS 390 20.block_a_text_2指针默认折叠 +PASS 390 20.block_a_text_2精确源码/类型/指针 +PASS 390 20.block_a_text_2展开无溢出 +PASS 390 20.block_a_text_3键盘展开 +PASS 390 20.block_a_text_3用途/单位/范围/来源条件 +PASS 390 20.block_a_text_3精确保留现值 +PASS 390 20.block_a_text_3指针默认折叠 +PASS 390 20.block_a_text_3精确源码/类型/指针 +PASS 390 20.block_a_text_3展开无溢出 +PASS 390 20.block_b_text_1键盘展开 +PASS 390 20.block_b_text_1用途/单位/范围/来源条件 +PASS 390 20.block_b_text_1精确保留现值 +PASS 390 20.block_b_text_1指针默认折叠 +PASS 390 20.block_b_text_1精确源码/类型/指针 +PASS 390 20.block_b_text_1展开无溢出 +PASS 390 20.block_b_text_2键盘展开 +PASS 390 20.block_b_text_2用途/单位/范围/来源条件 +PASS 390 20.block_b_text_2精确保留现值 +PASS 390 20.block_b_text_2指针默认折叠 +PASS 390 20.block_b_text_2精确源码/类型/指针 +PASS 390 20.block_b_text_2展开无溢出 +PASS 390 20.block_b_text_3键盘展开 +PASS 390 20.block_b_text_3用途/单位/范围/来源条件 +PASS 390 20.block_b_text_3精确保留现值 +PASS 390 20.block_b_text_3指针默认折叠 +PASS 390 20.block_b_text_3精确源码/类型/指针 +PASS 390 20.block_b_text_3展开无溢出 +PASS 390 20.logo键盘展开 +PASS 390 20.logo用途/单位/范围/来源条件 +PASS 390 20.logo精确保留现值 +PASS 390 20.logo指针默认折叠 +PASS 390 20.logo精确源码/类型/指针 +PASS 390 20.logo展开无溢出 +PASS 390 20.logo_size_ratio键盘展开 +PASS 390 20.logo_size_ratio用途/单位/范围/来源条件 +PASS 390 20.logo_size_ratio精确保留现值 +PASS 390 20.logo_size_ratio指针默认折叠 +PASS 390 20.logo_size_ratio精确源码/类型/指针 +PASS 390 20.logo_size_ratio展开无溢出 +PASS 390 20.bar_size键盘展开 +PASS 390 20.bar_size用途/单位/范围/来源条件 +PASS 390 20.bar_size精确保留现值 +PASS 390 20.bar_size指针默认折叠 +PASS 390 20.bar_size精确源码/类型/指针 +PASS 390 20.bar_size展开无溢出 +PASS 390 20.bar_width键盘展开 +PASS 390 20.bar_width用途/单位/范围/来源条件 +PASS 390 20.bar_width精确保留现值 +PASS 390 20.bar_width指针默认折叠 +PASS 390 20.bar_width精确源码/类型/指针 +PASS 390 20.bar_width展开无溢出 +PASS 390 20.bar_height键盘展开 +PASS 390 20.bar_height用途/单位/范围/来源条件 +PASS 390 20.bar_height精确保留现值 +PASS 390 20.bar_height指针默认折叠 +PASS 390 20.bar_height精确源码/类型/指针 +PASS 390 20.bar_height展开无溢出 +PASS 390 20.padding键盘展开 +PASS 390 20.padding用途/单位/范围/来源条件 +PASS 390 20.padding精确保留现值 +PASS 390 20.padding指针默认折叠 +PASS 390 20.padding精确源码/类型/指针 +PASS 390 20.padding展开无溢出 +PASS 390 20.spacing键盘展开 +PASS 390 20.spacing用途/单位/范围/来源条件 +PASS 390 20.spacing精确保留现值 +PASS 390 20.spacing指针默认折叠 +PASS 390 20.spacing精确源码/类型/指针 +PASS 390 20.spacing展开无溢出 +PASS 390 20.font_name键盘展开 +PASS 390 20.font_name用途/单位/范围/来源条件 +PASS 390 20.font_name精确保留现值 +PASS 390 20.font_name指针默认折叠 +PASS 390 20.font_name精确源码/类型/指针 +PASS 390 20.font_name展开无溢出 +PASS 390 20.font_bold_name键盘展开 +PASS 390 20.font_bold_name用途/单位/范围/来源条件 +PASS 390 20.font_bold_name精确保留现值 +PASS 390 20.font_bold_name指针默认折叠 +PASS 390 20.font_bold_name精确源码/类型/指针 +PASS 390 20.font_bold_name展开无溢出 +PASS 390 20.font_size_large键盘展开 +PASS 390 20.font_size_large用途/单位/范围/来源条件 +PASS 390 20.font_size_large精确保留现值 +PASS 390 20.font_size_large指针默认折叠 +PASS 390 20.font_size_large精确源码/类型/指针 +PASS 390 20.font_size_large展开无溢出 +PASS 390 20.font_size_medium键盘展开 +PASS 390 20.font_size_medium用途/单位/范围/来源条件 +PASS 390 20.font_size_medium精确保留现值 +PASS 390 20.font_size_medium指针默认折叠 +PASS 390 20.font_size_medium精确源码/类型/指针 +PASS 390 20.font_size_medium展开无溢出 +PASS 390 20.font_size_small键盘展开 +PASS 390 20.font_size_small用途/单位/范围/来源条件 +PASS 390 20.font_size_small精确保留现值 +PASS 390 20.font_size_small指针默认折叠 +PASS 390 20.font_size_small精确源码/类型/指针 +PASS 390 20.font_size_small展开无溢出 +PASS 390 20.bg_color键盘展开 +PASS 390 20.bg_color用途/单位/范围/来源条件 +PASS 390 20.bg_color精确保留现值 +PASS 390 20.bg_color指针默认折叠 +PASS 390 20.bg_color精确源码/类型/指针 +PASS 390 20.bg_color展开无溢出 +PASS 390 20.title_color键盘展开 +PASS 390 20.title_color用途/单位/范围/来源条件 +PASS 390 20.title_color精确保留现值 +PASS 390 20.title_color指针默认折叠 +PASS 390 20.title_color精确源码/类型/指针 +PASS 390 20.title_color展开无溢出 +PASS 390 20.subtitle_color键盘展开 +PASS 390 20.subtitle_color用途/单位/范围/来源条件 +PASS 390 20.subtitle_color精确保留现值 +PASS 390 20.subtitle_color指针默认折叠 +PASS 390 20.subtitle_color精确源码/类型/指针 +PASS 390 20.subtitle_color展开无溢出 +PASS 390Tab焦点保留 +PASS 390ShiftTab焦点保留 +PASS 390 图像4种添加水印节点关闭归还焦点 +PASS 390 birefnet_图像移除背景默认中文用途 +PASS 390 birefnet_图像移除背景源审校默认折叠 +PASS 390 birefnet_图像移除背景技术范围默认折叠 +PASS 390 birefnet_图像移除背景默认无执行计数/实现标识 +PASS 390 birefnet_图像移除背景默认依据限制可见 +PASS 390 birefnet_图像移除背景 说明未定稿 +PASS 390 birefnet_图像移除背景 未验证实跑 +PASS 390 birefnet_图像移除背景 未检查 +PASS 390 birefnet_图像移除背景停用/时间戳空 +PASS 390 birefnet_图像移除背景参数全保留 +PASS 390 birefnet_图像移除背景默认无溢出 +PASS 390 birefnet_图像移除背景旧图归还焦点 +PASS 390 加载本地latent解码默认中文用途 +PASS 390 加载本地latent解码源审校默认折叠 +PASS 390 加载本地latent解码技术范围默认折叠 +PASS 390 加载本地latent解码默认无执行计数/实现标识 +PASS 390 加载本地latent解码默认依据限制可见 +PASS 390 加载本地latent解码 说明未定稿 +PASS 390 加载本地latent解码 未验证实跑 +PASS 390 加载本地latent解码 未检查 +PASS 390 加载本地latent解码停用/时间戳空 +PASS 390 加载本地latent解码参数全保留 +PASS 390 加载本地latent解码默认无溢出 +PASS 390 加载本地latent解码旧图归还焦点 +PASS 390 截取视频每一帧默认中文用途 +PASS 390 截取视频每一帧源审校默认折叠 +PASS 390 截取视频每一帧技术范围默认折叠 +PASS 390 截取视频每一帧默认无执行计数/实现标识 +PASS 390 截取视频每一帧默认依据限制可见 +PASS 390 截取视频每一帧 说明未定稿 +PASS 390 截取视频每一帧 未验证实跑 +PASS 390 截取视频每一帧 未检查 +PASS 390 截取视频每一帧停用/时间戳空 +PASS 390 截取视频每一帧参数全保留 +PASS 390 截取视频每一帧默认无溢出 +PASS 390 截取视频每一帧旧图归还焦点 +PASS 390 双图像或视频合并显示默认中文用途 +PASS 390 双图像或视频合并显示源审校默认折叠 +PASS 390 双图像或视频合并显示技术范围默认折叠 +PASS 390 双图像或视频合并显示默认无执行计数/实现标识 +PASS 390 双图像或视频合并显示默认依据限制可见 +PASS 390 双图像或视频合并显示 说明未定稿 +PASS 390 双图像或视频合并显示 未验证实跑 +PASS 390 双图像或视频合并显示 未检查 +PASS 390 双图像或视频合并显示停用/时间戳空 +PASS 390 双图像或视频合并显示参数全保留 +PASS 390 双图像或视频合并显示默认无溢出 +PASS 390 双图像或视频合并显示旧图归还焦点 +PASS 390 视频转gif动图图片默认中文用途 +PASS 390 视频转gif动图图片源审校默认折叠 +PASS 390 视频转gif动图图片技术范围默认折叠 +PASS 390 视频转gif动图图片默认无执行计数/实现标识 +PASS 390 视频转gif动图图片默认依据限制可见 +PASS 390 视频转gif动图图片 说明未定稿 +PASS 390 视频转gif动图图片 未验证实跑 +PASS 390 视频转gif动图图片 未检查 +PASS 390 视频转gif动图图片停用/时间戳空 +PASS 390 视频转gif动图图片参数全保留 +PASS 390 视频转gif动图图片默认无溢出 +PASS 390 视频转gif动图图片旧图归还焦点 +PASS 390 加载图片合成视频默认中文用途 +PASS 390 加载图片合成视频源审校默认折叠 +PASS 390 加载图片合成视频技术范围默认折叠 +PASS 390 加载图片合成视频默认无执行计数/实现标识 +PASS 390 加载图片合成视频默认依据限制可见 +PASS 390 加载图片合成视频 说明未定稿 +PASS 390 加载图片合成视频 未验证实跑 +PASS 390 加载图片合成视频 未检查 +PASS 390 加载图片合成视频停用/时间戳空 +PASS 390 加载图片合成视频参数全保留 +PASS 390 加载图片合成视频默认无溢出 +PASS 390 加载图片合成视频旧图归还焦点 +PASS 390 视频倒放默认中文用途 +PASS 390 视频倒放源审校默认折叠 +PASS 390 视频倒放技术范围默认折叠 +PASS 390 视频倒放默认无执行计数/实现标识 +PASS 390 视频倒放默认依据限制可见 +PASS 390 视频倒放 说明未定稿 +PASS 390 视频倒放 未验证实跑 +PASS 390 视频倒放 未检查 +PASS 390 视频倒放停用/时间戳空 +PASS 390 视频倒放参数全保留 +PASS 390 视频倒放默认无溢出 +PASS 390 视频倒放旧图归还焦点 +PASS 390 NLF_视频人物动作骨架获取默认中文用途 +PASS 390 NLF_视频人物动作骨架获取源审校默认折叠 +PASS 390 NLF_视频人物动作骨架获取技术范围默认折叠 +PASS 390 NLF_视频人物动作骨架获取默认无执行计数/实现标识 +PASS 390 NLF_视频人物动作骨架获取默认依据限制可见 +PASS 390 NLF_视频人物动作骨架获取 说明未定稿 +PASS 390 NLF_视频人物动作骨架获取 未验证实跑 +PASS 390 NLF_视频人物动作骨架获取 未检查 +PASS 390 NLF_视频人物动作骨架获取停用/时间戳空 +PASS 390 NLF_视频人物动作骨架获取参数全保留 +PASS 390 NLF_视频人物动作骨架获取默认无溢出 +PASS 390 NLF_视频人物动作骨架获取旧图归还焦点 +PASS 390 openpose-video-姿态检测默认中文用途 +PASS 390 openpose-video-姿态检测源审校默认折叠 +PASS 390 openpose-video-姿态检测技术范围默认折叠 +PASS 390 openpose-video-姿态检测默认无执行计数/实现标识 +PASS 390 openpose-video-姿态检测默认依据限制可见 +PASS 390 openpose-video-姿态检测 说明未定稿 +PASS 390 openpose-video-姿态检测 未验证实跑 +PASS 390 openpose-video-姿态检测 未检查 +PASS 390 openpose-video-姿态检测停用/时间戳空 +PASS 390 openpose-video-姿态检测参数全保留 +PASS 390 openpose-video-姿态检测默认无溢出 +PASS 390 openpose-video-姿态检测旧图归还焦点 +PASS 390 sdpose_视频人物姿势骨架提取默认中文用途 +PASS 390 sdpose_视频人物姿势骨架提取源审校默认折叠 +PASS 390 sdpose_视频人物姿势骨架提取技术范围默认折叠 +PASS 390 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识 +PASS 390 sdpose_视频人物姿势骨架提取默认依据限制可见 +PASS 390 sdpose_视频人物姿势骨架提取 说明未定稿 +PASS 390 sdpose_视频人物姿势骨架提取 未验证实跑 +PASS 390 sdpose_视频人物姿势骨架提取 未检查 +PASS 390 sdpose_视频人物姿势骨架提取停用/时间戳空 +PASS 390 sdpose_视频人物姿势骨架提取参数全保留 +PASS 390 sdpose_视频人物姿势骨架提取默认无溢出 +PASS 390 sdpose_视频人物姿势骨架提取旧图归还焦点 +PASS 390 gemma4_提示词反推(图像视频音频)默认中文用途 +PASS 390 gemma4_提示词反推(图像视频音频)源审校默认折叠 +PASS 390 gemma4_提示词反推(图像视频音频)技术范围默认折叠 +PASS 390 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识 +PASS 390 gemma4_提示词反推(图像视频音频)默认依据限制可见 +PASS 390 gemma4_提示词反推(图像视频音频) 说明未定稿 +PASS 390 gemma4_提示词反推(图像视频音频) 未验证实跑 +PASS 390 gemma4_提示词反推(图像视频音频) 未检查 +PASS 390 gemma4_提示词反推(图像视频音频)停用/时间戳空 +PASS 390 gemma4_提示词反推(图像视频音频)参数全保留 +PASS 390 gemma4_提示词反推(图像视频音频)默认无溢出 +PASS 390 gemma4_提示词反推(图像视频音频)旧图归还焦点 +PASS 390 图像合并成四宫格默认中文用途 +PASS 390 图像合并成四宫格源审校默认折叠 +PASS 390 图像合并成四宫格技术范围默认折叠 +PASS 390 图像合并成四宫格默认无执行计数/实现标识 +PASS 390 图像合并成四宫格默认依据限制可见 +PASS 390 图像合并成四宫格 说明未定稿 +PASS 390 图像合并成四宫格 未验证实跑 +PASS 390 图像合并成四宫格 未检查 +PASS 390 图像合并成四宫格停用/时间戳空 +PASS 390 图像合并成四宫格参数全保留 +PASS 390 图像合并成四宫格默认无溢出 +PASS 390 图像合并成四宫格旧图归还焦点 +PASS 390 图像分割-多宫格分割默认中文用途 +PASS 390 图像分割-多宫格分割源审校默认折叠 +PASS 390 图像分割-多宫格分割技术范围默认折叠 +PASS 390 图像分割-多宫格分割默认无执行计数/实现标识 +PASS 390 图像分割-多宫格分割默认依据限制可见 +PASS 390 图像分割-多宫格分割 说明未定稿 +PASS 390 图像分割-多宫格分割 未验证实跑 +PASS 390 图像分割-多宫格分割 未检查 +PASS 390 图像分割-多宫格分割停用/时间戳空 +PASS 390 图像分割-多宫格分割参数全保留 +PASS 390 图像分割-多宫格分割默认无溢出 +PASS 390 图像分割-多宫格分割旧图归还焦点 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认中文用途 +PASS 390 Qwen_image2.1_图像编辑_背景移除源审校默认折叠 +PASS 390 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认依据限制可见 +PASS 390 Qwen_image2.1_图像编辑_背景移除 说明未定稿 +PASS 390 Qwen_image2.1_图像编辑_背景移除 未验证实跑 +PASS 390 Qwen_image2.1_图像编辑_背景移除 未检查 +PASS 390 Qwen_image2.1_图像编辑_背景移除停用/时间戳空 +PASS 390 Qwen_image2.1_图像编辑_背景移除参数全保留 +PASS 390 Qwen_image2.1_图像编辑_背景移除默认无溢出 +PASS 390 Qwen_image2.1_图像编辑_背景移除旧图归还焦点 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认中文用途 +PASS 390 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠 +PASS 390 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 说明未定稿 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 未验证实跑 +PASS 390 Qwen_image2.1_图像编辑_提示词增强 未检查 +PASS 390 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空 +PASS 390 Qwen_image2.1_图像编辑_提示词增强参数全保留 +PASS 390 Qwen_image2.1_图像编辑_提示词增强默认无溢出 +PASS 390 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点 +PASS 390 Qwen_image2.1_文生图_提示词增强默认中文用途 +PASS 390 Qwen_image2.1_文生图_提示词增强源审校默认折叠 +PASS 390 Qwen_image2.1_文生图_提示词增强技术范围默认折叠 +PASS 390 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识 +PASS 390 Qwen_image2.1_文生图_提示词增强默认依据限制可见 +PASS 390 Qwen_image2.1_文生图_提示词增强 说明未定稿 +PASS 390 Qwen_image2.1_文生图_提示词增强 未验证实跑 +PASS 390 Qwen_image2.1_文生图_提示词增强 未检查 +PASS 390 Qwen_image2.1_文生图_提示词增强停用/时间戳空 +PASS 390 Qwen_image2.1_文生图_提示词增强参数全保留 +PASS 390 Qwen_image2.1_文生图_提示词增强默认无溢出 +PASS 390 Qwen_image2.1_文生图_提示词增强旧图归还焦点 +PASS 390 ControlNet_aux_常用样例默认中文用途 +PASS 390 ControlNet_aux_常用样例源审校默认折叠 +PASS 390 ControlNet_aux_常用样例技术范围默认折叠 +PASS 390 ControlNet_aux_常用样例默认无执行计数/实现标识 +PASS 390 ControlNet_aux_常用样例默认依据限制可见 +PASS 390 ControlNet_aux_常用样例 说明未定稿 +PASS 390 ControlNet_aux_常用样例 未验证实跑 +PASS 390 ControlNet_aux_常用样例 未检查 +PASS 390 ControlNet_aux_常用样例停用/时间戳空 +PASS 390 ControlNet_aux_常用样例参数全保留 +PASS 390 ControlNet_aux_常用样例默认无溢出 +PASS 390 ControlNet_aux_常用样例旧图归还焦点 +PASS 390 Qwen3-ASR-语音转文字默认中文用途 +PASS 390 Qwen3-ASR-语音转文字源审校默认折叠 +PASS 390 Qwen3-ASR-语音转文字技术范围默认折叠 +PASS 390 Qwen3-ASR-语音转文字默认无执行计数/实现标识 +PASS 390 Qwen3-ASR-语音转文字默认依据限制可见 +PASS 390 Qwen3-ASR-语音转文字 说明未定稿 +PASS 390 Qwen3-ASR-语音转文字 未验证实跑 +PASS 390 Qwen3-ASR-语音转文字 未检查 +PASS 390 Qwen3-ASR-语音转文字停用/时间戳空 +PASS 390 Qwen3-ASR-语音转文字参数全保留 +PASS 390 Qwen3-ASR-语音转文字默认无溢出 +PASS 390 Qwen3-ASR-语音转文字旧图归还焦点 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认中文用途 +PASS 390 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠 +PASS 390 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 说明未定稿 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 未验证实跑 +PASS 390 Qwen3-ASR-Subtitle语音转字幕 未检查 +PASS 390 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空 +PASS 390 Qwen3-ASR-Subtitle语音转字幕参数全保留 +PASS 390 Qwen3-ASR-Subtitle语音转字幕默认无溢出 +PASS 390 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点 +PASS 390 Minimax-H3提示词增强默认中文用途 +PASS 390 Minimax-H3提示词增强源审校默认折叠 +PASS 390 Minimax-H3提示词增强技术范围默认折叠 +PASS 390 Minimax-H3提示词增强默认无执行计数/实现标识 +PASS 390 Minimax-H3提示词增强默认依据限制可见 +PASS 390 Minimax-H3提示词增强 说明未定稿 +PASS 390 Minimax-H3提示词增强 未验证实跑 +PASS 390 Minimax-H3提示词增强 未检查 +PASS 390 Minimax-H3提示词增强停用/时间戳空 +PASS 390 Minimax-H3提示词增强参数全保留 +PASS 390 Minimax-H3提示词增强默认无溢出 +PASS 390 Minimax-H3提示词增强旧图归还焦点 +PASS 390 音频转MP3格式默认中文用途 +PASS 390 音频转MP3格式源审校默认折叠 +PASS 390 音频转MP3格式技术范围默认折叠 +PASS 390 音频转MP3格式默认无执行计数/实现标识 +PASS 390 音频转MP3格式默认依据限制可见 +PASS 390 音频转MP3格式 说明未定稿 +PASS 390 音频转MP3格式 未验证实跑 +PASS 390 音频转MP3格式 未检查 +PASS 390 音频转MP3格式停用/时间戳空 +PASS 390 音频转MP3格式参数全保留 +PASS 390 音频转MP3格式默认无溢出 +PASS 390 音频转MP3格式旧图归还焦点 +PASS 390 音频人声分离默认中文用途 +PASS 390 音频人声分离源审校默认折叠 +PASS 390 音频人声分离技术范围默认折叠 +PASS 390 音频人声分离默认无执行计数/实现标识 +PASS 390 音频人声分离默认依据限制可见 +PASS 390 音频人声分离 说明未定稿 +PASS 390 音频人声分离 未验证实跑 +PASS 390 音频人声分离 未检查 +PASS 390 音频人声分离停用/时间戳空 +PASS 390 音频人声分离参数全保留 +PASS 390 音频人声分离默认无溢出 +PASS 390 音频人声分离旧图归还焦点 +PASS 390 视频-音频分离默认中文用途 +PASS 390 视频-音频分离源审校默认折叠 +PASS 390 视频-音频分离技术范围默认折叠 +PASS 390 视频-音频分离默认无执行计数/实现标识 +PASS 390 视频-音频分离默认依据限制可见 +PASS 390 视频-音频分离 说明未定稿 +PASS 390 视频-音频分离 未验证实跑 +PASS 390 视频-音频分离 未检查 +PASS 390 视频-音频分离停用/时间戳空 +PASS 390 视频-音频分离参数全保留 +PASS 390 视频-音频分离默认无溢出 +PASS 390 视频-音频分离旧图归还焦点 +PASS 390 图像嵌入文字描述默认中文用途 +PASS 390 图像嵌入文字描述源审校默认折叠 +PASS 390 图像嵌入文字描述技术范围默认折叠 +PASS 390 图像嵌入文字描述默认无执行计数/实现标识 +PASS 390 图像嵌入文字描述默认依据限制可见 +PASS 390 图像嵌入文字描述 说明未定稿 +PASS 390 图像嵌入文字描述 未验证实跑 +PASS 390 图像嵌入文字描述 未检查 +PASS 390 图像嵌入文字描述停用/时间戳空 +PASS 390 图像嵌入文字描述参数全保留 +PASS 390 图像嵌入文字描述默认无溢出 +PASS 390 图像嵌入文字描述旧图归还焦点 +PASS 旧/空说明回退 旧工作流回退(隔离测试夹具) +PASS 旧/空说明回退 空说明回退(隔离测试夹具) +PASS 缺摘要自然中文回退 +PASS 回退不暴露undefined +PASS 错绑定提示明确且不展示旧字段 +PASS 回退不暴露undefined +PASS 摘要HTML仅纯文本不创建图像或请求 +PASS 回退不暴露undefined +PASS 迟到水印响应不覆盖旧BiRefNet摘要/3字段 +PASS GET失败显示重试 +PASS 读取失败隐藏旧摘要 +PASS 重试恢复摘要 +PASS 无脚本错误或禁止请求 [] +PASS 全程本地GET无写/生成/目标/历史预览请求 +All owned browser services stopped. diff --git a/docs/hel-892/watermark-document-evidence/browser-results.json b/docs/hel-892/watermark-document-evidence/browser-results.json new file mode 100644 index 00000000..b25ad6fc --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/browser-results.json @@ -0,0 +1,1853 @@ +{ + "request_accounting": { + "fixed_count": 88, + "fixed_paths": { + "/api/settings": 1, + "/api/workflows": 2, + "/api/workflows/1": 3, + "/api/workflows/10": 3, + "/api/workflows/11": 10, + "/api/workflows/12": 3, + "/api/workflows/13": 3, + "/api/workflows/14": 3, + "/api/workflows/156": 1, + "/api/workflows/157": 1, + "/api/workflows/16": 3, + "/api/workflows/19": 3, + "/api/workflows/2": 3, + "/api/workflows/21": 3, + "/api/workflows/22": 3, + "/api/workflows/23": 3, + "/api/workflows/24": 3, + "/api/workflows/25": 3, + "/api/workflows/3": 4, + "/api/workflows/35": 3, + "/api/workflows/36": 3, + "/api/workflows/5": 3, + "/api/workflows/6": 3, + "/api/workflows/62": 3, + "/api/workflows/64": 3, + "/api/workflows/7": 3, + "/api/workflows/70": 3, + "/api/workflows/8": 3, + "/api/workflows/9": 3 + }, + "polling_count": 10, + "polling_paths": { + "/api/jobs": 10 + }, + "polling_tolerance": 1, + "reason": "定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。" + }, + "assertion_count": 1400, + "assertionGroups": { + "aggregate": 2, + "new_watermark": 808, + "old_twenty_four": 576, + "shared_regressions": 14 + }, + "checks": [ + "25图721保存位置", + "25图16源注释", + "1440 图像4种添加水印节点默认中文用途", + "1440 图像4种添加水印节点源审校默认折叠", + "1440 图像4种添加水印节点技术范围默认折叠", + "1440 图像4种添加水印节点默认无执行计数/实现标识", + "1440 图像4种添加水印节点默认依据限制可见", + "1440 图像4种添加水印节点 说明未定稿", + "1440 图像4种添加水印节点 未验证实跑", + "1440 图像4种添加水印节点 未检查", + "1440 图像4种添加水印节点停用/时间戳空", + "1440 图像4种添加水印节点参数全保留", + "1440 图像4种添加水印节点默认无溢出", + "1440 图像4种添加水印节点原用途/源路径展开保留", + "1440 图像4种添加水印节点展开流程 0", + "1440 图像4种添加水印节点展开流程 1", + "1440 图像4种添加水印节点展开流程 2", + "1440 图像4种添加水印节点展开流程 3", + "1440 图像4种添加水印节点展开流程 4", + "1440 图像4种添加水印节点展开流程 5", + "1440 图像4种添加水印节点展开流程 6", + "1440 图像4种添加水印节点展开流程 7", + "1440 图像4种添加水印节点展开流程 8", + "1440 图像4种添加水印节点展开流程 9", + "1440 图像4种添加水印节点展开流程 10", + "1440 图像4种添加水印节点展开流程 11", + "1440 图像4种添加水印节点展开流程 12", + "1440 图像4种添加水印节点展开流程 13", + "1440 图像4种添加水印节点展开流程 14", + "1440 图像4种添加水印节点展开流程 15", + "1440 图像4种添加水印节点展开流程 16", + "1440 图像4种添加水印节点展开流程 17", + "1440 图像4种添加水印节点展开流程 18", + "1440 图像4种添加水印节点展开流程 19", + "1440 图像4种添加水印节点展开流程 20", + "1440 图像4种添加水印节点展开流程 21", + "1440 图像4种添加水印节点展开流程 22", + "1440 图像4种添加水印节点展开流程 23", + "1440 图像4种添加水印节点展开流程 24", + "1440 图像4种添加水印节点展开流程 25", + "1440 图像4种添加水印节点展开流程 26", + "1440 图像4种添加水印节点展开流程 27", + "1440 图像4种添加水印节点展开流程 28", + "1440 图像4种添加水印节点展开流程 29", + "1440 图像4种添加水印节点展开流程 30", + "1440 图像4种添加水印节点展开流程 31", + "1440 图像4种添加水印节点展开流程 32", + "1440 图像4种添加水印节点展开流程 33", + "1440 图像4种添加水印节点展开流程 34", + "1440 图像4种添加水印节点展开流程 35", + "1440 图像4种添加水印节点展开流程 36", + "1440 图像4种添加水印节点展开流程 37", + "1440 图像4种添加水印节点展开流程 38", + "1440 图像4种添加水印节点展开流程 39", + "1440 图像4种添加水印节点展开流程 40", + "1440 图像4种添加水印节点展开流程 41", + "1440 图像4种添加水印节点展开流程 42", + "1440 图像4种添加水印节点展开流程 43", + "1440 图像4种添加水印节点展开流程 44", + "1440 图像4种添加水印节点原件摘要可展开", + "1440 图像4种添加水印节点版本 0", + "1440 图像4种添加水印节点版本 1", + "1440 图像4种添加水印节点版本 2", + "1440 图像4种添加水印节点版本 3", + "1440 图像4种添加水印节点版本 4", + "1440 图像4种添加水印节点版本 5", + "1440 图像4种添加水印节点版本 6", + "1440 5.image键盘展开", + "1440 5.image用途/单位/范围/来源条件", + "1440 5.image精确保留现值", + "1440 5.image指针默认折叠", + "1440 5.image精确源码/类型/指针", + "1440 5.image展开无溢出", + "1440 5.upload键盘展开", + "1440 5.upload用途/单位/范围/来源条件", + "1440 5.upload精确保留现值", + "1440 5.upload指针默认折叠", + "1440 5.upload精确源码/类型/指针", + "1440 5.upload展开无溢出", + "1440 6.image键盘展开", + "1440 6.image用途/单位/范围/来源条件", + "1440 6.image精确保留现值", + "1440 6.image指针默认折叠", + "1440 6.image精确源码/类型/指针", + "1440 6.image展开无溢出", + "1440 6.upload键盘展开", + "1440 6.upload用途/单位/范围/来源条件", + "1440 6.upload精确保留现值", + "1440 6.upload指针默认折叠", + "1440 6.upload精确源码/类型/指针", + "1440 6.upload展开无溢出", + "1440 10.image键盘展开", + "1440 10.image用途/单位/范围/来源条件", + "1440 10.image精确保留现值", + "1440 10.image指针默认折叠", + "1440 10.image精确源码/类型/指针", + "1440 10.image展开无溢出", + "1440 10.upload键盘展开", + "1440 10.upload用途/单位/范围/来源条件", + "1440 10.upload精确保留现值", + "1440 10.upload指针默认折叠", + "1440 10.upload精确源码/类型/指针", + "1440 10.upload展开无溢出", + "1440 3.text键盘展开", + "1440 3.text用途/单位/范围/来源条件", + "1440 3.text精确保留现值", + "1440 3.text指针默认折叠", + "1440 3.text精确源码/类型/指针", + "1440 3.text展开无溢出", + "1440 3.align键盘展开", + "1440 3.align用途/单位/范围/来源条件", + "1440 3.align精确保留现值", + "1440 3.align指针默认折叠", + "1440 3.align精确源码/类型/指针", + "1440 3.align展开无溢出", + "1440 3.opacity键盘展开", + "1440 3.opacity用途/单位/范围/来源条件", + "1440 3.opacity精确保留现值", + "1440 3.opacity指针默认折叠", + "1440 3.opacity精确源码/类型/指针", + "1440 3.opacity展开无溢出", + "1440 3.font_name键盘展开", + "1440 3.font_name用途/单位/范围/来源条件", + "1440 3.font_name精确保留现值", + "1440 3.font_name指针默认折叠", + "1440 3.font_name精确源码/类型/指针", + "1440 3.font_name展开无溢出", + "1440 3.font_size键盘展开", + "1440 3.font_size用途/单位/范围/来源条件", + "1440 3.font_size精确保留现值", + "1440 3.font_size指针默认折叠", + "1440 3.font_size精确源码/类型/指针", + "1440 3.font_size展开无溢出", + "1440 3.font_color键盘展开", + "1440 3.font_color用途/单位/范围/来源条件", + "1440 3.font_color精确保留现值", + "1440 3.font_color指针默认折叠", + "1440 3.font_color精确源码/类型/指针", + "1440 3.font_color展开无溢出", + "1440 3.x_margin键盘展开", + "1440 3.x_margin用途/单位/范围/来源条件", + "1440 3.x_margin精确保留现值", + "1440 3.x_margin指针默认折叠", + "1440 3.x_margin精确源码/类型/指针", + "1440 3.x_margin展开无溢出", + "1440 3.y_margin键盘展开", + "1440 3.y_margin用途/单位/范围/来源条件", + "1440 3.y_margin精确保留现值", + "1440 3.y_margin指针默认折叠", + "1440 3.y_margin精确源码/类型/指针", + "1440 3.y_margin展开无溢出", + "1440 3.font_color_hex键盘展开", + "1440 3.font_color_hex用途/单位/范围/来源条件", + "1440 3.font_color_hex精确保留现值", + "1440 3.font_color_hex指针默认折叠", + "1440 3.font_color_hex精确源码/类型/指针", + "1440 3.font_color_hex展开无溢出", + "1440 2.水印文本键盘展开", + "1440 2.水印文本用途/单位/范围/来源条件", + "1440 2.水印文本精确保留现值", + "1440 2.水印文本指针默认折叠", + "1440 2.水印文本精确源码/类型/指针", + "1440 2.水印文本展开无溢出", + "1440 2.字体键盘展开", + "1440 2.字体用途/单位/范围/来源条件", + "1440 2.字体精确保留现值", + "1440 2.字体指针默认折叠", + "1440 2.字体精确源码/类型/指针", + "1440 2.字体展开无溢出", + "1440 2.水印大小百分比键盘展开", + "1440 2.水印大小百分比用途/单位/范围/来源条件", + "1440 2.水印大小百分比精确保留现值", + "1440 2.水印大小百分比指针默认折叠", + "1440 2.水印大小百分比精确源码/类型/指针", + "1440 2.水印大小百分比展开无溢出", + "1440 2.水印不透明度键盘展开", + "1440 2.水印不透明度用途/单位/范围/来源条件", + "1440 2.水印不透明度精确保留现值", + "1440 2.水印不透明度指针默认折叠", + "1440 2.水印不透明度精确源码/类型/指针", + "1440 2.水印不透明度展开无溢出", + "1440 2.水平位置键盘展开", + "1440 2.水平位置用途/单位/范围/来源条件", + "1440 2.水平位置精确保留现值", + "1440 2.水平位置指针默认折叠", + "1440 2.水平位置精确源码/类型/指针", + "1440 2.水平位置展开无溢出", + "1440 2.垂直位置键盘展开", + "1440 2.垂直位置用途/单位/范围/来源条件", + "1440 2.垂直位置精确保留现值", + "1440 2.垂直位置指针默认折叠", + "1440 2.垂直位置精确源码/类型/指针", + "1440 2.垂直位置展开无溢出", + "1440 2.X偏移百分比键盘展开", + "1440 2.X偏移百分比用途/单位/范围/来源条件", + "1440 2.X偏移百分比精确保留现值", + "1440 2.X偏移百分比指针默认折叠", + "1440 2.X偏移百分比精确源码/类型/指针", + "1440 2.X偏移百分比展开无溢出", + "1440 2.Y偏移百分比键盘展开", + "1440 2.Y偏移百分比用途/单位/范围/来源条件", + "1440 2.Y偏移百分比精确保留现值", + "1440 2.Y偏移百分比指针默认折叠", + "1440 2.Y偏移百分比精确源码/类型/指针", + "1440 2.Y偏移百分比展开无溢出", + "1440 2.文字颜色键盘展开", + "1440 2.文字颜色用途/单位/范围/来源条件", + "1440 2.文字颜色精确保留现值", + "1440 2.文字颜色指针默认折叠", + "1440 2.文字颜色精确源码/类型/指针", + "1440 2.文字颜色展开无溢出", + "1440 2.水印平铺键盘展开", + "1440 2.水印平铺用途/单位/范围/来源条件", + "1440 2.水印平铺精确保留现值", + "1440 2.水印平铺指针默认折叠", + "1440 2.水印平铺精确源码/类型/指针", + "1440 2.水印平铺展开无溢出", + "1440 2.水印角度键盘展开", + "1440 2.水印角度用途/单位/范围/来源条件", + "1440 2.水印角度精确保留现值", + "1440 2.水印角度指针默认折叠", + "1440 2.水印角度精确源码/类型/指针", + "1440 2.水印角度展开无溢出", + "1440 2.水印间距键盘展开", + "1440 2.水印间距用途/单位/范围/来源条件", + "1440 2.水印间距精确保留现值", + "1440 2.水印间距指针默认折叠", + "1440 2.水印间距精确源码/类型/指针", + "1440 2.水印间距展开无溢出", + "1440 2.输出透明通道键盘展开", + "1440 2.输出透明通道用途/单位/范围/来源条件", + "1440 2.输出透明通道精确保留现值", + "1440 2.输出透明通道指针默认折叠", + "1440 2.输出透明通道精确源码/类型/指针", + "1440 2.输出透明通道展开无溢出", + "1440 20.layout键盘展开", + "1440 20.layout用途/单位/范围/来源条件", + "1440 20.layout精确保留现值", + "1440 20.layout指针默认折叠", + "1440 20.layout精确源码/类型/指针", + "1440 20.layout展开无溢出", + "1440 20.restore_preset键盘展开", + "1440 20.restore_preset用途/单位/范围/来源条件", + "1440 20.restore_preset精确保留现值", + "1440 20.restore_preset指针默认折叠", + "1440 20.restore_preset精确源码/类型/指针", + "1440 20.restore_preset展开无溢出", + "1440 20.randomize_style键盘展开", + "1440 20.randomize_style用途/单位/范围/来源条件", + "1440 20.randomize_style精确保留现值", + "1440 20.randomize_style指针默认折叠", + "1440 20.randomize_style精确源码/类型/指针", + "1440 20.randomize_style展开无溢出", + "1440 20.random_style_selection键盘展开", + "1440 20.random_style_selection用途/单位/范围/来源条件", + "1440 20.random_style_selection精确保留现值", + "1440 20.random_style_selection指针默认折叠", + "1440 20.random_style_selection精确源码/类型/指针", + "1440 20.random_style_selection展开无溢出", + "1440 20.seed键盘展开", + "1440 20.seed用途/单位/范围/来源条件", + "1440 20.seed精确保留现值", + "1440 20.seed指针默认折叠", + "1440 20.seed精确源码/类型/指针", + "1440 20.seed展开无溢出", + "1440 20.control_after_generate键盘展开", + "1440 20.control_after_generate用途/单位/范围/来源条件", + "1440 20.control_after_generate精确保留现值", + "1440 20.control_after_generate指针默认折叠", + "1440 20.control_after_generate精确源码/类型/指针", + "1440 20.control_after_generate展开无溢出", + "1440 20.use_exif键盘展开", + "1440 20.use_exif用途/单位/范围/来源条件", + "1440 20.use_exif精确保留现值", + "1440 20.use_exif指针默认折叠", + "1440 20.use_exif精确源码/类型/指针", + "1440 20.use_exif展开无溢出", + "1440 20.block_a_text_1键盘展开", + "1440 20.block_a_text_1用途/单位/范围/来源条件", + "1440 20.block_a_text_1精确保留现值", + "1440 20.block_a_text_1指针默认折叠", + "1440 20.block_a_text_1精确源码/类型/指针", + "1440 20.block_a_text_1展开无溢出", + "1440 20.block_a_text_2键盘展开", + "1440 20.block_a_text_2用途/单位/范围/来源条件", + "1440 20.block_a_text_2精确保留现值", + "1440 20.block_a_text_2指针默认折叠", + "1440 20.block_a_text_2精确源码/类型/指针", + "1440 20.block_a_text_2展开无溢出", + "1440 20.block_a_text_3键盘展开", + "1440 20.block_a_text_3用途/单位/范围/来源条件", + "1440 20.block_a_text_3精确保留现值", + "1440 20.block_a_text_3指针默认折叠", + "1440 20.block_a_text_3精确源码/类型/指针", + "1440 20.block_a_text_3展开无溢出", + "1440 20.block_b_text_1键盘展开", + "1440 20.block_b_text_1用途/单位/范围/来源条件", + "1440 20.block_b_text_1精确保留现值", + "1440 20.block_b_text_1指针默认折叠", + "1440 20.block_b_text_1精确源码/类型/指针", + "1440 20.block_b_text_1展开无溢出", + "1440 20.block_b_text_2键盘展开", + "1440 20.block_b_text_2用途/单位/范围/来源条件", + "1440 20.block_b_text_2精确保留现值", + "1440 20.block_b_text_2指针默认折叠", + "1440 20.block_b_text_2精确源码/类型/指针", + "1440 20.block_b_text_2展开无溢出", + "1440 20.block_b_text_3键盘展开", + "1440 20.block_b_text_3用途/单位/范围/来源条件", + "1440 20.block_b_text_3精确保留现值", + "1440 20.block_b_text_3指针默认折叠", + "1440 20.block_b_text_3精确源码/类型/指针", + "1440 20.block_b_text_3展开无溢出", + "1440 20.logo键盘展开", + "1440 20.logo用途/单位/范围/来源条件", + "1440 20.logo精确保留现值", + "1440 20.logo指针默认折叠", + "1440 20.logo精确源码/类型/指针", + "1440 20.logo展开无溢出", + "1440 20.logo_size_ratio键盘展开", + "1440 20.logo_size_ratio用途/单位/范围/来源条件", + "1440 20.logo_size_ratio精确保留现值", + "1440 20.logo_size_ratio指针默认折叠", + "1440 20.logo_size_ratio精确源码/类型/指针", + "1440 20.logo_size_ratio展开无溢出", + "1440 20.bar_size键盘展开", + "1440 20.bar_size用途/单位/范围/来源条件", + "1440 20.bar_size精确保留现值", + "1440 20.bar_size指针默认折叠", + "1440 20.bar_size精确源码/类型/指针", + "1440 20.bar_size展开无溢出", + "1440 20.bar_width键盘展开", + "1440 20.bar_width用途/单位/范围/来源条件", + "1440 20.bar_width精确保留现值", + "1440 20.bar_width指针默认折叠", + "1440 20.bar_width精确源码/类型/指针", + "1440 20.bar_width展开无溢出", + "1440 20.bar_height键盘展开", + "1440 20.bar_height用途/单位/范围/来源条件", + "1440 20.bar_height精确保留现值", + "1440 20.bar_height指针默认折叠", + "1440 20.bar_height精确源码/类型/指针", + "1440 20.bar_height展开无溢出", + "1440 20.padding键盘展开", + "1440 20.padding用途/单位/范围/来源条件", + "1440 20.padding精确保留现值", + "1440 20.padding指针默认折叠", + "1440 20.padding精确源码/类型/指针", + "1440 20.padding展开无溢出", + "1440 20.spacing键盘展开", + "1440 20.spacing用途/单位/范围/来源条件", + "1440 20.spacing精确保留现值", + "1440 20.spacing指针默认折叠", + "1440 20.spacing精确源码/类型/指针", + "1440 20.spacing展开无溢出", + "1440 20.font_name键盘展开", + "1440 20.font_name用途/单位/范围/来源条件", + "1440 20.font_name精确保留现值", + "1440 20.font_name指针默认折叠", + "1440 20.font_name精确源码/类型/指针", + "1440 20.font_name展开无溢出", + "1440 20.font_bold_name键盘展开", + "1440 20.font_bold_name用途/单位/范围/来源条件", + "1440 20.font_bold_name精确保留现值", + "1440 20.font_bold_name指针默认折叠", + "1440 20.font_bold_name精确源码/类型/指针", + "1440 20.font_bold_name展开无溢出", + "1440 20.font_size_large键盘展开", + "1440 20.font_size_large用途/单位/范围/来源条件", + "1440 20.font_size_large精确保留现值", + "1440 20.font_size_large指针默认折叠", + "1440 20.font_size_large精确源码/类型/指针", + "1440 20.font_size_large展开无溢出", + "1440 20.font_size_medium键盘展开", + "1440 20.font_size_medium用途/单位/范围/来源条件", + "1440 20.font_size_medium精确保留现值", + "1440 20.font_size_medium指针默认折叠", + "1440 20.font_size_medium精确源码/类型/指针", + "1440 20.font_size_medium展开无溢出", + "1440 20.font_size_small键盘展开", + "1440 20.font_size_small用途/单位/范围/来源条件", + "1440 20.font_size_small精确保留现值", + "1440 20.font_size_small指针默认折叠", + "1440 20.font_size_small精确源码/类型/指针", + "1440 20.font_size_small展开无溢出", + "1440 20.bg_color键盘展开", + "1440 20.bg_color用途/单位/范围/来源条件", + "1440 20.bg_color精确保留现值", + "1440 20.bg_color指针默认折叠", + "1440 20.bg_color精确源码/类型/指针", + "1440 20.bg_color展开无溢出", + "1440 20.title_color键盘展开", + "1440 20.title_color用途/单位/范围/来源条件", + "1440 20.title_color精确保留现值", + "1440 20.title_color指针默认折叠", + "1440 20.title_color精确源码/类型/指针", + "1440 20.title_color展开无溢出", + "1440 20.subtitle_color键盘展开", + "1440 20.subtitle_color用途/单位/范围/来源条件", + "1440 20.subtitle_color精确保留现值", + "1440 20.subtitle_color指针默认折叠", + "1440 20.subtitle_color精确源码/类型/指针", + "1440 20.subtitle_color展开无溢出", + "1440Tab焦点保留", + "1440ShiftTab焦点保留", + "1440 图像4种添加水印节点关闭归还焦点", + "1440 birefnet_图像移除背景默认中文用途", + "1440 birefnet_图像移除背景源审校默认折叠", + "1440 birefnet_图像移除背景技术范围默认折叠", + "1440 birefnet_图像移除背景默认无执行计数/实现标识", + "1440 birefnet_图像移除背景默认依据限制可见", + "1440 birefnet_图像移除背景 说明未定稿", + "1440 birefnet_图像移除背景 未验证实跑", + "1440 birefnet_图像移除背景 未检查", + "1440 birefnet_图像移除背景停用/时间戳空", + "1440 birefnet_图像移除背景参数全保留", + "1440 birefnet_图像移除背景默认无溢出", + "1440 birefnet_图像移除背景旧图归还焦点", + "1440 加载本地latent解码默认中文用途", + "1440 加载本地latent解码源审校默认折叠", + "1440 加载本地latent解码技术范围默认折叠", + "1440 加载本地latent解码默认无执行计数/实现标识", + "1440 加载本地latent解码默认依据限制可见", + "1440 加载本地latent解码 说明未定稿", + "1440 加载本地latent解码 未验证实跑", + "1440 加载本地latent解码 未检查", + "1440 加载本地latent解码停用/时间戳空", + "1440 加载本地latent解码参数全保留", + "1440 加载本地latent解码默认无溢出", + "1440 加载本地latent解码旧图归还焦点", + "1440 截取视频每一帧默认中文用途", + "1440 截取视频每一帧源审校默认折叠", + "1440 截取视频每一帧技术范围默认折叠", + "1440 截取视频每一帧默认无执行计数/实现标识", + "1440 截取视频每一帧默认依据限制可见", + "1440 截取视频每一帧 说明未定稿", + "1440 截取视频每一帧 未验证实跑", + "1440 截取视频每一帧 未检查", + "1440 截取视频每一帧停用/时间戳空", + "1440 截取视频每一帧参数全保留", + "1440 截取视频每一帧默认无溢出", + "1440 截取视频每一帧旧图归还焦点", + "1440 双图像或视频合并显示默认中文用途", + "1440 双图像或视频合并显示源审校默认折叠", + "1440 双图像或视频合并显示技术范围默认折叠", + "1440 双图像或视频合并显示默认无执行计数/实现标识", + "1440 双图像或视频合并显示默认依据限制可见", + "1440 双图像或视频合并显示 说明未定稿", + "1440 双图像或视频合并显示 未验证实跑", + "1440 双图像或视频合并显示 未检查", + "1440 双图像或视频合并显示停用/时间戳空", + "1440 双图像或视频合并显示参数全保留", + "1440 双图像或视频合并显示默认无溢出", + "1440 双图像或视频合并显示旧图归还焦点", + "1440 视频转gif动图图片默认中文用途", + "1440 视频转gif动图图片源审校默认折叠", + "1440 视频转gif动图图片技术范围默认折叠", + "1440 视频转gif动图图片默认无执行计数/实现标识", + "1440 视频转gif动图图片默认依据限制可见", + "1440 视频转gif动图图片 说明未定稿", + "1440 视频转gif动图图片 未验证实跑", + "1440 视频转gif动图图片 未检查", + "1440 视频转gif动图图片停用/时间戳空", + "1440 视频转gif动图图片参数全保留", + "1440 视频转gif动图图片默认无溢出", + "1440 视频转gif动图图片旧图归还焦点", + "1440 加载图片合成视频默认中文用途", + "1440 加载图片合成视频源审校默认折叠", + "1440 加载图片合成视频技术范围默认折叠", + "1440 加载图片合成视频默认无执行计数/实现标识", + "1440 加载图片合成视频默认依据限制可见", + "1440 加载图片合成视频 说明未定稿", + "1440 加载图片合成视频 未验证实跑", + "1440 加载图片合成视频 未检查", + "1440 加载图片合成视频停用/时间戳空", + "1440 加载图片合成视频参数全保留", + "1440 加载图片合成视频默认无溢出", + "1440 加载图片合成视频旧图归还焦点", + "1440 视频倒放默认中文用途", + "1440 视频倒放源审校默认折叠", + "1440 视频倒放技术范围默认折叠", + "1440 视频倒放默认无执行计数/实现标识", + "1440 视频倒放默认依据限制可见", + "1440 视频倒放 说明未定稿", + "1440 视频倒放 未验证实跑", + "1440 视频倒放 未检查", + "1440 视频倒放停用/时间戳空", + "1440 视频倒放参数全保留", + "1440 视频倒放默认无溢出", + "1440 视频倒放旧图归还焦点", + "1440 NLF_视频人物动作骨架获取默认中文用途", + "1440 NLF_视频人物动作骨架获取源审校默认折叠", + "1440 NLF_视频人物动作骨架获取技术范围默认折叠", + "1440 NLF_视频人物动作骨架获取默认无执行计数/实现标识", + "1440 NLF_视频人物动作骨架获取默认依据限制可见", + "1440 NLF_视频人物动作骨架获取 说明未定稿", + "1440 NLF_视频人物动作骨架获取 未验证实跑", + "1440 NLF_视频人物动作骨架获取 未检查", + "1440 NLF_视频人物动作骨架获取停用/时间戳空", + "1440 NLF_视频人物动作骨架获取参数全保留", + "1440 NLF_视频人物动作骨架获取默认无溢出", + "1440 NLF_视频人物动作骨架获取旧图归还焦点", + "1440 openpose-video-姿态检测默认中文用途", + "1440 openpose-video-姿态检测源审校默认折叠", + "1440 openpose-video-姿态检测技术范围默认折叠", + "1440 openpose-video-姿态检测默认无执行计数/实现标识", + "1440 openpose-video-姿态检测默认依据限制可见", + "1440 openpose-video-姿态检测 说明未定稿", + "1440 openpose-video-姿态检测 未验证实跑", + "1440 openpose-video-姿态检测 未检查", + "1440 openpose-video-姿态检测停用/时间戳空", + "1440 openpose-video-姿态检测参数全保留", + "1440 openpose-video-姿态检测默认无溢出", + "1440 openpose-video-姿态检测旧图归还焦点", + "1440 sdpose_视频人物姿势骨架提取默认中文用途", + "1440 sdpose_视频人物姿势骨架提取源审校默认折叠", + "1440 sdpose_视频人物姿势骨架提取技术范围默认折叠", + "1440 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识", + "1440 sdpose_视频人物姿势骨架提取默认依据限制可见", + "1440 sdpose_视频人物姿势骨架提取 说明未定稿", + "1440 sdpose_视频人物姿势骨架提取 未验证实跑", + "1440 sdpose_视频人物姿势骨架提取 未检查", + "1440 sdpose_视频人物姿势骨架提取停用/时间戳空", + "1440 sdpose_视频人物姿势骨架提取参数全保留", + "1440 sdpose_视频人物姿势骨架提取默认无溢出", + "1440 sdpose_视频人物姿势骨架提取旧图归还焦点", + "1440 gemma4_提示词反推(图像视频音频)默认中文用途", + "1440 gemma4_提示词反推(图像视频音频)源审校默认折叠", + "1440 gemma4_提示词反推(图像视频音频)技术范围默认折叠", + "1440 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识", + "1440 gemma4_提示词反推(图像视频音频)默认依据限制可见", + "1440 gemma4_提示词反推(图像视频音频) 说明未定稿", + "1440 gemma4_提示词反推(图像视频音频) 未验证实跑", + "1440 gemma4_提示词反推(图像视频音频) 未检查", + "1440 gemma4_提示词反推(图像视频音频)停用/时间戳空", + "1440 gemma4_提示词反推(图像视频音频)参数全保留", + "1440 gemma4_提示词反推(图像视频音频)默认无溢出", + "1440 gemma4_提示词反推(图像视频音频)旧图归还焦点", + "1440 图像合并成四宫格默认中文用途", + "1440 图像合并成四宫格源审校默认折叠", + "1440 图像合并成四宫格技术范围默认折叠", + "1440 图像合并成四宫格默认无执行计数/实现标识", + "1440 图像合并成四宫格默认依据限制可见", + "1440 图像合并成四宫格 说明未定稿", + "1440 图像合并成四宫格 未验证实跑", + "1440 图像合并成四宫格 未检查", + "1440 图像合并成四宫格停用/时间戳空", + "1440 图像合并成四宫格参数全保留", + "1440 图像合并成四宫格默认无溢出", + "1440 图像合并成四宫格旧图归还焦点", + "1440 图像分割-多宫格分割默认中文用途", + "1440 图像分割-多宫格分割源审校默认折叠", + "1440 图像分割-多宫格分割技术范围默认折叠", + "1440 图像分割-多宫格分割默认无执行计数/实现标识", + "1440 图像分割-多宫格分割默认依据限制可见", + "1440 图像分割-多宫格分割 说明未定稿", + "1440 图像分割-多宫格分割 未验证实跑", + "1440 图像分割-多宫格分割 未检查", + "1440 图像分割-多宫格分割停用/时间戳空", + "1440 图像分割-多宫格分割参数全保留", + "1440 图像分割-多宫格分割默认无溢出", + "1440 图像分割-多宫格分割旧图归还焦点", + "1440 Qwen_image2.1_图像编辑_背景移除默认中文用途", + "1440 Qwen_image2.1_图像编辑_背景移除源审校默认折叠", + "1440 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠", + "1440 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识", + "1440 Qwen_image2.1_图像编辑_背景移除默认依据限制可见", + "1440 Qwen_image2.1_图像编辑_背景移除 说明未定稿", + "1440 Qwen_image2.1_图像编辑_背景移除 未验证实跑", + "1440 Qwen_image2.1_图像编辑_背景移除 未检查", + "1440 Qwen_image2.1_图像编辑_背景移除停用/时间戳空", + "1440 Qwen_image2.1_图像编辑_背景移除参数全保留", + "1440 Qwen_image2.1_图像编辑_背景移除默认无溢出", + "1440 Qwen_image2.1_图像编辑_背景移除旧图归还焦点", + "1440 Qwen_image2.1_图像编辑_提示词增强默认中文用途", + "1440 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠", + "1440 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠", + "1440 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识", + "1440 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见", + "1440 Qwen_image2.1_图像编辑_提示词增强 说明未定稿", + "1440 Qwen_image2.1_图像编辑_提示词增强 未验证实跑", + "1440 Qwen_image2.1_图像编辑_提示词增强 未检查", + "1440 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空", + "1440 Qwen_image2.1_图像编辑_提示词增强参数全保留", + "1440 Qwen_image2.1_图像编辑_提示词增强默认无溢出", + "1440 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点", + "1440 Qwen_image2.1_文生图_提示词增强默认中文用途", + "1440 Qwen_image2.1_文生图_提示词增强源审校默认折叠", + "1440 Qwen_image2.1_文生图_提示词增强技术范围默认折叠", + "1440 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识", + "1440 Qwen_image2.1_文生图_提示词增强默认依据限制可见", + "1440 Qwen_image2.1_文生图_提示词增强 说明未定稿", + "1440 Qwen_image2.1_文生图_提示词增强 未验证实跑", + "1440 Qwen_image2.1_文生图_提示词增强 未检查", + "1440 Qwen_image2.1_文生图_提示词增强停用/时间戳空", + "1440 Qwen_image2.1_文生图_提示词增强参数全保留", + "1440 Qwen_image2.1_文生图_提示词增强默认无溢出", + "1440 Qwen_image2.1_文生图_提示词增强旧图归还焦点", + "1440 ControlNet_aux_常用样例默认中文用途", + "1440 ControlNet_aux_常用样例源审校默认折叠", + "1440 ControlNet_aux_常用样例技术范围默认折叠", + "1440 ControlNet_aux_常用样例默认无执行计数/实现标识", + "1440 ControlNet_aux_常用样例默认依据限制可见", + "1440 ControlNet_aux_常用样例 说明未定稿", + "1440 ControlNet_aux_常用样例 未验证实跑", + "1440 ControlNet_aux_常用样例 未检查", + "1440 ControlNet_aux_常用样例停用/时间戳空", + "1440 ControlNet_aux_常用样例参数全保留", + "1440 ControlNet_aux_常用样例默认无溢出", + "1440 ControlNet_aux_常用样例旧图归还焦点", + "1440 Qwen3-ASR-语音转文字默认中文用途", + "1440 Qwen3-ASR-语音转文字源审校默认折叠", + "1440 Qwen3-ASR-语音转文字技术范围默认折叠", + "1440 Qwen3-ASR-语音转文字默认无执行计数/实现标识", + "1440 Qwen3-ASR-语音转文字默认依据限制可见", + "1440 Qwen3-ASR-语音转文字 说明未定稿", + "1440 Qwen3-ASR-语音转文字 未验证实跑", + "1440 Qwen3-ASR-语音转文字 未检查", + "1440 Qwen3-ASR-语音转文字停用/时间戳空", + "1440 Qwen3-ASR-语音转文字参数全保留", + "1440 Qwen3-ASR-语音转文字默认无溢出", + "1440 Qwen3-ASR-语音转文字旧图归还焦点", + "1440 Qwen3-ASR-Subtitle语音转字幕默认中文用途", + "1440 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠", + "1440 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠", + "1440 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识", + "1440 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见", + "1440 Qwen3-ASR-Subtitle语音转字幕 说明未定稿", + "1440 Qwen3-ASR-Subtitle语音转字幕 未验证实跑", + "1440 Qwen3-ASR-Subtitle语音转字幕 未检查", + "1440 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空", + "1440 Qwen3-ASR-Subtitle语音转字幕参数全保留", + "1440 Qwen3-ASR-Subtitle语音转字幕默认无溢出", + "1440 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点", + "1440 Minimax-H3提示词增强默认中文用途", + "1440 Minimax-H3提示词增强源审校默认折叠", + "1440 Minimax-H3提示词增强技术范围默认折叠", + "1440 Minimax-H3提示词增强默认无执行计数/实现标识", + "1440 Minimax-H3提示词增强默认依据限制可见", + "1440 Minimax-H3提示词增强 说明未定稿", + "1440 Minimax-H3提示词增强 未验证实跑", + "1440 Minimax-H3提示词增强 未检查", + "1440 Minimax-H3提示词增强停用/时间戳空", + "1440 Minimax-H3提示词增强参数全保留", + "1440 Minimax-H3提示词增强默认无溢出", + "1440 Minimax-H3提示词增强旧图归还焦点", + "1440 音频转MP3格式默认中文用途", + "1440 音频转MP3格式源审校默认折叠", + "1440 音频转MP3格式技术范围默认折叠", + "1440 音频转MP3格式默认无执行计数/实现标识", + "1440 音频转MP3格式默认依据限制可见", + "1440 音频转MP3格式 说明未定稿", + "1440 音频转MP3格式 未验证实跑", + "1440 音频转MP3格式 未检查", + "1440 音频转MP3格式停用/时间戳空", + "1440 音频转MP3格式参数全保留", + "1440 音频转MP3格式默认无溢出", + "1440 音频转MP3格式旧图归还焦点", + "1440 音频人声分离默认中文用途", + "1440 音频人声分离源审校默认折叠", + "1440 音频人声分离技术范围默认折叠", + "1440 音频人声分离默认无执行计数/实现标识", + "1440 音频人声分离默认依据限制可见", + "1440 音频人声分离 说明未定稿", + "1440 音频人声分离 未验证实跑", + "1440 音频人声分离 未检查", + "1440 音频人声分离停用/时间戳空", + "1440 音频人声分离参数全保留", + "1440 音频人声分离默认无溢出", + "1440 音频人声分离旧图归还焦点", + "1440 视频-音频分离默认中文用途", + "1440 视频-音频分离源审校默认折叠", + "1440 视频-音频分离技术范围默认折叠", + "1440 视频-音频分离默认无执行计数/实现标识", + "1440 视频-音频分离默认依据限制可见", + "1440 视频-音频分离 说明未定稿", + "1440 视频-音频分离 未验证实跑", + "1440 视频-音频分离 未检查", + "1440 视频-音频分离停用/时间戳空", + "1440 视频-音频分离参数全保留", + "1440 视频-音频分离默认无溢出", + "1440 视频-音频分离旧图归还焦点", + "1440 图像嵌入文字描述默认中文用途", + "1440 图像嵌入文字描述源审校默认折叠", + "1440 图像嵌入文字描述技术范围默认折叠", + "1440 图像嵌入文字描述默认无执行计数/实现标识", + "1440 图像嵌入文字描述默认依据限制可见", + "1440 图像嵌入文字描述 说明未定稿", + "1440 图像嵌入文字描述 未验证实跑", + "1440 图像嵌入文字描述 未检查", + "1440 图像嵌入文字描述停用/时间戳空", + "1440 图像嵌入文字描述参数全保留", + "1440 图像嵌入文字描述默认无溢出", + "1440 图像嵌入文字描述旧图归还焦点", + "390 图像4种添加水印节点默认中文用途", + "390 图像4种添加水印节点源审校默认折叠", + "390 图像4种添加水印节点技术范围默认折叠", + "390 图像4种添加水印节点默认无执行计数/实现标识", + "390 图像4种添加水印节点默认依据限制可见", + "390 图像4种添加水印节点 说明未定稿", + "390 图像4种添加水印节点 未验证实跑", + "390 图像4种添加水印节点 未检查", + "390 图像4种添加水印节点停用/时间戳空", + "390 图像4种添加水印节点参数全保留", + "390 图像4种添加水印节点默认无溢出", + "390 图像4种添加水印节点原用途/源路径展开保留", + "390 图像4种添加水印节点展开流程 0", + "390 图像4种添加水印节点展开流程 1", + "390 图像4种添加水印节点展开流程 2", + "390 图像4种添加水印节点展开流程 3", + "390 图像4种添加水印节点展开流程 4", + "390 图像4种添加水印节点展开流程 5", + "390 图像4种添加水印节点展开流程 6", + "390 图像4种添加水印节点展开流程 7", + "390 图像4种添加水印节点展开流程 8", + "390 图像4种添加水印节点展开流程 9", + "390 图像4种添加水印节点展开流程 10", + "390 图像4种添加水印节点展开流程 11", + "390 图像4种添加水印节点展开流程 12", + "390 图像4种添加水印节点展开流程 13", + "390 图像4种添加水印节点展开流程 14", + "390 图像4种添加水印节点展开流程 15", + "390 图像4种添加水印节点展开流程 16", + "390 图像4种添加水印节点展开流程 17", + "390 图像4种添加水印节点展开流程 18", + "390 图像4种添加水印节点展开流程 19", + "390 图像4种添加水印节点展开流程 20", + "390 图像4种添加水印节点展开流程 21", + "390 图像4种添加水印节点展开流程 22", + "390 图像4种添加水印节点展开流程 23", + "390 图像4种添加水印节点展开流程 24", + "390 图像4种添加水印节点展开流程 25", + "390 图像4种添加水印节点展开流程 26", + "390 图像4种添加水印节点展开流程 27", + "390 图像4种添加水印节点展开流程 28", + "390 图像4种添加水印节点展开流程 29", + "390 图像4种添加水印节点展开流程 30", + "390 图像4种添加水印节点展开流程 31", + "390 图像4种添加水印节点展开流程 32", + "390 图像4种添加水印节点展开流程 33", + "390 图像4种添加水印节点展开流程 34", + "390 图像4种添加水印节点展开流程 35", + "390 图像4种添加水印节点展开流程 36", + "390 图像4种添加水印节点展开流程 37", + "390 图像4种添加水印节点展开流程 38", + "390 图像4种添加水印节点展开流程 39", + "390 图像4种添加水印节点展开流程 40", + "390 图像4种添加水印节点展开流程 41", + "390 图像4种添加水印节点展开流程 42", + "390 图像4种添加水印节点展开流程 43", + "390 图像4种添加水印节点展开流程 44", + "390 图像4种添加水印节点原件摘要可展开", + "390 图像4种添加水印节点版本 0", + "390 图像4种添加水印节点版本 1", + "390 图像4种添加水印节点版本 2", + "390 图像4种添加水印节点版本 3", + "390 图像4种添加水印节点版本 4", + "390 图像4种添加水印节点版本 5", + "390 图像4种添加水印节点版本 6", + "390 5.image键盘展开", + "390 5.image用途/单位/范围/来源条件", + "390 5.image精确保留现值", + "390 5.image指针默认折叠", + "390 5.image精确源码/类型/指针", + "390 5.image展开无溢出", + "390 5.upload键盘展开", + "390 5.upload用途/单位/范围/来源条件", + "390 5.upload精确保留现值", + "390 5.upload指针默认折叠", + "390 5.upload精确源码/类型/指针", + "390 5.upload展开无溢出", + "390 6.image键盘展开", + "390 6.image用途/单位/范围/来源条件", + "390 6.image精确保留现值", + "390 6.image指针默认折叠", + "390 6.image精确源码/类型/指针", + "390 6.image展开无溢出", + "390 6.upload键盘展开", + "390 6.upload用途/单位/范围/来源条件", + "390 6.upload精确保留现值", + "390 6.upload指针默认折叠", + "390 6.upload精确源码/类型/指针", + "390 6.upload展开无溢出", + "390 10.image键盘展开", + "390 10.image用途/单位/范围/来源条件", + "390 10.image精确保留现值", + "390 10.image指针默认折叠", + "390 10.image精确源码/类型/指针", + "390 10.image展开无溢出", + "390 10.upload键盘展开", + "390 10.upload用途/单位/范围/来源条件", + "390 10.upload精确保留现值", + "390 10.upload指针默认折叠", + "390 10.upload精确源码/类型/指针", + "390 10.upload展开无溢出", + "390 3.text键盘展开", + "390 3.text用途/单位/范围/来源条件", + "390 3.text精确保留现值", + "390 3.text指针默认折叠", + "390 3.text精确源码/类型/指针", + "390 3.text展开无溢出", + "390 3.align键盘展开", + "390 3.align用途/单位/范围/来源条件", + "390 3.align精确保留现值", + "390 3.align指针默认折叠", + "390 3.align精确源码/类型/指针", + "390 3.align展开无溢出", + "390 3.opacity键盘展开", + "390 3.opacity用途/单位/范围/来源条件", + "390 3.opacity精确保留现值", + "390 3.opacity指针默认折叠", + "390 3.opacity精确源码/类型/指针", + "390 3.opacity展开无溢出", + "390 3.font_name键盘展开", + "390 3.font_name用途/单位/范围/来源条件", + "390 3.font_name精确保留现值", + "390 3.font_name指针默认折叠", + "390 3.font_name精确源码/类型/指针", + "390 3.font_name展开无溢出", + "390 3.font_size键盘展开", + "390 3.font_size用途/单位/范围/来源条件", + "390 3.font_size精确保留现值", + "390 3.font_size指针默认折叠", + "390 3.font_size精确源码/类型/指针", + "390 3.font_size展开无溢出", + "390 3.font_color键盘展开", + "390 3.font_color用途/单位/范围/来源条件", + "390 3.font_color精确保留现值", + "390 3.font_color指针默认折叠", + "390 3.font_color精确源码/类型/指针", + "390 3.font_color展开无溢出", + "390 3.x_margin键盘展开", + "390 3.x_margin用途/单位/范围/来源条件", + "390 3.x_margin精确保留现值", + "390 3.x_margin指针默认折叠", + "390 3.x_margin精确源码/类型/指针", + "390 3.x_margin展开无溢出", + "390 3.y_margin键盘展开", + "390 3.y_margin用途/单位/范围/来源条件", + "390 3.y_margin精确保留现值", + "390 3.y_margin指针默认折叠", + "390 3.y_margin精确源码/类型/指针", + "390 3.y_margin展开无溢出", + "390 3.font_color_hex键盘展开", + "390 3.font_color_hex用途/单位/范围/来源条件", + "390 3.font_color_hex精确保留现值", + "390 3.font_color_hex指针默认折叠", + "390 3.font_color_hex精确源码/类型/指针", + "390 3.font_color_hex展开无溢出", + "390 2.水印文本键盘展开", + "390 2.水印文本用途/单位/范围/来源条件", + "390 2.水印文本精确保留现值", + "390 2.水印文本指针默认折叠", + "390 2.水印文本精确源码/类型/指针", + "390 2.水印文本展开无溢出", + "390 2.字体键盘展开", + "390 2.字体用途/单位/范围/来源条件", + "390 2.字体精确保留现值", + "390 2.字体指针默认折叠", + "390 2.字体精确源码/类型/指针", + "390 2.字体展开无溢出", + "390 2.水印大小百分比键盘展开", + "390 2.水印大小百分比用途/单位/范围/来源条件", + "390 2.水印大小百分比精确保留现值", + "390 2.水印大小百分比指针默认折叠", + "390 2.水印大小百分比精确源码/类型/指针", + "390 2.水印大小百分比展开无溢出", + "390 2.水印不透明度键盘展开", + "390 2.水印不透明度用途/单位/范围/来源条件", + "390 2.水印不透明度精确保留现值", + "390 2.水印不透明度指针默认折叠", + "390 2.水印不透明度精确源码/类型/指针", + "390 2.水印不透明度展开无溢出", + "390 2.水平位置键盘展开", + "390 2.水平位置用途/单位/范围/来源条件", + "390 2.水平位置精确保留现值", + "390 2.水平位置指针默认折叠", + "390 2.水平位置精确源码/类型/指针", + "390 2.水平位置展开无溢出", + "390 2.垂直位置键盘展开", + "390 2.垂直位置用途/单位/范围/来源条件", + "390 2.垂直位置精确保留现值", + "390 2.垂直位置指针默认折叠", + "390 2.垂直位置精确源码/类型/指针", + "390 2.垂直位置展开无溢出", + "390 2.X偏移百分比键盘展开", + "390 2.X偏移百分比用途/单位/范围/来源条件", + "390 2.X偏移百分比精确保留现值", + "390 2.X偏移百分比指针默认折叠", + "390 2.X偏移百分比精确源码/类型/指针", + "390 2.X偏移百分比展开无溢出", + "390 2.Y偏移百分比键盘展开", + "390 2.Y偏移百分比用途/单位/范围/来源条件", + "390 2.Y偏移百分比精确保留现值", + "390 2.Y偏移百分比指针默认折叠", + "390 2.Y偏移百分比精确源码/类型/指针", + "390 2.Y偏移百分比展开无溢出", + "390 2.文字颜色键盘展开", + "390 2.文字颜色用途/单位/范围/来源条件", + "390 2.文字颜色精确保留现值", + "390 2.文字颜色指针默认折叠", + "390 2.文字颜色精确源码/类型/指针", + "390 2.文字颜色展开无溢出", + "390 2.水印平铺键盘展开", + "390 2.水印平铺用途/单位/范围/来源条件", + "390 2.水印平铺精确保留现值", + "390 2.水印平铺指针默认折叠", + "390 2.水印平铺精确源码/类型/指针", + "390 2.水印平铺展开无溢出", + "390 2.水印角度键盘展开", + "390 2.水印角度用途/单位/范围/来源条件", + "390 2.水印角度精确保留现值", + "390 2.水印角度指针默认折叠", + "390 2.水印角度精确源码/类型/指针", + "390 2.水印角度展开无溢出", + "390 2.水印间距键盘展开", + "390 2.水印间距用途/单位/范围/来源条件", + "390 2.水印间距精确保留现值", + "390 2.水印间距指针默认折叠", + "390 2.水印间距精确源码/类型/指针", + "390 2.水印间距展开无溢出", + "390 2.输出透明通道键盘展开", + "390 2.输出透明通道用途/单位/范围/来源条件", + "390 2.输出透明通道精确保留现值", + "390 2.输出透明通道指针默认折叠", + "390 2.输出透明通道精确源码/类型/指针", + "390 2.输出透明通道展开无溢出", + "390 20.layout键盘展开", + "390 20.layout用途/单位/范围/来源条件", + "390 20.layout精确保留现值", + "390 20.layout指针默认折叠", + "390 20.layout精确源码/类型/指针", + "390 20.layout展开无溢出", + "390 20.restore_preset键盘展开", + "390 20.restore_preset用途/单位/范围/来源条件", + "390 20.restore_preset精确保留现值", + "390 20.restore_preset指针默认折叠", + "390 20.restore_preset精确源码/类型/指针", + "390 20.restore_preset展开无溢出", + "390 20.randomize_style键盘展开", + "390 20.randomize_style用途/单位/范围/来源条件", + "390 20.randomize_style精确保留现值", + "390 20.randomize_style指针默认折叠", + "390 20.randomize_style精确源码/类型/指针", + "390 20.randomize_style展开无溢出", + "390 20.random_style_selection键盘展开", + "390 20.random_style_selection用途/单位/范围/来源条件", + "390 20.random_style_selection精确保留现值", + "390 20.random_style_selection指针默认折叠", + "390 20.random_style_selection精确源码/类型/指针", + "390 20.random_style_selection展开无溢出", + "390 20.seed键盘展开", + "390 20.seed用途/单位/范围/来源条件", + "390 20.seed精确保留现值", + "390 20.seed指针默认折叠", + "390 20.seed精确源码/类型/指针", + "390 20.seed展开无溢出", + "390 20.control_after_generate键盘展开", + "390 20.control_after_generate用途/单位/范围/来源条件", + "390 20.control_after_generate精确保留现值", + "390 20.control_after_generate指针默认折叠", + "390 20.control_after_generate精确源码/类型/指针", + "390 20.control_after_generate展开无溢出", + "390 20.use_exif键盘展开", + "390 20.use_exif用途/单位/范围/来源条件", + "390 20.use_exif精确保留现值", + "390 20.use_exif指针默认折叠", + "390 20.use_exif精确源码/类型/指针", + "390 20.use_exif展开无溢出", + "390 20.block_a_text_1键盘展开", + "390 20.block_a_text_1用途/单位/范围/来源条件", + "390 20.block_a_text_1精确保留现值", + "390 20.block_a_text_1指针默认折叠", + "390 20.block_a_text_1精确源码/类型/指针", + "390 20.block_a_text_1展开无溢出", + "390 20.block_a_text_2键盘展开", + "390 20.block_a_text_2用途/单位/范围/来源条件", + "390 20.block_a_text_2精确保留现值", + "390 20.block_a_text_2指针默认折叠", + "390 20.block_a_text_2精确源码/类型/指针", + "390 20.block_a_text_2展开无溢出", + "390 20.block_a_text_3键盘展开", + "390 20.block_a_text_3用途/单位/范围/来源条件", + "390 20.block_a_text_3精确保留现值", + "390 20.block_a_text_3指针默认折叠", + "390 20.block_a_text_3精确源码/类型/指针", + "390 20.block_a_text_3展开无溢出", + "390 20.block_b_text_1键盘展开", + "390 20.block_b_text_1用途/单位/范围/来源条件", + "390 20.block_b_text_1精确保留现值", + "390 20.block_b_text_1指针默认折叠", + "390 20.block_b_text_1精确源码/类型/指针", + "390 20.block_b_text_1展开无溢出", + "390 20.block_b_text_2键盘展开", + "390 20.block_b_text_2用途/单位/范围/来源条件", + "390 20.block_b_text_2精确保留现值", + "390 20.block_b_text_2指针默认折叠", + "390 20.block_b_text_2精确源码/类型/指针", + "390 20.block_b_text_2展开无溢出", + "390 20.block_b_text_3键盘展开", + "390 20.block_b_text_3用途/单位/范围/来源条件", + "390 20.block_b_text_3精确保留现值", + "390 20.block_b_text_3指针默认折叠", + "390 20.block_b_text_3精确源码/类型/指针", + "390 20.block_b_text_3展开无溢出", + "390 20.logo键盘展开", + "390 20.logo用途/单位/范围/来源条件", + "390 20.logo精确保留现值", + "390 20.logo指针默认折叠", + "390 20.logo精确源码/类型/指针", + "390 20.logo展开无溢出", + "390 20.logo_size_ratio键盘展开", + "390 20.logo_size_ratio用途/单位/范围/来源条件", + "390 20.logo_size_ratio精确保留现值", + "390 20.logo_size_ratio指针默认折叠", + "390 20.logo_size_ratio精确源码/类型/指针", + "390 20.logo_size_ratio展开无溢出", + "390 20.bar_size键盘展开", + "390 20.bar_size用途/单位/范围/来源条件", + "390 20.bar_size精确保留现值", + "390 20.bar_size指针默认折叠", + "390 20.bar_size精确源码/类型/指针", + "390 20.bar_size展开无溢出", + "390 20.bar_width键盘展开", + "390 20.bar_width用途/单位/范围/来源条件", + "390 20.bar_width精确保留现值", + "390 20.bar_width指针默认折叠", + "390 20.bar_width精确源码/类型/指针", + "390 20.bar_width展开无溢出", + "390 20.bar_height键盘展开", + "390 20.bar_height用途/单位/范围/来源条件", + "390 20.bar_height精确保留现值", + "390 20.bar_height指针默认折叠", + "390 20.bar_height精确源码/类型/指针", + "390 20.bar_height展开无溢出", + "390 20.padding键盘展开", + "390 20.padding用途/单位/范围/来源条件", + "390 20.padding精确保留现值", + "390 20.padding指针默认折叠", + "390 20.padding精确源码/类型/指针", + "390 20.padding展开无溢出", + "390 20.spacing键盘展开", + "390 20.spacing用途/单位/范围/来源条件", + "390 20.spacing精确保留现值", + "390 20.spacing指针默认折叠", + "390 20.spacing精确源码/类型/指针", + "390 20.spacing展开无溢出", + "390 20.font_name键盘展开", + "390 20.font_name用途/单位/范围/来源条件", + "390 20.font_name精确保留现值", + "390 20.font_name指针默认折叠", + "390 20.font_name精确源码/类型/指针", + "390 20.font_name展开无溢出", + "390 20.font_bold_name键盘展开", + "390 20.font_bold_name用途/单位/范围/来源条件", + "390 20.font_bold_name精确保留现值", + "390 20.font_bold_name指针默认折叠", + "390 20.font_bold_name精确源码/类型/指针", + "390 20.font_bold_name展开无溢出", + "390 20.font_size_large键盘展开", + "390 20.font_size_large用途/单位/范围/来源条件", + "390 20.font_size_large精确保留现值", + "390 20.font_size_large指针默认折叠", + "390 20.font_size_large精确源码/类型/指针", + "390 20.font_size_large展开无溢出", + "390 20.font_size_medium键盘展开", + "390 20.font_size_medium用途/单位/范围/来源条件", + "390 20.font_size_medium精确保留现值", + "390 20.font_size_medium指针默认折叠", + "390 20.font_size_medium精确源码/类型/指针", + "390 20.font_size_medium展开无溢出", + "390 20.font_size_small键盘展开", + "390 20.font_size_small用途/单位/范围/来源条件", + "390 20.font_size_small精确保留现值", + "390 20.font_size_small指针默认折叠", + "390 20.font_size_small精确源码/类型/指针", + "390 20.font_size_small展开无溢出", + "390 20.bg_color键盘展开", + "390 20.bg_color用途/单位/范围/来源条件", + "390 20.bg_color精确保留现值", + "390 20.bg_color指针默认折叠", + "390 20.bg_color精确源码/类型/指针", + "390 20.bg_color展开无溢出", + "390 20.title_color键盘展开", + "390 20.title_color用途/单位/范围/来源条件", + "390 20.title_color精确保留现值", + "390 20.title_color指针默认折叠", + "390 20.title_color精确源码/类型/指针", + "390 20.title_color展开无溢出", + "390 20.subtitle_color键盘展开", + "390 20.subtitle_color用途/单位/范围/来源条件", + "390 20.subtitle_color精确保留现值", + "390 20.subtitle_color指针默认折叠", + "390 20.subtitle_color精确源码/类型/指针", + "390 20.subtitle_color展开无溢出", + "390Tab焦点保留", + "390ShiftTab焦点保留", + "390 图像4种添加水印节点关闭归还焦点", + "390 birefnet_图像移除背景默认中文用途", + "390 birefnet_图像移除背景源审校默认折叠", + "390 birefnet_图像移除背景技术范围默认折叠", + "390 birefnet_图像移除背景默认无执行计数/实现标识", + "390 birefnet_图像移除背景默认依据限制可见", + "390 birefnet_图像移除背景 说明未定稿", + "390 birefnet_图像移除背景 未验证实跑", + "390 birefnet_图像移除背景 未检查", + "390 birefnet_图像移除背景停用/时间戳空", + "390 birefnet_图像移除背景参数全保留", + "390 birefnet_图像移除背景默认无溢出", + "390 birefnet_图像移除背景旧图归还焦点", + "390 加载本地latent解码默认中文用途", + "390 加载本地latent解码源审校默认折叠", + "390 加载本地latent解码技术范围默认折叠", + "390 加载本地latent解码默认无执行计数/实现标识", + "390 加载本地latent解码默认依据限制可见", + "390 加载本地latent解码 说明未定稿", + "390 加载本地latent解码 未验证实跑", + "390 加载本地latent解码 未检查", + "390 加载本地latent解码停用/时间戳空", + "390 加载本地latent解码参数全保留", + "390 加载本地latent解码默认无溢出", + "390 加载本地latent解码旧图归还焦点", + "390 截取视频每一帧默认中文用途", + "390 截取视频每一帧源审校默认折叠", + "390 截取视频每一帧技术范围默认折叠", + "390 截取视频每一帧默认无执行计数/实现标识", + "390 截取视频每一帧默认依据限制可见", + "390 截取视频每一帧 说明未定稿", + "390 截取视频每一帧 未验证实跑", + "390 截取视频每一帧 未检查", + "390 截取视频每一帧停用/时间戳空", + "390 截取视频每一帧参数全保留", + "390 截取视频每一帧默认无溢出", + "390 截取视频每一帧旧图归还焦点", + "390 双图像或视频合并显示默认中文用途", + "390 双图像或视频合并显示源审校默认折叠", + "390 双图像或视频合并显示技术范围默认折叠", + "390 双图像或视频合并显示默认无执行计数/实现标识", + "390 双图像或视频合并显示默认依据限制可见", + "390 双图像或视频合并显示 说明未定稿", + "390 双图像或视频合并显示 未验证实跑", + "390 双图像或视频合并显示 未检查", + "390 双图像或视频合并显示停用/时间戳空", + "390 双图像或视频合并显示参数全保留", + "390 双图像或视频合并显示默认无溢出", + "390 双图像或视频合并显示旧图归还焦点", + "390 视频转gif动图图片默认中文用途", + "390 视频转gif动图图片源审校默认折叠", + "390 视频转gif动图图片技术范围默认折叠", + "390 视频转gif动图图片默认无执行计数/实现标识", + "390 视频转gif动图图片默认依据限制可见", + "390 视频转gif动图图片 说明未定稿", + "390 视频转gif动图图片 未验证实跑", + "390 视频转gif动图图片 未检查", + "390 视频转gif动图图片停用/时间戳空", + "390 视频转gif动图图片参数全保留", + "390 视频转gif动图图片默认无溢出", + "390 视频转gif动图图片旧图归还焦点", + "390 加载图片合成视频默认中文用途", + "390 加载图片合成视频源审校默认折叠", + "390 加载图片合成视频技术范围默认折叠", + "390 加载图片合成视频默认无执行计数/实现标识", + "390 加载图片合成视频默认依据限制可见", + "390 加载图片合成视频 说明未定稿", + "390 加载图片合成视频 未验证实跑", + "390 加载图片合成视频 未检查", + "390 加载图片合成视频停用/时间戳空", + "390 加载图片合成视频参数全保留", + "390 加载图片合成视频默认无溢出", + "390 加载图片合成视频旧图归还焦点", + "390 视频倒放默认中文用途", + "390 视频倒放源审校默认折叠", + "390 视频倒放技术范围默认折叠", + "390 视频倒放默认无执行计数/实现标识", + "390 视频倒放默认依据限制可见", + "390 视频倒放 说明未定稿", + "390 视频倒放 未验证实跑", + "390 视频倒放 未检查", + "390 视频倒放停用/时间戳空", + "390 视频倒放参数全保留", + "390 视频倒放默认无溢出", + "390 视频倒放旧图归还焦点", + "390 NLF_视频人物动作骨架获取默认中文用途", + "390 NLF_视频人物动作骨架获取源审校默认折叠", + "390 NLF_视频人物动作骨架获取技术范围默认折叠", + "390 NLF_视频人物动作骨架获取默认无执行计数/实现标识", + "390 NLF_视频人物动作骨架获取默认依据限制可见", + "390 NLF_视频人物动作骨架获取 说明未定稿", + "390 NLF_视频人物动作骨架获取 未验证实跑", + "390 NLF_视频人物动作骨架获取 未检查", + "390 NLF_视频人物动作骨架获取停用/时间戳空", + "390 NLF_视频人物动作骨架获取参数全保留", + "390 NLF_视频人物动作骨架获取默认无溢出", + "390 NLF_视频人物动作骨架获取旧图归还焦点", + "390 openpose-video-姿态检测默认中文用途", + "390 openpose-video-姿态检测源审校默认折叠", + "390 openpose-video-姿态检测技术范围默认折叠", + "390 openpose-video-姿态检测默认无执行计数/实现标识", + "390 openpose-video-姿态检测默认依据限制可见", + "390 openpose-video-姿态检测 说明未定稿", + "390 openpose-video-姿态检测 未验证实跑", + "390 openpose-video-姿态检测 未检查", + "390 openpose-video-姿态检测停用/时间戳空", + "390 openpose-video-姿态检测参数全保留", + "390 openpose-video-姿态检测默认无溢出", + "390 openpose-video-姿态检测旧图归还焦点", + "390 sdpose_视频人物姿势骨架提取默认中文用途", + "390 sdpose_视频人物姿势骨架提取源审校默认折叠", + "390 sdpose_视频人物姿势骨架提取技术范围默认折叠", + "390 sdpose_视频人物姿势骨架提取默认无执行计数/实现标识", + "390 sdpose_视频人物姿势骨架提取默认依据限制可见", + "390 sdpose_视频人物姿势骨架提取 说明未定稿", + "390 sdpose_视频人物姿势骨架提取 未验证实跑", + "390 sdpose_视频人物姿势骨架提取 未检查", + "390 sdpose_视频人物姿势骨架提取停用/时间戳空", + "390 sdpose_视频人物姿势骨架提取参数全保留", + "390 sdpose_视频人物姿势骨架提取默认无溢出", + "390 sdpose_视频人物姿势骨架提取旧图归还焦点", + "390 gemma4_提示词反推(图像视频音频)默认中文用途", + "390 gemma4_提示词反推(图像视频音频)源审校默认折叠", + "390 gemma4_提示词反推(图像视频音频)技术范围默认折叠", + "390 gemma4_提示词反推(图像视频音频)默认无执行计数/实现标识", + "390 gemma4_提示词反推(图像视频音频)默认依据限制可见", + "390 gemma4_提示词反推(图像视频音频) 说明未定稿", + "390 gemma4_提示词反推(图像视频音频) 未验证实跑", + "390 gemma4_提示词反推(图像视频音频) 未检查", + "390 gemma4_提示词反推(图像视频音频)停用/时间戳空", + "390 gemma4_提示词反推(图像视频音频)参数全保留", + "390 gemma4_提示词反推(图像视频音频)默认无溢出", + "390 gemma4_提示词反推(图像视频音频)旧图归还焦点", + "390 图像合并成四宫格默认中文用途", + "390 图像合并成四宫格源审校默认折叠", + "390 图像合并成四宫格技术范围默认折叠", + "390 图像合并成四宫格默认无执行计数/实现标识", + "390 图像合并成四宫格默认依据限制可见", + "390 图像合并成四宫格 说明未定稿", + "390 图像合并成四宫格 未验证实跑", + "390 图像合并成四宫格 未检查", + "390 图像合并成四宫格停用/时间戳空", + "390 图像合并成四宫格参数全保留", + "390 图像合并成四宫格默认无溢出", + "390 图像合并成四宫格旧图归还焦点", + "390 图像分割-多宫格分割默认中文用途", + "390 图像分割-多宫格分割源审校默认折叠", + "390 图像分割-多宫格分割技术范围默认折叠", + "390 图像分割-多宫格分割默认无执行计数/实现标识", + "390 图像分割-多宫格分割默认依据限制可见", + "390 图像分割-多宫格分割 说明未定稿", + "390 图像分割-多宫格分割 未验证实跑", + "390 图像分割-多宫格分割 未检查", + "390 图像分割-多宫格分割停用/时间戳空", + "390 图像分割-多宫格分割参数全保留", + "390 图像分割-多宫格分割默认无溢出", + "390 图像分割-多宫格分割旧图归还焦点", + "390 Qwen_image2.1_图像编辑_背景移除默认中文用途", + "390 Qwen_image2.1_图像编辑_背景移除源审校默认折叠", + "390 Qwen_image2.1_图像编辑_背景移除技术范围默认折叠", + "390 Qwen_image2.1_图像编辑_背景移除默认无执行计数/实现标识", + "390 Qwen_image2.1_图像编辑_背景移除默认依据限制可见", + "390 Qwen_image2.1_图像编辑_背景移除 说明未定稿", + "390 Qwen_image2.1_图像编辑_背景移除 未验证实跑", + "390 Qwen_image2.1_图像编辑_背景移除 未检查", + "390 Qwen_image2.1_图像编辑_背景移除停用/时间戳空", + "390 Qwen_image2.1_图像编辑_背景移除参数全保留", + "390 Qwen_image2.1_图像编辑_背景移除默认无溢出", + "390 Qwen_image2.1_图像编辑_背景移除旧图归还焦点", + "390 Qwen_image2.1_图像编辑_提示词增强默认中文用途", + "390 Qwen_image2.1_图像编辑_提示词增强源审校默认折叠", + "390 Qwen_image2.1_图像编辑_提示词增强技术范围默认折叠", + "390 Qwen_image2.1_图像编辑_提示词增强默认无执行计数/实现标识", + "390 Qwen_image2.1_图像编辑_提示词增强默认依据限制可见", + "390 Qwen_image2.1_图像编辑_提示词增强 说明未定稿", + "390 Qwen_image2.1_图像编辑_提示词增强 未验证实跑", + "390 Qwen_image2.1_图像编辑_提示词增强 未检查", + "390 Qwen_image2.1_图像编辑_提示词增强停用/时间戳空", + "390 Qwen_image2.1_图像编辑_提示词增强参数全保留", + "390 Qwen_image2.1_图像编辑_提示词增强默认无溢出", + "390 Qwen_image2.1_图像编辑_提示词增强旧图归还焦点", + "390 Qwen_image2.1_文生图_提示词增强默认中文用途", + "390 Qwen_image2.1_文生图_提示词增强源审校默认折叠", + "390 Qwen_image2.1_文生图_提示词增强技术范围默认折叠", + "390 Qwen_image2.1_文生图_提示词增强默认无执行计数/实现标识", + "390 Qwen_image2.1_文生图_提示词增强默认依据限制可见", + "390 Qwen_image2.1_文生图_提示词增强 说明未定稿", + "390 Qwen_image2.1_文生图_提示词增强 未验证实跑", + "390 Qwen_image2.1_文生图_提示词增强 未检查", + "390 Qwen_image2.1_文生图_提示词增强停用/时间戳空", + "390 Qwen_image2.1_文生图_提示词增强参数全保留", + "390 Qwen_image2.1_文生图_提示词增强默认无溢出", + "390 Qwen_image2.1_文生图_提示词增强旧图归还焦点", + "390 ControlNet_aux_常用样例默认中文用途", + "390 ControlNet_aux_常用样例源审校默认折叠", + "390 ControlNet_aux_常用样例技术范围默认折叠", + "390 ControlNet_aux_常用样例默认无执行计数/实现标识", + "390 ControlNet_aux_常用样例默认依据限制可见", + "390 ControlNet_aux_常用样例 说明未定稿", + "390 ControlNet_aux_常用样例 未验证实跑", + "390 ControlNet_aux_常用样例 未检查", + "390 ControlNet_aux_常用样例停用/时间戳空", + "390 ControlNet_aux_常用样例参数全保留", + "390 ControlNet_aux_常用样例默认无溢出", + "390 ControlNet_aux_常用样例旧图归还焦点", + "390 Qwen3-ASR-语音转文字默认中文用途", + "390 Qwen3-ASR-语音转文字源审校默认折叠", + "390 Qwen3-ASR-语音转文字技术范围默认折叠", + "390 Qwen3-ASR-语音转文字默认无执行计数/实现标识", + "390 Qwen3-ASR-语音转文字默认依据限制可见", + "390 Qwen3-ASR-语音转文字 说明未定稿", + "390 Qwen3-ASR-语音转文字 未验证实跑", + "390 Qwen3-ASR-语音转文字 未检查", + "390 Qwen3-ASR-语音转文字停用/时间戳空", + "390 Qwen3-ASR-语音转文字参数全保留", + "390 Qwen3-ASR-语音转文字默认无溢出", + "390 Qwen3-ASR-语音转文字旧图归还焦点", + "390 Qwen3-ASR-Subtitle语音转字幕默认中文用途", + "390 Qwen3-ASR-Subtitle语音转字幕源审校默认折叠", + "390 Qwen3-ASR-Subtitle语音转字幕技术范围默认折叠", + "390 Qwen3-ASR-Subtitle语音转字幕默认无执行计数/实现标识", + "390 Qwen3-ASR-Subtitle语音转字幕默认依据限制可见", + "390 Qwen3-ASR-Subtitle语音转字幕 说明未定稿", + "390 Qwen3-ASR-Subtitle语音转字幕 未验证实跑", + "390 Qwen3-ASR-Subtitle语音转字幕 未检查", + "390 Qwen3-ASR-Subtitle语音转字幕停用/时间戳空", + "390 Qwen3-ASR-Subtitle语音转字幕参数全保留", + "390 Qwen3-ASR-Subtitle语音转字幕默认无溢出", + "390 Qwen3-ASR-Subtitle语音转字幕旧图归还焦点", + "390 Minimax-H3提示词增强默认中文用途", + "390 Minimax-H3提示词增强源审校默认折叠", + "390 Minimax-H3提示词增强技术范围默认折叠", + "390 Minimax-H3提示词增强默认无执行计数/实现标识", + "390 Minimax-H3提示词增强默认依据限制可见", + "390 Minimax-H3提示词增强 说明未定稿", + "390 Minimax-H3提示词增强 未验证实跑", + "390 Minimax-H3提示词增强 未检查", + "390 Minimax-H3提示词增强停用/时间戳空", + "390 Minimax-H3提示词增强参数全保留", + "390 Minimax-H3提示词增强默认无溢出", + "390 Minimax-H3提示词增强旧图归还焦点", + "390 音频转MP3格式默认中文用途", + "390 音频转MP3格式源审校默认折叠", + "390 音频转MP3格式技术范围默认折叠", + "390 音频转MP3格式默认无执行计数/实现标识", + "390 音频转MP3格式默认依据限制可见", + "390 音频转MP3格式 说明未定稿", + "390 音频转MP3格式 未验证实跑", + "390 音频转MP3格式 未检查", + "390 音频转MP3格式停用/时间戳空", + "390 音频转MP3格式参数全保留", + "390 音频转MP3格式默认无溢出", + "390 音频转MP3格式旧图归还焦点", + "390 音频人声分离默认中文用途", + "390 音频人声分离源审校默认折叠", + "390 音频人声分离技术范围默认折叠", + "390 音频人声分离默认无执行计数/实现标识", + "390 音频人声分离默认依据限制可见", + "390 音频人声分离 说明未定稿", + "390 音频人声分离 未验证实跑", + "390 音频人声分离 未检查", + "390 音频人声分离停用/时间戳空", + "390 音频人声分离参数全保留", + "390 音频人声分离默认无溢出", + "390 音频人声分离旧图归还焦点", + "390 视频-音频分离默认中文用途", + "390 视频-音频分离源审校默认折叠", + "390 视频-音频分离技术范围默认折叠", + "390 视频-音频分离默认无执行计数/实现标识", + "390 视频-音频分离默认依据限制可见", + "390 视频-音频分离 说明未定稿", + "390 视频-音频分离 未验证实跑", + "390 视频-音频分离 未检查", + "390 视频-音频分离停用/时间戳空", + "390 视频-音频分离参数全保留", + "390 视频-音频分离默认无溢出", + "390 视频-音频分离旧图归还焦点", + "390 图像嵌入文字描述默认中文用途", + "390 图像嵌入文字描述源审校默认折叠", + "390 图像嵌入文字描述技术范围默认折叠", + "390 图像嵌入文字描述默认无执行计数/实现标识", + "390 图像嵌入文字描述默认依据限制可见", + "390 图像嵌入文字描述 说明未定稿", + "390 图像嵌入文字描述 未验证实跑", + "390 图像嵌入文字描述 未检查", + "390 图像嵌入文字描述停用/时间戳空", + "390 图像嵌入文字描述参数全保留", + "390 图像嵌入文字描述默认无溢出", + "390 图像嵌入文字描述旧图归还焦点", + "旧/空说明回退 旧工作流回退(隔离测试夹具)", + "旧/空说明回退 空说明回退(隔离测试夹具)", + "缺摘要自然中文回退", + "回退不暴露undefined", + "错绑定提示明确且不展示旧字段", + "回退不暴露undefined", + "摘要HTML仅纯文本不创建图像或请求", + "回退不暴露undefined", + "迟到水印响应不覆盖旧BiRefNet摘要/3字段", + "GET失败显示重试", + "读取失败隐藏旧摘要", + "重试恢复摘要", + "无脚本错误或禁止请求 []", + "全程本地GET无写/生成/目标/历史预览请求" + ], + "requests": [ + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/3" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/settings" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/3" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/3" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/9" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/16" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/10" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/23" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/8" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/22" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/5" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/6" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/7" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/19" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/13" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/12" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/64" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/62" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/70" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/1" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/36" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/35" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/2" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/25" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/24" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/21" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/14" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/156" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/157" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/3" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/11" + } + ], + "errors": [], + "blockedFonts": [ + "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;600&display=swap" + ], + "viewports": [ + 1440, + 390 + ] +} \ No newline at end of file diff --git a/docs/hel-892/watermark-document-evidence/build.txt b/docs/hel-892/watermark-document-evidence/build.txt new file mode 100644 index 00000000..ae5fa5cc --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/build.txt @@ -0,0 +1,4 @@ +Building source distribution... +Building wheel from source distribution... +Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz +Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl diff --git a/docs/hel-892/watermark-document-evidence/build_definition.py b/docs/hel-892/watermark-document-evidence/build_definition.py new file mode 100644 index 00000000..4eae48df --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/build_definition.py @@ -0,0 +1,917 @@ +"Reviewed Chinese meanings bound to one graph and fixed textual sources." + +from __future__ import annotations + +import hashlib +import json +from pathlib import Path + +REPO = Path(__file__).resolve().parents[3] +OUT = Path(__file__).resolve().parent +REF = OUT.parent / "watermark-reference" +PATHS = [ + ( + "example_ComfyUI_workflows/0-基础处理:图像" + "合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.js" + "on" + ) +] + + +def canonical(value): + return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode() + + +def pointer(obj, path): + for part in path.strip("/").split("/"): + obj = obj[int(part)] if isinstance(obj, list) else obj[part] + return obj + + +def build(index=0): + raw = (REPO / PATHS[index]).read_bytes() + g = json.loads(raw) + binding = json.loads((OUT / "original-binding.json").read_bytes()) + assert hashlib.sha256(raw).hexdigest() == binding["raw_sha256"] + nodes = {n["id"]: (i, n) for i, n in enumerate(g["nodes"])} + sources = [] + pins = json.loads((REF / "pins.json").read_bytes()) + + def cite(key, file, lines, claim): + pin = pins[key] + local = REF / (key + "__" + file.replace("/", "__")) + data = local.read_bytes() + sources.append( + dict( + id=key, + repository="https://github.com/" + pin["repository"], + commit=pin["commit"], + file=file, + local_file="../watermark-reference/" + local.name, + url=f"https://raw.githubusercontent.com/{pin['repository']}/{pin['commit']}/{file}", + sha256=hashlib.sha256(data).hexdigest(), + lines=lines, + claim=claim, + ) + ) + return len(sources) - 1 + + core = cite( + "core", + "nodes.py", + [1695, 1770], + ("core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出"), + ) + preview = cite( + "core", + "nodes.py", + [1622, 1693], + "PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽", + ) + register = cite("core", "nodes.py", [2023, 2065], "LoadImage和PreviewImage旧式准确注册") + cr = cite( + "cr", + "nodes/nodes_graphics_text.py", + [356, 448], + "Comfyroll准确九字段schema、批次循环、位置、字体和合成", + ) + crcolor = cite( + "cr", + "nodes/functions_graphics.py", + [358, 377], + "只有custom使用HEX,其它颜色按color_mapping", + ) + cropacity = cite("cr", "nodes/functions_graphics.py", [421, 431], "RGBA alpha按opacity减弱") + crconfig = cite("cr", "config.py", [1, 35], "Comfyroll颜色选项与white映射") + crreg = cite( + "cr", + "node_mappings.py", + [1, len((REF / "cr__node_mappings.py").read_text().splitlines())], + "包入口引入node_mappings,CR准确类注册链", + ) + gu = cite( + "guhai", + "nodes/图像添加水印.py", + [1, 259], + "孤海准确schema、文字与图像支路、旋转/平铺、通道与注册", + ) + gure = cite( + "guhai", "__init__.py", [1, 48], "孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web" + ) + cam = cite("camera", "__init__.py", [230, 269], "Camera准确27服务端控件schema及可选exif_data") + camcontent = cite( + "camera", "__init__.py", [314, 365], "样式范围解析和EXIF外线条件、手工文案回退、logo选择" + ) + camdraw = cite( + "camera", "__init__.py", [407, 650], "随机/预设条件、1200宽动态缩放、字体、画布和logo绘制" + ) + camfonts = cite("camera", "__init__.py", [20, 121], "字体/logo动态枚举、十种版式及预设") + camfontload = cite("camera", "__init__.py", [271, 295], "tensor转换与字体缓存/加载失败回退") + camreg = cite( + "camera", + "__init__.py", + [645, len((REF / "camera____init__.py").read_text().splitlines())], + "Camera准确注册;该完整树没有JS文件,不证明宿主预设回调", + ) + # Explicit hypothetical frontend, never infer its identity from core0.25.0. + old = json.loads((OUT.parent / "birefnet-document-evidence/definition-0.json").read_bytes()) + front = [] + for e in old["sources"]: + if e["id"] == "frontend": + sources.append(e) + front.append(len(sources) - 1) + frontend_pin = dict( + repository="Comfy-Org/ComfyUI_frontend", commit="f754141537fecaae53d635d94615f588b0e39f95" + ) + seedlocal = OUT.parent / ("birefnet-reference/frontend__src__scripts__widgets.ts") + sources.append( + dict( + id="frontend-explicit-assumption", + repository="https://github.com/" + frontend_pin["repository"], + commit=frontend_pin["commit"], + file="src/scripts/widgets.ts", + local_file="../birefnet-reference/" + seedlocal.name, + url=f"https://raw.githubusercontent.com/{frontend_pin['repository']}/{frontend_pin['commit']}/src/scripts/widgets.ts", + sha256=hashlib.sha256(seedlocal.read_bytes()).hexdigest(), + lines=[82, 265], + claim="显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明", + ) + ) + seedcite = len(sources) - 1 + fields = [] + note = ( + "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后" + "端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序" + "或最终prompt;不随机求值、不执行插件。" + ) + + def add( + node, position, name, label, typ, default, unit, limits, effect, evidence, role="scalar" + ): + i, n = nodes[node] + value = n["widgets_values"][position] + fields.append( + dict( + node_id=str(node), + definition_node_id=str(node), + class_type=n["type"], + scope="root", + pointer=f"/nodes/{i}/widgets_values/{position}", + field=name, + label=label, + type=typ, + schema_default=default, + unit=unit, + limits=limits, + effect=effect, + evidence=evidence, + role=role, + execution_note=note, + value=value, + json_type=type(value).__name__, + ) + ) + + for nid, purpose in [ + (5, "四路共用底图"), + (6, "盲水印内容图"), + (10, "独立提取支路的已加印图片引用"), + ]: + add( + nid, + 0, + "image", + purpose + "引用", + "COMBO", + "动态input目录过滤图片列表,无固定默认", + "文件引用", + "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + ( + f"节点{nid}独立保存图片引用,不与其它LoadImage去重。" + "固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;" + "空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。" + "返回IMAGE与MASK;本图三个MASK槽均未接。" + "不是上传成功或真实图片可达证明。" + ), + [core, register], + ) + add( + nid, + 1, + "upload", + "图片上传控件保存状态", + "IMAGEUPLOAD(前端)", + "固定前端参考image按钮占位;非后台默认", + "前端状态", + "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + f"节点{nid}的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + [core, *front], + role="frontend_control", + ) + crrows = [ + ( + "text", + "水印文字", + "STRING", + "@ your name", + "文字", + "单行字符串", + "在每张输入图片上绘制保存的@ by Bright,不改写文本。", + ), + ( + "align", + "文字对齐", + "COMBO", + "未显式default,选项首项center", + "对齐枚举", + ("center/top left/top center/top right/bottom left/bottom center/bottom right"), + "保存center使文字边界框居中;此分支不使用x_margin或y_margin。", + ), + ( + "opacity", + "文字不透明度", + "FLOAT", + "0.30", + "比例", + "0~1,step0.01", + ( + "保存0.5使文字图层alpha经Brightness乘0.5,再Ima" + "ge.composite合成;不是保证最终视觉恰好50%。" + ), + ), + ( + "font_name", + "文字字体引用", + "COMBO", + "动态fonts目录.ttf列表,无显式default", + "字体文件引用", + "目标动态成员/字形/许可未知", + ( + "保存Caveat-VariableFont_wght.ttf。准确代码" + "ImageFont.truetype加载插件fonts下引用,无此处加" + "载异常回退;不读取或下载字体。" + ), + ), + ( + "font_size", + "文字字号", + "INT", + "50", + "Pillow字号像素", + "1~1024", + "保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。", + ), + ( + "font_color", + "文字颜色选项", + "COMBO", + "无显式default,列表首项custom", + "颜色枚举", + "准确config.COLORS列表", + ("保存white按color_mapping为(255,255,255),不会读取font_color_hex。"), + ), + ( + "x_margin", + "水平边距", + "INT", + "20", + "像素", + "-1024~1024", + "保存20在非居中左右支路参与位置;center保存态不使用它。", + ), + ( + "y_margin", + "垂直边距", + "INT", + "20", + "像素", + "-1024~1024", + "保存20在顶部/底部支路参与位置;center保存态不使用它。", + ), + ( + "font_color_hex", + "自定义文字HEX", + "STRING", + "#000000", + "RGB十六进制字符串", + "只有font_color=custom才解析;不保证任意字符串有效", + "保存#000000,但white支路不采用;不能把它说成当前黑色水印。", + ), + ] + for j, row in enumerate(crrows): + add(3, j, *row, [cr, crcolor, cropacity, crconfig, crreg]) + gurows = [ + ( + "水印文本", + "文字水印内容", + "STRING", + "水印", + "文字", + "字符串;当前无外部水印图输入", + "保存@ by Bright;可选水印图像未接,固定实现走文字支路。", + ), + ( + "字体", + "文字字体引用", + "COMBO", + "动态fonts目录,无显式default", + "字体文件引用", + ".ttf/.otf/.ttc动态成员与实际文件未知", + ( + "保存华文细黑.ttf;按插件fonts引用,truetype异常回退I" + "mageFont.load_default,不保证字形一致。" + ), + ), + ( + "水印大小百分比", + "文字大小百分比", + "INT", + "5", + "底图高度百分比", + "0~100,step1;0在schema合法不保证绘制成功", + ( + "保存15;文字字号int(原图高×15/100),不是文字宽度或图片水" + "印比例。只有外部水印图分支才按水印自身尺寸百分比缩放。" + ), + ), + ( + "水印不透明度", + "文字不透明度", + "INT", + "50", + "百分比", + "0~100,step1", + ( + "保存75;十六进制颜色解析alpha=int(255×75/100)," + "再按图层mask粘贴/alpha_composite,不能直接承诺最终" + "alpha75%。" + ), + ), + ( + "水平位置", + "水平对齐", + "COMBO", + "无显式default,首项居中", + "对齐枚举", + "居中/靠左/靠右", + "当前居中时x=(原图宽-水印宽)//2+X偏移像素。", + ), + ( + "垂直位置", + "垂直对齐", + "COMBO", + "无显式default,首项居中", + "对齐枚举", + "居中/靠上/靠下", + "当前居中时y=(原图高-水印高)//2+Y偏移像素。", + ), + ( + "X偏移百分比", + "水平偏移", + "INT", + "0", + "底图宽度百分比", + "0~50,step1", + "保存0;int(原图宽×X/100),居中向右加、靠右从右边距减。平铺分支不调用该定位。", + ), + ( + "Y偏移百分比", + "垂直偏移", + "INT", + "0", + "底图高度百分比", + "0~50,step1", + "保存0;int(原图高×Y/100),居中向下加、靠下从下边距减。平铺分支不调用该定位。", + ), + ( + "文字颜色", + "文字颜色", + "COLORCODE", + "#FFFFFF", + "RGB十六进制", + "解析前三对十六进制,非法输入不保证有效", + ( + "保存#ece4e4,固定实现解析RGB并结合不透明度形成RGBA。前端" + "COLORCODE控件恢复未证明,不靠字段名补宿主行为。" + ), + ), + ( + "水印平铺", + "平铺文字", + "BOOLEAN", + "false", + "布尔开关", + "true/false;当前false", + "false走单一水印定位;true按旋转后的文字尺寸与间距重复粘贴,本图不走该分支。", + ), + ( + "水印角度", + "文字旋转角度", + "INT", + "0", + "度", + "-90~90,step1", + ( + "保存60;旋转在平铺判断之前执行,BICUBIC且expand=Tru" + "e,所以关闭平铺仍作用于单一文字水印,不能说被忽略。" + ), + ), + ( + "水印间距", + "平铺文字间距", + "INT", + "10", + "底图高度百分比", + "0~50,step1;仅平铺文字分支", + ( + "保存22;只有平铺true才算int(原图高×22/100)作为行列间" + "距。当前false不作用,不是22像素。" + ), + ), + ( + "输出透明通道", + "保留输出透明通道", + "BOOLEAN", + "false", + "布尔开关", + "true/false", + "当前false把RGBA结果转RGB再转tensor;true只是保留结果通道,不等于自动移除底图背景。", + ), + ] + for j, row in enumerate(gurows): + add(2, j, *row, [gu, gure]) + camrows = [ + ( + "layout", + "相机水印版式", + "COMBO", + "无显式default,首项1. 底部留白 - 左右分布", + "版式枚举", + "固定LAYOUT_OPTIONS十项", + ( + "保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_wid" + "th/bar_height不参与此版式。" + ), + ), + ( + "restore_preset", + "恢复当前版式预设", + "BOOLEAN", + "false", + "布尔开关", + "true/false", + ( + "false不以LAYOUT_PRESETS覆写保存参数。固定实现tru" + "e时在随机版式选择后params.update预设;真实宿主回调/恢复" + "未知。" + ), + ), + ( + "randomize_style", + "随机相机版式", + "BOOLEAN", + "false", + "布尔开关", + "true/false", + ( + "false不调用random.seed/choice;保存seed不随" + "机求值。与前端seed附加randomize控件是两件事。" + ), + ), + ( + "random_style_selection", + "随机版式候选", + "STRING", + "1-10", + "编号范围字符串", + "逗号和闭区间,过滤为1~10;仅randomize_style=true", + ( + "保存1-10。固定解析允许数字/区间,非法部分跳过;无有效候选保留当前" + "版式。当前false不选择随机版式。" + ), + ), + ( + "seed", + "随机版式种子保存值", + "INT", + "0", + "整数种子", + "0~18446744073709551615;仅随机版式分支使用", + ( + "保存166434517983310;附加前端randomize位独立。" + "源未声明前端,不称最终提交seed,不运行随机。" + ), + ), + ( + "control_after_generate", + "种子附加前端控制", + "前端控制", + "源前端版本未知;不认作后台默认", + "前端状态", + "保存randomize;不是第六个后台参数", + ( + "此位置插在seed后,27个服务端控件加1前端控制共28位置;后面的u" + "se_exif不能移位成此值。固定参考前端策略也不证明本图真实恢复或最" + "终seed。" + ), + ), + ( + "use_exif", + "优先外部EXIF", + "BOOLEAN", + "true", + "布尔开关", + '须同时有exif_data非空且strip()!="{}"', + ( + "保存true但exif_data外线未接,准确代码回退六个手工文本,不" + "从IMAGE张量或图像引用自动读取EXIF。" + ), + ), + ] + # Six independently saved strings, not real camera metadata. + defaults = [ + "iPhone 15 Pro Max", + "Main Camera", + "© KARAS", + "SONY", + "24mm | f/1.8 | 1/125s | ISO 50", + "", + ] + for j, (name, default) in enumerate( + zip( + [ + "block_a_text_1", + "block_a_text_2", + "block_a_text_3", + "block_b_text_1", + "block_b_text_2", + "block_b_text_3", + ], + defaults, + ) + ): + side = "A" if j < 3 else "B" + line = j % 3 + 1 + camrows.append( + ( + name, + f"{side}区第{line}行文字", + "STRING", + json.dumps(default, ensure_ascii=False), + "文字", + "单行字符串;空字符串不绘制", + f"保存手工{side}区第{line}行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + ) + ) + camrows += [ + ( + "logo", + "相机标志引用", + "COMBO", + "存在leica时选leica,否则动态列表首项", + "logo文件引用", + "None加插件logos目录PNG名称;目标成员/许可未知", + ( + "保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明" + "边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取" + "/下载logo。" + ), + ), + ( + "logo_size_ratio", + "标志尺寸倍率", + "FLOAT", + "1.0", + "倍数", + "0.1~3.0,step0.1", + ( + "保存整数1(保留JSON int,与FLOAT默认分列);基准高=ma" + "x(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。" + "实际大小依赖布局/文字/图片。" + ), + ), + ( + "bar_size", + "信息条厚度", + "INT", + "200", + "参考像素", + "0~2048,step10", + ( + "保存200。第1版式在底部增加int(200×scale_factor" + ")高;scale_factor=min(1,图宽/1200),不是固定" + "输出200像素。" + ), + ), + ( + "bar_width", + "备用独立画布宽", + "INT", + "1894", + "参考像素", + "64~8192,step64;只在未匹配版式的else使用", + ( + "保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不" + "能因名称独立信息条就称使用bar_width。" + ), + ), + ( + "bar_height", + "备用独立画布高", + "INT", + "165", + "参考像素", + "64~8192,step64;只在未匹配版式的else使用", + "保存165;当前第1版式不使用,仅else画布按scale_factor缩放。", + ), + ( + "padding", + "版式边距", + "INT", + "50", + "参考像素", + "0~400,step1", + "保存50;int(50×scale_factor),第1版式左右组与条边缘间距,真实文字边界依赖字体。", + ), + ( + "spacing", + "文本与元素间隔", + "INT", + "15", + "参考像素", + "0~200,step1", + "保存15;int(15×scale_factor),用于文本行以及标志/文本间隔。", + ), + ( + "font_name", + "常规文字字体引用", + "COMBO", + "动态字体列表,无显式default", + "字体文件引用", + ".ttf/.ttc/.otf;实际文件和字形未知", + ( + "保存Alibaba-PuHuiTi-Bold.ttf;此名称用于med" + "ium/small,与粗体引用独立保留,即使值相同也不去重。加载失败回" + "退默认字体,不保证效果。" + ), + ), + ( + "font_bold_name", + "标题粗体字体引用", + "COMBO", + "动态bold/bd子集或完整字体列表,无显式default", + "字体文件引用", + "实际成员/字形/许可未知", + ( + "保存同名Alibaba-PuHuiTi-Bold.ttf,用于larg" + "e_bold;按名称筛选不证明真正字体粗细。不下载字体。" + ), + ), + ( + "font_size_large", + "大标题字号", + "INT", + "48", + "参考像素", + "8~200,step1", + ( + "保存48;int(48×scale_factor)传给粗体字体,两区第" + "1行使用。小图可能缩至更低,schema范围不等于实际字号范围。" + ), + ), + ( + "font_size_medium", + "中号文字字号", + "INT", + "28", + "参考像素", + "8~200,step1", + "保存28;int(28×scale_factor)传给常规字体,两区第2行使用。", + ), + ( + "font_size_small", + "小号文字字号", + "INT", + "24", + "参考像素", + "8~200,step1", + "保存24;int(24×scale_factor)传给常规字体,两区第3行使用;B3为空不绘制。", + ), + ( + "bg_color", + "信息条背景色", + "STRING", + "#FFFFFF", + "Pillow颜色字符串", + "schema无进一步限制;实际合法性未知", + "保存#FFFFFF,当前底部条画布用此背景;不代表原图背景被改白。", + ), + ( + "title_color", + "标题文字颜色", + "STRING", + "#000000", + "Pillow颜色字符串", + "schema无进一步限制", + "保存#000000,A/B区第一行文字颜色。", + ), + ( + "subtitle_color", + "副文字颜色", + "STRING", + "#888888", + "Pillow颜色字符串", + "schema无进一步限制", + "保存#888888,A/B区第二与第三行文字颜色。", + ), + ] + assert len(camrows) == 28 + for j, row in enumerate(camrows): + add( + 20, + j, + *row, + [cam, camcontent, camdraw, camfonts, camfontload, camreg, seedcite], + role="frontend_control" if j == 5 else "scalar", + ) + assert len(fields) == 56 + flow = [ + ( + "17节点、15物理边、全mode0;15实体加Reroute12/14。56顶层标量保存位" + "置=LoadImage三组各2、Camera28、CR9、孤海13。无子图、无Note;A" + "ddBlind1、Show8/16和六Preview7/9/11/13/15/17原[]零" + "位置;两个Reroute缺widgets_values键,不补成[]。" + ), + ( + "四条并行支路:底图5.IMAGE槽0经边11→Reroute12输入0,再以边13→CR3" + ".image、边14→孤海2.图像、边28→Camera20.image、边30→AddB" + "lind1.image;四种效果分别预览,不是四种叠加在同一张图。" + ), + ( + "盲水印内容图6.IMAGE槽0以边17→Reroute14,再边31→AddBlind1." + "watermark_image;1.image槽0以边4→Preview7.images," + "并边8→Show8.image;Show8.watermark_image槽0以边6→Pr" + "eview9.images。" + ), + ( + "独立提取:另载图10.IMAGE槽0以边22→Show16.image,再边23→Prev" + "iew17.images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证" + "盲水印鲁棒性。" + ), + ( + "CR3.IMAGE槽0以边10→Preview11.images;show_help ST" + "RING槽1未接,是帮助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview1" + "3.images;Camera20.IMAGE槽0以边29→Preview15.image" + "s。" + ), + ( + "孤海文字支路:外部水印图像未接;文字60度旋转在平铺判断前,false仍旋转;间距22仅平" + "铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR cente" + "r忽略20/20边距,white忽略#000000的HEX。" + ), + ( + "Camera外部exif_data未接:use_exif=true仍回退六手工字符串,不证" + "明iPhone/SONY或光圈为真实元数据。randomize_style=false与附" + "加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/" + "字号按min(1,图宽/1200)缩放;bar_width/bar_height当前不作用" + "。" + ), + ( + "三LoadImage的MASK槽1 links=null,全部未接。六Preview继承固" + "定core0.25.0 SaveImage保存逻辑但写temp PNG、返回UI imag" + "es,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。" + ), + ( + "源extra仅UE空表和坐标,没有frontendVersion。UE各节点7.8、空绑定" + "表、未知宿主布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假" + "设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。" + ), + ] + # Layer semantics inserted only after exact package text is reviewed. + layer = json.loads((OUT / "layer-editorial.json").read_bytes()) + offset = len(sources) + sources.extend(layer["sources"]) + flow.extend(layer["flow"]) + for e in g["links"]: + flow.append("源物理边:" + json.dumps(e, ensure_ascii=False)) + for n in g["nodes"]: + flow.append( + f"节点{n['id']} {n['type']} mode={n['mode']};widgets_values=" + + ( + "缺键" + if "widgets_values" not in n + else json.dumps(n["widgets_values"], ensure_ascii=False) + ) + + ";原inputs=" + + json.dumps(n.get("inputs"), ensure_ascii=False) + + ";原outputs=" + + json.dumps(n.get("outputs"), ensure_ascii=False) + + ";原properties=" + + json.dumps(n["properties"], ensure_ascii=False) + ) + zeros = [] + for n in g["nodes"]: + if n.get("widgets_values") != []: + continue + if n["type"] == "PreviewImage": + effect = ( + "原[]零位置;images输入,无执行返回槽,固定core0.25.0" + "继承写temp PNG/UI images,非永久导出。" + ) + ev = [preview, register] + else: + effect = layer["zero_effects"][n["type"]] + ev = list(range(offset, len(sources))) + zeros.append(dict(node_id=str(n["id"]), class_type=n["type"], effect=effect, evidence=ev)) + overview = ( + "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另" + "一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正" + "式保存节点,预览不等于永久导出。未实跑,转换保持关闭。" + ) + versions = [ + f"{key}准确固定{pin['requested_ref']}→{pin['commit']},只读静态文本,不证明目标安装。" + for key, pin in pins.items() + ] + versions += [ + ( + "源没有frontendVersion;显式frontend1.43.17→f7541415" + "37fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由co" + "re0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。" + ), + ( + "core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准" + "确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知" + "。" + ), + *layer["versions"], + ] + steps = [ + overview, + ( + "素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体" + "、相机字体和logo只保留引用,不读取/下载。没有模型节点。" + ), + ( + "操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图" + "片/字体/logo成员及权限;本轮不构造prompt,不调整机器。" + ), + ( + "操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水" + "印支路;不要把四个Preview误认为顺序叠加结果。" + ), + ( + "操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独" + "立提取;二者不证明鲁棒性或当前执行成功。" + ), + ( + "常见问题:white下HEX不生效、center下边距不生效符合固定C" + "R代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真" + "实文件,不能凭引用保证。" + ), + ( + "常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。r" + "andomize附加控制不是随机版式开关,不能把保存seed称最终se" + "ed。" + ), + ( + "常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效" + "果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未" + "检查。" + ), + ] + b = dict( + source_path=PATHS[index], + source_sha1=hashlib.sha1(raw).hexdigest(), + source_sha256=hashlib.sha256(raw).hexdigest(), + canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(), + notice=( + "固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和" + "实际效果未知,未实跑,转换保持关闭。" + ), + user_overview=overview, + versions=versions, + counts=dict( + saved_fields=56, + scalar_saved_positions=56, + history_objects=0, + source_nodes=17, + physical_edges=15, + source_notes=0, + linked_saved_fields=0, + frontend_only=4, + final_scalars=0, + final_prompt_constructed=False, + ), + fields=fields, + sources=sources, + comments=[], + flow=flow, + flow_evidence=list(range(len(sources))), + zero_saved_nodes=zeros, + steps=steps, + ) + for e in sources: + data = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(data).hexdigest() == e["sha256"] + assert 1 <= e["lines"][0] <= e["lines"][1] <= len(data.decode().splitlines()) + return b diff --git a/docs/hel-892/watermark-document-evidence/build_layer_editorial.py b/docs/hel-892/watermark-document-evidence/build_layer_editorial.py new file mode 100644 index 00000000..f66bd9e0 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/build_layer_editorial.py @@ -0,0 +1,110 @@ +"Review exact registry package, not an inferred Git revision." + +import hashlib +import json +from pathlib import Path + +OUT = Path(__file__).resolve().parent +REF = OUT.parent / "watermark-reference" + + +def main(): + sources = [] + + def cite(file, lines, claim): + p = REF / ("layer__" + file.replace("/", "__")) + raw = p.read_bytes() + sources.append( + dict( + id="layer-registry-2.0.38", + repository=("https://github.com/chflame163/ComfyUI_LayerStyle_Advance"), + commit="unknown", + git_commit_binding="unknown", + file=file, + local_file="../watermark-reference/" + p.name, + url=("https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip"), + sha256=hashlib.sha256(raw).hexdigest(), + lines=lines, + claim=claim, + registry_version="2.0.38", + registry_release_id="db305def-250b-448d-88b6-e43acbeb03af", + ) + ) + + for file, lines, claim in [ + ("__init__.py", [1, 49], "准确包按py/*.py合并注册"), + ("py/watermark.py", [1, 126], "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出"), + ("py/imagefunc.py", [1295, 1381], "水印尺寸公式、临时PNG、blind_watermark调用与异常回退"), + ("py/imagefunc.py", [119, 149], "PIL/tensor归一化与量化"), + ("py/imagefunc.py", [791, 805], "normalize_gray亮度拉伸"), + ("py/imagefunc.py", [1053, 1086], "YCbCr分离/通道合并"), + ("py/imagefunc.py", [1737, 1742], "RGBA恢复alpha"), + ("pyproject.toml", [1, 16], "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖"), + ( + "LICENSE", + [1, len((REF / "layer__LICENSE").read_text().splitlines())], + "准确包MIT许可全文", + ), + ]: + # Range bounded by exact file, not a nearby release. + n = len((REF / ("layer__" + file.replace("/", "__"))).read_text().splitlines()) + lines[1] = min(lines[1], n) + cite(file, lines, claim) + flow = [ + ( + "盲水印准确来源为Registry comfyui_layerstyle_advance 2" + ".0.38发行包(发布ID db305def-250b-448d-88b6-e43acbe" + "b03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,com" + "mit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读" + "取目录与必要Python/许可文本,没有下载包内图片/字体/权重。" + ), + ( + "Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_s" + "ize=int(sqrt(width×height×0.015625)×0.9),内容图缩" + "至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alp" + "ha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。" + ), + ( + "包imagefunc写临时PNG,调用blind_watermark.WaterMark(" + "password_img=1,password_wm=1),read_img/read_w" + "m后embed(compression_ratio=100)。依赖只写blind-wate" + "rmark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失" + "败分支并非已验证正常输出,未知明确保留。" + ), + ( + "Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经Water" + "Mark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸" + ",缩至512×512、再normalize_gray、转RGB tensor。extrac" + "t异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。" + ), + ] + add = ( + "原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回i" + "mage槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后" + "水印,真实依赖/尺寸/效果未知。" + ) + show = ( + "原[]零保存位置,只有image必需IMAGE输入,返回waterma" + "rk_image槽0;准确2.0.38按尺寸提取U通道水印、512方形" + "RGB结果与异常回退,不证明成功。" + ) + b = dict( + sources=sources, + flow=flow, + zero_effects={ + "LayerUtility: AddBlindWaterMark": add, + "LayerUtility: ShowBlindWaterMark": show, + }, + versions=[ + ( + "LayerStyle Advance按准确Registry2.0.38包固定,Git co" + "mmit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未" + "锁、算法内部/实际安装与鲁棒性未知。" + ) + ], + ) + (OUT / "layer-editorial.json").write_text(json.dumps(b, ensure_ascii=False, indent=2) + "\n") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/commit-identity-note.txt b/docs/hel-892/watermark-document-evidence/commit-identity-note.txt new file mode 100644 index 00000000..f88a2501 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/commit-identity-note.txt @@ -0,0 +1 @@ +本次隔离checkout无user.name/email,首次commit因此拒绝;沿用本分支与main最近提交的leefer ,仅在git -c单命令中使用,不修改全局或共享配置。 diff --git a/docs/hel-892/watermark-document-evidence/definition-0.json b/docs/hel-892/watermark-document-evidence/definition-0.json new file mode 100644 index 00000000..55264407 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/definition-0.json @@ -0,0 +1,2172 @@ +{ + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "source_sha1": "303dca71c55e659a7033b3d14d5885bc8a36ae7a", + "source_sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8", + "canonical_sha256": "2ad9c54aabf185db084a0773d0af8168ce7e5594e9d55e6959b57eb167e21c8b", + "notice": "固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和实际效果未知,未实跑,转换保持关闭。", + "user_overview": "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "versions": [ + "core准确固定v0.25.0→135abed8da169e33ab0b86550e05e3ae55d6df8c,只读静态文本,不证明目标安装。", + "camera准确固定c461dedc6ce65e1defe7308e97e7081cedcaf2a7→c461dedc6ce65e1defe7308e97e7081cedcaf2a7,只读静态文本,不证明目标安装。", + "cr准确固定d78b780ae43fcf8c6b7c6505e6ffb4584281ceca→d78b780ae43fcf8c6b7c6505e6ffb4584281ceca,只读静态文本,不证明目标安装。", + "guhai准确固定0b267384faaa9201c821c68dfa3dacd784da171d→0b267384faaa9201c821c68dfa3dacd784da171d,只读静态文本,不证明目标安装。", + "源没有frontendVersion;显式frontend1.43.17→f754141537fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。", + "core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知。", + "LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。" + ], + "counts": { + "saved_fields": 56, + "scalar_saved_positions": 56, + "history_objects": 0, + "source_nodes": 17, + "physical_edges": 15, + "source_notes": 0, + "linked_saved_fields": 0, + "frontend_only": 4, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "node_id": "5", + "definition_node_id": "5", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/2/widgets_values/0", + "field": "image", + "label": "四路共用底图引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点5独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "ComfyUI_Qwen_00051_.png", + "json_type": "str" + }, + { + "node_id": "5", + "definition_node_id": "5", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/2/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点5的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "6", + "definition_node_id": "6", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/3/widgets_values/0", + "field": "image", + "label": "盲水印内容图引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点6独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1772086821573.png", + "json_type": "str" + }, + { + "node_id": "6", + "definition_node_id": "6", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/3/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点6的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "10", + "definition_node_id": "10", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/7/widgets_values/0", + "field": "image", + "label": "独立提取支路的已加印图片引用引用", + "type": "COMBO", + "schema_default": "动态input目录过滤图片列表,无固定默认", + "unit": "文件引用", + "limits": "成员、文件/尺寸/格式和权限未知;本轮不读取图片", + "effect": "节点10独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + "evidence": [ + 0, + 2 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "ComfyUI_temp_pkyyb_00001_.png", + "json_type": "str" + }, + { + "node_id": "10", + "definition_node_id": "10", + "class_type": "LoadImage", + "scope": "root", + "pointer": "/nodes/7/widgets_values/1", + "field": "upload", + "label": "图片上传控件保存状态", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "固定前端参考image按钮占位;非后台默认", + "unit": "前端状态", + "limits": "不是后台参数,也不是上传成功;源未声明前端,准确恢复未知", + "effect": "节点10的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。", + "evidence": [ + 0, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "image", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/0", + "field": "text", + "label": "水印文字", + "type": "STRING", + "schema_default": "@ your name", + "unit": "文字", + "limits": "单行字符串", + "effect": "在每张输入图片上绘制保存的@ by Bright,不改写文本。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "@ by Bright", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/1", + "field": "align", + "label": "文字对齐", + "type": "COMBO", + "schema_default": "未显式default,选项首项center", + "unit": "对齐枚举", + "limits": "center/top left/top center/top right/bottom left/bottom center/bottom right", + "effect": "保存center使文字边界框居中;此分支不使用x_margin或y_margin。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "center", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/2", + "field": "opacity", + "label": "文字不透明度", + "type": "FLOAT", + "schema_default": "0.30", + "unit": "比例", + "limits": "0~1,step0.01", + "effect": "保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0.5, + "json_type": "float" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/3", + "field": "font_name", + "label": "文字字体引用", + "type": "COMBO", + "schema_default": "动态fonts目录.ttf列表,无显式default", + "unit": "字体文件引用", + "limits": "目标动态成员/字形/许可未知", + "effect": "保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetype加载插件fonts下引用,无此处加载异常回退;不读取或下载字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Caveat-VariableFont_wght.ttf", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/4", + "field": "font_size", + "label": "文字字号", + "type": "INT", + "schema_default": "50", + "unit": "Pillow字号像素", + "limits": "1~1024", + "effect": "保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 150, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/5", + "field": "font_color", + "label": "文字颜色选项", + "type": "COMBO", + "schema_default": "无显式default,列表首项custom", + "unit": "颜色枚举", + "limits": "准确config.COLORS列表", + "effect": "保存white按color_mapping为(255,255,255),不会读取font_color_hex。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "white", + "json_type": "str" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/6", + "field": "x_margin", + "label": "水平边距", + "type": "INT", + "schema_default": "20", + "unit": "像素", + "limits": "-1024~1024", + "effect": "保存20在非居中左右支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 20, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/7", + "field": "y_margin", + "label": "垂直边距", + "type": "INT", + "schema_default": "20", + "unit": "像素", + "limits": "-1024~1024", + "effect": "保存20在顶部/底部支路参与位置;center保存态不使用它。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 20, + "json_type": "int" + }, + { + "node_id": "3", + "definition_node_id": "3", + "class_type": "CR Simple Text Watermark", + "scope": "root", + "pointer": "/nodes/15/widgets_values/8", + "field": "font_color_hex", + "label": "自定义文字HEX", + "type": "STRING", + "schema_default": "#000000", + "unit": "RGB十六进制字符串", + "limits": "只有font_color=custom才解析;不保证任意字符串有效", + "effect": "保存#000000,但white支路不采用;不能把它说成当前黑色水印。", + "evidence": [ + 3, + 4, + 5, + 6, + 7 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#000000", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/0", + "field": "水印文本", + "label": "文字水印内容", + "type": "STRING", + "schema_default": "水印", + "unit": "文字", + "limits": "字符串;当前无外部水印图输入", + "effect": "保存@ by Bright;可选水印图像未接,固定实现走文字支路。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "@ by Bright", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/1", + "field": "字体", + "label": "文字字体引用", + "type": "COMBO", + "schema_default": "动态fonts目录,无显式default", + "unit": "字体文件引用", + "limits": ".ttf/.otf/.ttc动态成员与实际文件未知", + "effect": "保存华文细黑.ttf;按插件fonts引用,truetype异常回退ImageFont.load_default,不保证字形一致。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "华文细黑.ttf", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/2", + "field": "水印大小百分比", + "label": "文字大小百分比", + "type": "INT", + "schema_default": "5", + "unit": "底图高度百分比", + "limits": "0~100,step1;0在schema合法不保证绘制成功", + "effect": "保存15;文字字号int(原图高×15/100),不是文字宽度或图片水印比例。只有外部水印图分支才按水印自身尺寸百分比缩放。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 15, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/3", + "field": "水印不透明度", + "label": "文字不透明度", + "type": "INT", + "schema_default": "50", + "unit": "百分比", + "limits": "0~100,step1", + "effect": "保存75;十六进制颜色解析alpha=int(255×75/100),再按图层mask粘贴/alpha_composite,不能直接承诺最终alpha75%。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 75, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/4", + "field": "水平位置", + "label": "水平对齐", + "type": "COMBO", + "schema_default": "无显式default,首项居中", + "unit": "对齐枚举", + "limits": "居中/靠左/靠右", + "effect": "当前居中时x=(原图宽-水印宽)//2+X偏移像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "居中", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/5", + "field": "垂直位置", + "label": "垂直对齐", + "type": "COMBO", + "schema_default": "无显式default,首项居中", + "unit": "对齐枚举", + "limits": "居中/靠上/靠下", + "effect": "当前居中时y=(原图高-水印高)//2+Y偏移像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "居中", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/6", + "field": "X偏移百分比", + "label": "水平偏移", + "type": "INT", + "schema_default": "0", + "unit": "底图宽度百分比", + "limits": "0~50,step1", + "effect": "保存0;int(原图宽×X/100),居中向右加、靠右从右边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/7", + "field": "Y偏移百分比", + "label": "垂直偏移", + "type": "INT", + "schema_default": "0", + "unit": "底图高度百分比", + "limits": "0~50,step1", + "effect": "保存0;int(原图高×Y/100),居中向下加、靠下从下边距减。平铺分支不调用该定位。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 0, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/8", + "field": "文字颜色", + "label": "文字颜色", + "type": "COLORCODE", + "schema_default": "#FFFFFF", + "unit": "RGB十六进制", + "limits": "解析前三对十六进制,非法输入不保证有效", + "effect": "保存#ece4e4,固定实现解析RGB并结合不透明度形成RGBA。前端COLORCODE控件恢复未证明,不靠字段名补宿主行为。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#ece4e4", + "json_type": "str" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/9", + "field": "水印平铺", + "label": "平铺文字", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false;当前false", + "effect": "false走单一水印定位;true按旋转后的文字尺寸与间距重复粘贴,本图不走该分支。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/10", + "field": "水印角度", + "label": "文字旋转角度", + "type": "INT", + "schema_default": "0", + "unit": "度", + "limits": "-90~90,step1", + "effect": "保存60;旋转在平铺判断之前执行,BICUBIC且expand=True,所以关闭平铺仍作用于单一文字水印,不能说被忽略。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 60, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/11", + "field": "水印间距", + "label": "平铺文字间距", + "type": "INT", + "schema_default": "10", + "unit": "底图高度百分比", + "limits": "0~50,step1;仅平铺文字分支", + "effect": "保存22;只有平铺true才算int(原图高×22/100)作为行列间距。当前false不作用,不是22像素。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 22, + "json_type": "int" + }, + { + "node_id": "2", + "definition_node_id": "2", + "class_type": "孤海-图像添加水印", + "scope": "root", + "pointer": "/nodes/16/widgets_values/12", + "field": "输出透明通道", + "label": "保留输出透明通道", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "当前false把RGBA结果转RGB再转tensor;true只是保留结果通道,不等于自动移除底图背景。", + "evidence": [ + 8, + 9 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/0", + "field": "layout", + "label": "相机水印版式", + "type": "COMBO", + "schema_default": "无显式default,首项1. 底部留白 - 左右分布", + "unit": "版式枚举", + "limits": "固定LAYOUT_OPTIONS十项", + "effect": "保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_width/bar_height不参与此版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1. 底部留白 - 左右分布", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/1", + "field": "restore_preset", + "label": "恢复当前版式预设", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "false不以LAYOUT_PRESETS覆写保存参数。固定实现true时在随机版式选择后params.update预设;真实宿主回调/恢复未知。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/2", + "field": "randomize_style", + "label": "随机相机版式", + "type": "BOOLEAN", + "schema_default": "false", + "unit": "布尔开关", + "limits": "true/false", + "effect": "false不调用random.seed/choice;保存seed不随机求值。与前端seed附加randomize控件是两件事。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": false, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/3", + "field": "random_style_selection", + "label": "随机版式候选", + "type": "STRING", + "schema_default": "1-10", + "unit": "编号范围字符串", + "limits": "逗号和闭区间,过滤为1~10;仅randomize_style=true", + "effect": "保存1-10。固定解析允许数字/区间,非法部分跳过;无有效候选保留当前版式。当前false不选择随机版式。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "1-10", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/4", + "field": "seed", + "label": "随机版式种子保存值", + "type": "INT", + "schema_default": "0", + "unit": "整数种子", + "limits": "0~18446744073709551615;仅随机版式分支使用", + "effect": "保存166434517983310;附加前端randomize位独立。源未声明前端,不称最终提交seed,不运行随机。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 166434517983310, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/5", + "field": "control_after_generate", + "label": "种子附加前端控制", + "type": "前端控制", + "schema_default": "源前端版本未知;不认作后台默认", + "unit": "前端状态", + "limits": "保存randomize;不是第六个后台参数", + "effect": "此位置插在seed后,27个服务端控件加1前端控制共28位置;后面的use_exif不能移位成此值。固定参考前端策略也不证明本图真实恢复或最终seed。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "frontend_control", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "randomize", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/6", + "field": "use_exif", + "label": "优先外部EXIF", + "type": "BOOLEAN", + "schema_default": "true", + "unit": "布尔开关", + "limits": "须同时有exif_data非空且strip()!=\"{}\"", + "effect": "保存true但exif_data外线未接,准确代码回退六个手工文本,不从IMAGE张量或图像引用自动读取EXIF。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": true, + "json_type": "bool" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/7", + "field": "block_a_text_1", + "label": "A区第1行文字", + "type": "STRING", + "schema_default": "\"iPhone 15 Pro Max\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "iPhone 15 Pro Max", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/8", + "field": "block_a_text_2", + "label": "A区第2行文字", + "type": "STRING", + "schema_default": "\"Main Camera\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Main Camera", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/9", + "field": "block_a_text_3", + "label": "A区第3行文字", + "type": "STRING", + "schema_default": "\"© KARAS\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工A区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "© KARAS", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/10", + "field": "block_b_text_1", + "label": "B区第1行文字", + "type": "STRING", + "schema_default": "\"SONY\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "SONY", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/11", + "field": "block_b_text_2", + "label": "B区第2行文字", + "type": "STRING", + "schema_default": "\"24mm | f/1.8 | 1/125s | ISO 50\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "24mm | f/1.8 | 1/125s | ISO 50", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/12", + "field": "block_b_text_3", + "label": "B区第3行文字", + "type": "STRING", + "schema_default": "\"\"", + "unit": "文字", + "limits": "单行字符串;空字符串不绘制", + "effect": "保存手工B区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/13", + "field": "logo", + "label": "相机标志引用", + "type": "COMBO", + "schema_default": "存在leica时选leica,否则动态列表首项", + "unit": "logo文件引用", + "limits": "None加插件logos目录PNG名称;目标成员/许可未知", + "effect": "保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "leica", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/14", + "field": "logo_size_ratio", + "label": "标志尺寸倍率", + "type": "FLOAT", + "schema_default": "1.0", + "unit": "倍数", + "limits": "0.1~3.0,step0.1", + "effect": "保存整数1(保留JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 1, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/15", + "field": "bar_size", + "label": "信息条厚度", + "type": "INT", + "schema_default": "200", + "unit": "参考像素", + "limits": "0~2048,step10", + "effect": "保存200。第1版式在底部增加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 200, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/16", + "field": "bar_width", + "label": "备用独立画布宽", + "type": "INT", + "schema_default": "1894", + "unit": "参考像素", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "effect": "保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不能因名称独立信息条就称使用bar_width。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 1894, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/17", + "field": "bar_height", + "label": "备用独立画布高", + "type": "INT", + "schema_default": "165", + "unit": "参考像素", + "limits": "64~8192,step64;只在未匹配版式的else使用", + "effect": "保存165;当前第1版式不使用,仅else画布按scale_factor缩放。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 165, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/18", + "field": "padding", + "label": "版式边距", + "type": "INT", + "schema_default": "50", + "unit": "参考像素", + "limits": "0~400,step1", + "effect": "保存50;int(50×scale_factor),第1版式左右组与条边缘间距,真实文字边界依赖字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 50, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/19", + "field": "spacing", + "label": "文本与元素间隔", + "type": "INT", + "schema_default": "15", + "unit": "参考像素", + "limits": "0~200,step1", + "effect": "保存15;int(15×scale_factor),用于文本行以及标志/文本间隔。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 15, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/20", + "field": "font_name", + "label": "常规文字字体引用", + "type": "COMBO", + "schema_default": "动态字体列表,无显式default", + "unit": "字体文件引用", + "limits": ".ttf/.ttc/.otf;实际文件和字形未知", + "effect": "保存Alibaba-PuHuiTi-Bold.ttf;此名称用于medium/small,与粗体引用独立保留,即使值相同也不去重。加载失败回退默认字体,不保证效果。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Alibaba-PuHuiTi-Bold.ttf", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/21", + "field": "font_bold_name", + "label": "标题粗体字体引用", + "type": "COMBO", + "schema_default": "动态bold/bd子集或完整字体列表,无显式default", + "unit": "字体文件引用", + "limits": "实际成员/字形/许可未知", + "effect": "保存同名Alibaba-PuHuiTi-Bold.ttf,用于large_bold;按名称筛选不证明真正字体粗细。不下载字体。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "Alibaba-PuHuiTi-Bold.ttf", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/22", + "field": "font_size_large", + "label": "大标题字号", + "type": "INT", + "schema_default": "48", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存48;int(48×scale_factor)传给粗体字体,两区第1行使用。小图可能缩至更低,schema范围不等于实际字号范围。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 48, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/23", + "field": "font_size_medium", + "label": "中号文字字号", + "type": "INT", + "schema_default": "28", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存28;int(28×scale_factor)传给常规字体,两区第2行使用。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 28, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/24", + "field": "font_size_small", + "label": "小号文字字号", + "type": "INT", + "schema_default": "24", + "unit": "参考像素", + "limits": "8~200,step1", + "effect": "保存24;int(24×scale_factor)传给常规字体,两区第3行使用;B3为空不绘制。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": 24, + "json_type": "int" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/25", + "field": "bg_color", + "label": "信息条背景色", + "type": "STRING", + "schema_default": "#FFFFFF", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制;实际合法性未知", + "effect": "保存#FFFFFF,当前底部条画布用此背景;不代表原图背景被改白。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#FFFFFF", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/26", + "field": "title_color", + "label": "标题文字颜色", + "type": "STRING", + "schema_default": "#000000", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制", + "effect": "保存#000000,A/B区第一行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#000000", + "json_type": "str" + }, + { + "node_id": "20", + "definition_node_id": "20", + "class_type": "CameraWatermarkNode", + "scope": "root", + "pointer": "/nodes/4/widgets_values/27", + "field": "subtitle_color", + "label": "副文字颜色", + "type": "STRING", + "schema_default": "#888888", + "unit": "Pillow颜色字符串", + "limits": "schema无进一步限制", + "effect": "保存#888888,A/B区第二与第三行文字颜色。", + "evidence": [ + 10, + 11, + 12, + 13, + 14, + 15, + 25 + ], + "role": "scalar", + "execution_note": "源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。", + "value": "#888888", + "json_type": "str" + } + ], + "sources": [ + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1695, + 1770 + ], + "claim": "core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出" + }, + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1622, + 1693 + ], + "claim": "PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽" + }, + { + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 2023, + 2065 + ], + "claim": "LoadImage和PreviewImage旧式准确注册" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/nodes_graphics_text.py", + "local_file": "../watermark-reference/cr__nodes__nodes_graphics_text.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb", + "lines": [ + 356, + 448 + ], + "claim": "Comfyroll准确九字段schema、批次循环、位置、字体和合成" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 358, + 377 + ], + "claim": "只有custom使用HEX,其它颜色按color_mapping" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 421, + 431 + ], + "claim": "RGBA alpha按opacity减弱" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "config.py", + "local_file": "../watermark-reference/cr__config.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd", + "lines": [ + 1, + 35 + ], + "claim": "Comfyroll颜色选项与white映射" + }, + { + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "node_mappings.py", + "local_file": "../watermark-reference/cr__node_mappings.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633", + "lines": [ + 1, + 532 + ], + "claim": "包入口引入node_mappings,CR准确类注册链" + }, + { + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "nodes/图像添加水印.py", + "local_file": "../watermark-reference/guhai__nodes__图像添加水印.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0", + "lines": [ + 1, + 259 + ], + "claim": "孤海准确schema、文字与图像支路、旋转/平铺、通道与注册" + }, + { + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "__init__.py", + "local_file": "../watermark-reference/guhai____init__.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952", + "lines": [ + 1, + 48 + ], + "claim": "孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 230, + 269 + ], + "claim": "Camera准确27服务端控件schema及可选exif_data" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 314, + 365 + ], + "claim": "样式范围解析和EXIF外线条件、手工文案回退、logo选择" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 407, + 650 + ], + "claim": "随机/预设条件、1200宽动态缩放、字体、画布和logo绘制" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 20, + 121 + ], + "claim": "字体/logo动态枚举、十种版式及预设" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 271, + 295 + ], + "claim": "tensor转换与字体缓存/加载失败回退" + }, + { + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 645, + 654 + ], + "claim": "Camera准确注册;该完整树没有JS文件,不证明宿主预设回调" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../birefnet-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts", + "sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06", + "lines": [ + 1, + 40 + ], + "claim": "按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "local_file": "../birefnet-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29", + "lines": [ + 1, + 129 + ], + "claim": "准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 296, + 309 + ], + "claim": "IMAGEUPLOAD控件工厂注册" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 899, + 938 + ], + "claim": "按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 963, + 996 + ], + "claim": "保存widgets_values及onSerialize,保存态不直接等于最终prompt" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 1945, + 1998 + ], + "claim": "addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/utils/executionUtil.ts", + "local_file": "../birefnet-reference/frontend__src__utils__executionUtil.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts", + "sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33", + "lines": [ + 83, + 112 + ], + "claim": "graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/composables/node/useNodeImageUpload.ts", + "local_file": "../birefnet-reference/frontend__src__composables__node__useNodeImageUpload.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts", + "sha256": "11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8", + "lines": [ + 20, + 56 + ], + "claim": "上传POST与完成后路径更新仅源码说明;本轮不调用上传" + }, + { + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "LICENSE", + "local_file": "../birefnet-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书" + }, + { + "id": "frontend-explicit-assumption", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 82, + 265 + ], + "claim": "显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "__init__.py", + "local_file": "../watermark-reference/layer____init__.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59", + "lines": [ + 1, + 48 + ], + "claim": "准确包按py/*.py合并注册", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/watermark.py", + "local_file": "../watermark-reference/layer__py__watermark.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903", + "lines": [ + 1, + 112 + ], + "claim": "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1295, + 1381 + ], + "claim": "水印尺寸公式、临时PNG、blind_watermark调用与异常回退", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 119, + 149 + ], + "claim": "PIL/tensor归一化与量化", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 791, + 805 + ], + "claim": "normalize_gray亮度拉伸", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1053, + 1086 + ], + "claim": "YCbCr分离/通道合并", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1737, + 1742 + ], + "claim": "RGBA恢复alpha", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "pyproject.toml", + "local_file": "../watermark-reference/layer__pyproject.toml", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a", + "lines": [ + 1, + 15 + ], + "claim": "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "LICENSE", + "local_file": "../watermark-reference/layer__LICENSE", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0", + "lines": [ + 1, + 21 + ], + "claim": "准确包MIT许可全文", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + } + ], + "comments": [], + "flow": [ + "17节点、15物理边、全mode0;15实体加Reroute12/14。56顶层标量保存位置=LoadImage三组各2、Camera28、CR9、孤海13。无子图、无Note;AddBlind1、Show8/16和六Preview7/9/11/13/15/17原[]零位置;两个Reroute缺widgets_values键,不补成[]。", + "四条并行支路:底图5.IMAGE槽0经边11→Reroute12输入0,再以边13→CR3.image、边14→孤海2.图像、边28→Camera20.image、边30→AddBlind1.image;四种效果分别预览,不是四种叠加在同一张图。", + "盲水印内容图6.IMAGE槽0以边17→Reroute14,再边31→AddBlind1.watermark_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。", + "独立提取:另载图10.IMAGE槽0以边22→Show16.image,再边23→Preview17.images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。", + "CR3.IMAGE槽0以边10→Preview11.images;show_help STRING槽1未接,是帮助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。", + "孤海文字支路:外部水印图像未接;文字60度旋转在平铺判断前,false仍旋转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", + "Camera外部exif_data未接:use_exif=true仍回退六手工字符串,不证明iPhone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/1200)缩放;bar_width/bar_height当前不作用。", + "三LoadImage的MASK槽1 links=null,全部未接。六Preview继承固定core0.25.0 SaveImage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。", + "源extra仅UE空表和坐标,没有frontendVersion。UE各节点7.8、空绑定表、未知宿主布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。", + "盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。", + "Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_size=int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。", + "包imagefunc写临时PNG,调用blind_watermark.WaterMark(password_img=1,password_wm=1),read_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。", + "Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经WaterMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。", + "源物理边:[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\"]", + "节点1 LayerUtility: AddBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点12 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点5 LoadImage mode=0;widgets_values=[\"ComfyUI_Qwen_00051_.png\", \"image\"];原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\"}}", + "节点6 LoadImage mode=0;widgets_values=[\"1772086821573.png\", \"image\"];原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\"}}", + "节点20 CameraWatermarkNode mode=0;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\"];原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\"}}", + "节点16 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点17 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点10 LoadImage mode=0;widgets_values=[\"ComfyUI_temp_pkyyb_00001_.png\", \"image\"];原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\"}}", + "节点7 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点14 Reroute mode=0;widgets_values=缺键;原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\": {}}}", + "节点8 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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\"}}", + "节点9 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点15 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点11 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点13 PreviewImage mode=0;widgets_values=[];原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\"}}", + "节点3 CR Simple Text Watermark mode=0;widgets_values=[\"@ by Bright\", \"center\", 0.5, \"Caveat-VariableFont_wght.ttf\", 150, \"white\", 20, 20, \"#000000\"];原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}];原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\"}}", + "节点2 孤海-图像添加水印 mode=0;widgets_values=[\"@ by Bright\", \"华文细黑.ttf\", 15, 75, \"居中\", \"居中\", 0, 0, \"#ece4e4\", false, 60, 22, false];原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\"}}" + ], + "flow_evidence": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ], + "zero_saved_nodes": [ + { + "node_id": "1", + "class_type": "LayerUtility: AddBlindWaterMark", + "effect": "原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "16", + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "17", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "7", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "8", + "class_type": "LayerUtility: ShowBlindWaterMark", + "effect": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。", + "evidence": [ + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34 + ] + }, + { + "node_id": "9", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "15", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "11", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + }, + { + "node_id": "13", + "class_type": "PreviewImage", + "effect": "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。", + "evidence": [ + 1, + 2 + ] + } + ], + "steps": [ + "这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。", + "素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。", + "操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。", + "操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Preview误认为顺序叠加结果。", + "操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独立提取;二者不证明鲁棒性或当前执行成功。", + "常见问题:white下HEX不生效、center下边距不生效符合固定CR代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真实文件,不能凭引用保证。", + "常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。randomize附加控制不是随机版式开关,不能把保存seed称最终seed。", + "常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未检查。" + ] +} diff --git a/docs/hel-892/watermark-document-evidence/delivery-summary.md b/docs/hel-892/watermark-document-evidence/delivery-summary.md new file mode 100644 index 00000000..6a01afdb --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/delivery-summary.md @@ -0,0 +1,16 @@ +四种水印单图的固定参考中文说明已接入实际doc_json、GET和既有抽屉,等待总管功能+界面审核。全量目标未完成。 + +PR #25:https://gitea.xbay.cc/leefer/aigc-home/pulls/25;分支agent/agent/a64a969a6a44,base main。真实旧库基线11938ca837fac5acace9d9ef3555d54e224c3d1e。受测实现及最终记录head见tested-head.json和pr-final.json;逐文件受测摘要见tested-files.json,全部本轮差集见changed-files.json。 + +- 新增一图56顶层标量保存位置、0注释,17节点/15物理边/17个mode0。三LoadImage各2、Camera28、CR9、孤海13;九实体原[]零位置、两个Reroute缺键分列。其它155审校对象和旧24块665+16逐对象不变;25图721+16仅参考展示,155完整定稿0/必要实跑0/本轮新增转换0。 +- 生产只在fixed_document.py增加精确路径与硬编码定义digest,在source_reviews.json增加该图块。绑定源SHA1、原字节SHA256、全图规范摘要与定义digest;调用方重算摘要不能扩信任。转换执行链、资格、registry/object_info/client/output/worker、163原图收件、28profiles/9候选hash/六差分及Drawer整文件冻结。 +- 准确core v0.25.0→135abed8da169e33ab0b86550e05e3ae55d6df8c、CR d78b780ae43fcf8c6b7c6505e6ffb4584281ceca、孤海0b267384faaa9201c821c68dfa3dacd784da171d、Camera c461dedc6ce65e1defe7308e97e7081cedcaf2a7;11份Git文本按tree blob核验。7份Registry2.0.38必要文本按SHA固定、ZIP读取校验CRC;HTTP Range只读取中央目录/文本,不下载包内素材。LayerStyle Git commit绑定unknown,blind-watermark未锁版本,未借其它版本填算法/容量/鲁棒性。35条引用包含复用原frontend1.43.17固定参考,非本图宿主身份;local_file以docs/hel-892/watermark-document-evidence为基准。 +- 中文重点:同一底图经Reroute12并行四路,没有顺序叠加;Show16对另载图10独立提取,不是刚写出图片。盲水印仅按固定包讲wm_size/灰度/YCbCr U通道/批次复用、临时文件/WaterMark接口/异常回退;内部算法和目标依赖未知。CR white忽略HEX、center忽略边距、逐批处理;show_help未接只帮助字符串。孤海未接水印图时文字支路,平铺false仍旋转60度,间距22仅平铺时按底图高度百分比作用,输出false转RGB。Camera27服务端控件与额外randomize分开;未接EXIF时六手工文案回退,保存seed非最终提交seed;尺寸/字体按min(1,图宽/1200)缩放,第1布局不用bar_width/height。三MASK未接,无SaveImage,六预览只temp PNG/UI,不称永久导出。 +- 首次专项406通过。最终受影响后台432通过=406新增专项+26回归,0失败/1既有依赖弃用warning;没有机械跑全后台/前端/冻结转换套件。历史全后台5个基线失败沿用上批记录,本轮未复测,不称全仓全绿。新检查覆盖每值/类型/说明篡改、身份/模式/UE、15双向端点、错图/摘要/引用、缺键与[]/null/{}区别和所有旧块互换拒绝。历史测试仅拓展集合边界,旧字段语义/拒绝断言未移除。 +- 真实11938ca隔离库仅1update/154skip/1excluded,其余154整行不变;重导155skip、回退精确恢复、再导1update;升级前后用户编辑各1conflict/154skip,保护全部29列。新155/排除1、16pending_check/139needs_conversion、1217/3660/294保持,全停用/未检查,定稿/实跑时间戳空。wheel/sdist三资源原字节一致,191冻结资源及Drawer不变,双次定义和文档生成差分零。 +- 浏览1400通过=新图808+旧24摘要576+汇总2+共享14;1440/390逐字段核56项及四路/独立提取、EXIF/字体/seed未知、默认折叠、旧空错绑定回退、迟到/失败重试、焦点与无横向溢出。4张代表图已实际目验。浏览固定88+轮询10,后端固定83(含就绪1)+轮询10;98+1-6本地拦截=93。只允许本地GET并本地拦截字体CSS,禁止请求0;两服务finally停止,8247/5173已复核释放。 +- 27个自写Python的Ruff check/format、JS语法通过,原件未格式化;暂存diff空白检查仅报告上游原件CRLF/空白与原始抓取日志尾空行,记录在staged-diff-check.txt,不篡改原件或旧日志;生成Markdown单独统计,不纳入Ruff。开发初次来源抓取Unicode URL错误、定义行号越界、拆分字符串语法/格式失败和旧测试集合边界5→1失败均已纠正,日志原样保留,不与历史业务基线5失败混记。browser-initial.txt为成功首次浏览日志,未重复浏览。 + +复现入口:validation-commands.txt,含本图完整专项、受影响回归、真实旧库升级/保护、包字节与确定性、双尺寸GET浏览。完整中文在四种水印固定参考中文说明.md,实际doc在actual-图像4种添加水印节点.json。 + +剩余真实环境待办:155全量说明定稿与必要实跑、145UI中9参考候选/136关闭仍原状;本图真实前端/UE恢复、动态图片/字体/logo成员/许可、依赖/尺寸条件/权限与实际水印效果未知。本轮不索取机器窗口、不连接目标、不停TTS、不启ComfyUI、不提交prompt、不执行插件/算法/媒体、不下载权重/字体/logo、不新增依赖/付费、不写在线库、不合并部署。总管统一安排后续核对与审核发布。 diff --git a/docs/hel-892/watermark-document-evidence/diff-check.txt b/docs/hel-892/watermark-document-evidence/diff-check.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/discover_sources.py b/docs/hel-892/watermark-document-evidence/discover_sources.py new file mode 100644 index 00000000..959ff52c --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/discover_sources.py @@ -0,0 +1,83 @@ +"Bounded official textual discovery; no upstream execution or asset fetches." + +import json +import urllib.parse +import urllib.request +from pathlib import Path + +OUT = Path(__file__).resolve().parent +REF = OUT.parent / "watermark-reference" + + +def get(url): + with urllib.request.urlopen( + urllib.request.Request( + urllib.parse.quote(url, safe=":/?=&"), headers={"User-Agent": "static-source-review"} + ), + timeout=30, + ) as r: + return r.read() + + +def main(): + repos = { + "core": ("Comfy-Org/ComfyUI", "v0.25.0"), + "camera": ("karas17/ComfyUI-Camera-Watermark", "c461dedc6ce65e1defe7308e97e7081cedcaf2a7"), + "cr": ("Suzie1/ComfyUI_Comfyroll_CustomNodes", "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca"), + "guhai": ("goohai/Goohaitools-comfyui", "0b267384faaa9201c821c68dfa3dacd784da171d"), + } + pins = {} + for key, (repo, ref) in repos.items(): + commit = json.loads(get(f"https://api.github.com/repos/{repo}/commits/{ref}"))["sha"] + tree = json.loads( + get(f"https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1") + ) + assert not tree["truncated"] + (REF / f"{key}-tree.json").write_text(json.dumps(tree, ensure_ascii=False, indent=2) + "\n") + pins[key] = {"repository": repo, "requested_ref": ref, "commit": commit} + print(key, commit) + for e in tree["tree"]: + p = e["path"] + if e["type"] == "blob" and ( + p.endswith(".py") or "license" in p.lower() or p.endswith(".js") + ): + if key == "core" and p not in ["nodes.py", "LICENSE.txt", "LICENSE"]: + continue + if key == "guhai" and not ( + "水印" in p or p == "__init__.py" or "license" in p.lower() + ): + continue + if key == "cr" and not ( + any( + t in p + for t in [ + "__init__.py", + "nodes_graphics_text", + "functions_graphics", + "categories", + "config", + ] + ) + or "license" in p.lower() + ): + continue + local = REF / (key + "__" + p.replace("/", "__")) + raw = ( + local.read_bytes() + if local.exists() + else get(f"https://raw.githubusercontent.com/{repo}/{commit}/{p}") + ) + (REF / (key + "__" + p.replace("/", "__"))).write_bytes(raw) + # Registry release is authoritative for the declared package; do not substitute latest Git. + url = "https://api.comfy.org/nodes/comfyui_layerstyle_advance/versions/2.0.38" + try: + raw = get(url) + (REF / "layer-registry-2.0.38.json").write_bytes(raw) + print(raw.decode()[:1800]) + except Exception as exc: + (REF / "layer-registry-error.txt").write_text(str(exc)) + (REF / "pins.json").write_text(json.dumps(pins, indent=2) + "\n") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/discovery-errors.txt b/docs/hel-892/watermark-document-evidence/discovery-errors.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/discovery.txt b/docs/hel-892/watermark-document-evidence/discovery.txt new file mode 100644 index 00000000..b159d577 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/discovery.txt @@ -0,0 +1,6 @@ +core 135abed8da169e33ab0b86550e05e3ae55d6df8c +camera c461dedc6ce65e1defe7308e97e7081cedcaf2a7 +cr d78b780ae43fcf8c6b7c6505e6ffb4584281ceca +guhai 0b267384faaa9201c821c68dfa3dacd784da171d +{"changelog":"","createdAt":"2026-04-08T04:28:28.060712Z","dependencies":["numpy","matplotlib","scikit_image","scikit_learn","opencv-contrib-python","pymatting","timm","blend_modes","transformers","diffusers","loguru","colour-science","huggingface_hub","segment_anything","addict","omegaconf","yapf","wget","iopath","mediapipe","typer_config","fastapi","rich","google-generativeai","ultralytics","transparent-background","accelerate","onnxruntime","bitsandbytes","peft","protobuf","hydra-core","blind-watermark","qrcode","pyzbar","psd-tools","wandb","zhipuai","openai","google-genai","fastapi","typer-config"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip","id":"db305def-250b-448d-88b6-e43acbeb03af","node_id":"ComfyUI_LayerStyle_Advance","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"2.0.38"} + diff --git a/docs/hel-892/watermark-document-evidence/extra-discovery-second.txt b/docs/hel-892/watermark-document-evidence/extra-discovery-second.txt new file mode 100644 index 00000000..84a51a7c --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/extra-discovery-second.txt @@ -0,0 +1 @@ +Range-read textual entries only: ['LICENSE', '__init__.py', 'py/imagefunc.py', 'py/watermark.py', 'pyproject.toml', 'requirements.txt'] diff --git a/docs/hel-892/watermark-document-evidence/extra-discovery.txt b/docs/hel-892/watermark-document-evidence/extra-discovery.txt new file mode 100644 index 00000000..e02ec1b8 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/extra-discovery.txt @@ -0,0 +1 @@ +Range-read textual entries only: ['LICENSE', '__init__.py', 'pyproject.toml', 'requirements.txt'] diff --git a/docs/hel-892/watermark-document-evidence/extra-errors-second.txt b/docs/hel-892/watermark-document-evidence/extra-errors-second.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/extra-errors.txt b/docs/hel-892/watermark-document-evidence/extra-errors.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/fetch_extra_sources.py b/docs/hel-892/watermark-document-evidence/fetch_extra_sources.py new file mode 100644 index 00000000..1456cf78 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/fetch_extra_sources.py @@ -0,0 +1,86 @@ +"Fetch exact textual interfaces; range reads exclude package assets." + +import io +import json +import urllib.parse +import urllib.request +import zipfile +from pathlib import Path + +REF = Path(__file__).resolve().parents[1] / "watermark-reference" + + +def get(url): + with urllib.request.urlopen(urllib.parse.quote(url, safe=":/?=&"), timeout=30) as r: + return r.read() + + +class RemoteZip(io.RawIOBase): + def __init__(self, url): + self.url = url + self.pos = 0 + with urllib.request.urlopen(urllib.request.Request(url, method="HEAD"), timeout=30) as r: + self.size = int(r.headers["Content-Length"]) + + def seekable(self): + return True + + def seek(self, offset, whence=0): + self.pos = offset + (self.pos if whence == 1 else self.size if whence == 2 else 0) + return self.pos + + def tell(self): + return self.pos + + def read(self, size=-1): + end = self.size - 1 if size < 0 else min(self.size - 1, self.pos + size - 1) + if end < self.pos: + return b"" + req = urllib.request.Request(self.url, headers={"Range": f"bytes={self.pos}-{end}"}) + with urllib.request.urlopen(req, timeout=30) as r: + assert r.status == 206, "Refuse full package fetch" + raw = r.read() + assert len(raw) == end - self.pos + 1 + self.pos += len(raw) + return raw + + +def main(): + pins = json.loads((REF / "pins.json").read_bytes()) + extras = { + "cr": ["node_mappings.py"], + "camera": ["js/camera_watermark.js"], + "core": ["comfy_api/input_impl/video_types.py"], + } + for key, paths in extras.items(): + tree = json.loads((REF / (key + "-tree.json")).read_bytes()) + if key == "camera": + paths = [e["path"] for e in tree["tree"] if e["path"].endswith(".js")] + for p in paths: + if not any(e["path"] == p for e in tree["tree"]): + continue + pin = pins[key] + raw = get(f"https://raw.githubusercontent.com/{pin['repository']}/{pin['commit']}/{p}") + (REF / (key + "__" + p.replace("/", "__"))).write_bytes(raw) + release = json.loads((REF / "layer-registry-2.0.38.json").read_bytes()) + url = release["downloadUrl"] + with zipfile.ZipFile(RemoteZip(url)) as z: + files = z.namelist() + (REF / "layer-package-list.json").write_text( + json.dumps(files, ensure_ascii=False, indent=2) + "\n" + ) + selected = [ + p + for p in files + if p in ["__init__.py", "pyproject.toml", "LICENSE", "LICENSE.txt", "requirements.txt"] + or p in ["py/watermark.py", "py/imagefunc.py"] + ] + for p in selected: + local = REF / ("layer__" + p.replace("/", "__")) + if not local.exists(): + local.write_bytes(z.read(p)) + print("Range-read textual entries only:", selected) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/fixed-source-index.json b/docs/hel-892/watermark-document-evidence/fixed-source-index.json new file mode 100644 index 00000000..65cda82b --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/fixed-source-index.json @@ -0,0 +1,554 @@ +[ + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1695, + 1770 + ], + "claim": "core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 1622, + 1693 + ], + "claim": "PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "core", + "repository": "https://github.com/Comfy-Org/ComfyUI", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "file": "nodes.py", + "local_file": "../watermark-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "lines": [ + 2023, + 2065 + ], + "claim": "LoadImage和PreviewImage旧式准确注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/nodes_graphics_text.py", + "local_file": "../watermark-reference/cr__nodes__nodes_graphics_text.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb", + "lines": [ + 356, + 448 + ], + "claim": "Comfyroll准确九字段schema、批次循环、位置、字体和合成" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 358, + 377 + ], + "claim": "只有custom使用HEX,其它颜色按color_mapping" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "nodes/functions_graphics.py", + "local_file": "../watermark-reference/cr__nodes__functions_graphics.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "lines": [ + 421, + 431 + ], + "claim": "RGBA alpha按opacity减弱" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "config.py", + "local_file": "../watermark-reference/cr__config.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd", + "lines": [ + 1, + 35 + ], + "claim": "Comfyroll颜色选项与white映射" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "cr", + "repository": "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "file": "node_mappings.py", + "local_file": "../watermark-reference/cr__node_mappings.py", + "url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633", + "lines": [ + 1, + 532 + ], + "claim": "包入口引入node_mappings,CR准确类注册链" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "nodes/图像添加水印.py", + "local_file": "../watermark-reference/guhai__nodes__图像添加水印.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0", + "lines": [ + 1, + 259 + ], + "claim": "孤海准确schema、文字与图像支路、旋转/平铺、通道与注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "guhai", + "repository": "https://github.com/goohai/Goohaitools-comfyui", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "file": "__init__.py", + "local_file": "../watermark-reference/guhai____init__.py", + "url": "https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952", + "lines": [ + 1, + 48 + ], + "claim": "孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 230, + 269 + ], + "claim": "Camera准确27服务端控件schema及可选exif_data" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 314, + 365 + ], + "claim": "样式范围解析和EXIF外线条件、手工文案回退、logo选择" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 407, + 650 + ], + "claim": "随机/预设条件、1200宽动态缩放、字体、画布和logo绘制" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 20, + 121 + ], + "claim": "字体/logo动态枚举、十种版式及预设" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 271, + 295 + ], + "claim": "tensor转换与字体缓存/加载失败回退" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "camera", + "repository": "https://github.com/karas17/ComfyUI-Camera-Watermark", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "file": "__init__.py", + "local_file": "../watermark-reference/camera____init__.py", + "url": "https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "lines": [ + 645, + 654 + ], + "claim": "Camera准确注册;该完整树没有JS文件,不证明宿主预设回调" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../birefnet-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts", + "sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06", + "lines": [ + 1, + 40 + ], + "claim": "按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "local_file": "../birefnet-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useImageUploadWidget.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts", + "sha256": "c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29", + "lines": [ + 1, + 129 + ], + "claim": "准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 296, + 309 + ], + "claim": "IMAGEUPLOAD控件工厂注册" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 899, + 938 + ], + "claim": "按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 963, + 996 + ], + "claim": "保存widgets_values及onSerialize,保存态不直接等于最终prompt" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../birefnet-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts", + "sha256": "a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b", + "lines": [ + 1945, + 1998 + ], + "claim": "addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/utils/executionUtil.ts", + "local_file": "../birefnet-reference/frontend__src__utils__executionUtil.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts", + "sha256": "67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33", + "lines": [ + 83, + 112 + ], + "claim": "graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/composables/node/useNodeImageUpload.ts", + "local_file": "../birefnet-reference/frontend__src__composables__node__useNodeImageUpload.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts", + "sha256": "11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8", + "lines": [ + 20, + 56 + ], + "claim": "上传POST与完成后路径更新仅源码说明;本轮不调用上传" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "LICENSE", + "local_file": "../birefnet-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "lines": [ + 1, + 674 + ], + "claim": "固定仓库许可原文,不为未确认节点提供方或权重许可背书" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "frontend-explicit-assumption", + "repository": "https://github.com/Comfy-Org/ComfyUI_frontend", + "commit": "f754141537fecaae53d635d94615f588b0e39f95", + "file": "src/scripts/widgets.ts", + "local_file": "../birefnet-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts", + "sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d", + "lines": [ + 82, + 265 + ], + "claim": "显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "__init__.py", + "local_file": "../watermark-reference/layer____init__.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59", + "lines": [ + 1, + 48 + ], + "claim": "准确包按py/*.py合并注册", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/watermark.py", + "local_file": "../watermark-reference/layer__py__watermark.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903", + "lines": [ + 1, + 112 + ], + "claim": "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1295, + 1381 + ], + "claim": "水印尺寸公式、临时PNG、blind_watermark调用与异常回退", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 119, + 149 + ], + "claim": "PIL/tensor归一化与量化", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 791, + 805 + ], + "claim": "normalize_gray亮度拉伸", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1053, + 1086 + ], + "claim": "YCbCr分离/通道合并", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1737, + 1742 + ], + "claim": "RGBA恢复alpha", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "pyproject.toml", + "local_file": "../watermark-reference/layer__pyproject.toml", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a", + "lines": [ + 1, + 15 + ], + "claim": "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "LICENSE", + "local_file": "../watermark-reference/layer__LICENSE", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0", + "lines": [ + 1, + 21 + ], + "claim": "准确包MIT许可全文", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + } +] diff --git a/docs/hel-892/watermark-document-evidence/format-fourth.txt b/docs/hel-892/watermark-document-evidence/format-fourth.txt new file mode 100644 index 00000000..3a7a7b5f --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/format-fourth.txt @@ -0,0 +1 @@ +1 file reformatted, 8 files left unchanged diff --git a/docs/hel-892/watermark-document-evidence/format-initial.txt b/docs/hel-892/watermark-document-evidence/format-initial.txt new file mode 100644 index 00000000..11560e8a --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/format-initial.txt @@ -0,0 +1 @@ +9 files reformatted, 3 files left unchanged diff --git a/docs/hel-892/watermark-document-evidence/format-second.txt b/docs/hel-892/watermark-document-evidence/format-second.txt new file mode 100644 index 00000000..a65fd3f1 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/format-second.txt @@ -0,0 +1 @@ +5 files reformatted, 18 files left unchanged diff --git a/docs/hel-892/watermark-document-evidence/format-third.txt b/docs/hel-892/watermark-document-evidence/format-third.txt new file mode 100644 index 00000000..1bcdfac0 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/format-third.txt @@ -0,0 +1 @@ +8 files reformatted diff --git a/docs/hel-892/watermark-document-evidence/format.txt b/docs/hel-892/watermark-document-evidence/format.txt new file mode 100644 index 00000000..635e356b --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/format.txt @@ -0,0 +1 @@ +27 files already formatted diff --git a/docs/hel-892/watermark-document-evidence/frozen-resource-check.json b/docs/hel-892/watermark-document-evidence/frozen-resource-check.json new file mode 100644 index 00000000..6b8ddf57 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/frozen-resource-check.json @@ -0,0 +1,771 @@ +{ + "base": "11938ca837fac5acace9d9ef3555d54e224c3d1e", + "files": [ + { + "path": "calliope-backend/src/calliope/comfyui/__init__.py", + "sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543" + }, + { + "path": "calliope-backend/src/calliope/comfyui/client.py", + "sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72" + }, + { + "path": "calliope-backend/src/calliope/comfyui/companions.py", + "sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04" + }, + { + "path": "calliope-backend/src/calliope/comfyui/delivery_scope.json", + "sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6" + }, + { + "path": "calliope-backend/src/calliope/comfyui/delivery_scope.py", + "sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867" + }, + { + "path": "calliope-backend/src/calliope/comfyui/dry_run.py", + "sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7" + }, + { + "path": "calliope-backend/src/calliope/comfyui/endpoints.py", + "sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py", + "sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741" + }, + { + "path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py", + "sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c" + }, + { + "path": "calliope-backend/src/calliope/comfyui/library_cli.py", + "sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380" + }, + { + "path": "calliope-backend/src/calliope/comfyui/lint.py", + "sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3" + }, + { + "path": "calliope-backend/src/calliope/comfyui/output_map.py", + "sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e" + }, + { + "path": "calliope-backend/src/calliope/comfyui/parser.py", + "sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0" + }, + { + "path": "calliope-backend/src/calliope/comfyui/patcher.py", + "sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/preflight.py", + "sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec" + }, + { + "path": "calliope-backend/src/calliope/comfyui/profiles.py", + "sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.json", + "sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4" + }, + { + "path": "calliope-backend/src/calliope/comfyui/protocol_references.py", + "sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916" + }, + { + "path": "calliope-backend/src/calliope/comfyui/registry.py", + "sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d" + }, + { + "path": "calliope-backend/src/calliope/comfyui/roles.py", + "sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4" + }, + { + "path": "calliope-backend/src/calliope/comfyui/serialization_reference.py", + "sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1" + }, + { + "path": "calliope-backend/src/calliope/comfyui/smart_fill.py", + "sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.py", + "sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419" + }, + { + "path": "calliope-backend/src/calliope/comfyui/structure_reference.py", + "sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb" + }, + { + "path": "calliope-backend/src/calliope/comfyui/ui2api.py", + "sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f" + }, + { + "path": "calliope-backend/src/calliope/comfyui/validate.py", + "sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d" + }, + { + "path": "docs/hel-892/supplied-api/01.api.json", + "sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e" + }, + { + "path": "docs/hel-892/supplied-api/02.api.json", + "sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b" + }, + { + "path": "docs/hel-892/supplied-api/03.api.json", + "sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce" + }, + { + "path": "docs/hel-892/supplied-api/04.api.json", + "sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e" + }, + { + "path": "docs/hel-892/supplied-api/05.api.json", + "sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8" + }, + { + "path": "docs/hel-892/supplied-api/06.api.json", + "sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b" + }, + { + "path": "docs/hel-892/supplied-api/07.api.json", + "sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d" + }, + { + "path": "docs/hel-892/supplied-api/manifest.json", + "sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json", + "sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json", + "sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json", + "sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json", + "sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json", + "sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json", + "sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json", + "sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json", + "sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json", + "sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json", + "sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json", + "sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json", + "sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json", + "sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json", + "sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json", + "sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json", + "sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json", + "sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json", + "sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json", + "sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json", + "sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json", + "sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json", + "sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json", + "sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json", + "sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json", + "sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json", + "sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json", + "sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json", + "sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json", + "sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json", + "sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json", + "sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json", + "sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json", + "sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json", + "sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json", + "sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json", + "sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1" + }, + { + "path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json", + "sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json", + "sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json", + "sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85" + }, + { + "path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json", + "sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json", + "sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json", + "sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json", + "sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json", + "sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json", + "sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json", + "sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json", + "sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json", + "sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json", + "sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json", + "sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json", + "sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json", + "sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json", + "sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json", + "sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json", + "sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json", + "sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json", + "sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json", + "sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json", + "sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json", + "sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json", + "sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json", + "sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json", + "sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json", + "sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json", + "sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json", + "sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json", + "sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json", + "sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json", + "sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json", + "sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json", + "sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json", + "sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json", + "sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json", + "sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json", + "sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json", + "sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json", + "sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json", + "sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json", + "sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json", + "sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json", + "sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json", + "sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json", + "sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json", + "sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json", + "sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json", + "sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json", + "sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json", + "sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json", + "sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json", + "sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json", + "sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json", + "sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json", + "sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json", + "sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json", + "sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json", + "sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json", + "sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json", + "sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json", + "sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json", + "sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json", + "sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json", + "sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json", + "sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60" + }, + { + "path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json", + "sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json", + "sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json", + "sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json", + "sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json", + "sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json", + "sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json", + "sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json", + "sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json", + "sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json", + "sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json", + "sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json", + "sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json", + "sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json", + "sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json", + "sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json", + "sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json", + "sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json", + "sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json", + "sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json", + "sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json", + "sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json", + "sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json", + "sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json", + "sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json", + "sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json", + "sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json", + "sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json", + "sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json", + "sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2" + }, + { + "path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json", + "sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json", + "sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json", + "sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json", + "sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06" + }, + { + "path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json", + "sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json", + "sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json", + "sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json", + "sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json", + "sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json", + "sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002" + }, + { + "path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json", + "sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b" + }, + { + "path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json", + "sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313" + }, + { + "path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json", + "sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757" + }, + { + "path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json", + "sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json", + "sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce" + }, + { + "path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json", + "sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json", + "sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json", + "sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json", + "sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json", + "sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909" + }, + { + "path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json", + "sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c" + } + ], + "original_files": 156, + "all_unchanged": true +} diff --git a/docs/hel-892/watermark-document-evidence/import-protection.json b/docs/hel-892/watermark-document-evidence/import-protection.json new file mode 100644 index 00000000..da7a39de --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/import-protection.json @@ -0,0 +1,69 @@ +{ + "base": "11938ca837fac5acace9d9ef3555d54e224c3d1e", + "first": { + "imported": 155, + "user_excluded": 1 + }, + "upgrade": { + "skipped": 154, + "updated": 1, + "user_excluded": 1 + }, + "repeat": { + "skipped": 155, + "user_excluded": 1 + }, + "restored_rows": 1, + "untouched_whole_rows": 154, + "eligibility_unchanged": true, + "redo": { + "skipped": 154, + "updated": 1, + "user_excluded": 1 + }, + "user_protection": [ + { + "phase": "user-before", + "counts": { + "skipped": 154, + "conflict": 1, + "user_excluded": 1 + }, + "whole_rows": 1, + "columns": 29 + }, + { + "phase": "user-after", + "counts": { + "skipped": 154, + "conflict": 1, + "user_excluded": 1 + }, + "whole_rows": 1, + "columns": 29 + } + ], + "fresh": { + "imported": 155, + "user_excluded": 1 + }, + "fresh_repeat": { + "skipped": 155, + "user_excluded": 1 + }, + "states": { + "pending_check": 16, + "needs_conversion": 139 + }, + "source_named_fields": 1217, + "positional_widgets": 3660, + "companion_values": 294, + "new_saved": 56, + "new_notes": 0, + "old_saved": 665, + "old_notes": 16, + "overviews": 25, + "all_disabled": true, + "doc_done": 0, + "executed": 0 +} diff --git a/docs/hel-892/watermark-document-evidence/js-syntax.txt b/docs/hel-892/watermark-document-evidence/js-syntax.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/layer-editorial.json b/docs/hel-892/watermark-document-evidence/layer-editorial.json new file mode 100644 index 00000000..003c54d9 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/layer-editorial.json @@ -0,0 +1,170 @@ +{ + "sources": [ + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "__init__.py", + "local_file": "../watermark-reference/layer____init__.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59", + "lines": [ + 1, + 48 + ], + "claim": "准确包按py/*.py合并注册", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/watermark.py", + "local_file": "../watermark-reference/layer__py__watermark.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903", + "lines": [ + 1, + 112 + ], + "claim": "Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1295, + 1381 + ], + "claim": "水印尺寸公式、临时PNG、blind_watermark调用与异常回退", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 119, + 149 + ], + "claim": "PIL/tensor归一化与量化", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 791, + 805 + ], + "claim": "normalize_gray亮度拉伸", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1053, + 1086 + ], + "claim": "YCbCr分离/通道合并", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "py/imagefunc.py", + "local_file": "../watermark-reference/layer__py__imagefunc.py", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6", + "lines": [ + 1737, + 1742 + ], + "claim": "RGBA恢复alpha", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "pyproject.toml", + "local_file": "../watermark-reference/layer__pyproject.toml", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a", + "lines": [ + 1, + 15 + ], + "claim": "精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + }, + { + "id": "layer-registry-2.0.38", + "repository": "https://github.com/chflame163/ComfyUI_LayerStyle_Advance", + "commit": "unknown", + "git_commit_binding": "unknown", + "file": "LICENSE", + "local_file": "../watermark-reference/layer__LICENSE", + "url": "https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0", + "lines": [ + 1, + 21 + ], + "claim": "准确包MIT许可全文", + "registry_version": "2.0.38", + "registry_release_id": "db305def-250b-448d-88b6-e43acbeb03af" + } + ], + "flow": [ + "盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。", + "Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_size=int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。", + "包imagefunc写临时PNG,调用blind_watermark.WaterMark(password_img=1,password_wm=1),read_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。", + "Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经WaterMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。" + ], + "zero_effects": { + "LayerUtility: AddBlindWaterMark": "原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。", + "LayerUtility: ShowBlindWaterMark": "原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。" + }, + "versions": [ + "LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。" + ] +} diff --git a/docs/hel-892/watermark-document-evidence/lint-initial.txt b/docs/hel-892/watermark-document-evidence/lint-initial.txt new file mode 100644 index 00000000..88468e8f --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/lint-initial.txt @@ -0,0 +1,1099 @@ +E501 Line too long (153 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:131:101 + | +131 | …frontend", "ue", "swap", "unconnected_mask", "wrong_path", "seed", "image", "logo", "font"]) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +132 | … +133 | … + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:135:26 + | +133 | s,r=copy.deepcopy(SOURCES[0]),copy.deepcopy(REVIEWS[0]) +134 | nodes={n["id"]:n for n in s["nodes"]} +135 | if kind=="source_sha":r["source_sha"]="0"*40 + | ^ +136 | elif kind=="citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 +137 | elif kind=="frontend":s["extra"]["frontendVersion"]="1.43.17" + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:136:26 + | +134 | nodes={n["id"]:n for n in s["nodes"]} +135 | if kind=="source_sha":r["source_sha"]="0"*40 +136 | elif kind=="citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 + | ^ +137 | elif kind=="frontend":s["extra"]["frontendVersion"]="1.43.17" +138 | elif kind=="ue":s["extra"]["links_added_by_ue"]=[1] + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:137:26 + | +135 | if kind=="source_sha":r["source_sha"]="0"*40 +136 | elif kind=="citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 +137 | elif kind=="frontend":s["extra"]["frontendVersion"]="1.43.17" + | ^ +138 | elif kind=="ue":s["extra"]["links_added_by_ue"]=[1] +139 | elif kind=="swap": + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:138:20 + | +136 | elif kind=="citation":r["fixed_version_document"]["sources"][0]["sha256"]="0"*64 +137 | elif kind=="frontend":s["extra"]["frontendVersion"]="1.43.17" +138 | elif kind=="ue":s["extra"]["links_added_by_ue"]=[1] + | ^ +139 | elif kind=="swap": +140 | other=next(p for p in DEFINITIONS if p.endswith("/birefnet_图像移除背景.json")) + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:142:34 + | +140 | other=next(p for p in DEFINITIONS if p.endswith("/birefnet_图像移除背景.json")) +141 | r=copy.deepcopy(review_for(other,hashlib.sha1((REPO/other).read_bytes()).hexdigest())) +142 | elif kind=="unconnected_mask":nodes[5]["outputs"][1]["links"]=[] + | ^ +143 | elif kind=="wrong_path":r["fixed_version_document"]["source_path"]="forged" +144 | elif kind=="seed":nodes[20]["widgets_values"][5]="fixed" + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:143:28 + | +141 | r=copy.deepcopy(review_for(other,hashlib.sha1((REPO/other).read_bytes()).hexdigest())) +142 | elif kind=="unconnected_mask":nodes[5]["outputs"][1]["links"]=[] +143 | elif kind=="wrong_path":r["fixed_version_document"]["source_path"]="forged" + | ^ +144 | elif kind=="seed":nodes[20]["widgets_values"][5]="fixed" +145 | elif kind=="image":nodes[6]["widgets_values"][0]=nodes[5]["widgets_values"][0] + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:144:22 + | +142 | elif kind=="unconnected_mask":nodes[5]["outputs"][1]["links"]=[] +143 | elif kind=="wrong_path":r["fixed_version_document"]["source_path"]="forged" +144 | elif kind=="seed":nodes[20]["widgets_values"][5]="fixed" + | ^ +145 | elif kind=="image":nodes[6]["widgets_values"][0]=nodes[5]["widgets_values"][0] +146 | elif kind=="logo":nodes[20]["widgets_values"][13]="None" + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:145:23 + | +143 | elif kind=="wrong_path":r["fixed_version_document"]["source_path"]="forged" +144 | elif kind=="seed":nodes[20]["widgets_values"][5]="fixed" +145 | elif kind=="image":nodes[6]["widgets_values"][0]=nodes[5]["widgets_values"][0] + | ^ +146 | elif kind=="logo":nodes[20]["widgets_values"][13]="None" +147 | else:nodes[3]["widgets_values"][3]="forged.ttf" + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:146:22 + | +144 | elif kind=="seed":nodes[20]["widgets_values"][5]="fixed" +145 | elif kind=="image":nodes[6]["widgets_values"][0]=nodes[5]["widgets_values"][0] +146 | elif kind=="logo":nodes[20]["widgets_values"][13]="None" + | ^ +147 | else:nodes[3]["widgets_values"][3]="forged.ttf" +148 | r["fixed_version_document"]["canonical_sha256"]=hashlib.sha256(canonical(s)).hexdigest() + | + +E701 Multiple statements on one line (colon) + --> calliope-backend/tests/test_watermark_fixed_document.py:147:9 + | +145 | elif kind=="image":nodes[6]["widgets_values"][0]=nodes[5]["widgets_values"][0] +146 | elif kind=="logo":nodes[20]["widgets_values"][13]="None" +147 | else:nodes[3]["widgets_values"][3]="forged.ttf" + | ^ +148 | r["fixed_version_document"]["canonical_sha256"]=hashlib.sha256(canonical(s)).hexdigest() +149 | r["caller_digest"]=hashlib.sha256(canonical(r["fixed_version_document"])).hexdigest() + | + +E501 Line too long (227 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:169:101 + | +167 | … +168 | … +169 | …urce_nodes=17,physical_edges=15,source_notes=0,linked_saved_fields=0,frontend_only=4,final_scalars=0,final_prompt_constructed=False) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +170 | … +171 | … + | + +E702 Multiple statements on one line (semicolon) + --> calliope-backend/tests/test_watermark_fixed_document.py:170:17 + | +168 | assert sum(len(b.get("comments",[])) for b in oldblocks)==15 # ASR source note independent +169 | assert block["counts"]==dict(saved_fields=56,scalar_saved_positions=56,history_objects=0,source_nodes=17,physical_edges=15,source… +170 | g=SOURCES[0];ns={n["id"]:n for n in g["nodes"]} + | ^ +171 | assert len(ns)==17 and len(g["links"])==15 and all(n["mode"]==0 for n in ns.values()) +172 | assert {i for i,n in ns.items() if "widgets_values" not in n}=={12,14} + | + +E501 Line too long (110 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:175:101 + | +173 | assert {i for i,n in ns.items() if n.get("widgets_values")==[]}=={1,8,16,7,9,11,13,15,17} +174 | assert sum(len(n.get("widgets_values",[])) for n in ns.values())==56 +175 | assert "frontendVersion" not in g["extra"] and g["extra"]["ue_links"]==g["extra"]["links_added_by_ue"]==[] + | ^^^^^^^^^^ +176 | assert len(block["zero_saved_nodes"])==9 and not block["comments"] +177 | assert len({f["pointer"] for f in block["fields"]})==56 + | + +E501 Line too long (121 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:179:101 + | +177 | assert len({f["pointer"] for f in block["fields"]})==56 +178 | assert ns[20]["widgets_values"][4:7]==[166434517983310,"randomize",True] +179 | assert [f["field"] for f in block["fields"] if f["node_id"]=="20"][4:7]==["seed","control_after_generate","use_exif"] + | ^^^^^^^^^^^^^^^^^^^^^ +180 | assert g["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,1… +181 | for eid,origin,slot,target,inp,typ in g["links"]: + | + +E501 Line too long (352 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:180:101 + | +178 | … +179 | …fter_generate","use_exif"] +180 | …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"]] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +181 | … +182 | … + | + +E702 Multiple statements on one line (semicolon) + --> calliope-backend/tests/test_watermark_fixed_document.py:190:13 + | +188 | assert next(i for i in ns[20]["inputs"] if i["name"]=="exif_data")["link"] is None +189 | assert next(i for i in ns[2]["inputs"] if i["name"]=="水印图像")["link"] is None +190 | d=doc(0);assert d["fixed_version"]["matched"] + | ^ +191 | assert d["status"]==dict(imported=True,doc_done=False,exec_verified=False) +192 | assert d["dependencies"]["check_state"]=="unchecked" + | + +E501 Line too long (206 > 100) + --> calliope-backend/tests/test_watermark_fixed_document.py:193:82 + | +191 | … +192 | … +193 | …p PNG", "unknown", "没有frontendVersion", "compression_ratio=100", "YCbCr", "wm_size", "bar_width", "白", "randomize"]: + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +194 | … + | + +E501 Line too long (118 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:11:73 + | + 9 | OUT = Path(__file__).resolve().parent +10 | REF = OUT.parent / 'watermark-reference' +11 | PATHS = ['example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json'] + | ^^^^^^^^^^^^^^^^^ +12 | +13 | def canonical(value): + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:22:41 + | +21 | def build(index=0): +22 | raw=(REPO/PATHS[index]).read_bytes();g=json.loads(raw) + | ^ +23 | binding=json.loads((OUT/'original-binding.json').read_bytes()) +24 | assert hashlib.sha256(raw).hexdigest()==binding['raw_sha256'] + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:29:22 + | +27 | pins=json.loads((REF/'pins.json').read_bytes()) +28 | def cite(key,file,lines,claim): +29 | pin=pins[key];local=REF/(key+'__'+file.replace('/','__'));data=local.read_bytes() + | ^ +30 | sources.append(dict(id=key,repository='https://github.com/'+pin['repository'],commit=pin['commit'],file=file,local_file='../wa… +31 | return len(sources)-1 + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:29:66 + | +27 | pins=json.loads((REF/'pins.json').read_bytes()) +28 | def cite(key,file,lines,claim): +29 | pin=pins[key];local=REF/(key+'__'+file.replace('/','__'));data=local.read_bytes() + | ^ +30 | sources.append(dict(id=key,repository='https://github.com/'+pin['repository'],commit=pin['commit'],file=file,local_file='../wa… +31 | return len(sources)-1 + | + +E501 Line too long (119 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:32:87 + | +30 | sources.append(dict(id=key,repository='https://github.com/'+pin['repository'],commit=pin['commit'],file=file,local_file='../wa… +31 | return len(sources)-1 +32 | core=cite('core','nodes.py',[1695,1770],'core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出') + | ^^^^^^^^^^^^^^^^^^ +33 | preview=cite('core','nodes.py',[1622,1693],'PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽') +34 | register=cite('core','nodes.py',[2023,2065],'LoadImage和PreviewImage旧式准确注册') + | + +E501 Line too long (113 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:33:94 + | +31 | return len(sources)-1 +32 | core=cite('core','nodes.py',[1695,1770],'core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出') +33 | preview=cite('core','nodes.py',[1622,1693],'PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽') + | ^^^^^^^^^^^^ +34 | register=cite('core','nodes.py',[2023,2065],'LoadImage和PreviewImage旧式准确注册') +35 | cr=cite('cr','nodes/nodes_graphics_text.py',[356,448],'Comfyroll准确九字段schema、批次循环、位置、字体和合成') + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:53:30 + | +51 | for e in old['sources']: +52 | if e['id']=='frontend': +53 | sources.append(e);front.append(len(sources)-1) + | ^ +54 | frontend_pin = dict(repository='Comfy-Org/ComfyUI_frontend',commit='f754141537fecaae53d635d94615f588b0e39f95') +55 | seedlocal=OUT.parent/'birefnet-reference/frontend__src__scripts__widgets.ts' + | + +E501 Line too long (114 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:54:101 + | +52 | if e['id']=='frontend': +53 | sources.append(e);front.append(len(sources)-1) +54 | frontend_pin = dict(repository='Comfy-Org/ComfyUI_frontend',commit='f754141537fecaae53d635d94615f588b0e39f95') + | ^^^^^^^^^^^^^^ +55 | seedlocal=OUT.parent/'birefnet-reference/frontend__src__scripts__widgets.ts' +56 | sources.append(dict(id='frontend-explicit-assumption',repository='https://github.com/'+frontend_pin['repository'],commit=frontend_… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:61:24 + | +59 | note='源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/… +60 | def add(node,position,name,label,typ,default,unit,limits,effect,evidence,role='scalar'): +61 | i,n=nodes[node];value=n['widgets_values'][position] + | ^ +62 | fields.append(dict(node_id=str(node),definition_node_id=str(node),class_type=n['type'],scope='root',pointer=f'/nodes/{i}/widge… +63 | for nid,purpose in [(5,'四路共用底图'),(6,'盲水印内容图'),(10,'独立提取支路的已加印图片引用')]: + | + +E501 Line too long (416 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:64:79 + | +62 | …scope='root',pointer=f'/nodes/{i}/widgets_values/{position}',field=name,label=label,type=typ,schema_default=default,unit=unit,limits=limits,effect=effect,evidence=evidence,role=role,execution_note=note,value=value,json_type=type(value).__name__)) +63 | …)]: +64 | … 用','成员、文件/尺寸/格式和权限未知;本轮不读取图片',f'节点{nid}独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。',[core,register]) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +65 | … 位;非后台默认','前端状态','不是后台参数,也不是上传成功;源未声明前端,准确恢复未知',f'节点{nid}的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调… +66 | … + | + +E501 Line too long (123 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:67:77 + | +65 | add(nid,1,'upload','图片上传控件保存状态','IMAGEUPLOAD(前端)','固定前端参考image按钮占位;非后台默认','前端状态','不是后台… +66 | crrows=[ +67 | ('text','水印文字','STRING','@ your name','文字','单行字符串','在每张输入图片上绘制保存的@ by Bright,不改写文本。'), + | ^^^^^^^^^^^^^^^^^^^^^^^ +68 | ('align','文字对齐','COMBO','未显式default,选项首项center','对齐枚举','center/top left/top center/top right/bottom left/bottom … +69 | ('opacity','文字不透明度','FLOAT','0.30','比例','0~1,step0.01','保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合… + | + +E501 Line too long (219 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:68:85 + | +66 | … +67 | … @ by Bright,不改写文本。'), +68 | …/top center/top right/bottom left/bottom center/bottom right','保存center使文字边界框居中;此分支不使用x_margin或y_margin。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +69 | …a经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。'), +70 | … ','目标动态成员/字形/许可未知','保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetype加载插件fonts下引用,无此处加载异常回退… + | + +E501 Line too long (136 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:71:85 + | +69 | …,'0~1,step0.01','保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。'), +70 | …目录.ttf列表,无显式default','字体文件引用','目标动态成员/字形/许可未知','保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetyp… +71 | … 素','1~1024','保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +72 | …fault,列表首项custom','颜色枚举','准确config.COLORS列表','保存white按color_mapping为(255,255,255),不会读取font_color_hex。'), +73 | …4~1024','保存20在非居中左右支路参与位置;center保存态不使用它。'), + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:76:35 + | +74 | ('y_margin','垂直边距','INT','20','像素','-1024~1024','保存20在顶部/底部支路参与位置;center保存态不使用它。'), +75 | ('font_color_hex','自定义文字HEX','STRING','#000000','RGB十六进制字符串','只有font_color=custom才解析;不保证任意字符串有效','… +76 | for j,row in enumerate(crrows):add(3,j,*row,[cr,crcolor,cropacity,crconfig,crreg]) + | ^ +77 | gurows=[ +78 | ('水印文本','文字水印内容','STRING','水印','文字','字符串;当前无外部水印图输入','保存@ by Bright;可选水印图像未接,固定实现走… + | + +E501 Line too long (146 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:78:71 + | +76 | …or,cropacity,crconfig,crreg]) +77 | … +78 | …字符串;当前无外部水印图输入','保存@ by Bright;可选水印图像未接,固定实现走文字支路。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +79 | … default','字体文件引用','.ttf/.otf/.ttc动态成员与实际文件未知','保存华文细黑.ttf;按插件fonts引用,truetype异常回退ImageFont.load_de… +80 | … 度百分比','0~100,step1;0在schema合法不保证绘制成功','保存15;文字字号int(原图高×15/100),不是文字宽度或图片水印比例。只有外部水… + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:91:35 + | +89 | ('水印间距','平铺文字间距','INT','10','底图高度百分比','0~50,step1;仅平铺文字分支','保存22;只有平铺true才算int(原图高×22/100… +90 | ('输出透明通道','保留输出透明通道','BOOLEAN','false','布尔开关','true/false','当前false把RGBA结果转RGB再转tensor;true只是保留… +91 | for j,row in enumerate(gurows):add(2,j,*row,[gu,gure]) + | ^ +92 | camrows=[ +93 | ('layout','相机水印版式','COMBO','无显式default,首项1. 底部留白 - 左右分布','版式枚举','固定LAYOUT_OPTIONS十项','保存第1版式:… + | + +E501 Line too long (212 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:93:75 + | +91 | … +92 | … +93 | … ','固定LAYOUT_OPTIONS十项','保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_width/bar_height不参与此版式。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +94 | …e不以LAYOUT_PRESETS覆写保存参数。固定实现true时在随机版式选择后params.update预设;真实宿主回调/恢复未知。'), +95 | … 用random.seed/choice;保存seed不随机求值。与前端seed附加randomize控件是两件事。'), + | + +E501 Line too long (101 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:102:101 + | +100 | ] +101 | # Six independently saved strings, not real camera metadata. +102 | defaults=['iPhone 15 Pro Max','Main Camera','© KARAS','SONY','24mm | f/1.8 | 1/125s | ISO 50',''] + | ^ +103 | for j,(name,default) in enumerate(zip(['block_a_text_1','block_a_text_2','block_a_text_3','block_b_text_1','block_b_text_2','bloc… +104 | side='A' if j<3 else 'B';line=j%3+1 + | + +E501 Line too long (157 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:103:101 + | +101 | …. +102 | …','24mm | f/1.8 | 1/125s | ISO 50',''] +103 | …ock_a_text_2','block_a_text_3','block_b_text_1','block_b_text_2','block_b_text_3'],defaults)): + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +104 | … +105 | …,json.dumps(default,ensure_ascii=False),'文字','单行字符串;空字符串不绘制',f'保存手工{side}区第{line}行文案;本图EXIF外线未接,不… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:104:33 + | +102 | defaults=['iPhone 15 Pro Max','Main Camera','© KARAS','SONY','24mm | f/1.8 | 1/125s | ISO 50',''] +103 | for j,(name,default) in enumerate(zip(['block_a_text_1','block_a_text_2','block_a_text_3','block_b_text_1','block_b_text_2','bloc… +104 | side='A' if j<3 else 'B';line=j%3+1 + | ^ +105 | camrows.append((name,f'{side}区第{line}行文字','STRING',json.dumps(default,ensure_ascii=False),'文字','单行字符串;空字符串… +106 | camrows += [ + | + +E501 Line too long (270 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:107:76 + | +105 | …=False),'文字','单行字符串;空字符串不绘制',f'保存手工{side}区第{line}行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/sub… +106 | … +107 | …e加插件logos目录PNG名称;目标成员/许可未知','保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +108 | … JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。'), +109 | … 加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。'), + | + +E501 Line too long (225 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:108:84 + | +106 | … +107 | …e加插件logos目录PNG名称;目标成员/许可未知','保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1… +108 | … JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +109 | … 加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。'), +110 | …lse使用','保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不能因名称独立信息条就称使用bar_width。'), + | + +E501 Line too long (130 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:125:101 + | +123 | assert len(camrows)==28 +124 | for j,row in enumerate(camrows): +125 | add(20,j,*row,[cam,camcontent,camdraw,camfonts,camfontload,camreg,seedcite],role='frontend_control' if j==5 else 'scalar') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +126 | assert len(fields)==56 +127 | flow=[ + | + +E501 Line too long (176 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:132:79 + | +130 | …k_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。', +131 | …images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。', +132 | … 助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +133 | … 转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。', +134 | …Phone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按m… + | + +E501 Line too long (199 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:133:61 + | +131 | … 由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。', +132 | … 载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。', +133 | …仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +134 | … 圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/120… +135 | …age保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。', + | + +E501 Line too long (195 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:135:81 + | +133 | …2仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。', +134 | …或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/… +135 | …Image保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +136 | … 局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。', +137 | … + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:140:24 + | +138 | # Layer semantics inserted only after exact package text is reviewed. +139 | layer=json.loads((OUT/'layer-editorial.json').read_bytes()) +140 | offset=len(sources);sources.extend(layer['sources']);flow.extend(layer['flow']) + | ^ +141 | for e in g['links']:flow.append('源物理边:'+json.dumps(e,ensure_ascii=False)) +142 | for n in g['nodes']: + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:140:57 + | +138 | # Layer semantics inserted only after exact package text is reviewed. +139 | layer=json.loads((OUT/'layer-editorial.json').read_bytes()) +140 | offset=len(sources);sources.extend(layer['sources']);flow.extend(layer['flow']) + | ^ +141 | for e in g['links']:flow.append('源物理边:'+json.dumps(e,ensure_ascii=False)) +142 | for n in g['nodes']: + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:141:24 + | +139 | layer=json.loads((OUT/'layer-editorial.json').read_bytes()) +140 | offset=len(sources);sources.extend(layer['sources']);flow.extend(layer['flow']) +141 | for e in g['links']:flow.append('源物理边:'+json.dumps(e,ensure_ascii=False)) + | ^ +142 | for n in g['nodes']: +143 | flow.append(f"节点{n['id']} {n['type']} mode={n['mode']};widgets_values="+('缺键' if 'widgets_values' not in n else json.dum… + | + +E501 Line too long (366 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:143:96 + | +141 | … +142 | … +143 | …widgets_values' not in n else json.dumps(n['widgets_values'],ensure_ascii=False))+';原inputs='+json.dumps(n.get('inputs'),ensure_ascii=False)+';原outputs='+json.dumps(n.get('outputs'),ensure_ascii=False)+';原properties='+json.dumps(n['properties'],ensure_ascii=False)) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +144 | … +145 | … + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:146:39 + | +144 | zeros=[] +145 | for n in g['nodes']: +146 | if n.get('widgets_values')!=[]:continue + | ^ +147 | if n['type']=='PreviewImage':effect='原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导… +148 | else:effect=layer['zero_effects'][n['type']];ev=list(range(offset,len(sources))) + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:147:37 + | +145 | for n in g['nodes']: +146 | if n.get('widgets_values')!=[]:continue +147 | if n['type']=='PreviewImage':effect='原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导… + | ^ +148 | else:effect=layer['zero_effects'][n['type']];ev=list(range(offset,len(sources))) +149 | zeros.append(dict(node_id=str(n['id']),class_type=n['type'],effect=effect,evidence=ev)) + | + +E501 Line too long (158 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:147:83 + | +145 | … +146 | … +147 | … 入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。';ev=[preview,register] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +148 | …ge(offset,len(sources))) +149 | …e'],effect=effect,evidence=ev)) + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:147:110 + | +145 | … +146 | … +147 | … 行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。';ev=[preview,register] + | ^ +148 | …et,len(sources))) +149 | …ect=effect,evidence=ev)) + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:148:13 + | +146 | if n.get('widgets_values')!=[]:continue +147 | if n['type']=='PreviewImage':effect='原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导… +148 | else:effect=layer['zero_effects'][n['type']];ev=list(range(offset,len(sources))) + | ^ +149 | zeros.append(dict(node_id=str(n['id']),class_type=n['type'],effect=effect,evidence=ev)) +150 | overview='这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:148:53 + | +146 | if n.get('widgets_values')!=[]:continue +147 | if n['type']=='PreviewImage':effect='原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导… +148 | else:effect=layer['zero_effects'][n['type']];ev=list(range(offset,len(sources))) + | ^ +149 | zeros.append(dict(node_id=str(n['id']),class_type=n['type'],effect=effect,evidence=ev)) +150 | overview='这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印… + | + +E501 Line too long (129 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:151:81 + | +149 | …ass_type=n['type'],effect=effect,evidence=ev)) +150 | … 、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚… +151 | …]}→{pin['commit']},只读静态文本,不证明目标安装。" for key,pin in pins.items()] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +152 | …tend1.43.17→f754141537fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未… +153 | … 立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。','操作1:未来获准执行时先核准确节点包… + | + +E501 Line too long (348 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:152:95 + | +150 | … 可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。' +151 | … 。" for key,pin in pins.items()] +152 | …e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。','core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知。',*layer['versions']] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +153 | … 和logo只保留引用,不读取/下载。没有模型节点。','操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。','操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Pr… +154 | …hlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),notice='固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和实际效果未知,未实跑,转换保持关闭。',user_overview=overview,versions=versions,counts=dict(saved_field… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:156:48 + | +154 | b=dict(source_path=PATHS[index],source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical… +155 | for e in sources: +156 | data=(OUT/e['local_file']).read_bytes();assert hashlib.sha256(data).hexdigest()==e['sha256'];assert 1<=e['lines'][0]<=e['line… + | ^ +157 | return b + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_definition.py:156:101 + | +154 | b=dict(source_path=PATHS[index],source_sha1=hashlib.sha1(raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical… +155 | for e in sources: +156 | data=(OUT/e['local_file']).read_bytes();assert hashlib.sha256(data).hexdigest()==e['sha256'];assert 1<=e['lines'][0]<=e['line… + | ^ +157 | return b + | + +E501 Line too long (172 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:156:101 + | +154 | …igest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),notice='固定版本仅… +155 | … +156 | …data).hexdigest()==e['sha256'];assert 1<=e['lines'][0]<=e['lines'][1]<=len(data.decode().splitlines()) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +157 | … + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:12:49 + | +10 | sources=[] +11 | def cite(file,lines,claim): +12 | p=REF/('layer__'+file.replace('/','__'));raw=p.read_bytes() + | ^ +13 | sources.append(dict(id='layer-registry-2.0.38',repository='https://github.com/chflame163/ComfyUI_LayerStyle_Advance',commit='u… +14 | for file,lines,claim in [ + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:25:81 + | +23 | ('LICENSE',[1,len((REF/'layer__LICENSE').read_text().splitlines())],'准确包MIT许可全文')]: +24 | # Range bounded by exact file, not a nearby release. +25 | n=len((REF/('layer__'+file.replace('/','__'))).read_text().splitlines());lines[1]=min(lines[1],n);cite(file,lines,claim) + | ^ +26 | flow=[ +27 | '盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:25:106 + | +23 | ('LICENSE',[1,len((REF/'layer__LICENSE').read_text().splitlines())],'准确包MIT许可全文')]: +24 | # Range bounded by exact file, not a nearby release. +25 | n=len((REF/('layer__'+file.replace('/','__'))).read_text().splitlines());lines[1]=min(lines[1],n);cite(file,lines,claim) + | ^ +26 | flow=[ +27 | '盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确… + | + +E501 Line too long (294 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:27:87 + | +25 | …ines[1],n);cite(file,lines,claim) +26 | … +27 | …48d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +28 | …t(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。', +29 | …img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。', + | + +E501 Line too long (246 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:30:82 + | +28 | …t(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效… +29 | …img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正… +30 | …m_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +31 | … +32 | … 方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。' + | + +E501 Line too long (174 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:32:75 + | +30 | …Mark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后… +31 | … +32 | …mage槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。' + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +33 | …;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。' +34 | …indWaterMark':add,'LayerUtility: ShowBlindWaterMark':show},versions=['LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unk… + | + +E501 Line too long (292 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:34:101 + | +32 | … 方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。' +33 | …通道水印、512方形RGB结果与异常回退,不证明成功。' +34 | …Utility: ShowBlindWaterMark':show},versions=['LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。']) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +35 | … +36 | … + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:36:24 + | +34 | b=dict(sources=sources,flow=flow,zero_effects={'LayerUtility: AddBlindWaterMark':add,'LayerUtility: ShowBlindWaterMark':show},vers… +35 | (OUT/'layer-editorial.json').write_text(json.dumps(b,ensure_ascii=False,indent=2)+'\n') +36 | if __name__=='__main__': main() + | ^ + +E501 Line too long (159 > 100) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:11:101 + | +10 | … +11 | …arse.quote(url, safe=':/?=&'), headers={'User-Agent':'static-source-review'}), timeout=30) as r: + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +12 | … + | + +E501 Line too long (104 > 100) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:31:101 + | +29 | for e in tree['tree']: +30 | p=e['path'] +31 | if e['type']=='blob' and (p.endswith('.py') or 'license' in p.lower() or p.endswith('.js')): + | ^^^^ +32 | if key=='core' and p not in ['nodes.py','LICENSE.txt','LICENSE']: continue +33 | if key=='guhai' and not ('水印' in p or p=='__init__.py' or 'license' in p.lower()): continue + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:32:81 + | +30 | … p=e['path'] +31 | … if e['type']=='blob' and (p.endswith('.py') or 'license' in p.lower() or p.endswith('.js')): +32 | … if key=='core' and p not in ['nodes.py','LICENSE.txt','LICENSE']: continue + | ^ +33 | … if key=='guhai' and not ('水印' in p or p=='__init__.py' or 'license' in p.lower()): continue +34 | … if key=='cr' and not (any(t in p for t in ['__init__.py','nodes_graphics_text','functions_graphics','categories','config']) … + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:33:98 + | +31 | … if e['type']=='blob' and (p.endswith('.py') or 'license' in p.lower() or p.endswith('.js')): +32 | … if key=='core' and p not in ['nodes.py','LICENSE.txt','LICENSE']: continue +33 | … if key=='guhai' and not ('水印' in p or p=='__init__.py' or 'license' in p.lower()): continue + | ^ +34 | … if key=='cr' and not (any(t in p for t in ['__init__.py','nodes_graphics_text','functions_graphics','categories','config']) … +35 | … local=REF / (key+'__'+p.replace('/','__')) + | + +E501 Line too long (109 > 100) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:33:99 + | +31 | … if e['type']=='blob' and (p.endswith('.py') or 'license' in p.lower() or p.endswith('.js')): +32 | … if key=='core' and p not in ['nodes.py','LICENSE.txt','LICENSE']: continue +33 | … if key=='guhai' and not ('水印' in p or p=='__init__.py' or 'license' in p.lower()): continue + | ^^^^^^^^^ +34 | … if key=='cr' and not (any(t in p for t in ['__init__.py','nodes_graphics_text','functions_graphics','categories','config']) … +35 | … local=REF / (key+'__'+p.replace('/','__')) + | + +E501 Line too long (176 > 100) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:34:101 + | +32 | …ICENSE']: continue +33 | … or 'license' in p.lower()): continue +34 | …,'nodes_graphics_text','functions_graphics','categories','config']) or 'license' in p.lower()): continue + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +35 | … +36 | …s://raw.githubusercontent.com/{repo}/{commit}/{p}') + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:34:167 + | +32 | … +33 | … continue +34 | …tions_graphics','categories','config']) or 'license' in p.lower()): continue + | ^ +35 | … +36 | …m/{repo}/{commit}/{p}') + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:41:21 + | +39 | url='https://api.comfy.org/nodes/comfyui_layerstyle_advance/versions/2.0.38' +40 | try: +41 | raw=get(url);(REF/'layer-registry-2.0.38.json').write_bytes(raw);print(raw.decode()[:1800]) + | ^ +42 | except Exception as exc: +43 | (REF/'layer-registry-error.txt').write_text(str(exc)) + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:41:73 + | +39 | url='https://api.comfy.org/nodes/comfyui_layerstyle_advance/versions/2.0.38' +40 | try: +41 | raw=get(url);(REF/'layer-registry-2.0.38.json').write_bytes(raw);print(raw.decode()[:1800]) + | ^ +42 | except Exception as exc: +43 | (REF/'layer-registry-error.txt').write_text(str(exc)) + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/discover_sources.py:46:24 + | +44 | (REF/'pins.json').write_text(json.dumps(pins,indent=2)+'\n') +45 | +46 | if __name__=='__main__': main() + | ^ + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:12:86 + | +11 | def get(url): +12 | with urllib.request.urlopen(urllib.parse.quote(url,safe=':/?=&'),timeout=30) as r: return r.read() + | ^ +13 | +14 | class RemoteZip(io.RawIOBase): + | + +E501 Line too long (102 > 100) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:12:101 + | +11 | def get(url): +12 | with urllib.request.urlopen(urllib.parse.quote(url,safe=':/?=&'),timeout=30) as r: return r.read() + | ^^ +13 | +14 | class RemoteZip(io.RawIOBase): + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:16:21 + | +14 | class RemoteZip(io.RawIOBase): +15 | def __init__(self,url): +16 | self.url=url;self.pos=0 + | ^ +17 | with urllib.request.urlopen(urllib.request.Request(url,method='HEAD'),timeout=30) as r: self.size=int(r.headers['Content-Lengt… +18 | def seekable(self): return True + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:17:95 + | +15 | def __init__(self,url): +16 | self.url=url;self.pos=0 +17 | with urllib.request.urlopen(urllib.request.Request(url,method='HEAD'),timeout=30) as r: self.size=int(r.headers['Content-Lengt… + | ^ +18 | def seekable(self): return True +19 | def seek(self,offset,whence=0): + | + +E501 Line too long (138 > 100) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:17:101 + | +15 | … +16 | … +17 | …quest(url,method='HEAD'),timeout=30) as r: self.size=int(r.headers['Content-Length']) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +18 | … +19 | … + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:20:83 + | +18 | def seekable(self): return True +19 | def seek(self,offset,whence=0): +20 | self.pos=offset+(self.pos if whence==1 else self.size if whence==2 else 0);return self.pos + | ^ +21 | def tell(self): return self.pos +22 | def read(self,size=-1): + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:24:24 + | +22 | def read(self,size=-1): +23 | end=self.size-1 if size<0 else min(self.size-1,self.pos+size-1) +24 | if end docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:28:25 + | +26 | with urllib.request.urlopen(req,timeout=30) as r: +27 | assert r.status==206,'Refuse full package fetch' +28 | raw=r.read();assert len(raw)==end-self.pos+1 + | ^ +29 | self.pos+=len(raw);return raw + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:29:27 + | +27 | assert r.status==206,'Refuse full package fetch' +28 | raw=r.read();assert len(raw)==end-self.pos+1 +29 | self.pos+=len(raw);return raw + | ^ +30 | +31 | def main(): + | + +E501 Line too long (122 > 100) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:33:101 + | +31 | def main(): +32 | pins=json.loads((REF/'pins.json').read_bytes()) +33 | extras={'cr':['node_mappings.py'],'camera':['js/camera_watermark.js'], 'core':['comfy_api/input_impl/video_types.py']} + | ^^^^^^^^^^^^^^^^^^^^^^ +34 | for key, paths in extras.items(): +35 | tree=json.loads((REF/(key+'-tree.json')).read_bytes()) + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:36:25 + | +34 | for key, paths in extras.items(): +35 | tree=json.loads((REF/(key+'-tree.json')).read_bytes()) +36 | if key=='camera': paths=[e['path'] for e in tree['tree'] if e['path'].endswith('.js')] + | ^ +37 | for p in paths: +38 | if not any(e['path']==p for e in tree['tree']):continue + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:38:59 + | +36 | if key=='camera': paths=[e['path'] for e in tree['tree'] if e['path'].endswith('.js')] +37 | for p in paths: +38 | if not any(e['path']==p for e in tree['tree']):continue + | ^ +39 | pin=pins[key];raw=get(f"https://raw.githubusercontent.com/{pin['repository']}/{pin['commit']}/{p}") +40 | (REF/(key+'__'+p.replace('/','__'))).write_bytes(raw) + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:39:26 + | +37 | for p in paths: +38 | if not any(e['path']==p for e in tree['tree']):continue +39 | pin=pins[key];raw=get(f"https://raw.githubusercontent.com/{pin['repository']}/{pin['commit']}/{p}") + | ^ +40 | (REF/(key+'__'+p.replace('/','__'))).write_bytes(raw) +41 | release=json.loads((REF/'layer-registry-2.0.38.json').read_bytes()) + | + +E501 Line too long (165 > 100) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:46:101 + | +44 | … +45 | …s,ensure_ascii=False,indent=2)+'\n') +46 | …ct.toml','LICENSE','LICENSE.txt','requirements.txt'] or p in ['py/watermark.py','py/imagefunc.py']] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +47 | … +48 | … + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:49:34 + | +47 | for p in selected: +48 | local=REF/('layer__'+p.replace('/','__')) +49 | if not local.exists():local.write_bytes(z.read(p)) + | ^ +50 | print('Range-read textual entries only:',selected) +51 | if __name__=='__main__':main() + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/fetch_extra_sources.py:51:24 + | +49 | if not local.exists():local.write_bytes(z.read(p)) +50 | print('Range-read textual entries only:',selected) +51 | if __name__=='__main__':main() + | ^ + +E501 Line too long (109 > 100) + --> docs/hel-892/watermark-document-evidence/recompute.py:52:101 + | +50 | rebuilt, previous = build_all() +51 | assert rebuilt == json.loads((REPO / RESOURCE).read_bytes()) +52 | old_blocks = {p:r["fixed_version_document"] for p,r in previous.items() if "fixed_version_document" in r} + | ^^^^^^^^^ +53 | assert len(old_blocks)==24 +54 | assert all(rebuilt[p]["fixed_version_document"]==b for p,b in old_blocks.items()) + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:12:63 + | +10 | entries=[] +11 | for key,pin in pins.items(): +12 | tree=json.loads((REF/(key+'-tree.json')).read_bytes());assert tree['sha']==pin['commit'] and not tree['truncated'] + | ^ +13 | by_name={e['path']:e for e in tree['tree']} +14 | for local in sorted(REF.glob(key+'__*')): + | + +E501 Line too long (122 > 100) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:12:101 + | +10 | entries=[] +11 | for key,pin in pins.items(): +12 | tree=json.loads((REF/(key+'-tree.json')).read_bytes());assert tree['sha']==pin['commit'] and not tree['truncated'] + | ^^^^^^^^^^^^^^^^^^^^^^ +13 | by_name={e['path']:e for e in tree['tree']} +14 | for local in sorted(REF.glob(key+'__*')): + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:16:35 + | +14 | … for local in sorted(REF.glob(key+'__*')): +15 | … path=local.name[len(key)+2:].replace('__','/') +16 | … raw=local.read_bytes();blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest() + | ^ +17 | … assert blob==by_name[path]['sha'] +18 | … entries.append(dict(local_file=local.name,path=path,commit=pin['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha… + | + +E501 Line too long (107 > 100) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:16:101 + | +14 | … for local in sorted(REF.glob(key+'__*')): +15 | … path=local.name[len(key)+2:].replace('__','/') +16 | … raw=local.read_bytes();blob=hashlib.sha1(b'blob '+str(len(raw)).encode()+b'\0'+raw).hexdigest() + | ^^^^^^^ +17 | … assert blob==by_name[path]['sha'] +18 | … entries.append(dict(local_file=local.name,path=path,commit=pin['commit'],sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha… + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:23:31 + | +21 | assert 'version = "2.0.38"' in (REF/'layer__pyproject.toml').read_text() +22 | for local in sorted(REF.glob('layer__*')): +23 | raw=local.read_bytes();entries.append(dict(local_file=local.name,registry_version='2.0.38',git_commit_binding='unknown',sha256… + | ^ +24 | block=build() +25 | for e in block['sources']: + | + +E702 Multiple statements on one line (semicolon) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:26:47 + | +24 | block=build() +25 | for e in block['sources']: +26 | raw=(OUT/e['local_file']).read_bytes();assert hashlib.sha256(raw).hexdigest()==e['sha256'] + | ^ +27 | (OUT/'source-check.json').write_text(json.dumps(dict(local_file_base='docs/hel-892/watermark-reference',files=entries,citations=le… +28 | print(f'PASS {len(entries)} exact local originals and {len(block["sources"])} citations; no upstream import') + | + +E501 Line too long (113 > 100) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:28:101 + | +26 | raw=(OUT/e['local_file']).read_bytes();assert hashlib.sha256(raw).hexdigest()==e['sha256'] +27 | (OUT/'source-check.json').write_text(json.dumps(dict(local_file_base='docs/hel-892/watermark-reference',files=entries,citations=le… +28 | print(f'PASS {len(entries)} exact local originals and {len(block["sources"])} citations; no upstream import') + | ^^^^^^^^^^^^^ +29 | +30 | if __name__=='__main__': main() + | + +E701 Multiple statements on one line (colon) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:30:24 + | +28 | print(f'PASS {len(entries)} exact local originals and {len(block["sources"])} citations; no upstream import') +29 | +30 | if __name__=='__main__': main() + | ^ + +Found 107 errors (5 fixed, 102 remaining). diff --git a/docs/hel-892/watermark-document-evidence/lint-second.txt b/docs/hel-892/watermark-document-evidence/lint-second.txt new file mode 100644 index 00000000..8b04b5c2 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/lint-second.txt @@ -0,0 +1,165 @@ +E501 Line too long (188 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:138:76 + | +136 | … +137 | … +138 | …chema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +139 | … +140 | … + | + +E501 Line too long (263 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:181:79 + | +179 | … +180 | … +181 | …File.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +182 | … +183 | … + | + +E501 Line too long (142 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:511:64 + | +509 | … +510 | … 知", +511 | … 、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +512 | … +513 | … + | + +E501 Line too long (155 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:520:68 + | +518 | … +519 | … +520 | … =max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +521 | … +522 | … + | + +E501 Line too long (178 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:655:79 + | +653 | …rk_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。", +654 | ….images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。", +655 | … 助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +656 | … 旋转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", +657 | …Phone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按m… + | + +E501 Line too long (201 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:656:62 + | +654 | … 刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。", +655 | … 载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。", +656 | …2仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +657 | … 光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/1… +658 | …mage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。", + | + +E501 Line too long (197 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:658:82 + | +656 | … 22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。", +657 | …Y或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽… +658 | …eImage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +659 | … 布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。", +660 | … + | + +E501 Line too long (113 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:688:80 + | +686 | continue +687 | if n["type"] == "PreviewImage": +688 | effect = "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。" + | ^^^^^^^^^^^^^ +689 | ev = [preview, register] +690 | else: + | + +E501 Line too long (251 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:694:59 + | +692 | … +693 | …v)) +694 | … 外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +695 | … +696 | … + | + +E501 Line too long (296 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:54:87 + | +52 | … +53 | … +54 | …-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +55 | …int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。", +56 | …d_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。", + | + +E501 Line too long (248 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:57:82 + | +55 | …int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效… +56 | …d_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正… +57 | …(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +58 | … +59 | … 缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。" + | + +E501 Line too long (176 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:59:76 + | +57 | …rMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后… +58 | … +59 | …mage槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +60 | … 0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。" +61 | … + | + +E501 Line too long (146 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:60:75 + | +58 | … +59 | …MAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。" +60 | …atermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +61 | … +62 | … + | + +E501 Line too long (162 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:69:84 + | +67 | … +68 | … +69 | …mmit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +70 | … +71 | … + | + +E501 Line too long (110 > 100) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:64:101 + | +62 | ) +63 | print( +64 | f"PASS {len(entries)} exact local originals and {len(block['sources'])} citations; no upstream import" + | ^^^^^^^^^^ +65 | ) + | + +Found 15 errors. diff --git a/docs/hel-892/watermark-document-evidence/lint-third.txt b/docs/hel-892/watermark-document-evidence/lint-third.txt new file mode 100644 index 00000000..7701e740 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/lint-third.txt @@ -0,0 +1,66 @@ +E501 Line too long (263 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:185:79 + | +183 | … +184 | … +185 | …File.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +186 | … +187 | … + | + +E501 Line too long (142 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:515:64 + | +513 | … +514 | … 知", +515 | … 、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +516 | … +517 | … + | + +E501 Line too long (155 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:524:68 + | +522 | … +523 | … +524 | … =max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。", + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +525 | … +526 | … + | + +E501 Line too long (113 > 100) + --> docs/hel-892/watermark-document-evidence/build_definition.py:733:80 + | +731 | continue +732 | if n["type"] == "PreviewImage": +733 | effect = "原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。" + | ^^^^^^^^^^^^^ +734 | ev = [preview, register] +735 | else: + | + +E501 Line too long (146 > 100) + --> docs/hel-892/watermark-document-evidence/build_layer_editorial.py:86:75 + | +84 | … +85 | … +86 | …atermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。" + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +87 | … +88 | … + | + +E501 Line too long (110 > 100) + --> docs/hel-892/watermark-document-evidence/verify_sources.py:64:101 + | +62 | ) +63 | print( +64 | f"PASS {len(entries)} exact local originals and {len(block['sources'])} citations; no upstream import" + | ^^^^^^^^^^ +65 | ) + | + +Found 6 errors. diff --git a/docs/hel-892/watermark-document-evidence/lint.txt b/docs/hel-892/watermark-document-evidence/lint.txt new file mode 100644 index 00000000..1f5f344d --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/lint.txt @@ -0,0 +1 @@ +All checks passed! diff --git a/docs/hel-892/watermark-document-evidence/original-binding.json b/docs/hel-892/watermark-document-evidence/original-binding.json new file mode 100644 index 00000000..d9a128ee --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/original-binding.json @@ -0,0 +1,4 @@ +{ + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json", + "raw_sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8" +} diff --git a/docs/hel-892/watermark-document-evidence/package-check.json b/docs/hel-892/watermark-document-evidence/package-check.json new file mode 100644 index 00000000..c9da1bbb --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/package-check.json @@ -0,0 +1,23 @@ +[ + { + "file": "fixed_document.py", + "sha256": "c3030cd3d429c04a3ffeae353d8f3aa40b03f6c5cfa8ee7edca98c6f4b8d9689", + "wheel": true, + "sdist": true, + "definitions": 25 + }, + { + "file": "source_reviews.json", + "sha256": "b2f6a251eae0f2df46fb1cc213eacb499ddaa45071d0f5650f6226acd16f241b", + "wheel": true, + "sdist": true, + "definitions": 25 + }, + { + "file": "library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c", + "wheel": true, + "sdist": true, + "definitions": 25 + } +] diff --git a/docs/hel-892/watermark-document-evidence/pins.json b/docs/hel-892/watermark-document-evidence/pins.json new file mode 100644 index 00000000..c54d3e54 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/pins.json @@ -0,0 +1,3 @@ +{ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json": "1fe4c97b9f7f7576b894041f7ab166fb0ed13e0fcc86a4b371638dc2770d995e" +} diff --git a/docs/hel-892/watermark-document-evidence/pr-before.json b/docs/hel-892/watermark-document-evidence/pr-before.json new file mode 100644 index 00000000..ec74cc80 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/pr-before.json @@ -0,0 +1,8 @@ +{ + "state": "open", + "merged": false, + "html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25", + "head_ref": "agent/agent/a64a969a6a44", + "head_sha": "11938ca837fac5acace9d9ef3555d54e224c3d1e", + "base_ref": "main" +} diff --git a/docs/hel-892/watermark-document-evidence/rebuild-errors.txt b/docs/hel-892/watermark-document-evidence/rebuild-errors.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/watermark-document-evidence/rebuild.py b/docs/hel-892/watermark-document-evidence/rebuild.py new file mode 100644 index 00000000..2476336b --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/rebuild.py @@ -0,0 +1,64 @@ +"Add one reviewed definition; preserve every other review object exactly." + +from __future__ import annotations + +import hashlib +import json +import subprocess + +from build_definition import OUT, PATHS, REPO, build, canonical + +BASE = "11938ca837fac5acace9d9ef3555d54e224c3d1e" +RESOURCE = "calliope-backend/src/calliope/comfyui/source_reviews.json" + + +def build_all(): + previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)) + reviews = json.loads(json.dumps(previous, ensure_ascii=False)) + for i, path in enumerate(PATHS): + block = build(i) + assert reviews[path]["source_sha"] == block["source_sha1"] + assert "fixed_version_document" not in previous[path] + reviews[path]["fixed_version_document"] = block + return reviews, previous + + +def main(): + current = json.loads((REPO / RESOURCE).read_bytes()) + reviews, previous = build_all() + (REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n") + pins = {} + for i, path in enumerate(PATHS): + block = reviews[path]["fixed_version_document"] + pins[path] = hashlib.sha256(canonical(block)).hexdigest() + (OUT / f"definition-{i}.json").write_text( + json.dumps(block, ensure_ascii=False, indent=2) + "\n" + ) + # Explicit maintenance of the code-owned allowlist, never trust runtime caller digests. + module = REPO / ("calliope-backend/src/calliope/comfyui/fixed_document.py") + text = module.read_text() + for path, digest in pins.items(): + old_block = current[path].get("fixed_version_document") + old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None + if old_digest and old_digest in text: + text = text.replace(old_digest, digest) + elif digest in text: + pass + else: + text = text.replace( + "DEFINITIONS = {", + "DEFINITIONS = {\n (\n" + + "".join( + " " + repr(path[i : i + 40]) + "\n" for i in range(0, len(path), 40) + ) + + " ): " + + repr(digest) + + ",", + ) + module.write_text(text) + (OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n") + print(("PASS one definition; other 155 reviews and old 24 blocks unchanged")) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/rebuild.txt b/docs/hel-892/watermark-document-evidence/rebuild.txt new file mode 100644 index 00000000..b667ff7e --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/rebuild.txt @@ -0,0 +1 @@ +PASS one definition; other 155 reviews and old 24 blocks unchanged diff --git a/docs/hel-892/watermark-document-evidence/recompute-initial.txt b/docs/hel-892/watermark-document-evidence/recompute-initial.txt new file mode 100644 index 00000000..6c5004da --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/recompute-initial.txt @@ -0,0 +1,2 @@ +PASS 18 exact local originals and 35 citations; no upstream import +PASS actual 11938ca upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 25 definitions, frozen boundaries, wheel/sdist diff --git a/docs/hel-892/watermark-document-evidence/recompute.py b/docs/hel-892/watermark-document-evidence/recompute.py new file mode 100644 index 00000000..5f7bedc1 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/recompute.py @@ -0,0 +1,330 @@ +"Actual 11938ca upgrade, one-row protection/rollback, frozen boundaries and packages." + +from __future__ import annotations + +import hashlib +import io +import json +import os +import sqlite3 +import subprocess +import sys +import tarfile +import tempfile +import zipfile +from pathlib import Path + +from build_definition import OUT, PATHS, REPO, canonical +from rebuild import BASE, RESOURCE, build_all + +sys.path.insert(0, str(REPO / "calliope-backend")) + + +def write(name, value): + (OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n") + + +def require_packages(): + dist = REPO / "calliope-backend/dist" + w = sorted(dist.glob("*.whl")) + s = sorted(dist.glob("*.tar.gz")) + if not w or not s: + raise SystemExit( + ( + "缺少wheel/sdist包产物,请先在仓库根执行:" + "uv build --project calliop" + "e-backend --offline" + ) + ) + return w[-1], s[-1] + + +def main(): + from calliope.comfyui.fixed_document import DEFINITIONS + from calliope.comfyui.library import rollback_batch + from scripts.audit_library_documents import audit + + wheels, sdists = require_packages() + from verify_sources import main as verify_sources + + verify_sources() + rebuilt, previous = build_all() + assert rebuilt == json.loads((REPO / RESOURCE).read_bytes()) + old_blocks = { + p: r["fixed_version_document"] for p, r in previous.items() if "fixed_version_document" in r + } + assert len(old_blocks) == 24 + assert all(rebuilt[p]["fixed_version_document"] == b for p, b in old_blocks.items()) + assert sum(len(b["fields"]) for b in old_blocks.values()) == 665 + for p, d in DEFINITIONS.items(): + assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d + write( + "review-delta.json", + dict( + base=BASE, + changed_paths=PATHS, + other_reviews_unchanged=155, + old_blocks_unchanged=24, + old_saved=665, + old_notes=16, + new_saved=56, + new_notes=0, + total_documents=25, + total_saved=721, + total_notes=16, + ), + ) + with tempfile.TemporaryDirectory() as directory: + work = Path(directory) + old = work / "old" + old.mkdir() + data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO) + with tarfile.open(fileobj=io.BytesIO(data)) as a: + a.extractall(old, filter="data") + db = work / "library.db" + + def run(name, historical=False): + out = work / name + env = { + **os.environ, + "PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"), + } + subprocess.run( + [ + sys.executable, + "-m", + "calliope.comfyui.library_cli", + "import", + "--root", + str(REPO / "example_ComfyUI_workflows"), + "--db", + str(db), + "--source-commit", + BASE, + "--companions", + str(REPO / "docs/hel-892/supplied-api/manifest.json"), + "--output-dir", + str(out), + ], + cwd=REPO, + env=env, + check=True, + stdout=subprocess.DEVNULL, + ) + return json.loads((out / "import_report.json").read_bytes()), out + + def rows(): + with sqlite3.connect(db) as c: + c.row_factory = sqlite3.Row + return { + r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows") + } + + first, _ = run("historical", True) + before = rows() + assert first["counts"] == {"imported": 155, "user_excluded": 1} + assert all("fixed_version" not in json.loads(before[p]["doc_json"]) for p in PATHS) + assert all( + json.loads(before[p]["doc_json"])["fixed_version"]["matched"] + for p in DEFINITIONS + if p not in PATHS + ) + original = db + protected = [] + + def protect(name): + nonlocal db + db = work / (name + ".db") + with sqlite3.connect(original) as src, sqlite3.connect(db) as dst: + src.backup(dst) + for p in PATHS: + dst.execute( + ("UPDATE workflows SET description=? WHERE source_repo_path=?"), + (name, p), + ) + snapshot = rows() + r, _ = run(name) + assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1} + assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS) + protected.append(dict(phase=name, counts=r["counts"], whole_rows=1, columns=29)) + db = original + + protect("user-before") + upgrade, exported = run("upgrade") + after = rows() + assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1} + for p, row in after.items(): + if p not in PATHS: + assert row == before[p] + continue + assert len(row) == 29 + assert all( + row[k] == before[p][k] + for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"} + ) + d = json.loads(row["doc_json"]) + assert d["fixed_version"]["matched"] + old_doc = json.loads(before[p]["doc_json"]) + without = dict(d) + fixed = without.pop("fixed_version") + assert without["steps"] == old_doc["steps"][:-3] + fixed["steps"] + without["steps"] = old_doc["steps"] + assert without.pop("source_review_sha") != old_doc.pop("source_review_sha") + assert without == old_doc + write("actual-" + Path(p).stem + ".json", d) + repeat, _ = run("repeat") + assert repeat["counts"] == {"skipped": 155, "user_excluded": 1} + with sqlite3.connect(db) as c: + c.row_factory = sqlite3.Row + r = rollback_batch(c, upgrade["batch_id"]) + assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"]) + assert rows() == before + redo, _ = run("redo") + assert redo["counts"] == upgrade["counts"] + protect("user-after") + db = work / "fresh.db" + fresh, exported = run("fresh") + fresh_repeat, _ = run("fresh-repeat") + assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"] + assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139} + companion = 0 + for row in rows().values(): + d = json.loads(row["doc_json"]) + companion += sum(p.get("value_origin") == "supplied_api_companion" for p in d["params"]) + assert ( + not row["is_enabled"] + and row["doc_completed_at"] is None + and row["exec_verified_at"] is None + ) + assert not d["status"]["doc_done"] and not d["status"]["exec_verified"] + assert d["dependencies"]["check_state"] == "unchecked" + report = audit(REPO, exported) + assert ( + report["named_values_preserved"] == 1217 + and report["unnamed_widget_nodes"] == 3660 + and companion == 294 + ) + assert report["full_documents_completed"] == report["real_executions"] == 0 + write("audit-summary.json", {k: v for k, v in report.items() if k != "files"}) + write( + "import-protection.json", + dict( + base=BASE, + first=first["counts"], + upgrade=upgrade["counts"], + repeat=repeat["counts"], + restored_rows=1, + untouched_whole_rows=154, + eligibility_unchanged=True, + redo=redo["counts"], + user_protection=protected, + fresh=fresh["counts"], + fresh_repeat=fresh_repeat["counts"], + states=fresh["states"], + source_named_fields=1217, + positional_widgets=3660, + companion_values=companion, + new_saved=56, + new_notes=0, + old_saved=665, + old_notes=16, + overviews=25, + all_disabled=True, + doc_done=0, + executed=0, + ), + ) + old_reviews = json.loads( + subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO) + ) + current = json.loads((REPO / RESOURCE).read_bytes()) + for p in PATHS: + current[p].pop("fixed_version_document") + assert current == old_reviews + boundaries = json.loads( + (REPO / ("docs/hel-892/h3-document-evidence/unchanged-boundaries.json")).read_bytes() + ) + paths = ( + [f["path"] for f in boundaries["files"]] + + boundaries["frozen_conversion_and_audits"] + + ["calliope-backend/src/calliope/comfyui/library.py"] + ) + kept = [] + for p in paths: + raw = (REPO / p).read_bytes() + assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO) + kept.append(dict(path=p, sha256=hashlib.sha256(raw).hexdigest())) + ui = "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte" + drawer_bytes = (REPO / ui).read_bytes() + assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO) + + write( + "boundaries.json", + dict( + base=BASE, + files=kept, + originals=163, + old_twenty_four_blocks_unchanged=True, + drawer_css_unchanged=True, + drawer_whole_file_unchanged=True, + drawer_sha256=hashlib.sha256(drawer_bytes).hexdigest(), + conversion_rerun=False, + profiles_28_candidates_9_diffs_6="unchanged", + ), + ) + tracked = ( + subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO) + .decode() + .rstrip("\0") + .split("\0") + ) + frozen = [ + p + for p in tracked + if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/")) + or p.startswith("calliope-backend/src/calliope/comfyui/") + and p not in [RESOURCE, ("calliope-backend/src/calliope/comfyui/fixed_document.py")] + ] + for p in frozen: + assert (REPO / p).read_bytes() == subprocess.check_output( + ["git", "show", f"{BASE}:{p}"], cwd=REPO + ) + write( + "frozen-resource-check.json", + dict( + base=BASE, + files=[ + dict(path=p, sha256=hashlib.sha256((REPO / p).read_bytes()).hexdigest()) + for p in frozen + ], + original_files=sum(p.startswith("example_ComfyUI_workflows/") for p in frozen), + all_unchanged=True, + ), + ) + packages = [] + with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s: + for name in ["fixed_document.py", "source_reviews.json", "library.py"]: + raw = (REPO / "calliope-backend/src/calliope/comfyui" / name).read_bytes() + assert w.read("calliope/comfyui/" + name) == raw + member = next(n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name)) + assert s.extractfile(member).read() == raw + packages.append( + dict( + file=name, + sha256=hashlib.sha256(raw).hexdigest(), + wheel=True, + sdist=True, + definitions=25, + ) + ) + write("package-check.json", packages) + print( + "PASS actual 11938ca upgrade1/skip154, repe" + "at155, rollback1, edits1/29cols, fresh155," + " 1217/3660/294, 25 definitions, frozen bou" + "ndaries, wheel/sdist" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/recompute.txt b/docs/hel-892/watermark-document-evidence/recompute.txt new file mode 100644 index 00000000..6c5004da --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/recompute.txt @@ -0,0 +1,2 @@ +PASS 18 exact local originals and 35 citations; no upstream import +PASS actual 11938ca upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 25 definitions, frozen boundaries, wheel/sdist diff --git a/docs/hel-892/watermark-document-evidence/render_report.py b/docs/hel-892/watermark-document-evidence/render_report.py new file mode 100644 index 00000000..3fcffa16 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/render_report.py @@ -0,0 +1,117 @@ +"Readable complete Chinese definitions and fixed source index from delivered data." + +from __future__ import annotations + +import hashlib +import json +from pathlib import Path + +OUT = Path(__file__).resolve().parent + + +def main(): + lines = [ + "# 四种水印固定参考中文说明", + "", + ( + "56新顶层标量保存位置+0新注释;旧24图665保存位置+16注释逐对" + "象不变。25图721位置+16注释展示,155定稿0、实跑0、新增转换" + "0。" + ), + "", + ( + "复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说" + "明块和显式受信摘要,不改变转换/执行链。来源索引local_file以docs/hel-8" + "92/watermark-document-evidence为解析基准。" + ), + "", + ] + index = [] + for i in range(1): + b = json.loads((OUT / f"definition-{i}.json").read_bytes()) + lines += [ + "## " + Path(b["source_path"]).stem, + "", + b["user_overview"], + "", + b["notice"], + "", + "源路径:`" + b["source_path"] + "`", + "", + "SHA1:" + b["source_sha1"], + "", + "原字节SHA256:" + b["source_sha256"], + "", + "规范全图SHA256:" + b["canonical_sha256"], + "", + *[v + "\n" for v in b["versions"]], + "### 具体连线与处理条件", + "", + *[v + "\n" for v in b["flow"]], + "### 使用与核对", + "", + *[v + "\n" for v in b["steps"]], + "### 逐保存位置说明", + "", + ] + for j, f in enumerate(b["fields"], 1): + lines += [ + f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})", + "", + f["effect"], + "", + "```json", + json.dumps(f["value"], ensure_ascii=False, indent=2), + "```", + "", + f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。", + "", + "源位置:`" + f["pointer"] + "`", + "", + "定义默认:" + f["schema_default"] + ";单位:" + f["unit"], + "", + "范围/条件:" + f["limits"], + "", + f["execution_note"], + "", + "依据:", + ] + for k in f["evidence"]: + e = b["sources"][k] + lines += [ + f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;" + f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}" + ] + lines += [""] + lines += ["### 零保存节点与源注释", ""] + for z in b["zero_saved_nodes"]: + lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""] + for n in b["comments"]: + lines += [ + "节点" + n["node_id"] + ",位置`" + n["pointer"] + "`", + "", + n["meaning"], + "", + "```text", + n["text"], + "```", + "", + ] + lines += ["### 固定原件索引", ""] + for k, e in enumerate(b["sources"]): + data = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(data).hexdigest() == e["sha256"] + lines += [ + f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;" + f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}", + "", + ] + index.append(dict(document=b["source_path"], **e)) + (OUT.parent / "四种水印固定参考中文说明.md").write_text("\n".join(lines).rstrip() + "\n") + (OUT / "fixed-source-index.json").write_text( + json.dumps(index, ensure_ascii=False, indent=2) + "\n" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/repeat-final.txt b/docs/hel-892/watermark-document-evidence/repeat-final.txt new file mode 100644 index 00000000..df043325 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/repeat-final.txt @@ -0,0 +1 @@ +PASS deterministic definitions and rendered artifacts: zero difference diff --git a/docs/hel-892/watermark-document-evidence/repeat.py b/docs/hel-892/watermark-document-evidence/repeat.py new file mode 100644 index 00000000..515d9cec --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/repeat.py @@ -0,0 +1,42 @@ +"Compare deterministic definitions and rendered artifacts without repeating unrelated tests." + +import hashlib +import json + +from build_definition import OUT, REPO, canonical +from rebuild import RESOURCE, build_all +from render_report import main as render + + +def main(): + a, old = build_all() + b, previous = build_all() + assert a == b and old == previous + assert a == json.loads((REPO / RESOURCE).read_bytes()) + render() + paths = [ + OUT / "fixed-source-index.json", + OUT.parent / "四种水印固定参考中文说明.md", + ] + before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths} + render() + assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths} + (OUT / "repeatability.json").write_text( + json.dumps( + dict( + definitions=25, + repeated_build_equal=True, + repeated_render_equal=True, + resource_sha256=hashlib.sha256(canonical(a)).hexdigest(), + artifacts=before, + ), + ensure_ascii=False, + indent=2, + ) + + "\n" + ) + print(("PASS deterministic definitions and rendered artifacts: zero difference")) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/repeat.txt b/docs/hel-892/watermark-document-evidence/repeat.txt new file mode 100644 index 00000000..df043325 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/repeat.txt @@ -0,0 +1 @@ +PASS deterministic definitions and rendered artifacts: zero difference diff --git a/docs/hel-892/watermark-document-evidence/repeatability.json b/docs/hel-892/watermark-document-evidence/repeatability.json new file mode 100644 index 00000000..5bde6a99 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/repeatability.json @@ -0,0 +1,10 @@ +{ + "definitions": 25, + "repeated_build_equal": true, + "repeated_render_equal": true, + "resource_sha256": "c94b7529931405e08818f13ca4eb34ac1d79d1cdccac88acea1354568f5cc6f6", + "artifacts": { + "fixed-source-index.json": "6b1b5ad85b38d4ec914a71fc145634caaa9cf915fe73804efe8391cfc8acdec3", + "四种水印固定参考中文说明.md": "f9a2b5a4f2d55d2f93ce1943fc8ce1496e94b0fcbefcc28c16b82b5dba36187d" + } +} diff --git a/docs/hel-892/watermark-document-evidence/request-counts.txt b/docs/hel-892/watermark-document-evidence/request-counts.txt new file mode 100644 index 00000000..94cdfc07 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/request-counts.txt @@ -0,0 +1 @@ +{"total": 93, "fixed_count": 83, "polling_count": 10, "paths": {"/api/workflows": 3, "/api/workflows/11": 4, "/api/workflows/3": 4, "/api/workflows/9": 3, "/api/workflows/16": 3, "/api/workflows/10": 3, "/api/workflows/23": 3, "/api/workflows/8": 3, "/api/workflows/22": 3, "/api/workflows/5": 3, "/api/workflows/6": 3, "/api/workflows/7": 3, "/api/workflows/19": 3, "/api/workflows/13": 3, "/api/workflows/12": 3, "/api/workflows/64": 3, "/api/workflows/62": 3, "/api/workflows/70": 3, "/api/workflows/1": 3, "/api/workflows/36": 3, "/api/workflows/35": 3, "/api/workflows/2": 3, "/api/workflows/25": 3, "/api/workflows/24": 3, "/api/workflows/21": 3, "/api/workflows/14": 3, "/api/jobs": 10, "/api/settings": 1, "/api/workflows/156": 1, "/api/workflows/157": 1}, "readiness_included": 1, "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"} diff --git a/docs/hel-892/watermark-document-evidence/request_counts.py b/docs/hel-892/watermark-document-evidence/request_counts.py new file mode 100644 index 00000000..f471c9f8 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/request_counts.py @@ -0,0 +1,39 @@ +"""Count actual local server GETs separately from browser intercepted requests.""" + +import collections +import json +import re +from pathlib import Path + +OUT = Path(__file__).resolve().parent + + +def main(): + text = (OUT / "service-0.txt").read_text() + gets = re.findall(r'"GET ([^ ]+) HTTP/', text) + polling = [p for p in gets if p in ["/api/jobs", "/api/events"]] + result = dict( + total=len(gets), + fixed_count=len(gets) - len(polling), + polling_count=len(polling), + paths=dict(collections.Counter(gets)), + readiness_included=1, + reason=( + "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET," + "服务日志只含真正到后端者,不机械等同。" + "轮询可随计时边界±1,禁止请求始终零容忍。" + ), + ) + browser = json.loads((OUT / "browser-results.json").read_bytes()) + assert browser["errors"] == [] + assert all(r["method"] == "GET" for r in browser["requests"]) + assert all(not p.startswith("/api/view") for p in gets) + assert abs(result["polling_count"] - browser["request_accounting"]["polling_count"]) <= 1 + (OUT / "server-request-accounting.json").write_text( + json.dumps(result, ensure_ascii=False, indent=2) + "\n" + ) + print(json.dumps(result, ensure_ascii=False)) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-document-evidence/review-delta.json b/docs/hel-892/watermark-document-evidence/review-delta.json new file mode 100644 index 00000000..0232b682 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/review-delta.json @@ -0,0 +1,15 @@ +{ + "base": "11938ca837fac5acace9d9ef3555d54e224c3d1e", + "changed_paths": [ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json" + ], + "other_reviews_unchanged": 155, + "old_blocks_unchanged": 24, + "old_saved": 665, + "old_notes": 16, + "new_saved": 56, + "new_notes": 0, + "total_documents": 25, + "total_saved": 721, + "total_notes": 16 +} diff --git a/docs/hel-892/watermark-document-evidence/server-request-accounting.json b/docs/hel-892/watermark-document-evidence/server-request-accounting.json new file mode 100644 index 00000000..c232f464 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/server-request-accounting.json @@ -0,0 +1,39 @@ +{ + "total": 93, + "fixed_count": 83, + "polling_count": 10, + "paths": { + "/api/workflows": 3, + "/api/workflows/11": 4, + "/api/workflows/3": 4, + "/api/workflows/9": 3, + "/api/workflows/16": 3, + "/api/workflows/10": 3, + "/api/workflows/23": 3, + "/api/workflows/8": 3, + "/api/workflows/22": 3, + "/api/workflows/5": 3, + "/api/workflows/6": 3, + "/api/workflows/7": 3, + "/api/workflows/19": 3, + "/api/workflows/13": 3, + "/api/workflows/12": 3, + "/api/workflows/64": 3, + "/api/workflows/62": 3, + "/api/workflows/70": 3, + "/api/workflows/1": 3, + "/api/workflows/36": 3, + "/api/workflows/35": 3, + "/api/workflows/2": 3, + "/api/workflows/25": 3, + "/api/workflows/24": 3, + "/api/workflows/21": 3, + "/api/workflows/14": 3, + "/api/jobs": 10, + "/api/settings": 1, + "/api/workflows/156": 1, + "/api/workflows/157": 1 + }, + "readiness_included": 1, + "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。" +} diff --git a/docs/hel-892/watermark-document-evidence/service-0.txt b/docs/hel-892/watermark-document-evidence/service-0.txt new file mode 100644 index 00000000..c52830c6 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/service-0.txt @@ -0,0 +1,102 @@ +INFO: Started server process [647841] +INFO: Waiting for application startup. +INFO: Application startup complete. +INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit) +{'counts': {'imported': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}} +INFO: 127.0.0.1:38900 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38916 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38932 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38948 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:38944 - "GET /api/settings HTTP/1.1" 200 OK +INFO: 127.0.0.1:38954 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:38966 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58868 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:58878 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58890 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58894 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:58910 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58926 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58940 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:58956 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58962 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38218 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38226 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38240 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38250 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38260 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38272 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38282 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38298 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38310 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38320 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38332 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38346 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38360 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38368 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38380 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38386 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38398 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38412 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38428 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38434 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:38438 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:53876 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53880 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53894 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53904 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53910 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53926 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:53928 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53936 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53944 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53954 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:53968 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53976 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53980 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:53990 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:54004 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:54018 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:54032 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38128 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38138 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38146 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38150 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38152 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38162 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38174 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38178 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38190 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38202 - "GET /api/workflows/156 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38212 - "GET /api/workflows/157 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38214 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:38228 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:38234 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:38246 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: Shutting down +INFO: Waiting for application shutdown. +INFO: Application shutdown complete. +INFO: Finished server process [647841] diff --git a/docs/hel-892/watermark-document-evidence/service-1.txt b/docs/hel-892/watermark-document-evidence/service-1.txt new file mode 100644 index 00000000..7f377838 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/service-1.txt @@ -0,0 +1,11 @@ +▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json] + + tsconfig.json:2:12: + 2 │ "extends": "./.svelte-kit/tsconfig.json", + ╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +9:02:25 PM [vite] (client) Forced re-optimization of dependencies + + VITE v6.4.3 ready in 412 ms + + ➜ Local: http://127.0.0.1:5173/ diff --git a/docs/hel-892/watermark-document-evidence/service-stop.json b/docs/hel-892/watermark-document-evidence/service-stop.json new file mode 100644 index 00000000..0953222c --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/service-stop.json @@ -0,0 +1,7 @@ +{ + "ports_released": [ + 8247, + 5173 + ], + "runner_finally_stopped": true +} diff --git a/docs/hel-892/watermark-document-evidence/source-check.json b/docs/hel-892/watermark-document-evidence/source-check.json new file mode 100644 index 00000000..10351a26 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/source-check.json @@ -0,0 +1,128 @@ +{ + "local_file_base": "docs/hel-892/watermark-reference", + "files": [ + { + "local_file": "core__LICENSE", + "path": "LICENSE", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7" + }, + { + "local_file": "core__comfy_api__input_impl__video_types.py", + "path": "comfy_api/input_impl/video_types.py", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "sha256": "27c2f86c4c5407f93d7dfe3b38c78eab968c0c38fb6617c21c7e531912c9ee6d", + "git_blob_sha1": "bd2e56ad51a2fa2340e63409b9038de463af3b2d" + }, + { + "local_file": "core__nodes.py", + "path": "nodes.py", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79", + "git_blob_sha1": "0d422d418af3d044112f7264327f01558c87e384" + }, + { + "local_file": "camera____init__.py", + "path": "__init__.py", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee", + "git_blob_sha1": "b1a022b86fc8180a4af3ec7409286c230318e883" + }, + { + "local_file": "cr____init__.py", + "path": "__init__.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "f5648f54dad6044763ac2f5f75bb26ec7f24bb43a8c4a6f6be62e523efee2ff6", + "git_blob_sha1": "e5af18356e8765423954ea7c7d22b4f32fcdd9c0" + }, + { + "local_file": "cr__categories.py", + "path": "categories.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "9c84d8773c4281a1e8f7279c2467adc3a799c872d67fcd7309fb1973751f4840", + "git_blob_sha1": "db903be91ab290045d221884d90559c420c74bb4" + }, + { + "local_file": "cr__config.py", + "path": "config.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd", + "git_blob_sha1": "bd6eebacecfa67ebf7ebbf955e3d2f7c3a58a9de" + }, + { + "local_file": "cr__node_mappings.py", + "path": "node_mappings.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633", + "git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea" + }, + { + "local_file": "cr__nodes__functions_graphics.py", + "path": "nodes/functions_graphics.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2", + "git_blob_sha1": "afb0c13cc8b759ef4bd33ed0f65e5253097dfe20" + }, + { + "local_file": "cr__nodes__nodes_graphics_text.py", + "path": "nodes/nodes_graphics_text.py", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb", + "git_blob_sha1": "0ce1f5a742132c50c00be37829de45151fb31582" + }, + { + "local_file": "guhai____init__.py", + "path": "__init__.py", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952", + "git_blob_sha1": "d335c5f40f24a221373c92fe67e74e9c15104a21" + }, + { + "local_file": "guhai__nodes__图像添加水印.py", + "path": "nodes/图像添加水印.py", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0", + "git_blob_sha1": "e6e338f6d4b414f77ee4d2ed2e201a3ab39dd362" + }, + { + "local_file": "layer__LICENSE", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0" + }, + { + "local_file": "layer____init__.py", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59" + }, + { + "local_file": "layer__py__imagefunc.py", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6" + }, + { + "local_file": "layer__py__watermark.py", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903" + }, + { + "local_file": "layer__pyproject.toml", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a" + }, + { + "local_file": "layer__requirements.txt", + "registry_version": "2.0.38", + "git_commit_binding": "unknown", + "sha256": "d579cfdc2765b067277b4549d913b484db63474ce1c2db6c916551742f7e0e34" + } + ], + "citations": 35, + "no_upstream_execution": true, + "no_assets_fetched": true +} diff --git a/docs/hel-892/watermark-document-evidence/source-graphs.json b/docs/hel-892/watermark-document-evidence/source-graphs.json new file mode 100644 index 00000000..10c52c6b --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/source-graphs.json @@ -0,0 +1,1447 @@ +{ + "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 + ] +} diff --git a/docs/hel-892/watermark-document-evidence/staged-diff-check.txt b/docs/hel-892/watermark-document-evidence/staged-diff-check.txt new file mode 100644 index 00000000..6e33b72d --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/staged-diff-check.txt @@ -0,0 +1,2327 @@ +docs/hel-892/watermark-document-evidence/discovery.txt:6: new blank line at EOF. +docs/hel-892/watermark-reference/camera____init__.py:1: trailing whitespace. ++import torch +docs/hel-892/watermark-reference/camera____init__.py:2: trailing whitespace. ++import numpy as np +docs/hel-892/watermark-reference/camera____init__.py:3: trailing whitespace. ++from PIL import Image, ImageDraw, ImageFont +docs/hel-892/watermark-reference/camera____init__.py:4: trailing whitespace. ++import os +docs/hel-892/watermark-reference/camera____init__.py:5: trailing whitespace. ++import json +docs/hel-892/watermark-reference/camera____init__.py:6: trailing whitespace. ++import re +docs/hel-892/watermark-reference/camera____init__.py:7: trailing whitespace. ++import random +docs/hel-892/watermark-reference/camera____init__.py:8: trailing whitespace. ++from dataclasses import dataclass, field +docs/hel-892/watermark-reference/camera____init__.py:9: trailing whitespace. ++from typing import Optional, Tuple, List, Dict, Any +docs/hel-892/watermark-reference/camera____init__.py:10: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:11: trailing whitespace. ++# Author: KARAS +docs/hel-892/watermark-reference/camera____init__.py:12: trailing whitespace. ++# Version: 3.9.0 - Implemented dynamic scaling for small images +docs/hel-892/watermark-reference/camera____init__.py:13: trailing whitespace. ++# +docs/hel-892/watermark-reference/camera____init__.py:14: trailing whitespace. ++# --- 依赖导入 --- +docs/hel-892/watermark-reference/camera____init__.py:15: trailing whitespace. ++try: +docs/hel-892/watermark-reference/camera____init__.py:16: trailing whitespace. ++ import piexif +docs/hel-892/watermark-reference/camera____init__.py:17: trailing whitespace. ++except ImportError: +docs/hel-892/watermark-reference/camera____init__.py:18: trailing whitespace. ++ piexif = None +docs/hel-892/watermark-reference/camera____init__.py:19: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:20: trailing whitespace. ++# --- 插件资源路径设置 --- +docs/hel-892/watermark-reference/camera____init__.py:21: trailing whitespace. ++current_dir = os.path.dirname(os.path.abspath(__file__)) +docs/hel-892/watermark-reference/camera____init__.py:22: trailing whitespace. ++fonts_dir = os.path.join(current_dir, "fonts") +docs/hel-892/watermark-reference/camera____init__.py:23: trailing whitespace. ++logos_dir = os.path.join(current_dir, "logos") +docs/hel-892/watermark-reference/camera____init__.py:24: trailing whitespace. ++os.makedirs(fonts_dir, exist_ok=True) +docs/hel-892/watermark-reference/camera____init__.py:25: trailing whitespace. ++os.makedirs(logos_dir, exist_ok=True) +docs/hel-892/watermark-reference/camera____init__.py:26: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:27: trailing whitespace. ++# --- 资源扫描与缓存 --- +docs/hel-892/watermark-reference/camera____init__.py:28: trailing whitespace. ++def get_resource_files(directory: str, extensions: Tuple[str, ...]) -> List[str]: +docs/hel-892/watermark-reference/camera____init__.py:29: trailing whitespace. ++ """Scans a directory for files with given extensions.""" +docs/hel-892/watermark-reference/camera____init__.py:30: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:31: trailing whitespace. ++ return sorted([f for f in os.listdir(directory) if f.lower().endswith(extensions)]) +docs/hel-892/watermark-reference/camera____init__.py:32: trailing whitespace. ++ except FileNotFoundError: +docs/hel-892/watermark-reference/camera____init__.py:33: trailing whitespace. ++ return [] +docs/hel-892/watermark-reference/camera____init__.py:34: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:35: trailing whitespace. ++font_files = get_resource_files(fonts_dir, ('.ttf', '.ttc', '.otf')) or ["default"] +docs/hel-892/watermark-reference/camera____init__.py:36: trailing whitespace. ++bold_font_files = [f for f in font_files if 'bold' in f.lower() or 'bd' in f.lower()] or font_files +docs/hel-892/watermark-reference/camera____init__.py:37: trailing whitespace. ++logo_files = ["None"] + sorted([os.path.splitext(f)[0] for f in get_resource_files(logos_dir, ('.png',))]) +docs/hel-892/watermark-reference/camera____init__.py:38: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:39: trailing whitespace. ++# --- 预设数据 --- +docs/hel-892/watermark-reference/camera____init__.py:40: trailing whitespace. ++PHONE_MODELS = [ +docs/hel-892/watermark-reference/camera____init__.py:41: trailing whitespace. ++ "HUAWEI Pura 70 Ultra", "HUAWEI Pura 70 Pro", "HUAWEI Mate 60 Pro", +docs/hel-892/watermark-reference/camera____init__.py:42: trailing whitespace. ++ "iPhone 15 Pro Max", "iPhone 15 Pro", +docs/hel-892/watermark-reference/camera____init__.py:43: trailing whitespace. ++ "Samsung Galaxy S24 Ultra", "Xiaomi 14 Ultra", +docs/hel-892/watermark-reference/camera____init__.py:44: trailing whitespace. ++ "OPPO Find X7 Ultra", "vivo X100 Ultra", "Google Pixel 8 Pro", "自定义型号" +docs/hel-892/watermark-reference/camera____init__.py:45: trailing whitespace. ++] +docs/hel-892/watermark-reference/camera____init__.py:46: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:47: trailing whitespace. ++LAYOUT_OPTIONS = [ +docs/hel-892/watermark-reference/camera____init__.py:48: trailing whitespace. ++ "1. 底部留白 - 左右分布", +docs/hel-892/watermark-reference/camera____init__.py:49: trailing whitespace. ++ "2. 底部留白 - 居中", +docs/hel-892/watermark-reference/camera____init__.py:50: trailing whitespace. ++ "3. 右侧留白 - 上下竖排", +docs/hel-892/watermark-reference/camera____init__.py:51: trailing whitespace. ++ "4. 顶部 & 底部留白", +docs/hel-892/watermark-reference/camera____init__.py:52: trailing whitespace. ++ "5. 画内叠加 - 左下角", +docs/hel-892/watermark-reference/camera____init__.py:53: trailing whitespace. ++ "6. 画内叠加 - 右下角", +docs/hel-892/watermark-reference/camera____init__.py:54: trailing whitespace. ++ "7. 画内叠加 - 左上角", +docs/hel-892/watermark-reference/camera____init__.py:55: trailing whitespace. ++ "8. 画内叠加 - 右上角", +docs/hel-892/watermark-reference/camera____init__.py:56: trailing whitespace. ++ "9. 画内叠加 - 居中", +docs/hel-892/watermark-reference/camera____init__.py:57: trailing whitespace. ++ "10. 独立信息条" +docs/hel-892/watermark-reference/camera____init__.py:58: trailing whitespace. ++] +docs/hel-892/watermark-reference/camera____init__.py:59: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:60: trailing whitespace. ++LAYOUT_PRESETS = { +docs/hel-892/watermark-reference/camera____init__.py:61: trailing whitespace. ++ LAYOUT_OPTIONS[0]: { +docs/hel-892/watermark-reference/camera____init__.py:62: trailing whitespace. ++ "logo": "leica", +docs/hel-892/watermark-reference/camera____init__.py:63: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:64: trailing whitespace. ++ "bar_size": 200, +docs/hel-892/watermark-reference/camera____init__.py:65: trailing whitespace. ++ "bg_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:66: trailing whitespace. ++ "title_color": "#000000", +docs/hel-892/watermark-reference/camera____init__.py:67: trailing whitespace. ++ "subtitle_color": "#888888", +docs/hel-892/watermark-reference/camera____init__.py:68: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:69: trailing whitespace. ++ LAYOUT_OPTIONS[1]: { +docs/hel-892/watermark-reference/camera____init__.py:70: trailing whitespace. ++ "block_b_text_1": "", +docs/hel-892/watermark-reference/camera____init__.py:71: trailing whitespace. ++ "block_a_text_1": "", +docs/hel-892/watermark-reference/camera____init__.py:72: trailing whitespace. ++ "block_a_text_2": "", +docs/hel-892/watermark-reference/camera____init__.py:73: trailing whitespace. ++ "logo": "hasselblad", +docs/hel-892/watermark-reference/camera____init__.py:74: trailing whitespace. ++ "logo_size_ratio": 1, +docs/hel-892/watermark-reference/camera____init__.py:75: trailing whitespace. ++ "bg_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:76: trailing whitespace. ++ "title_color": "#000000", +docs/hel-892/watermark-reference/camera____init__.py:77: trailing whitespace. ++ "subtitle_color": "#888888", +docs/hel-892/watermark-reference/camera____init__.py:78: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:79: trailing whitespace. ++ LAYOUT_OPTIONS[2]: { +docs/hel-892/watermark-reference/camera____init__.py:80: trailing whitespace. ++ "bar_size": 300, +docs/hel-892/watermark-reference/camera____init__.py:81: trailing whitespace. ++ "block_a_text_2": "", +docs/hel-892/watermark-reference/camera____init__.py:82: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:83: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:84: trailing whitespace. ++ LAYOUT_OPTIONS[3]: { +docs/hel-892/watermark-reference/camera____init__.py:85: trailing whitespace. ++ "bar_size": 150, +docs/hel-892/watermark-reference/camera____init__.py:86: trailing whitespace. ++ "block_a_text_2": "", +docs/hel-892/watermark-reference/camera____init__.py:87: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:88: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:89: trailing whitespace. ++ LAYOUT_OPTIONS[4]: { +docs/hel-892/watermark-reference/camera____init__.py:90: trailing whitespace. ++ "logo": "zeiss", +docs/hel-892/watermark-reference/camera____init__.py:91: trailing whitespace. ++ "title_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:92: trailing whitespace. ++ "subtitle_color": "#CCCCCC", +docs/hel-892/watermark-reference/camera____init__.py:93: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:94: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:95: trailing whitespace. ++ LAYOUT_OPTIONS[5]: { +docs/hel-892/watermark-reference/camera____init__.py:96: trailing whitespace. ++ "logo": "zeiss", +docs/hel-892/watermark-reference/camera____init__.py:97: trailing whitespace. ++ "title_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:98: trailing whitespace. ++ "subtitle_color": "#CCCCCC", +docs/hel-892/watermark-reference/camera____init__.py:99: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:100: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:101: trailing whitespace. ++ LAYOUT_OPTIONS[6]: { +docs/hel-892/watermark-reference/camera____init__.py:102: trailing whitespace. ++ "logo": "zeiss", +docs/hel-892/watermark-reference/camera____init__.py:103: trailing whitespace. ++ "title_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:104: trailing whitespace. ++ "subtitle_color": "#CCCCCC", +docs/hel-892/watermark-reference/camera____init__.py:105: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:106: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:107: trailing whitespace. ++ LAYOUT_OPTIONS[7]: { +docs/hel-892/watermark-reference/camera____init__.py:108: trailing whitespace. ++ "logo": "zeiss", +docs/hel-892/watermark-reference/camera____init__.py:109: trailing whitespace. ++ "title_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:110: trailing whitespace. ++ "subtitle_color": "#CCCCCC", +docs/hel-892/watermark-reference/camera____init__.py:111: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:112: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:113: trailing whitespace. ++ LAYOUT_OPTIONS[8]: { +docs/hel-892/watermark-reference/camera____init__.py:114: trailing whitespace. ++ "logo": "zeiss", +docs/hel-892/watermark-reference/camera____init__.py:115: trailing whitespace. ++ "title_color": "#FFFFFF", +docs/hel-892/watermark-reference/camera____init__.py:116: trailing whitespace. ++ "subtitle_color": "#CCCCCC", +docs/hel-892/watermark-reference/camera____init__.py:117: trailing whitespace. ++ "logo_size_ratio": 1.0, +docs/hel-892/watermark-reference/camera____init__.py:118: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:119: trailing whitespace. ++} +docs/hel-892/watermark-reference/camera____init__.py:120: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:121: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:122: trailing whitespace. ++# ----------------------------------------------------------------- +docs/hel-892/watermark-reference/camera____init__.py:123: trailing whitespace. ++# 节点 1: 加载图片/附加EXIF +docs/hel-892/watermark-reference/camera____init__.py:124: trailing whitespace. ++# ----------------------------------------------------------------- +docs/hel-892/watermark-reference/camera____init__.py:125: trailing whitespace. ++class ImageLoaderWithEXIF: +docs/hel-892/watermark-reference/camera____init__.py:126: trailing whitespace. ++ @classmethod +docs/hel-892/watermark-reference/camera____init__.py:127: trailing whitespace. ++ def INPUT_TYPES(s): +docs/hel-892/watermark-reference/camera____init__.py:128: trailing whitespace. ++ input_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "input") +docs/hel-892/watermark-reference/camera____init__.py:129: trailing whitespace. ++ files = get_resource_files(input_dir, ('.jpg', '.jpeg', '.png', '.webp')) +docs/hel-892/watermark-reference/camera____init__.py:130: trailing whitespace. ++ return { +docs/hel-892/watermark-reference/camera____init__.py:131: trailing whitespace. ++ "required": { "image_file": (sorted(files), {"image_upload": True}) }, +docs/hel-892/watermark-reference/camera____init__.py:132: trailing whitespace. ++ "optional": { "image_passthrough": ("IMAGE",) } +docs/hel-892/watermark-reference/camera____init__.py:133: trailing whitespace. ++ } +docs/hel-892/watermark-reference/camera____init__.py:134: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:135: trailing whitespace. ++ RETURN_TYPES = ("IMAGE", "STRING") +docs/hel-892/watermark-reference/camera____init__.py:136: trailing whitespace. ++ RETURN_NAMES = ("image", "exif_json") +docs/hel-892/watermark-reference/camera____init__.py:137: trailing whitespace. ++ FUNCTION = "load_or_passthrough" +docs/hel-892/watermark-reference/camera____init__.py:138: trailing whitespace. ++ CATEGORY = "Watermark" +docs/hel-892/watermark-reference/camera____init__.py:139: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:140: trailing whitespace. ++ def load_or_passthrough(self, image_file: str, image_passthrough: Optional[torch.Tensor] = None) -> Tuple[torch.Tensor, str]: +docs/hel-892/watermark-reference/camera____init__.py:141: trailing whitespace. ++ if piexif is None: +docs/hel-892/watermark-reference/camera____init__.py:142: trailing whitespace. ++ raise ImportError("需要 'piexif' 库。请运行: pip install piexif") +docs/hel-892/watermark-reference/camera____init__.py:143: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:144: trailing whitespace. ++ image_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "input", image_file) +docs/hel-892/watermark-reference/camera____init__.py:145: trailing whitespace. ++ output_exif_json = "{}" +docs/hel-892/watermark-reference/camera____init__.py:146: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:147: trailing whitespace. ++ with Image.open(image_path) as img_for_exif: +docs/hel-892/watermark-reference/camera____init__.py:148: trailing whitespace. ++ if 'exif' in img_for_exif.info and img_for_exif.info['exif']: +docs/hel-892/watermark-reference/camera____init__.py:149: trailing whitespace. ++ exif_dict = piexif.load(img_for_exif.info['exif']) +docs/hel-892/watermark-reference/camera____init__.py:150: trailing whitespace. ++ exif_data = self.parse_exif(exif_dict) +docs/hel-892/watermark-reference/camera____init__.py:151: trailing whitespace. ++ output_exif_json = json.dumps(exif_data) +docs/hel-892/watermark-reference/camera____init__.py:152: trailing whitespace. ++ except Exception as e: +docs/hel-892/watermark-reference/camera____init__.py:153: trailing whitespace. ++ print(f"无法从 '{image_file}' 读取EXIF: {e}") +docs/hel-892/watermark-reference/camera____init__.py:154: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:155: trailing whitespace. ++ if image_passthrough is not None: +docs/hel-892/watermark-reference/camera____init__.py:156: trailing whitespace. ++ return (image_passthrough, output_exif_json) +docs/hel-892/watermark-reference/camera____init__.py:157: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:158: trailing whitespace. ++ with Image.open(image_path) as img: +docs/hel-892/watermark-reference/camera____init__.py:159: trailing whitespace. ++ img_rgb = img.convert("RGB") +docs/hel-892/watermark-reference/camera____init__.py:160: trailing whitespace. ++ if "exif" in img.info: +docs/hel-892/watermark-reference/camera____init__.py:161: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:162: trailing whitespace. ++ exif_dict = piexif.load(img.info["exif"]) +docs/hel-892/watermark-reference/camera____init__.py:163: trailing whitespace. ++ orientation = exif_dict.get("0th", {}).get(piexif.ImageIFD.Orientation, 1) +docs/hel-892/watermark-reference/camera____init__.py:164: trailing whitespace. ++ if orientation > 1: +docs/hel-892/watermark-reference/camera____init__.py:165: trailing whitespace. ++ img_rgb = self.apply_exif_orientation(img_rgb, orientation) +docs/hel-892/watermark-reference/camera____init__.py:166: trailing whitespace. ++ except Exception as e: +docs/hel-892/watermark-reference/camera____init__.py:167: trailing whitespace. ++ print(f"处理EXIF方向时出错: {e}") +docs/hel-892/watermark-reference/camera____init__.py:168: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:169: trailing whitespace. ++ image_tensor = np.array(img_rgb).astype(np.float32) / 255.0 +docs/hel-892/watermark-reference/camera____init__.py:170: trailing whitespace. ++ return (torch.from_numpy(image_tensor)[None,], output_exif_json) +docs/hel-892/watermark-reference/camera____init__.py:171: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:172: trailing whitespace. ++ def apply_exif_orientation(self, image: Image.Image, orientation: int) -> Image.Image: +docs/hel-892/watermark-reference/camera____init__.py:173: trailing whitespace. ++ """Applies EXIF orientation to the image.""" +docs/hel-892/watermark-reference/camera____init__.py:174: trailing whitespace. ++ if orientation == 2: return image.transpose(Image.FLIP_LEFT_RIGHT) +docs/hel-892/watermark-reference/camera____init__.py:175: trailing whitespace. ++ if orientation == 3: return image.rotate(180) +docs/hel-892/watermark-reference/camera____init__.py:176: trailing whitespace. ++ if orientation == 4: return image.transpose(Image.FLIP_TOP_BOTTOM) +docs/hel-892/watermark-reference/camera____init__.py:177: trailing whitespace. ++ if orientation == 5: return image.rotate(-90, expand=True).transpose(Image.FLIP_LEFT_RIGHT) +docs/hel-892/watermark-reference/camera____init__.py:178: trailing whitespace. ++ if orientation == 6: return image.rotate(-90, expand=True) +docs/hel-892/watermark-reference/camera____init__.py:179: trailing whitespace. ++ if orientation == 7: return image.rotate(90, expand=True).transpose(Image.FLIP_LEFT_RIGHT) +docs/hel-892/watermark-reference/camera____init__.py:180: trailing whitespace. ++ if orientation == 8: return image.rotate(90, expand=True) +docs/hel-892/watermark-reference/camera____init__.py:181: trailing whitespace. ++ return image +docs/hel-892/watermark-reference/camera____init__.py:182: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:183: trailing whitespace. ++ def parse_exif(self, exif_dict: Dict) -> Dict[str, Any]: +docs/hel-892/watermark-reference/camera____init__.py:184: trailing whitespace. ++ """Parses raw EXIF data into a structured dictionary.""" +docs/hel-892/watermark-reference/camera____init__.py:185: trailing whitespace. ++ exif_data = {} +docs/hel-892/watermark-reference/camera____init__.py:186: trailing whitespace. ++ zeroth_ifd = exif_dict.get('0th', {}) +docs/hel-892/watermark-reference/camera____init__.py:187: trailing whitespace. ++ exif_ifd = exif_dict.get('Exif', {}) +docs/hel-892/watermark-reference/camera____init__.py:188: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:189: trailing whitespace. ++ if piexif.ImageIFD.Make in zeroth_ifd: +docs/hel-892/watermark-reference/camera____init__.py:190: trailing whitespace. ++ exif_data['Make'] = zeroth_ifd[piexif.ImageIFD.Make].decode('utf-8', errors='ignore').strip('\x00').strip() +docs/hel-892/watermark-reference/camera____init__.py:191: trailing whitespace. ++ if piexif.ImageIFD.Model in zeroth_ifd: +docs/hel-892/watermark-reference/camera____init__.py:192: trailing whitespace. ++ exif_data['Model'] = zeroth_ifd[piexif.ImageIFD.Model].decode('utf-8', errors='ignore').strip('\x00').strip() +docs/hel-892/watermark-reference/camera____init__.py:193: trailing whitespace. ++ if piexif.ExifIFD.LensModel in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:194: trailing whitespace. ++ exif_data['LensModel'] = exif_ifd[piexif.ExifIFD.LensModel].decode('utf-8', errors='ignore').strip('\x00').strip() +docs/hel-892/watermark-reference/camera____init__.py:195: trailing whitespace. ++ if piexif.ExifIFD.DateTimeOriginal in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:196: trailing whitespace. ++ exif_data['Timestamp'] = exif_ifd[piexif.ExifIFD.DateTimeOriginal].decode('utf-8', errors='ignore').strip('\x00').strip() +docs/hel-892/watermark-reference/camera____init__.py:197: trailing whitespace. ++ if piexif.ExifIFD.FNumber in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:198: trailing whitespace. ++ f_num = exif_ifd[piexif.ExifIFD.FNumber] +docs/hel-892/watermark-reference/camera____init__.py:199: trailing whitespace. ++ exif_data['Aperture'] = f"f/{(f_num[0]/f_num[1]):.1f}" if f_num[1] > 0 else "f/0.0" +docs/hel-892/watermark-reference/camera____init__.py:200: trailing whitespace. ++ if piexif.ExifIFD.ExposureTime in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:201: trailing whitespace. ++ exp = exif_ifd[piexif.ExifIFD.ExposureTime] +docs/hel-892/watermark-reference/camera____init__.py:202: trailing whitespace. ++ if exp[0] > 0 and exp[1] > 0: +docs/hel-892/watermark-reference/camera____init__.py:203: trailing whitespace. ++ shutter = exp[0] / exp[1] +docs/hel-892/watermark-reference/camera____init__.py:204: trailing whitespace. ++ exif_data['ShutterSpeed'] = f"1/{int(1/shutter)}s" if shutter < 1 else f"{shutter}s" +docs/hel-892/watermark-reference/camera____init__.py:205: trailing whitespace. ++ if piexif.ExifIFD.ISOSpeedRatings in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:206: trailing whitespace. ++ exif_data['ISO'] = f"ISO{exif_ifd[piexif.ExifIFD.ISOSpeedRatings]}" +docs/hel-892/watermark-reference/camera____init__.py:207: trailing whitespace. ++ if piexif.ExifIFD.FocalLength in exif_ifd: +docs/hel-892/watermark-reference/camera____init__.py:208: trailing whitespace. ++ focal = exif_ifd[piexif.ExifIFD.FocalLength] +docs/hel-892/watermark-reference/camera____init__.py:209: trailing whitespace. ++ if focal[1] > 0: +docs/hel-892/watermark-reference/camera____init__.py:210: trailing whitespace. ++ exif_data['FocalLength'] = f"{int(focal[0]/focal[1])}mm" +docs/hel-892/watermark-reference/camera____init__.py:211: trailing whitespace. ++ return exif_data +docs/hel-892/watermark-reference/camera____init__.py:212: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:213: trailing whitespace. ++# ----------------------------------------------------------------- +docs/hel-892/watermark-reference/camera____init__.py:214: trailing whitespace. ++# 节点 2: 相机水印生成器 +docs/hel-892/watermark-reference/camera____init__.py:215: trailing whitespace. ++# ----------------------------------------------------------------- +docs/hel-892/watermark-reference/camera____init__.py:216: trailing whitespace. ++@dataclass +docs/hel-892/watermark-reference/camera____init__.py:217: trailing whitespace. ++class TextContent: +docs/hel-892/watermark-reference/camera____init__.py:218: trailing whitespace. ++ block_a: List[str] +docs/hel-892/watermark-reference/camera____init__.py:219: trailing whitespace. ++ block_b: List[str] +docs/hel-892/watermark-reference/camera____init__.py:220: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:221: trailing whitespace. ++@dataclass +docs/hel-892/watermark-reference/camera____init__.py:222: trailing whitespace. ++class TextBlock: +docs/hel-892/watermark-reference/camera____init__.py:223: trailing whitespace. ++ lines: List[Tuple[str, ImageFont.FreeTypeFont, str]] = field(default_factory=list) +docs/hel-892/watermark-reference/camera____init__.py:224: trailing whitespace. ++ width: int = 0 +docs/hel-892/watermark-reference/camera____init__.py:225: trailing whitespace. ++ height: int = 0 +docs/hel-892/watermark-reference/camera____init__.py:226: trailing whitespace. ++ line_bboxes: List[Tuple[int, int, int, int]] = field(default_factory=list) +docs/hel-892/watermark-reference/camera____init__.py:227: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:228: trailing whitespace. ++class CameraWatermarkNode: +docs/hel-892/watermark-reference/camera____init__.py:229: trailing whitespace. ++ _font_cache = {} +docs/hel-892/watermark-reference/camera____init__.py:230: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:231: trailing whitespace. ++ @classmethod +docs/hel-892/watermark-reference/camera____init__.py:232: trailing whitespace. ++ def INPUT_TYPES(s): +docs/hel-892/watermark-reference/camera____init__.py:233: trailing whitespace. ++ return { +docs/hel-892/watermark-reference/camera____init__.py:234: trailing whitespace. ++ "required": { +docs/hel-892/watermark-reference/camera____init__.py:235: trailing whitespace. ++ "image": ("IMAGE",), +docs/hel-892/watermark-reference/camera____init__.py:236: trailing whitespace. ++ "layout": (LAYOUT_OPTIONS,), +docs/hel-892/watermark-reference/camera____init__.py:237: trailing whitespace. ++ "restore_preset": ("BOOLEAN", {"default": False, "label_on": "应用当前样式预设", "label_off": "应用当前样式预设"}), +docs/hel-892/watermark-reference/camera____init__.py:238: trailing whitespace. ++ "randomize_style": ("BOOLEAN", {"default": False}), +docs/hel-892/watermark-reference/camera____init__.py:239: trailing whitespace. ++ "random_style_selection": ("STRING", {"multiline": False, "default": "1-10"}), +docs/hel-892/watermark-reference/camera____init__.py:240: trailing whitespace. ++ "seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff}), +docs/hel-892/watermark-reference/camera____init__.py:241: trailing whitespace. ++ "use_exif": ("BOOLEAN", {"default": True}), +docs/hel-892/watermark-reference/camera____init__.py:242: trailing whitespace. ++ "block_a_text_1": ("STRING", {"multiline": False, "default": "iPhone 15 Pro Max"}), +docs/hel-892/watermark-reference/camera____init__.py:243: trailing whitespace. ++ "block_a_text_2": ("STRING", {"multiline": False, "default": "Main Camera"}), +docs/hel-892/watermark-reference/camera____init__.py:244: trailing whitespace. ++ "block_a_text_3": ("STRING", {"multiline": False, "default": "© KARAS"}), +docs/hel-892/watermark-reference/camera____init__.py:245: trailing whitespace. ++ "block_b_text_1": ("STRING", {"multiline": False, "default": "SONY"}), +docs/hel-892/watermark-reference/camera____init__.py:246: trailing whitespace. ++ "block_b_text_2": ("STRING", {"multiline": False, "default": "24mm | f/1.8 | 1/125s | ISO 50"}), +docs/hel-892/watermark-reference/camera____init__.py:247: trailing whitespace. ++ "block_b_text_3": ("STRING", {"multiline": False, "default": ""}), +docs/hel-892/watermark-reference/camera____init__.py:248: trailing whitespace. ++ "logo": (logo_files, {"default": "leica" if "leica" in [lf.lower() for lf in logo_files] else logo_files[0]}), +docs/hel-892/watermark-reference/camera____init__.py:249: trailing whitespace. ++ "logo_size_ratio": ("FLOAT", {"default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1}), +docs/hel-892/watermark-reference/camera____init__.py:250: trailing whitespace. ++ "bar_size": ("INT", {"default": 200, "min": 0, "max": 2048, "step": 10}), +docs/hel-892/watermark-reference/camera____init__.py:251: trailing whitespace. ++ "bar_width": ("INT", {"default": 1894, "min": 64, "max": 8192, "step": 64}), +docs/hel-892/watermark-reference/camera____init__.py:252: trailing whitespace. ++ "bar_height": ("INT", {"default": 165, "min": 64, "max": 8192, "step": 64}), +docs/hel-892/watermark-reference/camera____init__.py:253: trailing whitespace. ++ "padding": ("INT", {"default": 50, "min": 0, "max": 400, "step": 1}), +docs/hel-892/watermark-reference/camera____init__.py:254: trailing whitespace. ++ "spacing": ("INT", {"default": 15, "min": 0, "max": 200, "step": 1}), +docs/hel-892/watermark-reference/camera____init__.py:255: trailing whitespace. ++ "font_name": (font_files, {}), +docs/hel-892/watermark-reference/camera____init__.py:256: trailing whitespace. ++ "font_bold_name": (bold_font_files, {}), +docs/hel-892/watermark-reference/camera____init__.py:257: trailing whitespace. ++ "font_size_large": ("INT", {"default": 48, "min": 8, "max": 200, "step": 1}), +docs/hel-892/watermark-reference/camera____init__.py:258: trailing whitespace. ++ "font_size_medium": ("INT", {"default": 28, "min": 8, "max": 200, "step": 1}), +docs/hel-892/watermark-reference/camera____init__.py:259: trailing whitespace. ++ "font_size_small": ("INT", {"default": 24, "min": 8, "max": 200, "step": 1}), +docs/hel-892/watermark-reference/camera____init__.py:260: trailing whitespace. ++ "bg_color": ("STRING", {"multiline": False, "default": "#FFFFFF"}), +docs/hel-892/watermark-reference/camera____init__.py:261: trailing whitespace. ++ "title_color": ("STRING", {"multiline": False, "default": "#000000"}), +docs/hel-892/watermark-reference/camera____init__.py:262: trailing whitespace. ++ "subtitle_color": ("STRING", {"multiline": False, "default": "#888888"}), +docs/hel-892/watermark-reference/camera____init__.py:263: trailing whitespace. ++ }, +docs/hel-892/watermark-reference/camera____init__.py:264: trailing whitespace. ++ "optional": { "exif_data": ("STRING", {"forceInput": True}), } +docs/hel-892/watermark-reference/camera____init__.py:265: trailing whitespace. ++ } +docs/hel-892/watermark-reference/camera____init__.py:266: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:267: trailing whitespace. ++ RETURN_TYPES = ("IMAGE",) +docs/hel-892/watermark-reference/camera____init__.py:268: trailing whitespace. ++ FUNCTION = "generate_image" +docs/hel-892/watermark-reference/camera____init__.py:269: trailing whitespace. ++ CATEGORY = "Watermark" +docs/hel-892/watermark-reference/camera____init__.py:270: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:271: trailing whitespace. ++ def tensor_to_pil(self, tensor: torch.Tensor) -> Optional[Image.Image]: +docs/hel-892/watermark-reference/camera____init__.py:272: trailing whitespace. ++ if tensor is None: return None +docs/hel-892/watermark-reference/camera____init__.py:273: trailing whitespace. ++ return Image.fromarray(np.clip(255. * tensor.cpu().numpy().squeeze(0), 0, 255).astype(np.uint8)) +docs/hel-892/watermark-reference/camera____init__.py:274: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:275: trailing whitespace. ++ def pil_to_tensor(self, pil_image: Image.Image) -> torch.Tensor: +docs/hel-892/watermark-reference/camera____init__.py:276: trailing whitespace. ++ return torch.from_numpy(np.array(pil_image).astype(np.float32) / 255.0).unsqueeze(0) +docs/hel-892/watermark-reference/camera____init__.py:277: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:278: trailing whitespace. ++ def get_font(self, font_name: str, size: int) -> ImageFont.FreeTypeFont: +docs/hel-892/watermark-reference/camera____init__.py:279: trailing whitespace. ++ cache_key = f"{font_name}_{size}" +docs/hel-892/watermark-reference/camera____init__.py:280: trailing whitespace. ++ if cache_key in self._font_cache: +docs/hel-892/watermark-reference/camera____init__.py:281: trailing whitespace. ++ return self._font_cache[cache_key] +docs/hel-892/watermark-reference/camera____init__.py:282: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:283: trailing whitespace. ++ if not font_name or font_name == "default": +docs/hel-892/watermark-reference/camera____init__.py:284: trailing whitespace. ++ try: font = ImageFont.load_default(size=size) +docs/hel-892/watermark-reference/camera____init__.py:285: trailing whitespace. ++ except AttributeError: font = ImageFont.load_default() +docs/hel-892/watermark-reference/camera____init__.py:286: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:287: trailing whitespace. ++ font_path = os.path.join(fonts_dir, font_name) +docs/hel-892/watermark-reference/camera____init__.py:288: trailing whitespace. ++ try: font = ImageFont.truetype(font_path, size=size) +docs/hel-892/watermark-reference/camera____init__.py:289: trailing whitespace. ++ except Exception as e: +docs/hel-892/watermark-reference/camera____init__.py:290: trailing whitespace. ++ print(f"警告: 无法加载字体 '{font_name}'。错误: {e}") +docs/hel-892/watermark-reference/camera____init__.py:291: trailing whitespace. ++ try: font = ImageFont.load_default(size=size) +docs/hel-892/watermark-reference/camera____init__.py:292: trailing whitespace. ++ except AttributeError: font = ImageFont.load_default() +docs/hel-892/watermark-reference/camera____init__.py:293: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:294: trailing whitespace. ++ self._font_cache[cache_key] = font +docs/hel-892/watermark-reference/camera____init__.py:295: trailing whitespace. ++ return font +docs/hel-892/watermark-reference/camera____init__.py:296: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:297: trailing whitespace. ++ def get_text_bbox(self, text: str, font: ImageFont.FreeTypeFont) -> Tuple[int, int, int, int]: +docs/hel-892/watermark-reference/camera____init__.py:298: trailing whitespace. ++ if hasattr(font, 'getbbox'): +docs/hel-892/watermark-reference/camera____init__.py:299: trailing whitespace. ++ return font.getbbox(text) +docs/hel-892/watermark-reference/camera____init__.py:300: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:301: trailing whitespace. ++ w, h = font.getsize(text) +docs/hel-892/watermark-reference/camera____init__.py:302: trailing whitespace. ++ return (0, 0, w, h) +docs/hel-892/watermark-reference/camera____init__.py:303: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:304: trailing whitespace. ++ def _crop_transparent_border(self, pil_image: Image.Image) -> Image.Image: +docs/hel-892/watermark-reference/camera____init__.py:305: trailing whitespace. ++ """Crops the transparent border from a PIL image.""" +docs/hel-892/watermark-reference/camera____init__.py:306: trailing whitespace. ++ if pil_image.mode != "RGBA": +docs/hel-892/watermark-reference/camera____init__.py:307: trailing whitespace. ++ return pil_image +docs/hel-892/watermark-reference/camera____init__.py:308: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:309: trailing whitespace. ++ bbox = pil_image.getbbox() +docs/hel-892/watermark-reference/camera____init__.py:310: trailing whitespace. ++ if bbox: +docs/hel-892/watermark-reference/camera____init__.py:311: trailing whitespace. ++ return pil_image.crop(bbox) +docs/hel-892/watermark-reference/camera____init__.py:312: trailing whitespace. ++ return pil_image +docs/hel-892/watermark-reference/camera____init__.py:313: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:314: trailing whitespace. ++ def _parse_range_string(self, range_string: str) -> List[int]: +docs/hel-892/watermark-reference/camera____init__.py:315: trailing whitespace. ++ numbers = set() +docs/hel-892/watermark-reference/camera____init__.py:316: trailing whitespace. ++ parts = range_string.split(',') +docs/hel-892/watermark-reference/camera____init__.py:317: trailing whitespace. ++ for part in parts: +docs/hel-892/watermark-reference/camera____init__.py:318: trailing whitespace. ++ part = part.strip() +docs/hel-892/watermark-reference/camera____init__.py:319: trailing whitespace. ++ if not part: continue +docs/hel-892/watermark-reference/camera____init__.py:320: trailing whitespace. ++ if '-' in part: +docs/hel-892/watermark-reference/camera____init__.py:321: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:322: trailing whitespace. ++ start, end = map(int, part.split('-')) +docs/hel-892/watermark-reference/camera____init__.py:323: trailing whitespace. ++ if start <= end: +docs/hel-892/watermark-reference/camera____init__.py:324: trailing whitespace. ++ numbers.update(range(start, end + 1)) +docs/hel-892/watermark-reference/camera____init__.py:325: trailing whitespace. ++ except ValueError: +docs/hel-892/watermark-reference/camera____init__.py:326: trailing whitespace. ++ print(f"警告: 无效的范围 '{part}' in random style selection.") +docs/hel-892/watermark-reference/camera____init__.py:327: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:328: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:329: trailing whitespace. ++ numbers.add(int(part)) +docs/hel-892/watermark-reference/camera____init__.py:330: trailing whitespace. ++ except ValueError: +docs/hel-892/watermark-reference/camera____init__.py:331: trailing whitespace. ++ print(f"警告: 无效的数字 '{part}' in random style selection.") +docs/hel-892/watermark-reference/camera____init__.py:332: trailing whitespace. ++ return sorted(list(numbers)) +docs/hel-892/watermark-reference/camera____init__.py:333: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:334: trailing whitespace. ++ def _prepare_content(self, **kwargs) -> Tuple[TextContent, str]: +docs/hel-892/watermark-reference/camera____init__.py:335: trailing whitespace. ++ exif_data_str = kwargs.get('exif_data') +docs/hel-892/watermark-reference/camera____init__.py:336: trailing whitespace. ++ has_valid_exif = kwargs['use_exif'] and exif_data_str and exif_data_str.strip() != "{}" +docs/hel-892/watermark-reference/camera____init__.py:337: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:338: trailing whitespace. ++ b_a1, b_a2, b_a3 = kwargs['block_a_text_1'], kwargs['block_a_text_2'], kwargs['block_a_text_3'] +docs/hel-892/watermark-reference/camera____init__.py:339: trailing whitespace. ++ b_b1, b_b2, b_b3 = kwargs['block_b_text_1'], kwargs['block_b_text_2'], kwargs['block_b_text_3'] +docs/hel-892/watermark-reference/camera____init__.py:340: trailing whitespace. ++ logo_match_source = b_a1.lower() +docs/hel-892/watermark-reference/camera____init__.py:341: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:342: trailing whitespace. ++ if has_valid_exif: +docs/hel-892/watermark-reference/camera____init__.py:343: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:344: trailing whitespace. ++ data = json.loads(exif_data_str) +docs/hel-892/watermark-reference/camera____init__.py:345: trailing whitespace. ++ param_parts = [data.get("FocalLength"), data.get("Aperture"), data.get("ShutterSpeed"), data.get("ISO")] +docs/hel-892/watermark-reference/camera____init__.py:346: trailing whitespace. ++ b_a1 = data.get("Model", "") +docs/hel-892/watermark-reference/camera____init__.py:347: trailing whitespace. ++ b_a2 = data.get("LensModel", "") +docs/hel-892/watermark-reference/camera____init__.py:348: trailing whitespace. ++ b_a3 = kwargs.get('author', '© KARAS') +docs/hel-892/watermark-reference/camera____init__.py:349: trailing whitespace. ++ b_b1 = data.get("Make", "") +docs/hel-892/watermark-reference/camera____init__.py:350: trailing whitespace. ++ b_b2 = " | ".join(filter(None, param_parts)) +docs/hel-892/watermark-reference/camera____init__.py:351: trailing whitespace. ++ b_b3 = data.get("Timestamp", "") +docs/hel-892/watermark-reference/camera____init__.py:352: trailing whitespace. ++ logo_match_source = data.get("Make", "").lower() +docs/hel-892/watermark-reference/camera____init__.py:353: trailing whitespace. ++ except (json.JSONDecodeError, KeyError) as e: +docs/hel-892/watermark-reference/camera____init__.py:354: trailing whitespace. ++ print(f"无法解析EXIF: {e}") +docs/hel-892/watermark-reference/camera____init__.py:355: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:356: trailing whitespace. ++ content = TextContent(block_a=[b_a1, b_a2, b_a3], block_b=[b_b1, b_b2, b_b3]) +docs/hel-892/watermark-reference/camera____init__.py:357: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:358: trailing whitespace. ++ final_logo = kwargs['logo'] +docs/hel-892/watermark-reference/camera____init__.py:359: trailing whitespace. ++ if final_logo == "None" and logo_match_source: +docs/hel-892/watermark-reference/camera____init__.py:360: trailing whitespace. ++ for logo_name in logo_files: +docs/hel-892/watermark-reference/camera____init__.py:361: trailing whitespace. ++ if logo_name != "None" and logo_name.lower() in logo_match_source: +docs/hel-892/watermark-reference/camera____init__.py:362: trailing whitespace. ++ final_logo = logo_name +docs/hel-892/watermark-reference/camera____init__.py:363: trailing whitespace. ++ break +docs/hel-892/watermark-reference/camera____init__.py:364: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:365: trailing whitespace. ++ return content, final_logo +docs/hel-892/watermark-reference/camera____init__.py:366: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:367: trailing whitespace. ++ def _draw_block(self, draw, block: TextBlock, start_x: int, start_y: int, align: str = 'left', spacing: int = 10): +docs/hel-892/watermark-reference/camera____init__.py:368: trailing whitespace. ++ y = start_y +docs/hel-892/watermark-reference/camera____init__.py:369: trailing whitespace. ++ for i, (text, font, color) in enumerate(block.lines): +docs/hel-892/watermark-reference/camera____init__.py:370: trailing whitespace. ++ bbox = block.line_bboxes[i] +docs/hel-892/watermark-reference/camera____init__.py:371: trailing whitespace. ++ text_width, text_height = bbox[2] - bbox[0], bbox[3] - bbox[1] +docs/hel-892/watermark-reference/camera____init__.py:372: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:373: trailing whitespace. ++ x = start_x +docs/hel-892/watermark-reference/camera____init__.py:374: trailing whitespace. ++ if align == 'center': +docs/hel-892/watermark-reference/camera____init__.py:375: trailing whitespace. ++ x = start_x - text_width / 2 +docs/hel-892/watermark-reference/camera____init__.py:376: trailing whitespace. ++ elif align == 'right': +docs/hel-892/watermark-reference/camera____init__.py:377: trailing whitespace. ++ x = start_x - text_width +docs/hel-892/watermark-reference/camera____init__.py:378: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:379: trailing whitespace. ++ draw.text((x - bbox[0], y - bbox[1]), text, font=font, fill=color) +docs/hel-892/watermark-reference/camera____init__.py:380: trailing whitespace. ++ y += text_height + spacing +docs/hel-892/watermark-reference/camera____init__.py:381: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:382: trailing whitespace. ++ def _draw_vertical_text_block(self, draw_layer, block: TextBlock, center_x: int, start_y: int, spacing: int): +docs/hel-892/watermark-reference/camera____init__.py:383: trailing whitespace. ++ if not block.lines: +docs/hel-892/watermark-reference/camera____init__.py:384: trailing whitespace. ++ return 0 +docs/hel-892/watermark-reference/camera____init__.py:385: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:386: trailing whitespace. ++ temp_surface = Image.new("RGBA", (block.width, block.height), (0, 0, 0, 0)) +docs/hel-892/watermark-reference/camera____init__.py:387: trailing whitespace. ++ temp_draw = ImageDraw.Draw(temp_surface) +docs/hel-892/watermark-reference/camera____init__.py:388: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:389: trailing whitespace. ++ y_cursor = 0 +docs/hel-892/watermark-reference/camera____init__.py:390: trailing whitespace. ++ min_x_offset = min(box[0] for box in block.line_bboxes) +docs/hel-892/watermark-reference/camera____init__.py:391: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:392: trailing whitespace. ++ for i, (text, font, color) in enumerate(block.lines): +docs/hel-892/watermark-reference/camera____init__.py:393: trailing whitespace. ++ bbox = block.line_bboxes[i] +docs/hel-892/watermark-reference/camera____init__.py:394: trailing whitespace. ++ text_height = bbox[3] - bbox[1] +docs/hel-892/watermark-reference/camera____init__.py:395: trailing whitespace. ++ temp_draw.text((-min_x_offset, y_cursor - bbox[1]), text, font=font, fill=color) +docs/hel-892/watermark-reference/camera____init__.py:396: trailing whitespace. ++ y_cursor += text_height + spacing +docs/hel-892/watermark-reference/camera____init__.py:397: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:398: trailing whitespace. ++ rotated_surface = temp_surface.rotate(90, expand=True, resample=Image.Resampling.LANCZOS) +docs/hel-892/watermark-reference/camera____init__.py:399: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:400: trailing whitespace. ++ paste_x = center_x - rotated_surface.width / 2 +docs/hel-892/watermark-reference/camera____init__.py:401: trailing whitespace. ++ paste_y = start_y +docs/hel-892/watermark-reference/camera____init__.py:402: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:403: trailing whitespace. ++ draw_layer.paste(rotated_surface, (int(paste_x), int(paste_y)), rotated_surface) +docs/hel-892/watermark-reference/camera____init__.py:404: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:405: trailing whitespace. ++ return rotated_surface.height +docs/hel-892/watermark-reference/camera____init__.py:406: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:407: trailing whitespace. ++ def generate_image(self, **kwargs): +docs/hel-892/watermark-reference/camera____init__.py:408: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:409: trailing whitespace. ++ params = kwargs.copy() +docs/hel-892/watermark-reference/camera____init__.py:410: trailing whitespace. ++ layout = params['layout'] +docs/hel-892/watermark-reference/camera____init__.py:411: trailing whitespace. ++ seed = params['seed'] +docs/hel-892/watermark-reference/camera____init__.py:412: trailing whitespace. ++ restore_preset = params.pop('restore_preset', False) +docs/hel-892/watermark-reference/camera____init__.py:413: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:414: trailing whitespace. ++ if params.get('randomize_style', False): +docs/hel-892/watermark-reference/camera____init__.py:415: trailing whitespace. ++ random.seed(seed) +docs/hel-892/watermark-reference/camera____init__.py:416: trailing whitespace. ++ selection_str = params.get('random_style_selection', '1-10') +docs/hel-892/watermark-reference/camera____init__.py:417: trailing whitespace. ++ allowed_indices = self._parse_range_string(selection_str) +docs/hel-892/watermark-reference/camera____init__.py:418: trailing whitespace. ++ allowed_indices_0based = [i - 1 for i in allowed_indices if 1 <= i <= len(LAYOUT_OPTIONS)] +docs/hel-892/watermark-reference/camera____init__.py:419: trailing whitespace. ++ if allowed_indices_0based: +docs/hel-892/watermark-reference/camera____init__.py:420: trailing whitespace. ++ chosen_index = random.choice(allowed_indices_0based) +docs/hel-892/watermark-reference/camera____init__.py:421: trailing whitespace. ++ layout = LAYOUT_OPTIONS[chosen_index] +docs/hel-892/watermark-reference/camera____init__.py:422: trailing whitespace. ++ print(f"随机样式已启用 (种子: {seed}),选择: {layout}") +docs/hel-892/watermark-reference/camera____init__.py:423: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:424: trailing whitespace. ++ if restore_preset: +docs/hel-892/watermark-reference/camera____init__.py:425: trailing whitespace. ++ if layout in LAYOUT_PRESETS: +docs/hel-892/watermark-reference/camera____init__.py:426: trailing whitespace. ++ print(f"恢复预设: {layout}") +docs/hel-892/watermark-reference/camera____init__.py:427: trailing whitespace. ++ params.update(LAYOUT_PRESETS[layout]) +docs/hel-892/watermark-reference/camera____init__.py:428: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:429: trailing whitespace. ++ content, final_logo_name = self._prepare_content(**params) +docs/hel-892/watermark-reference/camera____init__.py:430: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:431: trailing whitespace. ++ input_pil = self.tensor_to_pil(params['image']) +docs/hel-892/watermark-reference/camera____init__.py:432: trailing whitespace. ++ img_w, img_h = input_pil.size +docs/hel-892/watermark-reference/camera____init__.py:433: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:434: trailing whitespace. ++ # --- Dynamic Scaling Logic --- +docs/hel-892/watermark-reference/camera____init__.py:435: trailing whitespace. ++ base_width = 1200.0 # Standard width for scaling +docs/hel-892/watermark-reference/camera____init__.py:436: trailing whitespace. ++ scale_factor = min(1.0, img_w / base_width) +docs/hel-892/watermark-reference/camera____init__.py:437: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:438: trailing whitespace. ++ bar_size = int(params['bar_size'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:439: trailing whitespace. ++ padding = int(params['padding'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:440: trailing whitespace. ++ spacing = int(params['spacing'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:441: trailing whitespace. ++ font_size_large = int(params['font_size_large'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:442: trailing whitespace. ++ font_size_medium = int(params['font_size_medium'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:443: trailing whitespace. ++ font_size_small = int(params['font_size_small'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:444: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:445: trailing whitespace. ++ bg_color = params['bg_color'] +docs/hel-892/watermark-reference/camera____init__.py:446: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:447: trailing whitespace. ++ if layout.startswith("1.") or layout.startswith("2.") or layout.startswith("10."): +docs/hel-892/watermark-reference/camera____init__.py:448: trailing whitespace. ++ canvas = Image.new("RGBA", (img_w, img_h + bar_size), bg_color) +docs/hel-892/watermark-reference/camera____init__.py:449: trailing whitespace. ++ canvas.paste(input_pil.convert("RGBA"), (0, 0)) +docs/hel-892/watermark-reference/camera____init__.py:450: trailing whitespace. ++ draw_area = (0, img_h, img_w, bar_size) +docs/hel-892/watermark-reference/camera____init__.py:451: trailing whitespace. ++ elif layout.startswith("3."): +docs/hel-892/watermark-reference/camera____init__.py:452: trailing whitespace. ++ canvas = Image.new("RGBA", (img_w + bar_size, img_h), bg_color) +docs/hel-892/watermark-reference/camera____init__.py:453: trailing whitespace. ++ canvas.paste(input_pil.convert("RGBA"), (0, 0)) +docs/hel-892/watermark-reference/camera____init__.py:454: trailing whitespace. ++ draw_area = (img_w, 0, bar_size, img_h) +docs/hel-892/watermark-reference/camera____init__.py:455: trailing whitespace. ++ elif layout.startswith("4."): +docs/hel-892/watermark-reference/camera____init__.py:456: trailing whitespace. ++ canvas = Image.new("RGBA", (img_w, img_h + bar_size * 2), bg_color) +docs/hel-892/watermark-reference/camera____init__.py:457: trailing whitespace. ++ canvas.paste(input_pil.convert("RGBA"), (0, bar_size)) +docs/hel-892/watermark-reference/camera____init__.py:458: trailing whitespace. ++ draw_area_top = (0, 0, img_w, bar_size) +docs/hel-892/watermark-reference/camera____init__.py:459: trailing whitespace. ++ draw_area_bottom = (0, img_h + bar_size, img_w, bar_size) +docs/hel-892/watermark-reference/camera____init__.py:460: trailing whitespace. ++ draw_area = draw_area_top +docs/hel-892/watermark-reference/camera____init__.py:461: trailing whitespace. ++ elif layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): +docs/hel-892/watermark-reference/camera____init__.py:462: trailing whitespace. ++ canvas = input_pil.convert("RGBA") +docs/hel-892/watermark-reference/camera____init__.py:463: trailing whitespace. ++ draw_area = (0, 0, img_w, img_h) +docs/hel-892/watermark-reference/camera____init__.py:464: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:465: trailing whitespace. ++ bar_width = int(params['bar_width'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:466: trailing whitespace. ++ bar_height = int(params['bar_height'] * scale_factor) +docs/hel-892/watermark-reference/camera____init__.py:467: trailing whitespace. ++ canvas = Image.new("RGBA", (bar_width, bar_height), bg_color) +docs/hel-892/watermark-reference/camera____init__.py:468: trailing whitespace. ++ draw_area = (0, 0, canvas.width, canvas.height) +docs/hel-892/watermark-reference/camera____init__.py:469: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:470: trailing whitespace. ++ draw_layer = Image.new("RGBA", canvas.size, (0, 0, 0, 0)) +docs/hel-892/watermark-reference/camera____init__.py:471: trailing whitespace. ++ draw = ImageDraw.Draw(draw_layer) +docs/hel-892/watermark-reference/camera____init__.py:472: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:473: trailing whitespace. ++ fonts = { +docs/hel-892/watermark-reference/camera____init__.py:474: trailing whitespace. ++ 'large_bold': self.get_font(params['font_bold_name'], font_size_large), +docs/hel-892/watermark-reference/camera____init__.py:475: trailing whitespace. ++ 'medium': self.get_font(params['font_name'], font_size_medium), +docs/hel-892/watermark-reference/camera____init__.py:476: trailing whitespace. ++ 'small': self.get_font(params['font_name'], font_size_small) +docs/hel-892/watermark-reference/camera____init__.py:477: trailing whitespace. ++ } +docs/hel-892/watermark-reference/camera____init__.py:478: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:479: trailing whitespace. ++ block_a_fonts = [fonts['large_bold'], fonts['medium'], fonts['small']] +docs/hel-892/watermark-reference/camera____init__.py:480: trailing whitespace. ++ block_b_fonts = [fonts['large_bold'], fonts['medium'], fonts['small']] +docs/hel-892/watermark-reference/camera____init__.py:481: trailing whitespace. ++ block_a_colors = [params['title_color'], params['subtitle_color'], params['subtitle_color']] +docs/hel-892/watermark-reference/camera____init__.py:482: trailing whitespace. ++ block_b_colors = [params['title_color'], params['subtitle_color'], params['subtitle_color']] +docs/hel-892/watermark-reference/camera____init__.py:483: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:484: trailing whitespace. ++ block_a = TextBlock() +docs/hel-892/watermark-reference/camera____init__.py:485: trailing whitespace. ++ for i, text in enumerate(content.block_a): +docs/hel-892/watermark-reference/camera____init__.py:486: trailing whitespace. ++ if text: +docs/hel-892/watermark-reference/camera____init__.py:487: trailing whitespace. ++ block_a.lines.append((text, block_a_fonts[i], block_a_colors[i])) +docs/hel-892/watermark-reference/camera____init__.py:488: trailing whitespace. ++ if block_a.lines: +docs/hel-892/watermark-reference/camera____init__.py:489: trailing whitespace. ++ block_a.line_bboxes = [self.get_text_bbox(line[0], line[1]) for line in block_a.lines] +docs/hel-892/watermark-reference/camera____init__.py:490: trailing whitespace. ++ min_x = min(box[0] for box in block_a.line_bboxes) +docs/hel-892/watermark-reference/camera____init__.py:491: trailing whitespace. ++ max_x = max(box[2] for box in block_a.line_bboxes) +docs/hel-892/watermark-reference/camera____init__.py:492: trailing whitespace. ++ block_a.width = max_x - min_x +docs/hel-892/watermark-reference/camera____init__.py:493: trailing whitespace. ++ line_heights = [box[3] - box[1] for box in block_a.line_bboxes] +docs/hel-892/watermark-reference/camera____init__.py:494: trailing whitespace. ++ block_a.height = int(sum(line_heights) + max(0, len(line_heights) - 1) * spacing) +docs/hel-892/watermark-reference/camera____init__.py:495: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:496: trailing whitespace. ++ block_b = TextBlock() +docs/hel-892/watermark-reference/camera____init__.py:497: trailing whitespace. ++ for i, text in enumerate(content.block_b): +docs/hel-892/watermark-reference/camera____init__.py:498: trailing whitespace. ++ if text: +docs/hel-892/watermark-reference/camera____init__.py:499: trailing whitespace. ++ block_b.lines.append((text, block_b_fonts[i], block_b_colors[i])) +docs/hel-892/watermark-reference/camera____init__.py:500: trailing whitespace. ++ if block_b.lines: +docs/hel-892/watermark-reference/camera____init__.py:501: trailing whitespace. ++ block_b.line_bboxes = [self.get_text_bbox(line[0], line[1]) for line in block_b.lines] +docs/hel-892/watermark-reference/camera____init__.py:502: trailing whitespace. ++ min_x = min(box[0] for box in block_b.line_bboxes) +docs/hel-892/watermark-reference/camera____init__.py:503: trailing whitespace. ++ max_x = max(box[2] for box in block_b.line_bboxes) +docs/hel-892/watermark-reference/camera____init__.py:504: trailing whitespace. ++ block_b.width = max_x - min_x +docs/hel-892/watermark-reference/camera____init__.py:505: trailing whitespace. ++ line_heights = [box[3] - box[1] for box in block_b.line_bboxes] +docs/hel-892/watermark-reference/camera____init__.py:506: trailing whitespace. ++ block_b.height = int(sum(line_heights) + max(0, len(line_heights) - 1) * spacing) +docs/hel-892/watermark-reference/camera____init__.py:507: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:508: trailing whitespace. ++ pil_logo = None +docs/hel-892/watermark-reference/camera____init__.py:509: trailing whitespace. ++ if final_logo_name != "None": +docs/hel-892/watermark-reference/camera____init__.py:510: trailing whitespace. ++ try: +docs/hel-892/watermark-reference/camera____init__.py:511: trailing whitespace. ++ logo_filename = next((f for f in os.listdir(logos_dir) if os.path.splitext(f)[0].lower() == final_logo_name.lower()), None) +docs/hel-892/watermark-reference/camera____init__.py:512: trailing whitespace. ++ if logo_filename: +docs/hel-892/watermark-reference/camera____init__.py:513: trailing whitespace. ++ pil_logo = Image.open(os.path.join(logos_dir, logo_filename)).convert("RGBA") +docs/hel-892/watermark-reference/camera____init__.py:514: trailing whitespace. ++ pil_logo = self._crop_transparent_border(pil_logo) +docs/hel-892/watermark-reference/camera____init__.py:515: trailing whitespace. ++ except Exception as e: +docs/hel-892/watermark-reference/camera____init__.py:516: trailing whitespace. ++ print(f"无法加载内置Logo '{final_logo_name}': {e}") +docs/hel-892/watermark-reference/camera____init__.py:517: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:518: trailing whitespace. ++ if pil_logo: +docs/hel-892/watermark-reference/camera____init__.py:519: trailing whitespace. ++ bar_based_target_height = 0 +docs/hel-892/watermark-reference/camera____init__.py:520: trailing whitespace. ++ if not (layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9.")): +docs/hel-892/watermark-reference/camera____init__.py:521: trailing whitespace. ++ max_size_ref = draw_area[3] if not layout.startswith("3.") else draw_area[2] +docs/hel-892/watermark-reference/camera____init__.py:522: trailing whitespace. ++ bar_based_target_height = int(max_size_ref * 0.5) +docs/hel-892/watermark-reference/camera____init__.py:523: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:524: trailing whitespace. ++ text_based_target_height = 0 +docs/hel-892/watermark-reference/camera____init__.py:525: trailing whitespace. ++ if layout in [LAYOUT_OPTIONS[0], LAYOUT_OPTIONS[9]]: +docs/hel-892/watermark-reference/camera____init__.py:526: trailing whitespace. ++ text_based_target_height = block_b.height +docs/hel-892/watermark-reference/camera____init__.py:527: trailing whitespace. ++ elif layout in [LAYOUT_OPTIONS[1], LAYOUT_OPTIONS[3]] or layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): +docs/hel-892/watermark-reference/camera____init__.py:528: trailing whitespace. ++ text_based_target_height = block_a.height if block_a.height > 0 else block_b.height +docs/hel-892/watermark-reference/camera____init__.py:529: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:530: trailing whitespace. ++ base_height = max(text_based_target_height, bar_based_target_height) +docs/hel-892/watermark-reference/camera____init__.py:531: trailing whitespace. ++ final_target_height = int(base_height * params['logo_size_ratio']) +docs/hel-892/watermark-reference/camera____init__.py:532: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:533: trailing whitespace. ++ if final_target_height > 0: +docs/hel-892/watermark-reference/camera____init__.py:534: trailing whitespace. ++ original_width, original_height = pil_logo.size +docs/hel-892/watermark-reference/camera____init__.py:535: trailing whitespace. ++ if original_height > 0: +docs/hel-892/watermark-reference/camera____init__.py:536: trailing whitespace. ++ ratio = final_target_height / original_height +docs/hel-892/watermark-reference/camera____init__.py:537: trailing whitespace. ++ new_width = int(original_width * ratio) +docs/hel-892/watermark-reference/camera____init__.py:538: trailing whitespace. ++ pil_logo = pil_logo.resize((new_width, final_target_height), Image.Resampling.LANCZOS) +docs/hel-892/watermark-reference/camera____init__.py:539: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:540: trailing whitespace. ++ if layout == LAYOUT_OPTIONS[0] or layout == LAYOUT_OPTIONS[9]: +docs/hel-892/watermark-reference/camera____init__.py:541: trailing whitespace. ++ x, y, w, h = draw_area +docs/hel-892/watermark-reference/camera____init__.py:542: trailing whitespace. ++ y_a = y + (h - block_a.height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:543: trailing whitespace. ++ self._draw_block(draw, block_a, x + padding, y_a, spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:544: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:545: trailing whitespace. ++ y_b = y + (h - block_b.height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:546: trailing whitespace. ++ if pil_logo: +docs/hel-892/watermark-reference/camera____init__.py:547: trailing whitespace. ++ right_group_width = block_b.width + spacing + pil_logo.width +docs/hel-892/watermark-reference/camera____init__.py:548: trailing whitespace. ++ start_x_right = x + w - padding - right_group_width +docs/hel-892/watermark-reference/camera____init__.py:549: trailing whitespace. ++ logo_x = start_x_right +docs/hel-892/watermark-reference/camera____init__.py:550: trailing whitespace. ++ logo_y = y + (h - pil_logo.height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:551: trailing whitespace. ++ draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) +docs/hel-892/watermark-reference/camera____init__.py:552: trailing whitespace. ++ block_b_x = logo_x + pil_logo.width + spacing +docs/hel-892/watermark-reference/camera____init__.py:553: trailing whitespace. ++ self._draw_block(draw, block_b, block_b_x, y_b, align='left', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:554: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:555: trailing whitespace. ++ self._draw_block(draw, block_b, x + w - padding, y_b, align='right', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:556: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:557: trailing whitespace. ++ elif layout == LAYOUT_OPTIONS[1]: +docs/hel-892/watermark-reference/camera____init__.py:558: trailing whitespace. ++ x, y, w, h = draw_area +docs/hel-892/watermark-reference/camera____init__.py:559: trailing whitespace. ++ elements = [] +docs/hel-892/watermark-reference/camera____init__.py:560: trailing whitespace. ++ if pil_logo: elements.append({'type': 'logo', 'data': pil_logo, 'height': pil_logo.height}) +docs/hel-892/watermark-reference/camera____init__.py:561: trailing whitespace. ++ if block_a.lines: elements.append({'type': 'block', 'data': block_a, 'height': block_a.height}) +docs/hel-892/watermark-reference/camera____init__.py:562: trailing whitespace. ++ if block_b.lines: elements.append({'type': 'block', 'data': block_b, 'height': block_b.height}) +docs/hel-892/watermark-reference/camera____init__.py:563: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:564: trailing whitespace. ++ total_height = sum(el['height'] for el in elements) + max(0, len(elements) - 1) * spacing +docs/hel-892/watermark-reference/camera____init__.py:565: trailing whitespace. ++ y_start = y + (h - total_height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:566: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:567: trailing whitespace. ++ for el in elements: +docs/hel-892/watermark-reference/camera____init__.py:568: trailing whitespace. ++ if el['type'] == 'logo': +docs/hel-892/watermark-reference/camera____init__.py:569: trailing whitespace. ++ logo = el['data'] +docs/hel-892/watermark-reference/camera____init__.py:570: trailing whitespace. ++ logo_x = x + (w - logo.width) / 2 +docs/hel-892/watermark-reference/camera____init__.py:571: trailing whitespace. ++ draw_layer.paste(logo, (int(logo_x), int(y_start)), logo) +docs/hel-892/watermark-reference/camera____init__.py:572: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:573: trailing whitespace. ++ self._draw_block(draw, el['data'], x + w/2, y_start, align='center', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:574: trailing whitespace. ++ y_start += el['height'] + spacing +docs/hel-892/watermark-reference/camera____init__.py:575: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:576: trailing whitespace. ++ elif layout == LAYOUT_OPTIONS[2]: +docs/hel-892/watermark-reference/camera____init__.py:577: trailing whitespace. ++ x, y, w, h = draw_area +docs/hel-892/watermark-reference/camera____init__.py:578: trailing whitespace. ++ center_x = x + w / 2 +docs/hel-892/watermark-reference/camera____init__.py:579: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:580: trailing whitespace. ++ if block_b.lines: +docs/hel-892/watermark-reference/camera____init__.py:581: trailing whitespace. ++ y_b = y + padding +docs/hel-892/watermark-reference/camera____init__.py:582: trailing whitespace. ++ self._draw_vertical_text_block(draw_layer, block_b, center_x, y_b, spacing) +docs/hel-892/watermark-reference/camera____init__.py:583: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:584: trailing whitespace. ++ if block_a.lines: +docs/hel-892/watermark-reference/camera____init__.py:585: trailing whitespace. ++ rotated_height_a = block_a.width +docs/hel-892/watermark-reference/camera____init__.py:586: trailing whitespace. ++ y_a = y + h - padding - rotated_height_a +docs/hel-892/watermark-reference/camera____init__.py:587: trailing whitespace. ++ self._draw_vertical_text_block(draw_layer, block_a, center_x, y_a, spacing) +docs/hel-892/watermark-reference/camera____init__.py:588: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:589: trailing whitespace. ++ if pil_logo: +docs/hel-892/watermark-reference/camera____init__.py:590: trailing whitespace. ++ logo_x = center_x - pil_logo.width / 2 +docs/hel-892/watermark-reference/camera____init__.py:591: trailing whitespace. ++ logo_y = y + (h - pil_logo.height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:592: trailing whitespace. ++ draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) +docs/hel-892/watermark-reference/camera____init__.py:593: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:594: trailing whitespace. ++ elif layout == LAYOUT_OPTIONS[3]: +docs/hel-892/watermark-reference/camera____init__.py:595: trailing whitespace. ++ x_top, y_top, w_top, h_top = draw_area_top +docs/hel-892/watermark-reference/camera____init__.py:596: trailing whitespace. ++ x_bot, y_bot, w_bot, h_bot = draw_area_bottom +docs/hel-892/watermark-reference/camera____init__.py:597: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:598: trailing whitespace. ++ if pil_logo: +docs/hel-892/watermark-reference/camera____init__.py:599: trailing whitespace. ++ total_top_width = pil_logo.width + spacing + block_a.width +docs/hel-892/watermark-reference/camera____init__.py:600: trailing whitespace. ++ start_x_top = x_top + (w_top - total_top_width) / 2 +docs/hel-892/watermark-reference/camera____init__.py:601: trailing whitespace. ++ logo_x = start_x_top +docs/hel-892/watermark-reference/camera____init__.py:602: trailing whitespace. ++ logo_y = y_top + (h_top - pil_logo.height) / 2 +docs/hel-892/watermark-reference/camera____init__.py:603: trailing whitespace. ++ draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) +docs/hel-892/watermark-reference/camera____init__.py:604: trailing whitespace. ++ block_a_x = start_x_top + pil_logo.width + spacing +docs/hel-892/watermark-reference/camera____init__.py:605: trailing whitespace. ++ self._draw_block(draw, block_a, block_a_x, y_top + (h_top - block_a.height) / 2, align='left', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:606: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:607: trailing whitespace. ++ self._draw_block(draw, block_a, x_top + w_top / 2, y_top + (h_top - block_a.height) / 2, align='center', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:608: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:609: trailing whitespace. ++ self._draw_block(draw, block_b, x_bot + w_bot / 2, y_bot + (h_bot - block_b.height) / 2, align='center', spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:610: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:611: trailing whitespace. ++ elif layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): +docs/hel-892/watermark-reference/camera____init__.py:612: trailing whitespace. ++ x, y, w, h = draw_area +docs/hel-892/watermark-reference/camera____init__.py:613: trailing whitespace. ++ elements = [] +docs/hel-892/watermark-reference/camera____init__.py:614: trailing whitespace. ++ if block_a.lines: elements.append({'type': 'block', 'data': block_a, 'height': block_a.height, 'width': block_a.width}) +docs/hel-892/watermark-reference/camera____init__.py:615: trailing whitespace. ++ if block_b.lines: elements.append({'type': 'block', 'data': block_b, 'height': block_b.height, 'width': block_b.width}) +docs/hel-892/watermark-reference/camera____init__.py:616: trailing whitespace. ++ if pil_logo: elements.append({'type': 'logo', 'data': pil_logo, 'height': pil_logo.height, 'width': pil_logo.width}) +docs/hel-892/watermark-reference/camera____init__.py:617: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:618: trailing whitespace. ++ if elements: +docs/hel-892/watermark-reference/camera____init__.py:619: trailing whitespace. ++ total_height = sum(el['height'] for el in elements) + max(0, len(elements) - 1) * spacing +docs/hel-892/watermark-reference/camera____init__.py:620: trailing whitespace. ++ max_width = max(el['width'] for el in elements) if elements else 0 +docs/hel-892/watermark-reference/camera____init__.py:621: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:622: trailing whitespace. ++ if "左下角" in layout: y_start, x_start, align = h - padding - total_height, padding, 'left' +docs/hel-892/watermark-reference/camera____init__.py:623: trailing whitespace. ++ elif "右下角" in layout: y_start, x_start, align = h - padding - total_height, w - padding, 'right' +docs/hel-892/watermark-reference/camera____init__.py:624: trailing whitespace. ++ elif "左上角" in layout: y_start, x_start, align = padding, padding, 'left' +docs/hel-892/watermark-reference/camera____init__.py:625: trailing whitespace. ++ elif "右上角" in layout: y_start, x_start, align = padding, w - padding, 'right' +docs/hel-892/watermark-reference/camera____init__.py:626: trailing whitespace. ++ else: y_start, x_start, align = (h - total_height) / 2, w / 2, 'center' +docs/hel-892/watermark-reference/camera____init__.py:627: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:628: trailing whitespace. ++ current_y = y_start +docs/hel-892/watermark-reference/camera____init__.py:629: trailing whitespace. ++ for el in elements: +docs/hel-892/watermark-reference/camera____init__.py:630: trailing whitespace. ++ el_width = el['width'] +docs/hel-892/watermark-reference/camera____init__.py:631: trailing whitespace. ++ if el['type'] == 'logo': +docs/hel-892/watermark-reference/camera____init__.py:632: trailing whitespace. ++ logo = el['data'] +docs/hel-892/watermark-reference/camera____init__.py:633: trailing whitespace. ++ if align == 'left': logo_x = x_start +docs/hel-892/watermark-reference/camera____init__.py:634: trailing whitespace. ++ elif align == 'right': logo_x = x_start - el_width +docs/hel-892/watermark-reference/camera____init__.py:635: trailing whitespace. ++ else: logo_x = x_start - el_width / 2 +docs/hel-892/watermark-reference/camera____init__.py:636: trailing whitespace. ++ draw_layer.paste(logo, (int(logo_x), int(current_y)), logo) +docs/hel-892/watermark-reference/camera____init__.py:637: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/camera____init__.py:638: trailing whitespace. ++ self._draw_block(draw, el['data'], x_start, current_y, align=align, spacing=spacing) +docs/hel-892/watermark-reference/camera____init__.py:639: trailing whitespace. ++ current_y += el['height'] + spacing +docs/hel-892/watermark-reference/camera____init__.py:640: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:641: trailing whitespace. ++ canvas.alpha_composite(draw_layer) +docs/hel-892/watermark-reference/camera____init__.py:642: trailing whitespace. ++ final_image = canvas.convert("RGB") +docs/hel-892/watermark-reference/camera____init__.py:643: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:644: trailing whitespace. ++ return (self.pil_to_tensor(final_image),) +docs/hel-892/watermark-reference/camera____init__.py:645: trailing whitespace. ++ +docs/hel-892/watermark-reference/camera____init__.py:646: trailing whitespace. ++# --- ComfyUI 节点注册 --- +docs/hel-892/watermark-reference/camera____init__.py:647: trailing whitespace. ++NODE_CLASS_MAPPINGS = { +docs/hel-892/watermark-reference/camera____init__.py:648: trailing whitespace. ++ "CameraWatermarkNode": CameraWatermarkNode, +docs/hel-892/watermark-reference/camera____init__.py:649: trailing whitespace. ++ "ImageLoaderWithEXIF": ImageLoaderWithEXIF, +docs/hel-892/watermark-reference/camera____init__.py:650: trailing whitespace. ++} +docs/hel-892/watermark-reference/camera____init__.py:651: trailing whitespace. ++NODE_DISPLAY_NAME_MAPPINGS = { +docs/hel-892/watermark-reference/camera____init__.py:652: trailing whitespace. ++ "CameraWatermarkNode": "相机水印", +docs/hel-892/watermark-reference/camera____init__.py:653: trailing whitespace. ++ "ImageLoaderWithEXIF": "加载/附加 EXIF", +docs/hel-892/watermark-reference/camera____init__.py:654: trailing whitespace. ++} +docs/hel-892/watermark-reference/cr____init__.py:23: trailing whitespace. ++print("------------------------------------------") +docs/hel-892/watermark-reference/cr____init__.py:25: trailing whitespace. ++print("------------------------------------------") +docs/hel-892/watermark-reference/cr____init__.py:26: trailing whitespace. ++print("** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md") +docs/hel-892/watermark-reference/cr____init__.py:27: trailing whitespace. ++print("** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki") +docs/hel-892/watermark-reference/cr____init__.py:28: trailing whitespace. ++print("------------------------------------------") +docs/hel-892/watermark-reference/cr____init__.py:29: new blank line at EOF. +docs/hel-892/watermark-reference/cr__categories.py:1: trailing whitespace. ++icons = { +docs/hel-892/watermark-reference/cr__categories.py:2: trailing whitespace. ++ "Comfyroll/Upscale": "🧩 Comfyroll Studio/✨ Essential/🔍 Upscale", +docs/hel-892/watermark-reference/cr__categories.py:3: trailing whitespace. ++ "Comfyroll/Model Merge": "🧩 Comfyroll Studio/✨ Essential/⛏️ Model Merge", +docs/hel-892/watermark-reference/cr__categories.py:4: trailing whitespace. ++ "Comfyroll/Utils/Logic": "🧩 Comfyroll Studio/🛠️ Utils/🔀 Logic", +docs/hel-892/watermark-reference/cr__categories.py:5: trailing whitespace. ++ "Comfyroll/Utils/Conditional": "🧩 Comfyroll Studio/🛠️ Utils/🔀 Conditional", +docs/hel-892/watermark-reference/cr__categories.py:6: trailing whitespace. ++ "Comfyroll/Utils/Process": "🧩 Comfyroll Studio/🛠️ Utils/🔂 Process", +docs/hel-892/watermark-reference/cr__categories.py:7: trailing whitespace. ++ "Comfyroll/Utils/Index": "🧩 Comfyroll Studio/🛠️ Utils/🔢 Index", +docs/hel-892/watermark-reference/cr__categories.py:8: trailing whitespace. ++ "Comfyroll/Utils/Conversion": "🧩 Comfyroll Studio/🛠️ Utils/🔧 Conversion", +docs/hel-892/watermark-reference/cr__categories.py:9: trailing whitespace. ++ "Comfyroll/Utils/Random": "🧩 Comfyroll Studio/🛠️ Utils/🎲 Random", +docs/hel-892/watermark-reference/cr__categories.py:10: trailing whitespace. ++ "Comfyroll/Utils/Text": "🧩 Comfyroll Studio/🛠️ Utils/🔤 Text", +docs/hel-892/watermark-reference/cr__categories.py:11: trailing whitespace. ++ "Comfyroll/Utils/Other": "🧩 Comfyroll Studio/🛠️ Utils/⚙️ Other", +docs/hel-892/watermark-reference/cr__categories.py:12: trailing whitespace. ++ "Comfyroll/LoRA": "🧩 Comfyroll Studio/✨ Essential/💊 LoRA", +docs/hel-892/watermark-reference/cr__categories.py:13: trailing whitespace. ++ "Comfyroll/ControlNet": "🧩 Comfyroll Studio/✨ Essential/🕹️ ControlNet", +docs/hel-892/watermark-reference/cr__categories.py:14: trailing whitespace. ++ "Comfyroll/XY Grid": "🧩 Comfyroll Studio/✨ Essential/📉 XY Grid", +docs/hel-892/watermark-reference/cr__categories.py:15: trailing whitespace. ++ "Comfyroll/SDXL": "🧩 Comfyroll Studio/✨ Essential/🌟 SDXL", +docs/hel-892/watermark-reference/cr__categories.py:16: trailing whitespace. ++ "Comfyroll/List": "🧩 Comfyroll Studio/✨ Essential/📜 List", +docs/hel-892/watermark-reference/cr__categories.py:17: trailing whitespace. ++ "Comfyroll/List/IO": "🧩 Comfyroll Studio/✨ Essential/📜 List/⌨️ IO", +docs/hel-892/watermark-reference/cr__categories.py:18: trailing whitespace. ++ "Comfyroll/List/Utils": "🧩 Comfyroll Studio/✨ Essential/📜 List/🛠️ Utils", +docs/hel-892/watermark-reference/cr__categories.py:19: trailing whitespace. ++ "Comfyroll/Aspect Ratio": "🧩 Comfyroll Studio/✨ Essential/🔳 Aspect Ratio", +docs/hel-892/watermark-reference/cr__categories.py:20: trailing whitespace. ++ "Comfyroll/Pipe/Module": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/✈️ Module", +docs/hel-892/watermark-reference/cr__categories.py:21: trailing whitespace. ++ "Comfyroll/Pipe/Image": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/🛩️ Image", +docs/hel-892/watermark-reference/cr__categories.py:22: trailing whitespace. ++ "Comfyroll/Pipe/Bus": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/🚌 Bus", +docs/hel-892/watermark-reference/cr__categories.py:23: trailing whitespace. ++ "Comfyroll/Pipe": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe", +docs/hel-892/watermark-reference/cr__categories.py:24: trailing whitespace. ++ "Comfyroll/Graphics/Text": "🧩 Comfyroll Studio/👾 Graphics/🔤 Text", +docs/hel-892/watermark-reference/cr__categories.py:25: trailing whitespace. ++ "Comfyroll/Graphics/Layout": "🧩 Comfyroll Studio/👾 Graphics/🌁 Layout", +docs/hel-892/watermark-reference/cr__categories.py:26: trailing whitespace. ++ "Comfyroll/Graphics/Template": "🧩 Comfyroll Studio/👾 Graphics/📱 Template", +docs/hel-892/watermark-reference/cr__categories.py:27: trailing whitespace. ++ "Comfyroll/Graphics/Filter": "🧩 Comfyroll Studio/👾 Graphics/🎨 Filter", +docs/hel-892/watermark-reference/cr__categories.py:28: trailing whitespace. ++ "Comfyroll/Graphics/Pattern": "🧩 Comfyroll Studio/👾 Graphics/🌈 Pattern", +docs/hel-892/watermark-reference/cr__categories.py:29: trailing whitespace. ++ "Comfyroll/Graphics/Shape": "🧩 Comfyroll Studio/👾 Graphics/🟣 Shape", +docs/hel-892/watermark-reference/cr__categories.py:30: trailing whitespace. ++ "Comfyroll/Graphics/3D": "🧩 Comfyroll Studio/👾 Graphics/3D", +docs/hel-892/watermark-reference/cr__categories.py:31: trailing whitespace. ++ "Comfyroll/Graphics/Utilty": "🧩 Comfyroll Studio/👾 Graphics/🔧 Utility", +docs/hel-892/watermark-reference/cr__categories.py:32: trailing whitespace. ++ "Comfyroll/Workflow": "🧩 Comfyroll Studio/✨ Essential/Workflow", +docs/hel-892/watermark-reference/cr__categories.py:33: trailing whitespace. ++ "Comfyroll/Essential/Core": "🧩 Comfyroll Studio/✨ Essential/📦 Core", +docs/hel-892/watermark-reference/cr__categories.py:34: trailing whitespace. ++ "Comfyroll/Essential/Legacy": "🧩 Comfyroll Studio/✨ Essential/💀 Legacy", +docs/hel-892/watermark-reference/cr__categories.py:35: trailing whitespace. ++ "Comfyroll/Animation/Camera": "🧩 Comfyroll Studio/🎥 Animation/🎦 Camera", +docs/hel-892/watermark-reference/cr__categories.py:36: trailing whitespace. ++ "Comfyroll/Animation/Utils": "🧩 Comfyroll Studio/🎥 Animation/🛠️ Utils", +docs/hel-892/watermark-reference/cr__categories.py:37: trailing whitespace. ++ "Comfyroll/Animation/Schedule": "🧩 Comfyroll Studio/🎥 Animation/📋 Schedule", +docs/hel-892/watermark-reference/cr__categories.py:38: trailing whitespace. ++ "Comfyroll/Animation/Schedulers": "🧩 Comfyroll Studio/🎥 Animation/📑 Schedulers", +docs/hel-892/watermark-reference/cr__categories.py:39: trailing whitespace. ++ "Comfyroll/Animation/Prompt": "🧩 Comfyroll Studio/🎥 Animation/📝 Prompt", +docs/hel-892/watermark-reference/cr__categories.py:40: trailing whitespace. ++ "Comfyroll/Animation/Legacy": "🧩 Comfyroll Studio/🎥 Animation/💀 Legacy", +docs/hel-892/watermark-reference/cr__categories.py:41: trailing whitespace. ++ "Comfyroll/Animation/Interpolate": "🧩 Comfyroll Studio/🎥 Animation/🔢 Interpolate", +docs/hel-892/watermark-reference/cr__categories.py:42: trailing whitespace. ++ "Comfyroll/Animation/IO": "🧩 Comfyroll Studio/🎥 Animation/⌨️ IO", +docs/hel-892/watermark-reference/cr__categories.py:43: trailing whitespace. ++} +docs/hel-892/watermark-reference/cr__config.py:1: trailing whitespace. ++color_mapping = { +docs/hel-892/watermark-reference/cr__config.py:2: trailing whitespace. ++ "white": (255, 255, 255), +docs/hel-892/watermark-reference/cr__config.py:3: trailing whitespace. ++ "black": (0, 0, 0), +docs/hel-892/watermark-reference/cr__config.py:4: trailing whitespace. ++ "red": (255, 0, 0), +docs/hel-892/watermark-reference/cr__config.py:5: trailing whitespace. ++ "green": (0, 255, 0), +docs/hel-892/watermark-reference/cr__config.py:6: trailing whitespace. ++ "blue": (0, 0, 255), +docs/hel-892/watermark-reference/cr__config.py:7: trailing whitespace. ++ "yellow": (255, 255, 0), +docs/hel-892/watermark-reference/cr__config.py:8: trailing whitespace. ++ "cyan": (0, 255, 255), +docs/hel-892/watermark-reference/cr__config.py:9: trailing whitespace. ++ "magenta": (255, 0, 255), +docs/hel-892/watermark-reference/cr__config.py:10: trailing whitespace. ++ "orange": (255, 165, 0), +docs/hel-892/watermark-reference/cr__config.py:11: trailing whitespace. ++ "purple": (128, 0, 128), +docs/hel-892/watermark-reference/cr__config.py:12: trailing whitespace. ++ "pink": (255, 192, 203), +docs/hel-892/watermark-reference/cr__config.py:13: trailing whitespace. ++ "brown": (160, 85, 15), +docs/hel-892/watermark-reference/cr__config.py:14: trailing whitespace. ++ "gray": (128, 128, 128), +docs/hel-892/watermark-reference/cr__config.py:15: trailing whitespace. ++ "lightgray": (211, 211, 211), +docs/hel-892/watermark-reference/cr__config.py:16: trailing whitespace. ++ "darkgray": (102, 102, 102), +docs/hel-892/watermark-reference/cr__config.py:17: trailing whitespace. ++ "olive": (128, 128, 0), +docs/hel-892/watermark-reference/cr__config.py:18: trailing whitespace. ++ "lime": (0, 128, 0), +docs/hel-892/watermark-reference/cr__config.py:19: trailing whitespace. ++ "teal": (0, 128, 128), +docs/hel-892/watermark-reference/cr__config.py:20: trailing whitespace. ++ "navy": (0, 0, 128), +docs/hel-892/watermark-reference/cr__config.py:21: trailing whitespace. ++ "maroon": (128, 0, 0), +docs/hel-892/watermark-reference/cr__config.py:22: trailing whitespace. ++ "fuchsia": (255, 0, 128), +docs/hel-892/watermark-reference/cr__config.py:23: trailing whitespace. ++ "aqua": (0, 255, 128), +docs/hel-892/watermark-reference/cr__config.py:24: trailing whitespace. ++ "silver": (192, 192, 192), +docs/hel-892/watermark-reference/cr__config.py:25: trailing whitespace. ++ "gold": (255, 215, 0), +docs/hel-892/watermark-reference/cr__config.py:26: trailing whitespace. ++ "turquoise": (64, 224, 208), +docs/hel-892/watermark-reference/cr__config.py:27: trailing whitespace. ++ "lavender": (230, 230, 250), +docs/hel-892/watermark-reference/cr__config.py:28: trailing whitespace. ++ "violet": (238, 130, 238), +docs/hel-892/watermark-reference/cr__config.py:29: trailing whitespace. ++ "coral": (255, 127, 80), +docs/hel-892/watermark-reference/cr__config.py:30: trailing whitespace. ++ "indigo": (75, 0, 130), +docs/hel-892/watermark-reference/cr__config.py:31: trailing whitespace. ++} +docs/hel-892/watermark-reference/cr__config.py:32: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__config.py:33: trailing whitespace. ++COLORS = ["custom", "white", "black", "red", "green", "blue", "yellow", +docs/hel-892/watermark-reference/cr__config.py:34: trailing whitespace. ++ "cyan", "magenta", "orange", "purple", "pink", "brown", "gray", +docs/hel-892/watermark-reference/cr__config.py:35: trailing whitespace. ++ "lightgray", "darkgray", "olive", "lime", "teal", "navy", "maroon", +docs/hel-892/watermark-reference/cr__config.py:36: trailing whitespace. ++ "fuchsia", "aqua", "silver", "gold", "turquoise", "lavender", +docs/hel-892/watermark-reference/cr__config.py:37: trailing whitespace. ++ "violet", "coral", "indigo"] +docs/hel-892/watermark-reference/cr__config.py:38: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__config.py:39: trailing whitespace. ++iso_sizes = { +docs/hel-892/watermark-reference/cr__config.py:40: trailing whitespace. ++ "A0 - 9933x14043": (9933, 14043), +docs/hel-892/watermark-reference/cr__config.py:41: trailing whitespace. ++ "A1 - 7016x9933": (7016, 9933), +docs/hel-892/watermark-reference/cr__config.py:42: trailing whitespace. ++ "A2 - 4960x7016": (4960, 7016), +docs/hel-892/watermark-reference/cr__config.py:43: trailing whitespace. ++ "A3 - 3508x4960": (3508, 4960), +docs/hel-892/watermark-reference/cr__config.py:44: trailing whitespace. ++ "A4 - 2480x3508": (2480, 3508), +docs/hel-892/watermark-reference/cr__config.py:45: trailing whitespace. ++ "A5 - 1748x2480": (1748, 2480), +docs/hel-892/watermark-reference/cr__config.py:46: trailing whitespace. ++ "A6 - 1240x1748": (1240, 1748), +docs/hel-892/watermark-reference/cr__config.py:47: trailing whitespace. ++ "A7 - 874x1240": (874, 1240), +docs/hel-892/watermark-reference/cr__config.py:48: trailing whitespace. ++ "A8 - 614x874": (614, 874), +docs/hel-892/watermark-reference/cr__config.py:49: trailing whitespace. ++ "A9 - 437x614": (437, 614), +docs/hel-892/watermark-reference/cr__config.py:50: trailing whitespace. ++ "A10 - 307x437": (307, 437), +docs/hel-892/watermark-reference/cr__config.py:51: trailing whitespace. ++ "A11 - 213x307": (213, 307), +docs/hel-892/watermark-reference/cr__config.py:52: trailing whitespace. ++ "A12 - 154x213": (154, 213), +docs/hel-892/watermark-reference/cr__config.py:53: trailing whitespace. ++ "A13 - 106x154": (106, 154), +docs/hel-892/watermark-reference/cr__config.py:54: trailing whitespace. ++ "B0 - 11811x16701": (11811, 16701), +docs/hel-892/watermark-reference/cr__config.py:55: trailing whitespace. ++ "B1 - 8350x11811": (8350, 11811), +docs/hel-892/watermark-reference/cr__config.py:56: trailing whitespace. ++ "B2 - 5906x8350": (5906, 8350), +docs/hel-892/watermark-reference/cr__config.py:57: trailing whitespace. ++ "B3 - 4169x5906": (4169, 5906), +docs/hel-892/watermark-reference/cr__config.py:58: trailing whitespace. ++ "B4 - 2953x4169": (2953, 4169), +docs/hel-892/watermark-reference/cr__config.py:59: trailing whitespace. ++ "B5 - 2079x2953": (2079, 2953), +docs/hel-892/watermark-reference/cr__config.py:60: trailing whitespace. ++ "B6 - 1476x2079": (1476, 2079), +docs/hel-892/watermark-reference/cr__config.py:61: trailing whitespace. ++ "B7 - 1039x1476": (1039, 1476), +docs/hel-892/watermark-reference/cr__config.py:62: trailing whitespace. ++ "B8 - 732x1039": (732, 1039), +docs/hel-892/watermark-reference/cr__config.py:63: trailing whitespace. ++ "B9 - 520x732": (520, 732), +docs/hel-892/watermark-reference/cr__config.py:64: trailing whitespace. ++ "B10 - 366x520": (366, 520), +docs/hel-892/watermark-reference/cr__config.py:65: trailing whitespace. ++ "C0 - 10831x15319": (10831, 15319), +docs/hel-892/watermark-reference/cr__config.py:66: trailing whitespace. ++ "C1 - 7654x10831": (7654, 10831), +docs/hel-892/watermark-reference/cr__config.py:67: trailing whitespace. ++ "C2 - 5409x7654": (5409, 7654), +docs/hel-892/watermark-reference/cr__config.py:68: trailing whitespace. ++ "C3 - 3827x5409": (3827, 5409), +docs/hel-892/watermark-reference/cr__config.py:69: trailing whitespace. ++ "C4 - 2705x3827": (2705, 3827), +docs/hel-892/watermark-reference/cr__config.py:70: trailing whitespace. ++ "C5 - 1913x2705": (1913, 2705), +docs/hel-892/watermark-reference/cr__config.py:71: trailing whitespace. ++ "C6 - 1346x1913": (1346, 1913), +docs/hel-892/watermark-reference/cr__config.py:72: trailing whitespace. ++ "C7 - 957x1346": (957, 1346), +docs/hel-892/watermark-reference/cr__config.py:73: trailing whitespace. ++ "C8 - 673x957": (673, 957), +docs/hel-892/watermark-reference/cr__config.py:74: trailing whitespace. ++ "C9 - 472x673": (472, 673), +docs/hel-892/watermark-reference/cr__config.py:75: trailing whitespace. ++ "C10 - 331x472": (331, 472), +docs/hel-892/watermark-reference/cr__config.py:76: trailing whitespace. ++} +docs/hel-892/watermark-reference/cr__config.py:77: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__config.py:77: new blank line at EOF. +docs/hel-892/watermark-reference/cr__node_mappings.py:37: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__node_mappings.py:48: trailing whitespace. ++NODE_CLASS_MAPPINGS = { +docs/hel-892/watermark-reference/cr__node_mappings.py:51: trailing whitespace. ++ "CR Latent Batch Size": CR_LatentBatchSize, +docs/hel-892/watermark-reference/cr__node_mappings.py:54: trailing whitespace. ++ "CR Seed": CR_Seed, +docs/hel-892/watermark-reference/cr__node_mappings.py:56: trailing whitespace. ++ "CR Combine Prompt": CR_CombinePrompt, +docs/hel-892/watermark-reference/cr__node_mappings.py:57: trailing whitespace. ++ "CR VAE Decode": CR_VAEDecode, +docs/hel-892/watermark-reference/cr__node_mappings.py:60: trailing whitespace. ++ "CR Prompt List": CR_PromptList, +docs/hel-892/watermark-reference/cr__node_mappings.py:61: trailing whitespace. ++ "CR Simple List": CR_SimpleList, +docs/hel-892/watermark-reference/cr__node_mappings.py:67: trailing whitespace. ++ "CR Value Cycler": CR_ValueCycler, +docs/hel-892/watermark-reference/cr__node_mappings.py:71: trailing whitespace. ++ "CR Load GIF As List": CR_LoadGIFAsList, +docs/hel-892/watermark-reference/cr__node_mappings.py:72: trailing whitespace. ++ "CR Font File List": CR_FontFileList, +docs/hel-892/watermark-reference/cr__node_mappings.py:74: trailing whitespace. ++ "CR Batch Images From List": CR_MakeBatchFromImageList, +docs/hel-892/watermark-reference/cr__node_mappings.py:76: trailing whitespace. ++ "CR Repeater": CR_Repeater, +docs/hel-892/watermark-reference/cr__node_mappings.py:77: trailing whitespace. ++ "CR XY Product": CR_XYProduct, +docs/hel-892/watermark-reference/cr__node_mappings.py:78: trailing whitespace. ++ "CR Text List To String": CR_TextListToString, +docs/hel-892/watermark-reference/cr__node_mappings.py:83: trailing whitespace. ++ "CR Aspect Ratio Banners": CR_AspectRatioBanners, +docs/hel-892/watermark-reference/cr__node_mappings.py:84: trailing whitespace. ++ "CR Aspect Ratio Social Media": CR_AspectRatioSocialMedia, +docs/hel-892/watermark-reference/cr__node_mappings.py:89: trailing whitespace. ++ "CR SDXL Prompt Mixer": CR_PromptMixer, +docs/hel-892/watermark-reference/cr__node_mappings.py:90: trailing whitespace. ++ "CR Seed to Int": CR_SeedToInt, +docs/hel-892/watermark-reference/cr__node_mappings.py:92: trailing whitespace. ++ "CR Apply ControlNet": CR_ApplyControlNet, +docs/hel-892/watermark-reference/cr__node_mappings.py:94: trailing whitespace. ++ "CR Apply Multi-ControlNet": CR_ApplyControlNetStack, +docs/hel-892/watermark-reference/cr__node_mappings.py:95: trailing whitespace. ++ ### LoRA Nodes +docs/hel-892/watermark-reference/cr__node_mappings.py:96: trailing whitespace. ++ "CR Load LoRA": CR_LoraLoader, +docs/hel-892/watermark-reference/cr__node_mappings.py:100: trailing whitespace. ++ "CR Apply LoRA Stack": CR_ApplyLoRAStack, +docs/hel-892/watermark-reference/cr__node_mappings.py:108: trailing whitespace. ++ "CR 8 Channel Out":CR_8ChannelOut, +docs/hel-892/watermark-reference/cr__node_mappings.py:119: trailing whitespace. ++ "CR SDXL Base Prompt Encoder": CR_SDXLBasePromptEncoder, +docs/hel-892/watermark-reference/cr__node_mappings.py:124: trailing whitespace. ++ ### XY Grid Nodes +docs/hel-892/watermark-reference/cr__node_mappings.py:125: trailing whitespace. ++ "CR XY List": CR_XYList, +docs/hel-892/watermark-reference/cr__node_mappings.py:126: trailing whitespace. ++ "CR XY Interpolate": CR_XYInterpolate, +docs/hel-892/watermark-reference/cr__node_mappings.py:132: trailing whitespace. ++ "CR Halftone Grid": CR_HalftoneGrid, +docs/hel-892/watermark-reference/cr__node_mappings.py:134: trailing whitespace. ++ "CR Style Bars": CR_StyleBars, +docs/hel-892/watermark-reference/cr__node_mappings.py:138: trailing whitespace. ++ "CR Radial Gradient": CR_RadialGradient, +docs/hel-892/watermark-reference/cr__node_mappings.py:141: trailing whitespace. ++ "CR Simple Binary Pattern": CR_BinaryPatternSimple, +docs/hel-892/watermark-reference/cr__node_mappings.py:143: trailing whitespace. ++ ### Graphics Shape +docs/hel-892/watermark-reference/cr__node_mappings.py:145: trailing whitespace. ++ "CR Draw Pie": CR_DrawPie, +docs/hel-892/watermark-reference/cr__node_mappings.py:146: trailing whitespace. ++ "CR Random Shape Pattern": CR_RandomShapePattern, +docs/hel-892/watermark-reference/cr__node_mappings.py:151: trailing whitespace. ++ "CR Composite Text": CR_CompositeText, +docs/hel-892/watermark-reference/cr__node_mappings.py:154: trailing whitespace. ++ "CR Select Font": CR_SelectFont, +docs/hel-892/watermark-reference/cr__node_mappings.py:158: trailing whitespace. ++ "CR Vignette Filter": CR_VignetteFilter, +docs/hel-892/watermark-reference/cr__node_mappings.py:159: trailing whitespace. ++ ### Graphics Layout +docs/hel-892/watermark-reference/cr__node_mappings.py:164: trailing whitespace. ++ "CR Feathered Border": CR_FeatheredBorder, +docs/hel-892/watermark-reference/cr__node_mappings.py:165: trailing whitespace. ++ "CR Simple Text Panel": CR_SimpleTextPanel, +docs/hel-892/watermark-reference/cr__node_mappings.py:168: trailing whitespace. ++ "CR Half Drop Panel": CR_HalfDropPanel, +docs/hel-892/watermark-reference/cr__node_mappings.py:170: trailing whitespace. ++ #"CR Simple Titles": CR_SimpleTitles, +docs/hel-892/watermark-reference/cr__node_mappings.py:173: trailing whitespace. ++ "CR Simple Banner": CR_SimpleBanner, +docs/hel-892/watermark-reference/cr__node_mappings.py:177: trailing whitespace. ++ "CR Seamless Checker": CR_SeamlessChecker, +docs/hel-892/watermark-reference/cr__node_mappings.py:186: trailing whitespace. ++ "CR VAE Input Switch": CR_VAEInputSwitch, +docs/hel-892/watermark-reference/cr__node_mappings.py:189: trailing whitespace. ++ "CR Switch Model and CLIP": CR_ModelAndCLIPInputSwitch, +docs/hel-892/watermark-reference/cr__node_mappings.py:191: trailing whitespace. ++ "CR Batch Process Switch": CR_BatchProcessSwitch, +docs/hel-892/watermark-reference/cr__node_mappings.py:193: trailing whitespace. ++ "CR Hires Fix Process Switch": CR_HiResFixProcessSwitch, +docs/hel-892/watermark-reference/cr__node_mappings.py:195: trailing whitespace. ++ "CR Index": CR_Index, +docs/hel-892/watermark-reference/cr__node_mappings.py:202: trailing whitespace. ++ "CR String To Combo": CR_StringToCombo, +docs/hel-892/watermark-reference/cr__node_mappings.py:206: trailing whitespace. ++ "CR String To Boolean": CR_StringToBoolean, +docs/hel-892/watermark-reference/cr__node_mappings.py:208: trailing whitespace. ++ "CR Random Hex Color": CR_RandomHexColor, +docs/hel-892/watermark-reference/cr__node_mappings.py:211: trailing whitespace. ++ "CR Random Multiline Colors": CR_RandomMultilineColors, +docs/hel-892/watermark-reference/cr__node_mappings.py:213: trailing whitespace. ++ "CR Random Panel Codes": CR_RandomPanelCodes, +docs/hel-892/watermark-reference/cr__node_mappings.py:214: trailing whitespace. ++ ### Utils Text +docs/hel-892/watermark-reference/cr__node_mappings.py:215: trailing whitespace. ++ "CR Text": CR_Text, +docs/hel-892/watermark-reference/cr__node_mappings.py:217: trailing whitespace. ++ "CR Split String": CR_SplitString, +docs/hel-892/watermark-reference/cr__node_mappings.py:218: trailing whitespace. ++ "CR Text Concatenate": CR_TextConcatenate, +docs/hel-892/watermark-reference/cr__node_mappings.py:221: trailing whitespace. ++ "CR Text Operation": CR_TextOperation, +docs/hel-892/watermark-reference/cr__node_mappings.py:222: trailing whitespace. ++ "CR Text Blacklist": CR_TextBlacklist, +docs/hel-892/watermark-reference/cr__node_mappings.py:226: trailing whitespace. ++ "CR Set Value On Binary": CR_SetValueOnBinary, +docs/hel-892/watermark-reference/cr__node_mappings.py:228: trailing whitespace. ++ "CR Set Switch From String": CR_SetSwitchFromString, +docs/hel-892/watermark-reference/cr__node_mappings.py:229: trailing whitespace. ++ ### Utils Other +docs/hel-892/watermark-reference/cr__node_mappings.py:232: trailing whitespace. ++ "CR Clamp Value": CR_ClampValue, +docs/hel-892/watermark-reference/cr__node_mappings.py:238: trailing whitespace. ++ # Schedules +docs/hel-892/watermark-reference/cr__node_mappings.py:240: trailing whitespace. ++ "CR Central Schedule": CR_CentralSchedule, +docs/hel-892/watermark-reference/cr__node_mappings.py:241: trailing whitespace. ++ "CR Combine Schedules": CR_CombineSchedules, +docs/hel-892/watermark-reference/cr__node_mappings.py:243: trailing whitespace. ++ "CR Load Schedule From File": CR_LoadScheduleFromFile, +docs/hel-892/watermark-reference/cr__node_mappings.py:245: trailing whitespace. ++ "CR Bit Schedule": CR_BitSchedule, +docs/hel-892/watermark-reference/cr__node_mappings.py:250: trailing whitespace. ++ "CR Text Scheduler": CR_TextScheduler, +docs/hel-892/watermark-reference/cr__node_mappings.py:254: trailing whitespace. ++ "CR Simple Prompt Scheduler": CR_SimplePromptScheduler, +docs/hel-892/watermark-reference/cr__node_mappings.py:256: trailing whitespace. ++ "CR Keyframe List": CR_KeyframeList, +docs/hel-892/watermark-reference/cr__node_mappings.py:258: trailing whitespace. ++ "CR Encode Scheduled Prompts": CR_EncodeScheduledPrompts, +docs/hel-892/watermark-reference/cr__node_mappings.py:262: trailing whitespace. ++ "CR Increment Float": CR_IncrementFloat, +docs/hel-892/watermark-reference/cr__node_mappings.py:264: trailing whitespace. ++ "CR Interpolate Latents": CR_InterpolateLatents, +docs/hel-892/watermark-reference/cr__node_mappings.py:265: trailing whitespace. ++ # Utils +docs/hel-892/watermark-reference/cr__node_mappings.py:266: trailing whitespace. ++ "CR Debatch Frames": CR_DebatchFrames, +docs/hel-892/watermark-reference/cr__node_mappings.py:268: trailing whitespace. ++ #"CR Input Text List": CR_InputTextList, +docs/hel-892/watermark-reference/cr__node_mappings.py:277: trailing whitespace. ++ "CR Simple Prompt List": CR_SimplePromptList, +docs/hel-892/watermark-reference/cr__node_mappings.py:278: trailing whitespace. ++ "CR Simple Prompt List Keyframes": CR_SimplePromptListKeyframes, +docs/hel-892/watermark-reference/cr__node_mappings.py:279: trailing whitespace. ++ "CR Cycle Models": CR_CycleModels, +docs/hel-892/watermark-reference/cr__node_mappings.py:284: trailing whitespace. ++ "CR Cycle Images Simple": CR_CycleImagesSimple, +docs/hel-892/watermark-reference/cr__node_mappings.py:289: trailing whitespace. ++ "CR Image List Simple": CR_ImageListSimple, +docs/hel-892/watermark-reference/cr__node_mappings.py:296: trailing whitespace. ++ "CR Latent Batch Size": "⚙️ CR Latent Batch Size", +docs/hel-892/watermark-reference/cr__node_mappings.py:301: trailing whitespace. ++ "CR Prompt Text": "⚙️ CR Prompt Text", +docs/hel-892/watermark-reference/cr__node_mappings.py:303: trailing whitespace. ++ "CR VAE Decode": "⚙️ CR VAE Decode", +docs/hel-892/watermark-reference/cr__node_mappings.py:307: trailing whitespace. ++ "CR Simple List": "📜 CR Simple List", +docs/hel-892/watermark-reference/cr__node_mappings.py:309: trailing whitespace. ++ "CR Integer Range List": "📜 CR Integer Range List", +docs/hel-892/watermark-reference/cr__node_mappings.py:310: trailing whitespace. ++ "CR Load Value List": "📜 CR Load Value List", +docs/hel-892/watermark-reference/cr__node_mappings.py:317: trailing whitespace. ++ "CR Load Image List Plus": "⌨️ CR Load Image List Plus", +docs/hel-892/watermark-reference/cr__node_mappings.py:319: trailing whitespace. ++ "CR Font File List": "⌨️ CR Font File List", +docs/hel-892/watermark-reference/cr__node_mappings.py:323: trailing whitespace. ++ "CR Repeater": "🛠️ CR Repeater", +docs/hel-892/watermark-reference/cr__node_mappings.py:324: trailing whitespace. ++ "CR XY Product": "🛠️ CR XY Product", +docs/hel-892/watermark-reference/cr__node_mappings.py:325: trailing whitespace. ++ "CR Text List To String": "🛠️ CR Text List To String", +docs/hel-892/watermark-reference/cr__node_mappings.py:328: trailing whitespace. ++ "CR SDXL Aspect Ratio": "🔳 CR SDXL Aspect Ratio", +docs/hel-892/watermark-reference/cr__node_mappings.py:336: trailing whitespace. ++ "CR SDXL Prompt Mixer": "CR SDXL Prompt Mixer (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:337: trailing whitespace. ++ "CR Seed to Int": "CR Seed to Int (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:339: trailing whitespace. ++ "CR Apply ControlNet": "🕹️ CR Apply ControlNet", +docs/hel-892/watermark-reference/cr__node_mappings.py:341: trailing whitespace. ++ "CR Apply Multi-ControlNet": "🕹️ CR Apply Multi-ControlNet", +docs/hel-892/watermark-reference/cr__node_mappings.py:342: trailing whitespace. ++ ### LoRA Nodes +docs/hel-892/watermark-reference/cr__node_mappings.py:343: trailing whitespace. ++ "CR Load LoRA": "💊 CR Load LoRA", +docs/hel-892/watermark-reference/cr__node_mappings.py:355: trailing whitespace. ++ "CR 8 Channel Out": "🚌 CR 8 Channel Out", +docs/hel-892/watermark-reference/cr__node_mappings.py:362: trailing whitespace. ++ "CR Pipe Switch": "🔀️ CR Pipe Switch", +docs/hel-892/watermark-reference/cr__node_mappings.py:366: trailing whitespace. ++ "CR SDXL Base Prompt Encoder": "🌟 CR SDXL Base Prompt Encoder", +docs/hel-892/watermark-reference/cr__node_mappings.py:371: trailing whitespace. ++ ### XY Grid Nodes +docs/hel-892/watermark-reference/cr__node_mappings.py:372: trailing whitespace. ++ "CR XY List": "📉 CR XY List", +docs/hel-892/watermark-reference/cr__node_mappings.py:373: trailing whitespace. ++ "CR XY Interpolate": "📉 CR XY Interpolate", +docs/hel-892/watermark-reference/cr__node_mappings.py:378: trailing whitespace. ++ "CR Halftone Grid" : "🟫 CR Halftone Grid", +docs/hel-892/watermark-reference/cr__node_mappings.py:380: trailing whitespace. ++ "CR Style Bars" : "🟪 CR Style Bars", +docs/hel-892/watermark-reference/cr__node_mappings.py:384: trailing whitespace. ++ "CR Radial Gradient": "🟨 CR Radial Gradient", +docs/hel-892/watermark-reference/cr__node_mappings.py:389: trailing whitespace. ++ ### Graphics Shape +docs/hel-892/watermark-reference/cr__node_mappings.py:390: trailing whitespace. ++ "CR Draw Shape": "🟡 CR Draw Shape", +docs/hel-892/watermark-reference/cr__node_mappings.py:391: trailing whitespace. ++ "CR Draw Pie": "🟢 CR Draw Pie", +docs/hel-892/watermark-reference/cr__node_mappings.py:392: trailing whitespace. ++ "CR Random Shape Pattern": "🔵 CR Random Shape Pattern", +docs/hel-892/watermark-reference/cr__node_mappings.py:402: trailing whitespace. ++ "CR Color Tint": "🎨 CR Color Tint", +docs/hel-892/watermark-reference/cr__node_mappings.py:403: trailing whitespace. ++ "CR Vignette Filter": "🎨 CR Vignette Filter", +docs/hel-892/watermark-reference/cr__node_mappings.py:410: trailing whitespace. ++ "CR Diamond Panel": "🌁 CR Diamond Panel", +docs/hel-892/watermark-reference/cr__node_mappings.py:413: trailing whitespace. ++ "CR Feathered Border": "🌁 CR Feathered Border", +docs/hel-892/watermark-reference/cr__node_mappings.py:414: trailing whitespace. ++ "CR Overlay Transparent Image": "🌁 CR Overlay Transparent Image", +docs/hel-892/watermark-reference/cr__node_mappings.py:417: trailing whitespace. ++ "CR Simple Banner": "📱 CR Simple Banner", +docs/hel-892/watermark-reference/cr__node_mappings.py:430: trailing whitespace. ++ "CR VAE Input Switch": "🔀 CR VAE Input Switch", +docs/hel-892/watermark-reference/cr__node_mappings.py:435: trailing whitespace. ++ "CR Batch Process Switch": "🔂 CR Batch Process Switch", +docs/hel-892/watermark-reference/cr__node_mappings.py:437: trailing whitespace. ++ "CR Hires Fix Process Switch": "🔂 CR Hires Fix Process Switch", +docs/hel-892/watermark-reference/cr__node_mappings.py:439: trailing whitespace. ++ "CR Index":"🔢 CR Index", +docs/hel-892/watermark-reference/cr__node_mappings.py:446: trailing whitespace. ++ "CR String To Combo": "🔧 CR String To Combo", +docs/hel-892/watermark-reference/cr__node_mappings.py:449: trailing whitespace. ++ "CR Integer To String": "🔧 CR Integer To String", +docs/hel-892/watermark-reference/cr__node_mappings.py:450: trailing whitespace. ++ "CR String To Boolean": "🔧 CR String To Boolean", +docs/hel-892/watermark-reference/cr__node_mappings.py:452: trailing whitespace. ++ "CR Random Hex Color": "🎲 CR Random Hex Color", +docs/hel-892/watermark-reference/cr__node_mappings.py:460: trailing whitespace. ++ "CR Multiline Text": "🔤 CR Multiline Text", +docs/hel-892/watermark-reference/cr__node_mappings.py:464: trailing whitespace. ++ "CR Text Blacklist": "🔤 Text Blacklist", +docs/hel-892/watermark-reference/cr__node_mappings.py:466: trailing whitespace. ++ "CR Text Operation": "🔤 CR Text Operation", +docs/hel-892/watermark-reference/cr__node_mappings.py:472: trailing whitespace. ++ "CR Set Switch From String": "⚙️ CR Set Switch From String", +docs/hel-892/watermark-reference/cr__node_mappings.py:473: trailing whitespace. ++ ### Utils Other +docs/hel-892/watermark-reference/cr__node_mappings.py:480: trailing whitespace. ++ "CR Select ISO Size": "⚙️ CR Select ISO Size", +docs/hel-892/watermark-reference/cr__node_mappings.py:482: trailing whitespace. ++ # Schedules +docs/hel-892/watermark-reference/cr__node_mappings.py:484: trailing whitespace. ++ "CR Central Schedule": "📋 CR Central Schedule", +docs/hel-892/watermark-reference/cr__node_mappings.py:485: trailing whitespace. ++ "CR Combine Schedules": "📋 CR Combine Schedules", +docs/hel-892/watermark-reference/cr__node_mappings.py:487: trailing whitespace. ++ "CR Load Schedule From File": "📋 CR Load Schedule From File", +docs/hel-892/watermark-reference/cr__node_mappings.py:489: trailing whitespace. ++ "CR Bit Schedule": "📋 CR Bit Schedule", +docs/hel-892/watermark-reference/cr__node_mappings.py:494: trailing whitespace. ++ "CR Text Scheduler": "📑 CR Text Scheduler", +docs/hel-892/watermark-reference/cr__node_mappings.py:498: trailing whitespace. ++ "CR Simple Prompt Scheduler": "📑 CR Simple Prompt Scheduler", +docs/hel-892/watermark-reference/cr__node_mappings.py:500: trailing whitespace. ++ "CR Keyframe List": "📝 CR Keyframe List", +docs/hel-892/watermark-reference/cr__node_mappings.py:502: trailing whitespace. ++ "CR Encode Scheduled Prompts": "📝 CR Encode Scheduled Prompts", +docs/hel-892/watermark-reference/cr__node_mappings.py:506: trailing whitespace. ++ "CR Increment Float": "🔢 CR Increment Float", +docs/hel-892/watermark-reference/cr__node_mappings.py:508: trailing whitespace. ++ "CR Interpolate Latents": "🔢 CR Interpolate Latents", +docs/hel-892/watermark-reference/cr__node_mappings.py:509: trailing whitespace. ++ # Utils +docs/hel-892/watermark-reference/cr__node_mappings.py:510: trailing whitespace. ++ "CR Debatch Frames": "🛠️ CR Debatch Frames", +docs/hel-892/watermark-reference/cr__node_mappings.py:515: trailing whitespace. ++ "CR Output Flow Frames": "⌨️ CR Output Flow Frames", +docs/hel-892/watermark-reference/cr__node_mappings.py:518: trailing whitespace. ++ "CR Simple Prompt List": "CR Simple Prompt List (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:519: trailing whitespace. ++ "CR Simple Prompt List Keyframes": "CR Simple Prompt List Keyframes (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:520: trailing whitespace. ++ "CR Cycle Models": "CR Cycle Models (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:530: trailing whitespace. ++ "CR Image List Simple": "CR Image List Simple (Legacy)", +docs/hel-892/watermark-reference/cr__node_mappings.py:531: trailing whitespace. ++ "CR Input Text List": "CR Input Text List (Legacy)", +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:2: trailing whitespace. ++# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:3: trailing whitespace. ++# for ComfyUI https://github.com/comfyanonymous/ComfyUI +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:13: trailing whitespace. ++font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:22: trailing whitespace. ++ return torch.from_numpy(np.array(image).astype(np.float32) / 255.0).unsqueeze(0) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:29: trailing whitespace. ++ text_plot_y = text_pos_y + margins +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:31: trailing whitespace. ++ text_plot_y = img_height - text_height + text_pos_y - margins +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:32: trailing whitespace. ++ return text_plot_y +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:42: trailing whitespace. ++ return text_plot_x +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:57: trailing whitespace. ++ position_x, position_y, +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:60: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:61: trailing whitespace. ++ # Create the drawing context +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:68: trailing whitespace. ++ font = ImageFont.truetype(str(resolved_font_path), size=font_size) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:80: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:84: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:97: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:98: trailing whitespace. ++ # Get the text x and y positions for each line +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:101: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:104: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:114: trailing whitespace. ++ elif rotation_options == "image center": +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:116: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:117: trailing whitespace. ++ return rotated_text_mask +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:123: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:129: trailing whitespace. ++ outline_thickness = text_height // 10 +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:130: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:132: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:134: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:140: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:145: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:150: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:151: trailing whitespace. ++ draw.text((x, y), text_lines[0], fill=text_color, font=font, stroke_width=outline_thickness, stroke_fill='black') +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:154: trailing whitespace. ++ text_width, text_height = get_text_size(draw, text_lines[1], font) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:155: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:157: trailing whitespace. ++ y = y_position + (bar_height - text_height * 2) // 2 + text_height - (bar_height * 0.00) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:160: trailing whitespace. ++ else: +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:168: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:175: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:177: trailing whitespace. ++ font_size = min(max_height//2, max_font_size) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:179: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:186: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:189: trailing whitespace. ++ max_text_width = max(max_text_width, line_width) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:190: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:193: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:199: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:222: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:226: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:240: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:241: trailing whitespace. ++ return image_out +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:249: trailing whitespace. ++ position_x, position_y, +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:252: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:253: trailing whitespace. ++ # Create the drawing context +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:260: trailing whitespace. ++ font = ImageFont.truetype(str(resolved_font_path), size=font_size) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:271: trailing whitespace. ++ line_width, line_height = get_text_size(draw, line, font) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:272: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:276: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:287: trailing whitespace. ++ line_width, line_height = get_text_size(draw, line, font) +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:288: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:289: trailing whitespace. ++ # Get the text x and y positions for each line +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:292: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:304: trailing whitespace. ++ elif rotation_options == "image center": +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:306: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:348: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:354: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:359: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:367: trailing whitespace. ++ return color_rgb +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:395: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:398: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:432: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:443: trailing whitespace. ++ return hex_color +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:476: trailing whitespace. ++ return combined_image +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:484: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py:484: new blank line at EOF. +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:2: trailing whitespace. ++# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:3: trailing whitespace. ++# for ComfyUI https://github.com/comfyanonymous/ComfyUI +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:22: trailing whitespace. ++try: +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:23: trailing whitespace. ++ import arabic_reshaper +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:46: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:47: trailing whitespace. ++ALIGN_OPTIONS = ["center", "top", "bottom"] +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:51: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:58: trailing whitespace. ++ font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:60: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:66: trailing whitespace. ++ "font_color": (COLORS,), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:77: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:85: trailing whitespace. ++ def overlay_text(self, image, text, font_name, font_size, font_color, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:92: trailing whitespace. ++ # Get RGB values for the text color +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:94: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:102: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:105: trailing whitespace. ++ margins, line_spacing, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:110: trailing whitespace. ++ # Composite the text image onto the background image using the rotated text mask +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:111: trailing whitespace. ++ image_out = Image.composite(text_image, back_image, rotated_text_mask) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:114: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:124: trailing whitespace. ++ font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:126: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:129: trailing whitespace. ++ "image_height": ("INT", {"default": 512, "min": 64, "max": 2048}), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:142: trailing whitespace. ++ "rotation_options": (ROTATE_OPTIONS,), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:147: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:156: trailing whitespace. ++ font_name, font_size, font_color, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:166: trailing whitespace. ++ bg_color = get_color_values(background_color, bg_color_hex, color_mapping) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:167: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:183: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:188: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:195: trailing whitespace. ++ font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:197: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:211: trailing whitespace. ++ "rotation_options": (ROTATE_OPTIONS,), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:215: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:222: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:224: trailing whitespace. ++ margins, line_spacing, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:225: trailing whitespace. ++ position_x, position_y, background_color, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:231: trailing whitespace. ++ bg_color = get_color_values(background_color, bg_color_hex, color_mapping) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:232: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:235: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:237: trailing whitespace. ++ text_image = tensor2pil(image_3d) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:239: trailing whitespace. ++ background_image = Image.new('RGB', text_mask.size, bg_color) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:249: trailing whitespace. ++ text_mask = ImageOps.invert(rotated_text_mask) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:251: trailing whitespace. ++ # Composite the text image onto the background image using the inverted text mask +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:255: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:265: trailing whitespace. ++ font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:267: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:282: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:289: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:291: trailing whitespace. ++ font_name, font_size, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:300: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:312: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:317: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:323: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:326: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:329: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:340: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:343: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:347: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:350: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:352: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:357: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:361: trailing whitespace. ++ font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:363: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:364: trailing whitespace. ++ ALIGN_OPTIONS = ["center", "top left", "top center", "top right", "bottom left", "bottom center", "bottom right"] +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:365: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:372: trailing whitespace. ++ "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:373: trailing whitespace. ++ "font_color": (COLORS,), +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:379: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:391: trailing whitespace. ++ # Get RGB values for the text color +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:393: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:395: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:397: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:400: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:403: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:405: trailing whitespace. ++ font_file = os.path.join("fonts", str(font_name)) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:408: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:411: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:418: trailing whitespace. ++ textpos = [(img.size[0] - textsize[0]) // 2, y_margin] +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:424: trailing whitespace. ++ textpos = [(img.size[0] - textsize[0]) // 2, img.size[1] - textsize[1] - y_margin] +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:427: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:430: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:434: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:437: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:444: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:446: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:450: trailing whitespace. ++#---------------------------------------------------------------------------------------------------------------------# +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:454: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:457: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:465: trailing whitespace. ++ font_dir = "/System/Library/Fonts" +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:466: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:468: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:471: trailing whitespace. ++ } +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:480: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:481: trailing whitespace. ++ show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-select-font" +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:482: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:483: trailing whitespace. ++ return (font_name, show_help,) +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:484: trailing whitespace. ++ +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:492: trailing whitespace. ++ "CR Draw Text": CR_DrawText, +docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py:501: new blank line at EOF. +docs/hel-892/watermark-reference/guhai____init__.py:22: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai____init__.py:25: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai____init__.py:29: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai____init__.py:33: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai____init__.py:37: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai____init__.py:41: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:15: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:25: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:47: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:51: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:58: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:62: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:67: trailing whitespace. ++ result = self.应用图像水印(img, watermark, 水印大小百分比, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:68: trailing whitespace. ++ 水印不透明度, 水平位置, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:69: trailing whitespace. ++ 垂直位置, X偏移百分比, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:73: trailing whitespace. ++ result = self.应用文字水印(img, 水印文本, 字体, 水印大小百分比, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:74: trailing whitespace. ++ 水印不透明度, 水平位置, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:75: trailing whitespace. ++ 垂直位置, X偏移百分比, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:76: trailing whitespace. ++ Y偏移百分比, 文字颜色, 水印平铺, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:78: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:82: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:85: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:86: trailing whitespace. ++ def 应用图像水印(self, 原图, 水印图, 大小百分比, 不透明度, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:93: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:97: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:102: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:106: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:112: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:116: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:119: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:120: trailing whitespace. ++ def 应用文字水印(self, 原图, 文字, 字体名, 大小百分比, 不透明度, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:121: trailing whitespace. ++ 水平位置, 垂直位置, X偏移, Y偏移, 颜色, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:126: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:134: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:137: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:140: trailing whitespace. ++ 文字图层 = Image.new('RGBA', +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:141: trailing whitespace. ++ (文字宽 + 2 * 安全边距, +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:142: trailing whitespace. ++ 文字高 + 2 * 安全边距), +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:145: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:148: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:151: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:156: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:159: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:166: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:177: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:180: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:185: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:193: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:196: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:204: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:206: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:211: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:215: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:219: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:222: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:224: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:235: trailing whitespace. ++ +docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py:244: trailing whitespace. ++ +docs/hel-892/watermark-reference/layer__py__imagefunc.py:2537: trailing whitespace. ++ You are an imagine generator for a slide deck tool. You will be given the text or description of a slide and you'll generate a few image descriptions that will be fed to an AI image generator. It will need to have a particular format (seen below). You will also be given some examples below. Think metaphorically and symbolically. diff --git a/docs/hel-892/watermark-document-evidence/tested-files.json b/docs/hel-892/watermark-document-evidence/tested-files.json new file mode 100644 index 00000000..b6a073a4 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/tested-files.json @@ -0,0 +1,225 @@ +{ + "scope": "implementation, changed tests, reproduction scripts, source references and editorial binding; generated reports/logs tracked separately", + "files": [ + { + "path": "calliope-backend/src/calliope/comfyui/fixed_document.py", + "sha256": "c3030cd3d429c04a3ffeae353d8f3aa40b03f6c5cfa8ee7edca98c6f4b8d9689" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.json", + "sha256": "b2f6a251eae0f2df46fb1cc213eacb499ddaa45071d0f5650f6226acd16f241b" + }, + { + "path": "calliope-backend/tests/test_background_fixed_document.py", + "sha256": "5af6e45350070ac4316c0bffbab48ef2ce5d430957b5f37a06eace753ee1709a" + }, + { + "path": "calliope-backend/tests/test_birefnet_fixed_document.py", + "sha256": "e6f08722ca846d8022f5dabab34c5802d99c9fbbf31fc5d861851c643b9939b9" + }, + { + "path": "calliope-backend/tests/test_concat_fixed_document.py", + "sha256": "2d366eae6e6856562d4b73e0a66efd027230ee97e6c5bfbcfe4add2779df5583" + }, + { + "path": "calliope-backend/tests/test_controlnet_fixed_document.py", + "sha256": "0b4828b6f0e474a3774be70fdecc242cf34ba1f06a64e081bef1093d6715ab9f" + }, + { + "path": "calliope-backend/tests/test_frames_fixed_document.py", + "sha256": "01d62fdc649a1c2776a5fe9d63d317d3214700893829c3d51fe052304b3e5230" + }, + { + "path": "calliope-backend/tests/test_gemma_fixed_document.py", + "sha256": "265189e9325998553cba89dd9ecd1f9c670eec761b729d6730aed7147bdf49a8" + }, + { + "path": "calliope-backend/tests/test_gif_images_fixed_document.py", + "sha256": "20cc1fd798e57e143dab8847f3d706659487df42104e1ffb29d37f1f0bde5376" + }, + { + "path": "calliope-backend/tests/test_grid_fixed_document.py", + "sha256": "798b76711c58b5bd79f437a4545c3b8be3445abfef3d1f15ac635b0d95e2533f" + }, + { + "path": "calliope-backend/tests/test_latent_fixed_document.py", + "sha256": "eaf6ba7036af498a730944525ae82697d4aa15d20edf9abbd97c05d22f5d74e8" + }, + { + "path": "calliope-backend/tests/test_nlf_fixed_document.py", + "sha256": "c6084a46a85806f17a9512aa11d1d990a60a02b46dbc0aad0910121a4dccbe45" + }, + { + "path": "calliope-backend/tests/test_openpose_fixed_document.py", + "sha256": "438060fa3923d19c970546eb0020516fe0732e20a8803fa90a2f6ac810652629" + }, + { + "path": "calliope-backend/tests/test_reverse_fixed_document.py", + "sha256": "54d011716efd880b21df25ffb947f3eb11d46496a0ddfd6e021c6365adaf75de" + }, + { + "path": "calliope-backend/tests/test_sdpose_fixed_document.py", + "sha256": "d47a0ed85feee6776f4a3778e0df9c46799278cadbce274cf0a7144ce5bb8828" + }, + { + "path": "calliope-backend/tests/test_watermark_fixed_document.py", + "sha256": "0578759d3a8ea26bf424935c1433507030c664fbb5d6fd6bad2f28b0ef2764cc" + }, + { + "path": "docs/hel-892/watermark-document-evidence/build_definition.py", + "sha256": "f2cba04b4ad244bc9ade98b124c1429fab17a137dc144d29387a395fd8450071" + }, + { + "path": "docs/hel-892/watermark-document-evidence/build_layer_editorial.py", + "sha256": "a6d212a07f1cc0daa4bf6fba433f750e3ae17a1425bd2c01466e6dff786fd849" + }, + { + "path": "docs/hel-892/watermark-document-evidence/discover_sources.py", + "sha256": "cea0d1fe49712ef84f6fbf4630af24624e44ed33abe40cdcb0b223555a378ca1" + }, + { + "path": "docs/hel-892/watermark-document-evidence/fetch_extra_sources.py", + "sha256": "5e95f86156ed30ed48ecd13ccc52fb934572191b305bbe55bb1064f48a973dfd" + }, + { + "path": "docs/hel-892/watermark-document-evidence/layer-editorial.json", + "sha256": "ead339e6cc0159192da9f83ea2807b3b2a5b469db9cfbc135c04947dc2e010e6" + }, + { + "path": "docs/hel-892/watermark-document-evidence/original-binding.json", + "sha256": "9284c04418ba516bc8382795032e360bdf442b02e26ecfcbecb8b83a3852b071" + }, + { + "path": "docs/hel-892/watermark-document-evidence/rebuild.py", + "sha256": "4809a68ca1484af335c9c5c7c566788e9f27a0d07c7cbe7767cc06e2df77aee7" + }, + { + "path": "docs/hel-892/watermark-document-evidence/recompute.py", + "sha256": "7316e58ad78af457fd49be6eb57b92a2b369626f77cc774bb8adf02346db7234" + }, + { + "path": "docs/hel-892/watermark-document-evidence/render_report.py", + "sha256": "91f1158576804734009d3664bb22c4d49995d73fe723919331a44402691e6e84" + }, + { + "path": "docs/hel-892/watermark-document-evidence/repeat.py", + "sha256": "a6b569c5c7f483626beac86f4e122a7de38d1f636695fede7f7ee17b7c99845e" + }, + { + "path": "docs/hel-892/watermark-document-evidence/request_counts.py", + "sha256": "16fb2ba598a5b58f0704cc4535bfdd1d6ba8ade927db81f7f48875b23b83b020" + }, + { + "path": "docs/hel-892/watermark-document-evidence/verify_sources.py", + "sha256": "d5677bf201c658eb88245b3910faf72af0bb777a85311d2aeef6d5d392f7c3c2" + }, + { + "path": "docs/hel-892/watermark-reference/camera-tree.json", + "sha256": "49c61ab16e8b935b1a544772cb5dfcf92c4fca8d8e88469e21eda46e45a142c9" + }, + { + "path": "docs/hel-892/watermark-reference/camera____init__.py", + "sha256": "6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee" + }, + { + "path": "docs/hel-892/watermark-reference/core-tree.json", + "sha256": "00b9233049a29105c91da05065fc635689241e9faa8afcdf44fa2298bcc903a6" + }, + { + "path": "docs/hel-892/watermark-reference/core__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "path": "docs/hel-892/watermark-reference/core__comfy_api__input_impl__video_types.py", + "sha256": "27c2f86c4c5407f93d7dfe3b38c78eab968c0c38fb6617c21c7e531912c9ee6d" + }, + { + "path": "docs/hel-892/watermark-reference/core__nodes.py", + "sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79" + }, + { + "path": "docs/hel-892/watermark-reference/cr-tree.json", + "sha256": "fe9ed6970fed4bfd67e9808e93c359946d87cb065b3bd43a804aafe88f7e5ede" + }, + { + "path": "docs/hel-892/watermark-reference/cr____init__.py", + "sha256": "f5648f54dad6044763ac2f5f75bb26ec7f24bb43a8c4a6f6be62e523efee2ff6" + }, + { + "path": "docs/hel-892/watermark-reference/cr__categories.py", + "sha256": "9c84d8773c4281a1e8f7279c2467adc3a799c872d67fcd7309fb1973751f4840" + }, + { + "path": "docs/hel-892/watermark-reference/cr__config.py", + "sha256": "1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd" + }, + { + "path": "docs/hel-892/watermark-reference/cr__node_mappings.py", + "sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633" + }, + { + "path": "docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py", + "sha256": "d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2" + }, + { + "path": "docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py", + "sha256": "6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb" + }, + { + "path": "docs/hel-892/watermark-reference/guhai-tree.json", + "sha256": "3013c022e4ad1a83e26796003bdda25b33ea1051e8c134d0fd02fa9614a7a674" + }, + { + "path": "docs/hel-892/watermark-reference/guhai____init__.py", + "sha256": "6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952" + }, + { + "path": "docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py", + "sha256": "c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0" + }, + { + "path": "docs/hel-892/watermark-reference/layer-package-list.json", + "sha256": "8ec5059dcb1c7d9b06c91d2f94b50259419585c4d62ac5541f442b5c123d7125" + }, + { + "path": "docs/hel-892/watermark-reference/layer-registry-2.0.38.json", + "sha256": "f82f68f494614f0bb2518e4a7eb9b5a20938d61bea3f909f92afbd811f755195" + }, + { + "path": "docs/hel-892/watermark-reference/layer__LICENSE", + "sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0" + }, + { + "path": "docs/hel-892/watermark-reference/layer____init__.py", + "sha256": "3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59" + }, + { + "path": "docs/hel-892/watermark-reference/layer__py__imagefunc.py", + "sha256": "258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6" + }, + { + "path": "docs/hel-892/watermark-reference/layer__py__watermark.py", + "sha256": "060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903" + }, + { + "path": "docs/hel-892/watermark-reference/layer__pyproject.toml", + "sha256": "629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a" + }, + { + "path": "docs/hel-892/watermark-reference/layer__requirements.txt", + "sha256": "d579cfdc2765b067277b4549d913b484db63474ce1c2db6c916551742f7e0e34" + }, + { + "path": "docs/hel-892/watermark-reference/pins.json", + "sha256": "1e3e2767601de2da7fadee04afdca76868be49113c812c5e61d2eef26ef3ac7a" + }, + { + "path": "e2e/run-watermark-document.py", + "sha256": "b971ca834561fc199d8784512b3f2a4493ce4d51dcd753d99661365daf2b4470" + }, + { + "path": "e2e/watermark-document.mjs", + "sha256": "33097c26d641849b8d92b58917c3e0fef37d8d50872b4486d0d9d4ab6346038d" + } + ] +} diff --git a/docs/hel-892/watermark-document-evidence/tests-initial.txt b/docs/hel-892/watermark-document-evidence/tests-initial.txt new file mode 100644 index 00000000..a13255c6 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/tests-initial.txt @@ -0,0 +1,13 @@ +........................................................................ [ 17%] +........................................................................ [ 35%] +........................................................................ [ 53%] +........................................................................ [ 70%] +........................................................................ [ 88%] +.............................................. [100%] +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-7681e8af13d0/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead. + _PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]] + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +406 passed, 1 warning in 0.92s diff --git a/docs/hel-892/watermark-document-evidence/validation-commands.txt b/docs/hel-892/watermark-document-evidence/validation-commands.txt new file mode 100644 index 00000000..f9e1c110 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/validation-commands.txt @@ -0,0 +1,24 @@ +# 仓库根;既有Python3.11/锁定依赖;不执行上游插件,不读取媒体/目标机。 +uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline +npm ci --prefix calliope-web --ignore-scripts --offline +python3 docs/hel-892/watermark-document-evidence/verify_sources.py +python3 docs/hel-892/watermark-document-evidence/rebuild.py +uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py +uv build --project calliope-backend --offline +uv run --project calliope-backend --offline python docs/hel-892/watermark-document-evidence/recompute.py +python3 docs/hel-892/watermark-document-evidence/repeat.py +uv run --project calliope-backend --offline pytest calliope-backend/tests/test_watermark_fixed_document.py calliope-backend/tests/test_birefnet_fixed_document.py::test_actual_graph_counts_pointers_notes_unknowns_and_old_objects calliope-backend/tests/test_workflow_library.py calliope-backend/tests/test_latent_fixed_document.py::test_exact_graph_versions_and_preservation calliope-backend/tests/test_frames_fixed_document.py::test_exact_graph_versions_and_preservation calliope-backend/tests/test_concat_fixed_document.py::test_actual_paths_counts_old_objects_and_media_conditions calliope-backend/tests/test_gif_images_fixed_document.py::test_actual_paths_counts_old_objects_and_media_conditions calliope-backend/tests/test_reverse_fixed_document.py::test_exact_graph_and_original_seventeen_unchanged calliope-backend/tests/test_nlf_fixed_document.py::test_exact_topology_counts_modes_unknowns_and_old_objects calliope-backend/tests/test_openpose_fixed_document.py::test_exact_document_topology_and_preservation calliope-backend/tests/test_grid_fixed_document.py::test_only_two_reviews_change_and_all_old_blocks_preserved calliope-backend/tests/test_gemma_fixed_document.py::test_real_document_and_frozen_old_thirteen_blocks calliope-backend/tests/test_sdpose_fixed_document.py::test_real_document_and_frozen_old_fourteen_blocks calliope-backend/tests/test_background_fixed_document.py::test_ten_documents_only_gain_overview_and_new_block_is_independent calliope-backend/tests/test_controlnet_fixed_document.py::test_other_documents_and_block_swaps -q --disable-warnings +uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/watermark-document-evidence e2e/run-watermark-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_{watermark,birefnet,latent,frames,concat,gif_images,reverse,nlf,openpose,grid,gemma,sdpose,background,controlnet}_fixed_document.py +uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/watermark-document-evidence e2e/run-watermark-document.py calliope-backend/src/calliope/comfyui/fixed_document.py calliope-backend/tests/test_{watermark,birefnet,latent,frames,concat,gif_images,reverse,nlf,openpose,grid,gemma,sdpose,background,controlnet}_fixed_document.py +node --check e2e/watermark-document.mjs +LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-watermark-document.py +# 浏览runner finally终止两个本地服务;产物按下列精确路径复制后复算请求: +cp .local-evidence/watermark-document/browser/browser-results.json docs/hel-892/watermark-document-evidence/browser-results.json +cp .local-evidence/watermark-document/browser/service-0.log docs/hel-892/watermark-document-evidence/service-0.txt +cp .local-evidence/watermark-document/browser/service-1.log docs/hel-892/watermark-document-evidence/service-1.txt +python3 docs/hel-892/watermark-document-evidence/request_counts.py + +# 可选:重新在线获取准确文本原件,不执行上游,不读取媒体/字体/logo/权重。 +# python3 docs/hel-892/watermark-document-evidence/discover_sources.py +# python3 docs/hel-892/watermark-document-evidence/fetch_extra_sources.py +# python3 docs/hel-892/watermark-document-evidence/build_layer_editorial.py diff --git a/docs/hel-892/watermark-document-evidence/verify_sources.py b/docs/hel-892/watermark-document-evidence/verify_sources.py new file mode 100644 index 00000000..de997db6 --- /dev/null +++ b/docs/hel-892/watermark-document-evidence/verify_sources.py @@ -0,0 +1,91 @@ +"Local byte/blob verification of exact textual originals, no plugin import." + +import hashlib +import json + +from build_definition import OUT, REF, build + + +def main(): + pins = json.loads((REF / "pins.json").read_bytes()) + entries = [] + for key, pin in pins.items(): + tree = json.loads((REF / (key + "-tree.json")).read_bytes()) + assert tree["sha"] == pin["commit"] and not tree["truncated"] + by_name = {e["path"]: e for e in tree["tree"]} + for local in sorted(REF.glob(key + "__*")): + path = next(p for p in by_name if key + "__" + p.replace("/", "__") == local.name) + raw = local.read_bytes() + blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() + assert blob == by_name[path]["sha"] + entries.append( + dict( + local_file=local.name, + path=path, + commit=pin["commit"], + sha256=hashlib.sha256(raw).hexdigest(), + git_blob_sha1=blob, + ) + ) + release = json.loads((REF / "layer-registry-2.0.38.json").read_bytes()) + assert ( + release["version"] == "2.0.38" and release["id"] == "db305def-250b-448d-88b6-e43acbeb03af" + ) + assert 'version = "2.0.38"' in (REF / "layer__pyproject.toml").read_text() + for local in sorted(REF.glob("layer__*")): + raw = local.read_bytes() + entries.append( + dict( + local_file=local.name, + registry_version="2.0.38", + git_commit_binding="unknown", + sha256=hashlib.sha256(raw).hexdigest(), + ) + ) + block = build() + graph = json.loads((OUT.parents[2] / block["source_path"]).read_bytes()) + (OUT / "source-graphs.json").write_text( + json.dumps( + dict( + source_path=block["source_path"], + raw_sha256=block["source_sha256"], + canonical_sha256=block["canonical_sha256"], + nodes=graph["nodes"], + links=graph["links"], + extra=graph["extra"], + saved_positions=56, + scalar_positions=56, + notes=0, + missing_widgets=[12, 14], + empty_widgets=[1, 16, 17, 7, 8, 9, 15, 11, 13], + ), + ensure_ascii=False, + indent=2, + ) + + "\n" + ) + for e in block["sources"]: + raw = (OUT / e["local_file"]).read_bytes() + assert hashlib.sha256(raw).hexdigest() == e["sha256"] + (OUT / "source-check.json").write_text( + json.dumps( + dict( + local_file_base="docs/hel-892/watermark-reference", + files=entries, + citations=len(block["sources"]), + no_upstream_execution=True, + no_assets_fetched=True, + ), + ensure_ascii=False, + indent=2, + ) + + "\n" + ) + print( + f"PASS {len(entries)} exact local originals and " + f"{len(block['sources'])} citations; no upstream import" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/watermark-reference/camera-tree.json b/docs/hel-892/watermark-reference/camera-tree.json new file mode 100644 index 00000000..ac13710f --- /dev/null +++ b/docs/hel-892/watermark-reference/camera-tree.json @@ -0,0 +1,1098 @@ +{ + "sha": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "tree": [ + { + "path": ".github", + "mode": "040000", + "type": "tree", + "sha": "6156011f43f1ce5f8f62da38935cacf5a61082f8", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/6156011f43f1ce5f8f62da38935cacf5a61082f8" + }, + { + "path": ".github/workflows", + "mode": "040000", + "type": "tree", + "sha": "6726b5c157f56ba822cead20ce8453fc5615c8f1", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/6726b5c157f56ba822cead20ce8453fc5615c8f1" + }, + { + "path": ".github/workflows/publish.yml", + "mode": "100644", + "type": "blob", + "sha": "abb5a8b77cd906b36af45a1de9db72dae46544a8", + "size": 702, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/abb5a8b77cd906b36af45a1de9db72dae46544a8" + }, + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "43c4ad44787820c21a94762b527db375a3d85b7b", + "size": 4146, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/43c4ad44787820c21a94762b527db375a3d85b7b" + }, + { + "path": "__init__.py", + "mode": "100644", + "type": "blob", + "sha": "b1a022b86fc8180a4af3ec7409286c230318e883", + "size": 31373, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/b1a022b86fc8180a4af3ec7409286c230318e883" + }, + { + "path": "fonts", + "mode": "040000", + "type": "tree", + "sha": "ecebfd746df8c47f2374316fb96053557956e3a0", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/ecebfd746df8c47f2374316fb96053557956e3a0" + }, + { + "path": "fonts/Alibaba-PuHuiTi-Bold.ttf", + "mode": "100644", + "type": "blob", + "sha": "dcca29c87ff1fe9ccd230ca041accba888809d47", + "size": 9317148, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/dcca29c87ff1fe9ccd230ca041accba888809d47" + }, + { + "path": "fonts/Alibaba-PuHuiTi-Medium.ttf", + "mode": "100644", + "type": "blob", + "sha": "4bb46dd9d8ec751997a9d7a0f96421fa1ad04895", + "size": 9566268, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4bb46dd9d8ec751997a9d7a0f96421fa1ad04895" + }, + { + "path": "images", + "mode": "040000", + "type": "tree", + "sha": "59f6167876b20528cc710a17ef8245c338fe59c7", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/59f6167876b20528cc710a17ef8245c338fe59c7" + }, + { + "path": "images/01.png", + "mode": "100644", + "type": "blob", + "sha": "c4f815819a7b07ee7e945c06bc2f5b1e7a13fe90", + "size": 1759338, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c4f815819a7b07ee7e945c06bc2f5b1e7a13fe90" + }, + { + "path": "images/02.jpg", + "mode": "100644", + "type": "blob", + "sha": "257b029a613a1ad648de8bc5f777cf522cd29528", + "size": 41862, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/257b029a613a1ad648de8bc5f777cf522cd29528" + }, + { + "path": "images/03.jpg", + "mode": "100644", + "type": "blob", + "sha": "4384bca59ccb6089a073df93b28b4b167b7b13ec", + "size": 18902, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4384bca59ccb6089a073df93b28b4b167b7b13ec" + }, + { + "path": "logos", + "mode": "040000", + "type": "tree", + "sha": "4041f9ed5e9beeee78ecfb083d53d1d01ef9c7d8", + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/trees/4041f9ed5e9beeee78ecfb083d53d1d01ef9c7d8" + }, + { + "path": "logos/Dodge.png", + "mode": "100644", + "type": "blob", + "sha": "4e64c9ecfc85e877af9f57fa67e3b9b77a56f7a7", + "size": 26033, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4e64c9ecfc85e877af9f57fa67e3b9b77a56f7a7" + }, + { + "path": "logos/Faraday%20Future.png", + "mode": "100644", + "type": "blob", + "sha": "e8fbac20263f1ff0835b9763e732556a75578afe", + "size": 14272, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/e8fbac20263f1ff0835b9763e732556a75578afe" + }, + { + "path": "logos/Ferrari.png", + "mode": "100644", + "type": "blob", + "sha": "f59e084e931ffc1a62fc69e7cdcb300a02398551", + "size": 23049, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/f59e084e931ffc1a62fc69e7cdcb300a02398551" + }, + { + "path": "logos/Fiat.png", + "mode": "100644", + "type": "blob", + "sha": "47a8674e0c1dcc7a1d1b731d086fab71606dd4f5", + "size": 42815, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/47a8674e0c1dcc7a1d1b731d086fab71606dd4f5" + }, + { + "path": "logos/Ford.png", + "mode": "100644", + "type": "blob", + "sha": "f94203169cfe6a7a22e37f804edfb698a8cd03ff", + "size": 23586, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/f94203169cfe6a7a22e37f804edfb698a8cd03ff" + }, + { + "path": "logos/Ford_黑.png", + "mode": "100644", + "type": "blob", + "sha": "9c60a4e638f8dd25c0185cb6529e5b5dfb9d9c69", + "size": 46394, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/9c60a4e638f8dd25c0185cb6529e5b5dfb9d9c69" + }, + { + "path": "logos/GT-R.png", + "mode": "100644", + "type": "blob", + "sha": "8d0e41015f7d661d9149ff9380f5e09429b4dc8b", + "size": 25477, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8d0e41015f7d661d9149ff9380f5e09429b4dc8b" + }, + { + "path": "logos/H-hasselblad.png", + "mode": "100644", + "type": "blob", + "sha": "4bc9b1c202571072959e00e8f29f9aa77d9f8a6d", + "size": 6806, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4bc9b1c202571072959e00e8f29f9aa77d9f8a6d" + }, + { + "path": "logos/Hasselblad5.png", + "mode": "100644", + "type": "blob", + "sha": "dda315088f0bc343273f6d3ca671f2feb8997f4f", + "size": 2716, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/dda315088f0bc343273f6d3ca671f2feb8997f4f" + }, + { + "path": "logos/Hasselblad7.png", + "mode": "100644", + "type": "blob", + "sha": "82e99d44bd4b8552671c320362dd5146f23b23b7", + "size": 11602, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/82e99d44bd4b8552671c320362dd5146f23b23b7" + }, + { + "path": "logos/Hasselblad8.png", + "mode": "100644", + "type": "blob", + "sha": "3a2eef992d7e480432a062cf2c567dc43bcd83af", + "size": 54545, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/3a2eef992d7e480432a062cf2c567dc43bcd83af" + }, + { + "path": "logos/Hon2da.png", + "mode": "100644", + "type": "blob", + "sha": "04ec4eeb9d78dc83dc2209bce42dc155343bfaaf", + "size": 6172, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/04ec4eeb9d78dc83dc2209bce42dc155343bfaaf" + }, + { + "path": "logos/Honda%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "bb194c649724302bfbfa49a834b7506aca868ac5", + "size": 13395, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/bb194c649724302bfbfa49a834b7506aca868ac5" + }, + { + "path": "logos/Honda.png", + "mode": "100644", + "type": "blob", + "sha": "ce5d0afa3397cc267d23c5bb3de69314b2126dbe", + "size": 50552, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/ce5d0afa3397cc267d23c5bb3de69314b2126dbe" + }, + { + "path": "logos/Honda2.png", + "mode": "100644", + "type": "blob", + "sha": "8aee6085ad8c237d133aad058baf65f3062175f2", + "size": 17105, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8aee6085ad8c237d133aad058baf65f3062175f2" + }, + { + "path": "logos/Jeep.png", + "mode": "100644", + "type": "blob", + "sha": "dc3142001374999e6fed03432c3aaacf49320247", + "size": 11749, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/dc3142001374999e6fed03432c3aaacf49320247" + }, + { + "path": "logos/KTM2%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "1250015703554c2ab9cd3c477224a37a1dcef428", + "size": 29037, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/1250015703554c2ab9cd3c477224a37a1dcef428" + }, + { + "path": "logos/KTM2.png", + "mode": "100644", + "type": "blob", + "sha": "fb9a617fbf78af4065e55ad9dee1745ab8001152", + "size": 28630, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/fb9a617fbf78af4065e55ad9dee1745ab8001152" + }, + { + "path": "logos/Koenigsegg.png", + "mode": "100644", + "type": "blob", + "sha": "078ede0810bb8bacb7a561b9a0bdd291090a26ba", + "size": 29178, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/078ede0810bb8bacb7a561b9a0bdd291090a26ba" + }, + { + "path": "logos/Lamborghini.png", + "mode": "100644", + "type": "blob", + "sha": "0244577396680a82c2e2664ab6530c43d20bc458", + "size": 24024, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/0244577396680a82c2e2664ab6530c43d20bc458" + }, + { + "path": "logos/Land%20Rover.png", + "mode": "100644", + "type": "blob", + "sha": "249477691579b03f776db554d823201addaf7535", + "size": 22829, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/249477691579b03f776db554d823201addaf7535" + }, + { + "path": "logos/Lixiang.png", + "mode": "100644", + "type": "blob", + "sha": "067d562c26e9658001f47b4973d3652a458e5f1e", + "size": 22524, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/067d562c26e9658001f47b4973d3652a458e5f1e" + }, + { + "path": "logos/Lotus.png", + "mode": "100644", + "type": "blob", + "sha": "e43acc2570fa2f94ea8e660a3126b2795a37516d", + "size": 22741, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/e43acc2570fa2f94ea8e660a3126b2795a37516d" + }, + { + "path": "logos/Lynkco.png", + "mode": "100644", + "type": "blob", + "sha": "dde4da50af7b5169d25be3e2c4ae3bc74687da0a", + "size": 6872, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/dde4da50af7b5169d25be3e2c4ae3bc74687da0a" + }, + { + "path": "logos/Maybach.png", + "mode": "100644", + "type": "blob", + "sha": "39246b4e9c15c2900d8605f171c056dff1c5dc5c", + "size": 19247, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/39246b4e9c15c2900d8605f171c056dff1c5dc5c" + }, + { + "path": "logos/McLaren.png", + "mode": "100644", + "type": "blob", + "sha": "a166902b4972e906e8221d0a962381f1caa30686", + "size": 12055, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a166902b4972e906e8221d0a962381f1caa30686" + }, + { + "path": "logos/Mercedes%20Benz%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "5274b43c6fd6137e90bde855891f8c874d696472", + "size": 11650, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/5274b43c6fd6137e90bde855891f8c874d696472" + }, + { + "path": "logos/Mercedes%20Benz.png", + "mode": "100644", + "type": "blob", + "sha": "f19fcf39bcfa13c0a9be17dda22dca8991f924a1", + "size": 35755, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/f19fcf39bcfa13c0a9be17dda22dca8991f924a1" + }, + { + "path": "logos/NIKON2.png", + "mode": "100644", + "type": "blob", + "sha": "41e5e59e21e7478e5e8797165e4c6059e391c177", + "size": 239027, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/41e5e59e21e7478e5e8797165e4c6059e391c177" + }, + { + "path": "logos/Nio.png", + "mode": "100644", + "type": "blob", + "sha": "34e52cd2004625106dce2e9fef69db1ab5c2b583", + "size": 7550, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/34e52cd2004625106dce2e9fef69db1ab5c2b583" + }, + { + "path": "logos/Nissan.png", + "mode": "100644", + "type": "blob", + "sha": "5bd52e16904b7707ee61b8e7df9cb2e8d1533cf1", + "size": 11103, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/5bd52e16904b7707ee61b8e7df9cb2e8d1533cf1" + }, + { + "path": "logos/PS.png", + "mode": "100644", + "type": "blob", + "sha": "c2859c36ba44002011e689439d501a71762ed7d4", + "size": 101564, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c2859c36ba44002011e689439d501a71762ed7d4" + }, + { + "path": "logos/Pagani.png", + "mode": "100644", + "type": "blob", + "sha": "cdd8d04c566488d44b6dbe1eba6e48c38018a91b", + "size": 21648, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/cdd8d04c566488d44b6dbe1eba6e48c38018a91b" + }, + { + "path": "logos/Phase%20One.png", + "mode": "100644", + "type": "blob", + "sha": "fedd4350257a869e2c954ddf7bec8f9fe913ccfd", + "size": 18860, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/fedd4350257a869e2c954ddf7bec8f9fe913ccfd" + }, + { + "path": "logos/Porsche%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "279a120e321ca2fba361770b9673a3e602bf035a", + "size": 25694, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/279a120e321ca2fba361770b9673a3e602bf035a" + }, + { + "path": "logos/Porsche.png", + "mode": "100644", + "type": "blob", + "sha": "6bf69bcc469bc21db8de60df2be415ee5f9982a6", + "size": 25086, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/6bf69bcc469bc21db8de60df2be415ee5f9982a6" + }, + { + "path": "logos/RED1.png", + "mode": "100644", + "type": "blob", + "sha": "041e91757b1b25fa1904f952b1fdc8265217c285", + "size": 3674, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/041e91757b1b25fa1904f952b1fdc8265217c285" + }, + { + "path": "logos/RED2.png", + "mode": "100644", + "type": "blob", + "sha": "6aaf3a3bef32ca17da1f999a27b33eb86f7acc48", + "size": 5675, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/6aaf3a3bef32ca17da1f999a27b33eb86f7acc48" + }, + { + "path": "logos/Rolls%20Royce.png", + "mode": "100644", + "type": "blob", + "sha": "a2b3b4f10369ce89ced96516d68218ee3b5e582c", + "size": 28716, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a2b3b4f10369ce89ced96516d68218ee3b5e582c" + }, + { + "path": "logos/Smart%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "9b6e2cb28d9685a068caeca05b0555a884ef00a4", + "size": 11186, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/9b6e2cb28d9685a068caeca05b0555a884ef00a4" + }, + { + "path": "logos/Smart.png", + "mode": "100644", + "type": "blob", + "sha": "9552d08b3a674b1ec037a562dc683f537e591ec6", + "size": 25594, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/9552d08b3a674b1ec037a562dc683f537e591ec6" + }, + { + "path": "logos/Snipaste_2024-09-20_17-58-40%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "bc82bdd6670e57085cc4b984a4f0fdfb05ba7531", + "size": 16978, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/bc82bdd6670e57085cc4b984a4f0fdfb05ba7531" + }, + { + "path": "logos/Snipaste_2024-09-20_17-58-40.png", + "mode": "100644", + "type": "blob", + "sha": "b5f4f0c169e58cc1fb59689ed75bc5bafe55b4e3", + "size": 15684, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/b5f4f0c169e58cc1fb59689ed75bc5bafe55b4e3" + }, + { + "path": "logos/Snipaste_2024-09-20_18-04-20%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "a6b5c8f8f7a52de92915651caca425e981ca50db", + "size": 22769, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a6b5c8f8f7a52de92915651caca425e981ca50db" + }, + { + "path": "logos/Snipaste_2024-09-20_18-04-20.png", + "mode": "100644", + "type": "blob", + "sha": "17878e18ddf6b32976b0b3e7aa902f0e22f0235c", + "size": 88063, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/17878e18ddf6b32976b0b3e7aa902f0e22f0235c" + }, + { + "path": "logos/Subaru.png", + "mode": "100644", + "type": "blob", + "sha": "509d2526b6fc2e610dc44a0082e70f2daab37389", + "size": 107729, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/509d2526b6fc2e610dc44a0082e70f2daab37389" + }, + { + "path": "logos/Suzuk2i%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "0242400a5057328fbfd8d456a6314144d64dfd9d", + "size": 8288, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/0242400a5057328fbfd8d456a6314144d64dfd9d" + }, + { + "path": "logos/Suzuk2i.png", + "mode": "100644", + "type": "blob", + "sha": "cf00100a094a31fa40c049505ea13676e4fab456", + "size": 19320, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/cf00100a094a31fa40c049505ea13676e4fab456" + }, + { + "path": "logos/Suzuki%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "527c387d07d5c255dbbc5fbea6ae4be666be2214", + "size": 9635, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/527c387d07d5c255dbbc5fbea6ae4be666be2214" + }, + { + "path": "logos/Suzuki.png", + "mode": "100644", + "type": "blob", + "sha": "269d8412ea4c3ad09d7755260b86f44072f6d422", + "size": 19297, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/269d8412ea4c3ad09d7755260b86f44072f6d422" + }, + { + "path": "logos/Tesla%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "76c3ae70f0eb6284daf71b4f6835301e835540bd", + "size": 9215, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/76c3ae70f0eb6284daf71b4f6835301e835540bd" + }, + { + "path": "logos/Tesla.png", + "mode": "100644", + "type": "blob", + "sha": "fe3be51cfcee39c4a720aa5fc3d00314c8d70e29", + "size": 22422, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/fe3be51cfcee39c4a720aa5fc3d00314c8d70e29" + }, + { + "path": "logos/Toyota%20(2).png", + "mode": "100644", + "type": "blob", + "sha": "3c478146897f7c498416e4dcc59b144cf64bb19f", + "size": 13926, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/3c478146897f7c498416e4dcc59b144cf64bb19f" + }, + { + "path": "logos/Toyota.png", + "mode": "100644", + "type": "blob", + "sha": "4f1ac6925bfb2a5b3927955395629124c8380b46", + "size": 11529, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4f1ac6925bfb2a5b3927955395629124c8380b46" + }, + { + "path": "logos/Vespa.png", + "mode": "100644", + "type": "blob", + "sha": "0bfcddad1d58c97d6af729e9c050ebb264f55790", + "size": 9554, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/0bfcddad1d58c97d6af729e9c050ebb264f55790" + }, + { + "path": "logos/Xpeng.png", + "mode": "100644", + "type": "blob", + "sha": "069552beb3ddae51a394e165bad41311968ca031", + "size": 5857, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/069552beb3ddae51a394e165bad41311968ca031" + }, + { + "path": "logos/canon.png", + "mode": "100644", + "type": "blob", + "sha": "66eab2b249abf90e6edc67deb0f31d4c6dc69a08", + "size": 2790, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/66eab2b249abf90e6edc67deb0f31d4c6dc69a08" + }, + { + "path": "logos/dji.png", + "mode": "100644", + "type": "blob", + "sha": "c5604bde91a602d11c32b63ab68e69c8ee5fc5a0", + "size": 26190, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c5604bde91a602d11c32b63ab68e69c8ee5fc5a0" + }, + { + "path": "logos/dji_FPV.png", + "mode": "100644", + "type": "blob", + "sha": "4946f36b2731eadfaae4455b947b1e837256de89", + "size": 59966, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4946f36b2731eadfaae4455b947b1e837256de89" + }, + { + "path": "logos/dji_OM5.png", + "mode": "100644", + "type": "blob", + "sha": "34973be575df4db57e1e727cc681c5238de66d4d", + "size": 57437, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/34973be575df4db57e1e727cc681c5238de66d4d" + }, + { + "path": "logos/dji_action_5pro.png", + "mode": "100644", + "type": "blob", + "sha": "4950596c491dc09d954fe99a7a5f5ab900183e0d", + "size": 32761, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4950596c491dc09d954fe99a7a5f5ab900183e0d" + }, + { + "path": "logos/dji_actuon_3.png", + "mode": "100644", + "type": "blob", + "sha": "aa9100ef80bb6a635b94ed741eabc4c5acd57298", + "size": 65613, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/aa9100ef80bb6a635b94ed741eabc4c5acd57298" + }, + { + "path": "logos/dji_actuon_4.png", + "mode": "100644", + "type": "blob", + "sha": "4597c19e58b1df99a86164eb72d34069b683e353", + "size": 68200, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4597c19e58b1df99a86164eb72d34069b683e353" + }, + { + "path": "logos/dji_lMOBILE.png", + "mode": "100644", + "type": "blob", + "sha": "0a254305485e75b1c8c8b48adf9024ebedfce68f", + "size": 66096, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/0a254305485e75b1c8c8b48adf9024ebedfce68f" + }, + { + "path": "logos/dji_logo_白.png", + "mode": "100644", + "type": "blob", + "sha": "b7082b65bba7b80b15e1e78c1ff99c51fe17452f", + "size": 32994, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/b7082b65bba7b80b15e1e78c1ff99c51fe17452f" + }, + { + "path": "logos/dji_mini_2.png", + "mode": "100644", + "type": "blob", + "sha": "8da6fbf7bfa4eb93791a366d85f2807ccb081935", + "size": 63908, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8da6fbf7bfa4eb93791a366d85f2807ccb081935" + }, + { + "path": "logos/dji_pocket_3.png", + "mode": "100644", + "type": "blob", + "sha": "57eb02969feb7aa883300325aec2336a40a2d541", + "size": 65079, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/57eb02969feb7aa883300325aec2336a40a2d541" + }, + { + "path": "logos/ducati-红.png", + "mode": "100644", + "type": "blob", + "sha": "6bec82aaa71a2cc7b8284d2d57be6fcef9b7220d", + "size": 15457, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/6bec82aaa71a2cc7b8284d2d57be6fcef9b7220d" + }, + { + "path": "logos/ducati-黑.png", + "mode": "100644", + "type": "blob", + "sha": "e79c98c3d873cf1349a9a07cb05145e25a90257b", + "size": 15854, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/e79c98c3d873cf1349a9a07cb05145e25a90257b" + }, + { + "path": "logos/fujifilm.png", + "mode": "100644", + "type": "blob", + "sha": "8cfbcebc82f4c1e5b77832b7dd0f272ad5b463d9", + "size": 2098, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8cfbcebc82f4c1e5b77832b7dd0f272ad5b463d9" + }, + { + "path": "logos/gmaster.png", + "mode": "100644", + "type": "blob", + "sha": "ed8b6949433b73d5a66f853cb517972755981a7b", + "size": 21419, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/ed8b6949433b73d5a66f853cb517972755981a7b" + }, + { + "path": "logos/hasselblad.png", + "mode": "100644", + "type": "blob", + "sha": "4f144516d257190dee5b67b326be3ab95f756672", + "size": 14372, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4f144516d257190dee5b67b326be3ab95f756672" + }, + { + "path": "logos/hasselblad2.0.png", + "mode": "100644", + "type": "blob", + "sha": "1cdc4313e5b65f7c169cfb87a57ff208a883771b", + "size": 8811, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/1cdc4313e5b65f7c169cfb87a57ff208a883771b" + }, + { + "path": "logos/honor.png", + "mode": "100644", + "type": "blob", + "sha": "aef771597a576538140e4aebccc0c1de28a99135", + "size": 6954, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/aef771597a576538140e4aebccc0c1de28a99135" + }, + { + "path": "logos/huawei.png", + "mode": "100644", + "type": "blob", + "sha": "abf03af0bdab111fd17472d9064d3161f1c664fc", + "size": 4052, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/abf03af0bdab111fd17472d9064d3161f1c664fc" + }, + { + "path": "logos/huawei2.png", + "mode": "100644", + "type": "blob", + "sha": "cf1cef6f38fd584c2fd466f812c78d1ed4b3efd1", + "size": 2560, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/cf1cef6f38fd584c2fd466f812c78d1ed4b3efd1" + }, + { + "path": "logos/iam-1.png", + "mode": "100644", + "type": "blob", + "sha": "edbd9284fe0c400e6b6c6e7340ecf22ff3b5054e", + "size": 6368, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/edbd9284fe0c400e6b6c6e7340ecf22ff3b5054e" + }, + { + "path": "logos/iam-NIKON.png", + "mode": "100644", + "type": "blob", + "sha": "2a35048010b4d263681bce128308dd1906ab3d93", + "size": 3438, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/2a35048010b4d263681bce128308dd1906ab3d93" + }, + { + "path": "logos/ic_index_bar_bubble_gray.png", + "mode": "100644", + "type": "blob", + "sha": "e85a365e7df0a2aec7c9bdee605086a1b20bc36b", + "size": 556, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/e85a365e7df0a2aec7c9bdee605086a1b20bc36b" + }, + { + "path": "logos/ic_index_bar_bubble_white.png", + "mode": "100644", + "type": "blob", + "sha": "20b141a2d5f0e8931fa16f95827f12fb62148644", + "size": 2223, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/20b141a2d5f0e8931fa16f95827f12fb62148644" + }, + { + "path": "logos/icon.png", + "mode": "100644", + "type": "blob", + "sha": "8af7f3d20cab6694adb0961c5b04b45f502d94ca", + "size": 7373, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8af7f3d20cab6694adb0961c5b04b45f502d94ca" + }, + { + "path": "logos/icon0.png", + "mode": "100644", + "type": "blob", + "sha": "a8be86ad6f39dd6951fd6e3d4f334d94105e9fec", + "size": 4597, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a8be86ad6f39dd6951fd6e3d4f334d94105e9fec" + }, + { + "path": "logos/insta360-215.png", + "mode": "100644", + "type": "blob", + "sha": "4f71deb18177b017c5a2d3902451be3ad3a01700", + "size": 35334, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4f71deb18177b017c5a2d3902451be3ad3a01700" + }, + { + "path": "logos/insta360-ace_pro.png", + "mode": "100644", + "type": "blob", + "sha": "c593199be27a67425b93243dca00a1e522b852ca", + "size": 97639, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c593199be27a67425b93243dca00a1e522b852ca" + }, + { + "path": "logos/insta360-ace_pro_2.png", + "mode": "100644", + "type": "blob", + "sha": "c78f5ec58e2d639912734741066e215c3ec3c6cf", + "size": 60166, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c78f5ec58e2d639912734741066e215c3ec3c6cf" + }, + { + "path": "logos/insta360-go3.png", + "mode": "100644", + "type": "blob", + "sha": "ae6ed24bc932262b4c2d0fe806845c056e740e54", + "size": 188354, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/ae6ed24bc932262b4c2d0fe806845c056e740e54" + }, + { + "path": "logos/insta360-x4.png", + "mode": "100644", + "type": "blob", + "sha": "a6c0a84bdb05f59d20387466f7bc663598bc0e98", + "size": 27956, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a6c0a84bdb05f59d20387466f7bc663598bc0e98" + }, + { + "path": "logos/insta360-x5.png", + "mode": "100644", + "type": "blob", + "sha": "09e05dff9ee53cb088261c161d113d22426d6dd5", + "size": 197247, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/09e05dff9ee53cb088261c161d113d22426d6dd5" + }, + { + "path": "logos/install360.png", + "mode": "100644", + "type": "blob", + "sha": "a1e1d3f4e8cdeff91cfa3ea20db5aefe1f78321b", + "size": 3058, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a1e1d3f4e8cdeff91cfa3ea20db5aefe1f78321b" + }, + { + "path": "logos/kaixuan_black.png", + "mode": "100644", + "type": "blob", + "sha": "904fbd8f9fbe11a874db04df7452e51aa07a852a", + "size": 5680, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/904fbd8f9fbe11a874db04df7452e51aa07a852a" + }, + { + "path": "logos/kaixuan_white.png", + "mode": "100644", + "type": "blob", + "sha": "4d92e3b46f03851dbe7dbb78f64c1717ebb6c6a4", + "size": 7919, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4d92e3b46f03851dbe7dbb78f64c1717ebb6c6a4" + }, + { + "path": "logos/kawasaki_new.png", + "mode": "100644", + "type": "blob", + "sha": "86082364f5fc49d5e8e850584e1bb16eae7d561a", + "size": 7865, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/86082364f5fc49d5e8e850584e1bb16eae7d561a" + }, + { + "path": "logos/kodak.png", + "mode": "100644", + "type": "blob", + "sha": "99b035aa60219009ea6e5ba9c6864a40fe4862fe", + "size": 18543, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/99b035aa60219009ea6e5ba9c6864a40fe4862fe" + }, + { + "path": "logos/leica.png", + "mode": "100644", + "type": "blob", + "sha": "0f60e865837e8070ac7d0bf83768f45989fbf3fc", + "size": 13760, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/0f60e865837e8070ac7d0bf83768f45989fbf3fc" + }, + { + "path": "logos/leica2.png", + "mode": "100644", + "type": "blob", + "sha": "6e583b2ecb615f19c2a4a7682085516c38526ef9", + "size": 17824, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/6e583b2ecb615f19c2a4a7682085516c38526ef9" + }, + { + "path": "logos/leica3.png", + "mode": "100644", + "type": "blob", + "sha": "55abb771ef469c71266d2bb5d43b841c4ec08811", + "size": 86082, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/55abb771ef469c71266d2bb5d43b841c4ec08811" + }, + { + "path": "logos/logo.png", + "mode": "100644", + "type": "blob", + "sha": "c0927033d1ca55e8daa83980fdfcca0e6a44c8ab", + "size": 4385, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c0927033d1ca55e8daa83980fdfcca0e6a44c8ab" + }, + { + "path": "logos/lumix.png", + "mode": "100644", + "type": "blob", + "sha": "5c4f7097c7765f555f674ba5baeb940b936d6549", + "size": 1968, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/5c4f7097c7765f555f674ba5baeb940b936d6549" + }, + { + "path": "logos/mamiya.png", + "mode": "100644", + "type": "blob", + "sha": "779b5e28653ae17e687c15632f815444dae60c32", + "size": 39647, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/779b5e28653ae17e687c15632f815444dae60c32" + }, + { + "path": "logos/nikon.png", + "mode": "100644", + "type": "blob", + "sha": "9dc387cb95d48340bafa8a8a4940ef5b4b85dc53", + "size": 3453, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/9dc387cb95d48340bafa8a8a4940ef5b4b85dc53" + }, + { + "path": "logos/null.png", + "mode": "100644", + "type": "blob", + "sha": "59a23fc376876ccba94efeb4b714d9230f58863d", + "size": 168, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/59a23fc376876ccba94efeb4b714d9230f58863d" + }, + { + "path": "logos/olympus.png", + "mode": "100644", + "type": "blob", + "sha": "e668d3b985c8451537e0b6587afac17d831b8729", + "size": 2791, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/e668d3b985c8451537e0b6587afac17d831b8729" + }, + { + "path": "logos/oneplus.png", + "mode": "100644", + "type": "blob", + "sha": "4495fa9fa86bc4b089900014d53fe8c0de3a1901", + "size": 2511, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4495fa9fa86bc4b089900014d53fe8c0de3a1901" + }, + { + "path": "logos/oppo.png", + "mode": "100644", + "type": "blob", + "sha": "4a96f97681bb246aefe9681a2026825b86e714c5", + "size": 5084, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4a96f97681bb246aefe9681a2026825b86e714c5" + }, + { + "path": "logos/oppo2.png", + "mode": "100644", + "type": "blob", + "sha": "3f667bb28060306f14e5c38d107c4b603e13a81f", + "size": 5329, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/3f667bb28060306f14e5c38d107c4b603e13a81f" + }, + { + "path": "logos/panasonic.png", + "mode": "100644", + "type": "blob", + "sha": "044d99131c9490cf7f4b6a246107d57f01436fea", + "size": 2946, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/044d99131c9490cf7f4b6a246107d57f01436fea" + }, + { + "path": "logos/pentax.png", + "mode": "100644", + "type": "blob", + "sha": "04e4de21ac122b1b9190c5f7a7a83bcf6c812c68", + "size": 2196, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/04e4de21ac122b1b9190c5f7a7a83bcf6c812c68" + }, + { + "path": "logos/ricoh.png", + "mode": "100644", + "type": "blob", + "sha": "8ce33aa11700282f0ff729429d82df4e7e2c3a36", + "size": 5186, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8ce33aa11700282f0ff729429d82df4e7e2c3a36" + }, + { + "path": "logos/rolleiflex.png", + "mode": "100644", + "type": "blob", + "sha": "57757c76997e21da0e5ce198da47bea7a688ab9e", + "size": 2076, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/57757c76997e21da0e5ce198da47bea7a688ab9e" + }, + { + "path": "logos/samsung.png", + "mode": "100644", + "type": "blob", + "sha": "8638bbd549aa01aeba29be0b86810e0a320e8a6d", + "size": 23675, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/8638bbd549aa01aeba29be0b86810e0a320e8a6d" + }, + { + "path": "logos/sigma.png", + "mode": "100644", + "type": "blob", + "sha": "45010c6214690287511c591f74cf16e5b87c2b4b", + "size": 48010, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/45010c6214690287511c591f74cf16e5b87c2b4b" + }, + { + "path": "logos/sony.png", + "mode": "100644", + "type": "blob", + "sha": "4bbc4c16f5673e78ad3c310e3f3a193b398ff7cd", + "size": 8628, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/4bbc4c16f5673e78ad3c310e3f3a193b398ff7cd" + }, + { + "path": "logos/sony2.png", + "mode": "100644", + "type": "blob", + "sha": "22207307288833068e36fa4b36a66eda5c8e0a03", + "size": 85047, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/22207307288833068e36fa4b36a66eda5c8e0a03" + }, + { + "path": "logos/tamron.png", + "mode": "100644", + "type": "blob", + "sha": "fc07e1c54defb553d2d8049a389d766c17840049", + "size": 34477, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/fc07e1c54defb553d2d8049a389d766c17840049" + }, + { + "path": "logos/vivo.png", + "mode": "100644", + "type": "blob", + "sha": "9be987486e70a65fe7c8a1a5badd608b54e41331", + "size": 24329, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/9be987486e70a65fe7c8a1a5badd608b54e41331" + }, + { + "path": "logos/xiaomi.png", + "mode": "100644", + "type": "blob", + "sha": "a07aa768b09d171980eb312cdae1a10990956231", + "size": 941, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a07aa768b09d171980eb312cdae1a10990956231" + }, + { + "path": "logos/xiaomi2.png", + "mode": "100644", + "type": "blob", + "sha": "d080d36a938cc812546ff743841933a9a435a6f3", + "size": 9633, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/d080d36a938cc812546ff743841933a9a435a6f3" + }, + { + "path": "logos/xiaomiUltra.png", + "mode": "100644", + "type": "blob", + "sha": "6f5745045d5f8477e932da08c7c2d40d664ddc4d", + "size": 27706, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/6f5745045d5f8477e932da08c7c2d40d664ddc4d" + }, + { + "path": "logos/xiaomiUltra2.png", + "mode": "100644", + "type": "blob", + "sha": "313905f9f4eb2ec3531265dfe7dce9a9bbf5ff56", + "size": 3129, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/313905f9f4eb2ec3531265dfe7dce9a9bbf5ff56" + }, + { + "path": "logos/xmage.png", + "mode": "100644", + "type": "blob", + "sha": "fc1ae986f6a4f4ad0cf1bc79f39dbad488d9e4af", + "size": 3102, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/fc1ae986f6a4f4ad0cf1bc79f39dbad488d9e4af" + }, + { + "path": "logos/xmage2.png", + "mode": "100644", + "type": "blob", + "sha": "73f1eb45d44709adbf6935f17a334248e6005d90", + "size": 1421, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/73f1eb45d44709adbf6935f17a334248e6005d90" + }, + { + "path": "logos/xmage3.png", + "mode": "100644", + "type": "blob", + "sha": "a0f71d926bc2ac7d0abc5eddafd6bcd318b21332", + "size": 4115, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/a0f71d926bc2ac7d0abc5eddafd6bcd318b21332" + }, + { + "path": "logos/zeiss.png", + "mode": "100644", + "type": "blob", + "sha": "c81a133e76f4d079161bdf585e8014aead872a7b", + "size": 2785, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/c81a133e76f4d079161bdf585e8014aead872a7b" + }, + { + "path": "requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "b9ad5ba5d8b15c56635469cd686d4e40dd63bfb8", + "size": 6, + "url": "https://api.github.com/repos/karas17/ComfyUI-Camera-Watermark/git/blobs/b9ad5ba5d8b15c56635469cd686d4e40dd63bfb8" + } + ], + "truncated": false +} diff --git a/docs/hel-892/watermark-reference/camera____init__.py b/docs/hel-892/watermark-reference/camera____init__.py new file mode 100644 index 00000000..b1a022b8 --- /dev/null +++ b/docs/hel-892/watermark-reference/camera____init__.py @@ -0,0 +1,654 @@ +import torch +import numpy as np +from PIL import Image, ImageDraw, ImageFont +import os +import json +import re +import random +from dataclasses import dataclass, field +from typing import Optional, Tuple, List, Dict, Any + +# Author: KARAS +# Version: 3.9.0 - Implemented dynamic scaling for small images +# +# --- 依赖导入 --- +try: + import piexif +except ImportError: + piexif = None + +# --- 插件资源路径设置 --- +current_dir = os.path.dirname(os.path.abspath(__file__)) +fonts_dir = os.path.join(current_dir, "fonts") +logos_dir = os.path.join(current_dir, "logos") +os.makedirs(fonts_dir, exist_ok=True) +os.makedirs(logos_dir, exist_ok=True) + +# --- 资源扫描与缓存 --- +def get_resource_files(directory: str, extensions: Tuple[str, ...]) -> List[str]: + """Scans a directory for files with given extensions.""" + try: + return sorted([f for f in os.listdir(directory) if f.lower().endswith(extensions)]) + except FileNotFoundError: + return [] + +font_files = get_resource_files(fonts_dir, ('.ttf', '.ttc', '.otf')) or ["default"] +bold_font_files = [f for f in font_files if 'bold' in f.lower() or 'bd' in f.lower()] or font_files +logo_files = ["None"] + sorted([os.path.splitext(f)[0] for f in get_resource_files(logos_dir, ('.png',))]) + +# --- 预设数据 --- +PHONE_MODELS = [ + "HUAWEI Pura 70 Ultra", "HUAWEI Pura 70 Pro", "HUAWEI Mate 60 Pro", + "iPhone 15 Pro Max", "iPhone 15 Pro", + "Samsung Galaxy S24 Ultra", "Xiaomi 14 Ultra", + "OPPO Find X7 Ultra", "vivo X100 Ultra", "Google Pixel 8 Pro", "自定义型号" +] + +LAYOUT_OPTIONS = [ + "1. 底部留白 - 左右分布", + "2. 底部留白 - 居中", + "3. 右侧留白 - 上下竖排", + "4. 顶部 & 底部留白", + "5. 画内叠加 - 左下角", + "6. 画内叠加 - 右下角", + "7. 画内叠加 - 左上角", + "8. 画内叠加 - 右上角", + "9. 画内叠加 - 居中", + "10. 独立信息条" +] + +LAYOUT_PRESETS = { + LAYOUT_OPTIONS[0]: { + "logo": "leica", + "logo_size_ratio": 1.0, + "bar_size": 200, + "bg_color": "#FFFFFF", + "title_color": "#000000", + "subtitle_color": "#888888", + }, + LAYOUT_OPTIONS[1]: { + "block_b_text_1": "", + "block_a_text_1": "", + "block_a_text_2": "", + "logo": "hasselblad", + "logo_size_ratio": 1, + "bg_color": "#FFFFFF", + "title_color": "#000000", + "subtitle_color": "#888888", + }, + LAYOUT_OPTIONS[2]: { + "bar_size": 300, + "block_a_text_2": "", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[3]: { + "bar_size": 150, + "block_a_text_2": "", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[4]: { + "logo": "zeiss", + "title_color": "#FFFFFF", + "subtitle_color": "#CCCCCC", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[5]: { + "logo": "zeiss", + "title_color": "#FFFFFF", + "subtitle_color": "#CCCCCC", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[6]: { + "logo": "zeiss", + "title_color": "#FFFFFF", + "subtitle_color": "#CCCCCC", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[7]: { + "logo": "zeiss", + "title_color": "#FFFFFF", + "subtitle_color": "#CCCCCC", + "logo_size_ratio": 1.0, + }, + LAYOUT_OPTIONS[8]: { + "logo": "zeiss", + "title_color": "#FFFFFF", + "subtitle_color": "#CCCCCC", + "logo_size_ratio": 1.0, + }, +} + + +# ----------------------------------------------------------------- +# 节点 1: 加载图片/附加EXIF +# ----------------------------------------------------------------- +class ImageLoaderWithEXIF: + @classmethod + def INPUT_TYPES(s): + input_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "input") + files = get_resource_files(input_dir, ('.jpg', '.jpeg', '.png', '.webp')) + return { + "required": { "image_file": (sorted(files), {"image_upload": True}) }, + "optional": { "image_passthrough": ("IMAGE",) } + } + + RETURN_TYPES = ("IMAGE", "STRING") + RETURN_NAMES = ("image", "exif_json") + FUNCTION = "load_or_passthrough" + CATEGORY = "Watermark" + + def load_or_passthrough(self, image_file: str, image_passthrough: Optional[torch.Tensor] = None) -> Tuple[torch.Tensor, str]: + if piexif is None: + raise ImportError("需要 'piexif' 库。请运行: pip install piexif") + + image_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), "..", "..", "input", image_file) + output_exif_json = "{}" + try: + with Image.open(image_path) as img_for_exif: + if 'exif' in img_for_exif.info and img_for_exif.info['exif']: + exif_dict = piexif.load(img_for_exif.info['exif']) + exif_data = self.parse_exif(exif_dict) + output_exif_json = json.dumps(exif_data) + except Exception as e: + print(f"无法从 '{image_file}' 读取EXIF: {e}") + + if image_passthrough is not None: + return (image_passthrough, output_exif_json) + else: + with Image.open(image_path) as img: + img_rgb = img.convert("RGB") + if "exif" in img.info: + try: + exif_dict = piexif.load(img.info["exif"]) + orientation = exif_dict.get("0th", {}).get(piexif.ImageIFD.Orientation, 1) + if orientation > 1: + img_rgb = self.apply_exif_orientation(img_rgb, orientation) + except Exception as e: + print(f"处理EXIF方向时出错: {e}") + + image_tensor = np.array(img_rgb).astype(np.float32) / 255.0 + return (torch.from_numpy(image_tensor)[None,], output_exif_json) + + def apply_exif_orientation(self, image: Image.Image, orientation: int) -> Image.Image: + """Applies EXIF orientation to the image.""" + if orientation == 2: return image.transpose(Image.FLIP_LEFT_RIGHT) + if orientation == 3: return image.rotate(180) + if orientation == 4: return image.transpose(Image.FLIP_TOP_BOTTOM) + if orientation == 5: return image.rotate(-90, expand=True).transpose(Image.FLIP_LEFT_RIGHT) + if orientation == 6: return image.rotate(-90, expand=True) + if orientation == 7: return image.rotate(90, expand=True).transpose(Image.FLIP_LEFT_RIGHT) + if orientation == 8: return image.rotate(90, expand=True) + return image + + def parse_exif(self, exif_dict: Dict) -> Dict[str, Any]: + """Parses raw EXIF data into a structured dictionary.""" + exif_data = {} + zeroth_ifd = exif_dict.get('0th', {}) + exif_ifd = exif_dict.get('Exif', {}) + + if piexif.ImageIFD.Make in zeroth_ifd: + exif_data['Make'] = zeroth_ifd[piexif.ImageIFD.Make].decode('utf-8', errors='ignore').strip('\x00').strip() + if piexif.ImageIFD.Model in zeroth_ifd: + exif_data['Model'] = zeroth_ifd[piexif.ImageIFD.Model].decode('utf-8', errors='ignore').strip('\x00').strip() + if piexif.ExifIFD.LensModel in exif_ifd: + exif_data['LensModel'] = exif_ifd[piexif.ExifIFD.LensModel].decode('utf-8', errors='ignore').strip('\x00').strip() + if piexif.ExifIFD.DateTimeOriginal in exif_ifd: + exif_data['Timestamp'] = exif_ifd[piexif.ExifIFD.DateTimeOriginal].decode('utf-8', errors='ignore').strip('\x00').strip() + if piexif.ExifIFD.FNumber in exif_ifd: + f_num = exif_ifd[piexif.ExifIFD.FNumber] + exif_data['Aperture'] = f"f/{(f_num[0]/f_num[1]):.1f}" if f_num[1] > 0 else "f/0.0" + if piexif.ExifIFD.ExposureTime in exif_ifd: + exp = exif_ifd[piexif.ExifIFD.ExposureTime] + if exp[0] > 0 and exp[1] > 0: + shutter = exp[0] / exp[1] + exif_data['ShutterSpeed'] = f"1/{int(1/shutter)}s" if shutter < 1 else f"{shutter}s" + if piexif.ExifIFD.ISOSpeedRatings in exif_ifd: + exif_data['ISO'] = f"ISO{exif_ifd[piexif.ExifIFD.ISOSpeedRatings]}" + if piexif.ExifIFD.FocalLength in exif_ifd: + focal = exif_ifd[piexif.ExifIFD.FocalLength] + if focal[1] > 0: + exif_data['FocalLength'] = f"{int(focal[0]/focal[1])}mm" + return exif_data + +# ----------------------------------------------------------------- +# 节点 2: 相机水印生成器 +# ----------------------------------------------------------------- +@dataclass +class TextContent: + block_a: List[str] + block_b: List[str] + +@dataclass +class TextBlock: + lines: List[Tuple[str, ImageFont.FreeTypeFont, str]] = field(default_factory=list) + width: int = 0 + height: int = 0 + line_bboxes: List[Tuple[int, int, int, int]] = field(default_factory=list) + +class CameraWatermarkNode: + _font_cache = {} + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("IMAGE",), + "layout": (LAYOUT_OPTIONS,), + "restore_preset": ("BOOLEAN", {"default": False, "label_on": "应用当前样式预设", "label_off": "应用当前样式预设"}), + "randomize_style": ("BOOLEAN", {"default": False}), + "random_style_selection": ("STRING", {"multiline": False, "default": "1-10"}), + "seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff}), + "use_exif": ("BOOLEAN", {"default": True}), + "block_a_text_1": ("STRING", {"multiline": False, "default": "iPhone 15 Pro Max"}), + "block_a_text_2": ("STRING", {"multiline": False, "default": "Main Camera"}), + "block_a_text_3": ("STRING", {"multiline": False, "default": "© KARAS"}), + "block_b_text_1": ("STRING", {"multiline": False, "default": "SONY"}), + "block_b_text_2": ("STRING", {"multiline": False, "default": "24mm | f/1.8 | 1/125s | ISO 50"}), + "block_b_text_3": ("STRING", {"multiline": False, "default": ""}), + "logo": (logo_files, {"default": "leica" if "leica" in [lf.lower() for lf in logo_files] else logo_files[0]}), + "logo_size_ratio": ("FLOAT", {"default": 1.0, "min": 0.1, "max": 3.0, "step": 0.1}), + "bar_size": ("INT", {"default": 200, "min": 0, "max": 2048, "step": 10}), + "bar_width": ("INT", {"default": 1894, "min": 64, "max": 8192, "step": 64}), + "bar_height": ("INT", {"default": 165, "min": 64, "max": 8192, "step": 64}), + "padding": ("INT", {"default": 50, "min": 0, "max": 400, "step": 1}), + "spacing": ("INT", {"default": 15, "min": 0, "max": 200, "step": 1}), + "font_name": (font_files, {}), + "font_bold_name": (bold_font_files, {}), + "font_size_large": ("INT", {"default": 48, "min": 8, "max": 200, "step": 1}), + "font_size_medium": ("INT", {"default": 28, "min": 8, "max": 200, "step": 1}), + "font_size_small": ("INT", {"default": 24, "min": 8, "max": 200, "step": 1}), + "bg_color": ("STRING", {"multiline": False, "default": "#FFFFFF"}), + "title_color": ("STRING", {"multiline": False, "default": "#000000"}), + "subtitle_color": ("STRING", {"multiline": False, "default": "#888888"}), + }, + "optional": { "exif_data": ("STRING", {"forceInput": True}), } + } + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "generate_image" + CATEGORY = "Watermark" + + def tensor_to_pil(self, tensor: torch.Tensor) -> Optional[Image.Image]: + if tensor is None: return None + return Image.fromarray(np.clip(255. * tensor.cpu().numpy().squeeze(0), 0, 255).astype(np.uint8)) + + def pil_to_tensor(self, pil_image: Image.Image) -> torch.Tensor: + return torch.from_numpy(np.array(pil_image).astype(np.float32) / 255.0).unsqueeze(0) + + def get_font(self, font_name: str, size: int) -> ImageFont.FreeTypeFont: + cache_key = f"{font_name}_{size}" + if cache_key in self._font_cache: + return self._font_cache[cache_key] + + if not font_name or font_name == "default": + try: font = ImageFont.load_default(size=size) + except AttributeError: font = ImageFont.load_default() + else: + font_path = os.path.join(fonts_dir, font_name) + try: font = ImageFont.truetype(font_path, size=size) + except Exception as e: + print(f"警告: 无法加载字体 '{font_name}'。错误: {e}") + try: font = ImageFont.load_default(size=size) + except AttributeError: font = ImageFont.load_default() + + self._font_cache[cache_key] = font + return font + + def get_text_bbox(self, text: str, font: ImageFont.FreeTypeFont) -> Tuple[int, int, int, int]: + if hasattr(font, 'getbbox'): + return font.getbbox(text) + else: + w, h = font.getsize(text) + return (0, 0, w, h) + + def _crop_transparent_border(self, pil_image: Image.Image) -> Image.Image: + """Crops the transparent border from a PIL image.""" + if pil_image.mode != "RGBA": + return pil_image + + bbox = pil_image.getbbox() + if bbox: + return pil_image.crop(bbox) + return pil_image + + def _parse_range_string(self, range_string: str) -> List[int]: + numbers = set() + parts = range_string.split(',') + for part in parts: + part = part.strip() + if not part: continue + if '-' in part: + try: + start, end = map(int, part.split('-')) + if start <= end: + numbers.update(range(start, end + 1)) + except ValueError: + print(f"警告: 无效的范围 '{part}' in random style selection.") + else: + try: + numbers.add(int(part)) + except ValueError: + print(f"警告: 无效的数字 '{part}' in random style selection.") + return sorted(list(numbers)) + + def _prepare_content(self, **kwargs) -> Tuple[TextContent, str]: + exif_data_str = kwargs.get('exif_data') + has_valid_exif = kwargs['use_exif'] and exif_data_str and exif_data_str.strip() != "{}" + + b_a1, b_a2, b_a3 = kwargs['block_a_text_1'], kwargs['block_a_text_2'], kwargs['block_a_text_3'] + b_b1, b_b2, b_b3 = kwargs['block_b_text_1'], kwargs['block_b_text_2'], kwargs['block_b_text_3'] + logo_match_source = b_a1.lower() + + if has_valid_exif: + try: + data = json.loads(exif_data_str) + param_parts = [data.get("FocalLength"), data.get("Aperture"), data.get("ShutterSpeed"), data.get("ISO")] + b_a1 = data.get("Model", "") + b_a2 = data.get("LensModel", "") + b_a3 = kwargs.get('author', '© KARAS') + b_b1 = data.get("Make", "") + b_b2 = " | ".join(filter(None, param_parts)) + b_b3 = data.get("Timestamp", "") + logo_match_source = data.get("Make", "").lower() + except (json.JSONDecodeError, KeyError) as e: + print(f"无法解析EXIF: {e}") + + content = TextContent(block_a=[b_a1, b_a2, b_a3], block_b=[b_b1, b_b2, b_b3]) + + final_logo = kwargs['logo'] + if final_logo == "None" and logo_match_source: + for logo_name in logo_files: + if logo_name != "None" and logo_name.lower() in logo_match_source: + final_logo = logo_name + break + + return content, final_logo + + def _draw_block(self, draw, block: TextBlock, start_x: int, start_y: int, align: str = 'left', spacing: int = 10): + y = start_y + for i, (text, font, color) in enumerate(block.lines): + bbox = block.line_bboxes[i] + text_width, text_height = bbox[2] - bbox[0], bbox[3] - bbox[1] + + x = start_x + if align == 'center': + x = start_x - text_width / 2 + elif align == 'right': + x = start_x - text_width + + draw.text((x - bbox[0], y - bbox[1]), text, font=font, fill=color) + y += text_height + spacing + + def _draw_vertical_text_block(self, draw_layer, block: TextBlock, center_x: int, start_y: int, spacing: int): + if not block.lines: + return 0 + + temp_surface = Image.new("RGBA", (block.width, block.height), (0, 0, 0, 0)) + temp_draw = ImageDraw.Draw(temp_surface) + + y_cursor = 0 + min_x_offset = min(box[0] for box in block.line_bboxes) + + for i, (text, font, color) in enumerate(block.lines): + bbox = block.line_bboxes[i] + text_height = bbox[3] - bbox[1] + temp_draw.text((-min_x_offset, y_cursor - bbox[1]), text, font=font, fill=color) + y_cursor += text_height + spacing + + rotated_surface = temp_surface.rotate(90, expand=True, resample=Image.Resampling.LANCZOS) + + paste_x = center_x - rotated_surface.width / 2 + paste_y = start_y + + draw_layer.paste(rotated_surface, (int(paste_x), int(paste_y)), rotated_surface) + + return rotated_surface.height + + def generate_image(self, **kwargs): + + params = kwargs.copy() + layout = params['layout'] + seed = params['seed'] + restore_preset = params.pop('restore_preset', False) + + if params.get('randomize_style', False): + random.seed(seed) + selection_str = params.get('random_style_selection', '1-10') + allowed_indices = self._parse_range_string(selection_str) + allowed_indices_0based = [i - 1 for i in allowed_indices if 1 <= i <= len(LAYOUT_OPTIONS)] + if allowed_indices_0based: + chosen_index = random.choice(allowed_indices_0based) + layout = LAYOUT_OPTIONS[chosen_index] + print(f"随机样式已启用 (种子: {seed}),选择: {layout}") + + if restore_preset: + if layout in LAYOUT_PRESETS: + print(f"恢复预设: {layout}") + params.update(LAYOUT_PRESETS[layout]) + + content, final_logo_name = self._prepare_content(**params) + + input_pil = self.tensor_to_pil(params['image']) + img_w, img_h = input_pil.size + + # --- Dynamic Scaling Logic --- + base_width = 1200.0 # Standard width for scaling + scale_factor = min(1.0, img_w / base_width) + + bar_size = int(params['bar_size'] * scale_factor) + padding = int(params['padding'] * scale_factor) + spacing = int(params['spacing'] * scale_factor) + font_size_large = int(params['font_size_large'] * scale_factor) + font_size_medium = int(params['font_size_medium'] * scale_factor) + font_size_small = int(params['font_size_small'] * scale_factor) + + bg_color = params['bg_color'] + + if layout.startswith("1.") or layout.startswith("2.") or layout.startswith("10."): + canvas = Image.new("RGBA", (img_w, img_h + bar_size), bg_color) + canvas.paste(input_pil.convert("RGBA"), (0, 0)) + draw_area = (0, img_h, img_w, bar_size) + elif layout.startswith("3."): + canvas = Image.new("RGBA", (img_w + bar_size, img_h), bg_color) + canvas.paste(input_pil.convert("RGBA"), (0, 0)) + draw_area = (img_w, 0, bar_size, img_h) + elif layout.startswith("4."): + canvas = Image.new("RGBA", (img_w, img_h + bar_size * 2), bg_color) + canvas.paste(input_pil.convert("RGBA"), (0, bar_size)) + draw_area_top = (0, 0, img_w, bar_size) + draw_area_bottom = (0, img_h + bar_size, img_w, bar_size) + draw_area = draw_area_top + elif layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): + canvas = input_pil.convert("RGBA") + draw_area = (0, 0, img_w, img_h) + else: + bar_width = int(params['bar_width'] * scale_factor) + bar_height = int(params['bar_height'] * scale_factor) + canvas = Image.new("RGBA", (bar_width, bar_height), bg_color) + draw_area = (0, 0, canvas.width, canvas.height) + + draw_layer = Image.new("RGBA", canvas.size, (0, 0, 0, 0)) + draw = ImageDraw.Draw(draw_layer) + + fonts = { + 'large_bold': self.get_font(params['font_bold_name'], font_size_large), + 'medium': self.get_font(params['font_name'], font_size_medium), + 'small': self.get_font(params['font_name'], font_size_small) + } + + block_a_fonts = [fonts['large_bold'], fonts['medium'], fonts['small']] + block_b_fonts = [fonts['large_bold'], fonts['medium'], fonts['small']] + block_a_colors = [params['title_color'], params['subtitle_color'], params['subtitle_color']] + block_b_colors = [params['title_color'], params['subtitle_color'], params['subtitle_color']] + + block_a = TextBlock() + for i, text in enumerate(content.block_a): + if text: + block_a.lines.append((text, block_a_fonts[i], block_a_colors[i])) + if block_a.lines: + block_a.line_bboxes = [self.get_text_bbox(line[0], line[1]) for line in block_a.lines] + min_x = min(box[0] for box in block_a.line_bboxes) + max_x = max(box[2] for box in block_a.line_bboxes) + block_a.width = max_x - min_x + line_heights = [box[3] - box[1] for box in block_a.line_bboxes] + block_a.height = int(sum(line_heights) + max(0, len(line_heights) - 1) * spacing) + + block_b = TextBlock() + for i, text in enumerate(content.block_b): + if text: + block_b.lines.append((text, block_b_fonts[i], block_b_colors[i])) + if block_b.lines: + block_b.line_bboxes = [self.get_text_bbox(line[0], line[1]) for line in block_b.lines] + min_x = min(box[0] for box in block_b.line_bboxes) + max_x = max(box[2] for box in block_b.line_bboxes) + block_b.width = max_x - min_x + line_heights = [box[3] - box[1] for box in block_b.line_bboxes] + block_b.height = int(sum(line_heights) + max(0, len(line_heights) - 1) * spacing) + + pil_logo = None + if final_logo_name != "None": + try: + logo_filename = next((f for f in os.listdir(logos_dir) if os.path.splitext(f)[0].lower() == final_logo_name.lower()), None) + if logo_filename: + pil_logo = Image.open(os.path.join(logos_dir, logo_filename)).convert("RGBA") + pil_logo = self._crop_transparent_border(pil_logo) + except Exception as e: + print(f"无法加载内置Logo '{final_logo_name}': {e}") + + if pil_logo: + bar_based_target_height = 0 + if not (layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9.")): + max_size_ref = draw_area[3] if not layout.startswith("3.") else draw_area[2] + bar_based_target_height = int(max_size_ref * 0.5) + + text_based_target_height = 0 + if layout in [LAYOUT_OPTIONS[0], LAYOUT_OPTIONS[9]]: + text_based_target_height = block_b.height + elif layout in [LAYOUT_OPTIONS[1], LAYOUT_OPTIONS[3]] or layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): + text_based_target_height = block_a.height if block_a.height > 0 else block_b.height + + base_height = max(text_based_target_height, bar_based_target_height) + final_target_height = int(base_height * params['logo_size_ratio']) + + if final_target_height > 0: + original_width, original_height = pil_logo.size + if original_height > 0: + ratio = final_target_height / original_height + new_width = int(original_width * ratio) + pil_logo = pil_logo.resize((new_width, final_target_height), Image.Resampling.LANCZOS) + + if layout == LAYOUT_OPTIONS[0] or layout == LAYOUT_OPTIONS[9]: + x, y, w, h = draw_area + y_a = y + (h - block_a.height) / 2 + self._draw_block(draw, block_a, x + padding, y_a, spacing=spacing) + + y_b = y + (h - block_b.height) / 2 + if pil_logo: + right_group_width = block_b.width + spacing + pil_logo.width + start_x_right = x + w - padding - right_group_width + logo_x = start_x_right + logo_y = y + (h - pil_logo.height) / 2 + draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) + block_b_x = logo_x + pil_logo.width + spacing + self._draw_block(draw, block_b, block_b_x, y_b, align='left', spacing=spacing) + else: + self._draw_block(draw, block_b, x + w - padding, y_b, align='right', spacing=spacing) + + elif layout == LAYOUT_OPTIONS[1]: + x, y, w, h = draw_area + elements = [] + if pil_logo: elements.append({'type': 'logo', 'data': pil_logo, 'height': pil_logo.height}) + if block_a.lines: elements.append({'type': 'block', 'data': block_a, 'height': block_a.height}) + if block_b.lines: elements.append({'type': 'block', 'data': block_b, 'height': block_b.height}) + + total_height = sum(el['height'] for el in elements) + max(0, len(elements) - 1) * spacing + y_start = y + (h - total_height) / 2 + + for el in elements: + if el['type'] == 'logo': + logo = el['data'] + logo_x = x + (w - logo.width) / 2 + draw_layer.paste(logo, (int(logo_x), int(y_start)), logo) + else: + self._draw_block(draw, el['data'], x + w/2, y_start, align='center', spacing=spacing) + y_start += el['height'] + spacing + + elif layout == LAYOUT_OPTIONS[2]: + x, y, w, h = draw_area + center_x = x + w / 2 + + if block_b.lines: + y_b = y + padding + self._draw_vertical_text_block(draw_layer, block_b, center_x, y_b, spacing) + + if block_a.lines: + rotated_height_a = block_a.width + y_a = y + h - padding - rotated_height_a + self._draw_vertical_text_block(draw_layer, block_a, center_x, y_a, spacing) + + if pil_logo: + logo_x = center_x - pil_logo.width / 2 + logo_y = y + (h - pil_logo.height) / 2 + draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) + + elif layout == LAYOUT_OPTIONS[3]: + x_top, y_top, w_top, h_top = draw_area_top + x_bot, y_bot, w_bot, h_bot = draw_area_bottom + + if pil_logo: + total_top_width = pil_logo.width + spacing + block_a.width + start_x_top = x_top + (w_top - total_top_width) / 2 + logo_x = start_x_top + logo_y = y_top + (h_top - pil_logo.height) / 2 + draw_layer.paste(pil_logo, (int(logo_x), int(logo_y)), pil_logo) + block_a_x = start_x_top + pil_logo.width + spacing + self._draw_block(draw, block_a, block_a_x, y_top + (h_top - block_a.height) / 2, align='left', spacing=spacing) + else: + self._draw_block(draw, block_a, x_top + w_top / 2, y_top + (h_top - block_a.height) / 2, align='center', spacing=spacing) + + self._draw_block(draw, block_b, x_bot + w_bot / 2, y_bot + (h_bot - block_b.height) / 2, align='center', spacing=spacing) + + elif layout.startswith("5.") or layout.startswith("6.") or layout.startswith("7.") or layout.startswith("8.") or layout.startswith("9."): + x, y, w, h = draw_area + elements = [] + if block_a.lines: elements.append({'type': 'block', 'data': block_a, 'height': block_a.height, 'width': block_a.width}) + if block_b.lines: elements.append({'type': 'block', 'data': block_b, 'height': block_b.height, 'width': block_b.width}) + if pil_logo: elements.append({'type': 'logo', 'data': pil_logo, 'height': pil_logo.height, 'width': pil_logo.width}) + + if elements: + total_height = sum(el['height'] for el in elements) + max(0, len(elements) - 1) * spacing + max_width = max(el['width'] for el in elements) if elements else 0 + + if "左下角" in layout: y_start, x_start, align = h - padding - total_height, padding, 'left' + elif "右下角" in layout: y_start, x_start, align = h - padding - total_height, w - padding, 'right' + elif "左上角" in layout: y_start, x_start, align = padding, padding, 'left' + elif "右上角" in layout: y_start, x_start, align = padding, w - padding, 'right' + else: y_start, x_start, align = (h - total_height) / 2, w / 2, 'center' + + current_y = y_start + for el in elements: + el_width = el['width'] + if el['type'] == 'logo': + logo = el['data'] + if align == 'left': logo_x = x_start + elif align == 'right': logo_x = x_start - el_width + else: logo_x = x_start - el_width / 2 + draw_layer.paste(logo, (int(logo_x), int(current_y)), logo) + else: + self._draw_block(draw, el['data'], x_start, current_y, align=align, spacing=spacing) + current_y += el['height'] + spacing + + canvas.alpha_composite(draw_layer) + final_image = canvas.convert("RGB") + + return (self.pil_to_tensor(final_image),) + +# --- ComfyUI 节点注册 --- +NODE_CLASS_MAPPINGS = { + "CameraWatermarkNode": CameraWatermarkNode, + "ImageLoaderWithEXIF": ImageLoaderWithEXIF, +} +NODE_DISPLAY_NAME_MAPPINGS = { + "CameraWatermarkNode": "相机水印", + "ImageLoaderWithEXIF": "加载/附加 EXIF", +} diff --git a/docs/hel-892/watermark-reference/core-tree.json b/docs/hel-892/watermark-reference/core-tree.json new file mode 100644 index 00000000..37c69f7d --- /dev/null +++ b/docs/hel-892/watermark-reference/core-tree.json @@ -0,0 +1,8692 @@ +{ + "sha": "135abed8da169e33ab0b86550e05e3ae55d6df8c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/135abed8da169e33ab0b86550e05e3ae55d6df8c", + "tree": [ + { + "path": ".ci", + "mode": "040000", + "type": "tree", + "sha": "6e70bfd3601c2daf28320c523d1b14deb7715c4d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6e70bfd3601c2daf28320c523d1b14deb7715c4d" + }, + { + "path": ".ci/update_windows", + "mode": "040000", + "type": "tree", + "sha": "34386e47f9582977ad5bdfb17af796f615fb1121", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/34386e47f9582977ad5bdfb17af796f615fb1121" + }, + { + "path": ".ci/update_windows/update.py", + "mode": "100755", + "type": "blob", + "sha": "fe646a6ed424fd0868318f162335b3deb849cb44", + "size": 5782, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fe646a6ed424fd0868318f162335b3deb849cb44" + }, + { + "path": ".ci/update_windows/update_comfyui.bat", + "mode": "100755", + "type": "blob", + "sha": "bb08c0de0c7bfcf7cdecfda45edc72805bc3adea", + "size": 276, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bb08c0de0c7bfcf7cdecfda45edc72805bc3adea" + }, + { + "path": ".ci/update_windows/update_comfyui_stable.bat", + "mode": "100755", + "type": "blob", + "sha": "e18010da39d37b063f44ec811340c43d4739e874", + "size": 294, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e18010da39d37b063f44ec811340c43d4739e874" + }, + { + "path": ".ci/windows_amd_base_files", + "mode": "040000", + "type": "tree", + "sha": "917587998c706a22ce8974d9482ee3e26544bbed", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/917587998c706a22ce8974d9482ee3e26544bbed" + }, + { + "path": ".ci/windows_amd_base_files/README_VERY_IMPORTANT.txt", + "mode": "100755", + "type": "blob", + "sha": "2c72c8a1384cd7592f31e51e399ee992f8990870", + "size": 893, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2c72c8a1384cd7592f31e51e399ee992f8990870" + }, + { + "path": ".ci/windows_amd_base_files/run_amd_gpu.bat", + "mode": "100755", + "type": "blob", + "sha": "274d7c9486e0ee182ef8fbe16d34ca95e05e90ec", + "size": 82, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/274d7c9486e0ee182ef8fbe16d34ca95e05e90ec" + }, + { + "path": ".ci/windows_amd_base_files/run_amd_gpu_enable_dynamic_vram.bat", + "mode": "100755", + "type": "blob", + "sha": "94ad3194220a71486ac031d1fa2ed14a63688920", + "size": 104, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/94ad3194220a71486ac031d1fa2ed14a63688920" + }, + { + "path": ".ci/windows_intel_base_files", + "mode": "040000", + "type": "tree", + "sha": "0ed284b4a15d31b1226159ae82d2d59822f95839", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0ed284b4a15d31b1226159ae82d2d59822f95839" + }, + { + "path": ".ci/windows_intel_base_files/run_intel_gpu.bat", + "mode": "100755", + "type": "blob", + "sha": "274d7c9486e0ee182ef8fbe16d34ca95e05e90ec", + "size": 82, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/274d7c9486e0ee182ef8fbe16d34ca95e05e90ec" + }, + { + "path": ".ci/windows_nightly_base_files", + "mode": "040000", + "type": "tree", + "sha": "2e16c04c3a204c65c0e70e643a69d3223525ef52", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2e16c04c3a204c65c0e70e643a69d3223525ef52" + }, + { + "path": ".ci/windows_nightly_base_files/run_nvidia_gpu_fast.bat", + "mode": "100644", + "type": "blob", + "sha": "ca6d6868af4e19fb9ee764241030451d0d15f42d", + "size": 89, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ca6d6868af4e19fb9ee764241030451d0d15f42d" + }, + { + "path": ".ci/windows_nvidia_base_files", + "mode": "040000", + "type": "tree", + "sha": "0dd9051952b01c1b38de1f1bbe67a7bee4a0238e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0dd9051952b01c1b38de1f1bbe67a7bee4a0238e" + }, + { + "path": ".ci/windows_nvidia_base_files/README_VERY_IMPORTANT.txt", + "mode": "100755", + "type": "blob", + "sha": "8ab70c8905b4a240d51b43c835747b5c0dcf9ef9", + "size": 1030, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8ab70c8905b4a240d51b43c835747b5c0dcf9ef9" + }, + { + "path": ".ci/windows_nvidia_base_files/advanced", + "mode": "040000", + "type": "tree", + "sha": "f0774200d33c6d3a7d0747ab4f61f782c6909e90", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f0774200d33c6d3a7d0747ab4f61f782c6909e90" + }, + { + "path": ".ci/windows_nvidia_base_files/advanced/run_nvidia_gpu_disable_api_nodes.bat", + "mode": "100644", + "type": "blob", + "sha": "4501ef9a146efef755239d14c16fce400a6c4173", + "size": 316, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4501ef9a146efef755239d14c16fce400a6c4173" + }, + { + "path": ".ci/windows_nvidia_base_files/run_cpu.bat", + "mode": "100755", + "type": "blob", + "sha": "c3ba4172161a996b0187dd981286c521bcc65846", + "size": 88, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c3ba4172161a996b0187dd981286c521bcc65846" + }, + { + "path": ".ci/windows_nvidia_base_files/run_nvidia_gpu.bat", + "mode": "100755", + "type": "blob", + "sha": "6487ac7ceabdbb3eeb549451e63dfdaa85b54087", + "size": 292, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6487ac7ceabdbb3eeb549451e63dfdaa85b54087" + }, + { + "path": ".ci/windows_nvidia_base_files/run_nvidia_gpu_fast_fp16_accumulation.bat", + "mode": "100644", + "type": "blob", + "sha": "01c5bb33b5cc48f4044e44b86b0cfe9707da5fa7", + "size": 317, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/01c5bb33b5cc48f4044e44b86b0cfe9707da5fa7" + }, + { + "path": ".coderabbit.yaml", + "mode": "100644", + "type": "blob", + "sha": "0d1e4927072a417fed9de8d3168361a7a24e0ba3", + "size": 3875, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d1e4927072a417fed9de8d3168361a7a24e0ba3" + }, + { + "path": ".gitattributes", + "mode": "100644", + "type": "blob", + "sha": "5b3c15bb47c2fec4ac06b90249da3993c192090e", + "size": 112, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5b3c15bb47c2fec4ac06b90249da3993c192090e" + }, + { + "path": ".github", + "mode": "040000", + "type": "tree", + "sha": "1dc914a4a65365390cfc97f5ba637b3c9cb167f2", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/1dc914a4a65365390cfc97f5ba637b3c9cb167f2" + }, + { + "path": ".github/ISSUE_TEMPLATE", + "mode": "040000", + "type": "tree", + "sha": "f483b06782d61d3ce7754a1be551feb33c10a7ff", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f483b06782d61d3ce7754a1be551feb33c10a7ff" + }, + { + "path": ".github/ISSUE_TEMPLATE/bug-report.yml", + "mode": "100644", + "type": "blob", + "sha": "95cc48f88df302dcc39639d7815e7e41c3d8aa6b", + "size": 3105, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/95cc48f88df302dcc39639d7815e7e41c3d8aa6b" + }, + { + "path": ".github/ISSUE_TEMPLATE/config.yml", + "mode": "100644", + "type": "blob", + "sha": "09fea712edc0df7bada8c850abde6370cbf35719", + "size": 689, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/09fea712edc0df7bada8c850abde6370cbf35719" + }, + { + "path": ".github/ISSUE_TEMPLATE/feature-request.yml", + "mode": "100644", + "type": "blob", + "sha": "419721b63b4c0df62989862ea12cf2274d5788d7", + "size": 1584, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/419721b63b4c0df62989862ea12cf2274d5788d7" + }, + { + "path": ".github/ISSUE_TEMPLATE/user-support.yml", + "mode": "100644", + "type": "blob", + "sha": "281661f92633fc5e5cc01eac4b3ac6dc2ce99677", + "size": 1988, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/281661f92633fc5e5cc01eac4b3ac6dc2ce99677" + }, + { + "path": ".github/PULL_REQUEST_TEMPLATE", + "mode": "040000", + "type": "tree", + "sha": "5464fcc7551c8e11fc51227c01f33749bc2d4e06", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5464fcc7551c8e11fc51227c01f33749bc2d4e06" + }, + { + "path": ".github/PULL_REQUEST_TEMPLATE/api-node.md", + "mode": "100644", + "type": "blob", + "sha": "c1f1bafb158db27be00dadc06249f3f01bbb6b45", + "size": 398, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c1f1bafb158db27be00dadc06249f3f01bbb6b45" + }, + { + "path": ".github/scripts", + "mode": "040000", + "type": "tree", + "sha": "8bc18c22208c3d03e818b4ac20febec2ff48523c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8bc18c22208c3d03e818b4ac20febec2ff48523c" + }, + { + "path": ".github/scripts/check-ai-co-authors.sh", + "mode": "100755", + "type": "blob", + "sha": "842b1f2d80e80a2307b654294d1879c2cb4c88d3", + "size": 3204, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/842b1f2d80e80a2307b654294d1879c2cb4c88d3" + }, + { + "path": ".github/workflows", + "mode": "040000", + "type": "tree", + "sha": "a157be96cafe619d71351259dc13f5e136101491", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a157be96cafe619d71351259dc13f5e136101491" + }, + { + "path": ".github/workflows/api-node-template.yml", + "mode": "100644", + "type": "blob", + "sha": "fdb81c0c568da9916397dde690bdbdf730b3cb06", + "size": 2244, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fdb81c0c568da9916397dde690bdbdf730b3cb06" + }, + { + "path": ".github/workflows/backport_release.yaml", + "mode": "100644", + "type": "blob", + "sha": "ede6bde33e2bd71cc27176b0fe7d3b804bcc2a84", + "size": 23380, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ede6bde33e2bd71cc27176b0fe7d3b804bcc2a84" + }, + { + "path": ".github/workflows/check-ai-co-authors.yml", + "mode": "100644", + "type": "blob", + "sha": "2ad9ac972af5848fd483af6c6aa247d42d4ec622", + "size": 485, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ad9ac972af5848fd483af6c6aa247d42d4ec622" + }, + { + "path": ".github/workflows/check-line-endings.yml", + "mode": "100644", + "type": "blob", + "sha": "a69a24a872f5bb27d2b209ab3ebe04f2e1db4b17", + "size": 1246, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a69a24a872f5bb27d2b209ab3ebe04f2e1db4b17" + }, + { + "path": ".github/workflows/detect-unreviewed-merge.yml", + "mode": "100644", + "type": "blob", + "sha": "4fabecb94c30683f5194178613c383755abf08ce", + "size": 631, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4fabecb94c30683f5194178613c383755abf08ce" + }, + { + "path": ".github/workflows/openapi-lint.yml", + "mode": "100644", + "type": "blob", + "sha": "be949de2aede5320f6e8629c5353499a4100dc81", + "size": 639, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/be949de2aede5320f6e8629c5353499a4100dc81" + }, + { + "path": ".github/workflows/pullrequest-ci-run.yml", + "mode": "100644", + "type": "blob", + "sha": "a2a4b265c9847f7d46f7625f68f86abb5dbda304", + "size": 1937, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a2a4b265c9847f7d46f7625f68f86abb5dbda304" + }, + { + "path": ".github/workflows/release-stable-all.yml", + "mode": "100644", + "type": "blob", + "sha": "d7cf69fe24b2dc23c34c7bc620568cd9700b7eeb", + "size": 1849, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d7cf69fe24b2dc23c34c7bc620568cd9700b7eeb" + }, + { + "path": ".github/workflows/release-webhook.yml", + "mode": "100644", + "type": "blob", + "sha": "737e4c488ba4dd203b246a3dc764f46b531ecd69", + "size": 6605, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/737e4c488ba4dd203b246a3dc764f46b531ecd69" + }, + { + "path": ".github/workflows/ruff.yml", + "mode": "100644", + "type": "blob", + "sha": "b24d86a6ba55b1f7b90539d6267a72afa5a7b73c", + "size": 973, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b24d86a6ba55b1f7b90539d6267a72afa5a7b73c" + }, + { + "path": ".github/workflows/stable-release.yml", + "mode": "100644", + "type": "blob", + "sha": "bc64ed74df5df808f5dabee03aa26b01a77656e5", + "size": 5420, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bc64ed74df5df808f5dabee03aa26b01a77656e5" + }, + { + "path": ".github/workflows/stale-issues.yml", + "mode": "100644", + "type": "blob", + "sha": "0459960706dccca86452bc82804dc79b8bcadeda", + "size": 691, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0459960706dccca86452bc82804dc79b8bcadeda" + }, + { + "path": ".github/workflows/tag-dispatch-cloud.yml", + "mode": "100644", + "type": "blob", + "sha": "53a0e91d69469fff2b0f0e8fe0733c2fa17fb9b1", + "size": 1323, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/53a0e91d69469fff2b0f0e8fe0733c2fa17fb9b1" + }, + { + "path": ".github/workflows/test-build.yml", + "mode": "100644", + "type": "blob", + "sha": "9160242e96d94f1c8f50a41673ac077e63ab7c87", + "size": 765, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9160242e96d94f1c8f50a41673ac077e63ab7c87" + }, + { + "path": ".github/workflows/test-ci.yml", + "mode": "100644", + "type": "blob", + "sha": "adfc5dd32049700490c92aca144e80f0862e7d9a", + "size": 3101, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/adfc5dd32049700490c92aca144e80f0862e7d9a" + }, + { + "path": ".github/workflows/test-execution.yml", + "mode": "100644", + "type": "blob", + "sha": "9012633d864b300fc184d5616db14c2f6cc7ecd0", + "size": 839, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9012633d864b300fc184d5616db14c2f6cc7ecd0" + }, + { + "path": ".github/workflows/test-launch.yml", + "mode": "100644", + "type": "blob", + "sha": "581c0474b842787eb4ad610f63bed8f3a7e825d2", + "size": 1788, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/581c0474b842787eb4ad610f63bed8f3a7e825d2" + }, + { + "path": ".github/workflows/test-unit.yml", + "mode": "100644", + "type": "blob", + "sha": "d05179cd3da602b32013f94bac299c46b184fc0c", + "size": 798, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d05179cd3da602b32013f94bac299c46b184fc0c" + }, + { + "path": ".github/workflows/update-api-stubs.yml", + "mode": "100644", + "type": "blob", + "sha": "c99ec9fc1acf5ec0c1e922050be4e7930e7d1615", + "size": 1833, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c99ec9fc1acf5ec0c1e922050be4e7930e7d1615" + }, + { + "path": ".github/workflows/update-ci-container.yml", + "mode": "100644", + "type": "blob", + "sha": "f7972e0568db26fd82b035c95a029ef9b7cda475", + "size": 2113, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7972e0568db26fd82b035c95a029ef9b7cda475" + }, + { + "path": ".github/workflows/update-version.yml", + "mode": "100644", + "type": "blob", + "sha": "c2343cc39a32aeade2dc597dd5f52bc1dce5b207", + "size": 1859, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c2343cc39a32aeade2dc597dd5f52bc1dce5b207" + }, + { + "path": ".github/workflows/windows_release_dependencies.yml", + "mode": "100644", + "type": "blob", + "sha": "93e01ac9354e22a717f0c7cd5752c36706088a34", + "size": 2530, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/93e01ac9354e22a717f0c7cd5752c36706088a34" + }, + { + "path": ".github/workflows/windows_release_dependencies_manual.yml", + "mode": "100644", + "type": "blob", + "sha": "0799feef1ffca71c6f5d718c3f4833207d2c5047", + "size": 2295, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0799feef1ffca71c6f5d718c3f4833207d2c5047" + }, + { + "path": ".github/workflows/windows_release_nightly_pytorch.yml", + "mode": "100644", + "type": "blob", + "sha": "ca1ef71aee8fe01fe2c6ded5eb49a938bb34b551", + "size": 3737, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ca1ef71aee8fe01fe2c6ded5eb49a938bb34b551" + }, + { + "path": ".github/workflows/windows_release_package.yml", + "mode": "100644", + "type": "blob", + "sha": "7955325fc8242c0a9c8efffdc6d3d70808eaeca0", + "size": 3666, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7955325fc8242c0a9c8efffdc6d3d70808eaeca0" + }, + { + "path": ".gitignore", + "mode": "100644", + "type": "blob", + "sha": "fc426eda4e88f6f86e0413c47a54079f5d14bdc1", + "size": 389, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fc426eda4e88f6f86e0413c47a54079f5d14bdc1" + }, + { + "path": ".spectral.yaml", + "mode": "100644", + "type": "blob", + "sha": "a4b137628eaae0d1f1aedff8c314e6ee72f9ed1c", + "size": 3440, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a4b137628eaae0d1f1aedff8c314e6ee72f9ed1c" + }, + { + "path": "CODEOWNERS", + "mode": "100644", + "type": "blob", + "sha": "043c0ec75f9b9b62f40f02865e8472ccc7172ad8", + "size": 148, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/043c0ec75f9b9b62f40f02865e8472ccc7172ad8" + }, + { + "path": "CONTRIBUTING.md", + "mode": "100644", + "type": "blob", + "sha": "048f127e72ddc351451a9612d4c715f603393a84", + "size": 1882, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/048f127e72ddc351451a9612d4c715f603393a84" + }, + { + "path": "LICENSE", + "mode": "100644", + "type": "blob", + "sha": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "size": 35149, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f288702d2fa16d3cdf0035b15a9fcbc552cd88e7" + }, + { + "path": "QUANTIZATION.md", + "mode": "100644", + "type": "blob", + "sha": "30082202958a3db2627c37bd666351ba6e53a459", + "size": 7732, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/30082202958a3db2627c37bd666351ba6e53a459" + }, + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "61036bd812ceba52450da76b374a7618a224cef2", + "size": 29422, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/61036bd812ceba52450da76b374a7618a224cef2" + }, + { + "path": "SECURITY.md", + "mode": "100644", + "type": "blob", + "sha": "299b0067b13bc473a58cb3d53db4ab8ee835798a", + "size": 3522, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/299b0067b13bc473a58cb3d53db4ab8ee835798a" + }, + { + "path": "alembic.ini", + "mode": "100644", + "type": "blob", + "sha": "12f18712f4306f1b76e6b291956797b01469cd80", + "size": 3230, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/12f18712f4306f1b76e6b291956797b01469cd80" + }, + { + "path": "alembic_db", + "mode": "040000", + "type": "tree", + "sha": "6d28c97ec09f2e343e11ef917606d7bfeec70094", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6d28c97ec09f2e343e11ef917606d7bfeec70094" + }, + { + "path": "alembic_db/README.md", + "mode": "100644", + "type": "blob", + "sha": "3b808c7cab30eaab91c9ff5c1b2d5cc960904e14", + "size": 133, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3b808c7cab30eaab91c9ff5c1b2d5cc960904e14" + }, + { + "path": "alembic_db/env.py", + "mode": "100644", + "type": "blob", + "sha": "4ce37c0126a94fd78aab0fb54d2f8fbab73b23ff", + "size": 1914, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ce37c0126a94fd78aab0fb54d2f8fbab73b23ff" + }, + { + "path": "alembic_db/script.py.mako", + "mode": "100644", + "type": "blob", + "sha": "480b130d632ca677c11f23d9fe82cf4014d15e0c", + "size": 689, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/480b130d632ca677c11f23d9fe82cf4014d15e0c" + }, + { + "path": "alembic_db/versions", + "mode": "040000", + "type": "tree", + "sha": "409fcea75f8fe217af5f99cc48afbad338f8ded8", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/409fcea75f8fe217af5f99cc48afbad338f8ded8" + }, + { + "path": "alembic_db/versions/0001_assets.py", + "mode": "100644", + "type": "blob", + "sha": "1e10b94dc36b2f6950a57500671f7fe430be96cd", + "size": 8823, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1e10b94dc36b2f6950a57500671f7fe430be96cd" + }, + { + "path": "alembic_db/versions/0002_merge_to_asset_references.py", + "mode": "100644", + "type": "blob", + "sha": "1ac1b980c72a3bd4f89bc8402454a5b924b4b7e6", + "size": 13024, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1ac1b980c72a3bd4f89bc8402454a5b924b4b7e6" + }, + { + "path": "alembic_db/versions/0003_add_metadata_job_id.py", + "mode": "100644", + "type": "blob", + "sha": "2a14ee924f22fb2207b75fb0e201ce746404918d", + "size": 3450, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2a14ee924f22fb2207b75fb0e201ce746404918d" + }, + { + "path": "alembic_db/versions/0004_drop_tag_type.py", + "mode": "100644", + "type": "blob", + "sha": "582bec4e8469565d3cf4eb4cf9ff88b4e176f961", + "size": 1098, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/582bec4e8469565d3cf4eb4cf9ff88b4e176f961" + }, + { + "path": "api_server", + "mode": "040000", + "type": "tree", + "sha": "8a3a12af2b90b7fd4ff8972d36debe73ae3c06ef", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8a3a12af2b90b7fd4ff8972d36debe73ae3c06ef" + }, + { + "path": "api_server/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "api_server/routes", + "mode": "040000", + "type": "tree", + "sha": "f38495d3f987bb9173384f6b37ad7ff35fce089a", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f38495d3f987bb9173384f6b37ad7ff35fce089a" + }, + { + "path": "api_server/routes/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "api_server/routes/internal", + "mode": "040000", + "type": "tree", + "sha": "54818d68a444f22a7cdfca350f7d162ca6a2ace6", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/54818d68a444f22a7cdfca350f7d162ca6a2ace6" + }, + { + "path": "api_server/routes/internal/README.md", + "mode": "100644", + "type": "blob", + "sha": "35330c36f83962385b4afe4653c5967f2bdb73c1", + "size": 220, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/35330c36f83962385b4afe4653c5967f2bdb73c1" + }, + { + "path": "api_server/routes/internal/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "api_server/routes/internal/internal_routes.py", + "mode": "100644", + "type": "blob", + "sha": "1477afa019daa6d997eda8332d9e918c0725c598", + "size": 3072, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1477afa019daa6d997eda8332d9e918c0725c598" + }, + { + "path": "api_server/services", + "mode": "040000", + "type": "tree", + "sha": "fb303e6603032fb076c86938a5a149b9b447960e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/fb303e6603032fb076c86938a5a149b9b447960e" + }, + { + "path": "api_server/services/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "api_server/services/terminal_service.py", + "mode": "100644", + "type": "blob", + "sha": "ab4371f4f855c6d347744f751fd1bc5cc0f5a173", + "size": 1709, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ab4371f4f855c6d347744f751fd1bc5cc0f5a173" + }, + { + "path": "api_server/utils", + "mode": "040000", + "type": "tree", + "sha": "196b7b6129fd35f559b1e1e17500e8b59631a0de", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/196b7b6129fd35f559b1e1e17500e8b59631a0de" + }, + { + "path": "api_server/utils/file_operations.py", + "mode": "100644", + "type": "blob", + "sha": "32d6e047a5da09d0f382bb3fa93ce8d52b699aa7", + "size": 1367, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/32d6e047a5da09d0f382bb3fa93ce8d52b699aa7" + }, + { + "path": "app", + "mode": "040000", + "type": "tree", + "sha": "f1587f60643c70a13887c0d8c8159397e3e609ea", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f1587f60643c70a13887c0d8c8159397e3e609ea" + }, + { + "path": "app/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "app/app_settings.py", + "mode": "100644", + "type": "blob", + "sha": "c7ac73bf6a59d3e89647aed13b70ca9428e16f2a", + "size": 2255, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c7ac73bf6a59d3e89647aed13b70ca9428e16f2a" + }, + { + "path": "app/assets", + "mode": "040000", + "type": "tree", + "sha": "13d9d751026a209642c2437eafeab4a5001c5a4c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/13d9d751026a209642c2437eafeab4a5001c5a4c" + }, + { + "path": "app/assets/api", + "mode": "040000", + "type": "tree", + "sha": "05acd41869ce4d6d8c23a78188aaf5c9275ec4f8", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/05acd41869ce4d6d8c23a78188aaf5c9275ec4f8" + }, + { + "path": "app/assets/api/routes.py", + "mode": "100644", + "type": "blob", + "sha": "7ef462f5cd049775a341c7f44e18615c9dc129e2", + "size": 28683, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7ef462f5cd049775a341c7f44e18615c9dc129e2" + }, + { + "path": "app/assets/api/schemas_in.py", + "mode": "100644", + "type": "blob", + "sha": "af666746dce228e3fd2213ab26e9a9253a5a6bdd", + "size": 11314, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/af666746dce228e3fd2213ab26e9a9253a5a6bdd" + }, + { + "path": "app/assets/api/schemas_out.py", + "mode": "100644", + "type": "blob", + "sha": "4e38e19d18249442847236f280559d45a34dfdfc", + "size": 2195, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4e38e19d18249442847236f280559d45a34dfdfc" + }, + { + "path": "app/assets/api/upload.py", + "mode": "100644", + "type": "blob", + "sha": "13d3d372c4904fcbf25a4b188cdfaa9b8c74bbb3", + "size": 6338, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/13d3d372c4904fcbf25a4b188cdfaa9b8c74bbb3" + }, + { + "path": "app/assets/database", + "mode": "040000", + "type": "tree", + "sha": "c97f093c89689f76ef3b4dc4882aab7f00439d38", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/c97f093c89689f76ef3b4dc4882aab7f00439d38" + }, + { + "path": "app/assets/database/models.py", + "mode": "100644", + "type": "blob", + "sha": "9b61d309a8dc2262386f483d761a99c2a53d72bc", + "size": 8849, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9b61d309a8dc2262386f483d761a99c2a53d72bc" + }, + { + "path": "app/assets/database/queries", + "mode": "040000", + "type": "tree", + "sha": "d1d07eb35636274c8b2f6f59936398bedf0a39a2", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d1d07eb35636274c8b2f6f59936398bedf0a39a2" + }, + { + "path": "app/assets/database/queries/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "9949e84e1be93bbce8101643cb2934f780507bab", + "size": 4116, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9949e84e1be93bbce8101643cb2934f780507bab" + }, + { + "path": "app/assets/database/queries/asset.py", + "mode": "100644", + "type": "blob", + "sha": "cc716843186872db12f97cee06c5f1bfaa9784d4", + "size": 4136, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cc716843186872db12f97cee06c5f1bfaa9784d4" + }, + { + "path": "app/assets/database/queries/asset_reference.py", + "mode": "100644", + "type": "blob", + "sha": "792411800e1b1af78c972e3f4c09b08249e3b2ec", + "size": 32190, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/792411800e1b1af78c972e3f4c09b08249e3b2ec" + }, + { + "path": "app/assets/database/queries/common.py", + "mode": "100644", + "type": "blob", + "sha": "89bb4932793561542a5e5b2d4c4b1a038f21a3da", + "size": 4299, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/89bb4932793561542a5e5b2d4c4b1a038f21a3da" + }, + { + "path": "app/assets/database/queries/tags.py", + "mode": "100644", + "type": "blob", + "sha": "d41d73a10084924acd20d93b43e558dcc8b48a1a", + "size": 12916, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d41d73a10084924acd20d93b43e558dcc8b48a1a" + }, + { + "path": "app/assets/helpers.py", + "mode": "100644", + "type": "blob", + "sha": "3798f3933a4617ee207c6a7f4be3b481b239e99f", + "size": 2032, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3798f3933a4617ee207c6a7f4be3b481b239e99f" + }, + { + "path": "app/assets/scanner.py", + "mode": "100644", + "type": "blob", + "sha": "2c1e978402c91ea629d7650987a8c887fc85c14c", + "size": 20545, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2c1e978402c91ea629d7650987a8c887fc85c14c" + }, + { + "path": "app/assets/seeder.py", + "mode": "100644", + "type": "blob", + "sha": "2262928e599e469ad0ebb738b99e9606e0a491f4", + "size": 29373, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2262928e599e469ad0ebb738b99e9606e0a491f4" + }, + { + "path": "app/assets/services", + "mode": "040000", + "type": "tree", + "sha": "335417160c0c3c13cb2849323a38f506a384471b", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/335417160c0c3c13cb2849323a38f506a384471b" + }, + { + "path": "app/assets/services/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "03990966b1c1a86dad5d5bd3926def2fcc842603", + "size": 2104, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/03990966b1c1a86dad5d5bd3926def2fcc842603" + }, + { + "path": "app/assets/services/asset_management.py", + "mode": "100644", + "type": "blob", + "sha": "d4e4fc61c4ad3dacd425a2e891d75db79a04efd3", + "size": 15806, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d4e4fc61c4ad3dacd425a2e891d75db79a04efd3" + }, + { + "path": "app/assets/services/bulk_ingest.py", + "mode": "100644", + "type": "blob", + "sha": "67aad838fdd1d2898801abf48d4351868f2f0f01", + "size": 8461, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/67aad838fdd1d2898801abf48d4351868f2f0f01" + }, + { + "path": "app/assets/services/cursor.py", + "mode": "100644", + "type": "blob", + "sha": "6c779152844d790d0c50108ad2e5e5d2998f1e39", + "size": 8678, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6c779152844d790d0c50108ad2e5e5d2998f1e39" + }, + { + "path": "app/assets/services/file_utils.py", + "mode": "100644", + "type": "blob", + "sha": "c47ebe4606c8391ce520f06b68607a6dd139ff40", + "size": 2267, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c47ebe4606c8391ce520f06b68607a6dd139ff40" + }, + { + "path": "app/assets/services/hashing.py", + "mode": "100644", + "type": "blob", + "sha": "41d8b461503186e7b634da09795512d5a7eba86e", + "size": 3076, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/41d8b461503186e7b634da09795512d5a7eba86e" + }, + { + "path": "app/assets/services/image_dimensions.py", + "mode": "100644", + "type": "blob", + "sha": "ccd97399ac23d4da6d80c0b367bbdc4599cdfbda", + "size": 2035, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ccd97399ac23d4da6d80c0b367bbdc4599cdfbda" + }, + { + "path": "app/assets/services/ingest.py", + "mode": "100644", + "type": "blob", + "sha": "3b6dc237c43569b1799d2ddeb71207101c0abc73", + "size": 20884, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3b6dc237c43569b1799d2ddeb71207101c0abc73" + }, + { + "path": "app/assets/services/metadata_extract.py", + "mode": "100644", + "type": "blob", + "sha": "bdfe60218d4cf6f8700637c3be1e39c0ab107163", + "size": 10952, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bdfe60218d4cf6f8700637c3be1e39c0ab107163" + }, + { + "path": "app/assets/services/path_utils.py", + "mode": "100644", + "type": "blob", + "sha": "892140ffb0532aae24f0ef0caf2c172aacf75ac9", + "size": 6446, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/892140ffb0532aae24f0ef0caf2c172aacf75ac9" + }, + { + "path": "app/assets/services/schemas.py", + "mode": "100644", + "type": "blob", + "sha": "4d2af8a02fe1285707483fdba5d979d715014516", + "size": 2366, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4d2af8a02fe1285707483fdba5d979d715014516" + }, + { + "path": "app/assets/services/tagging.py", + "mode": "100644", + "type": "blob", + "sha": "5fa39d26af08e0b9a9a3b08ca7515ef6e9e3f220", + "size": 2578, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5fa39d26af08e0b9a9a3b08ca7515ef6e9e3f220" + }, + { + "path": "app/custom_node_manager.py", + "mode": "100644", + "type": "blob", + "sha": "738af2abd9f09c3fbfc67da56628709bde0f7b9f", + "size": 5294, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/738af2abd9f09c3fbfc67da56628709bde0f7b9f" + }, + { + "path": "app/database", + "mode": "040000", + "type": "tree", + "sha": "a7d56c74ce7a5646c5bcea0848faf09e1ada6e27", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a7d56c74ce7a5646c5bcea0848faf09e1ada6e27" + }, + { + "path": "app/database/db.py", + "mode": "100644", + "type": "blob", + "sha": "0aab09a4983bddc1332cda7410a49e7dc5a02e26", + "size": 5845, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0aab09a4983bddc1332cda7410a49e7dc5a02e26" + }, + { + "path": "app/database/models.py", + "mode": "100644", + "type": "blob", + "sha": "b02856f6e71147696e14ac0ceeb2c4d0986bc9fb", + "size": 932, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b02856f6e71147696e14ac0ceeb2c4d0986bc9fb" + }, + { + "path": "app/frontend_management.py", + "mode": "100644", + "type": "blob", + "sha": "8e84e8dd907509a58f257498e3b74c0378a64e0e", + "size": 14803, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8e84e8dd907509a58f257498e3b74c0378a64e0e" + }, + { + "path": "app/logger.py", + "mode": "100644", + "type": "blob", + "sha": "bde8158222b55ddcfb965aabb0ef8d88496d6fef", + "size": 3904, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bde8158222b55ddcfb965aabb0ef8d88496d6fef" + }, + { + "path": "app/model_manager.py", + "mode": "100644", + "type": "blob", + "sha": "8f6e34b33ae68daaead3216fd2e78e8a674cedfb", + "size": 7851, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8f6e34b33ae68daaead3216fd2e78e8a674cedfb" + }, + { + "path": "app/node_replace_manager.py", + "mode": "100644", + "type": "blob", + "sha": "72e8ac2b15c4f972003ea177e9e85779fc7aae8f", + "size": 5653, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/72e8ac2b15c4f972003ea177e9e85779fc7aae8f" + }, + { + "path": "app/subgraph_manager.py", + "mode": "100644", + "type": "blob", + "sha": "08ad8c30239a6e1e28ae1ef49c09e9db261d6b58", + "size": 5245, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/08ad8c30239a6e1e28ae1ef49c09e9db261d6b58" + }, + { + "path": "app/user_manager.py", + "mode": "100644", + "type": "blob", + "sha": "7b11e381c4c6024873d28064da6fbb402688b4b3", + "size": 18991, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7b11e381c4c6024873d28064da6fbb402688b4b3" + }, + { + "path": "blueprints", + "mode": "040000", + "type": "tree", + "sha": "4f4c9d66efcbc19546bbd1b509d6b934f279d136", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/4f4c9d66efcbc19546bbd1b509d6b934f279d136" + }, + { + "path": "blueprints/.glsl", + "mode": "040000", + "type": "tree", + "sha": "37c4877e46b6a41fbc2689d4ffeb3f4ef021991e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/37c4877e46b6a41fbc2689d4ffeb3f4ef021991e" + }, + { + "path": "blueprints/.glsl/Brightness_and_Contrast_1.frag", + "mode": "100644", + "type": "blob", + "sha": "da54240803fb0b16ee99334203318dbde16baaa5", + "size": 981, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/da54240803fb0b16ee99334203318dbde16baaa5" + }, + { + "path": "blueprints/.glsl/Chromatic_Aberration_16.frag", + "mode": "100644", + "type": "blob", + "sha": "09a27114670e0adc131cf1e93737274b80e95ee5", + "size": 2160, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/09a27114670e0adc131cf1e93737274b80e95ee5" + }, + { + "path": "blueprints/.glsl/Color_Adjustment_15.frag", + "mode": "100644", + "type": "blob", + "sha": "697525f145aaba757e9f714e14831c8ff4fc7f2d", + "size": 2738, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/697525f145aaba757e9f714e14831c8ff4fc7f2d" + }, + { + "path": "blueprints/.glsl/Color_Balance_15.frag", + "mode": "100644", + "type": "blob", + "sha": "e370aa12a336993657980da00756939eeeeb4e98", + "size": 2589, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e370aa12a336993657980da00756939eeeeb4e98" + }, + { + "path": "blueprints/.glsl/Color_Curves_8.frag", + "mode": "100644", + "type": "blob", + "sha": "878ea68751216de6fb0047487c9c37217d143b18", + "size": 1643, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/878ea68751216de6fb0047487c9c37217d143b18" + }, + { + "path": "blueprints/.glsl/Edge-Preserving_Blur_128.frag", + "mode": "100644", + "type": "blob", + "sha": "f269aebd647fd0dd62b5b38e3d37ea5c4a4b8b8c", + "size": 2750, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f269aebd647fd0dd62b5b38e3d37ea5c4a4b8b8c" + }, + { + "path": "blueprints/.glsl/Film_Grain_15.frag", + "mode": "100644", + "type": "blob", + "sha": "21585825be7ac2166d0542ad6593d51220e9a167", + "size": 3847, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/21585825be7ac2166d0542ad6593d51220e9a167" + }, + { + "path": "blueprints/.glsl/Glow_30.frag", + "mode": "100644", + "type": "blob", + "sha": "f3c85a212f8f4253c8584eb86bf06b5b8aa4960c", + "size": 3495, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f3c85a212f8f4253c8584eb86bf06b5b8aa4960c" + }, + { + "path": "blueprints/.glsl/Hue_and_Saturation_1.frag", + "mode": "100644", + "type": "blob", + "sha": "0fa6810af3d85295af5142ad860ba99fba0956c0", + "size": 6311, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0fa6810af3d85295af5142ad860ba99fba0956c0" + }, + { + "path": "blueprints/.glsl/Image_Blur_1.frag", + "mode": "100644", + "type": "blob", + "sha": "1819e169543a6922e164b4981fd50f7fc030bce9", + "size": 3008, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1819e169543a6922e164b4981fd50f7fc030bce9" + }, + { + "path": "blueprints/.glsl/Image_Channels_23.frag", + "mode": "100644", + "type": "blob", + "sha": "76d70af13238ca366163a6f4f2e3c138ba0ba09d", + "size": 618, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/76d70af13238ca366163a6f4f2e3c138ba0ba09d" + }, + { + "path": "blueprints/.glsl/Image_Levels_1.frag", + "mode": "100644", + "type": "blob", + "sha": "f34ed1d81c34223c59736c108cc941e0cd7a10d5", + "size": 2335, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f34ed1d81c34223c59736c108cc941e0cd7a10d5" + }, + { + "path": "blueprints/.glsl/README.md", + "mode": "100644", + "type": "blob", + "sha": "d4084284b9c811c746ed53cf6a55dacdca15da1b", + "size": 742, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d4084284b9c811c746ed53cf6a55dacdca15da1b" + }, + { + "path": "blueprints/.glsl/Sharpen_23.frag", + "mode": "100644", + "type": "blob", + "sha": "e7463a329d6ed7229f7bca94c33eb0813e60cb7a", + "size": 915, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e7463a329d6ed7229f7bca94c33eb0813e60cb7a" + }, + { + "path": "blueprints/.glsl/Unsharp_Mask_26.frag", + "mode": "100644", + "type": "blob", + "sha": "d968c9c035ca6a63c02e0a98ae4abcc6a6fd65b7", + "size": 1870, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d968c9c035ca6a63c02e0a98ae4abcc6a6fd65b7" + }, + { + "path": "blueprints/.glsl/update_blueprints.py", + "mode": "100644", + "type": "blob", + "sha": "c5bd0ed54a852e55fc3722844837dac4332bf5ae", + "size": 5197, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c5bd0ed54a852e55fc3722844837dac4332bf5ae" + }, + { + "path": "blueprints/Audio Generation (Stable Audio 3 Medium Base).json", + "mode": "100644", + "type": "blob", + "sha": "e561fe63410e1ccd27dbeab09d2c682963ca5d40", + "size": 82233, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e561fe63410e1ccd27dbeab09d2c682963ca5d40" + }, + { + "path": "blueprints/Audio Generation (Stable Audio 3 Medium).json", + "mode": "100644", + "type": "blob", + "sha": "30add5b0515dc7cd64bb981b753a96b1bf7feba8", + "size": 82187, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/30add5b0515dc7cd64bb981b753a96b1bf7feba8" + }, + { + "path": "blueprints/Brightness and Contrast.json", + "mode": "100644", + "type": "blob", + "sha": "78fc52f29062037c86848acd160dffb6ecadf267", + "size": 11739, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/78fc52f29062037c86848acd160dffb6ecadf267" + }, + { + "path": "blueprints/Canny to Image (Z-Image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "903d372b1a9ee2c08b237e58d92e48e40dbe57db", + "size": 40591, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/903d372b1a9ee2c08b237e58d92e48e40dbe57db" + }, + { + "path": "blueprints/Canny to Video (LTX 2.0).json", + "mode": "100644", + "type": "blob", + "sha": "ed602b5212541649ee8a65dd77a9d0f2e9cde62b", + "size": 94615, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ed602b5212541649ee8a65dd77a9d0f2e9cde62b" + }, + { + "path": "blueprints/Chromatic Aberration.json", + "mode": "100644", + "type": "blob", + "sha": "893fb1190514eb8f458eff02d081081af3d130ff", + "size": 11603, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/893fb1190514eb8f458eff02d081081af3d130ff" + }, + { + "path": "blueprints/Color Adjustment.json", + "mode": "100644", + "type": "blob", + "sha": "5abbf8baacd7ea1b5362e38cf20ffd2726dfc051", + "size": 17619, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5abbf8baacd7ea1b5362e38cf20ffd2726dfc051" + }, + { + "path": "blueprints/Color Balance.json", + "mode": "100644", + "type": "blob", + "sha": "d921eab37d1d57135dd141fdf7c10706405a46c1", + "size": 31066, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d921eab37d1d57135dd141fdf7c10706405a46c1" + }, + { + "path": "blueprints/Color Curves.json", + "mode": "100644", + "type": "blob", + "sha": "b9bfb7029179083da015626fcc48b9383a3fb2ee", + "size": 16947, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b9bfb7029179083da015626fcc48b9383a3fb2ee" + }, + { + "path": "blueprints/ControlNet (Z-Image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "160ee11e2bee8ed0bc91ba6c4c0174c4572faee8", + "size": 36509, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/160ee11e2bee8ed0bc91ba6c4c0174c4572faee8" + }, + { + "path": "blueprints/Crop Images 2x2.json", + "mode": "100644", + "type": "blob", + "sha": "99b89b608e09ff586b3d09d531f7f993281185f8", + "size": 41143, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/99b89b608e09ff586b3d09d531f7f993281185f8" + }, + { + "path": "blueprints/Crop Images 3x3.json", + "mode": "100644", + "type": "blob", + "sha": "6ac636da46eb1666f0d84e73b3e37de730bf18d8", + "size": 75150, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6ac636da46eb1666f0d84e73b3e37de730bf18d8" + }, + { + "path": "blueprints/Depth to Image (Z-Image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "2790827a34bbc6bae4720375cc1489a40eed7aac", + "size": 64705, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2790827a34bbc6bae4720375cc1489a40eed7aac" + }, + { + "path": "blueprints/Depth to Video (ltx 2.0).json", + "mode": "100644", + "type": "blob", + "sha": "56912de511a056728c5b6817418ee1c531feb0f2", + "size": 138288, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/56912de511a056728c5b6817418ee1c531feb0f2" + }, + { + "path": "blueprints/Edge-Preserving Blur.json", + "mode": "100644", + "type": "blob", + "sha": "fbda9f126336d6f0044b01cf2fea92b45a5894e2", + "size": 14090, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fbda9f126336d6f0044b01cf2fea92b45a5894e2" + }, + { + "path": "blueprints/Film Grain.json", + "mode": "100644", + "type": "blob", + "sha": "3226ea9aaba395555b84cd7ed4a82ecb9f659631", + "size": 18522, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3226ea9aaba395555b84cd7ed4a82ecb9f659631" + }, + { + "path": "blueprints/First-Last-Frame to Video (LTX-2.3).json", + "mode": "100644", + "type": "blob", + "sha": "4cae2dc2417668ec81d8bcba7ec4626ab51af6d4", + "size": 90337, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4cae2dc2417668ec81d8bcba7ec4626ab51af6d4" + }, + { + "path": "blueprints/First-Last-Frame to Video.json", + "mode": "100644", + "type": "blob", + "sha": "d76e1e045f2afa92d056d236c9ed233bde291a5e", + "size": 90331, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d76e1e045f2afa92d056d236c9ed233bde291a5e" + }, + { + "path": "blueprints/Frame Interpolation.json", + "mode": "100644", + "type": "blob", + "sha": "8e183de7e7f2dcf795605df1ae67ff0f488777f1", + "size": 21545, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8e183de7e7f2dcf795605df1ae67ff0f488777f1" + }, + { + "path": "blueprints/Geometry Estimation (MoGe).json", + "mode": "100644", + "type": "blob", + "sha": "e6f08bf716311739ca349b70ecd33e7b44c7b7a8", + "size": 32563, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e6f08bf716311739ca349b70ecd33e7b44c7b7a8" + }, + { + "path": "blueprints/Get Any Video Frame.json", + "mode": "100644", + "type": "blob", + "sha": "9ff0f8e6e1b2bd3fa2c0411060a69e12be2292b4", + "size": 11376, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9ff0f8e6e1b2bd3fa2c0411060a69e12be2292b4" + }, + { + "path": "blueprints/Glow.json", + "mode": "100644", + "type": "blob", + "sha": "2bbfdee516e99b30a3766a34751fedd5077c4418", + "size": 17819, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2bbfdee516e99b30a3766a34751fedd5077c4418" + }, + { + "path": "blueprints/Hue and Saturation.json", + "mode": "100644", + "type": "blob", + "sha": "cddf0154a367aa3908536a0d0e3d378ab62e7e37", + "size": 25103, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cddf0154a367aa3908536a0d0e3d378ab62e7e37" + }, + { + "path": "blueprints/Image Blur.json", + "mode": "100644", + "type": "blob", + "sha": "0ca8d993146b558be0e59c259dafd813c1b65369", + "size": 12416, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0ca8d993146b558be0e59c259dafd813c1b65369" + }, + { + "path": "blueprints/Image Captioning (gemini).json", + "mode": "100644", + "type": "blob", + "sha": "9005e51919b45c3912d6267a5d61b1d444683afb", + "size": 9141, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9005e51919b45c3912d6267a5d61b1d444683afb" + }, + { + "path": "blueprints/Image Channels.json", + "mode": "100644", + "type": "blob", + "sha": "b6fdff5bee6b085018dd40a0e6b0239a44993040", + "size": 8288, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b6fdff5bee6b085018dd40a0e6b0239a44993040" + }, + { + "path": "blueprints/Image Depth Estimation (Lotus Depth).json", + "mode": "100644", + "type": "blob", + "sha": "8aa338d0da87761fd8afc42d6488b215e6e5792a", + "size": 23785, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8aa338d0da87761fd8afc42d6488b215e6e5792a" + }, + { + "path": "blueprints/Image Depth Estimation (MoGe).json", + "mode": "100644", + "type": "blob", + "sha": "e2d5d1298cd866b9c11c92c7623faa0b30c7cd6d", + "size": 29580, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e2d5d1298cd866b9c11c92c7623faa0b30c7cd6d" + }, + { + "path": "blueprints/Image Edit (FireRed Image Edit 1.1).json", + "mode": "100644", + "type": "blob", + "sha": "b82c7d18b202b65c84d624fe52830a87120b938c", + "size": 56282, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b82c7d18b202b65c84d624fe52830a87120b938c" + }, + { + "path": "blueprints/Image Edit (Flux.2 Dev).json", + "mode": "100644", + "type": "blob", + "sha": "92827bf1780b9b2ec1f2cda8fb5d5ee693c153cc", + "size": 53711, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/92827bf1780b9b2ec1f2cda8fb5d5ee693c153cc" + }, + { + "path": "blueprints/Image Edit (Flux.2 Klein 4B).json", + "mode": "100644", + "type": "blob", + "sha": "7f6fa7a4bcd0a6b7986a137d121ec62105fc64bf", + "size": 47503, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7f6fa7a4bcd0a6b7986a137d121ec62105fc64bf" + }, + { + "path": "blueprints/Image Edit (LongCat Image Edit).json", + "mode": "100644", + "type": "blob", + "sha": "de1c155a2502b60ab799765791d497fb715fc6b2", + "size": 36274, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/de1c155a2502b60ab799765791d497fb715fc6b2" + }, + { + "path": "blueprints/Image Edit (Qwen 2509).json", + "mode": "100644", + "type": "blob", + "sha": "f7be322a018404a0765c9220eb52eb18072d0b68", + "size": 49705, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7be322a018404a0765c9220eb52eb18072d0b68" + }, + { + "path": "blueprints/Image Edit (Qwen 2511).json", + "mode": "100644", + "type": "blob", + "sha": "1aa7e576587331be9afb2ab61f1bcc9915b94fe7", + "size": 39759, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1aa7e576587331be9afb2ab61f1bcc9915b94fe7" + }, + { + "path": "blueprints/Image Face Detection (Mediapipe).json", + "mode": "100644", + "type": "blob", + "sha": "e2548d485e9d0501e3f9fc5d53af42c2ca7bc357", + "size": 19796, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e2548d485e9d0501e3f9fc5d53af42c2ca7bc357" + }, + { + "path": "blueprints/Image Inpainting (Flux.1 Fill Dev).json", + "mode": "100644", + "type": "blob", + "sha": "c1326ed3d41e000b0d8198daeb72609c2d393ef5", + "size": 30431, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c1326ed3d41e000b0d8198daeb72609c2d393ef5" + }, + { + "path": "blueprints/Image Inpainting (Qwen-image).json", + "mode": "100644", + "type": "blob", + "sha": "a06d57e193bee432abf22e0a92cdb10c5faa3482", + "size": 48977, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a06d57e193bee432abf22e0a92cdb10c5faa3482" + }, + { + "path": "blueprints/Image Levels.json", + "mode": "100644", + "type": "blob", + "sha": "1a1b189329adf17f42f1136def048ff237eee2e3", + "size": 20701, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1a1b189329adf17f42f1136def048ff237eee2e3" + }, + { + "path": "blueprints/Image Outpainting (Qwen-Image).json", + "mode": "100644", + "type": "blob", + "sha": "6c07227c0b6f303f48480e74d84e2d523738e91f", + "size": 68577, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6c07227c0b6f303f48480e74d84e2d523738e91f" + }, + { + "path": "blueprints/Image Segmentation (SAM3).json", + "mode": "100644", + "type": "blob", + "sha": "a2ef40ac8a8ed66b3a092a222e6d8199100861ea", + "size": 17905, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a2ef40ac8a8ed66b3a092a222e6d8199100861ea" + }, + { + "path": "blueprints/Image Upscale(Z-image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "25d2838a801a6a57c8a60a599905768ec9359713", + "size": 33906, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/25d2838a801a6a57c8a60a599905768ec9359713" + }, + { + "path": "blueprints/Image to Layers(Qwen-Image-Layered).json", + "mode": "100644", + "type": "blob", + "sha": "7b44f056307b4b96de8780df35ad239bbc1e3e70", + "size": 41396, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7b44f056307b4b96de8780df35ad239bbc1e3e70" + }, + { + "path": "blueprints/Image to Model (Hunyuan3d 2.1).json", + "mode": "100644", + "type": "blob", + "sha": "ee5552656f4f2bb99c39b13d937d31c77aa92e02", + "size": 19657, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ee5552656f4f2bb99c39b13d937d31c77aa92e02" + }, + { + "path": "blueprints/Image to Pose Map (SDPose Multi-Person).json", + "mode": "100644", + "type": "blob", + "sha": "38df207754c992084f430ee0393ae3ed5148a463", + "size": 30441, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/38df207754c992084f430ee0393ae3ed5148a463" + }, + { + "path": "blueprints/Image to Pose Map (SDPose-OOD).json", + "mode": "100644", + "type": "blob", + "sha": "76ee9ff4ee3d3b7ce1e57c79a50b586be9cf7f4b", + "size": 22116, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/76ee9ff4ee3d3b7ce1e57c79a50b586be9cf7f4b" + }, + { + "path": "blueprints/Image to Video (LTX-2.3).json", + "mode": "100644", + "type": "blob", + "sha": "3db524ea0d86d379cc68f840f9278b960846213a", + "size": 112711, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3db524ea0d86d379cc68f840f9278b960846213a" + }, + { + "path": "blueprints/Image to Video (Wan 2.2).json", + "mode": "100644", + "type": "blob", + "sha": "a24adcfb6d9c73b6449e903f17908ed6550de089", + "size": 57122, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a24adcfb6d9c73b6449e903f17908ed6550de089" + }, + { + "path": "blueprints/Merge Videos.json", + "mode": "100644", + "type": "blob", + "sha": "689e6ec16895e94bc2e8ef86c04e644ec75cda38", + "size": 30883, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/689e6ec16895e94bc2e8ef86c04e644ec75cda38" + }, + { + "path": "blueprints/Pose to Image (Z-Image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "92ee809073e808be0ed8179a966dc8c1ac4f5faf", + "size": 34128, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/92ee809073e808be0ed8179a966dc8c1ac4f5faf" + }, + { + "path": "blueprints/Pose to Video (LTX 2.0).json", + "mode": "100644", + "type": "blob", + "sha": "04eb69972184e3038d2697627e3d3a70aa1041c7", + "size": 103279, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/04eb69972184e3038d2697627e3d3a70aa1041c7" + }, + { + "path": "blueprints/Prompt Enhance.json", + "mode": "100644", + "type": "blob", + "sha": "e3a77a73b74a49b09bd9d659d5756c6f4120a8a4", + "size": 6692, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e3a77a73b74a49b09bd9d659d5756c6f4120a8a4" + }, + { + "path": "blueprints/Remove Background (BiRefNet).json", + "mode": "100644", + "type": "blob", + "sha": "9ec441e51d811693ab78befa2d73f0c7bdb3ac75", + "size": 9659, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9ec441e51d811693ab78befa2d73f0c7bdb3ac75" + }, + { + "path": "blueprints/Select Per-Line Text by Index.json", + "mode": "100644", + "type": "blob", + "sha": "8a4020d509bbe3933c276e919abe008c70664035", + "size": 11824, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8a4020d509bbe3933c276e919abe008c70664035" + }, + { + "path": "blueprints/Sharpen.json", + "mode": "100644", + "type": "blob", + "sha": "3c4099c6b2e0fb8926adbe3cda0bd5cf6050cbc3", + "size": 8427, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3c4099c6b2e0fb8926adbe3cda0bd5cf6050cbc3" + }, + { + "path": "blueprints/Split Image Grid to Tiles.json", + "mode": "100644", + "type": "blob", + "sha": "d1f6e40ef642f09fb6dd299afe235667119853c7", + "size": 18393, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d1f6e40ef642f09fb6dd299afe235667119853c7" + }, + { + "path": "blueprints/Text to Audio (ACE-Step 1.5).json", + "mode": "100644", + "type": "blob", + "sha": "5b8b8626f2f6d9326ade3c4212e267d47c0f70c7", + "size": 38594, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5b8b8626f2f6d9326ade3c4212e267d47c0f70c7" + }, + { + "path": "blueprints/Text to Image (Anima).json", + "mode": "100644", + "type": "blob", + "sha": "787908ca9344c2ff156d415b0f352260fde6d048", + "size": 26942, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/787908ca9344c2ff156d415b0f352260fde6d048" + }, + { + "path": "blueprints/Text to Image (Ernie Image Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "4ecdd188396a90f0acca86b271c66623412a5565", + "size": 55939, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ecdd188396a90f0acca86b271c66623412a5565" + }, + { + "path": "blueprints/Text to Image (Ernie Image).json", + "mode": "100644", + "type": "blob", + "sha": "2bab20d69ab9439114f78050257e448931155481", + "size": 57610, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2bab20d69ab9439114f78050257e448931155481" + }, + { + "path": "blueprints/Text to Image (Flux.1 Dev).json", + "mode": "100644", + "type": "blob", + "sha": "6d8446e813ff8d7e55fd329a4d794171dc57af88", + "size": 25903, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6d8446e813ff8d7e55fd329a4d794171dc57af88" + }, + { + "path": "blueprints/Text to Image (Flux.1 Krea Dev).json", + "mode": "100644", + "type": "blob", + "sha": "0d7fa03c4f7788e62a37cef9856f0172d116d396", + "size": 25918, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d7fa03c4f7788e62a37cef9856f0172d116d396" + }, + { + "path": "blueprints/Text to Image (Flux.2 Dev).json", + "mode": "100644", + "type": "blob", + "sha": "d5ca3077de172e2022808fd512230f0d73999ec1", + "size": 48813, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d5ca3077de172e2022808fd512230f0d73999ec1" + }, + { + "path": "blueprints/Text to Image (NetaYume Lumina).json", + "mode": "100644", + "type": "blob", + "sha": "9e11b7a86a955cd15f12488437ec15967171a73e", + "size": 37985, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9e11b7a86a955cd15f12488437ec15967171a73e" + }, + { + "path": "blueprints/Text to Image (Qwen-Image 2512).json", + "mode": "100644", + "type": "blob", + "sha": "09612be8be721ccafb6b99c1484486f9bff90df8", + "size": 51548, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/09612be8be721ccafb6b99c1484486f9bff90df8" + }, + { + "path": "blueprints/Text to Image (Qwen-Image).json", + "mode": "100644", + "type": "blob", + "sha": "e78d5a96229816e19507198c9817249cbcab4978", + "size": 48361, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e78d5a96229816e19507198c9817249cbcab4978" + }, + { + "path": "blueprints/Text to Image (Z-Image-Base).json", + "mode": "100644", + "type": "blob", + "sha": "169263712d7bbbea1eb0cc66606df8aa9c5b1e09", + "size": 29500, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/169263712d7bbbea1eb0cc66606df8aa9c5b1e09" + }, + { + "path": "blueprints/Text to Image (Z-Image-Turbo).json", + "mode": "100644", + "type": "blob", + "sha": "2501486fa9b7ccb0c63faf8ea565249810870060", + "size": 27713, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2501486fa9b7ccb0c63faf8ea565249810870060" + }, + { + "path": "blueprints/Text to Image.json", + "mode": "100644", + "type": "blob", + "sha": "ffe3682fff69a95284ab344f9e87a37d576e76fc", + "size": 28761, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ffe3682fff69a95284ab344f9e87a37d576e76fc" + }, + { + "path": "blueprints/Text to Video (LTX-2.3).json", + "mode": "100644", + "type": "blob", + "sha": "f44a216dd3cdc8d81008f393ba1a15da8f693334", + "size": 114448, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f44a216dd3cdc8d81008f393ba1a15da8f693334" + }, + { + "path": "blueprints/Text to Video (Wan 2.2).json", + "mode": "100644", + "type": "blob", + "sha": "a264a490ddc7552edbda5a58a582f992216db673", + "size": 44740, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a264a490ddc7552edbda5a58a582f992216db673" + }, + { + "path": "blueprints/Unsharp Mask.json", + "mode": "100644", + "type": "blob", + "sha": "79a4c954fedd1dbffee3d6122147671386304e2a", + "size": 12672, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/79a4c954fedd1dbffee3d6122147671386304e2a" + }, + { + "path": "blueprints/Video Captioning (Gemini).json", + "mode": "100644", + "type": "blob", + "sha": "54a7d6e781dbd9dc90e8b91a3226f3de8123ab5c", + "size": 11008, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/54a7d6e781dbd9dc90e8b91a3226f3de8123ab5c" + }, + { + "path": "blueprints/Video Depth Estimation (MoGe).json", + "mode": "100644", + "type": "blob", + "sha": "025e20cda42ab52f418ef1acc4c3e0128d32c8c5", + "size": 31524, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/025e20cda42ab52f418ef1acc4c3e0128d32c8c5" + }, + { + "path": "blueprints/Video Face Detection (Mediapipe).json", + "mode": "100644", + "type": "blob", + "sha": "c70352481fee995c55ff043a1f366ff55a591904", + "size": 28158, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c70352481fee995c55ff043a1f366ff55a591904" + }, + { + "path": "blueprints/Video Inpaint (VOID).json", + "mode": "100644", + "type": "blob", + "sha": "a7cc806b55dedee1712ebc2eda8938b4667ef4f6", + "size": 112980, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a7cc806b55dedee1712ebc2eda8938b4667ef4f6" + }, + { + "path": "blueprints/Video Inpainting (Wan2.1 VACE).json", + "mode": "100644", + "type": "blob", + "sha": "7460f3d44a819a56f1a05f3a62ff73c090c72abd", + "size": 109322, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7460f3d44a819a56f1a05f3a62ff73c090c72abd" + }, + { + "path": "blueprints/Video Segmentation (SAM3).json", + "mode": "100644", + "type": "blob", + "sha": "4c7253869bac4b10b6121cea9f7b56ca3716a4a6", + "size": 20772, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4c7253869bac4b10b6121cea9f7b56ca3716a4a6" + }, + { + "path": "blueprints/Video Stitch.json", + "mode": "100644", + "type": "blob", + "sha": "2ac78b3284c3d41b0206f8dae17b795aea60295f", + "size": 22207, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ac78b3284c3d41b0206f8dae17b795aea60295f" + }, + { + "path": "blueprints/Video Upscale(GAN x4).json", + "mode": "100644", + "type": "blob", + "sha": "fc291ac41d287c9bc5045acbc66ad61497d15a8e", + "size": 10022, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fc291ac41d287c9bc5045acbc66ad61497d15a8e" + }, + { + "path": "blueprints/Video to Pose Map (SDPose Multi-Person).json", + "mode": "100644", + "type": "blob", + "sha": "64ef6e5247574576faee595e34574732be0aa133", + "size": 33283, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/64ef6e5247574576faee595e34574732be0aa133" + }, + { + "path": "blueprints/put_blueprints_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy", + "mode": "040000", + "type": "tree", + "sha": "a0c91a6d3ae756ddc681326715de3a5480307b73", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a0c91a6d3ae756ddc681326715de3a5480307b73" + }, + { + "path": "comfy/audio_encoders", + "mode": "040000", + "type": "tree", + "sha": "7d43c3c2a058cd5792fc344f7b044f88dff871e5", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7d43c3c2a058cd5792fc344f7b044f88dff871e5" + }, + { + "path": "comfy/audio_encoders/audio_encoders.py", + "mode": "100644", + "type": "blob", + "sha": "0de7584b0483c5cc8ab050bf1d40daae2e6a17d5", + "size": 3489, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0de7584b0483c5cc8ab050bf1d40daae2e6a17d5" + }, + { + "path": "comfy/audio_encoders/wav2vec2.py", + "mode": "100644", + "type": "blob", + "sha": "4e34a40a7f38b56a31a4512dea4c013a3b1c7843", + "size": 10639, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4e34a40a7f38b56a31a4512dea4c013a3b1c7843" + }, + { + "path": "comfy/audio_encoders/whisper.py", + "mode": "100755", + "type": "blob", + "sha": "93d3782f14b5256d4d1bdfc443c12c4720a6b224", + "size": 5953, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/93d3782f14b5256d4d1bdfc443c12c4720a6b224" + }, + { + "path": "comfy/background_removal", + "mode": "040000", + "type": "tree", + "sha": "5aea13194bf1e63b36cbcdb587acdf2604d5957c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5aea13194bf1e63b36cbcdb587acdf2604d5957c" + }, + { + "path": "comfy/background_removal/birefnet.json", + "mode": "100644", + "type": "blob", + "sha": "f0960af393a958a88d30f37196e289ad51e96854", + "size": 158, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f0960af393a958a88d30f37196e289ad51e96854" + }, + { + "path": "comfy/background_removal/birefnet.py", + "mode": "100644", + "type": "blob", + "sha": "78a80246ea8c9ad6dd19b33730a376b184815336", + "size": 29672, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/78a80246ea8c9ad6dd19b33730a376b184815336" + }, + { + "path": "comfy/bg_removal_model.py", + "mode": "100644", + "type": "blob", + "sha": "c772c5f6a69ae49a3646cae6d23e60e93183662e", + "size": 3012, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c772c5f6a69ae49a3646cae6d23e60e93183662e" + }, + { + "path": "comfy/cldm", + "mode": "040000", + "type": "tree", + "sha": "e96c664886fe8e74a4e69af1b2b57221267c953c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e96c664886fe8e74a4e69af1b2b57221267c953c" + }, + { + "path": "comfy/cldm/cldm.py", + "mode": "100644", + "type": "blob", + "sha": "c93c2e909c2869bbb9120b739954045ee2997994", + "size": 19828, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c93c2e909c2869bbb9120b739954045ee2997994" + }, + { + "path": "comfy/cldm/control_types.py", + "mode": "100644", + "type": "blob", + "sha": "4128631a305a13d65c3c37ced17179d23fbbdcff", + "size": 207, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4128631a305a13d65c3c37ced17179d23fbbdcff" + }, + { + "path": "comfy/cldm/dit_embedder.py", + "mode": "100644", + "type": "blob", + "sha": "f9bf31012b1319e929cab381c9a3b32be62fc589", + "size": 4204, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f9bf31012b1319e929cab381c9a3b32be62fc589" + }, + { + "path": "comfy/cldm/mmdit.py", + "mode": "100644", + "type": "blob", + "sha": "b7764085e9431259d43701654af897effe0799da", + "size": 2555, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b7764085e9431259d43701654af897effe0799da" + }, + { + "path": "comfy/cli_args.py", + "mode": "100644", + "type": "blob", + "sha": "e3099a230e1f89a8d8503ab9363b55ead57e24e7", + "size": 19522, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e3099a230e1f89a8d8503ab9363b55ead57e24e7" + }, + { + "path": "comfy/clip_config_bigg.json", + "mode": "100644", + "type": "blob", + "sha": "35261deef14a68fcc6c5b1fc32914b5c102781a9", + "size": 524, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/35261deef14a68fcc6c5b1fc32914b5c102781a9" + }, + { + "path": "comfy/clip_model.py", + "mode": "100644", + "type": "blob", + "sha": "d7d3f994c4db5b7e00692e312ea5bc26d2b08d43", + "size": 16257, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d7d3f994c4db5b7e00692e312ea5bc26d2b08d43" + }, + { + "path": "comfy/clip_vision.py", + "mode": "100644", + "type": "blob", + "sha": "ce8924a11ef4c20688780a6f28b919dc99f06530", + "size": 8051, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ce8924a11ef4c20688780a6f28b919dc99f06530" + }, + { + "path": "comfy/clip_vision_config_g.json", + "mode": "100644", + "type": "blob", + "sha": "708e7e21ac3513a719d6a49e88e756f5ef7e2c8d", + "size": 419, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/708e7e21ac3513a719d6a49e88e756f5ef7e2c8d" + }, + { + "path": "comfy/clip_vision_config_h.json", + "mode": "100644", + "type": "blob", + "sha": "bb71be419a4be0ad5c8c157850de032a65593cb9", + "size": 419, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bb71be419a4be0ad5c8c157850de032a65593cb9" + }, + { + "path": "comfy/clip_vision_config_vitl.json", + "mode": "100644", + "type": "blob", + "sha": "c59b8ed5a4c1f41fbcc9e6811d2c7dfe44273de7", + "size": 424, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c59b8ed5a4c1f41fbcc9e6811d2c7dfe44273de7" + }, + { + "path": "comfy/clip_vision_config_vitl_336.json", + "mode": "100644", + "type": "blob", + "sha": "f26945273d99e88f207d64dcec78feee63b4b625", + "size": 423, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f26945273d99e88f207d64dcec78feee63b4b625" + }, + { + "path": "comfy/clip_vision_config_vitl_336_llava.json", + "mode": "100644", + "type": "blob", + "sha": "f23a50d8b77fa29de2af621fb50c5825cf9b1a86", + "size": 453, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f23a50d8b77fa29de2af621fb50c5825cf9b1a86" + }, + { + "path": "comfy/clip_vision_siglip2_base_naflex.json", + "mode": "100644", + "type": "blob", + "sha": "6f6b99bd68354ce15293ff2c794602a1e36467c5", + "size": 336, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6f6b99bd68354ce15293ff2c794602a1e36467c5" + }, + { + "path": "comfy/clip_vision_siglip_384.json", + "mode": "100644", + "type": "blob", + "sha": "532e03ac181d8849a7202445d42565f01441177b", + "size": 314, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/532e03ac181d8849a7202445d42565f01441177b" + }, + { + "path": "comfy/clip_vision_siglip_512.json", + "mode": "100644", + "type": "blob", + "sha": "7fb93ce15e6da3ce7653a7a91ab278d707a096b4", + "size": 314, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7fb93ce15e6da3ce7653a7a91ab278d707a096b4" + }, + { + "path": "comfy/comfy_types", + "mode": "040000", + "type": "tree", + "sha": "0edd62e196e274f0edb21adfb35491a94aadf3f8", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0edd62e196e274f0edb21adfb35491a94aadf3f8" + }, + { + "path": "comfy/comfy_types/README.md", + "mode": "100644", + "type": "blob", + "sha": "20a786a5eac805a0b3f41c4fa42be558819b89c8", + "size": 1350, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/20a786a5eac805a0b3f41c4fa42be558819b89c8" + }, + { + "path": "comfy/comfy_types/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "7640fbe3f827bdaac2384e0dcc96d243ec257f2f", + "size": 1251, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7640fbe3f827bdaac2384e0dcc96d243ec257f2f" + }, + { + "path": "comfy/comfy_types/examples", + "mode": "040000", + "type": "tree", + "sha": "c26fa0b29368af8d530f7bc9dab14a7d71697044", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/c26fa0b29368af8d530f7bc9dab14a7d71697044" + }, + { + "path": "comfy/comfy_types/examples/example_nodes.py", + "mode": "100644", + "type": "blob", + "sha": "6e19c545153db36b2c2e7481e5c8bc96ccbbe1f1", + "size": 781, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6e19c545153db36b2c2e7481e5c8bc96ccbbe1f1" + }, + { + "path": "comfy/comfy_types/examples/input_options.png", + "mode": "100644", + "type": "blob", + "sha": "ac859bbc0c15728e6f5464f9388f44d5e38dd650", + "size": 19341, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ac859bbc0c15728e6f5464f9388f44d5e38dd650" + }, + { + "path": "comfy/comfy_types/examples/input_types.png", + "mode": "100644", + "type": "blob", + "sha": "27e031ccf9c32958da0d41164b567e252c1b0c5c", + "size": 16809, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/27e031ccf9c32958da0d41164b567e252c1b0c5c" + }, + { + "path": "comfy/comfy_types/examples/required_hint.png", + "mode": "100644", + "type": "blob", + "sha": "22c0182a0aed3245201f2ffac86a6d3ad5b7e2ea", + "size": 19286, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/22c0182a0aed3245201f2ffac86a6d3ad5b7e2ea" + }, + { + "path": "comfy/comfy_types/node_typing.py", + "mode": "100644", + "type": "blob", + "sha": "bb21eb1d1eafa696b76a453ade4a11a3b90399a2", + "size": 15221, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bb21eb1d1eafa696b76a453ade4a11a3b90399a2" + }, + { + "path": "comfy/conds.py", + "mode": "100644", + "type": "blob", + "sha": "55d8cdd784234ef6a4319231ae16f7fe3d524cb8", + "size": 4522, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/55d8cdd784234ef6a4319231ae16f7fe3d524cb8" + }, + { + "path": "comfy/context_windows.py", + "mode": "100644", + "type": "blob", + "sha": "db57537a214290d81a4808c115163d6ee82c60cc", + "size": 35218, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/db57537a214290d81a4808c115163d6ee82c60cc" + }, + { + "path": "comfy/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "6dbbaa959fdcaefc92cb8acedc910768f483ea6b", + "size": 46991, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6dbbaa959fdcaefc92cb8acedc910768f483ea6b" + }, + { + "path": "comfy/deploy_environment.py", + "mode": "100644", + "type": "blob", + "sha": "8c99a3584ef19af30c3bf556229843155fc27f07", + "size": 1233, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c99a3584ef19af30c3bf556229843155fc27f07" + }, + { + "path": "comfy/diffusers_convert.py", + "mode": "100644", + "type": "blob", + "sha": "fb9495348704c4f58b537f524ff6194d572d9fad", + "size": 6796, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fb9495348704c4f58b537f524ff6194d572d9fad" + }, + { + "path": "comfy/diffusers_load.py", + "mode": "100644", + "type": "blob", + "sha": "56e63a7565f083eb4e3bc484a3a9f90103306a2f", + "size": 1437, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/56e63a7565f083eb4e3bc484a3a9f90103306a2f" + }, + { + "path": "comfy/extra_samplers", + "mode": "040000", + "type": "tree", + "sha": "27bd35de93053231f1fbae018fed273d9da52119", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/27bd35de93053231f1fbae018fed273d9da52119" + }, + { + "path": "comfy/extra_samplers/uni_pc.py", + "mode": "100644", + "type": "blob", + "sha": "c57e081e45cfaa694e3e78528798f62a4698c056", + "size": 38202, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c57e081e45cfaa694e3e78528798f62a4698c056" + }, + { + "path": "comfy/float.py", + "mode": "100644", + "type": "blob", + "sha": "3c82d635908f75d2a4afcb91ce7f6997f65c15e4", + "size": 9897, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3c82d635908f75d2a4afcb91ce7f6997f65c15e4" + }, + { + "path": "comfy/gligen.py", + "mode": "100644", + "type": "blob", + "sha": "1d7b6c2f4cd1009ac3c52bc5f68442a91b417048", + "size": 10800, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1d7b6c2f4cd1009ac3c52bc5f68442a91b417048" + }, + { + "path": "comfy/hooks.py", + "mode": "100644", + "type": "blob", + "sha": "5458fc3d8ea9a0caf4510e2036f3e1b7868d36cf", + "size": 32753, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5458fc3d8ea9a0caf4510e2036f3e1b7868d36cf" + }, + { + "path": "comfy/image_encoders", + "mode": "040000", + "type": "tree", + "sha": "9eb2f5b305cc0e45a7b32e78db114757dffe21fb", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/9eb2f5b305cc0e45a7b32e78db114757dffe21fb" + }, + { + "path": "comfy/image_encoders/dino2.py", + "mode": "100644", + "type": "blob", + "sha": "53e4fdb6c3a3b373c094fda866aca07a091155e2", + "size": 23172, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/53e4fdb6c3a3b373c094fda866aca07a091155e2" + }, + { + "path": "comfy/image_encoders/dino2_giant.json", + "mode": "100644", + "type": "blob", + "sha": "f6076a4dc98dfee6c200294397bfdfe3d2c688e1", + "size": 512, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f6076a4dc98dfee6c200294397bfdfe3d2c688e1" + }, + { + "path": "comfy/image_encoders/dino2_large.json", + "mode": "100644", + "type": "blob", + "sha": "43fbb58ffb4f2120f5259b6bf12c9257a047d360", + "size": 538, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/43fbb58ffb4f2120f5259b6bf12c9257a047d360" + }, + { + "path": "comfy/image_encoders/dino3.py", + "mode": "100644", + "type": "blob", + "sha": "ad29b06f839de2b3350e306eac5d381256aaa41a", + "size": 12324, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ad29b06f839de2b3350e306eac5d381256aaa41a" + }, + { + "path": "comfy/k_diffusion", + "mode": "040000", + "type": "tree", + "sha": "e3cf51224aa656c55456a5a4b1b3907390dd9cb0", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e3cf51224aa656c55456a5a4b1b3907390dd9cb0" + }, + { + "path": "comfy/k_diffusion/deis.py", + "mode": "100644", + "type": "blob", + "sha": "a1167a4a36c42b22168ea8b3d80b1d83b2505db5", + "size": 5799, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a1167a4a36c42b22168ea8b3d80b1d83b2505db5" + }, + { + "path": "comfy/k_diffusion/sa_solver.py", + "mode": "100644", + "type": "blob", + "sha": "0c6821b605d4b44ac81414f2c635e28ce5d9feb5", + "size": 5622, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0c6821b605d4b44ac81414f2c635e28ce5d9feb5" + }, + { + "path": "comfy/k_diffusion/sampling.py", + "mode": "100644", + "type": "blob", + "sha": "11db46d94c9b7aef4bcb67e62e6e3eab94e0e36f", + "size": 89348, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/11db46d94c9b7aef4bcb67e62e6e3eab94e0e36f" + }, + { + "path": "comfy/k_diffusion/utils.py", + "mode": "100644", + "type": "blob", + "sha": "a644df2f3cf82b32ac6e9bf2cb7bfc70c95e05f9", + "size": 12718, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a644df2f3cf82b32ac6e9bf2cb7bfc70c95e05f9" + }, + { + "path": "comfy/latent_formats.py", + "mode": "100644", + "type": "blob", + "sha": "bbdfd4bc2faccc899f7311ffa0f9f156bfb0b257", + "size": 32402, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bbdfd4bc2faccc899f7311ffa0f9f156bfb0b257" + }, + { + "path": "comfy/ldm", + "mode": "040000", + "type": "tree", + "sha": "8dda9831180d61d89974e07f73bbe43f3ce4617e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8dda9831180d61d89974e07f73bbe43f3ce4617e" + }, + { + "path": "comfy/ldm/ace", + "mode": "040000", + "type": "tree", + "sha": "81123d5cbb5c1a1f6edc719a6deddcdd4257f477", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/81123d5cbb5c1a1f6edc719a6deddcdd4257f477" + }, + { + "path": "comfy/ldm/ace/ace_step15.py", + "mode": "100644", + "type": "blob", + "sha": "2ca2d26c4610899866967e8356f310a369e2cc3c", + "size": 47174, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ca2d26c4610899866967e8356f310a369e2cc3c" + }, + { + "path": "comfy/ldm/ace/attention.py", + "mode": "100644", + "type": "blob", + "sha": "670eb9783385b818a5ea3e435df222a6767c8515", + "size": 30473, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/670eb9783385b818a5ea3e435df222a6767c8515" + }, + { + "path": "comfy/ldm/ace/lyric_encoder.py", + "mode": "100644", + "type": "blob", + "sha": "ff4359b26e8d27591d6fa59d6d931ab13596efe1", + "size": 43155, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ff4359b26e8d27591d6fa59d6d931ab13596efe1" + }, + { + "path": "comfy/ldm/ace/model.py", + "mode": "100644", + "type": "blob", + "sha": "3993298539becb28f980263b7dd9a57691dd65a0", + "size": 17216, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3993298539becb28f980263b7dd9a57691dd65a0" + }, + { + "path": "comfy/ldm/ace/vae", + "mode": "040000", + "type": "tree", + "sha": "fcd3ac3b6a1b1aef2fcf0c53f87a9409a9e5b263", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/fcd3ac3b6a1b1aef2fcf0c53f87a9409a9e5b263" + }, + { + "path": "comfy/ldm/ace/vae/autoencoder_dc.py", + "mode": "100644", + "type": "blob", + "sha": "e7b1d4801e7b3f47f29cb90f41adff4d415868cd", + "size": 22909, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e7b1d4801e7b3f47f29cb90f41adff4d415868cd" + }, + { + "path": "comfy/ldm/ace/vae/music_dcae_pipeline.py", + "mode": "100644", + "type": "blob", + "sha": "3c8830c176f7543a661bb25913424ea2c8f52f74", + "size": 3622, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3c8830c176f7543a661bb25913424ea2c8f52f74" + }, + { + "path": "comfy/ldm/ace/vae/music_log_mel.py", + "mode": "100755", + "type": "blob", + "sha": "9c584eb7fa75ffaab1c3a42184ea75171b2a1d8f", + "size": 3090, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9c584eb7fa75ffaab1c3a42184ea75171b2a1d8f" + }, + { + "path": "comfy/ldm/ace/vae/music_vocoder.py", + "mode": "100755", + "type": "blob", + "sha": "2f989fa86e8c964994886c6a22ed53e742279ec4", + "size": 18149, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2f989fa86e8c964994886c6a22ed53e742279ec4" + }, + { + "path": "comfy/ldm/anima", + "mode": "040000", + "type": "tree", + "sha": "13a74476fde28052df614e3f28a29d66ed22361f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/13a74476fde28052df614e3f28a29d66ed22361f" + }, + { + "path": "comfy/ldm/anima/model.py", + "mode": "100644", + "type": "blob", + "sha": "6fcf8df9024cfe1a44911a5597ef9b10e0fb3ac9", + "size": 9793, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6fcf8df9024cfe1a44911a5597ef9b10e0fb3ac9" + }, + { + "path": "comfy/ldm/audio", + "mode": "040000", + "type": "tree", + "sha": "f0d80b05014a56314fbdc2432882d4c6204a203b", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f0d80b05014a56314fbdc2432882d4c6204a203b" + }, + { + "path": "comfy/ldm/audio/autoencoder.py", + "mode": "100644", + "type": "blob", + "sha": "78ed6ffa63ab9fca66ba009709bb262a18830dcd", + "size": 9969, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/78ed6ffa63ab9fca66ba009709bb262a18830dcd" + }, + { + "path": "comfy/ldm/audio/dit.py", + "mode": "100644", + "type": "blob", + "sha": "c28be5b490dc9cd2cc4166d213d74129e52ecb5f", + "size": 39484, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c28be5b490dc9cd2cc4166d213d74129e52ecb5f" + }, + { + "path": "comfy/ldm/audio/embedders.py", + "mode": "100644", + "type": "blob", + "sha": "ba9a6283754628f467b222020e073f82f70db7cb", + "size": 4519, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ba9a6283754628f467b222020e073f82f70db7cb" + }, + { + "path": "comfy/ldm/audio/vae_sa3.py", + "mode": "100644", + "type": "blob", + "sha": "8be36d6eeff027953dc57f391ff3b64c0f9336d6", + "size": 21879, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8be36d6eeff027953dc57f391ff3b64c0f9336d6" + }, + { + "path": "comfy/ldm/aura", + "mode": "040000", + "type": "tree", + "sha": "0d3b541fd0cf2642db1a59b5138619d51635f2b0", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0d3b541fd0cf2642db1a59b5138619d51635f2b0" + }, + { + "path": "comfy/ldm/aura/mmdit.py", + "mode": "100644", + "type": "blob", + "sha": "66d9613b61de36e324a2a08b05b07f58c25e35ad", + "size": 20461, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/66d9613b61de36e324a2a08b05b07f58c25e35ad" + }, + { + "path": "comfy/ldm/cascade", + "mode": "040000", + "type": "tree", + "sha": "3f2edacfed2b9b1073ab3592fa13ac552084f31c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/3f2edacfed2b9b1073ab3592fa13ac552084f31c" + }, + { + "path": "comfy/ldm/cascade/common.py", + "mode": "100644", + "type": "blob", + "sha": "42ef98c7a78cb1b652433ae7c92b189353e2fad6", + "size": 6786, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/42ef98c7a78cb1b652433ae7c92b189353e2fad6" + }, + { + "path": "comfy/ldm/cascade/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "90473481a078323be11e2c5530de378b1ac6425c", + "size": 4304, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/90473481a078323be11e2c5530de378b1ac6425c" + }, + { + "path": "comfy/ldm/cascade/stage_a.py", + "mode": "100644", + "type": "blob", + "sha": "e4e30cacdbed8c9222a1f10093fc8df48df6ac10", + "size": 9705, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e4e30cacdbed8c9222a1f10093fc8df48df6ac10" + }, + { + "path": "comfy/ldm/cascade/stage_b.py", + "mode": "100644", + "type": "blob", + "sha": "428c67fdf621d0af3c1bc52769c915e2ff0129c3", + "size": 14263, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/428c67fdf621d0af3c1bc52769c915e2ff0129c3" + }, + { + "path": "comfy/ldm/cascade/stage_c.py", + "mode": "100644", + "type": "blob", + "sha": "ebc4434e2bf1b5d7839f0003f5c6036429e7f9dd", + "size": 15204, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ebc4434e2bf1b5d7839f0003f5c6036429e7f9dd" + }, + { + "path": "comfy/ldm/cascade/stage_c_coder.py", + "mode": "100644", + "type": "blob", + "sha": "b467a70a848edeef57d7911ac844868b251f8e45", + "size": 3501, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b467a70a848edeef57d7911ac844868b251f8e45" + }, + { + "path": "comfy/ldm/chroma", + "mode": "040000", + "type": "tree", + "sha": "5ad863c469067623b8f6d375ddbb73161db4e325", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5ad863c469067623b8f6d375ddbb73161db4e325" + }, + { + "path": "comfy/ldm/chroma/layers.py", + "mode": "100644", + "type": "blob", + "sha": "df348a8ed8a9229dbccf3dd7e292eb0e4197118f", + "size": 2271, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/df348a8ed8a9229dbccf3dd7e292eb0e4197118f" + }, + { + "path": "comfy/ldm/chroma/model.py", + "mode": "100644", + "type": "blob", + "sha": "9fd865f20d2d0d973d9f7796d604dd450b3569c4", + "size": 13282, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9fd865f20d2d0d973d9f7796d604dd450b3569c4" + }, + { + "path": "comfy/ldm/chroma_radiance", + "mode": "040000", + "type": "tree", + "sha": "5c26c4f21c16ec9950908a7b5edf57965ef08ae8", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5c26c4f21c16ec9950908a7b5edf57965ef08ae8" + }, + { + "path": "comfy/ldm/chroma_radiance/layers.py", + "mode": "100644", + "type": "blob", + "sha": "08d31e0bac29164ed6055408af2e25194dae42af", + "size": 8597, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/08d31e0bac29164ed6055408af2e25194dae42af" + }, + { + "path": "comfy/ldm/chroma_radiance/model.py", + "mode": "100644", + "type": "blob", + "sha": "86af98d3610034fa8e64379c933db42072bb5603", + "size": 13191, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/86af98d3610034fa8e64379c933db42072bb5603" + }, + { + "path": "comfy/ldm/cogvideo", + "mode": "040000", + "type": "tree", + "sha": "f99522fc8bce2a743550f2fcc6b5164344fbb2c9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f99522fc8bce2a743550f2fcc6b5164344fbb2c9" + }, + { + "path": "comfy/ldm/cogvideo/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/cogvideo/model.py", + "mode": "100644", + "type": "blob", + "sha": "fb475ed53862d94b7cde767a95c6f995e439da49", + "size": 26761, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fb475ed53862d94b7cde767a95c6f995e439da49" + }, + { + "path": "comfy/ldm/cogvideo/vae.py", + "mode": "100644", + "type": "blob", + "sha": "d4e6f321e32b91989df6a556049e24c20e58860d", + "size": 24518, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d4e6f321e32b91989df6a556049e24c20e58860d" + }, + { + "path": "comfy/ldm/colormap.py", + "mode": "100644", + "type": "blob", + "sha": "1f4d88bd91fd0c56f3eb349c568b8056722236d0", + "size": 848, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1f4d88bd91fd0c56f3eb349c568b8056722236d0" + }, + { + "path": "comfy/ldm/common_dit.py", + "mode": "100644", + "type": "blob", + "sha": "f7f56b72ca6fcd3ba2831b8881a7124d84490bee", + "size": 474, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7f56b72ca6fcd3ba2831b8881a7124d84490bee" + }, + { + "path": "comfy/ldm/cosmos", + "mode": "040000", + "type": "tree", + "sha": "7050fb5f7f75b5e9f52e7582fc22879e3f667787", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7050fb5f7f75b5e9f52e7582fc22879e3f667787" + }, + { + "path": "comfy/ldm/cosmos/blocks.py", + "mode": "100644", + "type": "blob", + "sha": "afb43d469daed3fcd224fca8f163fa830d9441d3", + "size": 31086, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/afb43d469daed3fcd224fca8f163fa830d9441d3" + }, + { + "path": "comfy/ldm/cosmos/cosmos_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "9854c93a3374050452c33082b0a666697adcb303", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/9854c93a3374050452c33082b0a666697adcb303" + }, + { + "path": "comfy/ldm/cosmos/cosmos_tokenizer/layers3d.py", + "mode": "100644", + "type": "blob", + "sha": "9a3ebed6aa5362c79aff91c088cce8ba7b6f3141", + "size": 33866, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9a3ebed6aa5362c79aff91c088cce8ba7b6f3141" + }, + { + "path": "comfy/ldm/cosmos/cosmos_tokenizer/patching.py", + "mode": "100644", + "type": "blob", + "sha": "87a53a1d9f9ac4fa6bdbb1f8f682c298fdd4376c", + "size": 13796, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/87a53a1d9f9ac4fa6bdbb1f8f682c298fdd4376c" + }, + { + "path": "comfy/ldm/cosmos/cosmos_tokenizer/utils.py", + "mode": "100644", + "type": "blob", + "sha": "ca993006fc800db4cd016fe43e67ae7473ab1634", + "size": 3168, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ca993006fc800db4cd016fe43e67ae7473ab1634" + }, + { + "path": "comfy/ldm/cosmos/model.py", + "mode": "100644", + "type": "blob", + "sha": "52ef7ef4340ad0e0b8f06477981f08331399fa96", + "size": 24058, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/52ef7ef4340ad0e0b8f06477981f08331399fa96" + }, + { + "path": "comfy/ldm/cosmos/position_embedding.py", + "mode": "100644", + "type": "blob", + "sha": "c925811d4c2275699a030ef8bbcb299a65918754", + "size": 8929, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c925811d4c2275699a030ef8bbcb299a65918754" + }, + { + "path": "comfy/ldm/cosmos/predict2.py", + "mode": "100644", + "type": "blob", + "sha": "671fe834db38754ab72bb5c9c7c38516d80340ad", + "size": 39418, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/671fe834db38754ab72bb5c9c7c38516d80340ad" + }, + { + "path": "comfy/ldm/cosmos/vae.py", + "mode": "100644", + "type": "blob", + "sha": "d64f292de735258f43c07099bee03e3c871e9a26", + "size": 4985, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d64f292de735258f43c07099bee03e3c871e9a26" + }, + { + "path": "comfy/ldm/depth_anything_3", + "mode": "040000", + "type": "tree", + "sha": "29fa62e0e89a7817c7d4f3665a1f90994e97ef55", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/29fa62e0e89a7817c7d4f3665a1f90994e97ef55" + }, + { + "path": "comfy/ldm/depth_anything_3/camera.py", + "mode": "100644", + "type": "blob", + "sha": "65a57d66f36f01520cebaa2d731351ec84720347", + "size": 7458, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/65a57d66f36f01520cebaa2d731351ec84720347" + }, + { + "path": "comfy/ldm/depth_anything_3/dpt.py", + "mode": "100644", + "type": "blob", + "sha": "fb940873bcae35adcbc5609da3e02833c338fbf4", + "size": 22891, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fb940873bcae35adcbc5609da3e02833c338fbf4" + }, + { + "path": "comfy/ldm/depth_anything_3/model.py", + "mode": "100644", + "type": "blob", + "sha": "f3c8a5ee339c833bd778383403e4054fdc3bf1fd", + "size": 9254, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f3c8a5ee339c833bd778383403e4054fdc3bf1fd" + }, + { + "path": "comfy/ldm/depth_anything_3/preprocess.py", + "mode": "100644", + "type": "blob", + "sha": "2238bd0d6a4d498056271fb789016dd3eed583d2", + "size": 5100, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2238bd0d6a4d498056271fb789016dd3eed583d2" + }, + { + "path": "comfy/ldm/depth_anything_3/ray_pose.py", + "mode": "100644", + "type": "blob", + "sha": "90890f1da6ef068388194fb89c07dff9f07c847d", + "size": 11705, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/90890f1da6ef068388194fb89c07dff9f07c847d" + }, + { + "path": "comfy/ldm/depth_anything_3/reference_view_selector.py", + "mode": "100644", + "type": "blob", + "sha": "90f00be9287581462f825d55c1ba2b052be06247", + "size": 3557, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/90f00be9287581462f825d55c1ba2b052be06247" + }, + { + "path": "comfy/ldm/depth_anything_3/transform.py", + "mode": "100644", + "type": "blob", + "sha": "b735d7bec81c00e33b08f0e9f1dce23c7e585e9b", + "size": 6010, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b735d7bec81c00e33b08f0e9f1dce23c7e585e9b" + }, + { + "path": "comfy/ldm/ernie", + "mode": "040000", + "type": "tree", + "sha": "509a1c4576a57aca4ad5de35d27db98177fa6f5e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/509a1c4576a57aca4ad5de35d27db98177fa6f5e" + }, + { + "path": "comfy/ldm/ernie/model.py", + "mode": "100644", + "type": "blob", + "sha": "f158ca1d23ee8a23f5b63e7cafe1f8de37c39ae8", + "size": 12817, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f158ca1d23ee8a23f5b63e7cafe1f8de37c39ae8" + }, + { + "path": "comfy/ldm/flux", + "mode": "040000", + "type": "tree", + "sha": "251a656c9d34e8af9bd122cf6a9075ca202c9e6c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/251a656c9d34e8af9bd122cf6a9075ca202c9e6c" + }, + { + "path": "comfy/ldm/flux/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "7dcf82bbf3e8e9a369dda0df39f37f0653514747", + "size": 9227, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7dcf82bbf3e8e9a369dda0df39f37f0653514747" + }, + { + "path": "comfy/ldm/flux/layers.py", + "mode": "100644", + "type": "blob", + "sha": "e28d704b43522588dcf44e2c88adc80fd9a7db9f", + "size": 16070, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e28d704b43522588dcf44e2c88adc80fd9a7db9f" + }, + { + "path": "comfy/ldm/flux/math.py", + "mode": "100644", + "type": "blob", + "sha": "891dea7dd0f8f3df19390a338a3a63d9c7c16ca6", + "size": 2072, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/891dea7dd0f8f3df19390a338a3a63d9c7c16ca6" + }, + { + "path": "comfy/ldm/flux/model.py", + "mode": "100644", + "type": "blob", + "sha": "2020326c28d3c21a22fa12c37f9ef8d3c6bace5b", + "size": 18114, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2020326c28d3c21a22fa12c37f9ef8d3c6bace5b" + }, + { + "path": "comfy/ldm/flux/redux.py", + "mode": "100644", + "type": "blob", + "sha": "527e83164ea2fd1bdf7431f3791ebede00895051", + "size": 724, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/527e83164ea2fd1bdf7431f3791ebede00895051" + }, + { + "path": "comfy/ldm/genmo", + "mode": "040000", + "type": "tree", + "sha": "688b483a8559ee23fa97e3701f72db2d812e3b22", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/688b483a8559ee23fa97e3701f72db2d812e3b22" + }, + { + "path": "comfy/ldm/genmo/joint_model", + "mode": "040000", + "type": "tree", + "sha": "f2e03c74ebafdaa4d9b02cbd395417852d051f7c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f2e03c74ebafdaa4d9b02cbd395417852d051f7c" + }, + { + "path": "comfy/ldm/genmo/joint_model/asymm_models_joint.py", + "mode": "100644", + "type": "blob", + "sha": "5c1bb4d42330bdc76a6fc415f2283871fd4f730c", + "size": 19553, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5c1bb4d42330bdc76a6fc415f2283871fd4f730c" + }, + { + "path": "comfy/ldm/genmo/joint_model/layers.py", + "mode": "100644", + "type": "blob", + "sha": "e310bd717833b29e3730894370a55cd49802de93", + "size": 5053, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e310bd717833b29e3730894370a55cd49802de93" + }, + { + "path": "comfy/ldm/genmo/joint_model/rope_mixed.py", + "mode": "100644", + "type": "blob", + "sha": "dee3fa21f5318a610321fc9372553d618462f773", + "size": 2649, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dee3fa21f5318a610321fc9372553d618462f773" + }, + { + "path": "comfy/ldm/genmo/joint_model/temporal_rope.py", + "mode": "100644", + "type": "blob", + "sha": "88f5d6d26151db0c8ad0a89fcf748c45d4b89bc0", + "size": 1255, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/88f5d6d26151db0c8ad0a89fcf748c45d4b89bc0" + }, + { + "path": "comfy/ldm/genmo/joint_model/utils.py", + "mode": "100644", + "type": "blob", + "sha": "1b399d5d2128b7f5c7be141c3d8e7047df93b273", + "size": 3671, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1b399d5d2128b7f5c7be141c3d8e7047df93b273" + }, + { + "path": "comfy/ldm/genmo/vae", + "mode": "040000", + "type": "tree", + "sha": "3d9c703714421c77bd21d86c7426ab172e4217fc", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/3d9c703714421c77bd21d86c7426ab172e4217fc" + }, + { + "path": "comfy/ldm/genmo/vae/model.py", + "mode": "100644", + "type": "blob", + "sha": "1bde0c1ed7372be184e634777b9e27b67692b1f4", + "size": 22276, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1bde0c1ed7372be184e634777b9e27b67692b1f4" + }, + { + "path": "comfy/ldm/hidream", + "mode": "040000", + "type": "tree", + "sha": "7c9d43e82f40eb1564765f0d013ab5d26e4ef589", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7c9d43e82f40eb1564765f0d013ab5d26e4ef589" + }, + { + "path": "comfy/ldm/hidream/model.py", + "mode": "100644", + "type": "blob", + "sha": "28d81c79e55b2a57d670633733654b64d5700c07", + "size": 34966, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/28d81c79e55b2a57d670633733654b64d5700c07" + }, + { + "path": "comfy/ldm/hidream_o1", + "mode": "040000", + "type": "tree", + "sha": "fe2f5c9b660e3be076060ba774bb2e6da3b3ab0f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/fe2f5c9b660e3be076060ba774bb2e6da3b3ab0f" + }, + { + "path": "comfy/ldm/hidream_o1/attention.py", + "mode": "100644", + "type": "blob", + "sha": "1b68f17712b879aada917d637e057304e71c4846", + "size": 2026, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1b68f17712b879aada917d637e057304e71c4846" + }, + { + "path": "comfy/ldm/hidream_o1/conditioning.py", + "mode": "100644", + "type": "blob", + "sha": "7496f00356fdb3cade1151ec4d32efc109b9f43d", + "size": 9472, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7496f00356fdb3cade1151ec4d32efc109b9f43d" + }, + { + "path": "comfy/ldm/hidream_o1/model.py", + "mode": "100644", + "type": "blob", + "sha": "a223e706fa455d22b1b12d933c5e88baae0e2d92", + "size": 14346, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a223e706fa455d22b1b12d933c5e88baae0e2d92" + }, + { + "path": "comfy/ldm/hidream_o1/utils.py", + "mode": "100644", + "type": "blob", + "sha": "5a1249c7254956e6e8491abdf3144b73900b0726", + "size": 7357, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5a1249c7254956e6e8491abdf3144b73900b0726" + }, + { + "path": "comfy/ldm/hunyuan3d", + "mode": "040000", + "type": "tree", + "sha": "476fafde1e44d8352d223be9160a8b5e3c69aa62", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/476fafde1e44d8352d223be9160a8b5e3c69aa62" + }, + { + "path": "comfy/ldm/hunyuan3d/model.py", + "mode": "100644", + "type": "blob", + "sha": "4991b164531e1b095f748f2aa5cdb06a59542fc2", + "size": 6453, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4991b164531e1b095f748f2aa5cdb06a59542fc2" + }, + { + "path": "comfy/ldm/hunyuan3d/vae.py", + "mode": "100644", + "type": "blob", + "sha": "76094482700f8b2fbd8379323640b4ed7fe0a01a", + "size": 36006, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/76094482700f8b2fbd8379323640b4ed7fe0a01a" + }, + { + "path": "comfy/ldm/hunyuan3dv2_1", + "mode": "040000", + "type": "tree", + "sha": "d564d6308a698bd00157bd329f6d014e481592fc", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d564d6308a698bd00157bd329f6d014e481592fc" + }, + { + "path": "comfy/ldm/hunyuan3dv2_1/hunyuandit.py", + "mode": "100644", + "type": "blob", + "sha": "4e4819fe3dc427208ad3e325cbd1409a7dec7e1f", + "size": 23509, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4e4819fe3dc427208ad3e325cbd1409a7dec7e1f" + }, + { + "path": "comfy/ldm/hunyuan_video", + "mode": "040000", + "type": "tree", + "sha": "3047b350def211672f43a6d2e235f87938f80041", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/3047b350def211672f43a6d2e235f87938f80041" + }, + { + "path": "comfy/ldm/hunyuan_video/model.py", + "mode": "100644", + "type": "blob", + "sha": "b94cdfa8762e2cab70811b529dc8b6aef459410b", + "size": 22456, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b94cdfa8762e2cab70811b529dc8b6aef459410b" + }, + { + "path": "comfy/ldm/hunyuan_video/upsampler.py", + "mode": "100644", + "type": "blob", + "sha": "1f68144e2cbe8b1517c996dda4badf7888477c32", + "size": 4254, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1f68144e2cbe8b1517c996dda4badf7888477c32" + }, + { + "path": "comfy/ldm/hunyuan_video/vae.py", + "mode": "100644", + "type": "blob", + "sha": "40c12b18334dcc003a59c882b63c7044fe5e679e", + "size": 5728, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/40c12b18334dcc003a59c882b63c7044fe5e679e" + }, + { + "path": "comfy/ldm/hunyuan_video/vae_refiner.py", + "mode": "100644", + "type": "blob", + "sha": "ddf77cd0e2b101ac05f88b242dc96d0a5b24fac7", + "size": 11941, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ddf77cd0e2b101ac05f88b242dc96d0a5b24fac7" + }, + { + "path": "comfy/ldm/hydit", + "mode": "040000", + "type": "tree", + "sha": "1a218a5b420df99819992fe9fde464fb050cb4d9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/1a218a5b420df99819992fe9fde464fb050cb4d9" + }, + { + "path": "comfy/ldm/hydit/attn_layers.py", + "mode": "100644", + "type": "blob", + "sha": "3ca25a5df175bcadd8e50ad34ee0bfcddcb37aa0", + "size": 9869, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3ca25a5df175bcadd8e50ad34ee0bfcddcb37aa0" + }, + { + "path": "comfy/ldm/hydit/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "31a6bff9409bb5264e552f91197915a136c3964d", + "size": 10282, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/31a6bff9409bb5264e552f91197915a136c3964d" + }, + { + "path": "comfy/ldm/hydit/models.py", + "mode": "100644", + "type": "blob", + "sha": "5ba2b76e0cad3c611fce1e74b024a66a2255b814", + "size": 17193, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5ba2b76e0cad3c611fce1e74b024a66a2255b814" + }, + { + "path": "comfy/ldm/hydit/poolers.py", + "mode": "100644", + "type": "blob", + "sha": "c1b878ed6b0541116794635c5c1b53a7ca13af47", + "size": 1919, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c1b878ed6b0541116794635c5c1b53a7ca13af47" + }, + { + "path": "comfy/ldm/hydit/posemb_layers.py", + "mode": "100644", + "type": "blob", + "sha": "dcb41a713cd94ea8472ff26e8865066887b1e486", + "size": 8689, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dcb41a713cd94ea8472ff26e8865066887b1e486" + }, + { + "path": "comfy/ldm/ideogram4", + "mode": "040000", + "type": "tree", + "sha": "82049991a6d2dd013b9be6ad9fd101efe31a19ab", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/82049991a6d2dd013b9be6ad9fd101efe31a19ab" + }, + { + "path": "comfy/ldm/ideogram4/model.py", + "mode": "100644", + "type": "blob", + "sha": "4ea5b8aafbb2cfbde83c416d3839da43b011ef85", + "size": 14547, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ea5b8aafbb2cfbde83c416d3839da43b011ef85" + }, + { + "path": "comfy/ldm/kandinsky5", + "mode": "040000", + "type": "tree", + "sha": "4095f92c537b57c07c38041e38f8b4ce52ab8edd", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/4095f92c537b57c07c38041e38f8b4ce52ab8edd" + }, + { + "path": "comfy/ldm/kandinsky5/model.py", + "mode": "100644", + "type": "blob", + "sha": "1509de2f83d7c672f32145faa6fb583cc0def989", + "size": 21652, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1509de2f83d7c672f32145faa6fb583cc0def989" + }, + { + "path": "comfy/ldm/lens", + "mode": "040000", + "type": "tree", + "sha": "6d24f2d23cb960b8a01a44e2b501b02b4bff7542", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6d24f2d23cb960b8a01a44e2b501b02b4bff7542" + }, + { + "path": "comfy/ldm/lens/model.py", + "mode": "100644", + "type": "blob", + "sha": "cd5015ddcaeeb5cdb6f40d0c1505cf36fcbdb9e0", + "size": 21207, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cd5015ddcaeeb5cdb6f40d0c1505cf36fcbdb9e0" + }, + { + "path": "comfy/ldm/lightricks", + "mode": "040000", + "type": "tree", + "sha": "a9a2241fbb5b17ff951db56bf1914d5b6cb408bd", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a9a2241fbb5b17ff951db56bf1914d5b6cb408bd" + }, + { + "path": "comfy/ldm/lightricks/av_model.py", + "mode": "100644", + "type": "blob", + "sha": "ef99384652048ded6abf8a189997361a65ec0cb7", + "size": 48537, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ef99384652048ded6abf8a189997361a65ec0cb7" + }, + { + "path": "comfy/ldm/lightricks/embeddings_connector.py", + "mode": "100644", + "type": "blob", + "sha": "2811080be0a48b1f50098b7aa947adbff1613b92", + "size": 12002, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2811080be0a48b1f50098b7aa947adbff1613b92" + }, + { + "path": "comfy/ldm/lightricks/latent_upsampler.py", + "mode": "100644", + "type": "blob", + "sha": "78ed7653f74f79cde9edad1c903ee84b5ddef139", + "size": 10297, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/78ed7653f74f79cde9edad1c903ee84b5ddef139" + }, + { + "path": "comfy/ldm/lightricks/model.py", + "mode": "100644", + "type": "blob", + "sha": "e0a4a0f9b9f02c9cfe2db7846750a8faac6a2c45", + "size": 54275, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e0a4a0f9b9f02c9cfe2db7846750a8faac6a2c45" + }, + { + "path": "comfy/ldm/lightricks/symmetric_patchifier.py", + "mode": "100644", + "type": "blob", + "sha": "8f9a41186bf773cab756b95223b6fa46bfb940ba", + "size": 7408, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8f9a41186bf773cab756b95223b6fa46bfb940ba" + }, + { + "path": "comfy/ldm/lightricks/vae", + "mode": "040000", + "type": "tree", + "sha": "02d7e8454ef1db6a7ee2b511b9f56b425ae99044", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/02d7e8454ef1db6a7ee2b511b9f56b425ae99044" + }, + { + "path": "comfy/ldm/lightricks/vae/audio_vae.py", + "mode": "100644", + "type": "blob", + "sha": "dd5320c8f8fcc17f91db4b36afed14152d775541", + "size": 8952, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dd5320c8f8fcc17f91db4b36afed14152d775541" + }, + { + "path": "comfy/ldm/lightricks/vae/causal_audio_autoencoder.py", + "mode": "100644", + "type": "blob", + "sha": "58b67d45ab14aee371ed1ee4b8dc31e53547e2ac", + "size": 32884, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/58b67d45ab14aee371ed1ee4b8dc31e53547e2ac" + }, + { + "path": "comfy/ldm/lightricks/vae/causal_conv3d.py", + "mode": "100644", + "type": "blob", + "sha": "7515f0d4e8c590014b2b6c8fd8d56958db514c96", + "size": 2875, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7515f0d4e8c590014b2b6c8fd8d56958db514c96" + }, + { + "path": "comfy/ldm/lightricks/vae/causal_video_autoencoder.py", + "mode": "100644", + "type": "blob", + "sha": "5975015e23b798436b2e1cb61d809dd205db9de0", + "size": 51021, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5975015e23b798436b2e1cb61d809dd205db9de0" + }, + { + "path": "comfy/ldm/lightricks/vae/conv_nd_factory.py", + "mode": "100644", + "type": "blob", + "sha": "b4026b14fae386850459b18fb06e8b5d7f79ab94", + "size": 2570, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b4026b14fae386850459b18fb06e8b5d7f79ab94" + }, + { + "path": "comfy/ldm/lightricks/vae/dual_conv3d.py", + "mode": "100644", + "type": "blob", + "sha": "dcf889296750d3d7e553af37ecf77d1b10245af3", + "size": 6885, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dcf889296750d3d7e553af37ecf77d1b10245af3" + }, + { + "path": "comfy/ldm/lightricks/vae/pixel_norm.py", + "mode": "100644", + "type": "blob", + "sha": "9bc3ea60e8a6453e7e12a7fb5aca4de3958a2567", + "size": 307, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9bc3ea60e8a6453e7e12a7fb5aca4de3958a2567" + }, + { + "path": "comfy/ldm/lightricks/vocoders", + "mode": "040000", + "type": "tree", + "sha": "2f6f562edbc416f746d22e119e79a74ea4c21d3a", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2f6f562edbc416f746d22e119e79a74ea4c21d3a" + }, + { + "path": "comfy/ldm/lightricks/vocoders/vocoder.py", + "mode": "100644", + "type": "blob", + "sha": "2481d8bdd37301dd8eb34505e1753199ba1c7d27", + "size": 25768, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2481d8bdd37301dd8eb34505e1753199ba1c7d27" + }, + { + "path": "comfy/ldm/lumina", + "mode": "040000", + "type": "tree", + "sha": "ae45966a30c8b33d73ac7de539a30007a8c438f9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/ae45966a30c8b33d73ac7de539a30007a8c438f9" + }, + { + "path": "comfy/ldm/lumina/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "8e2de7977536daf9779e27d6e019cdea40049e0c", + "size": 6539, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8e2de7977536daf9779e27d6e019cdea40049e0c" + }, + { + "path": "comfy/ldm/lumina/model.py", + "mode": "100644", + "type": "blob", + "sha": "d0ee97d333b749bb2e3fa7c21ad69004bc5143d8", + "size": 46298, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d0ee97d333b749bb2e3fa7c21ad69004bc5143d8" + }, + { + "path": "comfy/ldm/mmaudio", + "mode": "040000", + "type": "tree", + "sha": "138e8d4422948cec7ed2cb2ab37894398b9d9536", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/138e8d4422948cec7ed2cb2ab37894398b9d9536" + }, + { + "path": "comfy/ldm/mmaudio/vae", + "mode": "040000", + "type": "tree", + "sha": "b251266041a86b7e4e7815744acf6851d7a3bd9f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/b251266041a86b7e4e7815744acf6851d7a3bd9f" + }, + { + "path": "comfy/ldm/mmaudio/vae/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/mmaudio/vae/activations.py", + "mode": "100644", + "type": "blob", + "sha": "db9192e3e4c4d2ca318178bb93a959beb9bbff42", + "size": 4517, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/db9192e3e4c4d2ca318178bb93a959beb9bbff42" + }, + { + "path": "comfy/ldm/mmaudio/vae/alias_free_torch.py", + "mode": "100644", + "type": "blob", + "sha": "35c70b89712017a616add51fc22537093378657d", + "size": 5719, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/35c70b89712017a616add51fc22537093378657d" + }, + { + "path": "comfy/ldm/mmaudio/vae/autoencoder.py", + "mode": "100644", + "type": "blob", + "sha": "cbb9de302092957902e1b32fff3c687cc89d1058", + "size": 4717, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cbb9de302092957902e1b32fff3c687cc89d1058" + }, + { + "path": "comfy/ldm/mmaudio/vae/bigvgan.py", + "mode": "100644", + "type": "blob", + "sha": "3a24337f62342220685662fa7bb3a9ffcc702ff1", + "size": 8366, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3a24337f62342220685662fa7bb3a9ffcc702ff1" + }, + { + "path": "comfy/ldm/mmaudio/vae/distributions.py", + "mode": "100644", + "type": "blob", + "sha": "df987c5ec3faaba7da2b02029ad413134bfa08ad", + "size": 2964, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/df987c5ec3faaba7da2b02029ad413134bfa08ad" + }, + { + "path": "comfy/ldm/mmaudio/vae/vae.py", + "mode": "100644", + "type": "blob", + "sha": "62f24606c111e8fcd99b2adbf93761541c02e032", + "size": 14532, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/62f24606c111e8fcd99b2adbf93761541c02e032" + }, + { + "path": "comfy/ldm/mmaudio/vae/vae_modules.py", + "mode": "100644", + "type": "blob", + "sha": "3ad05134bc44e05c54fd7acb8e2fa960d86bb1fb", + "size": 3875, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3ad05134bc44e05c54fd7acb8e2fa960d86bb1fb" + }, + { + "path": "comfy/ldm/models", + "mode": "040000", + "type": "tree", + "sha": "5c4ccff92baab199dd0f01baabdc63c830eb3140", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5c4ccff92baab199dd0f01baabdc63c830eb3140" + }, + { + "path": "comfy/ldm/models/autoencoder.py", + "mode": "100644", + "type": "blob", + "sha": "582b44e6994861523cebef2fccbce86fcdbc0a46", + "size": 9782, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/582b44e6994861523cebef2fccbce86fcdbc0a46" + }, + { + "path": "comfy/ldm/modules", + "mode": "040000", + "type": "tree", + "sha": "6ac912f963e2f86e7d16edbf093d0636c00f0cec", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6ac912f963e2f86e7d16edbf093d0636c00f0cec" + }, + { + "path": "comfy/ldm/modules/attention.py", + "mode": "100644", + "type": "blob", + "sha": "55360535af3b9942bf014bf166bfa0a021af542b", + "size": 44830, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/55360535af3b9942bf014bf166bfa0a021af542b" + }, + { + "path": "comfy/ldm/modules/diffusionmodules", + "mode": "040000", + "type": "tree", + "sha": "97a7095530a0385d6907f3230c5247ea51e4b437", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/97a7095530a0385d6907f3230c5247ea51e4b437" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/mmdit.py", + "mode": "100644", + "type": "blob", + "sha": "9ab3c463cde2c4d2ce0f827a6c1de9c5353e03be", + "size": 38026, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9ab3c463cde2c4d2ce0f827a6c1de9c5353e03be" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/model.py", + "mode": "100644", + "type": "blob", + "sha": "fcbaa074fd84de31b3e819d31b8bac4368936309", + "size": 31322, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fcbaa074fd84de31b3e819d31b8bac4368936309" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/openaimodel.py", + "mode": "100644", + "type": "blob", + "sha": "4b92c44cf0e42dbe70fb5787cd6404b0f22ceddf", + "size": 37937, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4b92c44cf0e42dbe70fb5787cd6404b0f22ceddf" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/upscaling.py", + "mode": "100644", + "type": "blob", + "sha": "9dbf1fe7b93b0c7f1a9e8cbf8e89d0b33c282a08", + "size": 3645, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9dbf1fe7b93b0c7f1a9e8cbf8e89d0b33c282a08" + }, + { + "path": "comfy/ldm/modules/diffusionmodules/util.py", + "mode": "100644", + "type": "blob", + "sha": "aed5c149c580b947eb2c20b03cbfe073f3d7abe8", + "size": 11888, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/aed5c149c580b947eb2c20b03cbfe073f3d7abe8" + }, + { + "path": "comfy/ldm/modules/distributions", + "mode": "040000", + "type": "tree", + "sha": "af6f82c1b67fa9377a66b43ccad0df25b97f44a6", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/af6f82c1b67fa9377a66b43ccad0df25b97f44a6" + }, + { + "path": "comfy/ldm/modules/distributions/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/modules/distributions/distributions.py", + "mode": "100644", + "type": "blob", + "sha": "df987c5ec3faaba7da2b02029ad413134bfa08ad", + "size": 2964, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/df987c5ec3faaba7da2b02029ad413134bfa08ad" + }, + { + "path": "comfy/ldm/modules/ema.py", + "mode": "100644", + "type": "blob", + "sha": "96ee6e89549fc95fe270af19458d4c17f6b1982c", + "size": 3110, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/96ee6e89549fc95fe270af19458d4c17f6b1982c" + }, + { + "path": "comfy/ldm/modules/encoders", + "mode": "040000", + "type": "tree", + "sha": "7778ae120f94a8f7858b26ad4a7db361a2c37a11", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7778ae120f94a8f7858b26ad4a7db361a2c37a11" + }, + { + "path": "comfy/ldm/modules/encoders/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/modules/encoders/noise_aug_modules.py", + "mode": "100644", + "type": "blob", + "sha": "c853e4298c095008dffe15286133771c4443d9fa", + "size": 1390, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c853e4298c095008dffe15286133771c4443d9fa" + }, + { + "path": "comfy/ldm/modules/sdpose.py", + "mode": "100644", + "type": "blob", + "sha": "1a9585fc257066ba4ed34a188a62c29588c9c743", + "size": 5770, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1a9585fc257066ba4ed34a188a62c29588c9c743" + }, + { + "path": "comfy/ldm/modules/sub_quadratic_attention.py", + "mode": "100644", + "type": "blob", + "sha": "f982afc2b0e06a962a137f065aead08be246b9df", + "size": 9586, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f982afc2b0e06a962a137f065aead08be246b9df" + }, + { + "path": "comfy/ldm/modules/temporal_ae.py", + "mode": "100644", + "type": "blob", + "sha": "e0f78bf66b7b06b3f49f5add7a8a502384a9f445", + "size": 7945, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e0f78bf66b7b06b3f49f5add7a8a502384a9f445" + }, + { + "path": "comfy/ldm/moge", + "mode": "040000", + "type": "tree", + "sha": "f0cb28ffd1d927120bf71f0b7824d7836dc262fa", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f0cb28ffd1d927120bf71f0b7824d7836dc262fa" + }, + { + "path": "comfy/ldm/moge/geometry.py", + "mode": "100644", + "type": "blob", + "sha": "d1a1e445f3136c92da57c439f858f4de1983be24", + "size": 8537, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d1a1e445f3136c92da57c439f858f4de1983be24" + }, + { + "path": "comfy/ldm/moge/model.py", + "mode": "100644", + "type": "blob", + "sha": "1695626bcb73c91644738d7ab2328ac44f3844d8", + "size": 16778, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1695626bcb73c91644738d7ab2328ac44f3844d8" + }, + { + "path": "comfy/ldm/moge/modules.py", + "mode": "100644", + "type": "blob", + "sha": "f6443d65ae7bf4324bef105546bac6583f7342de", + "size": 9721, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f6443d65ae7bf4324bef105546bac6583f7342de" + }, + { + "path": "comfy/ldm/moge/panorama.py", + "mode": "100644", + "type": "blob", + "sha": "18d0cb665bacebbb1a29ebfa94fccd561d361d5e", + "size": 14230, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/18d0cb665bacebbb1a29ebfa94fccd561d361d5e" + }, + { + "path": "comfy/ldm/omnigen", + "mode": "040000", + "type": "tree", + "sha": "d16b92e4df2fd88990130b8dd3744d1a82374cdc", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d16b92e4df2fd88990130b8dd3744d1a82374cdc" + }, + { + "path": "comfy/ldm/omnigen/omnigen2.py", + "mode": "100644", + "type": "blob", + "sha": "e9ca5229dc3b3b76813e8fdbeea2a74dc9e3d33c", + "size": 23163, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e9ca5229dc3b3b76813e8fdbeea2a74dc9e3d33c" + }, + { + "path": "comfy/ldm/pixart", + "mode": "040000", + "type": "tree", + "sha": "2b12b1910a5d1d77d14ad31ddd97055b203f953d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2b12b1910a5d1d77d14ad31ddd97055b203f953d" + }, + { + "path": "comfy/ldm/pixart/blocks.py", + "mode": "100644", + "type": "blob", + "sha": "2225076e5754d08cd618014469c2464bad055334", + "size": 16840, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2225076e5754d08cd618014469c2464bad055334" + }, + { + "path": "comfy/ldm/pixart/pixartms.py", + "mode": "100644", + "type": "blob", + "sha": "d1ac49d84c554f1531427dea251dd6d2ea3e0dc7", + "size": 10402, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d1ac49d84c554f1531427dea251dd6d2ea3e0dc7" + }, + { + "path": "comfy/ldm/pixeldit", + "mode": "040000", + "type": "tree", + "sha": "903de599e0dfd3cf3e2840710d9e9e1ddfecec09", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/903de599e0dfd3cf3e2840710d9e9e1ddfecec09" + }, + { + "path": "comfy/ldm/pixeldit/model.py", + "mode": "100644", + "type": "blob", + "sha": "b044b9b29b9a9cb20d220a47399bc558edc0cdea", + "size": 11724, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b044b9b29b9a9cb20d220a47399bc558edc0cdea" + }, + { + "path": "comfy/ldm/pixeldit/modules.py", + "mode": "100644", + "type": "blob", + "sha": "4b1e538c70be9711ead8d4b8dbf6c821b7d18457", + "size": 9967, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4b1e538c70be9711ead8d4b8dbf6c821b7d18457" + }, + { + "path": "comfy/ldm/pixeldit/pid.py", + "mode": "100644", + "type": "blob", + "sha": "21b73907a32b11c3c944d600d1e56cb3c62db0cf", + "size": 9894, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/21b73907a32b11c3c944d600d1e56cb3c62db0cf" + }, + { + "path": "comfy/ldm/qwen_image", + "mode": "040000", + "type": "tree", + "sha": "76fe3ffdcfc007332c037cbb47af4ada7719b957", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/76fe3ffdcfc007332c037cbb47af4ada7719b957" + }, + { + "path": "comfy/ldm/qwen_image/controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "c0aae9240f812f07012c4c312cd4cd5882cd0923", + "size": 10346, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c0aae9240f812f07012c4c312cd4cd5882cd0923" + }, + { + "path": "comfy/ldm/qwen_image/model.py", + "mode": "100644", + "type": "blob", + "sha": "e49886dd9931823e0c588782b4dba31cdd44e220", + "size": 26510, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e49886dd9931823e0c588782b4dba31cdd44e220" + }, + { + "path": "comfy/ldm/rt_detr", + "mode": "040000", + "type": "tree", + "sha": "8316096f852cabdfcdd5093dbae1b0116aafe729", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8316096f852cabdfcdd5093dbae1b0116aafe729" + }, + { + "path": "comfy/ldm/rt_detr/rtdetr_v4.py", + "mode": "100644", + "type": "blob", + "sha": "9443761cb76c27b49ec55dd97759898861eb3fc2", + "size": 37301, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9443761cb76c27b49ec55dd97759898861eb3fc2" + }, + { + "path": "comfy/ldm/sam3", + "mode": "040000", + "type": "tree", + "sha": "40efc4a8387a797bd9013223c34333d8a1d3f8b5", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/40efc4a8387a797bd9013223c34333d8a1d3f8b5" + }, + { + "path": "comfy/ldm/sam3/detector.py", + "mode": "100644", + "type": "blob", + "sha": "23a972ac7dc7238c38372d651ea120a7c3577825", + "size": 32478, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/23a972ac7dc7238c38372d651ea120a7c3577825" + }, + { + "path": "comfy/ldm/sam3/sam.py", + "mode": "100644", + "type": "blob", + "sha": "75cb457cff5318ee79ca0300a46c6bd41e776fea", + "size": 20819, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/75cb457cff5318ee79ca0300a46c6bd41e776fea" + }, + { + "path": "comfy/ldm/sam3/tracker.py", + "mode": "100644", + "type": "blob", + "sha": "8456e90a617cfcf166307cb0542219e6e3a333cb", + "size": 95411, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8456e90a617cfcf166307cb0542219e6e3a333cb" + }, + { + "path": "comfy/ldm/supir", + "mode": "040000", + "type": "tree", + "sha": "13ebf0a3670c2d3769f39e08905b679bf5ddd00c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/13ebf0a3670c2d3769f39e08905b679bf5ddd00c" + }, + { + "path": "comfy/ldm/supir/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy/ldm/supir/supir_modules.py", + "mode": "100644", + "type": "blob", + "sha": "7389b01d2bd55f025b333ba6b1b2e7170a71548a", + "size": 9452, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7389b01d2bd55f025b333ba6b1b2e7170a71548a" + }, + { + "path": "comfy/ldm/supir/supir_patch.py", + "mode": "100644", + "type": "blob", + "sha": "b67ab4cd89ffc5cb2e325c52af954b40210be233", + "size": 4647, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b67ab4cd89ffc5cb2e325c52af954b40210be233" + }, + { + "path": "comfy/ldm/triposplat", + "mode": "040000", + "type": "tree", + "sha": "57ec3e85aca285b85c1b752cd497a173f08ac099", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/57ec3e85aca285b85c1b752cd497a173f08ac099" + }, + { + "path": "comfy/ldm/triposplat/gaussian.py", + "mode": "100644", + "type": "blob", + "sha": "a4cd2f62fc8fe6c868db2e23d21924532df7900b", + "size": 8094, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a4cd2f62fc8fe6c868db2e23d21924532df7900b" + }, + { + "path": "comfy/ldm/triposplat/model.py", + "mode": "100644", + "type": "blob", + "sha": "d8a531772d49195d628f73f441aa6be0dfc4da02", + "size": 17213, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d8a531772d49195d628f73f441aa6be0dfc4da02" + }, + { + "path": "comfy/ldm/triposplat/preview.py", + "mode": "100644", + "type": "blob", + "sha": "6a942bb53b09312131644bd3ddbf4f05a29993ca", + "size": 4601, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6a942bb53b09312131644bd3ddbf4f05a29993ca" + }, + { + "path": "comfy/ldm/triposplat/vae.py", + "mode": "100644", + "type": "blob", + "sha": "e5ed9fd36f11dcc083af9e41c507fcb976682905", + "size": 20308, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e5ed9fd36f11dcc083af9e41c507fcb976682905" + }, + { + "path": "comfy/ldm/util.py", + "mode": "100644", + "type": "blob", + "sha": "304936ff4414529c130ea4bc8b6b0fd86b452302", + "size": 7232, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/304936ff4414529c130ea4bc8b6b0fd86b452302" + }, + { + "path": "comfy/ldm/wan", + "mode": "040000", + "type": "tree", + "sha": "9d9a3698cfd44029832654874c8d0b40c41f1845", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/9d9a3698cfd44029832654874c8d0b40c41f1845" + }, + { + "path": "comfy/ldm/wan/ar_model.py", + "mode": "100644", + "type": "blob", + "sha": "d72f53602b0862b8f733263a58a018dc275a9bc4", + "size": 11294, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d72f53602b0862b8f733263a58a018dc275a9bc4" + }, + { + "path": "comfy/ldm/wan/model.py", + "mode": "100644", + "type": "blob", + "sha": "2824088913640138ed564f0385ba4b3536175994", + "size": 79550, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2824088913640138ed564f0385ba4b3536175994" + }, + { + "path": "comfy/ldm/wan/model_animate.py", + "mode": "100644", + "type": "blob", + "sha": "84d7adec46652e1134fc35ebb66e203fc952a1fd", + "size": 23120, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/84d7adec46652e1134fc35ebb66e203fc952a1fd" + }, + { + "path": "comfy/ldm/wan/model_multitalk.py", + "mode": "100644", + "type": "blob", + "sha": "c9dd98c4ddc7f03f899c7627b980b5923205b3e5", + "size": 20285, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c9dd98c4ddc7f03f899c7627b980b5923205b3e5" + }, + { + "path": "comfy/ldm/wan/model_wandancer.py", + "mode": "100644", + "type": "blob", + "sha": "3caef6dc5e8598ea02476c50a074777ed2e6d6fb", + "size": 12055, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3caef6dc5e8598ea02476c50a074777ed2e6d6fb" + }, + { + "path": "comfy/ldm/wan/vae.py", + "mode": "100644", + "type": "blob", + "sha": "57b0dabf72f2d6f042ed956d16cc313932a5da27", + "size": 17610, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/57b0dabf72f2d6f042ed956d16cc313932a5da27" + }, + { + "path": "comfy/ldm/wan/vae2_2.py", + "mode": "100644", + "type": "blob", + "sha": "8e1593a54c9464aa685f8cafc05e3e155d9f02d0", + "size": 22621, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8e1593a54c9464aa685f8cafc05e3e155d9f02d0" + }, + { + "path": "comfy/lora.py", + "mode": "100644", + "type": "blob", + "sha": "2c8d0f0bfd1fa30e0ffdff2a624cba6221e5a089", + "size": 23986, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2c8d0f0bfd1fa30e0ffdff2a624cba6221e5a089" + }, + { + "path": "comfy/lora_convert.py", + "mode": "100644", + "type": "blob", + "sha": "749e81df3a24c0a26327ed93b7b3c4823e350482", + "size": 1927, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/749e81df3a24c0a26327ed93b7b3c4823e350482" + }, + { + "path": "comfy/memory_management.py", + "mode": "100644", + "type": "blob", + "sha": "e032b7dcdae5b69cbec6caf690dfbd9988f5f1ea", + "size": 7033, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e032b7dcdae5b69cbec6caf690dfbd9988f5f1ea" + }, + { + "path": "comfy/model_base.py", + "mode": "100644", + "type": "blob", + "sha": "ab4a1102204ba628776b5112a783f0c28346553f", + "size": 113476, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ab4a1102204ba628776b5112a783f0c28346553f" + }, + { + "path": "comfy/model_detection.py", + "mode": "100644", + "type": "blob", + "sha": "7d0cab30819dc121d0f47b8690cef28deb68c5d2", + "size": 77464, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7d0cab30819dc121d0f47b8690cef28deb68c5d2" + }, + { + "path": "comfy/model_management.py", + "mode": "100644", + "type": "blob", + "sha": "b15d08ba15b2690a4002bbd7ee09cd1042a27678", + "size": 66258, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b15d08ba15b2690a4002bbd7ee09cd1042a27678" + }, + { + "path": "comfy/model_patcher.py", + "mode": "100644", + "type": "blob", + "sha": "d70b42bf8c06cfc2e90b19fae59dd704f548fd2b", + "size": 95147, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d70b42bf8c06cfc2e90b19fae59dd704f548fd2b" + }, + { + "path": "comfy/model_prefetch.py", + "mode": "100644", + "type": "blob", + "sha": "aa6d22d77ebb73387319eb423749e69c1662b358", + "size": 2883, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/aa6d22d77ebb73387319eb423749e69c1662b358" + }, + { + "path": "comfy/model_sampling.py", + "mode": "100644", + "type": "blob", + "sha": "5af336e76fd480a50425dd924f2ac9752083c09f", + "size": 14963, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5af336e76fd480a50425dd924f2ac9752083c09f" + }, + { + "path": "comfy/multigpu.py", + "mode": "100644", + "type": "blob", + "sha": "2b6d8260daa72892fc09ffa84fe779bb9bc6a549", + "size": 10940, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2b6d8260daa72892fc09ffa84fe779bb9bc6a549" + }, + { + "path": "comfy/nested_tensor.py", + "mode": "100644", + "type": "blob", + "sha": "b700816fabcb0767502e02d4a5baf6bcdce31aa4", + "size": 2443, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b700816fabcb0767502e02d4a5baf6bcdce31aa4" + }, + { + "path": "comfy/ops.py", + "mode": "100644", + "type": "blob", + "sha": "3f088a96287fa51a2da543c26917344d73986136", + "size": 67820, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3f088a96287fa51a2da543c26917344d73986136" + }, + { + "path": "comfy/options.py", + "mode": "100644", + "type": "blob", + "sha": "f7f8af41ebd8b9669ef0ef21827ea6195bcb4752", + "size": 111, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7f8af41ebd8b9669ef0ef21827ea6195bcb4752" + }, + { + "path": "comfy/patcher_extension.py", + "mode": "100644", + "type": "blob", + "sha": "189ee84caa353a0ba869d287d931a78e70faca06", + "size": 6886, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/189ee84caa353a0ba869d287d931a78e70faca06" + }, + { + "path": "comfy/pinned_memory.py", + "mode": "100644", + "type": "blob", + "sha": "cb77c517a2836a7112241be23c97bc6b5b92f8c2", + "size": 4121, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cb77c517a2836a7112241be23c97bc6b5b92f8c2" + }, + { + "path": "comfy/pixel_space_convert.py", + "mode": "100644", + "type": "blob", + "sha": "049bbcfb42d273108c12cd7856ca46273ceca1cd", + "size": 528, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/049bbcfb42d273108c12cd7856ca46273ceca1cd" + }, + { + "path": "comfy/quant_ops.py", + "mode": "100644", + "type": "blob", + "sha": "b90bcfd25dd0f94fcb189b58cde4fbff5290b3c8", + "size": 8100, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b90bcfd25dd0f94fcb189b58cde4fbff5290b3c8" + }, + { + "path": "comfy/rmsnorm.py", + "mode": "100644", + "type": "blob", + "sha": "e54be98d6392a6c5c4641f6c7f8b952da922125e", + "size": 504, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e54be98d6392a6c5c4641f6c7f8b952da922125e" + }, + { + "path": "comfy/sample.py", + "mode": "100644", + "type": "blob", + "sha": "2be0cae5f87273c6ffbf641ae70676d0bdff97cc", + "size": 4748, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2be0cae5f87273c6ffbf641ae70676d0bdff97cc" + }, + { + "path": "comfy/sampler_helpers.py", + "mode": "100644", + "type": "blob", + "sha": "bdce2f2d85a5ffaae59f1f6fc715bd44e47d5853", + "size": 11596, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bdce2f2d85a5ffaae59f1f6fc715bd44e47d5853" + }, + { + "path": "comfy/samplers.py", + "mode": "100755", + "type": "blob", + "sha": "25c5a855fd0435d5d2fd98b2eb016bc54273b07f", + "size": 62960, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/25c5a855fd0435d5d2fd98b2eb016bc54273b07f" + }, + { + "path": "comfy/sd.py", + "mode": "100644", + "type": "blob", + "sha": "a66ba1bfb76e44330f8e4343d8ea8bbee3ab719d", + "size": 115850, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a66ba1bfb76e44330f8e4343d8ea8bbee3ab719d" + }, + { + "path": "comfy/sd1_clip.py", + "mode": "100644", + "type": "blob", + "sha": "897186bbaedd7d9cc774853aeef7c0e5fc5f4336", + "size": 30299, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/897186bbaedd7d9cc774853aeef7c0e5fc5f4336" + }, + { + "path": "comfy/sd1_clip_config.json", + "mode": "100644", + "type": "blob", + "sha": "3ba8c6b5bc3d6389fb6c9e2c8231729ad9d663a4", + "size": 616, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3ba8c6b5bc3d6389fb6c9e2c8231729ad9d663a4" + }, + { + "path": "comfy/sd1_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "19aba8a796f3f91a6066a6535be7ae7309ef8280", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/19aba8a796f3f91a6066a6535be7ae7309ef8280" + }, + { + "path": "comfy/sd1_tokenizer/merges.txt", + "mode": "100644", + "type": "blob", + "sha": "76e821f1b6f0a9709293c3b6b51ed90980b3166b", + "size": 524619, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/76e821f1b6f0a9709293c3b6b51ed90980b3166b" + }, + { + "path": "comfy/sd1_tokenizer/special_tokens_map.json", + "mode": "100644", + "type": "blob", + "sha": "2c2130b544c0c5a72d5d00da071ba130a9800fb2", + "size": 472, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2c2130b544c0c5a72d5d00da071ba130a9800fb2" + }, + { + "path": "comfy/sd1_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "8f7b3151d008bdee5739e317b887be0fc3b805c3", + "size": 808, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8f7b3151d008bdee5739e317b887be0fc3b805c3" + }, + { + "path": "comfy/sd1_tokenizer/vocab.json", + "mode": "100644", + "type": "blob", + "sha": "469be27c5c010538f845f518c4f5e8574c78f7c8", + "size": 1059962, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/469be27c5c010538f845f518c4f5e8574c78f7c8" + }, + { + "path": "comfy/sdxl_clip.py", + "mode": "100644", + "type": "blob", + "sha": "c8cef14e4d6f81eb8ec8f4b8825c8afaa1d5caf3", + "size": 5133, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c8cef14e4d6f81eb8ec8f4b8825c8afaa1d5caf3" + }, + { + "path": "comfy/supported_models.py", + "mode": "100644", + "type": "blob", + "sha": "3be935577c887e6af16b91fe6215b05b38ce3c55", + "size": 76861, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3be935577c887e6af16b91fe6215b05b38ce3c55" + }, + { + "path": "comfy/supported_models_base.py", + "mode": "100644", + "type": "blob", + "sha": "0e7a829ba13b97e48e8d632438a5c4fff1e51edd", + "size": 4566, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0e7a829ba13b97e48e8d632438a5c4fff1e51edd" + }, + { + "path": "comfy/t2i_adapter", + "mode": "040000", + "type": "tree", + "sha": "1db117fc44c0a5ea038917accdc639a51f82d446", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/1db117fc44c0a5ea038917accdc639a51f82d446" + }, + { + "path": "comfy/t2i_adapter/adapter.py", + "mode": "100644", + "type": "blob", + "sha": "10ea18e326693f237b3b219970c86e3808f6d334", + "size": 10054, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/10ea18e326693f237b3b219970c86e3808f6d334" + }, + { + "path": "comfy/taesd", + "mode": "040000", + "type": "tree", + "sha": "e6f59f8f8448cb7c15ec306cc1574eb7c0a22f91", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e6f59f8f8448cb7c15ec306cc1574eb7c0a22f91" + }, + { + "path": "comfy/taesd/taehv.py", + "mode": "100644", + "type": "blob", + "sha": "696013200bef30ea39e0f064652cbf7a25dc32ee", + "size": 9601, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/696013200bef30ea39e0f064652cbf7a25dc32ee" + }, + { + "path": "comfy/taesd/taesd.py", + "mode": "100644", + "type": "blob", + "sha": "05d370209f2c25b1c4e827e530f394ad0cc121a1", + "size": 5409, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/05d370209f2c25b1c4e827e530f394ad0cc121a1" + }, + { + "path": "comfy/text_encoders", + "mode": "040000", + "type": "tree", + "sha": "5f0ece052187ab2040c189690e7d227f99d83d5b", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5f0ece052187ab2040c189690e7d227f99d83d5b" + }, + { + "path": "comfy/text_encoders/ace.py", + "mode": "100644", + "type": "blob", + "sha": "d650bb10d5d5bfdd485f18095e4a99ed7b06b6b7", + "size": 6323, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d650bb10d5d5bfdd485f18095e4a99ed7b06b6b7" + }, + { + "path": "comfy/text_encoders/ace15.py", + "mode": "100644", + "type": "blob", + "sha": "853f021ae5c89188b7a5e39a16e09f7aa81519ff", + "size": 16769, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/853f021ae5c89188b7a5e39a16e09f7aa81519ff" + }, + { + "path": "comfy/text_encoders/ace_lyrics_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "de2daa82e47187bae78324e154ee90c263896e3e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/de2daa82e47187bae78324e154ee90c263896e3e" + }, + { + "path": "comfy/text_encoders/ace_lyrics_tokenizer/vocab.json", + "mode": "100644", + "type": "blob", + "sha": "519ed340c36e19dfe15ccffd7aa5a31a261d70a5", + "size": 364005, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/519ed340c36e19dfe15ccffd7aa5a31a261d70a5" + }, + { + "path": "comfy/text_encoders/ace_text_cleaners.py", + "mode": "100644", + "type": "blob", + "sha": "cd31d8d8cdffcda51cc26405c3f6f2bcee410d48", + "size": 13349, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cd31d8d8cdffcda51cc26405c3f6f2bcee410d48" + }, + { + "path": "comfy/text_encoders/anima.py", + "mode": "100644", + "type": "blob", + "sha": "2e31b2b047a03dd10d18a901bf92e831df1b7a51", + "size": 3862, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2e31b2b047a03dd10d18a901bf92e831df1b7a51" + }, + { + "path": "comfy/text_encoders/aura_t5.py", + "mode": "100644", + "type": "blob", + "sha": "cf4252eea3ad6ed02e0a8ee4c13385c78909cbd8", + "size": 1694, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cf4252eea3ad6ed02e0a8ee4c13385c78909cbd8" + }, + { + "path": "comfy/text_encoders/bert.py", + "mode": "100644", + "type": "blob", + "sha": "ed4638a9ab4882ac9f72033e3a6f07537682d807", + "size": 6821, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ed4638a9ab4882ac9f72033e3a6f07537682d807" + }, + { + "path": "comfy/text_encoders/byt5_config_small_glyph.json", + "mode": "100644", + "type": "blob", + "sha": "0239c7164ef3eaa72e0114e85c1f37847f3602ae", + "size": 505, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0239c7164ef3eaa72e0114e85c1f37847f3602ae" + }, + { + "path": "comfy/text_encoders/byt5_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "ca252907b1bae80675a3d06954e5b4a4b5a508e9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/ca252907b1bae80675a3d06954e5b4a4b5a508e9" + }, + { + "path": "comfy/text_encoders/byt5_tokenizer/added_tokens.json", + "mode": "100644", + "type": "blob", + "sha": "93c190b5690dd55aac16723222a9909e2be0faec", + "size": 3018, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/93c190b5690dd55aac16723222a9909e2be0faec" + }, + { + "path": "comfy/text_encoders/byt5_tokenizer/special_tokens_map.json", + "mode": "100644", + "type": "blob", + "sha": "04fd58b5fbf6a36fda564a656b14c137ef045689", + "size": 3090, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/04fd58b5fbf6a36fda564a656b14c137ef045689" + }, + { + "path": "comfy/text_encoders/byt5_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "5b1fe24c1b1962f69a7754a26e6770ae7bcb7764", + "size": 25602, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5b1fe24c1b1962f69a7754a26e6770ae7bcb7764" + }, + { + "path": "comfy/text_encoders/cogvideo.py", + "mode": "100644", + "type": "blob", + "sha": "b97310709e4622318224eb6feeac0b2378ff6dc4", + "size": 2338, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b97310709e4622318224eb6feeac0b2378ff6dc4" + }, + { + "path": "comfy/text_encoders/cosmos.py", + "mode": "100644", + "type": "blob", + "sha": "f4b40ac68c3358fbb8e86a7e9aed4fa8a44525d3", + "size": 2551, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f4b40ac68c3358fbb8e86a7e9aed4fa8a44525d3" + }, + { + "path": "comfy/text_encoders/ernie.py", + "mode": "100644", + "type": "blob", + "sha": "46d24d2229c9ba0d293c2eb3f5add6eccdc10be8", + "size": 2334, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/46d24d2229c9ba0d293c2eb3f5add6eccdc10be8" + }, + { + "path": "comfy/text_encoders/flux.py", + "mode": "100644", + "type": "blob", + "sha": "d5eb91dcb095b7571369337e000f7ea09159811e", + "size": 12475, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d5eb91dcb095b7571369337e000f7ea09159811e" + }, + { + "path": "comfy/text_encoders/gemma4.py", + "mode": "100644", + "type": "blob", + "sha": "f050061ed35771eae3baaadb7b3b0fa3c5463a82", + "size": 63277, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f050061ed35771eae3baaadb7b3b0fa3c5463a82" + }, + { + "path": "comfy/text_encoders/genmo.py", + "mode": "100644", + "type": "blob", + "sha": "2d7a3fbce80a9950ee7f2d8a541de2d73cd004fb", + "size": 1829, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2d7a3fbce80a9950ee7f2d8a541de2d73cd004fb" + }, + { + "path": "comfy/text_encoders/gpt_oss.py", + "mode": "100644", + "type": "blob", + "sha": "d596ef9a0f45e7597e4323f82aad79b3922cd3eb", + "size": 25426, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d596ef9a0f45e7597e4323f82aad79b3922cd3eb" + }, + { + "path": "comfy/text_encoders/hidream.py", + "mode": "100644", + "type": "blob", + "sha": "600b344803dd356d7c84d650c3c564317e378faf", + "size": 7067, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/600b344803dd356d7c84d650c3c564317e378faf" + }, + { + "path": "comfy/text_encoders/hidream_o1.py", + "mode": "100644", + "type": "blob", + "sha": "5d287b78424b5b26fda3f55217b4fbd162a56380", + "size": 4036, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5d287b78424b5b26fda3f55217b4fbd162a56380" + }, + { + "path": "comfy/text_encoders/hunyuan_image.py", + "mode": "100644", + "type": "blob", + "sha": "cd198036c838279ed2449f82f934067a86be7ae4", + "size": 5813, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cd198036c838279ed2449f82f934067a86be7ae4" + }, + { + "path": "comfy/text_encoders/hunyuan_video.py", + "mode": "100644", + "type": "blob", + "sha": "2ddb4da60d04d6cedec4704b06256c9e07c73b7c", + "size": 9479, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ddb4da60d04d6cedec4704b06256c9e07c73b7c" + }, + { + "path": "comfy/text_encoders/hydit.py", + "mode": "100644", + "type": "blob", + "sha": "ac6994529acd8493e6ec65a975f8984fd06749e8", + "size": 4696, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ac6994529acd8493e6ec65a975f8984fd06749e8" + }, + { + "path": "comfy/text_encoders/hydit_clip.json", + "mode": "100644", + "type": "blob", + "sha": "c41c7c1ff376407f42e3ff20ab26faaa98bb5e65", + "size": 897, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c41c7c1ff376407f42e3ff20ab26faaa98bb5e65" + }, + { + "path": "comfy/text_encoders/hydit_clip_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "5ac3bf99c88cf11e8dc3828c1dbdd20274d6fc75", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5ac3bf99c88cf11e8dc3828c1dbdd20274d6fc75" + }, + { + "path": "comfy/text_encoders/hydit_clip_tokenizer/special_tokens_map.json", + "mode": "100644", + "type": "blob", + "sha": "a8b3208c2884c4efb86e49300fdd3dc877220cdf", + "size": 125, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a8b3208c2884c4efb86e49300fdd3dc877220cdf" + }, + { + "path": "comfy/text_encoders/hydit_clip_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "a14356073e11a885074a7cdbddc749463cefd911", + "size": 559, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a14356073e11a885074a7cdbddc749463cefd911" + }, + { + "path": "comfy/text_encoders/hydit_clip_tokenizer/vocab.txt", + "mode": "100644", + "type": "blob", + "sha": "6246906805d02aca01714c71e4c8d77b69a7a131", + "size": 316627, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6246906805d02aca01714c71e4c8d77b69a7a131" + }, + { + "path": "comfy/text_encoders/ideogram4.py", + "mode": "100644", + "type": "blob", + "sha": "84243772d0cd0a099dd454dc99a03f86cf168d7d", + "size": 4025, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/84243772d0cd0a099dd454dc99a03f86cf168d7d" + }, + { + "path": "comfy/text_encoders/jina_clip_2.py", + "mode": "100644", + "type": "blob", + "sha": "0cffb6d162bd0a2325039e6d1a258cb183506968", + "size": 10826, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0cffb6d162bd0a2325039e6d1a258cb183506968" + }, + { + "path": "comfy/text_encoders/kandinsky5.py", + "mode": "100644", + "type": "blob", + "sha": "be086458cfce34c2fd027cabbd3257bbf2e4fd2c", + "size": 4324, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/be086458cfce34c2fd027cabbd3257bbf2e4fd2c" + }, + { + "path": "comfy/text_encoders/llama.py", + "mode": "100644", + "type": "blob", + "sha": "5087228caa0f98d21d911a78254e82d605c32521", + "size": 45956, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5087228caa0f98d21d911a78254e82d605c32521" + }, + { + "path": "comfy/text_encoders/llama_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "596b408d4b6bd3760a9e0435a821fdbbc967110a", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/596b408d4b6bd3760a9e0435a821fdbbc967110a" + }, + { + "path": "comfy/text_encoders/llama_tokenizer/tokenizer.json", + "mode": "100644", + "type": "blob", + "sha": "99f23954b4bade407d4f3a18892f21f80b412d68", + "size": 9085835, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/99f23954b4bade407d4f3a18892f21f80b412d68" + }, + { + "path": "comfy/text_encoders/llama_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "0b336f5a5199c43e7305481f4e9e26e292b2f0fc", + "size": 51699, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0b336f5a5199c43e7305481f4e9e26e292b2f0fc" + }, + { + "path": "comfy/text_encoders/long_clipl.py", + "mode": "100644", + "type": "blob", + "sha": "8d4c7619d4b2007462cf14721bcdae093a5b4a7b", + "size": 1085, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8d4c7619d4b2007462cf14721bcdae093a5b4a7b" + }, + { + "path": "comfy/text_encoders/longcat_image.py", + "mode": "100644", + "type": "blob", + "sha": "0962779e3d9d22d5e5467ee5f8381ea6e95a9cce", + "size": 7895, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0962779e3d9d22d5e5467ee5f8381ea6e95a9cce" + }, + { + "path": "comfy/text_encoders/lt.py", + "mode": "100644", + "type": "blob", + "sha": "bc5cbae285f104df724ffc4a16d7f500339bafc7", + "size": 14229, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bc5cbae285f104df724ffc4a16d7f500339bafc7" + }, + { + "path": "comfy/text_encoders/lumina2.py", + "mode": "100644", + "type": "blob", + "sha": "b1f1dbb9f471fa88b550d31485d9b412479df09d", + "size": 5288, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b1f1dbb9f471fa88b550d31485d9b412479df09d" + }, + { + "path": "comfy/text_encoders/mt5_config_xl.json", + "mode": "100644", + "type": "blob", + "sha": "092fefd6e32dac566e443fc03eae53f6a8b57400", + "size": 510, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/092fefd6e32dac566e443fc03eae53f6a8b57400" + }, + { + "path": "comfy/text_encoders/newbie.py", + "mode": "100644", + "type": "blob", + "sha": "db2324576d6eef7feef8aa8f368a1df0e1d8a6fb", + "size": 2911, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/db2324576d6eef7feef8aa8f368a1df0e1d8a6fb" + }, + { + "path": "comfy/text_encoders/omnigen2.py", + "mode": "100644", + "type": "blob", + "sha": "50aa4121fbfb198b1d95d55b8bf6f5d995f0ef3a", + "size": 2732, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/50aa4121fbfb198b1d95d55b8bf6f5d995f0ef3a" + }, + { + "path": "comfy/text_encoders/ovis.py", + "mode": "100644", + "type": "blob", + "sha": "2cc0867c3eae182696f0cd6e38719f336cb56608", + "size": 3660, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2cc0867c3eae182696f0cd6e38719f336cb56608" + }, + { + "path": "comfy/text_encoders/pixart_t5.py", + "mode": "100644", + "type": "blob", + "sha": "51c6e50c7be4bbe4aef4c6d0ec2e366c8632bce9", + "size": 2146, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/51c6e50c7be4bbe4aef4c6d0ec2e366c8632bce9" + }, + { + "path": "comfy/text_encoders/pixeldit.py", + "mode": "100644", + "type": "blob", + "sha": "3539711e4677ca972ef893aa2d8c1b560b7e35b7", + "size": 5261, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3539711e4677ca972ef893aa2d8c1b560b7e35b7" + }, + { + "path": "comfy/text_encoders/qwen25_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "71cdea18d8b4ce3315a9c1789301ac98cb6f21f0", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/71cdea18d8b4ce3315a9c1789301ac98cb6f21f0" + }, + { + "path": "comfy/text_encoders/qwen25_tokenizer/merges.txt", + "mode": "100644", + "type": "blob", + "sha": "31349551d90c7606f325fe0f11bbb8bd5fa0d7c7", + "size": 1671853, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/31349551d90c7606f325fe0f11bbb8bd5fa0d7c7" + }, + { + "path": "comfy/text_encoders/qwen25_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "df5b5d7fe9b19c0bdb6379b5b4a423366140d50a", + "size": 8018, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/df5b5d7fe9b19c0bdb6379b5b4a423366140d50a" + }, + { + "path": "comfy/text_encoders/qwen25_tokenizer/vocab.json", + "mode": "100644", + "type": "blob", + "sha": "4783fe10ac3adce15ac8f358ef5462739852c569", + "size": 2776833, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4783fe10ac3adce15ac8f358ef5462739852c569" + }, + { + "path": "comfy/text_encoders/qwen35.py", + "mode": "100644", + "type": "blob", + "sha": "416ce9d18819d7c1a1532ae9e70597e59fa3356c", + "size": 42280, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/416ce9d18819d7c1a1532ae9e70597e59fa3356c" + }, + { + "path": "comfy/text_encoders/qwen35_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "7d1c0418ebc3fc48b8a6c0644e3b87e864b1b320", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7d1c0418ebc3fc48b8a6c0644e3b87e864b1b320" + }, + { + "path": "comfy/text_encoders/qwen35_tokenizer/merges.txt", + "mode": "100644", + "type": "blob", + "sha": "a494e019ca1502219fd0128658b979e5f05ae8e8", + "size": 3353259, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a494e019ca1502219fd0128658b979e5f05ae8e8" + }, + { + "path": "comfy/text_encoders/qwen35_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "fae3ce993e07c092ad024dde45e592379fde91bb", + "size": 16709, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fae3ce993e07c092ad024dde45e592379fde91bb" + }, + { + "path": "comfy/text_encoders/qwen35_tokenizer/vocab.json", + "mode": "100644", + "type": "blob", + "sha": "0aa0ce0658d60ac4a5d609f4eadb0e8e43514176", + "size": 6722759, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0aa0ce0658d60ac4a5d609f4eadb0e8e43514176" + }, + { + "path": "comfy/text_encoders/qwen_image.py", + "mode": "100644", + "type": "blob", + "sha": "5c14dec23397e056dbd56180c7cb52a85f637ae2", + "size": 5442, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5c14dec23397e056dbd56180c7cb52a85f637ae2" + }, + { + "path": "comfy/text_encoders/qwen_vl.py", + "mode": "100644", + "type": "blob", + "sha": "98c350a1294db9186cc25149e17a591aa038eedc", + "size": 16157, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/98c350a1294db9186cc25149e17a591aa038eedc" + }, + { + "path": "comfy/text_encoders/sa3.py", + "mode": "100644", + "type": "blob", + "sha": "0a1c73ec1050a570e6d4af01002c17a054df745f", + "size": 10160, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0a1c73ec1050a570e6d4af01002c17a054df745f" + }, + { + "path": "comfy/text_encoders/sa_t5.py", + "mode": "100644", + "type": "blob", + "sha": "2803926ac01867edc686c4ca6625a5c5aba32e0b", + "size": 1625, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2803926ac01867edc686c4ca6625a5c5aba32e0b" + }, + { + "path": "comfy/text_encoders/sam3_clip.py", + "mode": "100644", + "type": "blob", + "sha": "11cb7d9dbff58564cb96cabf44c05d636eb07d0c", + "size": 4227, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/11cb7d9dbff58564cb96cabf44c05d636eb07d0c" + }, + { + "path": "comfy/text_encoders/sd2_clip.py", + "mode": "100644", + "type": "blob", + "sha": "700a23bf09f03f09290f677092bd25f29d6f065a", + "size": 1521, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/700a23bf09f03f09290f677092bd25f29d6f065a" + }, + { + "path": "comfy/text_encoders/sd2_clip_config.json", + "mode": "100644", + "type": "blob", + "sha": "00893cfdc9b00f8eb7cf5aaa9c343e7fcd298d82", + "size": 524, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/00893cfdc9b00f8eb7cf5aaa9c343e7fcd298d82" + }, + { + "path": "comfy/text_encoders/sd3_clip.py", + "mode": "100644", + "type": "blob", + "sha": "8b153c72b9dbd955af62b5b6f42ee37821ff0c0e", + "size": 7876, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8b153c72b9dbd955af62b5b6f42ee37821ff0c0e" + }, + { + "path": "comfy/text_encoders/spiece_tokenizer.py", + "mode": "100644", + "type": "blob", + "sha": "099d8d2d98a5aeb2e806d6381cd86b5ca2f878c6", + "size": 2419, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/099d8d2d98a5aeb2e806d6381cd86b5ca2f878c6" + }, + { + "path": "comfy/text_encoders/t5.py", + "mode": "100644", + "type": "blob", + "sha": "e8588992a4b54713de4018975b8d58170a4d0d7e", + "size": 12665, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e8588992a4b54713de4018975b8d58170a4d0d7e" + }, + { + "path": "comfy/text_encoders/t5_config_base.json", + "mode": "100644", + "type": "blob", + "sha": "71f68327c27280ce150d0c8e92fd61eca0b52a63", + "size": 495, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/71f68327c27280ce150d0c8e92fd61eca0b52a63" + }, + { + "path": "comfy/text_encoders/t5_config_xxl.json", + "mode": "100644", + "type": "blob", + "sha": "28283b51a11bed6a874499f82d411c16cc646eb1", + "size": 509, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/28283b51a11bed6a874499f82d411c16cc646eb1" + }, + { + "path": "comfy/text_encoders/t5_old_config_xxl.json", + "mode": "100644", + "type": "blob", + "sha": "c9fdd7782197ca0523ee82133e9b417fa947a5c5", + "size": 499, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c9fdd7782197ca0523ee82133e9b417fa947a5c5" + }, + { + "path": "comfy/text_encoders/t5_pile_config_xl.json", + "mode": "100644", + "type": "blob", + "sha": "ee4e03f97a5b3a9927fc676816f210a364ee234b", + "size": 510, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ee4e03f97a5b3a9927fc676816f210a364ee234b" + }, + { + "path": "comfy/text_encoders/t5_pile_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "61d0722255e8ddcd4d58ab8c74d50a93e231d3fc", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/61d0722255e8ddcd4d58ab8c74d50a93e231d3fc" + }, + { + "path": "comfy/text_encoders/t5_pile_tokenizer/tokenizer.model", + "mode": "100644", + "type": "blob", + "sha": "22bccbcb41ec929cf0c9dbe8f41036db82e5e773", + "size": 499723, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/22bccbcb41ec929cf0c9dbe8f41036db82e5e773" + }, + { + "path": "comfy/text_encoders/t5_tokenizer", + "mode": "040000", + "type": "tree", + "sha": "7c69c468f1168f85f33f22ae21f7bc6eb990eeae", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7c69c468f1168f85f33f22ae21f7bc6eb990eeae" + }, + { + "path": "comfy/text_encoders/t5_tokenizer/special_tokens_map.json", + "mode": "100644", + "type": "blob", + "sha": "17ade346a1042cbe0c1436f5bedcbd85c099d582", + "size": 2543, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/17ade346a1042cbe0c1436f5bedcbd85c099d582" + }, + { + "path": "comfy/text_encoders/t5_tokenizer/tokenizer.json", + "mode": "100644", + "type": "blob", + "sha": "b11c92d7184d265f0dc857ec5d676aa81aa16262", + "size": 2424256, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b11c92d7184d265f0dc857ec5d676aa81aa16262" + }, + { + "path": "comfy/text_encoders/t5_tokenizer/tokenizer_config.json", + "mode": "100644", + "type": "blob", + "sha": "02020eb6d20746871e1ea93f14c4475cf9368f98", + "size": 20790, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/02020eb6d20746871e1ea93f14c4475cf9368f98" + }, + { + "path": "comfy/text_encoders/umt5_config_base.json", + "mode": "100644", + "type": "blob", + "sha": "6b3618f075eb4503d0666bd50f2259cc34b653c4", + "size": 510, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6b3618f075eb4503d0666bd50f2259cc34b653c4" + }, + { + "path": "comfy/text_encoders/umt5_config_xxl.json", + "mode": "100644", + "type": "blob", + "sha": "dfcb4b54bc95469e7b519aed847bb1efb034bdc1", + "size": 512, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dfcb4b54bc95469e7b519aed847bb1efb034bdc1" + }, + { + "path": "comfy/text_encoders/wan.py", + "mode": "100644", + "type": "blob", + "sha": "164a57edd7ac36f59d494bb2595afda1b1155877", + "size": 2232, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/164a57edd7ac36f59d494bb2595afda1b1155877" + }, + { + "path": "comfy/text_encoders/z_image.py", + "mode": "100644", + "type": "blob", + "sha": "33b7cf594b5696b8814d0f3bef166a52b1febf8a", + "size": 2702, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/33b7cf594b5696b8814d0f3bef166a52b1febf8a" + }, + { + "path": "comfy/utils.py", + "mode": "100644", + "type": "blob", + "sha": "09d783ffff9111ee5b3ec7d30873b766bea33317", + "size": 61046, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/09d783ffff9111ee5b3ec7d30873b766bea33317" + }, + { + "path": "comfy/weight_adapter", + "mode": "040000", + "type": "tree", + "sha": "0b89d63cfa858518cb6814f190ec6b567f62c784", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0b89d63cfa858518cb6814f190ec6b567f62c784" + }, + { + "path": "comfy/weight_adapter/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "b9fa8d5cf500a2e490b1330a43682f00a3b5a6c8", + "size": 1004, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b9fa8d5cf500a2e490b1330a43682f00a3b5a6c8" + }, + { + "path": "comfy/weight_adapter/base.py", + "mode": "100644", + "type": "blob", + "sha": "d352e066ba8ee87be650e53579ac2584ac79da79", + "size": 12559, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d352e066ba8ee87be650e53579ac2584ac79da79" + }, + { + "path": "comfy/weight_adapter/boft.py", + "mode": "100644", + "type": "blob", + "sha": "02a8dc1307655cc761540ac4ee43ac885383c910", + "size": 6938, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/02a8dc1307655cc761540ac4ee43ac885383c910" + }, + { + "path": "comfy/weight_adapter/bypass.py", + "mode": "100644", + "type": "blob", + "sha": "b9d5ec7d9b55839b3ed1ffc21cf8cc18d75ba4a4", + "size": 16599, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b9d5ec7d9b55839b3ed1ffc21cf8cc18d75ba4a4" + }, + { + "path": "comfy/weight_adapter/glora.py", + "mode": "100644", + "type": "blob", + "sha": "d6b97a23b745c13d38843879cbd9313248c7f098", + "size": 9717, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d6b97a23b745c13d38843879cbd9313248c7f098" + }, + { + "path": "comfy/weight_adapter/loha.py", + "mode": "100644", + "type": "blob", + "sha": "8007b7b4445ad843ccdf557e3cda11990a96714a", + "size": 12945, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8007b7b4445ad843ccdf557e3cda11990a96714a" + }, + { + "path": "comfy/weight_adapter/lokr.py", + "mode": "100644", + "type": "blob", + "sha": "b837500126b1939e688706a85abdfc008b67ff4c", + "size": 15709, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b837500126b1939e688706a85abdfc008b67ff4c" + }, + { + "path": "comfy/weight_adapter/lora.py", + "mode": "100644", + "type": "blob", + "sha": "8e1261a123d56ce578c9f882873fae237c62ae8d", + "size": 13419, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8e1261a123d56ce578c9f882873fae237c62ae8d" + }, + { + "path": "comfy/weight_adapter/oft.py", + "mode": "100644", + "type": "blob", + "sha": "bc83cf8e8945ba12e963a2afc99b3e565f475256", + "size": 11266, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bc83cf8e8945ba12e963a2afc99b3e565f475256" + }, + { + "path": "comfy_api", + "mode": "040000", + "type": "tree", + "sha": "9185359af6477af47b41b115ef0df27d27ac3ef3", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/9185359af6477af47b41b115ef0df27d27ac3ef3" + }, + { + "path": "comfy_api/feature_flags.py", + "mode": "100644", + "type": "blob", + "sha": "adb5a314462496ab49a8ab87b8135ffdcbfb7dc3", + "size": 4835, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/adb5a314462496ab49a8ab87b8135ffdcbfb7dc3" + }, + { + "path": "comfy_api/generate_api_stubs.py", + "mode": "100644", + "type": "blob", + "sha": "604a7eced8a5a408e77c75a7889f9c25fe3771d4", + "size": 2869, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/604a7eced8a5a408e77c75a7889f9c25fe3771d4" + }, + { + "path": "comfy_api/input", + "mode": "040000", + "type": "tree", + "sha": "a5ca62c63e7977921dbba4828d4b4f58ae2681b6", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a5ca62c63e7977921dbba4828d4b4f58ae2681b6" + }, + { + "path": "comfy_api/input/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "dc33533cc52fd18c1838d520eb5c9399d8ea7ca9", + "size": 466, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dc33533cc52fd18c1838d520eb5c9399d8ea7ca9" + }, + { + "path": "comfy_api/input/basic_types.py", + "mode": "100644", + "type": "blob", + "sha": "5eadce86ac4462c7fd825e1171afa6b315a6be38", + "size": 256, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5eadce86ac4462c7fd825e1171afa6b315a6be38" + }, + { + "path": "comfy_api/input/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "size": 145, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9ace78cbc039eb0de063ea1ec080134a2b44cac6" + }, + { + "path": "comfy_api/input_impl", + "mode": "040000", + "type": "tree", + "sha": "9afa512bfd92c7ea607c717106cd6af72967e30d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/9afa512bfd92c7ea607c717106cd6af72967e30d" + }, + { + "path": "comfy_api/input_impl/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "b78ff0c08fbe31f073a38c580f4648eebcc47db3", + "size": 192, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b78ff0c08fbe31f073a38c580f4648eebcc47db3" + }, + { + "path": "comfy_api/input_impl/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "bd2e56ad51a2fa2340e63409b9038de463af3b2d", + "size": 122, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bd2e56ad51a2fa2340e63409b9038de463af3b2d" + }, + { + "path": "comfy_api/internal", + "mode": "040000", + "type": "tree", + "sha": "0389b99f6e50ef55566bb852529aa51fe2637ffb", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0389b99f6e50ef55566bb852529aa51fe2637ffb" + }, + { + "path": "comfy_api/internal/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "4ca02e320bcb06ad7f6a8a7c8bd63f6efc18ea98", + "size": 4913, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ca02e320bcb06ad7f6a8a7c8bd63f6efc18ea98" + }, + { + "path": "comfy_api/internal/api_registry.py", + "mode": "100644", + "type": "blob", + "sha": "2b1cb016ab781681c9581cdd207c8c68d03ed3a1", + "size": 1061, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2b1cb016ab781681c9581cdd207c8c68d03ed3a1" + }, + { + "path": "comfy_api/internal/async_to_sync.py", + "mode": "100644", + "type": "blob", + "sha": "c9b0576e1ce232b3b8d422714203d8e706be642b", + "size": 40498, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c9b0576e1ce232b3b8d422714203d8e706be642b" + }, + { + "path": "comfy_api/internal/singleton.py", + "mode": "100644", + "type": "blob", + "sha": "d89380262663d7892629ed19e95c396b8a2cd584", + "size": 1116, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d89380262663d7892629ed19e95c396b8a2cd584" + }, + { + "path": "comfy_api/latest", + "mode": "040000", + "type": "tree", + "sha": "4cc33b4fcb51e4900c288ebf35062c36c1c7b950", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/4cc33b4fcb51e4900c288ebf35062c36c1c7b950" + }, + { + "path": "comfy_api/latest/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "294ad425e1df870b69546b0f1b2b372811bc8525", + "size": 6307, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/294ad425e1df870b69546b0f1b2b372811bc8525" + }, + { + "path": "comfy_api/latest/_caching.py", + "mode": "100644", + "type": "blob", + "sha": "30c8848cd7593cef2dc0308ea14895f006ef5af4", + "size": 1186, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/30c8848cd7593cef2dc0308ea14895f006ef5af4" + }, + { + "path": "comfy_api/latest/_input", + "mode": "040000", + "type": "tree", + "sha": "2ff57db324d00ae284c9cfbb1b0209ee85003e91", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2ff57db324d00ae284c9cfbb1b0209ee85003e91" + }, + { + "path": "comfy_api/latest/_input/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "f0229717e301b43682a587251aa490bd1111f783", + "size": 429, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f0229717e301b43682a587251aa490bd1111f783" + }, + { + "path": "comfy_api/latest/_input/basic_types.py", + "mode": "100644", + "type": "blob", + "sha": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "size": 924, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d73deabd2e6c300112c487f89f30cf534a5a39b1" + }, + { + "path": "comfy_api/latest/_input/curve_types.py", + "mode": "100644", + "type": "blob", + "sha": "b6dd7adf90f6382b9b501398968827dae0c862d3", + "size": 7472, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b6dd7adf90f6382b9b501398968827dae0c862d3" + }, + { + "path": "comfy_api/latest/_input/range_types.py", + "mode": "100644", + "type": "blob", + "sha": "f4c5cb290c0d65bcd5c57db91eb95cc1532d7359", + "size": 2488, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f4c5cb290c0d65bcd5c57db91eb95cc1532d7359" + }, + { + "path": "comfy_api/latest/_input/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "e2e99521fa4f2dc70e1a4d1299176dcbc78ba77b", + "size": 4634, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e2e99521fa4f2dc70e1a4d1299176dcbc78ba77b" + }, + { + "path": "comfy_api/latest/_input_impl", + "mode": "040000", + "type": "tree", + "sha": "2e5178dac3e4f52ce4a66d6c7e4ce120d443c104", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2e5178dac3e4f52ce4a66d6c7e4ce120d443c104" + }, + { + "path": "comfy_api/latest/_input_impl/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "size": 145, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/02901b8b933caa569cd9dd45eb8e39e7c66e43a1" + }, + { + "path": "comfy_api/latest/_input_impl/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "6c69256ab2d78b766572b41380b6c075c584a63f", + "size": 26298, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6c69256ab2d78b766572b41380b6c075c584a63f" + }, + { + "path": "comfy_api/latest/_io.py", + "mode": "100644", + "type": "blob", + "sha": "012fae3aca8f1acf57b00d007eb4aeeb983db097", + "size": 91887, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/012fae3aca8f1acf57b00d007eb4aeeb983db097" + }, + { + "path": "comfy_api/latest/_io_public.py", + "mode": "100644", + "type": "blob", + "sha": "43c7680f3283cec64bf89023ca7ec90314a3499d", + "size": 33, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/43c7680f3283cec64bf89023ca7ec90314a3499d" + }, + { + "path": "comfy_api/latest/_ui.py", + "mode": "100644", + "type": "blob", + "sha": "b48713d4108634b6a6887694844fbcb248cb26a1", + "size": 18205, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b48713d4108634b6a6887694844fbcb248cb26a1" + }, + { + "path": "comfy_api/latest/_ui_public.py", + "mode": "100644", + "type": "blob", + "sha": "85b11d78b61eb75fd71ccefea5caf9cb70239c58", + "size": 33, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/85b11d78b61eb75fd71ccefea5caf9cb70239c58" + }, + { + "path": "comfy_api/latest/_util", + "mode": "040000", + "type": "tree", + "sha": "c4f558925d2335bf3092007ff6ff1b05ad02e6fb", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/c4f558925d2335bf3092007ff6ff1b05ad02e6fb" + }, + { + "path": "comfy_api/latest/_util/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "b27f5a97ea30beb8b3b307d4a974e1de3a2dd989", + "size": 314, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b27f5a97ea30beb8b3b307d4a974e1de3a2dd989" + }, + { + "path": "comfy_api/latest/_util/geometry_types.py", + "mode": "100644", + "type": "blob", + "sha": "84a18d69ab0c1725024e684f55b4c28dd3e11143", + "size": 4897, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/84a18d69ab0c1725024e684f55b4c28dd3e11143" + }, + { + "path": "comfy_api/latest/_util/image_types.py", + "mode": "100644", + "type": "blob", + "sha": "f031ed42615c53ee36d777924e8b36607d7943ff", + "size": 487, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f031ed42615c53ee36d777924e8b36607d7943ff" + }, + { + "path": "comfy_api/latest/_util/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "6c9d6a526251bf1040ef41bc3bb8a60f8be2c7b1", + "size": 1286, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6c9d6a526251bf1040ef41bc3bb8a60f8be2c7b1" + }, + { + "path": "comfy_api/latest/generated", + "mode": "040000", + "type": "tree", + "sha": "e0c3dd2e08fbe10ac79d5415676d6249f166dbc2", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e0c3dd2e08fbe10ac79d5415676d6249f166dbc2" + }, + { + "path": "comfy_api/latest/generated/ComfyAPISyncStub.pyi", + "mode": "100644", + "type": "blob", + "sha": "525c074dda49d12f5f9eca7bd3b82abe8799c862", + "size": 867, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/525c074dda49d12f5f9eca7bd3b82abe8799c862" + }, + { + "path": "comfy_api/torch_helpers", + "mode": "040000", + "type": "tree", + "sha": "efdfdd85f3d561ddbdce9143e08e2b5385759933", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/efdfdd85f3d561ddbdce9143e08e2b5385759933" + }, + { + "path": "comfy_api/torch_helpers/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "be7ae7a6165bdeed5013806a7adde1a02c0ac93f", + "size": 101, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/be7ae7a6165bdeed5013806a7adde1a02c0ac93f" + }, + { + "path": "comfy_api/torch_helpers/torch_compile.py", + "mode": "100644", + "type": "blob", + "sha": "9223f58db22415897cbf3d6239511d289f5e1091", + "size": 2800, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9223f58db22415897cbf3d6239511d289f5e1091" + }, + { + "path": "comfy_api/util.py", + "mode": "100644", + "type": "blob", + "sha": "1aa9606d2e4691657ed3580fc7a1e4a55aaf886c", + "size": 210, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1aa9606d2e4691657ed3580fc7a1e4a55aaf886c" + }, + { + "path": "comfy_api/util", + "mode": "040000", + "type": "tree", + "sha": "bc8f4068f0ee1b9d9ec7b697bb0df68a4d7986d7", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/bc8f4068f0ee1b9d9ec7b697bb0df68a4d7986d7" + }, + { + "path": "comfy_api/util/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "4c8a89d1e077d0b331de5506ba69b50a99de2bd2", + "size": 210, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4c8a89d1e077d0b331de5506ba69b50a99de2bd2" + }, + { + "path": "comfy_api/util/video_types.py", + "mode": "100644", + "type": "blob", + "sha": "68c780d64daffa6fb621821e111330cb388c07e0", + "size": 239, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/68c780d64daffa6fb621821e111330cb388c07e0" + }, + { + "path": "comfy_api/v0_0_1", + "mode": "040000", + "type": "tree", + "sha": "5670d4c785befc4c48ba8df9d40d6af25968e302", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5670d4c785befc4c48ba8df9d40d6af25968e302" + }, + { + "path": "comfy_api/v0_0_1/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "93608771d156017233cadc5af3ba2d52c82f1529", + "size": 977, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/93608771d156017233cadc5af3ba2d52c82f1529" + }, + { + "path": "comfy_api/v0_0_1/generated", + "mode": "040000", + "type": "tree", + "sha": "74cc9e5b8d9a8e16cc13dddc2d0345a00eba49df", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/74cc9e5b8d9a8e16cc13dddc2d0345a00eba49df" + }, + { + "path": "comfy_api/v0_0_1/generated/ComfyAPISyncStub.pyi", + "mode": "100644", + "type": "blob", + "sha": "270030324cd155fdadc0f0d5009bca4be948fc0a", + "size": 874, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/270030324cd155fdadc0f0d5009bca4be948fc0a" + }, + { + "path": "comfy_api/v0_0_2", + "mode": "040000", + "type": "tree", + "sha": "6e3f577c44d84b85c2942deee69a5936d777f839", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6e3f577c44d84b85c2942deee69a5936d777f839" + }, + { + "path": "comfy_api/v0_0_2/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "c4fa1d97116dd23985244856eabb6076c3a0689f", + "size": 975, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c4fa1d97116dd23985244856eabb6076c3a0689f" + }, + { + "path": "comfy_api/v0_0_2/generated", + "mode": "040000", + "type": "tree", + "sha": "c646a6b91593cd4602baba9c77162d179e2445a9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/c646a6b91593cd4602baba9c77162d179e2445a9" + }, + { + "path": "comfy_api/v0_0_2/generated/ComfyAPISyncStub.pyi", + "mode": "100644", + "type": "blob", + "sha": "7fcec685e880e68106a35f6fd8ebf84ea07769e3", + "size": 874, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7fcec685e880e68106a35f6fd8ebf84ea07769e3" + }, + { + "path": "comfy_api/version_list.py", + "mode": "100644", + "type": "blob", + "sha": "be6e1db663974fcf7fb0b4fd7299742e9d4ec724", + "size": 323, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/be6e1db663974fcf7fb0b4fd7299742e9d4ec724" + }, + { + "path": "comfy_api_nodes", + "mode": "040000", + "type": "tree", + "sha": "538c970eaedab0887cbfab05134c3d2ee26b2235", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/538c970eaedab0887cbfab05134c3d2ee26b2235" + }, + { + "path": "comfy_api_nodes/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "comfy_api_nodes/apis", + "mode": "040000", + "type": "tree", + "sha": "3397ff928322b79760971a315d8629574acd4b72", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/3397ff928322b79760971a315d8629574acd4b72" + }, + { + "path": "comfy_api_nodes/apis/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "9a7049ea2a8eace4428fc14cd5933e9bb595a14c", + "size": 213669, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9a7049ea2a8eace4428fc14cd5933e9bb595a14c" + }, + { + "path": "comfy_api_nodes/apis/anthropic.py", + "mode": "100644", + "type": "blob", + "sha": "46a5bb4285137bf35246c63a4b05184b9648f799", + "size": 3150, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/46a5bb4285137bf35246c63a4b05184b9648f799" + }, + { + "path": "comfy_api_nodes/apis/beeble.py", + "mode": "100644", + "type": "blob", + "sha": "90175b214bfd3c2f271a91011c37f7da5c1addf8", + "size": 1067, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/90175b214bfd3c2f271a91011c37f7da5c1addf8" + }, + { + "path": "comfy_api_nodes/apis/bfl.py", + "mode": "100644", + "type": "blob", + "sha": "4c950da84574048110781b5d67f37713edd4ec13", + "size": 5474, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4c950da84574048110781b5d67f37713edd4ec13" + }, + { + "path": "comfy_api_nodes/apis/bria.py", + "mode": "100644", + "type": "blob", + "sha": "7a98428c3f3b533f763142f7fef9e577447b550d", + "size": 4212, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7a98428c3f3b533f763142f7fef9e577447b550d" + }, + { + "path": "comfy_api_nodes/apis/bytedance.py", + "mode": "100644", + "type": "blob", + "sha": "47f24586c91bab547d0bd48c8aae1839d0d36368", + "size": 9153, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/47f24586c91bab547d0bd48c8aae1839d0d36368" + }, + { + "path": "comfy_api_nodes/apis/bytedance_llm.py", + "mode": "100644", + "type": "blob", + "sha": "654c875fc75be04af0c721b4fa9f95260a0aa03b", + "size": 3143, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/654c875fc75be04af0c721b4fa9f95260a0aa03b" + }, + { + "path": "comfy_api_nodes/apis/elevenlabs.py", + "mode": "100644", + "type": "blob", + "sha": "e58450fdfa8d0ee29f46c54ceb8a94e4fcdbf37d", + "size": 4861, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e58450fdfa8d0ee29f46c54ceb8a94e4fcdbf37d" + }, + { + "path": "comfy_api_nodes/apis/gemini.py", + "mode": "100644", + "type": "blob", + "sha": "caaba8f36fef008e772e32ca7f133cf0568b58f4", + "size": 8081, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/caaba8f36fef008e772e32ca7f133cf0568b58f4" + }, + { + "path": "comfy_api_nodes/apis/grok.py", + "mode": "100644", + "type": "blob", + "sha": "fbedb53e0034bdbb627058a53ac476f30dd8aaac", + "size": 2164, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fbedb53e0034bdbb627058a53ac476f30dd8aaac" + }, + { + "path": "comfy_api_nodes/apis/hitpaw.py", + "mode": "100644", + "type": "blob", + "sha": "b23c5d9eb722defbb229dc6866ccddd38a476f79", + "size": 1310, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b23c5d9eb722defbb229dc6866ccddd38a476f79" + }, + { + "path": "comfy_api_nodes/apis/hunyuan3d.py", + "mode": "100644", + "type": "blob", + "sha": "dad9bc2fa7e59156588506c4c798bbd7b50c2a55", + "size": 2511, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dad9bc2fa7e59156588506c4c798bbd7b50c2a55" + }, + { + "path": "comfy_api_nodes/apis/ideogram.py", + "mode": "100644", + "type": "blob", + "sha": "c5ad9559f52cbbb99b881d9e94afb83b2c24cec4", + "size": 11903, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c5ad9559f52cbbb99b881d9e94afb83b2c24cec4" + }, + { + "path": "comfy_api_nodes/apis/kling.py", + "mode": "100644", + "type": "blob", + "sha": "fe0f97cb33f1f045fa336aa5f338195230f6430d", + "size": 5735, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fe0f97cb33f1f045fa336aa5f338195230f6430d" + }, + { + "path": "comfy_api_nodes/apis/krea.py", + "mode": "100644", + "type": "blob", + "sha": "6e294a3b71cbbb02b84d800eb3d63b7ccf058f04", + "size": 1409, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6e294a3b71cbbb02b84d800eb3d63b7ccf058f04" + }, + { + "path": "comfy_api_nodes/apis/luma.py", + "mode": "100644", + "type": "blob", + "sha": "8c6db20229e1bf89c01a5b5571d75183eccd002e", + "size": 9018, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c6db20229e1bf89c01a5b5571d75183eccd002e" + }, + { + "path": "comfy_api_nodes/apis/magnific.py", + "mode": "100644", + "type": "blob", + "sha": "b9f148def44dc1ba6b21e3e0f778e480f4945299", + "size": 3422, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b9f148def44dc1ba6b21e3e0f778e480f4945299" + }, + { + "path": "comfy_api_nodes/apis/meshy.py", + "mode": "100644", + "type": "blob", + "sha": "7d72e6e9149d2a86c3348a971b5208f245351fa5", + "size": 5048, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7d72e6e9149d2a86c3348a971b5208f245351fa5" + }, + { + "path": "comfy_api_nodes/apis/minimax.py", + "mode": "100644", + "type": "blob", + "sha": "d747e177a165f27cb61ec459c54d9db0f263beb0", + "size": 4221, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d747e177a165f27cb61ec459c54d9db0f263beb0" + }, + { + "path": "comfy_api_nodes/apis/openai.py", + "mode": "100644", + "type": "blob", + "sha": "bee75d639f2bea99811faab345ee86b1d5f70019", + "size": 6742, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bee75d639f2bea99811faab345ee86b1d5f70019" + }, + { + "path": "comfy_api_nodes/apis/openrouter.py", + "mode": "100644", + "type": "blob", + "sha": "e30d9bcfb99199a345b5e9fbbc24ca374eea45bb", + "size": 2741, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e30d9bcfb99199a345b5e9fbbc24ca374eea45bb" + }, + { + "path": "comfy_api_nodes/apis/pixverse.py", + "mode": "100644", + "type": "blob", + "sha": "9bb29c3835104784087d99821c85f9ddf6ba218c", + "size": 4206, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9bb29c3835104784087d99821c85f9ddf6ba218c" + }, + { + "path": "comfy_api_nodes/apis/quiver.py", + "mode": "100644", + "type": "blob", + "sha": "bc870875425c3f015dca612ddd39843a3ed4c82c", + "size": 1537, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bc870875425c3f015dca612ddd39843a3ed4c82c" + }, + { + "path": "comfy_api_nodes/apis/recraft.py", + "mode": "100644", + "type": "blob", + "sha": "78ededd94b8e10064b688994e454df90c440ef20", + "size": 9227, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/78ededd94b8e10064b688994e454df90c440ef20" + }, + { + "path": "comfy_api_nodes/apis/reve.py", + "mode": "100644", + "type": "blob", + "sha": "c6b5a69d86b7dc0e43798c71dbe66bfa55d888e2", + "size": 2675, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c6b5a69d86b7dc0e43798c71dbe66bfa55d888e2" + }, + { + "path": "comfy_api_nodes/apis/rodin.py", + "mode": "100644", + "type": "blob", + "sha": "24524d642880e88ea6ea863eee0baa73a673dd12", + "size": 3673, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/24524d642880e88ea6ea863eee0baa73a673dd12" + }, + { + "path": "comfy_api_nodes/apis/runway.py", + "mode": "100644", + "type": "blob", + "sha": "6878aa6f028596e3c357d46dccfa786c152f1f2a", + "size": 8320, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6878aa6f028596e3c357d46dccfa786c152f1f2a" + }, + { + "path": "comfy_api_nodes/apis/stability.py", + "mode": "100644", + "type": "blob", + "sha": "5b9b5ac7de23b44a147a976eb8bb28226c50fbb2", + "size": 4358, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5b9b5ac7de23b44a147a976eb8bb28226c50fbb2" + }, + { + "path": "comfy_api_nodes/apis/topaz.py", + "mode": "100644", + "type": "blob", + "sha": "f91980e3def03b3f7a9931935c42ddb76484bab6", + "size": 5435, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f91980e3def03b3f7a9931935c42ddb76484bab6" + }, + { + "path": "comfy_api_nodes/apis/tripo.py", + "mode": "100644", + "type": "blob", + "sha": "79913997a1f0ba7abfbd73c40b173f52e180bc29", + "size": 16190, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/79913997a1f0ba7abfbd73c40b173f52e180bc29" + }, + { + "path": "comfy_api_nodes/apis/veo.py", + "mode": "100644", + "type": "blob", + "sha": "23ca725b7064382f64b08e7480d4c7c67c5bfaa5", + "size": 3253, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/23ca725b7064382f64b08e7480d4c7c67c5bfaa5" + }, + { + "path": "comfy_api_nodes/apis/vidu.py", + "mode": "100644", + "type": "blob", + "sha": "469adcdbccb686f80c81b3fe28e19e575631f0e3", + "size": 2192, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/469adcdbccb686f80c81b3fe28e19e575631f0e3" + }, + { + "path": "comfy_api_nodes/apis/wan.py", + "mode": "100644", + "type": "blob", + "sha": "c64acae972ca023a45576807c4e3a6d9164cb953", + "size": 6900, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c64acae972ca023a45576807c4e3a6d9164cb953" + }, + { + "path": "comfy_api_nodes/apis/wavespeed.py", + "mode": "100644", + "type": "blob", + "sha": "07a7bfa5d1cd64c6a0654f31e1358abc0f7fa0a9", + "size": 841, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/07a7bfa5d1cd64c6a0654f31e1358abc0f7fa0a9" + }, + { + "path": "comfy_api_nodes/nodes_anthropic.py", + "mode": "100644", + "type": "blob", + "sha": "87a870553a189a6a7c156145e2d4a578c1a17b43", + "size": 11656, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/87a870553a189a6a7c156145e2d4a578c1a17b43" + }, + { + "path": "comfy_api_nodes/nodes_beeble.py", + "mode": "100644", + "type": "blob", + "sha": "d863c2130e9c8a54b8fdac0eab2efde84be11c51", + "size": 14763, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d863c2130e9c8a54b8fdac0eab2efde84be11c51" + }, + { + "path": "comfy_api_nodes/nodes_bfl.py", + "mode": "100644", + "type": "blob", + "sha": "259c54ef97e251afb8b3f06466d97b777e5594fd", + "size": 36771, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/259c54ef97e251afb8b3f06466d97b777e5594fd" + }, + { + "path": "comfy_api_nodes/nodes_bria.py", + "mode": "100644", + "type": "blob", + "sha": "090154afb832d636455cc10f6897f7472e8ad7fe", + "size": 22778, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/090154afb832d636455cc10f6897f7472e8ad7fe" + }, + { + "path": "comfy_api_nodes/nodes_bytedance.py", + "mode": "100644", + "type": "blob", + "sha": "c30ddc4462c45ae90bfec546fc11e947bad25208", + "size": 97051, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c30ddc4462c45ae90bfec546fc11e947bad25208" + }, + { + "path": "comfy_api_nodes/nodes_bytedance_llm.py", + "mode": "100644", + "type": "blob", + "sha": "cb41defa0efaf843e5e18c7d09ac23e6275534bc", + "size": 9977, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cb41defa0efaf843e5e18c7d09ac23e6275534bc" + }, + { + "path": "comfy_api_nodes/nodes_elevenlabs.py", + "mode": "100644", + "type": "blob", + "sha": "eba578a45fa1b21369590c72b29b0e835297091d", + "size": 36793, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/eba578a45fa1b21369590c72b29b0e835297091d" + }, + { + "path": "comfy_api_nodes/nodes_gemini.py", + "mode": "100644", + "type": "blob", + "sha": "3d4be60653efa5834a998023ffc00af43e8aa356", + "size": 62558, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3d4be60653efa5834a998023ffc00af43e8aa356" + }, + { + "path": "comfy_api_nodes/nodes_grok.py", + "mode": "100644", + "type": "blob", + "sha": "2ae529813be89112c627851933d3254cd06af56a", + "size": 35881, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ae529813be89112c627851933d3254cd06af56a" + }, + { + "path": "comfy_api_nodes/nodes_hitpaw.py", + "mode": "100644", + "type": "blob", + "sha": "062d3cf1d76d596165eb26f89b440d3bdf78300f", + "size": 13608, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/062d3cf1d76d596165eb26f89b440d3bdf78300f" + }, + { + "path": "comfy_api_nodes/nodes_hunyuan3d.py", + "mode": "100644", + "type": "blob", + "sha": "fcd27b7fb31863eab998a66a7461f9c5afb97a05", + "size": 30300, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fcd27b7fb31863eab998a66a7461f9c5afb97a05" + }, + { + "path": "comfy_api_nodes/nodes_ideogram.py", + "mode": "100644", + "type": "blob", + "sha": "3b914a850cd5e4f027c8799bd422f7d6b00c8e81", + "size": 32267, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3b914a850cd5e4f027c8799bd422f7d6b00c8e81" + }, + { + "path": "comfy_api_nodes/nodes_kling.py", + "mode": "100644", + "type": "blob", + "sha": "c81d3503de3f922533b1534e592770ee6b242228", + "size": 138326, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c81d3503de3f922533b1534e592770ee6b242228" + }, + { + "path": "comfy_api_nodes/nodes_krea.py", + "mode": "100644", + "type": "blob", + "sha": "b9e6268f2bd41baf9e9deb7ac19de937b2dd5ea3", + "size": 10981, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b9e6268f2bd41baf9e9deb7ac19de937b2dd5ea3" + }, + { + "path": "comfy_api_nodes/nodes_ltxv.py", + "mode": "100644", + "type": "blob", + "sha": "878e04b4e92427e0dc428e7274a17d8cf1167799", + "size": 7271, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/878e04b4e92427e0dc428e7274a17d8cf1167799" + }, + { + "path": "comfy_api_nodes/nodes_luma.py", + "mode": "100644", + "type": "blob", + "sha": "0d31ac77e65e0b5b4fd03c096e7d33b7f29804e9", + "size": 34809, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d31ac77e65e0b5b4fd03c096e7d33b7f29804e9" + }, + { + "path": "comfy_api_nodes/nodes_magnific.py", + "mode": "100644", + "type": "blob", + "sha": "4ce4735df1363e2d622cc233239717a3e5dfeaed", + "size": 39403, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ce4735df1363e2d622cc233239717a3e5dfeaed" + }, + { + "path": "comfy_api_nodes/nodes_meshy.py", + "mode": "100644", + "type": "blob", + "sha": "3a24f109556e4d46572479944e4445b73919c9be", + "size": 34151, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3a24f109556e4d46572479944e4445b73919c9be" + }, + { + "path": "comfy_api_nodes/nodes_minimax.py", + "mode": "100644", + "type": "blob", + "sha": "6250af1467ccd614e8cb55332cb1432c69f72cec", + "size": 16024, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6250af1467ccd614e8cb55332cb1432c69f72cec" + }, + { + "path": "comfy_api_nodes/nodes_openai.py", + "mode": "100644", + "type": "blob", + "sha": "ad62f216457aa32139e6fc3d99edc4b2db9eb474", + "size": 51949, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ad62f216457aa32139e6fc3d99edc4b2db9eb474" + }, + { + "path": "comfy_api_nodes/nodes_openrouter.py", + "mode": "100644", + "type": "blob", + "sha": "ba98133f0b609aa2a8156fa09a7dd8ba5949bbdc", + "size": 14196, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ba98133f0b609aa2a8156fa09a7dd8ba5949bbdc" + }, + { + "path": "comfy_api_nodes/nodes_pixverse.py", + "mode": "100644", + "type": "blob", + "sha": "4c8b723b90050ebeddbee9300831e050a9adf912", + "size": 16512, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4c8b723b90050ebeddbee9300831e050a9adf912" + }, + { + "path": "comfy_api_nodes/nodes_quiver.py", + "mode": "100644", + "type": "blob", + "sha": "34929fa0ca95ad13a918a0b1104a9efabf981232", + "size": 9692, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/34929fa0ca95ad13a918a0b1104a9efabf981232" + }, + { + "path": "comfy_api_nodes/nodes_recraft.py", + "mode": "100644", + "type": "blob", + "sha": "c44942f500e6c1d7f2938b294081fe6d62b3affa", + "size": 49642, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c44942f500e6c1d7f2938b294081fe6d62b3affa" + }, + { + "path": "comfy_api_nodes/nodes_reve.py", + "mode": "100644", + "type": "blob", + "sha": "177349a8b9197fc5229d48580965f499660685aa", + "size": 15665, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/177349a8b9197fc5229d48580965f499660685aa" + }, + { + "path": "comfy_api_nodes/nodes_rodin.py", + "mode": "100644", + "type": "blob", + "sha": "0375a2123ed2a37caa521b79e2bce4d5d7750837", + "size": 37943, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0375a2123ed2a37caa521b79e2bce4d5d7750837" + }, + { + "path": "comfy_api_nodes/nodes_runway.py", + "mode": "100644", + "type": "blob", + "sha": "013a193d92ef12c243cfd5ba2e3087d8da967aa1", + "size": 32995, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/013a193d92ef12c243cfd5ba2e3087d8da967aa1" + }, + { + "path": "comfy_api_nodes/nodes_sonilo.py", + "mode": "100644", + "type": "blob", + "sha": "d146f63ea41e44f8df0dac4b5e897f6e2ee9a036", + "size": 10641, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d146f63ea41e44f8df0dac4b5e897f6e2ee9a036" + }, + { + "path": "comfy_api_nodes/nodes_sora.py", + "mode": "100644", + "type": "blob", + "sha": "4ff1d649f1b80e367276bc895c1c7042f42715a8", + "size": 5831, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ff1d649f1b80e367276bc895c1c7042f42715a8" + }, + { + "path": "comfy_api_nodes/nodes_stability.py", + "mode": "100644", + "type": "blob", + "sha": "9eaba173b2f038a517f5878964e656eb1f46307e", + "size": 33040, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9eaba173b2f038a517f5878964e656eb1f46307e" + }, + { + "path": "comfy_api_nodes/nodes_topaz.py", + "mode": "100644", + "type": "blob", + "sha": "f7ef4cbf68cdd39c355a6ebb86549804730b084d", + "size": 35553, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7ef4cbf68cdd39c355a6ebb86549804730b084d" + }, + { + "path": "comfy_api_nodes/nodes_tripo.py", + "mode": "100644", + "type": "blob", + "sha": "228fe8a1d7507b2838582d3be60e44c7e56a30f0", + "size": 56017, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/228fe8a1d7507b2838582d3be60e44c7e56a30f0" + }, + { + "path": "comfy_api_nodes/nodes_veo2.py", + "mode": "100644", + "type": "blob", + "sha": "ed34e928b150e51df75ee6fa8f0b32ea99582dea", + "size": 24483, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ed34e928b150e51df75ee6fa8f0b32ea99582dea" + }, + { + "path": "comfy_api_nodes/nodes_vidu.py", + "mode": "100644", + "type": "blob", + "sha": "8c5a43f5bcf92d445b62895c957fb0cde79dbd88", + "size": 65944, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c5a43f5bcf92d445b62895c957fb0cde79dbd88" + }, + { + "path": "comfy_api_nodes/nodes_wan.py", + "mode": "100644", + "type": "blob", + "sha": "b7b97d70f10a9180081b735270716caa68caf8e0", + "size": 88927, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b7b97d70f10a9180081b735270716caa68caf8e0" + }, + { + "path": "comfy_api_nodes/nodes_wavespeed.py", + "mode": "100644", + "type": "blob", + "sha": "5839f9d37b3980fc74fe09e8987ede04116ae755", + "size": 6553, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5839f9d37b3980fc74fe09e8987ede04116ae755" + }, + { + "path": "comfy_api_nodes/util", + "mode": "040000", + "type": "tree", + "sha": "969b2ef380ea9d613d3661df2774c96a15768221", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/969b2ef380ea9d613d3661df2774c96a15768221" + }, + { + "path": "comfy_api_nodes/util/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "25cb88869403581cacabc4aebafc15876982061f", + "size": 3250, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/25cb88869403581cacabc4aebafc15876982061f" + }, + { + "path": "comfy_api_nodes/util/_helpers.py", + "mode": "100644", + "type": "blob", + "sha": "83cf7b0013c94daf9bfa0abf721dea979a963b69", + "size": 4271, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/83cf7b0013c94daf9bfa0abf721dea979a963b69" + }, + { + "path": "comfy_api_nodes/util/client.py", + "mode": "100644", + "type": "blob", + "sha": "adcde7bcbd49c592adc2943c5a6d25e7246f08a7", + "size": 41527, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/adcde7bcbd49c592adc2943c5a6d25e7246f08a7" + }, + { + "path": "comfy_api_nodes/util/common_exceptions.py", + "mode": "100644", + "type": "blob", + "sha": "0606a440700752778b4e7663545a875e31c7125c", + "size": 482, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0606a440700752778b4e7663545a875e31c7125c" + }, + { + "path": "comfy_api_nodes/util/conversions.py", + "mode": "100644", + "type": "blob", + "sha": "a1b5d599cea2460664b20bbe3e06f4dfac356eea", + "size": 24225, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a1b5d599cea2460664b20bbe3e06f4dfac356eea" + }, + { + "path": "comfy_api_nodes/util/download_helpers.py", + "mode": "100644", + "type": "blob", + "sha": "0ec3c6e6648d2135af02e902fbf9ecbda1267a11", + "size": 11095, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0ec3c6e6648d2135af02e902fbf9ecbda1267a11" + }, + { + "path": "comfy_api_nodes/util/request_logger.py", + "mode": "100644", + "type": "blob", + "sha": "fe0543d9bc056aee3477a4e0d371bb1df7d94afb", + "size": 6612, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fe0543d9bc056aee3477a4e0d371bb1df7d94afb" + }, + { + "path": "comfy_api_nodes/util/upload_helpers.py", + "mode": "100644", + "type": "blob", + "sha": "6d1d107a18efa7664587286f721286d486ac0fb1", + "size": 13870, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6d1d107a18efa7664587286f721286d486ac0fb1" + }, + { + "path": "comfy_api_nodes/util/validation_utils.py", + "mode": "100644", + "type": "blob", + "sha": "f01edea964a5bae8359fb9682e8642182bd9aec5", + "size": 9083, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f01edea964a5bae8359fb9682e8642182bd9aec5" + }, + { + "path": "comfy_config", + "mode": "040000", + "type": "tree", + "sha": "0ef856f430484cfd2fb39a472d067426fc607341", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0ef856f430484cfd2fb39a472d067426fc607341" + }, + { + "path": "comfy_config/config_parser.py", + "mode": "100644", + "type": "blob", + "sha": "8da7bd901f421f3aaa5b620c9595313c30585ae1", + "size": 5781, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8da7bd901f421f3aaa5b620c9595313c30585ae1" + }, + { + "path": "comfy_config/types.py", + "mode": "100644", + "type": "blob", + "sha": "59448466b2cb6725c622fea1151f51e521d850fc", + "size": 3016, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/59448466b2cb6725c622fea1151f51e521d850fc" + }, + { + "path": "comfy_execution", + "mode": "040000", + "type": "tree", + "sha": "2d21e02db2a91aaa27af2434354eeee3802274f6", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/2d21e02db2a91aaa27af2434354eeee3802274f6" + }, + { + "path": "comfy_execution/asset_enrichment.py", + "mode": "100644", + "type": "blob", + "sha": "38e9496a884bc67d8366ee75f28997442c2b2fea", + "size": 2816, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/38e9496a884bc67d8366ee75f28997442c2b2fea" + }, + { + "path": "comfy_execution/cache_provider.py", + "mode": "100644", + "type": "blob", + "sha": "d455d08e8ea23e88982615d99804a66ef6c57d6b", + "size": 4846, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d455d08e8ea23e88982615d99804a66ef6c57d6b" + }, + { + "path": "comfy_execution/caching.py", + "mode": "100644", + "type": "blob", + "sha": "ba1e8bc84efc6cedcef2d0bfb90f18b9888139bb", + "size": 21076, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ba1e8bc84efc6cedcef2d0bfb90f18b9888139bb" + }, + { + "path": "comfy_execution/graph.py", + "mode": "100644", + "type": "blob", + "sha": "479ee8a53b87c79254ab167bf23547dfe62b774e", + "size": 14366, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/479ee8a53b87c79254ab167bf23547dfe62b774e" + }, + { + "path": "comfy_execution/graph_utils.py", + "mode": "100644", + "type": "blob", + "sha": "496d2c634982aa5afc8d58b9db758f97b3b5c2d8", + "size": 5626, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/496d2c634982aa5afc8d58b9db758f97b3b5c2d8" + }, + { + "path": "comfy_execution/jobs.py", + "mode": "100644", + "type": "blob", + "sha": "20ebae15585dde3ff409190debee6d9e62d2ce93", + "size": 14228, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/20ebae15585dde3ff409190debee6d9e62d2ce93" + }, + { + "path": "comfy_execution/progress.py", + "mode": "100644", + "type": "blob", + "sha": "731b8dc6630b4877fc2a9d65f7fc42c8e81e0990", + "size": 11787, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/731b8dc6630b4877fc2a9d65f7fc42c8e81e0990" + }, + { + "path": "comfy_execution/utils.py", + "mode": "100644", + "type": "blob", + "sha": "62d32f1013df633889b59d2207154d1cbbbfe347", + "size": 1529, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/62d32f1013df633889b59d2207154d1cbbbfe347" + }, + { + "path": "comfy_execution/validation.py", + "mode": "100644", + "type": "blob", + "sha": "ae9a2376ce93b1402774c8c39c131ce092532988", + "size": 2532, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ae9a2376ce93b1402774c8c39c131ce092532988" + }, + { + "path": "comfy_extras", + "mode": "040000", + "type": "tree", + "sha": "91ce7e2f75434bf073c2f6a0ed8e1d66e893a261", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/91ce7e2f75434bf073c2f6a0ed8e1d66e893a261" + }, + { + "path": "comfy_extras/chainner_models", + "mode": "040000", + "type": "tree", + "sha": "abf26dd920477463c2e68c7f63839151df973a7c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/abf26dd920477463c2e68c7f63839151df973a7c" + }, + { + "path": "comfy_extras/chainner_models/model_loading.py", + "mode": "100644", + "type": "blob", + "sha": "1bec4476f6171e9f1b2a4a3b967fc63bbf9e9c3c", + "size": 260, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1bec4476f6171e9f1b2a4a3b967fc63bbf9e9c3c" + }, + { + "path": "comfy_extras/frame_interpolation_models", + "mode": "040000", + "type": "tree", + "sha": "69dd4a76a7dff29e40ad6345716557c153f299ac", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/69dd4a76a7dff29e40ad6345716557c153f299ac" + }, + { + "path": "comfy_extras/frame_interpolation_models/film_net.py", + "mode": "100644", + "type": "blob", + "sha": "36bc79dc3c0d535875ee48123e8239a75ca016da", + "size": 12302, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/36bc79dc3c0d535875ee48123e8239a75ca016da" + }, + { + "path": "comfy_extras/frame_interpolation_models/ifnet.py", + "mode": "100644", + "type": "blob", + "sha": "ad6edbec91af8f84d9539408014758e3f9dd78da", + "size": 6114, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ad6edbec91af8f84d9539408014758e3f9dd78da" + }, + { + "path": "comfy_extras/mediapipe", + "mode": "040000", + "type": "tree", + "sha": "369545ec791c5e63e096bbb09294f473e563051a", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/369545ec791c5e63e096bbb09294f473e563051a" + }, + { + "path": "comfy_extras/mediapipe/face_geometry.py", + "mode": "100644", + "type": "blob", + "sha": "4f3813430b4f82a3706c502a0cdf02ac8cba6e9f", + "size": 4686, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4f3813430b4f82a3706c502a0cdf02ac8cba6e9f" + }, + { + "path": "comfy_extras/mediapipe/face_landmarker.py", + "mode": "100644", + "type": "blob", + "sha": "e6b463c4c60774b60aa43efde5f4346c8d443bd8", + "size": 33949, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e6b463c4c60774b60aa43efde5f4346c8d443bd8" + }, + { + "path": "comfy_extras/nodes_ace.py", + "mode": "100644", + "type": "blob", + "sha": "044077b18ea3cdca6a7feec6c355048a67f63673", + "size": 7179, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/044077b18ea3cdca6a7feec6c355048a67f63673" + }, + { + "path": "comfy_extras/nodes_advanced_samplers.py", + "mode": "100644", + "type": "blob", + "sha": "77a561e30a72b511935c9999431a6e20a9bcdca5", + "size": 5863, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/77a561e30a72b511935c9999431a6e20a9bcdca5" + }, + { + "path": "comfy_extras/nodes_align_your_steps.py", + "mode": "100644", + "type": "blob", + "sha": "f89a809bbee5acf8dd9eea0dd62f346c1ac44c27", + "size": 2676, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f89a809bbee5acf8dd9eea0dd62f346c1ac44c27" + }, + { + "path": "comfy_extras/nodes_apg.py", + "mode": "100644", + "type": "blob", + "sha": "4a352038a272e4b18dff71db556beea5b5fa866c", + "size": 3669, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4a352038a272e4b18dff71db556beea5b5fa866c" + }, + { + "path": "comfy_extras/nodes_ar_video.py", + "mode": "100644", + "type": "blob", + "sha": "c22359eb268734ac5eff4901a18a9be83fa2ed73", + "size": 4862, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c22359eb268734ac5eff4901a18a9be83fa2ed73" + }, + { + "path": "comfy_extras/nodes_attention_multiply.py", + "mode": "100644", + "type": "blob", + "sha": "f4ee6a689edb2e073006959e3baf954c4df1787b", + "size": 6515, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f4ee6a689edb2e073006959e3baf954c4df1787b" + }, + { + "path": "comfy_extras/nodes_audio.py", + "mode": "100644", + "type": "blob", + "sha": "1dc97ecd762e4689869790ed75a4f205bc44bb25", + "size": 33237, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1dc97ecd762e4689869790ed75a4f205bc44bb25" + }, + { + "path": "comfy_extras/nodes_audio_encoder.py", + "mode": "100644", + "type": "blob", + "sha": "2ae30d321b937d4f2ad9a678fbca341426882ec6", + "size": 2109, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2ae30d321b937d4f2ad9a678fbca341426882ec6" + }, + { + "path": "comfy_extras/nodes_bernini.py", + "mode": "100644", + "type": "blob", + "sha": "227fa5753bdd92acb4b12f4bbe73d052a377fd27", + "size": 5947, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/227fa5753bdd92acb4b12f4bbe73d052a377fd27" + }, + { + "path": "comfy_extras/nodes_bg_removal.py", + "mode": "100644", + "type": "blob", + "sha": "c7b33a821720c5271354781d6c076b2b281d9d1e", + "size": 2337, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c7b33a821720c5271354781d6c076b2b281d9d1e" + }, + { + "path": "comfy_extras/nodes_camera_trajectory.py", + "mode": "100644", + "type": "blob", + "sha": "13a1448f442e3eff1446768c3ba19b945bed5ce8", + "size": 9776, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/13a1448f442e3eff1446768c3ba19b945bed5ce8" + }, + { + "path": "comfy_extras/nodes_canny.py", + "mode": "100644", + "type": "blob", + "sha": "462f6fea0d571e904e3b9e5ff442bdd3b800777e", + "size": 1726, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/462f6fea0d571e904e3b9e5ff442bdd3b800777e" + }, + { + "path": "comfy_extras/nodes_cfg.py", + "mode": "100644", + "type": "blob", + "sha": "b585c560f6a77ba4bb78f1e842a24a361a7f319e", + "size": 4485, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b585c560f6a77ba4bb78f1e842a24a361a7f319e" + }, + { + "path": "comfy_extras/nodes_chroma_radiance.py", + "mode": "100644", + "type": "blob", + "sha": "a4f673001f6bd373ac21665b64dd4799a1e68ef1", + "size": 4887, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a4f673001f6bd373ac21665b64dd4799a1e68ef1" + }, + { + "path": "comfy_extras/nodes_clip_sdxl.py", + "mode": "100644", + "type": "blob", + "sha": "7a001af6f214be23b86165c34d982f619c399ebf", + "size": 3139, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7a001af6f214be23b86165c34d982f619c399ebf" + }, + { + "path": "comfy_extras/nodes_color.py", + "mode": "100644", + "type": "blob", + "sha": "688254e4eb223e79c64126d4d5325d8fcbb23074", + "size": 1269, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/688254e4eb223e79c64126d4d5325d8fcbb23074" + }, + { + "path": "comfy_extras/nodes_compositing.py", + "mode": "100644", + "type": "blob", + "sha": "8fcbe720e7398d24d7dbc957787f68ec0d123713", + "size": 9149, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8fcbe720e7398d24d7dbc957787f68ec0d123713" + }, + { + "path": "comfy_extras/nodes_cond.py", + "mode": "100644", + "type": "blob", + "sha": "b745a43afda9bb39c504aa0f707283b3bedf8951", + "size": 2310, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b745a43afda9bb39c504aa0f707283b3bedf8951" + }, + { + "path": "comfy_extras/nodes_context_windows.py", + "mode": "100644", + "type": "blob", + "sha": "d9e32b9d98ac8e104ffe129a8c753cd844aaf501", + "size": 7571, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d9e32b9d98ac8e104ffe129a8c753cd844aaf501" + }, + { + "path": "comfy_extras/nodes_controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "17d96540522a0c63e2816c6a38b12a5f994c45c0", + "size": 3310, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/17d96540522a0c63e2816c6a38b12a5f994c45c0" + }, + { + "path": "comfy_extras/nodes_cosmos.py", + "mode": "100644", + "type": "blob", + "sha": "d754ab442cd5345fc328f6c1d4c83e5a30fed60d", + "size": 6609, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d754ab442cd5345fc328f6c1d4c83e5a30fed60d" + }, + { + "path": "comfy_extras/nodes_curve.py", + "mode": "100644", + "type": "blob", + "sha": "aa2d94bb6d497f2299293610cd34c222c5554ce3", + "size": 2715, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/aa2d94bb6d497f2299293610cd34c222c5554ce3" + }, + { + "path": "comfy_extras/nodes_custom_sampler.py", + "mode": "100644", + "type": "blob", + "sha": "3e97084a45e83df964d0f785d5a3c09da20d9b6f", + "size": 49598, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3e97084a45e83df964d0f785d5a3c09da20d9b6f" + }, + { + "path": "comfy_extras/nodes_dataset.py", + "mode": "100644", + "type": "blob", + "sha": "0253b4b4fcbf11c4d9e460691c2f3073ad122ee3", + "size": 59629, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0253b4b4fcbf11c4d9e460691c2f3073ad122ee3" + }, + { + "path": "comfy_extras/nodes_depth_anything_3.py", + "mode": "100644", + "type": "blob", + "sha": "02011251591d2ffa332cc0b023e0173e59f87218", + "size": 31421, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/02011251591d2ffa332cc0b023e0173e59f87218" + }, + { + "path": "comfy_extras/nodes_differential_diffusion.py", + "mode": "100644", + "type": "blob", + "sha": "4fa61ad0e5be031a1dd8cc08ee6bb1e7c040df48", + "size": 2534, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4fa61ad0e5be031a1dd8cc08ee6bb1e7c040df48" + }, + { + "path": "comfy_extras/nodes_easycache.py", + "mode": "100644", + "type": "blob", + "sha": "923c2bb05b9403c12ac0ce1227469dfafa0832a7", + "size": 27158, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/923c2bb05b9403c12ac0ce1227469dfafa0832a7" + }, + { + "path": "comfy_extras/nodes_edit_model.py", + "mode": "100644", + "type": "blob", + "sha": "36da66f34e1d19e54ed2ffc8338a232bf8879945", + "size": 1263, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/36da66f34e1d19e54ed2ffc8338a232bf8879945" + }, + { + "path": "comfy_extras/nodes_eps.py", + "mode": "100644", + "type": "blob", + "sha": "8c397f132a83907c5bd78a9d5bdbcac26aab01c0", + "size": 5892, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c397f132a83907c5bd78a9d5bdbcac26aab01c0" + }, + { + "path": "comfy_extras/nodes_flux.py", + "mode": "100644", + "type": "blob", + "sha": "ef1757ae56cbef2a0a24a96c676d6e96f06bc3b7", + "size": 10520, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ef1757ae56cbef2a0a24a96c676d6e96f06bc3b7" + }, + { + "path": "comfy_extras/nodes_frame_interpolation.py", + "mode": "100644", + "type": "blob", + "sha": "4d5bca17e7f618d636c7536a4a797efdaf5d75bc", + "size": 8677, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4d5bca17e7f618d636c7536a4a797efdaf5d75bc" + }, + { + "path": "comfy_extras/nodes_freelunch.py", + "mode": "100644", + "type": "blob", + "sha": "ccbd1fd905102fbe408d3bf764b653b13f3b431b", + "size": 5492, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ccbd1fd905102fbe408d3bf764b653b13f3b431b" + }, + { + "path": "comfy_extras/nodes_fresca.py", + "mode": "100644", + "type": "blob", + "sha": "173f421541b2f0f81b968dba276e27af96f1a476", + "size": 3976, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/173f421541b2f0f81b968dba276e27af96f1a476" + }, + { + "path": "comfy_extras/nodes_gaussian_splat.py", + "mode": "100644", + "type": "blob", + "sha": "116c14fde480aa0b480310e63afe2554695c5272", + "size": 95503, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/116c14fde480aa0b480310e63afe2554695c5272" + }, + { + "path": "comfy_extras/nodes_gits.py", + "mode": "100644", + "type": "blob", + "sha": "434a24387b41085edd8aa6109292144528618871", + "size": 46463, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/434a24387b41085edd8aa6109292144528618871" + }, + { + "path": "comfy_extras/nodes_glsl.py", + "mode": "100644", + "type": "blob", + "sha": "ea7420a734cf4f19838c745e61249bfa09666f10", + "size": 37257, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ea7420a734cf4f19838c745e61249bfa09666f10" + }, + { + "path": "comfy_extras/nodes_hidream.py", + "mode": "100644", + "type": "blob", + "sha": "e345fe51da1a651d2ea1640dbfcad8e4df487810", + "size": 2993, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e345fe51da1a651d2ea1640dbfcad8e4df487810" + }, + { + "path": "comfy_extras/nodes_hidream_o1.py", + "mode": "100644", + "type": "blob", + "sha": "8648d2e26814100722435c4535dd41f6c5f67ac6", + "size": 11365, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8648d2e26814100722435c4535dd41f6c5f67ac6" + }, + { + "path": "comfy_extras/nodes_hooks.py", + "mode": "100644", + "type": "blob", + "sha": "056369e8683e87aad53d4be800d54022489baaa7", + "size": 29120, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/056369e8683e87aad53d4be800d54022489baaa7" + }, + { + "path": "comfy_extras/nodes_hunyuan.py", + "mode": "100644", + "type": "blob", + "sha": "16fff12afbd850ab434ccb4e90e4b467bc3d0c87", + "size": 19980, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/16fff12afbd850ab434ccb4e90e4b467bc3d0c87" + }, + { + "path": "comfy_extras/nodes_hunyuan3d.py", + "mode": "100644", + "type": "blob", + "sha": "60e5306265896106b0bd39a6b21cc6e02bf7e788", + "size": 16904, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/60e5306265896106b0bd39a6b21cc6e02bf7e788" + }, + { + "path": "comfy_extras/nodes_hypernetwork.py", + "mode": "100644", + "type": "blob", + "sha": "2d3f1bd051ce1a5ecee163af0db44e8c45961b6d", + "size": 5105, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2d3f1bd051ce1a5ecee163af0db44e8c45961b6d" + }, + { + "path": "comfy_extras/nodes_hypertile.py", + "mode": "100644", + "type": "blob", + "sha": "2a96416be5c227fb836cb460b74db459a2d7a87c", + "size": 3439, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2a96416be5c227fb836cb460b74db459a2d7a87c" + }, + { + "path": "comfy_extras/nodes_ideogram4.py", + "mode": "100644", + "type": "blob", + "sha": "d5827db4f2600b1ca73cc4264e3135c535ed862f", + "size": 2275, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d5827db4f2600b1ca73cc4264e3135c535ed862f" + }, + { + "path": "comfy_extras/nodes_image_compare.py", + "mode": "100644", + "type": "blob", + "sha": "58af9ae82df44e534d172e15014ba02841232910", + "size": 1676, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/58af9ae82df44e534d172e15014ba02841232910" + }, + { + "path": "comfy_extras/nodes_images.py", + "mode": "100644", + "type": "blob", + "sha": "469a7be551284614092960938582ab60b763c390", + "size": 48525, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/469a7be551284614092960938582ab60b763c390" + }, + { + "path": "comfy_extras/nodes_ip2p.py", + "mode": "100644", + "type": "blob", + "sha": "9c80834f07ec606779c64a801d543a8b94b8f29a", + "size": 1970, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9c80834f07ec606779c64a801d543a8b94b8f29a" + }, + { + "path": "comfy_extras/nodes_kandinsky5.py", + "mode": "100644", + "type": "blob", + "sha": "015965498e9fe1aed04d206fe3cdc2a6e76b049c", + "size": 6200, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/015965498e9fe1aed04d206fe3cdc2a6e76b049c" + }, + { + "path": "comfy_extras/nodes_latent.py", + "mode": "100644", + "type": "blob", + "sha": "32da9e8acd5b7417de5f4c3f933d5bee23abc5df", + "size": 17462, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/32da9e8acd5b7417de5f4c3f933d5bee23abc5df" + }, + { + "path": "comfy_extras/nodes_load_3d.py", + "mode": "100644", + "type": "blob", + "sha": "455897859ec44adb02da9fab8ea3290d278f6891", + "size": 13252, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/455897859ec44adb02da9fab8ea3290d278f6891" + }, + { + "path": "comfy_extras/nodes_logic.py", + "mode": "100644", + "type": "blob", + "sha": "95f6ab848d3c8cf6a26f9995d39150f141cdd19c", + "size": 12402, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/95f6ab848d3c8cf6a26f9995d39150f141cdd19c" + }, + { + "path": "comfy_extras/nodes_lora_debug.py", + "mode": "100644", + "type": "blob", + "sha": "3f68064e5f9c1102bc49b7ca56c6605549835d57", + "size": 3230, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3f68064e5f9c1102bc49b7ca56c6605549835d57" + }, + { + "path": "comfy_extras/nodes_lora_extract.py", + "mode": "100644", + "type": "blob", + "sha": "bcd249c29a5a0a07d886f8da93c8c3b1343b4291", + "size": 5778, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bcd249c29a5a0a07d886f8da93c8c3b1343b4291" + }, + { + "path": "comfy_extras/nodes_lotus.py", + "mode": "100644", + "type": "blob", + "sha": "9fe4c5c7b74974a22151d8d1480d385f8d06a033", + "size": 34033, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9fe4c5c7b74974a22151d8d1480d385f8d06a033" + }, + { + "path": "comfy_extras/nodes_lt.py", + "mode": "100644", + "type": "blob", + "sha": "6d6078abe50686f996f85d0be3217a7ddc942a2e", + "size": 38641, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6d6078abe50686f996f85d0be3217a7ddc942a2e" + }, + { + "path": "comfy_extras/nodes_lt_audio.py", + "mode": "100644", + "type": "blob", + "sha": "052186083c822e8d967079682996e75a379b150d", + "size": 7608, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/052186083c822e8d967079682996e75a379b150d" + }, + { + "path": "comfy_extras/nodes_lt_upsampler.py", + "mode": "100644", + "type": "blob", + "sha": "be9a36e694f52963d74df261d3d0adec5a2654ce", + "size": 2666, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/be9a36e694f52963d74df261d3d0adec5a2654ce" + }, + { + "path": "comfy_extras/nodes_lumina2.py", + "mode": "100644", + "type": "blob", + "sha": "c060a86a0a910da804ea803191e0be387083aa81", + "size": 5541, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c060a86a0a910da804ea803191e0be387083aa81" + }, + { + "path": "comfy_extras/nodes_mahiro.py", + "mode": "100644", + "type": "blob", + "sha": "7bd5f6652881719341f4afc55a7981a098821fcb", + "size": 2041, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7bd5f6652881719341f4afc55a7981a098821fcb" + }, + { + "path": "comfy_extras/nodes_mask.py", + "mode": "100644", + "type": "blob", + "sha": "52484697ad0025ad2cd1380a5413355835dae81f", + "size": 16965, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/52484697ad0025ad2cd1380a5413355835dae81f" + }, + { + "path": "comfy_extras/nodes_math.py", + "mode": "100644", + "type": "blob", + "sha": "0883c65ac7826251a0966606cb7a4cef70d5d8ee", + "size": 3784, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0883c65ac7826251a0966606cb7a4cef70d5d8ee" + }, + { + "path": "comfy_extras/nodes_mediapipe.py", + "mode": "100644", + "type": "blob", + "sha": "343d88dbb9c8d8df2a019f8436fa8c896108770a", + "size": 23041, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/343d88dbb9c8d8df2a019f8436fa8c896108770a" + }, + { + "path": "comfy_extras/nodes_mochi.py", + "mode": "100644", + "type": "blob", + "sha": "3dcea6ab3ec3239f307a3758f587722055096a3b", + "size": 1373, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3dcea6ab3ec3239f307a3758f587722055096a3b" + }, + { + "path": "comfy_extras/nodes_model_advanced.py", + "mode": "100644", + "type": "blob", + "sha": "b27ac1296754d480848e8ea2bcf217c9ba9f1d2b", + "size": 13629, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b27ac1296754d480848e8ea2bcf217c9ba9f1d2b" + }, + { + "path": "comfy_extras/nodes_model_downscale.py", + "mode": "100644", + "type": "blob", + "sha": "8175424520db97d4a78ce4ac574043d35cd8c452", + "size": 2921, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8175424520db97d4a78ce4ac574043d35cd8c452" + }, + { + "path": "comfy_extras/nodes_model_merging.py", + "mode": "100644", + "type": "blob", + "sha": "b6b29e34a1c0443f028d92e35c0ec78994250b21", + "size": 13947, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b6b29e34a1c0443f028d92e35c0ec78994250b21" + }, + { + "path": "comfy_extras/nodes_model_merging_model_specific.py", + "mode": "100644", + "type": "blob", + "sha": "55eb3ccfeadd4dd824932503ce244ecedc815f26", + "size": 11580, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/55eb3ccfeadd4dd824932503ce244ecedc815f26" + }, + { + "path": "comfy_extras/nodes_model_patch.py", + "mode": "100644", + "type": "blob", + "sha": "bdccbf8c4cb34f0fa2718ae3d71ccb8b3f2be63b", + "size": 30114, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bdccbf8c4cb34f0fa2718ae3d71ccb8b3f2be63b" + }, + { + "path": "comfy_extras/nodes_moge.py", + "mode": "100644", + "type": "blob", + "sha": "a63f0414b408f99d0a3eea9c43438a7934765de5", + "size": 19487, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a63f0414b408f99d0a3eea9c43438a7934765de5" + }, + { + "path": "comfy_extras/nodes_morphology.py", + "mode": "100644", + "type": "blob", + "sha": "0142040ddea887a02dc4b1040dd835318136d34f", + "size": 4068, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0142040ddea887a02dc4b1040dd835318136d34f" + }, + { + "path": "comfy_extras/nodes_multigpu.py", + "mode": "100644", + "type": "blob", + "sha": "d2f6fe67a08fe0a7df917bb6a821ae576a43ee4b", + "size": 17365, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d2f6fe67a08fe0a7df917bb6a821ae576a43ee4b" + }, + { + "path": "comfy_extras/nodes_nag.py", + "mode": "100644", + "type": "blob", + "sha": "b571818486f123b535e80d9d858d2708a252b599", + "size": 4266, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b571818486f123b535e80d9d858d2708a252b599" + }, + { + "path": "comfy_extras/nodes_nop.py", + "mode": "100644", + "type": "blob", + "sha": "f9c1357c3050972a7a468b8f2439239d28fc7676", + "size": 1411, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f9c1357c3050972a7a468b8f2439239d28fc7676" + }, + { + "path": "comfy_extras/nodes_number_convert.py", + "mode": "100644", + "type": "blob", + "sha": "d7e557e95b9ef167fc7705b8325603c315c11754", + "size": 2849, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d7e557e95b9ef167fc7705b8325603c315c11754" + }, + { + "path": "comfy_extras/nodes_optimalsteps.py", + "mode": "100644", + "type": "blob", + "sha": "19629790f77c01c78bbdb47e06ccd26994769ea7", + "size": 2475, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/19629790f77c01c78bbdb47e06ccd26994769ea7" + }, + { + "path": "comfy_extras/nodes_pag.py", + "mode": "100644", + "type": "blob", + "sha": "c875e1e06b54ecd3d1057b35e56c8e7b22bf1082", + "size": 2179, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c875e1e06b54ecd3d1057b35e56c8e7b22bf1082" + }, + { + "path": "comfy_extras/nodes_painter.py", + "mode": "100644", + "type": "blob", + "sha": "df7a0b76a5eaf430693c0bded05827a88d044e02", + "size": 4089, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/df7a0b76a5eaf430693c0bded05827a88d044e02" + }, + { + "path": "comfy_extras/nodes_perpneg.py", + "mode": "100644", + "type": "blob", + "sha": "a7a72d1bc8afc0faf1be7c2130d4b71a0cb5c010", + "size": 6597, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a7a72d1bc8afc0faf1be7c2130d4b71a0cb5c010" + }, + { + "path": "comfy_extras/nodes_photomaker.py", + "mode": "100644", + "type": "blob", + "sha": "8a224857239bb3c92be12d6bcf8d129c9a38e7eb", + "size": 8099, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8a224857239bb3c92be12d6bcf8d129c9a38e7eb" + }, + { + "path": "comfy_extras/nodes_pid.py", + "mode": "100644", + "type": "blob", + "sha": "71855254e65b42496c4e2feba711019339f60530", + "size": 2587, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/71855254e65b42496c4e2feba711019339f60530" + }, + { + "path": "comfy_extras/nodes_pixart.py", + "mode": "100644", + "type": "blob", + "sha": "2f1b73e60171ffd7670481c24e3ab72a1a0ac7f2", + "size": 1489, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2f1b73e60171ffd7670481c24e3ab72a1a0ac7f2" + }, + { + "path": "comfy_extras/nodes_post_processing.py", + "mode": "100644", + "type": "blob", + "sha": "3e440433e606d038a9bcf3c7aac7da88d030035d", + "size": 40621, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3e440433e606d038a9bcf3c7aac7da88d030035d" + }, + { + "path": "comfy_extras/nodes_preview_any.py", + "mode": "100644", + "type": "blob", + "sha": "1070a69d0f5396f6c597ee5dc77a2b47e7acbd40", + "size": 1395, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1070a69d0f5396f6c597ee5dc77a2b47e7acbd40" + }, + { + "path": "comfy_extras/nodes_primitive.py", + "mode": "100644", + "type": "blob", + "sha": "c44b0909825ea7769e3412041963a2c12d2e5b09", + "size": 3107, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c44b0909825ea7769e3412041963a2c12d2e5b09" + }, + { + "path": "comfy_extras/nodes_qwen.py", + "mode": "100644", + "type": "blob", + "sha": "5b92814a4240857a5729c518fd18117f4665292c", + "size": 6004, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5b92814a4240857a5729c518fd18117f4665292c" + }, + { + "path": "comfy_extras/nodes_rebatch.py", + "mode": "100644", + "type": "blob", + "sha": "2185385f093a683d3b3a85ad6133b50755425604", + "size": 5661, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2185385f093a683d3b3a85ad6133b50755425604" + }, + { + "path": "comfy_extras/nodes_replacements.py", + "mode": "100644", + "type": "blob", + "sha": "7684e854cf1f1dde44540528e2edaf6f5bfe41bf", + "size": 3888, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7684e854cf1f1dde44540528e2edaf6f5bfe41bf" + }, + { + "path": "comfy_extras/nodes_resolution.py", + "mode": "100644", + "type": "blob", + "sha": "083e47ae46df249feac63089092c0205620e074e", + "size": 3233, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/083e47ae46df249feac63089092c0205620e074e" + }, + { + "path": "comfy_extras/nodes_rope.py", + "mode": "100644", + "type": "blob", + "sha": "808eee29bf669ba25f6b615678bc8f0c74c83e7e", + "size": 1642, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/808eee29bf669ba25f6b615678bc8f0c74c83e7e" + }, + { + "path": "comfy_extras/nodes_rtdetr.py", + "mode": "100644", + "type": "blob", + "sha": "653f3af2f248f5895ab82da1c7dbe3519dc94fd6", + "size": 6307, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/653f3af2f248f5895ab82da1c7dbe3519dc94fd6" + }, + { + "path": "comfy_extras/nodes_sag.py", + "mode": "100644", + "type": "blob", + "sha": "9dbf1b6f90c17c4f8d566edf19e082b1e0d01d82", + "size": 6597, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9dbf1b6f90c17c4f8d566edf19e082b1e0d01d82" + }, + { + "path": "comfy_extras/nodes_sam3.py", + "mode": "100644", + "type": "blob", + "sha": "f88aec9251c3c23f434c62108c87d297e96d5774", + "size": 26140, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f88aec9251c3c23f434c62108c87d297e96d5774" + }, + { + "path": "comfy_extras/nodes_save_3d.py", + "mode": "100644", + "type": "blob", + "sha": "1b6592bb25e98654080c80008ba7a6db772b0b49", + "size": 16360, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1b6592bb25e98654080c80008ba7a6db772b0b49" + }, + { + "path": "comfy_extras/nodes_scail.py", + "mode": "100644", + "type": "blob", + "sha": "bba0942d7ed4046bd13adde661bf8c2a43a1ccc2", + "size": 17933, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bba0942d7ed4046bd13adde661bf8c2a43a1ccc2" + }, + { + "path": "comfy_extras/nodes_sd3.py", + "mode": "100644", + "type": "blob", + "sha": "38cbf117baa3be4ea7248b1afb967d5d8824b75f", + "size": 8175, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/38cbf117baa3be4ea7248b1afb967d5d8824b75f" + }, + { + "path": "comfy_extras/nodes_sdpose.py", + "mode": "100644", + "type": "blob", + "sha": "20d459b008dba9c883edeace34c1c107ddb792b0", + "size": 34443, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/20d459b008dba9c883edeace34c1c107ddb792b0" + }, + { + "path": "comfy_extras/nodes_sdupscale.py", + "mode": "100644", + "type": "blob", + "sha": "ea283e971834053c88759f5dd74c4047ea772a0d", + "size": 2165, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ea283e971834053c88759f5dd74c4047ea772a0d" + }, + { + "path": "comfy_extras/nodes_slg.py", + "mode": "100644", + "type": "blob", + "sha": "8cc1f551ec5bf2f542cd3fa5025df2add0ed3630", + "size": 7161, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8cc1f551ec5bf2f542cd3fa5025df2add0ed3630" + }, + { + "path": "comfy_extras/nodes_stable3d.py", + "mode": "100644", + "type": "blob", + "sha": "8a6e5b726bec96d85366ec41f8e745604307fe1f", + "size": 7673, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8a6e5b726bec96d85366ec41f8e745604307fe1f" + }, + { + "path": "comfy_extras/nodes_stable_cascade.py", + "mode": "100644", + "type": "blob", + "sha": "e55f248aef277ee4a28574c20eabab3584e5c903", + "size": 5585, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e55f248aef277ee4a28574c20eabab3584e5c903" + }, + { + "path": "comfy_extras/nodes_string.py", + "mode": "100644", + "type": "blob", + "sha": "97485c8c5edb879da50112a66ae050ad5026c172", + "size": 15383, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/97485c8c5edb879da50112a66ae050ad5026c172" + }, + { + "path": "comfy_extras/nodes_tcfg.py", + "mode": "100644", + "type": "blob", + "sha": "1a6767770ee091c1a05eef0af9a8ca667b0c72dd", + "size": 2695, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1a6767770ee091c1a05eef0af9a8ca667b0c72dd" + }, + { + "path": "comfy_extras/nodes_textgen.py", + "mode": "100644", + "type": "blob", + "sha": "d52faf815683bcb4c09bdaa2909e3698003c8547", + "size": 13507, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d52faf815683bcb4c09bdaa2909e3698003c8547" + }, + { + "path": "comfy_extras/nodes_tomesd.py", + "mode": "100644", + "type": "blob", + "sha": "3667fac3acd5b51380e7c8c55bee67181b8e0c3e", + "size": 7061, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3667fac3acd5b51380e7c8c55bee67181b8e0c3e" + }, + { + "path": "comfy_extras/nodes_toolkit.py", + "mode": "100644", + "type": "blob", + "sha": "9f709bbe397d5fe3edc863910f6aaff7000ebdff", + "size": 1422, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9f709bbe397d5fe3edc863910f6aaff7000ebdff" + }, + { + "path": "comfy_extras/nodes_torch_compile.py", + "mode": "100644", + "type": "blob", + "sha": "d4506b1a9c0d9893215782c0f6f14496f2fda797", + "size": 1352, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d4506b1a9c0d9893215782c0f6f14496f2fda797" + }, + { + "path": "comfy_extras/nodes_train.py", + "mode": "100644", + "type": "blob", + "sha": "bb68da6fa044e5c8bf5afbd568b042eba60602c8", + "size": 53603, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bb68da6fa044e5c8bf5afbd568b042eba60602c8" + }, + { + "path": "comfy_extras/nodes_triposplat.py", + "mode": "100644", + "type": "blob", + "sha": "1848ad31ae98017d84ba8e6db3a8d4f45ea41a9c", + "size": 13686, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1848ad31ae98017d84ba8e6db3a8d4f45ea41a9c" + }, + { + "path": "comfy_extras/nodes_upscale_model.py", + "mode": "100644", + "type": "blob", + "sha": "1cf5a5d018027b58e68f3b8f724404444df1d8f0", + "size": 4255, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1cf5a5d018027b58e68f3b8f724404444df1d8f0" + }, + { + "path": "comfy_extras/nodes_video.py", + "mode": "100644", + "type": "blob", + "sha": "050a897dd9fdeb482756845682520db0649589c0", + "size": 12030, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/050a897dd9fdeb482756845682520db0649589c0" + }, + { + "path": "comfy_extras/nodes_video_model.py", + "mode": "100644", + "type": "blob", + "sha": "0d6cae6a86407da5628946899bc3da7ac982d42e", + "size": 7696, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d6cae6a86407da5628946899bc3da7ac982d42e" + }, + { + "path": "comfy_extras/nodes_void.py", + "mode": "100644", + "type": "blob", + "sha": "b43154b8d23391adcab569e481530f78adb7303e", + "size": 18509, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b43154b8d23391adcab569e481530f78adb7303e" + }, + { + "path": "comfy_extras/nodes_wan.py", + "mode": "100644", + "type": "blob", + "sha": "d73be8e007007d65d88940fcf8c07d7cd97e065d", + "size": 75522, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d73be8e007007d65d88940fcf8c07d7cd97e065d" + }, + { + "path": "comfy_extras/nodes_wandancer.py", + "mode": "100644", + "type": "blob", + "sha": "a9688574561e08f3833d5eab1a10260047141779", + "size": 38995, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a9688574561e08f3833d5eab1a10260047141779" + }, + { + "path": "comfy_extras/nodes_wanmove.py", + "mode": "100644", + "type": "blob", + "sha": "2db064922137b474542e5b6a8589e799882f1fc7", + "size": 23997, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2db064922137b474542e5b6a8589e799882f1fc7" + }, + { + "path": "comfy_extras/nodes_webcam.py", + "mode": "100644", + "type": "blob", + "sha": "6349ac017afcece4442c63c8ce17ad7ae659c0fa", + "size": 1068, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6349ac017afcece4442c63c8ce17ad7ae659c0fa" + }, + { + "path": "comfy_extras/nodes_zimage.py", + "mode": "100644", + "type": "blob", + "sha": "70ddc4afa8606faf5aacc8d516680b9145bdf1c0", + "size": 3595, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/70ddc4afa8606faf5aacc8d516680b9145bdf1c0" + }, + { + "path": "comfy_extras/void_noise_warp.py", + "mode": "100644", + "type": "blob", + "sha": "fcc9a5f8b705e90bf9518368cf94793e32f56b45", + "size": 19192, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fcc9a5f8b705e90bf9518368cf94793e32f56b45" + }, + { + "path": "comfyui_version.py", + "mode": "100644", + "type": "blob", + "sha": "cee317f3d4e7f608d388b806372edd59e55ff9e3", + "size": 128, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cee317f3d4e7f608d388b806372edd59e55ff9e3" + }, + { + "path": "cuda_malloc.py", + "mode": "100644", + "type": "blob", + "sha": "8c4422db82ed75b9a16be10920301ea92a5a90b4", + "size": 4182, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c4422db82ed75b9a16be10920301ea92a5a90b4" + }, + { + "path": "custom_nodes", + "mode": "040000", + "type": "tree", + "sha": "8141b1bcb87f725dd777be0f5e6ee1cb065eda45", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8141b1bcb87f725dd777be0f5e6ee1cb065eda45" + }, + { + "path": "custom_nodes/example_node.py.example", + "mode": "100644", + "type": "blob", + "sha": "779c35787ea8a3f3e13f0383702106b85fe3f2f5", + "size": 5151, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/779c35787ea8a3f3e13f0383702106b85fe3f2f5" + }, + { + "path": "custom_nodes/websocket_image_save.py", + "mode": "100644", + "type": "blob", + "sha": "6a8646d0e23888a3f93dcbff59f26000c564e5b9", + "size": 1301, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6a8646d0e23888a3f93dcbff59f26000c564e5b9" + }, + { + "path": "execution.py", + "mode": "100644", + "type": "blob", + "sha": "9e16e451d8a7fb9278d51f286d0d24e8f5d6531d", + "size": 59637, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9e16e451d8a7fb9278d51f286d0d24e8f5d6531d" + }, + { + "path": "extra_model_paths.yaml.example", + "mode": "100644", + "type": "blob", + "sha": "9c395c0b2d5694930a7e5b21903f6c254fc02885", + "size": 1887, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9c395c0b2d5694930a7e5b21903f6c254fc02885" + }, + { + "path": "folder_paths.py", + "mode": "100644", + "type": "blob", + "sha": "7304e1b7399da0eb080153336e03c8ab8a9f6c1f", + "size": 19223, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7304e1b7399da0eb080153336e03c8ab8a9f6c1f" + }, + { + "path": "hook_breaker_ac10a0.py", + "mode": "100644", + "type": "blob", + "sha": "c3e1c063382760535cee82e8bfcbc85d17e2cce4", + "size": 366, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c3e1c063382760535cee82e8bfcbc85d17e2cce4" + }, + { + "path": "input", + "mode": "040000", + "type": "tree", + "sha": "c5e3994a5e5b4363b882b74594a36fade2ff2515", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/c5e3994a5e5b4363b882b74594a36fade2ff2515" + }, + { + "path": "input/example.png", + "mode": "100644", + "type": "blob", + "sha": "7b7f3c9cbbe6d8750c4a9eaf65d6ae4d2f108f79", + "size": 8589, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7b7f3c9cbbe6d8750c4a9eaf65d6ae4d2f108f79" + }, + { + "path": "latent_preview.py", + "mode": "100644", + "type": "blob", + "sha": "a9d777661a830500c30f5a4d5fc45aff4945ff69", + "size": 5764, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a9d777661a830500c30f5a4d5fc45aff4945ff69" + }, + { + "path": "main.py", + "mode": "100644", + "type": "blob", + "sha": "82f2bab64c1e659539e258049780672d414edce1", + "size": 23447, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/82f2bab64c1e659539e258049780672d414edce1" + }, + { + "path": "manager_requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "13786bb355c1f251c3e5dfa03dfff6320e78f700", + "size": 23, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/13786bb355c1f251c3e5dfa03dfff6320e78f700" + }, + { + "path": "middleware", + "mode": "040000", + "type": "tree", + "sha": "77813aa4a707751c87426330808f878e5b73ffbc", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/77813aa4a707751c87426330808f878e5b73ffbc" + }, + { + "path": "middleware/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "2d7c7c3a9024de7be424d51aa2b729fd5a715a86", + "size": 32, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2d7c7c3a9024de7be424d51aa2b729fd5a715a86" + }, + { + "path": "middleware/cache_middleware.py", + "mode": "100644", + "type": "blob", + "sha": "7a18821b0723ed1a5921cb5893495f24a0847560", + "size": 1706, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7a18821b0723ed1a5921cb5893495f24a0847560" + }, + { + "path": "models", + "mode": "040000", + "type": "tree", + "sha": "8a6c687210cea8185715feb7347fc6c28f83b351", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8a6c687210cea8185715feb7347fc6c28f83b351" + }, + { + "path": "models/audio_encoders", + "mode": "040000", + "type": "tree", + "sha": "86843fa99e9989ccb1fdd818a5834abcd1a2599c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/86843fa99e9989ccb1fdd818a5834abcd1a2599c" + }, + { + "path": "models/audio_encoders/put_audio_encoder_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/background_removal", + "mode": "040000", + "type": "tree", + "sha": "daedf83465776c53b3ba4ea93d317a6d92546a4b", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/daedf83465776c53b3ba4ea93d317a6d92546a4b" + }, + { + "path": "models/background_removal/put_background_removal_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/checkpoints", + "mode": "040000", + "type": "tree", + "sha": "25672fbdfed73fb4f237f0b4eee275a20619514c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/25672fbdfed73fb4f237f0b4eee275a20619514c" + }, + { + "path": "models/checkpoints/put_checkpoints_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/clip", + "mode": "040000", + "type": "tree", + "sha": "0f737c81be44fdb71bf4dd79cd502df792ae8419", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0f737c81be44fdb71bf4dd79cd502df792ae8419" + }, + { + "path": "models/clip/put_clip_or_text_encoder_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/clip_vision", + "mode": "040000", + "type": "tree", + "sha": "7106e9d1171ada573be2f99c3072c03fa37b667f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7106e9d1171ada573be2f99c3072c03fa37b667f" + }, + { + "path": "models/clip_vision/put_clip_vision_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/configs", + "mode": "040000", + "type": "tree", + "sha": "7b584405486c2b92996c337e193ad334e47313db", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7b584405486c2b92996c337e193ad334e47313db" + }, + { + "path": "models/configs/anything_v3.yaml", + "mode": "100644", + "type": "blob", + "sha": "8bcfe584ae73d60e2c7a6f89b3f7befbd487ea34", + "size": 1933, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8bcfe584ae73d60e2c7a6f89b3f7befbd487ea34" + }, + { + "path": "models/configs/v1-inference.yaml", + "mode": "100644", + "type": "blob", + "sha": "d4effe569e897369918625f9d8be5603a0e6a0d6", + "size": 1873, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d4effe569e897369918625f9d8be5603a0e6a0d6" + }, + { + "path": "models/configs/v1-inference_clip_skip_2.yaml", + "mode": "100644", + "type": "blob", + "sha": "8bcfe584ae73d60e2c7a6f89b3f7befbd487ea34", + "size": 1933, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8bcfe584ae73d60e2c7a6f89b3f7befbd487ea34" + }, + { + "path": "models/configs/v1-inference_clip_skip_2_fp16.yaml", + "mode": "100644", + "type": "blob", + "sha": "7eca31c7b5e571c2b1348e94ed9d69978ebd2d52", + "size": 1956, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7eca31c7b5e571c2b1348e94ed9d69978ebd2d52" + }, + { + "path": "models/configs/v1-inference_fp16.yaml", + "mode": "100644", + "type": "blob", + "sha": "147f42b17b835cc839338156f99e8f971df5c1aa", + "size": 1896, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/147f42b17b835cc839338156f99e8f971df5c1aa" + }, + { + "path": "models/configs/v1-inpainting-inference.yaml", + "mode": "100644", + "type": "blob", + "sha": "45f3f82d461cd8c6109f26ec3b1da75366eda0b0", + "size": 1992, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/45f3f82d461cd8c6109f26ec3b1da75366eda0b0" + }, + { + "path": "models/configs/v2-inference-v.yaml", + "mode": "100644", + "type": "blob", + "sha": "8ec8dfbfefe94ae8522c93017668fea78d580acf", + "size": 1815, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8ec8dfbfefe94ae8522c93017668fea78d580acf" + }, + { + "path": "models/configs/v2-inference-v_fp32.yaml", + "mode": "100644", + "type": "blob", + "sha": "d5c9b9cb29ca162ade44a7c922f59e75d7d57813", + "size": 1816, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d5c9b9cb29ca162ade44a7c922f59e75d7d57813" + }, + { + "path": "models/configs/v2-inference.yaml", + "mode": "100644", + "type": "blob", + "sha": "152c4f3c2b36c3b246a9cb10eb8166134b0d2e1c", + "size": 1789, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/152c4f3c2b36c3b246a9cb10eb8166134b0d2e1c" + }, + { + "path": "models/configs/v2-inference_fp32.yaml", + "mode": "100644", + "type": "blob", + "sha": "0d03231f3f2c2e8ef8fbe0d781e5f3d65409ef3a", + "size": 1790, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d03231f3f2c2e8ef8fbe0d781e5f3d65409ef3a" + }, + { + "path": "models/configs/v2-inpainting-inference.yaml", + "mode": "100644", + "type": "blob", + "sha": "32a9471d71b828c51bcbbabfe34c5f6c8282c803", + "size": 4450, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/32a9471d71b828c51bcbbabfe34c5f6c8282c803" + }, + { + "path": "models/controlnet", + "mode": "040000", + "type": "tree", + "sha": "5a83ae6a0b91bad7a32204467dd1377cdf1ee907", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5a83ae6a0b91bad7a32204467dd1377cdf1ee907" + }, + { + "path": "models/controlnet/put_controlnets_and_t2i_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/detection", + "mode": "040000", + "type": "tree", + "sha": "a2974c8c7c673f6a53e382a5b5ff92fcf62ce045", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a2974c8c7c673f6a53e382a5b5ff92fcf62ce045" + }, + { + "path": "models/detection/put_detection_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/diffusers", + "mode": "040000", + "type": "tree", + "sha": "cf5cd1731ce17b8a27403bb7e976b9cf519aa360", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/cf5cd1731ce17b8a27403bb7e976b9cf519aa360" + }, + { + "path": "models/diffusers/put_diffusers_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/diffusion_models", + "mode": "040000", + "type": "tree", + "sha": "6dd7cfa71915656b72a58078ddb50dcfad2a3ce0", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/6dd7cfa71915656b72a58078ddb50dcfad2a3ce0" + }, + { + "path": "models/diffusion_models/put_diffusion_model_files_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/embeddings", + "mode": "040000", + "type": "tree", + "sha": "f39719329b51d40717bd0a49b6f4e7e49923ce73", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f39719329b51d40717bd0a49b6f4e7e49923ce73" + }, + { + "path": "models/embeddings/put_embeddings_or_textual_inversion_concepts_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/frame_interpolation", + "mode": "040000", + "type": "tree", + "sha": "d858dd7b36f9fe741d9f6ef9258a0fc0b9e0cc4d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d858dd7b36f9fe741d9f6ef9258a0fc0b9e0cc4d" + }, + { + "path": "models/frame_interpolation/put_frame_interpolation_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/geometry_estimation", + "mode": "040000", + "type": "tree", + "sha": "e7bba7e590f27756784e2fb5a0da58cdb1f00d36", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e7bba7e590f27756784e2fb5a0da58cdb1f00d36" + }, + { + "path": "models/geometry_estimation/put_geometry_estimation_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/gligen", + "mode": "040000", + "type": "tree", + "sha": "40edb77ccd64ca93b7a8bc393e8f3c53d6e3889d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/40edb77ccd64ca93b7a8bc393e8f3c53d6e3889d" + }, + { + "path": "models/gligen/put_gligen_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/hypernetworks", + "mode": "040000", + "type": "tree", + "sha": "bb04dbc8c3d79c0f6fae8b895205c18a2a152e79", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/bb04dbc8c3d79c0f6fae8b895205c18a2a152e79" + }, + { + "path": "models/hypernetworks/put_hypernetworks_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/latent_upscale_models", + "mode": "040000", + "type": "tree", + "sha": "dceccbb668a1faada65bdc8492ae276f27988184", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/dceccbb668a1faada65bdc8492ae276f27988184" + }, + { + "path": "models/latent_upscale_models/put_latent_upscale_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/loras", + "mode": "040000", + "type": "tree", + "sha": "7e90310f36d25711264493c0045f41d94fe42f75", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7e90310f36d25711264493c0045f41d94fe42f75" + }, + { + "path": "models/loras/put_loras_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/model_patches", + "mode": "040000", + "type": "tree", + "sha": "347b67dcd2a84c335249d2182868c3d141575f03", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/347b67dcd2a84c335249d2182868c3d141575f03" + }, + { + "path": "models/model_patches/put_model_patches_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/optical_flow", + "mode": "040000", + "type": "tree", + "sha": "0f507122998c368af6b04cee13da65074c1b2db4", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0f507122998c368af6b04cee13da65074c1b2db4" + }, + { + "path": "models/optical_flow/put_optical_flow_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/photomaker", + "mode": "040000", + "type": "tree", + "sha": "3c52c379e6795a69967782659b8db4020a7dcd2f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/3c52c379e6795a69967782659b8db4020a7dcd2f" + }, + { + "path": "models/photomaker/put_photomaker_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/style_models", + "mode": "040000", + "type": "tree", + "sha": "8b8576516f89d3f0fc46c5d1bd28b68742858dc3", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8b8576516f89d3f0fc46c5d1bd28b68742858dc3" + }, + { + "path": "models/style_models/put_t2i_style_model_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/text_encoders", + "mode": "040000", + "type": "tree", + "sha": "a7f3fe38ed7a8008f8c0c6d4c5f783b350217e49", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a7f3fe38ed7a8008f8c0c6d4c5f783b350217e49" + }, + { + "path": "models/text_encoders/put_text_encoder_files_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/unet", + "mode": "040000", + "type": "tree", + "sha": "a4b35d7a454474d792eac42ca0acd1e3d8bd801e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a4b35d7a454474d792eac42ca0acd1e3d8bd801e" + }, + { + "path": "models/unet/put_unet_files_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/upscale_models", + "mode": "040000", + "type": "tree", + "sha": "091689c25459ae81ee19e974eb53b30609e4ac4f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/091689c25459ae81ee19e974eb53b30609e4ac4f" + }, + { + "path": "models/upscale_models/put_esrgan_and_other_upscale_models_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/vae", + "mode": "040000", + "type": "tree", + "sha": "39bce83e44ba60a1700e60776d0b62b470cb15ca", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/39bce83e44ba60a1700e60776d0b62b470cb15ca" + }, + { + "path": "models/vae/put_vae_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "models/vae_approx", + "mode": "040000", + "type": "tree", + "sha": "fecda1ff613fcbd1e84065941ebda49c81624044", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/fecda1ff613fcbd1e84065941ebda49c81624044" + }, + { + "path": "models/vae_approx/put_taesd_encoder_pth_and_taesd_decoder_pth_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "node_helpers.py", + "mode": "100644", + "type": "blob", + "sha": "cac4e88dd14276160146262c824fa39a542eaa24", + "size": 3188, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cac4e88dd14276160146262c824fa39a542eaa24" + }, + { + "path": "nodes.py", + "mode": "100644", + "type": "blob", + "sha": "0d422d418af3d044112f7264327f01558c87e384", + "size": 105257, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0d422d418af3d044112f7264327f01558c87e384" + }, + { + "path": "openapi.yaml", + "mode": "100644", + "type": "blob", + "sha": "6e203b1cd9e27e77340969c5b8487982d9e06b0f", + "size": 203044, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6e203b1cd9e27e77340969c5b8487982d9e06b0f" + }, + { + "path": "output", + "mode": "040000", + "type": "tree", + "sha": "a617907644c7aa5be7b2c911b7fe148196639772", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a617907644c7aa5be7b2c911b7fe148196639772" + }, + { + "path": "output/_output_images_will_be_put_here", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "protocol.py", + "mode": "100644", + "type": "blob", + "sha": "038a0a840d4efba202b54eabeeacc01f0eba0ed3", + "size": 129, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/038a0a840d4efba202b54eabeeacc01f0eba0ed3" + }, + { + "path": "pyproject.toml", + "mode": "100644", + "type": "blob", + "sha": "54f11d7fa069fb866eba5405c29cc36f4966c4a6", + "size": 2017, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/54f11d7fa069fb866eba5405c29cc36f4966c4a6" + }, + { + "path": "pytest.ini", + "mode": "100644", + "type": "blob", + "sha": "a224d8cbb5511cf6be0c0cf75ae92268339e11d6", + "size": 227, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a224d8cbb5511cf6be0c0cf75ae92268339e11d6" + }, + { + "path": "requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "392709e64e671d6b9496a658713602c4aedfe691", + "size": 517, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/392709e64e671d6b9496a658713602c4aedfe691" + }, + { + "path": "script_examples", + "mode": "040000", + "type": "tree", + "sha": "5eea47f0106bfd865dcd5cf3f05ce5b31c0497de", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5eea47f0106bfd865dcd5cf3f05ce5b31c0497de" + }, + { + "path": "script_examples/basic_api_example.py", + "mode": "100644", + "type": "blob", + "sha": "7e20cc2c18795c79559c9d3f52355d4cad93c70e", + "size": 2830, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7e20cc2c18795c79559c9d3f52355d4cad93c70e" + }, + { + "path": "script_examples/websockets_api_example.py", + "mode": "100644", + "type": "blob", + "sha": "58f26cfb696c5012a36af56e91d339b480359bb5", + "size": 4953, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/58f26cfb696c5012a36af56e91d339b480359bb5" + }, + { + "path": "script_examples/websockets_api_example_ws_images.py", + "mode": "100644", + "type": "blob", + "sha": "6508ecc99e732f75c2489e3cddb42229de2d356a", + "size": 4475, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6508ecc99e732f75c2489e3cddb42229de2d356a" + }, + { + "path": "server.py", + "mode": "100644", + "type": "blob", + "sha": "6b0029adf7b38014edc003262ad98b9fb588687a", + "size": 57529, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6b0029adf7b38014edc003262ad98b9fb588687a" + }, + { + "path": "tests-unit", + "mode": "040000", + "type": "tree", + "sha": "21e2b681b184985d460e76f36120cf4f62564767", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/21e2b681b184985d460e76f36120cf4f62564767" + }, + { + "path": "tests-unit/README.md", + "mode": "100644", + "type": "blob", + "sha": "81692b8f1de8c74fd058e627d10dbd0fc2821257", + "size": 131, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/81692b8f1de8c74fd058e627d10dbd0fc2821257" + }, + { + "path": "tests-unit/app_test", + "mode": "040000", + "type": "tree", + "sha": "118d8eb0fab366b71bebe4be964857df236b813a", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/118d8eb0fab366b71bebe4be964857df236b813a" + }, + { + "path": "tests-unit/app_test/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests-unit/app_test/custom_node_manager_test.py", + "mode": "100644", + "type": "blob", + "sha": "b61e25e54e657609b3970358d6ff3354ff8f5a8e", + "size": 5141, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b61e25e54e657609b3970358d6ff3354ff8f5a8e" + }, + { + "path": "tests-unit/app_test/frontend_manager_test.py", + "mode": "100644", + "type": "blob", + "sha": "8c8a2eb48550cf0fb01dea6316366c9f5ee78fff", + "size": 7917, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8c8a2eb48550cf0fb01dea6316366c9f5ee78fff" + }, + { + "path": "tests-unit/app_test/model_manager_test.py", + "mode": "100644", + "type": "blob", + "sha": "ae59206f65639ca1749b1cf7b6903ebab18fb298", + "size": 1851, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ae59206f65639ca1749b1cf7b6903ebab18fb298" + }, + { + "path": "tests-unit/app_test/node_replace_manager_test.py", + "mode": "100644", + "type": "blob", + "sha": "8a3fd18bb274f54abdc78930341748e06aaacac3", + "size": 3906, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8a3fd18bb274f54abdc78930341748e06aaacac3" + }, + { + "path": "tests-unit/app_test/test_migrations.py", + "mode": "100644", + "type": "blob", + "sha": "fa10c1727cc294191bf48b919e524be4cddb4b76", + "size": 1798, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fa10c1727cc294191bf48b919e524be4cddb4b76" + }, + { + "path": "tests-unit/app_test/user_manager_system_user_test.py", + "mode": "100644", + "type": "blob", + "sha": "63b1ac5e56d29447ceadc50f590fa140eee86fd5", + "size": 7706, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/63b1ac5e56d29447ceadc50f590fa140eee86fd5" + }, + { + "path": "tests-unit/assets_test", + "mode": "040000", + "type": "tree", + "sha": "e79ed012c056a69156b4545d71e58a7cde48de97", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e79ed012c056a69156b4545d71e58a7cde48de97" + }, + { + "path": "tests-unit/assets_test/conftest.py", + "mode": "100644", + "type": "blob", + "sha": "4aa20372f25a0b265a07b084d4c70facf1489443", + "size": 8898, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4aa20372f25a0b265a07b084d4c70facf1489443" + }, + { + "path": "tests-unit/assets_test/helpers.py", + "mode": "100644", + "type": "blob", + "sha": "ae3de6dc3de10100b6ef87ba8024e467cb8a027e", + "size": 1959, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ae3de6dc3de10100b6ef87ba8024e467cb8a027e" + }, + { + "path": "tests-unit/assets_test/queries", + "mode": "040000", + "type": "tree", + "sha": "a07776a0157cad07f4258d400986727009484175", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a07776a0157cad07f4258d400986727009484175" + }, + { + "path": "tests-unit/assets_test/queries/conftest.py", + "mode": "100644", + "type": "blob", + "sha": "4ca0e86a9965b07568b9b88fd045e2b9d5791ff4", + "size": 518, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4ca0e86a9965b07568b9b88fd045e2b9d5791ff4" + }, + { + "path": "tests-unit/assets_test/queries/test_asset.py", + "mode": "100644", + "type": "blob", + "sha": "9b7eb4bac34585fd974def79989c9f1a1b8a6c9d", + "size": 7005, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9b7eb4bac34585fd974def79989c9f1a1b8a6c9d" + }, + { + "path": "tests-unit/assets_test/queries/test_asset_info.py", + "mode": "100644", + "type": "blob", + "sha": "fe510e3422e6575c0dbcb67036c988e7706d3e3f", + "size": 18209, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fe510e3422e6575c0dbcb67036c988e7706d3e3f" + }, + { + "path": "tests-unit/assets_test/queries/test_asset_reference_keyset.py", + "mode": "100644", + "type": "blob", + "sha": "d143d60f9436b588d97e6fe625aa0c8a2b67e914", + "size": 3981, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d143d60f9436b588d97e6fe625aa0c8a2b67e914" + }, + { + "path": "tests-unit/assets_test/queries/test_cache_state.py", + "mode": "100644", + "type": "blob", + "sha": "ead60e5707bb600f841935c22a214c17850d114a", + "size": 17684, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ead60e5707bb600f841935c22a214c17850d114a" + }, + { + "path": "tests-unit/assets_test/queries/test_metadata.py", + "mode": "100644", + "type": "blob", + "sha": "d7a7477890ad10fe8acdaabf5e74c0ec7add0edf", + "size": 8300, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d7a7477890ad10fe8acdaabf5e74c0ec7add0edf" + }, + { + "path": "tests-unit/assets_test/queries/test_tags.py", + "mode": "100644", + "type": "blob", + "sha": "6222714d12b9e854496b7d202dfb2327abd08495", + "size": 13173, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6222714d12b9e854496b7d202dfb2327abd08495" + }, + { + "path": "tests-unit/assets_test/services", + "mode": "040000", + "type": "tree", + "sha": "a98ca68ddd180ede577fa12b145d267c7e0a077c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/a98ca68ddd180ede577fa12b145d267c7e0a077c" + }, + { + "path": "tests-unit/assets_test/services/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "d0213422e9bf16cc986d417657a4275217f33e76", + "size": 22, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d0213422e9bf16cc986d417657a4275217f33e76" + }, + { + "path": "tests-unit/assets_test/services/conftest.py", + "mode": "100644", + "type": "blob", + "sha": "bc0723e61247438452adfedda30605dd81279734", + "size": 1931, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/bc0723e61247438452adfedda30605dd81279734" + }, + { + "path": "tests-unit/assets_test/services/test_asset_management.py", + "mode": "100644", + "type": "blob", + "sha": "e8ff989e9196c1bf1a08c9f2f768ea9aa5d44736", + "size": 10386, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e8ff989e9196c1bf1a08c9f2f768ea9aa5d44736" + }, + { + "path": "tests-unit/assets_test/services/test_bulk_ingest.py", + "mode": "100644", + "type": "blob", + "sha": "26e22a01df9ff32c1e054616087ba4bccfc5350b", + "size": 5177, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/26e22a01df9ff32c1e054616087ba4bccfc5350b" + }, + { + "path": "tests-unit/assets_test/services/test_cursor.py", + "mode": "100644", + "type": "blob", + "sha": "47970e1684ccbe771412b22635fa331982a8453c", + "size": 11981, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/47970e1684ccbe771412b22635fa331982a8453c" + }, + { + "path": "tests-unit/assets_test/services/test_enrich.py", + "mode": "100644", + "type": "blob", + "sha": "6a6561f7f2726479edf485cd234cf4e230624839", + "size": 6577, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6a6561f7f2726479edf485cd234cf4e230624839" + }, + { + "path": "tests-unit/assets_test/services/test_image_dimensions.py", + "mode": "100644", + "type": "blob", + "sha": "ac275eae2752ac8f8321515facc6dd48124fe3b5", + "size": 2792, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ac275eae2752ac8f8321515facc6dd48124fe3b5" + }, + { + "path": "tests-unit/assets_test/services/test_ingest.py", + "mode": "100644", + "type": "blob", + "sha": "12a3bdfe62ae3a4308e6f18e6f957c1c3f814465", + "size": 17109, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/12a3bdfe62ae3a4308e6f18e6f957c1c3f814465" + }, + { + "path": "tests-unit/assets_test/services/test_path_utils.py", + "mode": "100644", + "type": "blob", + "sha": "3fa905f9acdc2ad60499ce1ca79ce7c11e2e3369", + "size": 2998, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3fa905f9acdc2ad60499ce1ca79ce7c11e2e3369" + }, + { + "path": "tests-unit/assets_test/services/test_tag_histogram.py", + "mode": "100644", + "type": "blob", + "sha": "7bcd518ec92ac51683912dc63630e7b39f5dd13f", + "size": 4377, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7bcd518ec92ac51683912dc63630e7b39f5dd13f" + }, + { + "path": "tests-unit/assets_test/services/test_tagging.py", + "mode": "100644", + "type": "blob", + "sha": "fa121db3ecf9726d15dfbb4b3686b542ebae880f", + "size": 6493, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fa121db3ecf9726d15dfbb4b3686b542ebae880f" + }, + { + "path": "tests-unit/assets_test/test_assets_missing_sync.py", + "mode": "100644", + "type": "blob", + "sha": "29ec1d09d08b38859c32c8908e609276290dab66", + "size": 13336, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/29ec1d09d08b38859c32c8908e609276290dab66" + }, + { + "path": "tests-unit/assets_test/test_crud.py", + "mode": "100644", + "type": "blob", + "sha": "36abb60eecb1a6d86bedd21a81aa13f7cd7dba77", + "size": 13749, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/36abb60eecb1a6d86bedd21a81aa13f7cd7dba77" + }, + { + "path": "tests-unit/assets_test/test_downloads.py", + "mode": "100644", + "type": "blob", + "sha": "42c64a5fde71f2669c4cefd43d5531ae62375b73", + "size": 5769, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/42c64a5fde71f2669c4cefd43d5531ae62375b73" + }, + { + "path": "tests-unit/assets_test/test_file_utils.py", + "mode": "100644", + "type": "blob", + "sha": "e3591d49b43c277811874a4d3902356dd14b2ab4", + "size": 3852, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e3591d49b43c277811874a4d3902356dd14b2ab4" + }, + { + "path": "tests-unit/assets_test/test_list_cursor.py", + "mode": "100644", + "type": "blob", + "sha": "a37019fd6adcc2364541a12e6ff3c65d81971966", + "size": 12564, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a37019fd6adcc2364541a12e6ff3c65d81971966" + }, + { + "path": "tests-unit/assets_test/test_list_filter.py", + "mode": "100644", + "type": "blob", + "sha": "17bbea5c6e335ddeac2225b85a6b20e84dbafff9", + "size": 12210, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/17bbea5c6e335ddeac2225b85a6b20e84dbafff9" + }, + { + "path": "tests-unit/assets_test/test_metadata_filters.py", + "mode": "100644", + "type": "blob", + "sha": "20285a3b3dddbfefd47aab6652477499e04410d3", + "size": 14466, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/20285a3b3dddbfefd47aab6652477499e04410d3" + }, + { + "path": "tests-unit/assets_test/test_prompt_id_enforcement.py", + "mode": "100644", + "type": "blob", + "sha": "86a755c9f000f48d51c93d920c57a8d2fd9a55c0", + "size": 2927, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/86a755c9f000f48d51c93d920c57a8d2fd9a55c0" + }, + { + "path": "tests-unit/assets_test/test_prune_orphaned_assets.py", + "mode": "100644", + "type": "blob", + "sha": "1fbd4d4e241ca78a31e816b1e6da73d4ed8d93a7", + "size": 4395, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1fbd4d4e241ca78a31e816b1e6da73d4ed8d93a7" + }, + { + "path": "tests-unit/assets_test/test_sync_references.py", + "mode": "100644", + "type": "blob", + "sha": "2e85076e021d1b31fde777791ea4318ff93c8e0b", + "size": 16216, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2e85076e021d1b31fde777791ea4318ff93c8e0b" + }, + { + "path": "tests-unit/assets_test/test_tags_api.py", + "mode": "100644", + "type": "blob", + "sha": "9729b7d03a6ada3aaf7f4b91f8a9f5e6dc672687", + "size": 8954, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/9729b7d03a6ada3aaf7f4b91f8a9f5e6dc672687" + }, + { + "path": "tests-unit/assets_test/test_uploads.py", + "mode": "100644", + "type": "blob", + "sha": "427a417ccda9c1d1c8c4870abcd3b1534f6fcfdd", + "size": 13231, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/427a417ccda9c1d1c8c4870abcd3b1534f6fcfdd" + }, + { + "path": "tests-unit/comfy_api_test", + "mode": "040000", + "type": "tree", + "sha": "87a71aeedfd56d9a03f310ca59d3ab55cd031c04", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/87a71aeedfd56d9a03f310ca59d3ab55cd031c04" + }, + { + "path": "tests-unit/comfy_api_test/input_impl_test.py", + "mode": "100644", + "type": "blob", + "sha": "5fc21a9a74382fef56cd826c65a31210d1313310", + "size": 3566, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5fc21a9a74382fef56cd826c65a31210d1313310" + }, + { + "path": "tests-unit/comfy_api_test/multicombo_serialization_test.py", + "mode": "100644", + "type": "blob", + "sha": "421c65a0d55fef3bfee3600cdd070fb82acfc020", + "size": 2330, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/421c65a0d55fef3bfee3600cdd070fb82acfc020" + }, + { + "path": "tests-unit/comfy_api_test/video_bit_depth_test.py", + "mode": "100644", + "type": "blob", + "sha": "6c7bc91630b7e5ff1fe7df01738328b040571a23", + "size": 3863, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6c7bc91630b7e5ff1fe7df01738328b040571a23" + }, + { + "path": "tests-unit/comfy_api_test/video_types_test.py", + "mode": "100644", + "type": "blob", + "sha": "b25fcb1ca866c053452d230d4b734fd5c29b7edd", + "size": 7617, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/b25fcb1ca866c053452d230d4b734fd5c29b7edd" + }, + { + "path": "tests-unit/comfy_extras_test", + "mode": "040000", + "type": "tree", + "sha": "bcb2eec83a31a97cf0c0ec7fa7662dc55cb18b4f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/bcb2eec83a31a97cf0c0ec7fa7662dc55cb18b4f" + }, + { + "path": "tests-unit/comfy_extras_test/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests-unit/comfy_extras_test/image_stitch_test.py", + "mode": "100644", + "type": "blob", + "sha": "5c6a15ac44c756caeaa22f0a6c6a29bd1eea6375", + "size": 10248, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/5c6a15ac44c756caeaa22f0a6c6a29bd1eea6375" + }, + { + "path": "tests-unit/comfy_extras_test/nodes_math_test.py", + "mode": "100644", + "type": "blob", + "sha": "030accc5e7341b5fe40a2dfcff1c563854f58979", + "size": 6501, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/030accc5e7341b5fe40a2dfcff1c563854f58979" + }, + { + "path": "tests-unit/comfy_extras_test/nodes_number_convert_test.py", + "mode": "100644", + "type": "blob", + "sha": "fa3251abccf3e83801344959c18ad3902e524072", + "size": 5359, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fa3251abccf3e83801344959c18ad3902e524072" + }, + { + "path": "tests-unit/comfy_quant", + "mode": "040000", + "type": "tree", + "sha": "38b3457e92c5b5aa81109d4fddaa5a0351199825", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/38b3457e92c5b5aa81109d4fddaa5a0351199825" + }, + { + "path": "tests-unit/comfy_quant/test_mixed_precision.py", + "mode": "100644", + "type": "blob", + "sha": "7c740491dcacf85468d0e55ddae6c5543450ac5f", + "size": 9575, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7c740491dcacf85468d0e55ddae6c5543450ac5f" + }, + { + "path": "tests-unit/comfy_test", + "mode": "040000", + "type": "tree", + "sha": "25bada24d56d6fda565ac57ea1e84f1cac232aba", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/25bada24d56d6fda565ac57ea1e84f1cac232aba" + }, + { + "path": "tests-unit/comfy_test/folder_path_test.py", + "mode": "100644", + "type": "blob", + "sha": "775e15c36ba8a74657161b59ec98ebc62db52512", + "size": 6969, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/775e15c36ba8a74657161b59ec98ebc62db52512" + }, + { + "path": "tests-unit/comfy_test/model_detection_test.py", + "mode": "100644", + "type": "blob", + "sha": "4e9350602d7a68659dba81b30bc46c09e3894528", + "size": 6019, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4e9350602d7a68659dba81b30bc46c09e3894528" + }, + { + "path": "tests-unit/deploy_environment_test.py", + "mode": "100644", + "type": "blob", + "sha": "c3497fbb0561e2d427b6dc2707fd4ea1a3913876", + "size": 4579, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c3497fbb0561e2d427b6dc2707fd4ea1a3913876" + }, + { + "path": "tests-unit/execution_test", + "mode": "040000", + "type": "tree", + "sha": "de8ad33e0f3a98a68a57715268f618f5c5af652e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/de8ad33e0f3a98a68a57715268f618f5c5af652e" + }, + { + "path": "tests-unit/execution_test/preview_method_override_test.py", + "mode": "100644", + "type": "blob", + "sha": "79432d610d6fb6029b86ffa859d8805434efc8a5", + "size": 13771, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/79432d610d6fb6029b86ffa859d8805434efc8a5" + }, + { + "path": "tests-unit/execution_test/test_cache_provider.py", + "mode": "100644", + "type": "blob", + "sha": "ac3814746b72e42d4ec272cc199155431a97b8f0", + "size": 13230, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ac3814746b72e42d4ec272cc199155431a97b8f0" + }, + { + "path": "tests-unit/execution_test/test_enrich_output.py", + "mode": "100644", + "type": "blob", + "sha": "61490c49ec57a4d0a3a0b5bcff96c9e1a63ed6a4", + "size": 8219, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/61490c49ec57a4d0a3a0b5bcff96c9e1a63ed6a4" + }, + { + "path": "tests-unit/execution_test/validate_node_input_test.py", + "mode": "100644", + "type": "blob", + "sha": "85a0c9601fd859c9374bfc753bb3382194a709d3", + "size": 4298, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/85a0c9601fd859c9374bfc753bb3382194a709d3" + }, + { + "path": "tests-unit/feature_flags_test.py", + "mode": "100644", + "type": "blob", + "sha": "8ec52a124ae9964189267f8005b944c04ec9ed02", + "size": 7797, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/8ec52a124ae9964189267f8005b944c04ec9ed02" + }, + { + "path": "tests-unit/folder_paths_test", + "mode": "040000", + "type": "tree", + "sha": "e55e753c45629fafc40b0d2d896a14fd477a14c9", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/e55e753c45629fafc40b0d2d896a14fd477a14c9" + }, + { + "path": "tests-unit/folder_paths_test/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests-unit/folder_paths_test/filter_by_content_types_test.py", + "mode": "100644", + "type": "blob", + "sha": "683f9fc113a842cc3d36ff955aeb61d2ad6ff60b", + "size": 2613, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/683f9fc113a842cc3d36ff955aeb61d2ad6ff60b" + }, + { + "path": "tests-unit/folder_paths_test/misc_test.py", + "mode": "100644", + "type": "blob", + "sha": "fcf66745337a09d63e05ed8bbbf38aaccf5d4143", + "size": 1677, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fcf66745337a09d63e05ed8bbbf38aaccf5d4143" + }, + { + "path": "tests-unit/folder_paths_test/system_user_test.py", + "mode": "100644", + "type": "blob", + "sha": "cd46459f16684b9af510ced93027a51b1825cca9", + "size": 7852, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/cd46459f16684b9af510ced93027a51b1825cca9" + }, + { + "path": "tests-unit/prompt_server_test", + "mode": "040000", + "type": "tree", + "sha": "700e6a595ecd21121b37c6336cf0412caaf13ecf", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/700e6a595ecd21121b37c6336cf0412caaf13ecf" + }, + { + "path": "tests-unit/prompt_server_test/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests-unit/prompt_server_test/system_user_endpoint_test.py", + "mode": "100644", + "type": "blob", + "sha": "22ac00af91979ae9a51ad352fbf680d632c77d19", + "size": 13174, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/22ac00af91979ae9a51ad352fbf680d632c77d19" + }, + { + "path": "tests-unit/prompt_server_test/user_manager_test.py", + "mode": "100644", + "type": "blob", + "sha": "27118400fda18a334a3ef4c641ac4d35e08fb1ba", + "size": 10351, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/27118400fda18a334a3ef4c641ac4d35e08fb1ba" + }, + { + "path": "tests-unit/requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "3a6790ee07cdcc37515b9afbd649da0c99d837ca", + "size": 61, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3a6790ee07cdcc37515b9afbd649da0c99d837ca" + }, + { + "path": "tests-unit/seeder_test", + "mode": "040000", + "type": "tree", + "sha": "bb61a2ad3e3358bc08301e7aa167cf4421a343cd", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/bb61a2ad3e3358bc08301e7aa167cf4421a343cd" + }, + { + "path": "tests-unit/seeder_test/test_seeder.py", + "mode": "100644", + "type": "blob", + "sha": "6aed6d6f36ccb0cad193e021ee2aceb5fce8713a", + "size": 39798, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/6aed6d6f36ccb0cad193e021ee2aceb5fce8713a" + }, + { + "path": "tests-unit/server", + "mode": "040000", + "type": "tree", + "sha": "54f955116adc323bffd0b492a6616080358c82df", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/54f955116adc323bffd0b492a6616080358c82df" + }, + { + "path": "tests-unit/server/utils", + "mode": "040000", + "type": "tree", + "sha": "f2b503c8600691097b5c595847356f53e691d65d", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/f2b503c8600691097b5c595847356f53e691d65d" + }, + { + "path": "tests-unit/server/utils/file_operations_test.py", + "mode": "100644", + "type": "blob", + "sha": "2a45cc47a1447e6c2ace4f40e6543b2b7c5e4fcf", + "size": 1502, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2a45cc47a1447e6c2ace4f40e6543b2b7c5e4fcf" + }, + { + "path": "tests-unit/server_test", + "mode": "040000", + "type": "tree", + "sha": "b8333f97f0cd28a0a31fb8823f859b42db8bfd1e", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/b8333f97f0cd28a0a31fb8823f859b42db8bfd1e" + }, + { + "path": "tests-unit/server_test/test_cache_control.py", + "mode": "100644", + "type": "blob", + "sha": "1d03663873c992995df9088eccc8679daa5da0d9", + "size": 9771, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/1d03663873c992995df9088eccc8679daa5da0d9" + }, + { + "path": "tests-unit/utils", + "mode": "040000", + "type": "tree", + "sha": "0dba0b8cf4d9f41c42d063794aaefea154a557ee", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/0dba0b8cf4d9f41c42d063794aaefea154a557ee" + }, + { + "path": "tests-unit/utils/extra_config_test.py", + "mode": "100644", + "type": "blob", + "sha": "eae1aa3d3ab8c57d668acf4971b4c886d7dd417f", + "size": 10637, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/eae1aa3d3ab8c57d668acf4971b4c886d7dd417f" + }, + { + "path": "tests-unit/utils/json_util_test.py", + "mode": "100644", + "type": "blob", + "sha": "d3089d8d184533cf7510ed0db14cfaf0644c52cf", + "size": 2040, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/d3089d8d184533cf7510ed0db14cfaf0644c52cf" + }, + { + "path": "tests-unit/websocket_feature_flags_test.py", + "mode": "100644", + "type": "blob", + "sha": "e93b2e1dde81d9664ed9505ee14aa2d7d994a95d", + "size": 2834, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e93b2e1dde81d9664ed9505ee14aa2d7d994a95d" + }, + { + "path": "tests", + "mode": "040000", + "type": "tree", + "sha": "87aa29c679ef3868dd1eebb7bf5192d04fceb17b", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/87aa29c679ef3868dd1eebb7bf5192d04fceb17b" + }, + { + "path": "tests/README.md", + "mode": "100644", + "type": "blob", + "sha": "2005fd45b2bbd249fb7f1dfff789b2ae236568ba", + "size": 563, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2005fd45b2bbd249fb7f1dfff789b2ae236568ba" + }, + { + "path": "tests/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests/compare", + "mode": "040000", + "type": "tree", + "sha": "5ebaecaab8fbfe1c9bd2c2d81c1aacc452ae375f", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/5ebaecaab8fbfe1c9bd2c2d81c1aacc452ae375f" + }, + { + "path": "tests/compare/conftest.py", + "mode": "100644", + "type": "blob", + "sha": "dd5078c9e6e432c7de2462c5641068bfa8e0aaee", + "size": 1814, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/dd5078c9e6e432c7de2462c5641068bfa8e0aaee" + }, + { + "path": "tests/compare/test_quality.py", + "mode": "100644", + "type": "blob", + "sha": "01c19054956dde3b611dafe97ad244a3579e0e85", + "size": 7912, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/01c19054956dde3b611dafe97ad244a3579e0e85" + }, + { + "path": "tests/conftest.py", + "mode": "100644", + "type": "blob", + "sha": "290e3a5c00e04bf44675c098544591a9a79d2e72", + "size": 1816, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/290e3a5c00e04bf44675c098544591a9a79d2e72" + }, + { + "path": "tests/execution", + "mode": "040000", + "type": "tree", + "sha": "fb48092be67df63d3a143f48519beec109dd9c30", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/fb48092be67df63d3a143f48519beec109dd9c30" + }, + { + "path": "tests/execution/extra_model_paths.yaml", + "mode": "100644", + "type": "blob", + "sha": "68e056564d515893a6860010e6b8c554829f6186", + "size": 69, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/68e056564d515893a6860010e6b8c554829f6186" + }, + { + "path": "tests/execution/test_async_nodes.py", + "mode": "100644", + "type": "blob", + "sha": "54660c112972472566e57e3421d5295ab3af97ef", + "size": 18366, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/54660c112972472566e57e3421d5295ab3af97ef" + }, + { + "path": "tests/execution/test_execution.py", + "mode": "100644", + "type": "blob", + "sha": "15e2304fca645217894dbbe6e6ae7238226a5b75", + "size": 47712, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/15e2304fca645217894dbbe6e6ae7238226a5b75" + }, + { + "path": "tests/execution/test_jobs.py", + "mode": "100644", + "type": "blob", + "sha": "f7cb612e4f57b3f5db4f01cc9051255068d4f749", + "size": 23989, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/f7cb612e4f57b3f5db4f01cc9051255068d4f749" + }, + { + "path": "tests/execution/test_preview_method.py", + "mode": "100644", + "type": "blob", + "sha": "c3037553b89f13d4cf40ff991f7c923ab66365a5", + "size": 13118, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c3037553b89f13d4cf40ff991f7c923ab66365a5" + }, + { + "path": "tests/execution/test_progress_isolation.py", + "mode": "100644", + "type": "blob", + "sha": "93dc0d41bba228f0adf1fe23e611f6b49f6dcf2f", + "size": 9432, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/93dc0d41bba228f0adf1fe23e611f6b49f6dcf2f" + }, + { + "path": "tests/execution/test_public_api.py", + "mode": "100644", + "type": "blob", + "sha": "52bc2fcd8d313aa9f38118e7a36303d74d5e2194", + "size": 6035, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/52bc2fcd8d313aa9f38118e7a36303d74d5e2194" + }, + { + "path": "tests/execution/testing_nodes", + "mode": "040000", + "type": "tree", + "sha": "7c25ab9c4be3356d6e5dc4b322306119027a3693", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7c25ab9c4be3356d6e5dc4b322306119027a3693" + }, + { + "path": "tests/execution/testing_nodes/testing-pack", + "mode": "040000", + "type": "tree", + "sha": "06b465f30bb33dfdc3cccc18be6caa859d7cf4fd", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/06b465f30bb33dfdc3cccc18be6caa859d7cf4fd" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "3d5ac8a94febb0481c1cf52b7cd89436f0c5c9ce", + "size": 1804, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/3d5ac8a94febb0481c1cf52b7cd89436f0c5c9ce" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/api_test_nodes.py", + "mode": "100644", + "type": "blob", + "sha": "70c2a9e95dfcded28aacb09be938b7ac1d61614c", + "size": 2144, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/70c2a9e95dfcded28aacb09be938b7ac1d61614c" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/async_test_nodes.py", + "mode": "100644", + "type": "blob", + "sha": "589dabf17877cbae9842412c2fabe1ccdd324e95", + "size": 10703, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/589dabf17877cbae9842412c2fabe1ccdd324e95" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/conditions.py", + "mode": "100644", + "type": "blob", + "sha": "0c200ee2892d4747d9ec6965b6d33f2223e3c08a", + "size": 5353, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/0c200ee2892d4747d9ec6965b6d33f2223e3c08a" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/flow_control.py", + "mode": "100644", + "type": "blob", + "sha": "ba943be6072f2003ebe1e6aa996d2dd8370c8c09", + "size": 5938, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/ba943be6072f2003ebe1e6aa996d2dd8370c8c09" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/specific_tests.py", + "mode": "100644", + "type": "blob", + "sha": "2eb5d520e3988283e2eb64c34bbd75d7e2aa5c1f", + "size": 16762, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/2eb5d520e3988283e2eb64c34bbd75d7e2aa5c1f" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/stubs.py", + "mode": "100644", + "type": "blob", + "sha": "a1df87529c65ffa46db64cc197f54aef376ff8c0", + "size": 3729, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a1df87529c65ffa46db64cc197f54aef376ff8c0" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/tools.py", + "mode": "100644", + "type": "blob", + "sha": "34b28c0eb4892cdbc4e7575e651719f48ca917e9", + "size": 2373, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/34b28c0eb4892cdbc4e7575e651719f48ca917e9" + }, + { + "path": "tests/execution/testing_nodes/testing-pack/util.py", + "mode": "100644", + "type": "blob", + "sha": "17741c5f1dff2eeff86fec5173e675bf9ac6cf3b", + "size": 10109, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/17741c5f1dff2eeff86fec5173e675bf9ac6cf3b" + }, + { + "path": "tests/inference", + "mode": "040000", + "type": "tree", + "sha": "7bf5e7435fb0b273d9b5dccefe62961188c1acca", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/7bf5e7435fb0b273d9b5dccefe62961188c1acca" + }, + { + "path": "tests/inference/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "tests/inference/graphs", + "mode": "040000", + "type": "tree", + "sha": "8c57dae7b7548ac5e30d4265f1424beae9363b5c", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/8c57dae7b7548ac5e30d4265f1424beae9363b5c" + }, + { + "path": "tests/inference/graphs/default_graph_sdxl1_0.json", + "mode": "100644", + "type": "blob", + "sha": "c06c6829c6253cc71982f3714620bd10dd41bd73", + "size": 2665, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/c06c6829c6253cc71982f3714620bd10dd41bd73" + }, + { + "path": "tests/inference/test_inference.py", + "mode": "100644", + "type": "blob", + "sha": "7e4a206c41d95d5740c9c8b6e6c9071ad0ee86ce", + "size": 8161, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/7e4a206c41d95d5740c9c8b6e6c9071ad0ee86ce" + }, + { + "path": "tests/test_asset_seeder.py", + "mode": "100644", + "type": "blob", + "sha": "4274dab8e12643fad49d0605169f6bad612df055", + "size": 10143, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/4274dab8e12643fad49d0605169f6bad612df055" + }, + { + "path": "utils", + "mode": "040000", + "type": "tree", + "sha": "06089e1afb2fb645282a9dbfa4e2a4e9a7b2c8c6", + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/06089e1afb2fb645282a9dbfa4e2a4e9a7b2c8c6" + }, + { + "path": "utils/__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", + "size": 0, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/e69de29bb2d1d6434b8b29ae775ad8c2e48c5391" + }, + { + "path": "utils/extra_config.py", + "mode": "100644", + "type": "blob", + "sha": "a0fcda9e8900ee2c67d79a1e588ff973f9ea7ea6", + "size": 1370, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a0fcda9e8900ee2c67d79a1e588ff973f9ea7ea6" + }, + { + "path": "utils/install_util.py", + "mode": "100644", + "type": "blob", + "sha": "fdba23a8f0627822187538a7ccfe0f04e7c56d54", + "size": 1714, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/fdba23a8f0627822187538a7ccfe0f04e7c56d54" + }, + { + "path": "utils/json_util.py", + "mode": "100644", + "type": "blob", + "sha": "da45af4f74f386973d3f1968d88b083ca5906d81", + "size": 781, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/da45af4f74f386973d3f1968d88b083ca5906d81" + }, + { + "path": "utils/mime_types.py", + "mode": "100644", + "type": "blob", + "sha": "a173ad109dec347c9f7f812e0ee95c11b3788c06", + "size": 1273, + "url": "https://api.github.com/repos/Comfy-Org/ComfyUI/git/blobs/a173ad109dec347c9f7f812e0ee95c11b3788c06" + } + ], + "truncated": false +} diff --git a/docs/hel-892/watermark-reference/core__LICENSE b/docs/hel-892/watermark-reference/core__LICENSE new file mode 100644 index 00000000..f288702d --- /dev/null +++ b/docs/hel-892/watermark-reference/core__LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/docs/hel-892/watermark-reference/core__comfy_api__input_impl__video_types.py b/docs/hel-892/watermark-reference/core__comfy_api__input_impl__video_types.py new file mode 100644 index 00000000..bd2e56ad --- /dev/null +++ b/docs/hel-892/watermark-reference/core__comfy_api__input_impl__video_types.py @@ -0,0 +1,2 @@ +# This file only exists for backwards compatibility. +from comfy_api.latest._input_impl.video_types import * # noqa: F403 diff --git a/docs/hel-892/watermark-reference/core__nodes.py b/docs/hel-892/watermark-reference/core__nodes.py new file mode 100644 index 00000000..0d422d41 --- /dev/null +++ b/docs/hel-892/watermark-reference/core__nodes.py @@ -0,0 +1,2529 @@ +import torch + + +import os +import sys +import json +import glob +import hashlib +import inspect + +import traceback +import math +import time +import random +import logging + +from PIL import Image, ImageOps, ImageSequence +from PIL.PngImagePlugin import PngInfo + +import numpy as np +import safetensors.torch + +sys.path.insert(0, os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy")) + +import comfy.diffusers_load +import comfy.samplers +import comfy.sample +import comfy.sd +import comfy.utils +import comfy.controlnet +from comfy.comfy_types import IO, ComfyNodeABC, InputTypeDict, FileLocator +from comfy_api.internal import register_versions, ComfyAPIWithVersion +from comfy_api.version_list import supported_versions +from comfy_api.latest import io, ComfyExtension, InputImpl + +import comfy.clip_vision + +import comfy.model_management +from comfy.cli_args import args + +import importlib + +import folder_paths +import latent_preview +import node_helpers + +if args.enable_manager: + import comfyui_manager + +def before_node_execution(): + comfy.model_management.throw_exception_if_processing_interrupted() + +def interrupt_processing(value=True): + comfy.model_management.interrupt_current_processing(value) + +MAX_RESOLUTION=16384 + +class CLIPTextEncode(ComfyNodeABC): + @classmethod + def INPUT_TYPES(s) -> InputTypeDict: + return { + "required": { + "text": (IO.STRING, {"multiline": True, "dynamicPrompts": True, "tooltip": "The text to be encoded."}), + "clip": (IO.CLIP, {"tooltip": "The CLIP model used for encoding the text."}) + } + } + RETURN_TYPES = (IO.CONDITIONING,) + OUTPUT_TOOLTIPS = ("A conditioning containing the embedded text used to guide the diffusion model.",) + FUNCTION = "encode" + + CATEGORY = "model/conditioning" + DESCRIPTION = "Encodes a text prompt using a CLIP model into an embedding that can be used to guide the diffusion model towards generating specific images." + SEARCH_ALIASES = ["text", "prompt", "text prompt", "positive prompt", "negative prompt", "encode text", "text encoder", "encode prompt"] + + def encode(self, clip, text): + if clip is None: + raise RuntimeError("ERROR: clip input is invalid: None\n\nIf the clip is from a checkpoint loader node your checkpoint does not contain a valid clip or text encoder model.") + tokens = clip.tokenize(text) + return (clip.encode_from_tokens_scheduled(tokens), ) + + +class ConditioningCombine: + ESSENTIALS_CATEGORY = "Image Generation" + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_1": ("CONDITIONING", ), "conditioning_2": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "combine" + + CATEGORY = "model/conditioning" + SEARCH_ALIASES = ["combine", "merge conditioning", "combine prompts", "merge prompts", "mix prompts", "add prompt"] + + def combine(self, conditioning_1, conditioning_2): + return (conditioning_1 + conditioning_2, ) + +class ConditioningAverage : + SEARCH_ALIASES = ["blend prompts", "interpolate conditioning", "mix prompts", "style fusion", "weighted blend"] + + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), "conditioning_from": ("CONDITIONING", ), + "conditioning_to_strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "addWeighted" + + CATEGORY = "model/conditioning" + + def addWeighted(self, conditioning_to, conditioning_from, conditioning_to_strength): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningAverage conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + pooled_output_from = conditioning_from[0][1].get("pooled_output", None) + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + pooled_output_to = conditioning_to[i][1].get("pooled_output", pooled_output_from) + t0 = cond_from[:,:t1.shape[1]] + if t0.shape[1] < t1.shape[1]: + t0 = torch.cat([t0] + [torch.zeros((1, (t1.shape[1] - t0.shape[1]), t1.shape[2]))], dim=1) + + tw = torch.mul(t1, conditioning_to_strength) + torch.mul(t0, (1.0 - conditioning_to_strength)) + t_to = conditioning_to[i][1].copy() + if pooled_output_from is not None and pooled_output_to is not None: + t_to["pooled_output"] = torch.mul(pooled_output_to, conditioning_to_strength) + torch.mul(pooled_output_from, (1.0 - conditioning_to_strength)) + elif pooled_output_from is not None: + t_to["pooled_output"] = pooled_output_from + + n = [tw, t_to] + out.append(n) + return (out, ) + +class ConditioningConcat: + @classmethod + def INPUT_TYPES(s): + return {"required": { + "conditioning_to": ("CONDITIONING",), + "conditioning_from": ("CONDITIONING",), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "concat" + + CATEGORY = "model/conditioning" + + def concat(self, conditioning_to, conditioning_from): + out = [] + + if len(conditioning_from) > 1: + logging.warning("Warning: ConditioningConcat conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.") + + cond_from = conditioning_from[0][0] + + for i in range(len(conditioning_to)): + t1 = conditioning_to[i][0] + tw = torch.cat((t1, cond_from),1) + n = [tw, conditioning_to[i][1].copy()] + out.append(n) + + return (out, ) + +class ConditioningSetArea: + SEARCH_ALIASES = ["regional prompt", "area prompt", "spatial conditioning", "localized prompt"] + + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "model/conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": (height // 8, width // 8, y // 8, x // 8), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaPercentage: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "width": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "height": ("FLOAT", {"default": 1.0, "min": 0, "max": 1.0, "step": 0.01}), + "x": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "y": ("FLOAT", {"default": 0, "min": 0, "max": 1.0, "step": 0.01}), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "model/conditioning" + + def append(self, conditioning, width, height, x, y, strength): + c = node_helpers.conditioning_set_values(conditioning, {"area": ("percentage", height, width, y, x), + "strength": strength, + "set_area_to_bounds": False}) + return (c, ) + +class ConditioningSetAreaStrength: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "model/conditioning" + + def append(self, conditioning, strength): + c = node_helpers.conditioning_set_values(conditioning, {"strength": strength}) + return (c, ) + + +class ConditioningSetMask: + SEARCH_ALIASES = ["masked prompt", "regional inpaint conditioning", "mask conditioning"] + + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "mask": ("MASK", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "set_cond_area": (["default", "mask bounds"],), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "model/conditioning" + + def append(self, conditioning, mask, set_cond_area, strength): + set_area_to_bounds = False + if set_cond_area != "default": + set_area_to_bounds = True + if len(mask.shape) < 3: + mask = mask.unsqueeze(0) + + c = node_helpers.conditioning_set_values(conditioning, {"mask": mask, + "set_area_to_bounds": set_area_to_bounds, + "mask_strength": strength}) + return (c, ) + +class ConditioningZeroOut: + SEARCH_ALIASES = ["null conditioning", "clear conditioning"] + + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", )}} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "zero_out" + + CATEGORY = "advanced/conditioning" + + def zero_out(self, conditioning): + c = [] + for t in conditioning: + d = t[1].copy() + pooled_output = d.get("pooled_output", None) + if pooled_output is not None: + d["pooled_output"] = torch.zeros_like(pooled_output) + conditioning_lyrics = d.get("conditioning_lyrics", None) + if conditioning_lyrics is not None: + d["conditioning_lyrics"] = torch.zeros_like(conditioning_lyrics) + n = [torch.zeros_like(t[0]), d] + c.append(n) + return (c, ) + +class ConditioningSetTimestepRange: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "start": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "set_range" + + CATEGORY = "advanced/conditioning" + + def set_range(self, conditioning, start, end): + c = node_helpers.conditioning_set_values(conditioning, {"start_percent": start, + "end_percent": end}) + return (c, ) + +class VAEDecode: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "samples": ("LATENT", {"tooltip": "The latent to be decoded."}), + "vae": ("VAE", {"tooltip": "The VAE model used for decoding the latent."}) + } + } + RETURN_TYPES = ("IMAGE",) + OUTPUT_TOOLTIPS = ("The decoded image.",) + FUNCTION = "decode" + + CATEGORY = "model/latent" + DESCRIPTION = "Decodes latent images back into pixel space images." + SEARCH_ALIASES = ["decode", "decode latent", "latent to image", "render latent"] + + def decode(self, vae, samples): + latent = samples["samples"] + if latent.is_nested: + latent = latent.unbind()[0] + + images = vae.decode(latent) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEDecodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"samples": ("LATENT", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 32, "advanced": True}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32, "advanced": True}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to decode at a time.", "advanced": True}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap.", "advanced": True}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "decode" + + CATEGORY = "experimental" + + def decode(self, vae, samples, tile_size, overlap=64, temporal_size=64, temporal_overlap=8): + if tile_size < overlap * 4: + overlap = tile_size // 4 + if temporal_size < temporal_overlap * 2: + temporal_overlap = temporal_overlap // 2 + temporal_compression = vae.temporal_compression_decode() + if temporal_compression is not None: + temporal_size = max(2, temporal_size // temporal_compression) + temporal_overlap = max(1, min(temporal_size // 2, temporal_overlap // temporal_compression)) + else: + temporal_size = None + temporal_overlap = None + + compression = vae.spacial_compression_decode() + images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap) + if len(images.shape) == 5: #Combine batches + images = images.reshape(-1, images.shape[-3], images.shape[-2], images.shape[-1]) + return (images, ) + +class VAEEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", )}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "model/latent" + SEARCH_ALIASES = ["encode", "encode image", "image to latent"] + + def encode(self, vae, pixels): + t = vae.encode(pixels) + return ({"samples":t}, ) + +class VAEEncodeTiled: + @classmethod + def INPUT_TYPES(s): + return {"required": {"pixels": ("IMAGE", ), "vae": ("VAE", ), + "tile_size": ("INT", {"default": 512, "min": 64, "max": 4096, "step": 64, "advanced": True}), + "overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32, "advanced": True}), + "temporal_size": ("INT", {"default": 64, "min": 8, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to encode at a time.", "advanced": True}), + "temporal_overlap": ("INT", {"default": 8, "min": 4, "max": 4096, "step": 4, "tooltip": "Only used for video VAEs: Amount of frames to overlap.", "advanced": True}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "experimental" + + def encode(self, vae, pixels, tile_size, overlap, temporal_size=64, temporal_overlap=8): + t = vae.encode_tiled(pixels, tile_x=tile_size, tile_y=tile_size, overlap=overlap, tile_t=temporal_size, overlap_t=temporal_overlap) + return ({"samples": t}, ) + +class VAEEncodeForInpaint: + @classmethod + def INPUT_TYPES(s): + return {"required": { "pixels": ("IMAGE", ), "vae": ("VAE", ), "mask": ("MASK", ), "grow_mask_by": ("INT", {"default": 6, "min": 0, "max": 64, "step": 1}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "encode" + + CATEGORY = "model/latent/inpaint" + + def encode(self, vae, pixels, mask, grow_mask_by=6): + downscale_ratio = vae.spacial_compression_encode() + x = (pixels.shape[1] // downscale_ratio) * downscale_ratio + y = (pixels.shape[2] // downscale_ratio) * downscale_ratio + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + pixels = pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % downscale_ratio) // 2 + y_offset = (pixels.shape[2] % downscale_ratio) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + #grow mask by a few pixels to keep things seamless in latent space + if grow_mask_by == 0: + mask_erosion = mask + else: + kernel_tensor = torch.ones((1, 1, grow_mask_by, grow_mask_by)) + padding = math.ceil((grow_mask_by - 1) / 2) + + mask_erosion = torch.clamp(torch.nn.functional.conv2d(mask.round(), kernel_tensor, padding=padding), 0, 1) + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + t = vae.encode(pixels) + + return ({"samples":t, "noise_mask": (mask_erosion[:,:,:x,:y].round())}, ) + + +class InpaintModelConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "vae": ("VAE", ), + "pixels": ("IMAGE", ), + "mask": ("MASK", ), + "noise_mask": ("BOOLEAN", {"default": True, "tooltip": "Add a noise mask to the latent so sampling will only happen within the mask. Might improve results or completely break things depending on the model."}), + }} + + RETURN_TYPES = ("CONDITIONING","CONDITIONING","LATENT") + RETURN_NAMES = ("positive", "negative", "latent") + FUNCTION = "encode" + + CATEGORY = "model/conditioning/inpaint" + + def encode(self, positive, negative, pixels, vae, mask, noise_mask=True): + x = (pixels.shape[1] // 8) * 8 + y = (pixels.shape[2] // 8) * 8 + mask = torch.nn.functional.interpolate(mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])), size=(pixels.shape[1], pixels.shape[2]), mode="bilinear") + + orig_pixels = pixels + pixels = orig_pixels.clone() + if pixels.shape[1] != x or pixels.shape[2] != y: + x_offset = (pixels.shape[1] % 8) // 2 + y_offset = (pixels.shape[2] % 8) // 2 + pixels = pixels[:,x_offset:x + x_offset, y_offset:y + y_offset,:] + mask = mask[:,:,x_offset:x + x_offset, y_offset:y + y_offset] + + m = (1.0 - mask.round()).squeeze(1) + for i in range(3): + pixels[:,:,:,i] -= 0.5 + pixels[:,:,:,i] *= m + pixels[:,:,:,i] += 0.5 + concat_latent = vae.encode(pixels) + orig_latent = vae.encode(orig_pixels) + + out_latent = {} + + out_latent["samples"] = orig_latent + if noise_mask: + out_latent["noise_mask"] = mask + + out = [] + for conditioning in [positive, negative]: + c = node_helpers.conditioning_set_values(conditioning, {"concat_latent_image": concat_latent, + "concat_mask": mask}) + out.append(c) + return (out[0], out[1], out_latent) + + +class SaveLatent: + SEARCH_ALIASES = ["export latent"] + + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT", ), + "filename_prefix": ("STRING", {"default": "latents/ComfyUI"})}, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + RETURN_TYPES = () + FUNCTION = "save" + + OUTPUT_NODE = True + + CATEGORY = "experimental" + + def save(self, samples, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir) + + # support save metadata for latent sharing + prompt_info = "" + if prompt is not None: + prompt_info = json.dumps(prompt) + + metadata = None + if not args.disable_metadata: + metadata = {"prompt": prompt_info} + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata[x] = json.dumps(extra_pnginfo[x]) + + file = f"{filename}_{counter:05}_.latent" + + results: list[FileLocator] = [] + results.append({ + "filename": file, + "subfolder": subfolder, + "type": "output" + }) + + file = os.path.join(full_output_folder, file) + + output = {} + output["latent_tensor"] = samples["samples"].contiguous() + output["latent_format_version_0"] = torch.tensor([]) + + comfy.utils.save_torch_file(output, file, metadata=metadata) + return { "ui": { "latents": results } } + + +class LoadLatent: + SEARCH_ALIASES = ["import latent", "open latent"] + + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f)) and f.endswith(".latent")] + return {"required": {"latent": [sorted(files), ]}, } + + CATEGORY = "experimental" + + RETURN_TYPES = ("LATENT", ) + FUNCTION = "load" + + def load(self, latent): + latent_path = folder_paths.get_annotated_filepath(latent) + latent = safetensors.torch.load_file(latent_path, device="cpu") + multiplier = 1.0 + if "latent_format_version_0" not in latent: + multiplier = 1.0 / 0.18215 + samples = {"samples": latent["latent_tensor"].float() * multiplier} + return (samples, ) + + @classmethod + def IS_CHANGED(s, latent): + image_path = folder_paths.get_annotated_filepath(latent) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, latent): + if not folder_paths.exists_annotated_filepath(latent): + return "Invalid latent file: {}".format(latent) + return True + + +class CheckpointLoader: + SEARCH_ALIASES = ["load model", "model loader"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "config_name": (folder_paths.get_filename_list("configs"), ), + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), )}} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders" + DEPRECATED = True + + def load_checkpoint(self, config_name, ckpt_name): + config_path = folder_paths.get_full_path("configs", config_name) + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + return comfy.sd.load_checkpoint(config_path, ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + +class CheckpointLoaderSimple: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "ckpt_name": (folder_paths.get_filename_list("checkpoints"), {"tooltip": "The name of the checkpoint (model) to load."}), + } + } + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + OUTPUT_TOOLTIPS = ("The model used for denoising latents.", + "The CLIP model used for encoding text prompts.", + "The VAE model used for encoding and decoding images to and from latent space.") + FUNCTION = "load_checkpoint" + + CATEGORY = "model/loaders" + DESCRIPTION = "Loads a diffusion model checkpoint, diffusion models are used to denoise latents." + SEARCH_ALIASES = ["load model", "checkpoint", "model loader", "load checkpoint", "ckpt", "model"] + + def load_checkpoint(self, ckpt_name): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out[:3] + +class DiffusersLoader: + SEARCH_ALIASES = ["load diffusers model"] + + @classmethod + def INPUT_TYPES(cls): + paths = [] + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + for root, subdir, files in os.walk(search_path, followlinks=True): + if "model_index.json" in files: + paths.append(os.path.relpath(root, start=search_path)) + + return {"required": {"model_path": (paths,), }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE") + FUNCTION = "load_checkpoint" + + CATEGORY = "advanced/loaders/deprecated" + + def load_checkpoint(self, model_path, output_vae=True, output_clip=True): + for search_path in folder_paths.get_folder_paths("diffusers"): + if os.path.exists(search_path): + path = os.path.join(search_path, model_path) + if os.path.exists(path): + model_path = path + break + + return comfy.diffusers_load.load_diffusers(model_path, output_vae=output_vae, output_clip=output_clip, embedding_directory=folder_paths.get_folder_paths("embeddings")) + + +class unCLIPCheckpointLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "ckpt_name": (folder_paths.get_filename_list("checkpoints"), ), + }} + RETURN_TYPES = ("MODEL", "CLIP", "VAE", "CLIP_VISION") + FUNCTION = "load_checkpoint" + + CATEGORY = "model/loaders" + + def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True): + ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) + out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, output_clipvision=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) + return out + +class CLIPSetLastLayer: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip": ("CLIP", ), + "stop_at_clip_layer": ("INT", {"default": -1, "min": -24, "max": -1, "step": 1, "advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "set_last_layer" + + CATEGORY = "model/conditioning" + + def set_last_layer(self, clip, stop_at_clip_layer): + clip = clip.clone() + clip.clip_layer(stop_at_clip_layer) + return (clip,) + +class LoraLoader: + ESSENTIALS_CATEGORY = "Image Generation" + + def __init__(self): + self.loaded_lora = None + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The diffusion model the LoRA will be applied to."}), + "clip": ("CLIP", {"tooltip": "The CLIP model the LoRA will be applied to."}), + "lora_name": (folder_paths.get_filename_list("loras"), {"tooltip": "The name of the LoRA."}), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the diffusion model. This value can be negative."}), + "strength_clip": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01, "tooltip": "How strongly to modify the CLIP model. This value can be negative."}), + } + } + + RETURN_TYPES = ("MODEL", "CLIP") + OUTPUT_TOOLTIPS = ("The modified diffusion model.", "The modified CLIP model.") + FUNCTION = "load_lora" + + CATEGORY = "model/loaders" + DESCRIPTION = "This LoRA loader is used to modify both diffusion and CLIP models, altering the way in which latents are denoised such as applying styles. Multiple LoRA nodes can be linked together." + SEARCH_ALIASES = ["lora", "load lora", "apply lora", "lora loader", "lora model"] + + def load_lora(self, model, clip, lora_name, strength_model, strength_clip): + if strength_model == 0 and strength_clip == 0: + return (model, clip) + + lora_path = folder_paths.get_full_path_or_raise("loras", lora_name) + lora = None + lora_metadata = None + if self.loaded_lora is not None: + if self.loaded_lora[0] == lora_path: + lora = self.loaded_lora[1] + lora_metadata = self.loaded_lora[2] if len(self.loaded_lora) > 2 else None + else: + self.loaded_lora = None + + if lora is None: + lora, lora_metadata = comfy.utils.load_torch_file(lora_path, safe_load=True, return_metadata=True) + self.loaded_lora = (lora_path, lora, lora_metadata) + + model_lora, clip_lora = comfy.sd.load_lora_for_models(model, clip, lora, strength_model, strength_clip, lora_metadata=lora_metadata) + return (model_lora, clip_lora) + +class LoraLoaderModelOnly(LoraLoader): + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "lora_name": (folder_paths.get_filename_list("loras"), ), + "strength_model": ("FLOAT", {"default": 1.0, "min": -100.0, "max": 100.0, "step": 0.01}), + }} + RETURN_TYPES = ("MODEL",) + DESCRIPTION = "This LoRAs loader is used to modify the diffusion model, altering the way in which latents are denoised such as applying styles. Multiple LoRA nodes can be linked together." + FUNCTION = "load_lora_model_only" + + def load_lora_model_only(self, model, lora_name, strength_model): + return (self.load_lora(model, None, lora_name, strength_model, 0)[0],) + +class VAELoader: + video_taes = ["taehv", "lighttaew2_2", "lighttaew2_1", "lighttaehy1_5", "taeltx_2"] + image_taes = ["taesd", "taesdxl", "taesd3", "taef1", "taef2"] + + @staticmethod + def vae_list(s): + vaes = folder_paths.get_filename_list("vae") + approx_vaes = folder_paths.get_filename_list("vae_approx") + have_img_encoder, have_img_decoder = set(), set() + for v in approx_vaes: + parts = v.split("_", 1) + if len(parts) != 2 or parts[0] not in s.image_taes: + for tae in s.video_taes: + if v.startswith(tae): + vaes.append(v) + break + continue + if parts[1].startswith("encoder."): + have_img_encoder.add(parts[0]) + elif parts[1].startswith("decoder."): + have_img_decoder.add(parts[0]) + vaes += [k for k in have_img_decoder if k in have_img_encoder] + vaes.append("pixel_space") + return vaes + + @staticmethod + def load_taesd(name): + sd = {} + approx_vaes = folder_paths.get_filename_list("vae_approx") + + encoder = next(filter(lambda a: a.startswith("{}_encoder.".format(name)), approx_vaes)) + decoder = next(filter(lambda a: a.startswith("{}_decoder.".format(name)), approx_vaes)) + + enc = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", encoder)) + for k in enc: + sd["taesd_encoder.{}".format(k)] = enc[k] + + dec = comfy.utils.load_torch_file(folder_paths.get_full_path_or_raise("vae_approx", decoder)) + for k in dec: + sd["taesd_decoder.{}".format(k)] = dec[k] + + if name == "taesd": + sd["vae_scale"] = torch.tensor(0.18215) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesdxl": + sd["vae_scale"] = torch.tensor(0.13025) + sd["vae_shift"] = torch.tensor(0.0) + elif name == "taesd3": + sd["vae_scale"] = torch.tensor(1.5305) + sd["vae_shift"] = torch.tensor(0.0609) + elif name == "taef1": + sd["vae_scale"] = torch.tensor(0.3611) + sd["vae_shift"] = torch.tensor(0.1159) + return sd + + @classmethod + def INPUT_TYPES(s): + return {"required": { "vae_name": (s.vae_list(s), )}} + RETURN_TYPES = ("VAE",) + FUNCTION = "load_vae" + + CATEGORY = "model/loaders" + + #TODO: scale factor? + def load_vae(self, vae_name): + metadata = None + vae_path = None + if vae_name == "pixel_space": + sd = {} + sd["pixel_space_vae"] = torch.tensor(1.0) + elif vae_name in self.image_taes: + sd = self.load_taesd(vae_name) + else: + if os.path.splitext(vae_name)[0] in self.video_taes: + vae_path = folder_paths.get_full_path_or_raise("vae_approx", vae_name) + else: + vae_path = folder_paths.get_full_path_or_raise("vae", vae_name) + sd, metadata = comfy.utils.load_torch_file(vae_path, return_metadata=True) + if vae_name == "taef2": + if metadata is None: + metadata = {"tae_latent_channels": 128} + else: + metadata["tae_latent_channels"] = 128 + vae = comfy.sd.VAE(sd=sd, metadata=metadata) + vae.throw_exception_if_invalid() + # Register a reload factory on the patcher so multigpu deepclones + # (Select VAE Device, future MultiGPU VAE work-units) can produce + # per-device clones from the same loader context. Only set when we + # actually have a single backing file -- pixel_space and the + # image TAESDs (composed from separate encoder/decoder files via + # load_taesd) are not addressable by a single vae_path. + if vae_path is not None: + vae.patcher.cached_patcher_init = (comfy.sd.load_vae_patcher, (vae_path, metadata, None)) + return (vae,) + +class ControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "model/loaders" + SEARCH_ALIASES = ["controlnet", "control net", "cn", "load controlnet", "controlnet loader"] + + def load_controlnet(self, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path) + if controlnet is None: + raise RuntimeError("ERROR: controlnet file is invalid and does not contain a valid controlnet model.") + return (controlnet,) + +class DiffControlNetLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "model": ("MODEL",), + "control_net_name": (folder_paths.get_filename_list("controlnet"), )}} + + RETURN_TYPES = ("CONTROL_NET",) + FUNCTION = "load_controlnet" + + CATEGORY = "model/loaders" + + def load_controlnet(self, model, control_net_name): + controlnet_path = folder_paths.get_full_path_or_raise("controlnet", control_net_name) + controlnet = comfy.controlnet.load_controlnet(controlnet_path, model) + return (controlnet,) + + +class ControlNetApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}) + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_controlnet" + + DEPRECATED = True + CATEGORY = "model/conditioning/controlnet" + + def apply_controlnet(self, conditioning, control_net, image, strength): + if strength == 0: + return (conditioning, ) + + c = [] + control_hint = image.movedim(-1,1) + for t in conditioning: + n = [t[0], t[1].copy()] + c_net = control_net.copy().set_cond_hint(control_hint, strength) + if 'control' in t[1]: + c_net.set_previous_controlnet(t[1]['control']) + n[1]['control'] = c_net + n[1]['control_apply_to_uncond'] = True + c.append(n) + return (c, ) + + +class ControlNetApplyAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": {"positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "control_net": ("CONTROL_NET", ), + "image": ("IMAGE", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.01}), + "start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}), + "end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}) + }, + "optional": {"vae": ("VAE", ), + } + } + + RETURN_TYPES = ("CONDITIONING","CONDITIONING") + RETURN_NAMES = ("positive", "negative") + FUNCTION = "apply_controlnet" + + CATEGORY = "model/conditioning/controlnet" + SEARCH_ALIASES = ["controlnet", "apply controlnet", "use controlnet", "control net"] + + def apply_controlnet(self, positive, negative, control_net, image, strength, start_percent, end_percent, vae=None, extra_concat=[]): + if strength == 0: + return (positive, negative) + + control_hint = image.movedim(-1,1) + cnets = {} + + out = [] + for conditioning in [positive, negative]: + c = [] + for t in conditioning: + d = t[1].copy() + + prev_cnet = d.get('control', None) + if prev_cnet in cnets: + c_net = cnets[prev_cnet] + else: + c_net = control_net.copy().set_cond_hint(control_hint, strength, (start_percent, end_percent), vae=vae, extra_concat=extra_concat) + c_net.set_previous_controlnet(prev_cnet) + cnets[prev_cnet] = c_net + + d['control'] = c_net + d['control_apply_to_uncond'] = False + n = [t[0], d] + c.append(n) + out.append(c) + return (out[0], out[1]) + + +class UNETLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "unet_name": (folder_paths.get_filename_list("diffusion_models"), ), + "weight_dtype": (["default", "fp8_e4m3fn", "fp8_e4m3fn_fast", "fp8_e5m2"], {"advanced": True}) + }} + RETURN_TYPES = ("MODEL",) + FUNCTION = "load_unet" + + CATEGORY = "advanced/loaders" + + def load_unet(self, unet_name, weight_dtype): + model_options = {} + if weight_dtype == "fp8_e4m3fn": + model_options["dtype"] = torch.float8_e4m3fn + elif weight_dtype == "fp8_e4m3fn_fast": + model_options["dtype"] = torch.float8_e4m3fn + model_options["fp8_optimizations"] = True + elif weight_dtype == "fp8_e5m2": + model_options["dtype"] = torch.float8_e5m2 + + unet_path = folder_paths.get_full_path_or_raise("diffusion_models", unet_name) + model = comfy.sd.load_diffusion_model(unet_path, model_options=model_options) + return (model,) + +class CLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["stable_diffusion", "stable_cascade", "sd3", "stable_audio", "mochi", "ltxv", "pixart", "cosmos", "lumina2", "wan", "hidream", "chroma", "ace", "omnigen2", "qwen_image", "hunyuan_image", "flux2", "ovis", "longcat_image", "cogvideox", "lens", "pixeldit", "ideogram4"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nstable_diffusion: clip-l\nstable_cascade: clip-g\nsd3: t5 xxl/ clip-g / clip-l\nstable_audio: t5 base\nmochi: t5 xxl\ncogvideox: t5 xxl (226-token padding)\ncosmos: old t5 xxl\nlumina2: gemma 2 2B\nwan: umt5 xxl\n hidream: llama-3.1 (Recommend) or t5\nomnigen2: qwen vl 2.5 3B\nlens: gpt-oss-20b\n pixeldit: gemma 2 2B elm" + + def load_clip(self, clip_name, type="stable_diffusion", device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip_path = folder_paths.get_full_path_or_raise("text_encoders", clip_name) + clip = comfy.sd.load_clip(ckpt_paths=[clip_path], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class DualCLIPLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name1": (folder_paths.get_filename_list("text_encoders"), ), + "clip_name2": (folder_paths.get_filename_list("text_encoders"), ), + "type": (["sdxl", "sd3", "flux", "hunyuan_video", "hidream", "hunyuan_image", "hunyuan_video_15", "kandinsky5", "kandinsky5_image", "ltxv", "newbie", "ace"], ), + }, + "optional": { + "device": (["default", "cpu"], {"advanced": True}), + }} + RETURN_TYPES = ("CLIP",) + FUNCTION = "load_clip" + + CATEGORY = "advanced/loaders" + + DESCRIPTION = "[Recipes]\n\nsdxl: clip-l, clip-g\nsd3: clip-l, clip-g / clip-l, t5 / clip-g, t5\nflux: clip-l, t5\nhidream: at least one of t5 or llama, recommended t5 and llama\nhunyuan_image: qwen2.5vl 7b and byt5 small\nnewbie: gemma-3-4b-it, jina clip v2" + + def load_clip(self, clip_name1, clip_name2, type, device="default"): + clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) + + clip_path1 = folder_paths.get_full_path_or_raise("text_encoders", clip_name1) + clip_path2 = folder_paths.get_full_path_or_raise("text_encoders", clip_name2) + + model_options = {} + if device == "cpu": + model_options["load_device"] = model_options["offload_device"] = torch.device("cpu") + + clip = comfy.sd.load_clip(ckpt_paths=[clip_path1, clip_path2], embedding_directory=folder_paths.get_folder_paths("embeddings"), clip_type=clip_type, model_options=model_options) + return (clip,) + +class CLIPVisionLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_name": (folder_paths.get_filename_list("clip_vision"), ), + }} + RETURN_TYPES = ("CLIP_VISION",) + FUNCTION = "load_clip" + + CATEGORY = "model/loaders" + + def load_clip(self, clip_name): + clip_path = folder_paths.get_full_path_or_raise("clip_vision", clip_name) + clip_vision = comfy.clip_vision.load(clip_path) + if clip_vision is None: + raise RuntimeError("ERROR: clip vision file is invalid and does not contain a valid vision model.") + return (clip_vision,) + +class CLIPVisionEncode: + @classmethod + def INPUT_TYPES(s): + return {"required": { "clip_vision": ("CLIP_VISION",), + "image": ("IMAGE",), + "crop": (["center", "none"],) + }} + RETURN_TYPES = ("CLIP_VISION_OUTPUT",) + FUNCTION = "encode" + + CATEGORY = "model/conditioning" + + def encode(self, clip_vision, image, crop): + crop_image = True + if crop != "center": + crop_image = False + output = clip_vision.encode_image(image, crop=crop_image) + return (output,) + +class StyleModelLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "style_model_name": (folder_paths.get_filename_list("style_models"), )}} + + RETURN_TYPES = ("STYLE_MODEL",) + FUNCTION = "load_style_model" + + CATEGORY = "model/loaders" + + def load_style_model(self, style_model_name): + style_model_path = folder_paths.get_full_path_or_raise("style_models", style_model_name) + style_model = comfy.sd.load_style_model(style_model_path) + return (style_model,) + + +class StyleModelApply: + SEARCH_ALIASES = ["style transfer"] + + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "style_model": ("STYLE_MODEL", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 10.0, "step": 0.001}), + "strength_type": (["multiply", "attn_bias"], ), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_stylemodel" + + CATEGORY = "model/conditioning/style_model" + + def apply_stylemodel(self, conditioning, style_model, clip_vision_output, strength, strength_type): + cond = style_model.get_cond(clip_vision_output).flatten(start_dim=0, end_dim=1).unsqueeze(dim=0) + if strength_type == "multiply": + cond *= strength + + n = cond.shape[1] + c_out = [] + for t in conditioning: + (txt, keys) = t + keys = keys.copy() + # even if the strength is 1.0 (i.e, no change), if there's already a mask, we have to add to it + if "attention_mask" in keys or (strength_type == "attn_bias" and strength != 1.0): + # math.log raises an error if the argument is zero + # torch.log returns -inf, which is what we want + attn_bias = torch.log(torch.Tensor([strength if strength_type == "attn_bias" else 1.0])) + # get the size of the mask image + mask_ref_size = keys.get("attention_mask_img_shape", (1, 1)) + n_ref = mask_ref_size[0] * mask_ref_size[1] + n_txt = txt.shape[1] + # grab the existing mask + mask = keys.get("attention_mask", None) + # create a default mask if it doesn't exist + if mask is None: + mask = torch.zeros((txt.shape[0], n_txt + n_ref, n_txt + n_ref), dtype=torch.float16) + # convert the mask dtype, because it might be boolean + # we want it to be interpreted as a bias + if mask.dtype == torch.bool: + # log(True) = log(1) = 0 + # log(False) = log(0) = -inf + mask = torch.log(mask.to(dtype=torch.float16)) + # now we make the mask bigger to add space for our new tokens + new_mask = torch.zeros((txt.shape[0], n_txt + n + n_ref, n_txt + n + n_ref), dtype=torch.float16) + # copy over the old mask, in quandrants + new_mask[:, :n_txt, :n_txt] = mask[:, :n_txt, :n_txt] + new_mask[:, :n_txt, n_txt+n:] = mask[:, :n_txt, n_txt:] + new_mask[:, n_txt+n:, :n_txt] = mask[:, n_txt:, :n_txt] + new_mask[:, n_txt+n:, n_txt+n:] = mask[:, n_txt:, n_txt:] + # now fill in the attention bias to our redux tokens + new_mask[:, :n_txt, n_txt:n_txt+n] = attn_bias + new_mask[:, n_txt+n:, n_txt:n_txt+n] = attn_bias + keys["attention_mask"] = new_mask.to(txt.device) + keys["attention_mask_img_shape"] = mask_ref_size + + c_out.append([torch.cat((txt, cond), dim=1), keys]) + + return (c_out,) + +class unCLIPConditioning: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning": ("CONDITIONING", ), + "clip_vision_output": ("CLIP_VISION_OUTPUT", ), + "strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}), + "noise_augmentation": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.01}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "apply_adm" + + CATEGORY = "model/conditioning" + + def apply_adm(self, conditioning, clip_vision_output, strength, noise_augmentation): + if strength == 0: + return (conditioning, ) + + c = node_helpers.conditioning_set_values(conditioning, {"unclip_conditioning": [{"clip_vision_output": clip_vision_output, "strength": strength, "noise_augmentation": noise_augmentation}]}, append=True) + return (c, ) + +class GLIGENLoader: + @classmethod + def INPUT_TYPES(s): + return {"required": { "gligen_name": (folder_paths.get_filename_list("gligen"), )}} + + RETURN_TYPES = ("GLIGEN",) + FUNCTION = "load_gligen" + + CATEGORY = "model/loaders" + + def load_gligen(self, gligen_name): + gligen_path = folder_paths.get_full_path_or_raise("gligen", gligen_name) + gligen = comfy.sd.load_gligen(gligen_path) + return (gligen,) + +class GLIGENTextBoxApply: + @classmethod + def INPUT_TYPES(s): + return {"required": {"conditioning_to": ("CONDITIONING", ), + "clip": ("CLIP", ), + "gligen_textbox_model": ("GLIGEN", ), + "text": ("STRING", {"multiline": True, "dynamicPrompts": True}), + "width": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 64, "min": 8, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("CONDITIONING",) + FUNCTION = "append" + + CATEGORY = "model/conditioning/gligen" + + def append(self, conditioning_to, clip, gligen_textbox_model, text, width, height, x, y): + c = [] + cond, cond_pooled = clip.encode_from_tokens(clip.tokenize(text), return_pooled="unprojected") + for t in conditioning_to: + n = [t[0], t[1].copy()] + position_params = [(cond_pooled, height // 8, width // 8, y // 8, x // 8)] + prev = [] + if "gligen" in n[1]: + prev = n[1]['gligen'][2] + + n[1]['gligen'] = ("position", gligen_textbox_model, prev + position_params) + c.append(n) + return (c, ) + +class EmptyLatentImage: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "width": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The width of the latent images in pixels."}), + "height": ("INT", {"default": 512, "min": 16, "max": MAX_RESOLUTION, "step": 8, "tooltip": "The height of the latent images in pixels."}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096, "tooltip": "The number of latent images in the batch."}) + } + } + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The empty latent image batch.",) + FUNCTION = "generate" + + CATEGORY = "model/latent" + DESCRIPTION = "Create a new batch of empty latent images to be denoised via sampling." + SEARCH_ALIASES = ["empty", "empty latent", "new latent", "create latent", "blank latent", "blank"] + + def generate(self, width, height, batch_size=1): + latent = torch.zeros([batch_size, 4, height // 8, width // 8], device=comfy.model_management.intermediate_device(), dtype=comfy.model_management.intermediate_dtype()) + return ({"samples": latent, "downscale_ratio_spacial": 8}, ) + + +class LatentFromBatch: + SEARCH_ALIASES = ["select from batch", "pick latent", "batch subset"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "batch_index": ("INT", {"default": 0, "min": -MAX_RESOLUTION, "max": MAX_RESOLUTION}), + "length": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "frombatch" + + CATEGORY = "model/latent/batch" + + def frombatch(self, samples, batch_index, length): + s = samples.copy() + s_in = samples["samples"] + if batch_index < 0: + batch_index += s_in.shape[0] + batch_index = max(0, min(s_in.shape[0] - 1, batch_index)) + length = min(s_in.shape[0] - batch_index, length) + s["samples"] = s_in[batch_index:batch_index + length].clone() + if "noise_mask" in samples: + masks = samples["noise_mask"] + if masks.shape[0] == 1: + s["noise_mask"] = masks.clone() + else: + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat(math.ceil(s_in.shape[0] / masks.shape[0]), 1, 1, 1)[:s_in.shape[0]] + s["noise_mask"] = masks[batch_index:batch_index + length].clone() + if "batch_index" not in s: + s["batch_index"] = [x for x in range(batch_index, batch_index+length)] + else: + s["batch_index"] = samples["batch_index"][batch_index:batch_index + length] + return (s,) + +class RepeatLatentBatch: + SEARCH_ALIASES = ["duplicate latent", "clone latent"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "amount": ("INT", {"default": 1, "min": 1, "max": 64}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "repeat" + + CATEGORY = "model/latent/batch" + + def repeat(self, samples, amount): + s = samples.copy() + s_in = samples["samples"] + + s["samples"] = s_in.repeat((amount,) + ((1,) * (s_in.ndim - 1))) + if "noise_mask" in samples and samples["noise_mask"].shape[0] > 1: + masks = samples["noise_mask"] + if masks.shape[0] < s_in.shape[0]: + masks = masks.repeat((math.ceil(s_in.shape[0] / masks.shape[0]),) + ((1,) * (masks.ndim - 1)))[:s_in.shape[0]] + s["noise_mask"] = samples["noise_mask"].repeat((amount,) + ((1,) * (samples["noise_mask"].ndim - 1))) + if "batch_index" in s: + offset = max(s["batch_index"]) - min(s["batch_index"]) + 1 + s["batch_index"] = s["batch_index"] + [x + (i * offset) for i in range(1, amount) for x in s["batch_index"]] + return (s,) + +class LatentUpscale: + SEARCH_ALIASES = ["enlarge latent", "resize latent"] + + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "model/latent" + + def upscale(self, samples, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = samples + else: + s = samples.copy() + + if width == 0: + height = max(64, height) + width = max(64, round(samples["samples"].shape[-1] * height / samples["samples"].shape[-2])) + elif height == 0: + width = max(64, width) + height = max(64, round(samples["samples"].shape[-2] * width / samples["samples"].shape[-1])) + else: + width = max(64, width) + height = max(64, height) + + s["samples"] = comfy.utils.common_upscale(samples["samples"], width // 8, height // 8, upscale_method, crop) + return (s,) + +class LatentUpscaleBy: + SEARCH_ALIASES = ["enlarge latent", "resize latent", "scale latent"] + + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "bislerp"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.5, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("LATENT",) + FUNCTION = "upscale" + + CATEGORY = "model/latent" + + def upscale(self, samples, upscale_method, scale_by): + s = samples.copy() + width = round(samples["samples"].shape[-1] * scale_by) + height = round(samples["samples"].shape[-2] * scale_by) + s["samples"] = comfy.utils.common_upscale(samples["samples"], width, height, upscale_method, "disabled") + return (s,) + +class LatentRotate: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "rotation": (["none", "90 degrees", "180 degrees", "270 degrees"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "rotate" + + CATEGORY = "model/latent/transform" + + def rotate(self, samples, rotation): + s = samples.copy() + rotate_by = 0 + if rotation.startswith("90"): + rotate_by = 1 + elif rotation.startswith("180"): + rotate_by = 2 + elif rotation.startswith("270"): + rotate_by = 3 + + s["samples"] = torch.rot90(samples["samples"], k=rotate_by, dims=[3, 2]) + return (s,) + +class LatentFlip: + SEARCH_ALIASES = ["mirror latent"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "flip_method": (["x-axis: vertically", "y-axis: horizontally"],), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "flip" + + CATEGORY = "model/latent/transform" + + def flip(self, samples, flip_method): + s = samples.copy() + if flip_method.startswith("x"): + s["samples"] = torch.flip(samples["samples"], dims=[2]) + elif flip_method.startswith("y"): + s["samples"] = torch.flip(samples["samples"], dims=[3]) + + return (s,) + +class LatentComposite: + SEARCH_ALIASES = ["overlay latent", "layer latent", "paste latent"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples_to": ("LATENT",), + "samples_from": ("LATENT",), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feather": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "composite" + + CATEGORY = "model/latent" + + def composite(self, samples_to, samples_from, x, y, composite_method="normal", feather=0): + x = x // 8 + y = y // 8 + feather = feather // 8 + samples_out = samples_to.copy() + s = samples_to["samples"].clone() + samples_to = samples_to["samples"] + samples_from = samples_from["samples"] + if feather == 0: + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + else: + samples_from = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] + mask = torch.ones_like(samples_from) + for t in range(feather): + if y != 0: + mask[:,:,t:1+t,:] *= ((1.0/feather) * (t + 1)) + + if y + samples_from.shape[2] < samples_to.shape[2]: + mask[:,:,mask.shape[2] -1 -t: mask.shape[2]-t,:] *= ((1.0/feather) * (t + 1)) + if x != 0: + mask[:,:,:,t:1+t] *= ((1.0/feather) * (t + 1)) + if x + samples_from.shape[3] < samples_to.shape[3]: + mask[:,:,:,mask.shape[3]- 1 - t: mask.shape[3]- t] *= ((1.0/feather) * (t + 1)) + rev_mask = torch.ones_like(mask) - mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] = samples_from[:,:,:samples_to.shape[2] - y, :samples_to.shape[3] - x] * mask + s[:,:,y:y+samples_from.shape[2],x:x+samples_from.shape[3]] * rev_mask + samples_out["samples"] = s + return (samples_out,) + +class LatentBlend: + SEARCH_ALIASES = ["mix latents", "interpolate latents"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { + "samples1": ("LATENT",), + "samples2": ("LATENT",), + "blend_factor": ("FLOAT", { + "default": 0.5, + "min": 0, + "max": 1, + "step": 0.01 + }), + }} + + RETURN_TYPES = ("LATENT",) + FUNCTION = "blend" + + CATEGORY = "experimental" + + def blend(self, samples1, samples2, blend_factor:float, blend_mode: str="normal"): + + samples_out = samples1.copy() + samples1 = samples1["samples"] + samples2 = samples2["samples"] + + if samples1.shape != samples2.shape: + samples2.permute(0, 3, 1, 2) + samples2 = comfy.utils.common_upscale(samples2, samples1.shape[3], samples1.shape[2], 'bicubic', crop='center') + samples2.permute(0, 2, 3, 1) + + samples_blended = self.blend_mode(samples1, samples2, blend_mode) + samples_blended = samples1 * blend_factor + samples_blended * (1 - blend_factor) + samples_out["samples"] = samples_blended + return (samples_out,) + + def blend_mode(self, img1, img2, mode): + if mode == "normal": + return img2 + else: + raise ValueError(f"Unsupported blend mode: {mode}") + +class LatentCrop: + SEARCH_ALIASES = ["trim latent", "cut latent"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "width": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "height": ("INT", {"default": 512, "min": 64, "max": MAX_RESOLUTION, "step": 8}), + "x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "crop" + + CATEGORY = "model/latent/transform" + + def crop(self, samples, width, height, x, y): + s = samples.copy() + samples = samples['samples'] + x = x // 8 + y = y // 8 + + #enfonce minimum size of 64 + if x > (samples.shape[3] - 8): + x = samples.shape[3] - 8 + if y > (samples.shape[2] - 8): + y = samples.shape[2] - 8 + + new_height = height // 8 + new_width = width // 8 + to_x = new_width + x + to_y = new_height + y + s['samples'] = samples[:,:,y:to_y, x:to_x] + return (s,) + +class SetLatentNoiseMask: + @classmethod + def INPUT_TYPES(s): + return {"required": { "samples": ("LATENT",), + "mask": ("MASK",), + }} + RETURN_TYPES = ("LATENT",) + FUNCTION = "set_mask" + + CATEGORY = "model/latent/inpaint" + + def set_mask(self, samples, mask): + s = samples.copy() + s["noise_mask"] = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])) + return (s,) + +def common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent, denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False): + latent_image = latent["samples"] + latent_image = comfy.sample.fix_empty_latent_channels(model, latent_image, latent.get("downscale_ratio_spacial", None), latent.get("downscale_ratio_temporal", None)) + + if disable_noise: + noise = torch.zeros(latent_image.size(), dtype=latent_image.dtype, layout=latent_image.layout, device="cpu") + else: + batch_inds = latent["batch_index"] if "batch_index" in latent else None + noise = comfy.sample.prepare_noise(latent_image, seed, batch_inds) + + noise_mask = None + if "noise_mask" in latent: + noise_mask = latent["noise_mask"] + + callback = latent_preview.prepare_callback(model, steps) + disable_pbar = not comfy.utils.PROGRESS_BAR_ENABLED + samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, + denoise=denoise, disable_noise=disable_noise, start_step=start_step, last_step=last_step, + force_full_denoise=force_full_denoise, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed) + out = latent.copy() + out.pop("downscale_ratio_spacial", None) + out.pop("downscale_ratio_temporal", None) + out["samples"] = samples + return (out, ) + +class KSampler: + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "model": ("MODEL", {"tooltip": "The model used for denoising the input latent."}), + "seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True, "tooltip": "The random seed used for creating the noise."}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000, "tooltip": "The number of steps used in the denoising process."}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01, "tooltip": "The Classifier-Free Guidance scale balances creativity and adherence to the prompt. Higher values result in images more closely matching the prompt however too high values will negatively impact quality."}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, {"tooltip": "The algorithm used when sampling, this can affect the quality, speed, and style of the generated output."}), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, {"tooltip": "The scheduler controls how noise is gradually removed to form the image."}), + "positive": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to include in the image."}), + "negative": ("CONDITIONING", {"tooltip": "The conditioning describing the attributes you want to exclude from the image."}), + "latent_image": ("LATENT", {"tooltip": "The latent image to denoise."}), + "denoise": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.01, "tooltip": "The amount of denoising applied, lower values will maintain the structure of the initial image allowing for image to image sampling."}), + } + } + + RETURN_TYPES = ("LATENT",) + OUTPUT_TOOLTIPS = ("The denoised latent.",) + FUNCTION = "sample" + + CATEGORY = "model/sampling" + DESCRIPTION = "Uses the provided model, positive and negative conditioning to denoise the latent image." + SEARCH_ALIASES = ["sampler", "sample", "generate", "denoise", "diffuse", "txt2img", "img2img"] + + def sample(self, model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0): + return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise) + +class KSamplerAdvanced: + @classmethod + def INPUT_TYPES(s): + return {"required": + {"model": ("MODEL",), + "add_noise": (["enable", "disable"], {"advanced": True}), + "noise_seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff, "control_after_generate": True}), + "steps": ("INT", {"default": 20, "min": 1, "max": 10000}), + "cfg": ("FLOAT", {"default": 8.0, "min": 0.0, "max": 100.0, "step":0.1, "round": 0.01}), + "sampler_name": (comfy.samplers.KSampler.SAMPLERS, ), + "scheduler": (comfy.samplers.KSampler.SCHEDULERS, ), + "positive": ("CONDITIONING", ), + "negative": ("CONDITIONING", ), + "latent_image": ("LATENT", ), + "start_at_step": ("INT", {"default": 0, "min": 0, "max": 10000, "advanced": True}), + "end_at_step": ("INT", {"default": 10000, "min": 0, "max": 10000, "advanced": True}), + "return_with_leftover_noise": (["disable", "enable"], {"advanced": True}), + } + } + + RETURN_TYPES = ("LATENT",) + FUNCTION = "sample" + + CATEGORY = "model/sampling" + + def sample(self, model, add_noise, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, start_at_step, end_at_step, return_with_leftover_noise, denoise=1.0): + force_full_denoise = True + if return_with_leftover_noise == "enable": + force_full_denoise = False + disable_noise = False + if add_noise == "disable": + disable_noise = True + return common_ksampler(model, noise_seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise, disable_noise=disable_noise, start_step=start_at_step, last_step=end_at_step, force_full_denoise=force_full_denoise) + +class SaveImage: + def __init__(self): + self.output_dir = folder_paths.get_output_directory() + self.type = "output" + self.prefix_append = "" + self.compress_level = 4 + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "images": ("IMAGE", {"tooltip": "The images to save."}), + "filename_prefix": ("STRING", {"default": "ComfyUI", "tooltip": "The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."}) + }, + "hidden": { + "prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO" + }, + } + + RETURN_TYPES = () + FUNCTION = "save_images" + + OUTPUT_NODE = True + + CATEGORY = "image" + ESSENTIALS_CATEGORY = "Basics" + DESCRIPTION = "Saves the input images to your ComfyUI output directory." + SEARCH_ALIASES = ["save", "save image", "export image", "output image", "write image", "download"] + + def save_images(self, images, filename_prefix="ComfyUI", prompt=None, extra_pnginfo=None): + filename_prefix += self.prefix_append + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0]) + results = list() + for (batch_number, image) in enumerate(images): + i = 255. * image.cpu().numpy() + img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8)) + metadata = None + if not args.disable_metadata: + metadata = PngInfo() + if prompt is not None: + metadata.add_text("prompt", json.dumps(prompt)) + if extra_pnginfo is not None: + for x in extra_pnginfo: + metadata.add_text(x, json.dumps(extra_pnginfo[x])) + + filename_with_batch_num = filename.replace("%batch_num%", str(batch_number)) + file = f"{filename_with_batch_num}_{counter:05}_.png" + img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=self.compress_level) + results.append({ + "filename": file, + "subfolder": subfolder, + "type": self.type + }) + counter += 1 + + return { "ui": { "images": results } } + +class PreviewImage(SaveImage): + def __init__(self): + self.output_dir = folder_paths.get_temp_directory() + self.type = "temp" + self.prefix_append = "_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for x in range(5)) + self.compress_level = 1 + + SEARCH_ALIASES = ["preview", "preview image", "show image", "view image", "display image", "image viewer"] + + @classmethod + def INPUT_TYPES(s): + return {"required": + {"images": ("IMAGE", ), }, + "hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"}, + } + +class LoadImage: + @classmethod + def INPUT_TYPES(s): + input_dir = folder_paths.get_input_directory() + files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))] + files = folder_paths.filter_files_content_types(files, ["image"]) + return {"required": + {"image": (sorted(files), {"image_upload": True})}, + } + + CATEGORY = "image" + ESSENTIALS_CATEGORY = "Basics" + SEARCH_ALIASES = ["load image", "open image", "import image", "image input", "upload image", "read image", "image loader"] + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "load_image" + + def load_image(self, image): + image_path = folder_paths.get_annotated_filepath(image) + + dtype = comfy.model_management.intermediate_dtype() + device = comfy.model_management.intermediate_device() + + components = InputImpl.VideoFromFile(image_path).get_components() + if components.images.shape[0] > 0: + return (components.images.to(device=device, dtype=dtype), (1.0 - components.alpha[..., -1]).to(device=device, dtype=dtype) if components.alpha is not None else torch.zeros((components.images.shape[0], 64, 64), dtype=dtype, device=device)) + + # This code is left here to handle animated webp which pyav does not support loading + img = node_helpers.pillow(Image.open, image_path) + + output_images = [] + output_masks = [] + w, h = None, None + + for i in ImageSequence.Iterator(img): + i = node_helpers.pillow(ImageOps.exif_transpose, i) + + image = i.convert("RGB") + + if len(output_images) == 0: + w = image.size[0] + h = image.size[1] + + if image.size[0] != w or image.size[1] != h: + continue + + image = np.array(image).astype(np.float32) / 255.0 + image = torch.from_numpy(image)[None,] + if 'A' in i.getbands(): + mask = np.array(i.getchannel('A')).astype(np.float32) / 255.0 + mask = 1. - torch.from_numpy(mask) + else: + mask = torch.zeros((64, 64), dtype=torch.float32, device="cpu") + output_images.append(image.to(dtype=dtype)) + output_masks.append(mask.unsqueeze(0).to(dtype=dtype)) + + output_image = torch.cat(output_images, dim=0) + output_mask = torch.cat(output_masks, dim=0) + + return (output_image.to(device=device, dtype=dtype), output_mask.to(device=device, dtype=dtype)) + + @classmethod + def IS_CHANGED(s, image): + image_path = folder_paths.get_annotated_filepath(image) + m = hashlib.sha256() + with open(image_path, 'rb') as f: + m.update(f.read()) + return m.digest().hex() + + @classmethod + def VALIDATE_INPUTS(s, image): + if not folder_paths.exists_annotated_filepath(image): + return "Invalid image file: {}".format(image) + + return True + + +class LoadImageMask(LoadImage): + ESSENTIALS_CATEGORY = "Image Tools" + SEARCH_ALIASES = ["import mask", "alpha mask", "channel mask"] + + _color_channels = ["alpha", "red", "green", "blue"] + + @classmethod + def INPUT_TYPES(s): + types = super().INPUT_TYPES() + return { + "required": { + **types["required"], + "channel": (s._color_channels, ) + } + } + + CATEGORY = "image" + RETURN_TYPES = ("MASK",) + FUNCTION = "load_image_mask" + + def load_image_mask(self, image, channel): + image_tensor, mask_tensor = super().load_image(image) + c = channel[0].upper() + + if c == 'A': + return (mask_tensor,) + + channel_idx = {'R': 0, 'G': 1, 'B': 2}.get(c, 0) + + if channel_idx < image_tensor.shape[-1]: + return (image_tensor[..., channel_idx].clone(),) + else: + empty_mask = torch.zeros( + image_tensor.shape[:-1], + dtype=image_tensor.dtype, + device=image_tensor.device + ) + return (empty_mask,) + + @classmethod + def IS_CHANGED(s, image, channel): + return super().IS_CHANGED(image) + + +class LoadImageOutput(LoadImage): + SEARCH_ALIASES = ["output image", "previous generation"] + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("COMBO", { + "image_upload": True, + "image_folder": "output", + "remote": { + "route": "/internal/files/output", + "refresh_button": True, + "control_after_refresh": "first", + }, + }), + } + } + + DESCRIPTION = "Load an image from the output folder. When the refresh button is clicked, the node will update the image list and automatically select the first image, allowing for easy iteration." + EXPERIMENTAL = True + FUNCTION = "load_image" + + +class ImageScale: + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + crop_methods = ["disabled", "center"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "width": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 0, "max": MAX_RESOLUTION, "step": 1}), + "crop": (s.crop_methods,)}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + ESSENTIALS_CATEGORY = "Image Tools" + SEARCH_ALIASES = ["resize", "resize image", "scale image", "image resize", "zoom", "zoom in", "change size"] + + def upscale(self, image, upscale_method, width, height, crop): + if width == 0 and height == 0: + s = image + else: + samples = image.movedim(-1,1) + + if width == 0: + width = max(1, round(samples.shape[3] * height / samples.shape[2])) + elif height == 0: + height = max(1, round(samples.shape[2] * width / samples.shape[3])) + + s = comfy.utils.common_upscale(samples, width, height, upscale_method, crop) + s = s.movedim(1,-1) + return (s,) + +class ImageScaleBy: + ESSENTIALS_CATEGORY = "Image Tools" + upscale_methods = ["nearest-exact", "bilinear", "area", "bicubic", "lanczos"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",), "upscale_method": (s.upscale_methods,), + "scale_by": ("FLOAT", {"default": 1.0, "min": 0.01, "max": 8.0, "step": 0.01}),}} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "upscale" + + CATEGORY = "image/upscaling" + + def upscale(self, image, upscale_method, scale_by): + samples = image.movedim(-1,1) + width = round(samples.shape[3] * scale_by) + height = round(samples.shape[2] * scale_by) + s = comfy.utils.common_upscale(samples, width, height, upscale_method, "disabled") + s = s.movedim(1,-1) + return (s,) + +class ImageInvert: + SEARCH_ALIASES = ["reverse colors"] + ESSENTIALS_CATEGORY = "Image Tools" + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "invert" + + CATEGORY = "image/color" + + def invert(self, image): + s = 1.0 - image + return (s,) + +class ImageBatch: + SEARCH_ALIASES = ["combine images", "merge images", "stack images"] + + @classmethod + def INPUT_TYPES(s): + return {"required": { "image1": ("IMAGE",), "image2": ("IMAGE",)}} + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "batch" + + CATEGORY = "image/batch" + DEPRECATED = True + + def batch(self, image1, image2): + if image1.shape[-1] != image2.shape[-1]: + if image1.shape[-1] > image2.shape[-1]: + image2 = torch.nn.functional.pad(image2, (0,1), mode='constant', value=1.0) + else: + image1 = torch.nn.functional.pad(image1, (0,1), mode='constant', value=1.0) + if image1.shape[1:] != image2.shape[1:]: + image2 = comfy.utils.common_upscale(image2.movedim(-1,1), image1.shape[2], image1.shape[1], "bilinear", "center").movedim(1,-1) + s = torch.cat((image1, image2), dim=0) + return (s,) + +class EmptyImage: + def __init__(self, device="cpu"): + self.device = device + + @classmethod + def INPUT_TYPES(s): + return {"required": { "width": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "height": ("INT", {"default": 512, "min": 1, "max": MAX_RESOLUTION, "step": 1}), + "batch_size": ("INT", {"default": 1, "min": 1, "max": 4096}), + "color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), + }} + RETURN_TYPES = ("IMAGE",) + FUNCTION = "generate" + + CATEGORY = "image" + + def generate(self, width, height, batch_size=1, color=0): + dtype = comfy.model_management.intermediate_dtype() + device = comfy.model_management.intermediate_device() + r = torch.full([batch_size, height, width, 1], ((color >> 16) & 0xFF) / 0xFF, device=device, dtype=dtype) + g = torch.full([batch_size, height, width, 1], ((color >> 8) & 0xFF) / 0xFF, device=device, dtype=dtype) + b = torch.full([batch_size, height, width, 1], ((color) & 0xFF) / 0xFF, device=device, dtype=dtype) + return (torch.cat((r, g, b), dim=-1), ) + +class ImagePadForOutpaint: + SEARCH_ALIASES = ["extend canvas", "expand image"] + + @classmethod + def INPUT_TYPES(s): + return { + "required": { + "image": ("IMAGE",), + "left": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "top": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "right": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "bottom": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 8}), + "feathering": ("INT", {"default": 40, "min": 0, "max": MAX_RESOLUTION, "step": 1, "advanced": True}), + } + } + + RETURN_TYPES = ("IMAGE", "MASK") + FUNCTION = "expand_image" + + CATEGORY = "image/transform" + + def expand_image(self, image, left, top, right, bottom, feathering): + d1, d2, d3, d4 = image.size() + + new_image = torch.ones( + (d1, d2 + top + bottom, d3 + left + right, d4), + dtype=torch.float32, + ) * 0.5 + + new_image[:, top:top + d2, left:left + d3, :] = image + + mask = torch.ones( + (d2 + top + bottom, d3 + left + right), + dtype=torch.float32, + ) + + t = torch.zeros( + (d2, d3), + dtype=torch.float32 + ) + + if feathering > 0 and feathering * 2 < d2 and feathering * 2 < d3: + + for i in range(d2): + for j in range(d3): + dt = i if top != 0 else d2 + db = d2 - i if bottom != 0 else d2 + + dl = j if left != 0 else d3 + dr = d3 - j if right != 0 else d3 + + d = min(dt, db, dl, dr) + + if d >= feathering: + continue + + v = (feathering - d) / feathering + + t[i, j] = v * v + + mask[top:top + d2, left:left + d3] = t + + return (new_image, mask.unsqueeze(0)) + + +NODE_CLASS_MAPPINGS = { + "KSampler": KSampler, + "CheckpointLoaderSimple": CheckpointLoaderSimple, + "CLIPTextEncode": CLIPTextEncode, + "CLIPSetLastLayer": CLIPSetLastLayer, + "VAEDecode": VAEDecode, + "VAEEncode": VAEEncode, + "VAEEncodeForInpaint": VAEEncodeForInpaint, + "VAELoader": VAELoader, + "EmptyLatentImage": EmptyLatentImage, + "LatentUpscale": LatentUpscale, + "LatentUpscaleBy": LatentUpscaleBy, + "LatentFromBatch": LatentFromBatch, + "RepeatLatentBatch": RepeatLatentBatch, + "SaveImage": SaveImage, + "PreviewImage": PreviewImage, + "LoadImage": LoadImage, + "LoadImageMask": LoadImageMask, + "LoadImageOutput": LoadImageOutput, + "ImageScale": ImageScale, + "ImageScaleBy": ImageScaleBy, + "ImageInvert": ImageInvert, + "ImageBatch": ImageBatch, + "ImagePadForOutpaint": ImagePadForOutpaint, + "EmptyImage": EmptyImage, + "ConditioningAverage": ConditioningAverage , + "ConditioningCombine": ConditioningCombine, + "ConditioningConcat": ConditioningConcat, + "ConditioningSetArea": ConditioningSetArea, + "ConditioningSetAreaPercentage": ConditioningSetAreaPercentage, + "ConditioningSetAreaStrength": ConditioningSetAreaStrength, + "ConditioningSetMask": ConditioningSetMask, + "KSamplerAdvanced": KSamplerAdvanced, + "SetLatentNoiseMask": SetLatentNoiseMask, + "LatentComposite": LatentComposite, + "LatentBlend": LatentBlend, + "LatentRotate": LatentRotate, + "LatentFlip": LatentFlip, + "LatentCrop": LatentCrop, + "LoraLoader": LoraLoader, + "CLIPLoader": CLIPLoader, + "UNETLoader": UNETLoader, + "DualCLIPLoader": DualCLIPLoader, + "CLIPVisionEncode": CLIPVisionEncode, + "StyleModelApply": StyleModelApply, + "unCLIPConditioning": unCLIPConditioning, + "ControlNetApply": ControlNetApply, + "ControlNetApplyAdvanced": ControlNetApplyAdvanced, + "ControlNetLoader": ControlNetLoader, + "DiffControlNetLoader": DiffControlNetLoader, + "StyleModelLoader": StyleModelLoader, + "CLIPVisionLoader": CLIPVisionLoader, + "VAEDecodeTiled": VAEDecodeTiled, + "VAEEncodeTiled": VAEEncodeTiled, + "unCLIPCheckpointLoader": unCLIPCheckpointLoader, + "GLIGENLoader": GLIGENLoader, + "GLIGENTextBoxApply": GLIGENTextBoxApply, + "InpaintModelConditioning": InpaintModelConditioning, + + "CheckpointLoader": CheckpointLoader, + "DiffusersLoader": DiffusersLoader, + + "LoadLatent": LoadLatent, + "SaveLatent": SaveLatent, + + "ConditioningZeroOut": ConditioningZeroOut, + "ConditioningSetTimestepRange": ConditioningSetTimestepRange, + "LoraLoaderModelOnly": LoraLoaderModelOnly, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + # Sampling + "KSampler": "KSampler", + "KSamplerAdvanced": "KSampler (Advanced)", + # Loaders + "CheckpointLoader": "Load Checkpoint With Config (DEPRECATED)", + "CheckpointLoaderSimple": "Load Checkpoint", + "VAELoader": "Load VAE", + "LoraLoader": "Load LoRA (Model and CLIP)", + "LoraLoaderModelOnly": "Load LoRA", + "CLIPLoader": "Load CLIP", + "ControlNetLoader": "Load ControlNet Model", + "DiffControlNetLoader": "Load ControlNet Model (diff)", + "StyleModelLoader": "Load Style Model", + "CLIPVisionLoader": "Load CLIP Vision", + "UNETLoader": "Load Diffusion Model", + "unCLIPCheckpointLoader": "Load unCLIP Checkpoint", + "GLIGENLoader": "Load GLIGEN Model", + # Conditioning + "CLIPVisionEncode": "CLIP Vision Encode", + "StyleModelApply": "Apply Style Model", + "CLIPTextEncode": "CLIP Text Encode (Prompt)", + "CLIPSetLastLayer": "CLIP Set Last Layer", + "ConditioningCombine": "Conditioning (Combine)", + "ConditioningAverage ": "Conditioning (Average)", + "ConditioningConcat": "Conditioning (Concat)", + "ConditioningSetArea": "Conditioning (Set Area)", + "ConditioningSetAreaPercentage": "Conditioning (Set Area with Percentage)", + "ConditioningSetMask": "Conditioning (Set Mask)", + "ControlNetApply": "Apply ControlNet (DEPRECATED)", + "ControlNetApplyAdvanced": "Apply ControlNet", + # Latent + "VAEEncodeForInpaint": "VAE Encode (for Inpainting)", + "SetLatentNoiseMask": "Set Latent Noise Mask", + "VAEDecode": "VAE Decode", + "VAEEncode": "VAE Encode", + "LatentRotate": "Rotate Latent", + "LatentFlip": "Flip Latent", + "LatentCrop": "Crop Latent", + "EmptyLatentImage": "Empty Latent Image", + "LatentUpscale": "Upscale Latent", + "LatentUpscaleBy": "Upscale Latent By", + "LatentComposite": "Latent Composite", + "LatentBlend": "Latent Blend", + "LatentFromBatch" : "Latent From Batch", + "RepeatLatentBatch": "Repeat Latent Batch", + # Image + "EmptyImage": "Empty Image", + "SaveImage": "Save Image", + "PreviewImage": "Preview Image", + "LoadImage": "Load Image", + "LoadImageMask": "Load Image (as Mask)", + "LoadImageOutput": "Load Image (from Outputs)", + "ImageScale": "Upscale Image", + "ImageScaleBy": "Upscale Image By", + "ImageInvert": "Invert Image Colors", + "ImagePadForOutpaint": "Pad Image for Outpainting", + "ImageBatch": "Batch Images (DEPRECATED)", + "ImageCrop": "Crop Image", + "ImageStitch": "Stitch Images", + "ImageBlend": "Blend Images", + "ImageBlur": "Blur Image", + "ImageQuantize": "Quantize Image", + "ImageSharpen": "Sharpen Image", + "ImageScaleToTotalPixels": "Scale Image to Total Pixels", + "GetImageSize": "Get Image Size", + # experimental + "VAEDecodeTiled": "VAE Decode (Tiled)", + "VAEEncodeTiled": "VAE Encode (Tiled)", +} + +EXTENSION_WEB_DIRS = {} + +# Dictionary of successfully loaded module names and associated directories. +LOADED_MODULE_DIRS = {} + + +def get_module_name(module_path: str) -> str: + """ + Returns the module name based on the given module path. + Examples: + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__.py") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node/__init__/") -> "my_custom_node" + get_module_name("C:/Users/username/ComfyUI/custom_nodes/my_custom_node.disabled") -> "custom_nodes + Args: + module_path (str): The path of the module. + Returns: + str: The module name. + """ + base_path = os.path.basename(module_path) + if os.path.isfile(module_path): + base_path = os.path.splitext(base_path)[0] + return base_path + + +async def load_custom_node(module_path: str, ignore=set(), module_parent="custom_nodes") -> bool: + module_name = get_module_name(module_path) + if os.path.isfile(module_path): + sp = os.path.splitext(module_path) + module_name = sp[0] + sys_module_name = module_name + elif os.path.isdir(module_path): + sys_module_name = module_path.replace(".", "_x_") + + try: + logging.debug("Trying to load custom node {}".format(module_path)) + if os.path.isfile(module_path): + module_spec = importlib.util.spec_from_file_location(sys_module_name, module_path) + module_dir = os.path.split(module_path)[0] + else: + module_spec = importlib.util.spec_from_file_location(sys_module_name, os.path.join(module_path, "__init__.py")) + module_dir = module_path + + module = importlib.util.module_from_spec(module_spec) + sys.modules[sys_module_name] = module + module_spec.loader.exec_module(module) + + LOADED_MODULE_DIRS[module_name] = os.path.abspath(module_dir) + + try: + from comfy_config import config_parser + + project_config = config_parser.extract_node_configuration(module_path) + + web_dir_name = project_config.tool_comfy.web + + if web_dir_name: + web_dir_path = os.path.join(module_path, web_dir_name) + + if os.path.isdir(web_dir_path): + project_name = project_config.project.name + + EXTENSION_WEB_DIRS[project_name] = web_dir_path + + logging.info("Automatically register web folder {} for {}".format(web_dir_name, project_name)) + except Exception as e: + logging.warning(f"Unable to parse pyproject.toml due to lack dependency pydantic-settings, please run 'pip install -r requirements.txt': {e}") + + if hasattr(module, "WEB_DIRECTORY") and getattr(module, "WEB_DIRECTORY") is not None: + web_dir = os.path.abspath(os.path.join(module_dir, getattr(module, "WEB_DIRECTORY"))) + if os.path.isdir(web_dir): + EXTENSION_WEB_DIRS[module_name] = web_dir + + # V1 node definition + if hasattr(module, "NODE_CLASS_MAPPINGS") and getattr(module, "NODE_CLASS_MAPPINGS") is not None: + for name, node_cls in module.NODE_CLASS_MAPPINGS.items(): + if name not in ignore: + NODE_CLASS_MAPPINGS[name] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS") and getattr(module, "NODE_DISPLAY_NAME_MAPPINGS") is not None: + NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS) + return True + # V3 Extension Definition + elif hasattr(module, "comfy_entrypoint"): + entrypoint = getattr(module, "comfy_entrypoint") + if not callable(entrypoint): + logging.warning(f"comfy_entrypoint in {module_path} is not callable, skipping.") + return False + try: + if inspect.iscoroutinefunction(entrypoint): + extension = await entrypoint() + else: + extension = entrypoint() + if not isinstance(extension, ComfyExtension): + logging.warning(f"comfy_entrypoint in {module_path} did not return a ComfyExtension, skipping.") + return False + await extension.on_load() + node_list = await extension.get_node_list() + if not isinstance(node_list, list): + logging.warning(f"comfy_entrypoint in {module_path} did not return a list of nodes, skipping.") + return False + for node_cls in node_list: + node_cls: io.ComfyNode + schema = node_cls.GET_SCHEMA() + if schema.node_id not in ignore: + NODE_CLASS_MAPPINGS[schema.node_id] = node_cls + node_cls.RELATIVE_PYTHON_MODULE = "{}.{}".format(module_parent, get_module_name(module_path)) + if schema.display_name is not None: + NODE_DISPLAY_NAME_MAPPINGS[schema.node_id] = schema.display_name + return True + except Exception as e: + logging.warning(f"Error while calling comfy_entrypoint in {module_path}: {e}") + return False + else: + logging.warning(f"Skip {module_path} module for custom nodes due to the lack of NODE_CLASS_MAPPINGS or comfy_entrypoint (need one).") + return False + except Exception as e: + logging.warning(traceback.format_exc()) + logging.warning(f"Cannot import {module_path} module for custom nodes: {e}") + return False + +async def init_external_custom_nodes(): + """ + Initializes the external custom nodes. + + This function loads custom nodes from the specified folder paths and imports them into the application. + It measures the import times for each custom node and logs the results. + + Returns: + None + """ + base_node_names = set(NODE_CLASS_MAPPINGS.keys()) + node_paths = folder_paths.get_folder_paths("custom_nodes") + node_import_times = [] + for custom_node_path in node_paths: + possible_modules = os.listdir(os.path.realpath(custom_node_path)) + if "__pycache__" in possible_modules: + possible_modules.remove("__pycache__") + + for possible_module in possible_modules: + module_path = os.path.join(custom_node_path, possible_module) + if os.path.isfile(module_path) and os.path.splitext(module_path)[1] != ".py": + continue + if module_path.endswith(".disabled"): + continue + if args.disable_all_custom_nodes and possible_module not in args.whitelist_custom_nodes: + logging.info(f"Skipping {possible_module} due to disable_all_custom_nodes and whitelist_custom_nodes") + continue + + if args.enable_manager: + if comfyui_manager.should_be_disabled(module_path): + logging.info(f"Blocked by policy: {module_path}") + continue + + time_before = time.perf_counter() + success = await load_custom_node(module_path, base_node_names, module_parent="custom_nodes") + node_import_times.append((time.perf_counter() - time_before, module_path, success)) + + if len(node_import_times) > 0: + logging.info("\nImport times for custom nodes:") + for n in sorted(node_import_times): + if n[2]: + import_message = "" + else: + import_message = " (IMPORT FAILED)" + logging.info("{:6.1f} seconds{}: {}".format(n[0], import_message, n[1])) + logging.info("") + +async def init_builtin_extra_nodes(): + """ + Initializes the built-in extra nodes in ComfyUI. + + This function loads the extra node files located in the "comfy_extras" directory and imports them into ComfyUI. + If any of the extra node files fail to import, a warning message is logged. + + Returns: + None + """ + extras_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_extras") + extras_files = [ + "nodes_latent.py", + "nodes_hypernetwork.py", + "nodes_upscale_model.py", + "nodes_post_processing.py", + "nodes_mask.py", + "nodes_compositing.py", + "nodes_rebatch.py", + "nodes_model_merging.py", + "nodes_tomesd.py", + "nodes_clip_sdxl.py", + "nodes_canny.py", + "nodes_freelunch.py", + "nodes_custom_sampler.py", + "nodes_hypertile.py", + "nodes_model_advanced.py", + "nodes_model_downscale.py", + "nodes_images.py", + "nodes_video_model.py", + "nodes_ideogram4.py", + "nodes_train.py", + "nodes_dataset.py", + "nodes_sag.py", + "nodes_perpneg.py", + "nodes_stable3d.py", + "nodes_sdupscale.py", + "nodes_photomaker.py", + "nodes_pixart.py", + "nodes_cond.py", + "nodes_morphology.py", + "nodes_stable_cascade.py", + "nodes_differential_diffusion.py", + "nodes_ip2p.py", + "nodes_model_merging_model_specific.py", + "nodes_pag.py", + "nodes_align_your_steps.py", + "nodes_attention_multiply.py", + "nodes_advanced_samplers.py", + "nodes_webcam.py", + "nodes_audio.py", + "nodes_sd3.py", + "nodes_gits.py", + "nodes_controlnet.py", + "nodes_hunyuan.py", + "nodes_eps.py", + "nodes_flux.py", + "nodes_lora_extract.py", + "nodes_torch_compile.py", + "nodes_mochi.py", + "nodes_slg.py", + "nodes_mahiro.py", + "nodes_lt_upsampler.py", + "nodes_lt_audio.py", + "nodes_lt.py", + "nodes_hooks.py", + "nodes_multigpu.py", + "nodes_load_3d.py", + "nodes_cosmos.py", + "nodes_video.py", + "nodes_lumina2.py", + "nodes_wan.py", + "nodes_bernini.py", + "nodes_lotus.py", + "nodes_hunyuan3d.py", + "nodes_primitive.py", + "nodes_cfg.py", + "nodes_optimalsteps.py", + "nodes_hidream.py", + "nodes_fresca.py", + "nodes_apg.py", + "nodes_preview_any.py", + "nodes_ace.py", + "nodes_string.py", + "nodes_camera_trajectory.py", + "nodes_edit_model.py", + "nodes_tcfg.py", + "nodes_context_windows.py", + "nodes_qwen.py", + "nodes_chroma_radiance.py", + "nodes_pid.py", + "nodes_model_patch.py", + "nodes_easycache.py", + "nodes_audio_encoder.py", + "nodes_rope.py", + "nodes_logic.py", + "nodes_resolution.py", + "nodes_nop.py", + "nodes_kandinsky5.py", + "nodes_wanmove.py", + "nodes_ar_video.py", + "nodes_image_compare.py", + "nodes_zimage.py", + "nodes_glsl.py", + "nodes_lora_debug.py", + "nodes_textgen.py", + "nodes_color.py", + "nodes_toolkit.py", + "nodes_replacements.py", + "nodes_nag.py", + "nodes_sdpose.py", + "nodes_math.py", + "nodes_number_convert.py", + "nodes_painter.py", + "nodes_curve.py", + "nodes_bg_removal.py", + "nodes_rtdetr.py", + "nodes_frame_interpolation.py", + "nodes_sam3.py", + "nodes_scail.py", + "nodes_void.py", + "nodes_wandancer.py", + "nodes_hidream_o1.py", + "nodes_save_3d.py", + "nodes_moge.py", + "nodes_mediapipe.py", + "nodes_gaussian_splat.py", + "nodes_triposplat.py", + "nodes_depth_anything_3.py", + ] + + import_failed = [] + for node_file in extras_files: + if not await load_custom_node(os.path.join(extras_dir, node_file), module_parent="comfy_extras"): + import_failed.append(node_file) + + return import_failed + + +async def init_builtin_api_nodes(): + api_nodes_dir = os.path.join(os.path.dirname(os.path.realpath(__file__)), "comfy_api_nodes") + api_nodes_files = sorted(glob.glob(os.path.join(api_nodes_dir, "nodes_*.py"))) + + import_failed = [] + for node_file in api_nodes_files: + if not await load_custom_node(node_file, module_parent="comfy_api_nodes"): + import_failed.append(os.path.basename(node_file)) + + return import_failed + +async def init_public_apis(): + register_versions([ + ComfyAPIWithVersion( + version=getattr(v, "VERSION"), + api_class=v + ) for v in supported_versions + ]) + +async def init_extra_nodes(init_custom_nodes=True, init_api_nodes=True): + await init_public_apis() + + import_failed = await init_builtin_extra_nodes() + + import_failed_api = [] + if init_api_nodes: + import_failed_api = await init_builtin_api_nodes() + + if init_custom_nodes: + await init_external_custom_nodes() + else: + logging.info("Skipping loading of custom nodes") + + if len(import_failed_api) > 0: + logging.warning("WARNING: some comfy_api_nodes/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed_api: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + if len(import_failed) > 0: + logging.warning("WARNING: some comfy_extras/ nodes did not import correctly. This may be because they are missing some dependencies.\n") + for node in import_failed: + logging.warning("IMPORT FAILED: {}".format(node)) + logging.warning("\nThis issue might be caused by new missing dependencies added the last time you updated ComfyUI.") + if args.windows_standalone_build: + logging.warning("Please run the update script: update/update_comfyui.bat") + else: + logging.warning("Please do a: pip install -r requirements.txt") + logging.warning("") + + return import_failed diff --git a/docs/hel-892/watermark-reference/cr-tree.json b/docs/hel-892/watermark-reference/cr-tree.json new file mode 100644 index 00000000..9af33aa8 --- /dev/null +++ b/docs/hel-892/watermark-reference/cr-tree.json @@ -0,0 +1,1197 @@ +{ + "sha": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "tree": [ + { + "path": "Patch_Notes.md", + "mode": "100644", + "type": "blob", + "sha": "b5f3012c31e6c6a6d54f6655db2d8a7570690e12", + "size": 6173, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b5f3012c31e6c6a6d54f6655db2d8a7570690e12" + }, + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "38ef95ca4ea4cd87c2289f078aec1a98093e328c", + "size": 8745, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/38ef95ca4ea4cd87c2289f078aec1a98093e328c" + }, + { + "path": "__init__.py", + "mode": "100644", + "type": "blob", + "sha": "e5af18356e8765423954ea7c7d22b4f32fcdd9c0", + "size": 1781, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/e5af18356e8765423954ea7c7d22b4f32fcdd9c0" + }, + { + "path": "categories.py", + "mode": "100644", + "type": "blob", + "sha": "db903be91ab290045d221884d90559c420c74bb4", + "size": 3484, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/db903be91ab290045d221884d90559c420c74bb4" + }, + { + "path": "config.py", + "mode": "100644", + "type": "blob", + "sha": "bd6eebacecfa67ebf7ebbf955e3d2f7c3a58a9de", + "size": 2576, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/bd6eebacecfa67ebf7ebbf955e3d2f7c3a58a9de" + }, + { + "path": "fonts", + "mode": "040000", + "type": "tree", + "sha": "489f6dbac8ac2fd77bd8bea4af8034fcf206b650", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/489f6dbac8ac2fd77bd8bea4af8034fcf206b650" + }, + { + "path": "fonts/AlumniSansCollegiateOne-Regular.ttf", + "mode": "100644", + "type": "blob", + "sha": "047451fa81fd6faaa8365ef45ddab3459b7ad655", + "size": 156292, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/047451fa81fd6faaa8365ef45ddab3459b7ad655" + }, + { + "path": "fonts/Caveat-VariableFont_wght.ttf", + "mode": "100644", + "type": "blob", + "sha": "0ae4d99195f586f5e73365d85beb68cfcfa050a4", + "size": 393092, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/0ae4d99195f586f5e73365d85beb68cfcfa050a4" + }, + { + "path": "fonts/NotoSansArabic-Regular.ttf", + "mode": "100644", + "type": "blob", + "sha": "79359c460b13e94945a8700227dabdc790091c0e", + "size": 177004, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/79359c460b13e94945a8700227dabdc790091c0e" + }, + { + "path": "fonts/Oswald-Bold.ttf", + "mode": "100644", + "type": "blob", + "sha": "b9c6e3767357f4bf5016a21dc0b6015d08be3c99", + "size": 87604, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b9c6e3767357f4bf5016a21dc0b6015d08be3c99" + }, + { + "path": "fonts/PixelifySans-Bold.ttf", + "mode": "100644", + "type": "blob", + "sha": "4d8aeb670dc228fe48a6e90366bae9f0d6930f4c", + "size": 50876, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4d8aeb670dc228fe48a6e90366bae9f0d6930f4c" + }, + { + "path": "fonts/Quicksand-Bold.ttf", + "mode": "100644", + "type": "blob", + "sha": "07d5127c04b17a9a62121d12aeb00b701e920500", + "size": 78596, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/07d5127c04b17a9a62121d12aeb00b701e920500" + }, + { + "path": "fonts/Roboto-Regular.ttf", + "mode": "100644", + "type": "blob", + "sha": "3033308a695ab4efa60441c23f2c18aaa94c568f", + "size": 129584, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/3033308a695ab4efa60441c23f2c18aaa94c568f" + }, + { + "path": "fonts/YoungSerif-Regular.ttf", + "mode": "100644", + "type": "blob", + "sha": "f454fbedd4c8b00833d17fffa1f89acb5149b02c", + "size": 105136, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/f454fbedd4c8b00833d17fffa1f89acb5149b02c" + }, + { + "path": "fonts/comic.ttf", + "mode": "100644", + "type": "blob", + "sha": "2d8e9ca9ce1216331f7d665090eb5678bacdd614", + "size": 245600, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2d8e9ca9ce1216331f7d665090eb5678bacdd614" + }, + { + "path": "fonts/impact.ttf", + "mode": "100644", + "type": "blob", + "sha": "2675688cd0e23bec6295d5d218b8be276705468c", + "size": 206784, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2675688cd0e23bec6295d5d218b8be276705468c" + }, + { + "path": "node_mappings.py", + "mode": "100644", + "type": "blob", + "sha": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea", + "size": 24479, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea" + }, + { + "path": "nodes", + "mode": "040000", + "type": "tree", + "sha": "77faaf7ce140b0a762dcabd2dfc7e3c5f5a7240c", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/77faaf7ce140b0a762dcabd2dfc7e3c5f5a7240c" + }, + { + "path": "nodes/functions.py", + "mode": "100644", + "type": "blob", + "sha": "68e9d2af7f029b6acbd75f051ce0a43dae98b420", + "size": 666, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/68e9d2af7f029b6acbd75f051ce0a43dae98b420" + }, + { + "path": "nodes/functions_animation.py", + "mode": "100644", + "type": "blob", + "sha": "890fb851fc0dcbd29e043c273dd518ade8164905", + "size": 4173, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/890fb851fc0dcbd29e043c273dd518ade8164905" + }, + { + "path": "nodes/functions_graphics.py", + "mode": "100644", + "type": "blob", + "sha": "afb0c13cc8b759ef4bd33ed0f65e5253097dfe20", + "size": 18153, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/afb0c13cc8b759ef4bd33ed0f65e5253097dfe20" + }, + { + "path": "nodes/functions_json.py", + "mode": "100644", + "type": "blob", + "sha": "b607c90f7836876b5a0a0e31a22f7c6953cf2453", + "size": 2684, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b607c90f7836876b5a0a0e31a22f7c6953cf2453" + }, + { + "path": "nodes/functions_upscale.py", + "mode": "100644", + "type": "blob", + "sha": "2c25f0354fa53f4863aefd396963c917b320901f", + "size": 3891, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2c25f0354fa53f4863aefd396963c917b320901f" + }, + { + "path": "nodes/functions_xygrid.py", + "mode": "100644", + "type": "blob", + "sha": "100514ef43ded252d47cefb7c3f042152e199a06", + "size": 6143, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/100514ef43ded252d47cefb7c3f042152e199a06" + }, + { + "path": "nodes/nodes_animation_cyclers.py", + "mode": "100644", + "type": "blob", + "sha": "58a584830a74d9acad0fe5b094ca401225e098a6", + "size": 16706, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/58a584830a74d9acad0fe5b094ca401225e098a6" + }, + { + "path": "nodes/nodes_animation_interpolation.py", + "mode": "100644", + "type": "blob", + "sha": "f328e4c014a18868ee3fa70ac00ab9dd4105036d", + "size": 10095, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/f328e4c014a18868ee3fa70ac00ab9dd4105036d" + }, + { + "path": "nodes/nodes_animation_io.py", + "mode": "100644", + "type": "blob", + "sha": "8dfba06cf16ec4500ba3ac90aafa39a0cbbf2101", + "size": 12175, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/8dfba06cf16ec4500ba3ac90aafa39a0cbbf2101" + }, + { + "path": "nodes/nodes_animation_lists.py", + "mode": "100644", + "type": "blob", + "sha": "45b1c02e3558a213fdc505f0cf99bed9aee0f27c", + "size": 17217, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/45b1c02e3558a213fdc505f0cf99bed9aee0f27c" + }, + { + "path": "nodes/nodes_animation_prompt.py", + "mode": "100644", + "type": "blob", + "sha": "974017f3ecb68ec437655a04cb29530af42b0366", + "size": 18282, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/974017f3ecb68ec437655a04cb29530af42b0366" + }, + { + "path": "nodes/nodes_animation_schedulers.py", + "mode": "100644", + "type": "blob", + "sha": "b3bd459fc472397dab5b9bb2f00f9f7c92ce7609", + "size": 25041, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b3bd459fc472397dab5b9bb2f00f9f7c92ce7609" + }, + { + "path": "nodes/nodes_animation_schedules.py", + "mode": "100644", + "type": "blob", + "sha": "2fab92eabf18a2091b52437587c9de7667883d97", + "size": 14436, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2fab92eabf18a2091b52437587c9de7667883d97" + }, + { + "path": "nodes/nodes_animation_utils.py", + "mode": "100644", + "type": "blob", + "sha": "694066b43a09f8c6c0f0c10aeddcd304cbbcc91a", + "size": 2247, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/694066b43a09f8c6c0f0c10aeddcd304cbbcc91a" + }, + { + "path": "nodes/nodes_aspect_ratio.py", + "mode": "100644", + "type": "blob", + "sha": "f276f3103df1eddc789ea4001596b853932fd8c2", + "size": 22975, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/f276f3103df1eddc789ea4001596b853932fd8c2" + }, + { + "path": "nodes/nodes_controlnet.py", + "mode": "100644", + "type": "blob", + "sha": "00a262dded05e01825625a0d2fed27605149e3bc", + "size": 9054, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/00a262dded05e01825625a0d2fed27605149e3bc" + }, + { + "path": "nodes/nodes_core.py", + "mode": "100644", + "type": "blob", + "sha": "02af795eace2b04226fcecd2df0c85db544caa37", + "size": 17213, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/02af795eace2b04226fcecd2df0c85db544caa37" + }, + { + "path": "nodes/nodes_graphics_filter.py", + "mode": "100644", + "type": "blob", + "sha": "bcc929e9cbed5980f336bcb503d0cda72c0bbe43", + "size": 19563, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/bcc929e9cbed5980f336bcb503d0cda72c0bbe43" + }, + { + "path": "nodes/nodes_graphics_layout.py", + "mode": "100644", + "type": "blob", + "sha": "82fa36bf39dcb885dc058c7fee418251870ec5fe", + "size": 34324, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/82fa36bf39dcb885dc058c7fee418251870ec5fe" + }, + { + "path": "nodes/nodes_graphics_matplot.py", + "mode": "100644", + "type": "blob", + "sha": "8464b063c7ddd12db0b4ddb1a04daf943c957947", + "size": 35782, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/8464b063c7ddd12db0b4ddb1a04daf943c957947" + }, + { + "path": "nodes/nodes_graphics_pattern.py", + "mode": "100644", + "type": "blob", + "sha": "dc8cd728cb44a4e3327fec891742aeb9aebda52a", + "size": 21181, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/dc8cd728cb44a4e3327fec891742aeb9aebda52a" + }, + { + "path": "nodes/nodes_graphics_template.py", + "mode": "100644", + "type": "blob", + "sha": "676d535cf9488848392b33ae8fb86362ba960b35", + "size": 29588, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/676d535cf9488848392b33ae8fb86362ba960b35" + }, + { + "path": "nodes/nodes_graphics_text.py", + "mode": "100644", + "type": "blob", + "sha": "0ce1f5a742132c50c00be37829de45151fb31582", + "size": 23279, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/0ce1f5a742132c50c00be37829de45151fb31582" + }, + { + "path": "nodes/nodes_legacy.py", + "mode": "100644", + "type": "blob", + "sha": "4f4b98d81549b3576dbbb249326dbcb7990c9815", + "size": 8132, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4f4b98d81549b3576dbbb249326dbcb7990c9815" + }, + { + "path": "nodes/nodes_list.py", + "mode": "100644", + "type": "blob", + "sha": "7eb02ad9cca34aaeeda120f505c9e99f83b3d02e", + "size": 34806, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/7eb02ad9cca34aaeeda120f505c9e99f83b3d02e" + }, + { + "path": "nodes/nodes_lora.py", + "mode": "100644", + "type": "blob", + "sha": "9bb233ed6858e5f3c04f166c44d122c0f19974dc", + "size": 19861, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/9bb233ed6858e5f3c04f166c44d122c0f19974dc" + }, + { + "path": "nodes/nodes_model_merge.py", + "mode": "100644", + "type": "blob", + "sha": "1293dd52a235c7d666e85edda27aa6f173f1032a", + "size": 9113, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/1293dd52a235c7d666e85edda27aa6f173f1032a" + }, + { + "path": "nodes/nodes_pipe.py", + "mode": "100644", + "type": "blob", + "sha": "a22a00f7b96bf5653382d2bb8633b7de68a6adbc", + "size": 15585, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/a22a00f7b96bf5653382d2bb8633b7de68a6adbc" + }, + { + "path": "nodes/nodes_sdxl.py", + "mode": "100644", + "type": "blob", + "sha": "4bd4bea38651216c2bd8c6ab28f142c850f3dbe3", + "size": 10082, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4bd4bea38651216c2bd8c6ab28f142c850f3dbe3" + }, + { + "path": "nodes/nodes_upscale.py", + "mode": "100644", + "type": "blob", + "sha": "a94ee4813bc96b7d399d975a6afca6096c25575e", + "size": 8770, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/a94ee4813bc96b7d399d975a6afca6096c25575e" + }, + { + "path": "nodes/nodes_utils_conversion.py", + "mode": "100644", + "type": "blob", + "sha": "27a8ea7e58e84e24466a0cccc1d234c4deff2b73", + "size": 7167, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/27a8ea7e58e84e24466a0cccc1d234c4deff2b73" + }, + { + "path": "nodes/nodes_utils_index.py", + "mode": "100644", + "type": "blob", + "sha": "c89392a1f5b1b7212dea121211a58ef1b7cdf4e6", + "size": 5248, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/c89392a1f5b1b7212dea121211a58ef1b7cdf4e6" + }, + { + "path": "nodes/nodes_utils_logic.py", + "mode": "100644", + "type": "blob", + "sha": "a82a05fa85ceebda81d16e301fea27316afab455", + "size": 16583, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/a82a05fa85ceebda81d16e301fea27316afab455" + }, + { + "path": "nodes/nodes_utils_other.py", + "mode": "100644", + "type": "blob", + "sha": "be415bebc13303b2f491744d42878326d1f21e23", + "size": 15096, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/be415bebc13303b2f491744d42878326d1f21e23" + }, + { + "path": "nodes/nodes_utils_random.py", + "mode": "100644", + "type": "blob", + "sha": "4661c91bca72c3c3a4fdbb935cacc84b51a22014", + "size": 10584, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4661c91bca72c3c3a4fdbb935cacc84b51a22014" + }, + { + "path": "nodes/nodes_utils_text.py", + "mode": "100644", + "type": "blob", + "sha": "0d8995f482b4316f1cc2a529366c6bec297b301b", + "size": 14919, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/0d8995f482b4316f1cc2a529366c6bec297b301b" + }, + { + "path": "nodes/nodes_xygrid.py", + "mode": "100644", + "type": "blob", + "sha": "7012f10998d1bbc3b74d75f02706c6396581c9d6", + "size": 16414, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/7012f10998d1bbc3b74d75f02706c6396581c9d6" + }, + { + "path": "nodes/shapes.py", + "mode": "100644", + "type": "blob", + "sha": "ee622446a47c9da1f1311393c57125b5e2ba9ebb", + "size": 5228, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/ee622446a47c9da1f1311393c57125b5e2ba9ebb" + }, + { + "path": "workflows", + "mode": "040000", + "type": "tree", + "sha": "434a350932473cc25c537a5a7b6fee860c18e81e", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/434a350932473cc25c537a5a7b6fee860c18e81e" + }, + { + "path": "workflows/Animation", + "mode": "040000", + "type": "tree", + "sha": "2d395f5ba4136ee13ea09f9f4d5809f27614df82", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/2d395f5ba4136ee13ea09f9f4d5809f27614df82" + }, + { + "path": "workflows/Animation/Iterative Demos", + "mode": "040000", + "type": "tree", + "sha": "3cba4cbdb07432aea84c25428e1ce71348aa1bbf", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/3cba4cbdb07432aea84c25428e1ce71348aa1bbf" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_A3_SimplePromptScheduling_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "0f0e8642224cf6d4396cadc200a1495bcf1da662", + "size": 26600, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/0f0e8642224cf6d4396cadc200a1495bcf1da662" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_A4_PromptScheduling_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "7a114ab8d2470b4c7438f157c3109549ca717289", + "size": 26900, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/7a114ab8d2470b4c7438f157c3109549ca717289" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_A5_CentralPromptScheduling_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "453e3e843a3c0e35980d85a213d7a712a7bb499e", + "size": 28255, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/453e3e843a3c0e35980d85a213d7a712a7bb499e" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_B1_CentralSchedule_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "2b69311422dfbb1de01743d85fb7b10fd3fbdb31", + "size": 15487, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2b69311422dfbb1de01743d85fb7b10fd3fbdb31" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_B2_LoadScheduleFromFile_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "f10768be74e69c65ae1edc0911866cb1c56b96f3", + "size": 12550, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/f10768be74e69c65ae1edc0911866cb1c56b96f3" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_B3_OutputScheduleToFile_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "2987eda2bef941cdede696e2cc4bdf7875540cbb", + "size": 3375, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2987eda2bef941cdede696e2cc4bdf7875540cbb" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_B4_CombineSchedules_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "371a29308f8e69022bfbfe1012d9ac3e3450c643", + "size": 20097, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/371a29308f8e69022bfbfe1012d9ac3e3450c643" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_C1_SimpleValueScheduler_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "5c722e888873aee17dcc4b3309459297cb5d28b9", + "size": 21727, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5c722e888873aee17dcc4b3309459297cb5d28b9" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_C3_SimpleTextScheduler_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "1ba4bee895b265e38dd6facf057d4645840ba547", + "size": 14166, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/1ba4bee895b265e38dd6facf057d4645840ba547" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_E2_IncrementNodes_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "3e45389b1aca5242882117b07fdaefdadbd449a8", + "size": 19682, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/3e45389b1aca5242882117b07fdaefdadbd449a8" + }, + { + "path": "workflows/Animation/Iterative Demos/CR_Animation_F1_IONodes_IterativeDemo_v01.json", + "mode": "100644", + "type": "blob", + "sha": "b246a0221231706f9968aeae8825f9756053252e", + "size": 7924, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b246a0221231706f9968aeae8825f9756053252e" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy", + "mode": "040000", + "type": "tree", + "sha": "a29dd5bd81d5b18134f646c8fec54c1a2386f755", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/a29dd5bd81d5b18134f646c8fec54c1a2386f755" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_A1_PromptKeyframeScheduling_IterativeDemo_v01.json", + "mode": "100644", + "type": "blob", + "sha": "304bf5c0035d19c2c303390cbff3c5081fa38e8a", + "size": 30448, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/304bf5c0035d19c2c303390cbff3c5081fa38e8a" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_A2_PromptKeyframeNodes_IterativeDemo_v02b.json", + "mode": "100644", + "type": "blob", + "sha": "2e8996247076f5987ed79e0cda8a248c2701e7cc", + "size": 30747, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2e8996247076f5987ed79e0cda8a248c2701e7cc" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C2_ValueScheduler_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "2ccfa8a732d5d3bb83cd41d13463562fec9a11c7", + "size": 23473, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2ccfa8a732d5d3bb83cd41d13463562fec9a11c7" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C4_TextScheduler_IterativeDemo_v01c.json", + "mode": "100644", + "type": "blob", + "sha": "ce8c326304ac075cedf8ecd40ba9f4190971f281", + "size": 158566, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/ce8c326304ac075cedf8ecd40ba9f4190971f281" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C5_SimpleLoadScheduledModels_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "07c5dbc518176b05a310c5b2b8daa854fe9cdfb8", + "size": 11103, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/07c5dbc518176b05a310c5b2b8daa854fe9cdfb8" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C6_LoadScheduledModelsLoRAs_IterativeDemo_v0.1a.json", + "mode": "100644", + "type": "blob", + "sha": "5020c834903f36e82fc68e7b8542a90d09283471", + "size": 14762, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5020c834903f36e82fc68e7b8542a90d09283471" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D1_CyclerNodes_IterativeDemo_v01b.json", + "mode": "100644", + "type": "blob", + "sha": "17ff2d7aca664328200b991d130427be96f80654", + "size": 22291, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/17ff2d7aca664328200b991d130427be96f80654" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D2_TextCycler_IterativeDemo_v01.json", + "mode": "100644", + "type": "blob", + "sha": "29e9205029c4a3f616948c4fb1c1c2322c07a3fc", + "size": 25982, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/29e9205029c4a3f616948c4fb1c1c2322c07a3fc" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D3_ImageCycler_IterativeDemo_v01.json", + "mode": "100644", + "type": "blob", + "sha": "8ce69def1965b2d09216fb6c14a3706549426ab2", + "size": 9745, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/8ce69def1965b2d09216fb6c14a3706549426ab2" + }, + { + "path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_E1_GradientNodes_IterativeDemo_v01a.json", + "mode": "100644", + "type": "blob", + "sha": "d57cc9469ebdbbccc88921e722306207da07f35d", + "size": 16842, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/d57cc9469ebdbbccc88921e722306207da07f35d" + }, + { + "path": "workflows/Animation/List Demos", + "mode": "040000", + "type": "tree", + "sha": "7054d08e462448710bd55b2e6a02e6636202bd9e", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/7054d08e462448710bd55b2e6a02e6636202bd9e" + }, + { + "path": "workflows/Animation/List Demos/CR_Animation_A3_SimplePromptScheduling_BatchDemo_v01.json", + "mode": "100644", + "type": "blob", + "sha": "109b1ec98c860260c1927c1d91a047a42410ff76", + "size": 23755, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/109b1ec98c860260c1927c1d91a047a42410ff76" + }, + { + "path": "workflows/Animation/List Demos/CR_Bit_Schedule_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "ad46a8f4c145c25abce3dcef03bbbcf8ab52e351", + "size": 5783, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/ad46a8f4c145c25abce3dcef03bbbcf8ab52e351" + }, + { + "path": "workflows/Aspect Ratio", + "mode": "040000", + "type": "tree", + "sha": "65da92277ace9b24ee2b39237ca60a9c57a39edd", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/65da92277ace9b24ee2b39237ca60a9c57a39edd" + }, + { + "path": "workflows/Aspect Ratio/CR_Aspect_Ratio_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "43ed3bed9c2d5fe309feb6111b2583eeaae522b6", + "size": 6248, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/43ed3bed9c2d5fe309feb6111b2583eeaae522b6" + }, + { + "path": "workflows/Graphics", + "mode": "040000", + "type": "tree", + "sha": "a9524b1ca0c1643c07c7f40d22bdb08b76efd326", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/a9524b1ca0c1643c07c7f40d22bdb08b76efd326" + }, + { + "path": "workflows/Graphics/CR_graphics_nodes_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "5593933f3fd49af7933def06d38f1660b339fe82", + "size": 12868, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5593933f3fd49af7933def06d38f1660b339fe82" + }, + { + "path": "workflows/Graphics/Filter", + "mode": "040000", + "type": "tree", + "sha": "973bc86f8a0b6dcd7860e844c961978596371789", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/973bc86f8a0b6dcd7860e844c961978596371789" + }, + { + "path": "workflows/Graphics/Filter/CR_Vignette_Filter_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "80f4815281d39b100211706542b6ca2511e38548", + "size": 16525, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/80f4815281d39b100211706542b6ca2511e38548" + }, + { + "path": "workflows/Graphics/Filter/CR_Vignette_Filter_demo2.json", + "mode": "100644", + "type": "blob", + "sha": "ad67c52f5cf83695ec50b44f8d8482708b43933e", + "size": 16529, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/ad67c52f5cf83695ec50b44f8d8482708b43933e" + }, + { + "path": "workflows/Graphics/Layout", + "mode": "040000", + "type": "tree", + "sha": "c5ecec50daeea6d4ee4331fc40f9e9e5dd611ac8", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/c5ecec50daeea6d4ee4331fc40f9e9e5dd611ac8" + }, + { + "path": "workflows/Graphics/Layout/CR_Feathered_Border_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "0c38c63594a2cc4854cd1f35780453dfc1207e59", + "size": 4848, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/0c38c63594a2cc4854cd1f35780453dfc1207e59" + }, + { + "path": "workflows/Graphics/Layout/CR_Image_Grid_Panel_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "6de5301796792eb2c151b33a177234140973e449", + "size": 5828, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/6de5301796792eb2c151b33a177234140973e449" + }, + { + "path": "workflows/Graphics/Layout/CR_Image_Grid_Panel_demo2.json", + "mode": "100644", + "type": "blob", + "sha": "21ca16870a54e84df405e611afbec18599605fe2", + "size": 3118, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/21ca16870a54e84df405e611afbec18599605fe2" + }, + { + "path": "workflows/Graphics/Layout/CR_Overlay_Transparent_Image_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "2ebd8f647fbde8f0458cc3d7c619d44caaaef827", + "size": 7046, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2ebd8f647fbde8f0458cc3d7c619d44caaaef827" + }, + { + "path": "workflows/Graphics/Pattern", + "mode": "040000", + "type": "tree", + "sha": "c0fc9ebcfbf0af1b3dd7ae3b12d26a3c8fcbd5ab", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/c0fc9ebcfbf0af1b3dd7ae3b12d26a3c8fcbd5ab" + }, + { + "path": "workflows/Graphics/Pattern/CR_Starburst_Lines_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "508d5de0c255c6baa31a8fd54df81e4eb1d96823", + "size": 3100, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/508d5de0c255c6baa31a8fd54df81e4eb1d96823" + }, + { + "path": "workflows/Graphics/Pattern/CR_Style_Bars_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "55df25be24a4febd570e2c70e752c0c25e58c5d0", + "size": 15482, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/55df25be24a4febd570e2c70e752c0c25e58c5d0" + }, + { + "path": "workflows/Graphics/Pattern/CR_gradient_nodes_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "805c7848db6fc3bea987beceacbc6fd053a65840", + "size": 28463, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/805c7848db6fc3bea987beceacbc6fd053a65840" + }, + { + "path": "workflows/Graphics/Template", + "mode": "040000", + "type": "tree", + "sha": "b54affadd97308356b5f27d8aa7efacb4eb1e602", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/b54affadd97308356b5f27d8aa7efacb4eb1e602" + }, + { + "path": "workflows/Graphics/Template/CR_Seamless_Checker_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "31139521e4e3440d3acaea652563e9020cc51b53", + "size": 1765, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/31139521e4e3440d3acaea652563e9020cc51b53" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Banner_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "e4c4390b56753fb9fa5771b9cf445a3b4c12658f", + "size": 6134, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/e4c4390b56753fb9fa5771b9cf445a3b4c12658f" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Banner_demo2.json", + "mode": "100644", + "type": "blob", + "sha": "12a5b0b420c37ae1fcf0f4a9fce349d2b8261234", + "size": 4660, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/12a5b0b420c37ae1fcf0f4a9fce349d2b8261234" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Image_Compare_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "7df5e6f5038b323f184f1ff9fcf80a713074575b", + "size": 4103, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/7df5e6f5038b323f184f1ff9fcf80a713074575b" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "2a6e64d26c2a8b3b3a50561e7382b37522890186", + "size": 2431, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2a6e64d26c2a8b3b3a50561e7382b37522890186" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo2.json", + "mode": "100644", + "type": "blob", + "sha": "8f539d00beba16dedfabb81f7227558ff893ff0f", + "size": 10712, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/8f539d00beba16dedfabb81f7227558ff893ff0f" + }, + { + "path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo3.json", + "mode": "100644", + "type": "blob", + "sha": "1f25343283e84eb494ef7745ccfb4b1269c7930a", + "size": 4986, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/1f25343283e84eb494ef7745ccfb4b1269c7930a" + }, + { + "path": "workflows/Graphics/Template/CR_Thumbnail_Preview_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "87221d7c5fcfad6d1b31238776f1fb454f27398e", + "size": 10033, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/87221d7c5fcfad6d1b31238776f1fb454f27398e" + }, + { + "path": "workflows/Graphics/Text", + "mode": "040000", + "type": "tree", + "sha": "6c78391947553d4b3e270cf4d6c5d9e4887d5c42", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/6c78391947553d4b3e270cf4d6c5d9e4887d5c42" + }, + { + "path": "workflows/Graphics/Text/CR_Select_Font_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "bef540b615ccc3faeb3343a6b5320365047d2b01", + "size": 3007, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/bef540b615ccc3faeb3343a6b5320365047d2b01" + }, + { + "path": "workflows/Graphics/Text/CR_Simple_Text_Watermark_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "40a700b75d1988a13410ac9e537f199b117fc58e", + "size": 5000, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/40a700b75d1988a13410ac9e537f199b117fc58e" + }, + { + "path": "workflows/List", + "mode": "040000", + "type": "tree", + "sha": "ecf630497b923e3fe7921451d4536760f07fec9a", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/ecf630497b923e3fe7921451d4536760f07fec9a" + }, + { + "path": "workflows/List/CR_Font_File_List_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "397df65f5ac3682a09b5aec7323f4571428b4b8c", + "size": 4005, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/397df65f5ac3682a09b5aec7323f4571428b4b8c" + }, + { + "path": "workflows/List/CR_Intertwine_Lists_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "a4dd6d058cb361fefb029c8a1bbe94c753384be6", + "size": 4450, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/a4dd6d058cb361fefb029c8a1bbe94c753384be6" + }, + { + "path": "workflows/List/CR_Load_Text_List_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "2a9d4e485431f013cc6fc7e2b54ca19b6418e3f4", + "size": 3130, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2a9d4e485431f013cc6fc7e2b54ca19b6418e3f4" + }, + { + "path": "workflows/List/CR_Text_List_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "ff8c84cab8e71abc1d7eb47098c63e8b52b79eee", + "size": 5897, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/ff8c84cab8e71abc1d7eb47098c63e8b52b79eee" + }, + { + "path": "workflows/List/CR_Text_List_demo2.json", + "mode": "100644", + "type": "blob", + "sha": "7172f55cabb48099042c072b15970e6e433d1a2f", + "size": 5028, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/7172f55cabb48099042c072b15970e6e433d1a2f" + }, + { + "path": "workflows/List/CR_XY_Product_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "6a976ea3ed1e60aa631881382bbf0331b1394fe4", + "size": 8458, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/6a976ea3ed1e60aa631881382bbf0331b1394fe4" + }, + { + "path": "workflows/Model Merge", + "mode": "040000", + "type": "tree", + "sha": "d8fb42254b41b707bc49306d46c96fc2bb58c19a", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/d8fb42254b41b707bc49306d46c96fc2bb58c19a" + }, + { + "path": "workflows/Model Merge/CR_SDXL_MultiModelGradientMerge_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "2cb756e80f834242825c1e40760001738b9729d1", + "size": 52459, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/2cb756e80f834242825c1e40760001738b9729d1" + }, + { + "path": "workflows/Model Merge/CR_SDXL_MultiModelMerge_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "3638d84001200cbeef39e5c9e1cd1e270fd65a56", + "size": 37454, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/3638d84001200cbeef39e5c9e1cd1e270fd65a56" + }, + { + "path": "workflows/Model Merge/CR_SimpleMultiModelMerge_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "4114228c4541f8a4575b51cbdf92c1a2cd7ecc4a", + "size": 9656, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4114228c4541f8a4575b51cbdf92c1a2cd7ecc4a" + }, + { + "path": "workflows/Model Merge/CR_UltraSimpleMultiModelMerge_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "5b673b5b6b9b4c30a3d78f7630fce0bc1b39c521", + "size": 4101, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5b673b5b6b9b4c30a3d78f7630fce0bc1b39c521" + }, + { + "path": "workflows/Other", + "mode": "040000", + "type": "tree", + "sha": "b43da2641e4461bbee51f45e108d666891a02d84", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/b43da2641e4461bbee51f45e108d666891a02d84" + }, + { + "path": "workflows/Other/CR_Load_Image_Plus_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "b26f179844c4783664611f983c8fde268e6a57d0", + "size": 7386, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b26f179844c4783664611f983c8fde268e6a57d0" + }, + { + "path": "workflows/Other/CR_Multiline_Text_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "6d01a2be637de78108e058279bb89947ff667123", + "size": 20177, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/6d01a2be637de78108e058279bb89947ff667123" + }, + { + "path": "workflows/Other/CR_Save_Text_To_file_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "67f596d91579070321f4de8bde935f7584412736", + "size": 3273, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/67f596d91579070321f4de8bde935f7584412736" + }, + { + "path": "workflows/Other/CR_Split_String_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "b289847e4334016da863994a49e0ec743b89f78a", + "size": 5533, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/b289847e4334016da863994a49e0ec743b89f78a" + }, + { + "path": "workflows/Pipe", + "mode": "040000", + "type": "tree", + "sha": "633f6abffcd8f4efe908bfe1368013837e0aa3e1", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/633f6abffcd8f4efe908bfe1368013837e0aa3e1" + }, + { + "path": "workflows/Pipe/CR_Data_Bus_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "8e346ff511d033feba8ad80955c5695b31a63248", + "size": 8862, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/8e346ff511d033feba8ad80955c5695b31a63248" + }, + { + "path": "workflows/Upscale", + "mode": "040000", + "type": "tree", + "sha": "81c90abf871dd99b2779b9145532badd47d8967b", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/81c90abf871dd99b2779b9145532badd47d8967b" + }, + { + "path": "workflows/Upscale/CR_Multi_Upscale_Stack_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "3a481466784047d054c9d82709026d831418d072", + "size": 3319, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/3a481466784047d054c9d82709026d831418d072" + }, + { + "path": "workflows/Upscale/CR_Upscale_Image_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "732808ab9a670c33c4e847cd463e7b54bd48b878", + "size": 3188, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/732808ab9a670c33c4e847cd463e7b54bd48b878" + }, + { + "path": "workflows/Utils", + "mode": "040000", + "type": "tree", + "sha": "9940904d4ccff503a26695d8879248ac81576c2c", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/9940904d4ccff503a26695d8879248ac81576c2c" + }, + { + "path": "workflows/Utils/Conversion", + "mode": "040000", + "type": "tree", + "sha": "5df18d47c673217798d8e49b632468f7b930be76", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/5df18d47c673217798d8e49b632468f7b930be76" + }, + { + "path": "workflows/Utils/Conversion/CR_String_To_Number_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "fe2407d8ff2d60d75f94b28e84f296ecad411375", + "size": 10401, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/fe2407d8ff2d60d75f94b28e84f296ecad411375" + }, + { + "path": "workflows/Utils/Logic", + "mode": "040000", + "type": "tree", + "sha": "9ab67cdd6e36fac13dd93e4a8c5d42cd6fcd875b", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/9ab67cdd6e36fac13dd93e4a8c5d42cd6fcd875b" + }, + { + "path": "workflows/Utils/Logic/CR_Text_Input_Switch_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "5ca8d6726f14ffc7c0ff57362c7016dc5ab90e21", + "size": 8012, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5ca8d6726f14ffc7c0ff57362c7016dc5ab90e21" + }, + { + "path": "workflows/Utils/Other", + "mode": "040000", + "type": "tree", + "sha": "c04e7a3712b3e2794fb200d635a7ad2b68abee79", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/c04e7a3712b3e2794fb200d635a7ad2b68abee79" + }, + { + "path": "workflows/Utils/Other/CR_Get_Parameter_From_Folder_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "72376fddad065534d37a0c8894d9c043b6a1cc03", + "size": 13262, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/72376fddad065534d37a0c8894d9c043b6a1cc03" + }, + { + "path": "workflows/Utils/Other/CR_Set_Switch_From_String_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "4f678364ffc91526d0a2914fd7f7c6876e032d26", + "size": 6063, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/4f678364ffc91526d0a2914fd7f7c6876e032d26" + }, + { + "path": "workflows/Utils/Other/CR_Set_Value_On_Binary_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "e1222ae9efd147f2141fc10873037c3af8a34fa8", + "size": 7938, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/e1222ae9efd147f2141fc10873037c3af8a34fa8" + }, + { + "path": "workflows/Utils/Random", + "mode": "040000", + "type": "tree", + "sha": "7e85a4c04f2ac7de8a41f02412e5fd5358c919ab", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/7e85a4c04f2ac7de8a41f02412e5fd5358c919ab" + }, + { + "path": "workflows/Utils/Random/CR_Random_Multiline_Colors_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "96bb21d5ebbb191f4b96757f83f26f1169a59dac", + "size": 4037, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/96bb21d5ebbb191f4b96757f83f26f1169a59dac" + }, + { + "path": "workflows/Utils/Random/CR_Random_Multiline_Values_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "565b508b95550ddb33b64958bfd45e02ba994064", + "size": 11736, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/565b508b95550ddb33b64958bfd45e02ba994064" + }, + { + "path": "workflows/Utils/Random/CR_Random_Panel_Codes_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "5a36ee91475021ba8590b871cb8bd205756a5547", + "size": 5515, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5a36ee91475021ba8590b871cb8bd205756a5547" + }, + { + "path": "workflows/Utils/Random/CR_Random_RGB_Gradient_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "bf9f0d0a20e283b819868d31bad13cb22ec52010", + "size": 3045, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/bf9f0d0a20e283b819868d31bad13cb22ec52010" + }, + { + "path": "workflows/Utils/Text", + "mode": "040000", + "type": "tree", + "sha": "62757c2ff1b1bcd34b4d81c5fc1aa12c7d11d8be", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/62757c2ff1b1bcd34b4d81c5fc1aa12c7d11d8be" + }, + { + "path": "workflows/Utils/Text/CR_Text_Operation_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "5fae9ccb5b3cb3bc87d5d6f0f0a8b232249675f2", + "size": 16454, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/5fae9ccb5b3cb3bc87d5d6f0f0a8b232249675f2" + }, + { + "path": "workflows/XY Grid", + "mode": "040000", + "type": "tree", + "sha": "70aa35cdcd265d52bdc75f6dd2b442a716d7248e", + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/trees/70aa35cdcd265d52bdc75f6dd2b442a716d7248e" + }, + { + "path": "workflows/XY Grid/CR_XY_Revised_FreeU_demo1.json", + "mode": "100644", + "type": "blob", + "sha": "11d0b459b9aae04283458422277873ea43a0fbd6", + "size": 19571, + "url": "https://api.github.com/repos/Suzie1/ComfyUI_Comfyroll_CustomNodes/git/blobs/11d0b459b9aae04283458422277873ea43a0fbd6" + } + ], + "truncated": false +} diff --git a/docs/hel-892/watermark-reference/cr____init__.py b/docs/hel-892/watermark-reference/cr____init__.py new file mode 100644 index 00000000..e5af1835 --- /dev/null +++ b/docs/hel-892/watermark-reference/cr____init__.py @@ -0,0 +1,30 @@ +# By Suzie1 and RockOfFire +# +# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to +# deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +# THE SOFTWARE. + +""" +@author: Suzie1 +@title: Comfyroll Studio +@nickname: Comfyroll Studio +@description: 175 custom nodes for artists, designers and animators. +""" + +from .node_mappings import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS + +print("------------------------------------------") +print("\033[34mComfyroll Studio v1.76 : \033[92m 175 Nodes Loaded\033[0m") +print("------------------------------------------") +print("** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md") +print("** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki") +print("------------------------------------------") + + diff --git a/docs/hel-892/watermark-reference/cr__categories.py b/docs/hel-892/watermark-reference/cr__categories.py new file mode 100644 index 00000000..db903be9 --- /dev/null +++ b/docs/hel-892/watermark-reference/cr__categories.py @@ -0,0 +1,43 @@ +icons = { + "Comfyroll/Upscale": "🧩 Comfyroll Studio/✨ Essential/🔍 Upscale", + "Comfyroll/Model Merge": "🧩 Comfyroll Studio/✨ Essential/⛏️ Model Merge", + "Comfyroll/Utils/Logic": "🧩 Comfyroll Studio/🛠️ Utils/🔀 Logic", + "Comfyroll/Utils/Conditional": "🧩 Comfyroll Studio/🛠️ Utils/🔀 Conditional", + "Comfyroll/Utils/Process": "🧩 Comfyroll Studio/🛠️ Utils/🔂 Process", + "Comfyroll/Utils/Index": "🧩 Comfyroll Studio/🛠️ Utils/🔢 Index", + "Comfyroll/Utils/Conversion": "🧩 Comfyroll Studio/🛠️ Utils/🔧 Conversion", + "Comfyroll/Utils/Random": "🧩 Comfyroll Studio/🛠️ Utils/🎲 Random", + "Comfyroll/Utils/Text": "🧩 Comfyroll Studio/🛠️ Utils/🔤 Text", + "Comfyroll/Utils/Other": "🧩 Comfyroll Studio/🛠️ Utils/⚙️ Other", + "Comfyroll/LoRA": "🧩 Comfyroll Studio/✨ Essential/💊 LoRA", + "Comfyroll/ControlNet": "🧩 Comfyroll Studio/✨ Essential/🕹️ ControlNet", + "Comfyroll/XY Grid": "🧩 Comfyroll Studio/✨ Essential/📉 XY Grid", + "Comfyroll/SDXL": "🧩 Comfyroll Studio/✨ Essential/🌟 SDXL", + "Comfyroll/List": "🧩 Comfyroll Studio/✨ Essential/📜 List", + "Comfyroll/List/IO": "🧩 Comfyroll Studio/✨ Essential/📜 List/⌨️ IO", + "Comfyroll/List/Utils": "🧩 Comfyroll Studio/✨ Essential/📜 List/🛠️ Utils", + "Comfyroll/Aspect Ratio": "🧩 Comfyroll Studio/✨ Essential/🔳 Aspect Ratio", + "Comfyroll/Pipe/Module": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/✈️ Module", + "Comfyroll/Pipe/Image": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/🛩️ Image", + "Comfyroll/Pipe/Bus": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe/🚌 Bus", + "Comfyroll/Pipe": "🧩 Comfyroll Studio/✨ Essential/🎷 Pipe", + "Comfyroll/Graphics/Text": "🧩 Comfyroll Studio/👾 Graphics/🔤 Text", + "Comfyroll/Graphics/Layout": "🧩 Comfyroll Studio/👾 Graphics/🌁 Layout", + "Comfyroll/Graphics/Template": "🧩 Comfyroll Studio/👾 Graphics/📱 Template", + "Comfyroll/Graphics/Filter": "🧩 Comfyroll Studio/👾 Graphics/🎨 Filter", + "Comfyroll/Graphics/Pattern": "🧩 Comfyroll Studio/👾 Graphics/🌈 Pattern", + "Comfyroll/Graphics/Shape": "🧩 Comfyroll Studio/👾 Graphics/🟣 Shape", + "Comfyroll/Graphics/3D": "🧩 Comfyroll Studio/👾 Graphics/3D", + "Comfyroll/Graphics/Utilty": "🧩 Comfyroll Studio/👾 Graphics/🔧 Utility", + "Comfyroll/Workflow": "🧩 Comfyroll Studio/✨ Essential/Workflow", + "Comfyroll/Essential/Core": "🧩 Comfyroll Studio/✨ Essential/📦 Core", + "Comfyroll/Essential/Legacy": "🧩 Comfyroll Studio/✨ Essential/💀 Legacy", + "Comfyroll/Animation/Camera": "🧩 Comfyroll Studio/🎥 Animation/🎦 Camera", + "Comfyroll/Animation/Utils": "🧩 Comfyroll Studio/🎥 Animation/🛠️ Utils", + "Comfyroll/Animation/Schedule": "🧩 Comfyroll Studio/🎥 Animation/📋 Schedule", + "Comfyroll/Animation/Schedulers": "🧩 Comfyroll Studio/🎥 Animation/📑 Schedulers", + "Comfyroll/Animation/Prompt": "🧩 Comfyroll Studio/🎥 Animation/📝 Prompt", + "Comfyroll/Animation/Legacy": "🧩 Comfyroll Studio/🎥 Animation/💀 Legacy", + "Comfyroll/Animation/Interpolate": "🧩 Comfyroll Studio/🎥 Animation/🔢 Interpolate", + "Comfyroll/Animation/IO": "🧩 Comfyroll Studio/🎥 Animation/⌨️ IO", +} diff --git a/docs/hel-892/watermark-reference/cr__config.py b/docs/hel-892/watermark-reference/cr__config.py new file mode 100644 index 00000000..bd6eebac --- /dev/null +++ b/docs/hel-892/watermark-reference/cr__config.py @@ -0,0 +1,77 @@ +color_mapping = { + "white": (255, 255, 255), + "black": (0, 0, 0), + "red": (255, 0, 0), + "green": (0, 255, 0), + "blue": (0, 0, 255), + "yellow": (255, 255, 0), + "cyan": (0, 255, 255), + "magenta": (255, 0, 255), + "orange": (255, 165, 0), + "purple": (128, 0, 128), + "pink": (255, 192, 203), + "brown": (160, 85, 15), + "gray": (128, 128, 128), + "lightgray": (211, 211, 211), + "darkgray": (102, 102, 102), + "olive": (128, 128, 0), + "lime": (0, 128, 0), + "teal": (0, 128, 128), + "navy": (0, 0, 128), + "maroon": (128, 0, 0), + "fuchsia": (255, 0, 128), + "aqua": (0, 255, 128), + "silver": (192, 192, 192), + "gold": (255, 215, 0), + "turquoise": (64, 224, 208), + "lavender": (230, 230, 250), + "violet": (238, 130, 238), + "coral": (255, 127, 80), + "indigo": (75, 0, 130), +} + +COLORS = ["custom", "white", "black", "red", "green", "blue", "yellow", + "cyan", "magenta", "orange", "purple", "pink", "brown", "gray", + "lightgray", "darkgray", "olive", "lime", "teal", "navy", "maroon", + "fuchsia", "aqua", "silver", "gold", "turquoise", "lavender", + "violet", "coral", "indigo"] + +iso_sizes = { + "A0 - 9933x14043": (9933, 14043), + "A1 - 7016x9933": (7016, 9933), + "A2 - 4960x7016": (4960, 7016), + "A3 - 3508x4960": (3508, 4960), + "A4 - 2480x3508": (2480, 3508), + "A5 - 1748x2480": (1748, 2480), + "A6 - 1240x1748": (1240, 1748), + "A7 - 874x1240": (874, 1240), + "A8 - 614x874": (614, 874), + "A9 - 437x614": (437, 614), + "A10 - 307x437": (307, 437), + "A11 - 213x307": (213, 307), + "A12 - 154x213": (154, 213), + "A13 - 106x154": (106, 154), + "B0 - 11811x16701": (11811, 16701), + "B1 - 8350x11811": (8350, 11811), + "B2 - 5906x8350": (5906, 8350), + "B3 - 4169x5906": (4169, 5906), + "B4 - 2953x4169": (2953, 4169), + "B5 - 2079x2953": (2079, 2953), + "B6 - 1476x2079": (1476, 2079), + "B7 - 1039x1476": (1039, 1476), + "B8 - 732x1039": (732, 1039), + "B9 - 520x732": (520, 732), + "B10 - 366x520": (366, 520), + "C0 - 10831x15319": (10831, 15319), + "C1 - 7654x10831": (7654, 10831), + "C2 - 5409x7654": (5409, 7654), + "C3 - 3827x5409": (3827, 5409), + "C4 - 2705x3827": (2705, 3827), + "C5 - 1913x2705": (1913, 2705), + "C6 - 1346x1913": (1346, 1913), + "C7 - 957x1346": (957, 1346), + "C8 - 673x957": (673, 957), + "C9 - 472x673": (472, 673), + "C10 - 331x472": (331, 472), +} + \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/cr__node_mappings.py b/docs/hel-892/watermark-reference/cr__node_mappings.py new file mode 100644 index 00000000..a4a1bc4f --- /dev/null +++ b/docs/hel-892/watermark-reference/cr__node_mappings.py @@ -0,0 +1,532 @@ +try: + from .nodes.nodes_core import * + from .nodes.nodes_aspect_ratio import * + from .nodes.nodes_list import * + from .nodes.nodes_lora import * + from .nodes.nodes_controlnet import * + from .nodes.nodes_pipe import * + from .nodes.nodes_sdxl import * + from .nodes.nodes_model_merge import * + from .nodes.nodes_upscale import * + from .nodes.nodes_xygrid import * + from .nodes.nodes_legacy import * +except ImportError: + print("\033[34mComfyroll Studio: \033[92mFailed to load Essential nodes\033[0m") + +try: + from .nodes.nodes_graphics_matplot import * + from .nodes.nodes_graphics_text import * + from .nodes.nodes_graphics_layout import * + from .nodes.nodes_graphics_filter import * + from .nodes.nodes_graphics_template import * + from .nodes.nodes_graphics_pattern import * +except ImportError: + print("\033[34mComfyroll Studio: \033[92mFailed to load Graphics nodes\033[0m") + +try: + from .nodes.nodes_animation_interpolation import * + from .nodes.nodes_animation_io import * + from .nodes.nodes_animation_prompt import * + from .nodes.nodes_animation_schedulers import * + from .nodes.nodes_animation_schedules import * + from .nodes.nodes_animation_lists import * + from .nodes.nodes_animation_utils import * + from .nodes.nodes_animation_cyclers import * +except ImportError: + print("\033[34mComfyroll Studio: \033[92mFailed to load Animation nodes\033[0m") + +try: + from .nodes.nodes_utils_logic import * + from .nodes.nodes_utils_index import * + from .nodes.nodes_utils_conversion import * + from .nodes.nodes_utils_random import * + from .nodes.nodes_utils_text import * + from .nodes.nodes_utils_other import * +except ImportError: + print("\033[34mComfyroll Studio: \033[92mFailed to load Utility nodes\033[0m") + +NODE_CLASS_MAPPINGS = { + ### Core Nodes + "CR Image Output": CR_ImageOutput, + "CR Latent Batch Size": CR_LatentBatchSize, + "CR Conditioning Mixer": CR_ConditioningMixer, + "CR Select Model": CR_SelectModel, + "CR Seed": CR_Seed, + "CR Prompt Text": CR_PromptText, + "CR Combine Prompt": CR_CombinePrompt, + "CR VAE Decode": CR_VAEDecode, + ### List Nodes + "CR Text List": CR_TextList, + "CR Prompt List": CR_PromptList, + "CR Simple List": CR_SimpleList, + "CR Float Range List": CR_FloatRangeList, + "CR Integer Range List": CR_IntegerRangeList, + "CR Load Text List": CR_LoadTextList, + "CR Binary To Bit List": CR_BinaryToBitList, + "CR Text Cycler": CR_TextCycler, + "CR Value Cycler": CR_ValueCycler, + ### List IO + "CR Load Image List": CR_LoadImageList, + "CR Load Image List Plus": CR_LoadImageListPlus, + "CR Load GIF As List": CR_LoadGIFAsList, + "CR Font File List": CR_FontFileList, + ### List Utils + "CR Batch Images From List": CR_MakeBatchFromImageList, + "CR Intertwine Lists" : CR_IntertwineLists, + "CR Repeater": CR_Repeater, + "CR XY Product": CR_XYProduct, + "CR Text List To String": CR_TextListToString, + ### Aspect Ratio Nodes + "CR SD1.5 Aspect Ratio": CR_AspectRatioSD15, + "CR SDXL Aspect Ratio": CR_SDXLAspectRatio, + "CR Aspect Ratio": CR_AspectRatio, + "CR Aspect Ratio Banners": CR_AspectRatioBanners, + "CR Aspect Ratio Social Media": CR_AspectRatioSocialMedia, + "CR_Aspect Ratio For Print": CR_AspectRatioForPrint, + ### Legacy Nodes + "CR Image Size": CR_ImageSize, + "CR Aspect Ratio SDXL": CR_AspectRatio_SDXL, + "CR SDXL Prompt Mixer": CR_PromptMixer, + "CR Seed to Int": CR_SeedToInt, + ### ControlNet Nodes + "CR Apply ControlNet": CR_ApplyControlNet, + "CR Multi-ControlNet Stack": CR_ControlNetStack, + "CR Apply Multi-ControlNet": CR_ApplyControlNetStack, + ### LoRA Nodes + "CR Load LoRA": CR_LoraLoader, + "CR LoRA Stack": CR_LoRAStack, + "CR Random LoRA Stack": CR_RandomLoRAStack, + "CR Random Weight LoRA": CR_RandomWeightLoRA, + "CR Apply LoRA Stack": CR_ApplyLoRAStack, + ### Model Merge Nodes + "CR Apply Model Merge": CR_ApplyModelMerge, + "CR Model Merge Stack": CR_ModelMergeStack, + ### Pipe Nodes + "CR Data Bus In":CR_DataBusIn, + "CR Data Bus Out":CR_DataBusOut, + "CR 8 Channel In":CR_8ChannelIn, + "CR 8 Channel Out":CR_8ChannelOut, + "CR Module Pipe Loader": CR_ModulePipeLoader, + "CR Module Input": CR_ModuleInput, + "CR Module Output": CR_ModuleOutput, + "CR Image Pipe In": CR_ImagePipeIn, + "CR Image Pipe Edit": CR_ImagePipeEdit, + "CR Image Pipe Out": CR_ImagePipeOut, + "CR Pipe Switch": CR_InputSwitchPipe, + ### SDXL Nodes + "CR SDXL Prompt Mix Presets": CR_PromptMixPresets, + "CR SDXL Style Text": CR_SDXLStyleText, + "CR SDXL Base Prompt Encoder": CR_SDXLBasePromptEncoder, + ### Upscale Nodes + "CR Multi Upscale Stack": CR_MultiUpscaleStack, + "CR Upscale Image": CR_UpscaleImage, + "CR Apply Multi Upscale": CR_ApplyMultiUpscale, + ### XY Grid Nodes + "CR XY List": CR_XYList, + "CR XY Interpolate": CR_XYInterpolate, + "CR XY From Folder": CR_XYFromFolder, + "CR XY Save Grid Image": CR_XYSaveGridImage, + "CR XY Index": CR_XYIndex, + #"CR XYZ Index": CR_XYZIndex, + ### Graphics Pattern + "CR Halftone Grid": CR_HalftoneGrid, + "CR Color Bars": CR_ColorBars, + "CR Style Bars": CR_StyleBars, + "CR Checker Pattern": CR_CheckerPattern, + "CR Polygons": CR_Polygons, + "CR Color Gradient": CR_ColorGradient, + "CR Radial Gradient": CR_RadialGradient, + "CR Starburst Lines": CR_StarburstLines, + "CR Starburst Colors": CR_StarburstColors, + "CR Simple Binary Pattern": CR_BinaryPatternSimple, + "CR Binary Pattern": CR_BinaryPattern, + ### Graphics Shape + "CR Draw Shape": CR_DrawShape, + "CR Draw Pie": CR_DrawPie, + "CR Random Shape Pattern": CR_RandomShapePattern, + ### Graphics Text + "CR Overlay Text": CR_OverlayText, + "CR Draw Text": CR_DrawText, + "CR Mask Text": CR_MaskText, + "CR Composite Text": CR_CompositeText, + #"CR Arabic Text RTL": CR_ArabicTextRTL, + "CR Simple Text Watermark": CR_SimpleTextWatermark, + "CR Select Font": CR_SelectFont, + ### Graphics Filter + "CR Halftone Filter": CR_HalftoneFilter, + "CR Color Tint": CR_ColorTint, + "CR Vignette Filter": CR_VignetteFilter, + ### Graphics Layout + "CR Page Layout": CR_PageLayout, + "CR Image Panel": CR_ImagePanel, + "CR Image Grid Panel": CR_ImageGridPanel, + "CR Image Border": CR_ImageBorder, + "CR Feathered Border": CR_FeatheredBorder, + "CR Simple Text Panel": CR_SimpleTextPanel, + "CR Color Panel": CR_ColorPanel, + "CR Overlay Transparent Image": CR_OverlayTransparentImage, + "CR Half Drop Panel": CR_HalfDropPanel, + "CR Diamond Panel": CR_DiamondPanel, + #"CR Simple Titles": CR_SimpleTitles, + ### Graphics Template + "CR Simple Meme Template": CR_SimpleMemeTemplate, + "CR Simple Banner": CR_SimpleBanner, + "CR Comic Panel Templates": CR_ComicPanelTemplates, + "CR Simple Image Compare": CR_SimpleImageCompare, + "CR Thumbnail Preview": CR_ThumbnailPreview, + "CR Seamless Checker": CR_SeamlessChecker, + ### Utils Logic + "CR Image Input Switch": CR_ImageInputSwitch, + "CR Image Input Switch (4 way)": CR_ImageInputSwitch4way, + "CR Latent Input Switch": CR_LatentInputSwitch, + "CR Conditioning Input Switch": CR_ConditioningInputSwitch, + "CR Clip Input Switch": CR_ClipInputSwitch, + "CR Model Input Switch": CR_ModelInputSwitch, + "CR ControlNet Input Switch": CR_ControlNetInputSwitch, + "CR VAE Input Switch": CR_VAEInputSwitch, + "CR Text Input Switch": CR_TextInputSwitch, + "CR Text Input Switch (4 way)": CR_TextInputSwitch4way, + "CR Switch Model and CLIP": CR_ModelAndCLIPInputSwitch, + ### Utils Process + "CR Batch Process Switch": CR_BatchProcessSwitch, + "CR Img2Img Process Switch": CR_Img2ImgProcessSwitch, + "CR Hires Fix Process Switch": CR_HiResFixProcessSwitch, + ### Utils Index + "CR Index": CR_Index, + "CR Index Increment": CR_IncrementIndex, + "CR Index Multiply": CR_MultiplyIndex, + "CR Index Reset": CR_IndexReset, + "CR Trigger": CR_Trigger, + ### Utils Conversion + "CR String To Number": CR_StringToNumber, + "CR String To Combo": CR_StringToCombo, + "CR Float To String": CR_FloatToString, + "CR Float To Integer": CR_FloatToInteger, + "CR Integer To String": CR_IntegerToString, + "CR String To Boolean": CR_StringToBoolean, + ### Utils Random + "CR Random Hex Color": CR_RandomHexColor, + "CR Random RGB": CR_RandomRGB, + "CR Random Multiline Values": CR_RandomMultilineValues, + "CR Random Multiline Colors": CR_RandomMultilineColors, + "CR Random RGB Gradient": CR_RandomRGBGradient, + "CR Random Panel Codes": CR_RandomPanelCodes, + ### Utils Text + "CR Text": CR_Text, + "CR Multiline Text": CR_MultilineText, + "CR Split String": CR_SplitString, + "CR Text Concatenate": CR_TextConcatenate, + "CR Text Replace": CR_TextReplace, + "CR Text Length": CR_TextLength, + "CR Text Operation": CR_TextOperation, + "CR Text Blacklist": CR_TextBlacklist, + "CR Save Text To File": CR_SaveTextToFile, + ### Utils Conditional + "CR Set Value On Boolean": CR_SetValueOnBoolean, + "CR Set Value On Binary": CR_SetValueOnBinary, + "CR Set Value on String": CR_SetValueOnString, + "CR Set Switch From String": CR_SetSwitchFromString, + ### Utils Other + "CR Value": CR_Value, + "CR Integer Multiple": CR_IntegerMultipleOf, + "CR Clamp Value": CR_ClampValue, + "CR Math Operation": CR_MathOperation, + "CR Get Parameter From Prompt": CR_GetParameterFromPrompt, + "CR Select Resize Method": CR_SelectResizeMethod, + "CR Select ISO Size": CR_SelectISOSize, + ### Animation Nodes + # Schedules + "CR Simple Schedule": CR_SimpleSchedule, + "CR Central Schedule": CR_CentralSchedule, + "CR Combine Schedules": CR_CombineSchedules, + "CR Output Schedule To File": CR_OutputScheduleToFile, + "CR Load Schedule From File": CR_LoadScheduleFromFile, + "CR Schedule Input Switch": Comfyroll_ScheduleInputSwitch, + "CR Bit Schedule": CR_BitSchedule, + # Schedulers + "CR Simple Value Scheduler": CR_SimpleValueScheduler, + "CR Simple Text Scheduler": CR_SimpleTextScheduler, + "CR Value Scheduler": CR_ValueScheduler, + "CR Text Scheduler": CR_TextScheduler, + "CR Load Scheduled Models": CR_LoadScheduledModels, + "CR Load Scheduled LoRAs": CR_LoadScheduledLoRAs, + "CR Prompt Scheduler": CR_PromptScheduler, + "CR Simple Prompt Scheduler": CR_SimplePromptScheduler, + # Prompt + "CR Keyframe List": CR_KeyframeList, + #"CR Load Prompt Style": CR_LoadPromptStyle, + "CR Encode Scheduled Prompts": CR_EncodeScheduledPrompts, + # Interpolation + "CR Gradient Float": CR_GradientFloat, + "CR Gradient Integer": CR_GradientInteger, + "CR Increment Float": CR_IncrementFloat, + "CR Increment Integer": CR_IncrementInteger, + "CR Interpolate Latents": CR_InterpolateLatents, + # Utils + "CR Debatch Frames": CR_DebatchFrames, + "CR Current Frame": CR_CurrentFrame, + #"CR Input Text List": CR_InputTextList, + # IO + "CR Load Animation Frames": CR_LoadAnimationFrames, + "CR Load Flow Frames": CR_LoadFlowFrames, + "CR Output Flow Frames": CR_OutputFlowFrames, + ### Legacy + # Note: CR Prompt List and CR Text List names have been reused, + # so the old versions of these nodes are no longer available + "CR Prompt List Keyframes": CR_PromptListKeyframes, + "CR Simple Prompt List": CR_SimplePromptList, + "CR Simple Prompt List Keyframes": CR_SimplePromptListKeyframes, + "CR Cycle Models": CR_CycleModels, + "CR Cycle LoRAs": CR_CycleLoRAs, + "CR Cycle Text": CR_CycleText, + "CR Cycle Text Simple": CR_CycleTextSimple, + "CR Cycle Images": CR_CycleImages, + "CR Cycle Images Simple": CR_CycleImagesSimple, + "CR Model List": CR_ModelList, + "CR LoRA List": CR_LoRAList, + "CR Text List Simple": CR_TextListSimple, + "CR Image List": CR_ImageList, + "CR Image List Simple": CR_ImageListSimple, +} + +NODE_DISPLAY_NAME_MAPPINGS = { + ### Core Nodes + "CR Image Output": "💾 CR Image Output", + "CR Integer Multiple": "⚙️ CR Integer Multiple", + "CR Latent Batch Size": "⚙️ CR Latent Batch Size", + "CR Seed": "🌱 CR Seed", + "CR Value": "⚙️ CR Value", + "CR Conditioning Mixer": "⚙️ CR Conditioning Mixer", + "CR Select Model": "🔮 CR Select Model", + "CR Prompt Text": "⚙️ CR Prompt Text", + "CR Combine Prompt": "⚙️ CR Combine Prompt", + "CR VAE Decode": "⚙️ CR VAE Decode", + ### List Nodes + "CR Text List": "📜 CR Text List", + "CR Prompt List": "📜 CR Prompt List", + "CR Simple List": "📜 CR Simple List", + "CR Float Range List": "📜 CR Float Range List", + "CR Integer Range List": "📜 CR Integer Range List", + "CR Load Value List": "📜 CR Load Value List", + "CR Load Text List": "📜 CR Load Text List", + "CR Binary To Bit List": "📜 CR Binary To Bit List", + "CR Text Cycler": "📜 CR Text Cycler", + "CR Value Cycler": "📜 CR Value Cycler", + ### List IO + "CR Load Image List": "⌨️ CR Load Image List", + "CR Load Image List Plus": "⌨️ CR Load Image List Plus", + "CR Load GIF As List": "⌨️ CR Load GIF As List", + "CR Font File List": "⌨️ CR Font File List", + ### List Utils + "CR Batch Images From List": "🛠️ CR Batch Images From List", + "CR Intertwine Lists" : "🛠️ CR Intertwine Lists", + "CR Repeater": "🛠️ CR Repeater", + "CR XY Product": "🛠️ CR XY Product", + "CR Text List To String": "🛠️ CR Text List To String", + ### Aspect Ratio Nodes + "CR SD1.5 Aspect Ratio": "🔳 CR SD1.5 Aspect Ratio", + "CR SDXL Aspect Ratio": "🔳 CR SDXL Aspect Ratio", + "CR Aspect Ratio": "🔳 CR Aspect Ratio", + "CR Aspect Ratio Banners": "🔳 CR Aspect Ratio Banners", + "CR Aspect Ratio Social Media": "🔳 CR Aspect Ratio Social Media", + "CR_Aspect Ratio For Print": "🔳 CR_Aspect Ratio For Print", + ### Legacy Nodes + "CR Image Size": "CR Image Size (Legacy)", + "CR Aspect Ratio SDXL": "CR Aspect Ratio SDXL (Legacy)", + "CR SDXL Prompt Mixer": "CR SDXL Prompt Mixer (Legacy)", + "CR Seed to Int": "CR Seed to Int (Legacy)", + ### ControlNet Nodes + "CR Apply ControlNet": "🕹️ CR Apply ControlNet", + "CR Multi-ControlNet Stack": "🕹️ CR Multi-ControlNet Stack", + "CR Apply Multi-ControlNet": "🕹️ CR Apply Multi-ControlNet", + ### LoRA Nodes + "CR Load LoRA": "💊 CR Load LoRA", + "CR LoRA Stack": "💊 CR LoRA Stack", + "CR Random LoRA Stack": "💊 CR Random LoRA Stack", + "CR Random Weight LoRA": "💊 CR Random Weight LoRA", + "CR Apply LoRA Stack": "💊 CR Apply LoRA Stack", + ### Model Merge Nodes + "CR Apply Model Merge": "⛏️ CR Apply Model Merge", + "CR Model Merge Stack": "⛏️ CR Model Merge Stack", + ### Pipe Nodes + "CR Data Bus In": "🚌 CR Data Bus In", + "CR Data Bus Out": "🚌 CR Data Bus Out", + "CR 8 Channel In": "🚌 CR 8 Channel In", + "CR 8 Channel Out": "🚌 CR 8 Channel Out", + "CR Module Pipe Loader": "✈️ CR Module Pipe Loader", + "CR Module Input": "✈️ CR Module Input", + "CR Module Output": "✈️ CR Module Output", + "CR Image Pipe In": "🛩 CR Image Pipe In", + "CR Image Pipe Edit": "🛩️ CR Image Pipe Edit", + "CR Image Pipe Out": "🛩️ CR Image Pipe Out", + "CR Pipe Switch": "🔀️ CR Pipe Switch", + ### SDXL Nodes + "CR SDXL Prompt Mix Presets": "🌟 CR SDXL Prompt Mix Presets", + "CR SDXL Style Text": "🌟 CR SDXL Style Text", + "CR SDXL Base Prompt Encoder": "🌟 CR SDXL Base Prompt Encoder", + ### Upscale Nodes + "CR Multi Upscale Stack": "🔍 CR Multi Upscale Stack", + "CR Upscale Image": "🔍 CR Upscale Image", + "CR Apply Multi Upscale": "🔍 CR Apply Multi Upscale", + ### XY Grid Nodes + "CR XY List": "📉 CR XY List", + "CR XY Interpolate": "📉 CR XY Interpolate", + "CR XY Index": "📉 CR XY Index", + "CR XY From Folder": "📉 CR XY From Folder", + "CR XY Save Grid Image": "📉 CR XY Save Grid Image", + ### Graphics Pattern + "CR Halftone Grid" : "🟫 CR Halftone Grid", + "CR Color Bars" : "🟫 CR Color Bars", + "CR Style Bars" : "🟪 CR Style Bars", + "CR Checker Pattern": "🟦 CR Checker Pattern", + "CR Polygons": "🟩 CR Polygons", + "CR Color Gradient": "🟨 CR Color Gradient", + "CR Radial Gradient": "🟨 CR Radial Gradient", + "CR Starburst Lines": "🟧 CR Starburst Lines", + "CR Starburst Colors": "🟧 CR Starburst Colors", + "CR Simple Binary Pattern": "🟥 CR Simple Binary Pattern", + "CR Binary Pattern": "🟥 CR Binary Pattern", + ### Graphics Shape + "CR Draw Shape": "🟡 CR Draw Shape", + "CR Draw Pie": "🟢 CR Draw Pie", + "CR Random Shape Pattern": "🔵 CR Random Shape Pattern", + ### Graphics Text + "CR Overlay Text": "🔤 CR Overlay Text", + "CR Draw Text": "🔤️ CR Draw Text", + "CR Mask Text": "🔤️ CR Mask Text", + "CR Composite Text": "🔤️ CR Composite Text", + "CR Simple Text Watermark": "🔤️ CR Simple Text Watermark", + "CR Select Font": "🔤️ CR Select Font", + ### Graphics Filter + "CR Halftone Filter": "🎨 Halftone Filter", + "CR Color Tint": "🎨 CR Color Tint", + "CR Vignette Filter": "🎨 CR Vignette Filter", + ### Graphics Layout + "CR Image Panel": "🌁 CR Image Panel", + "CR Image Grid Panel": "🌁 CR Image Grid Panel", + "CR Simple Text Panel": "🌁 CR Simple Text Panel", + "CR Color Panel": "🌁 CR Color Panel", + "CR Half Drop Panel": "🌁 CR Half Drop Panel", + "CR Diamond Panel": "🌁 CR Diamond Panel", + "CR Page Layout": "🌁 CR Page Layout", + "CR Image Border": "🌁 CR Image Border", + "CR Feathered Border": "🌁 CR Feathered Border", + "CR Overlay Transparent Image": "🌁 CR Overlay Transparent Image", + ### Graphics Template + "CR Simple Meme Template": "📱 CR Simple Meme Template", + "CR Simple Banner": "📱 CR Simple Banner", + "CR Comic Panel Templates": "📱 CR Comic Panel Templates", + "CR Simple Image Compare": "📱 CR Simple Image Compare", + "CR Thumbnail Preview": "📱 CR Thumbnail Preview", + "CR Seamless Checker": "📱 CR Seamless Checker", + ### Utils Logic + "CR Image Input Switch": "🔀 CR Image Input Switch", + "CR Image Input Switch (4 way)": "🔀 CR Image Input Switch (4 way)", + "CR Latent Input Switch": "🔀 CR Latent Input Switch", + "CR Conditioning Input Switch": "🔀 CR Conditioning Input Switch", + "CR Clip Input Switch": "🔀 CR Clip Input Switch", + "CR Model Input Switch": "🔀 CR Model Input Switch", + "CR ControlNet Input Switch": "🔀 CR ControlNet Input Switch", + "CR VAE Input Switch": "🔀 CR VAE Input Switch", + "CR Text Input Switch": "🔀 CR Text Input Switch", + "CR Text Input Switch (4 way)": "🔀 CR Text Input Switch (4 way)", + "CR Switch Model and CLIP": "🔀 CR Switch Model and CLIP", + ### Utils Process + "CR Batch Process Switch": "🔂 CR Batch Process Switch", + "CR Img2Img Process Switch": "🔂 CR Img2Img Process Switch", + "CR Hires Fix Process Switch": "🔂 CR Hires Fix Process Switch", + ### Utils Index + "CR Index":"🔢 CR Index", + "CR Index Increment": "🔢 CR Index Increment", + "CR Index Multiply": "🔢 CR Index Multiply", + "CR Index Reset": "🔢 CR Index Reset", + "CR Trigger": "🔢 CR Trigger", + ### Utils Conversion + "CR String To Number": "🔧 CR String To Number", + "CR String To Combo": "🔧 CR String To Combo", + "CR Float To String": "🔧 CR Float To String", + "CR Float To Integer": "🔧 CR Float To Integer", + "CR Integer To String": "🔧 CR Integer To String", + "CR String To Boolean": "🔧 CR String To Boolean", + ### Utils Random + "CR Random Hex Color": "🎲 CR Random Hex Color", + "CR Random RGB": "🎲 CR Random RGB", + "CR Random Multiline Values": "🎲 CR Random Multiline Values", + "CR Random Multiline Colors": "🎲 CR Random Multiline Colors", + "CR Random RGB Gradient": "🎲 CR Random RGB Gradient", + "CR Random Panel Codes": "🎲 CR Random Panel Codes", + ### Utils Text + "CR Text": "🔤 CR Text", + "CR Multiline Text": "🔤 CR Multiline Text", + "CR Split String": "🔤 CR Split String", + "CR Text Concatenate": "🔤 CR Text Concatenate", + "CR Text Replace": "🔤 CR Text Replace", + "CR Text Blacklist": "🔤 Text Blacklist", + "CR Text Length": "🔤 CR Text Length", + "CR Text Operation": "🔤 CR Text Operation", + "CR Save Text To File": "🔤 CR Save Text To File", + ### Utils Conditional + "CR Set Value On Boolean": "⚙️ CR Set Value On Boolean", + "CR Set Value On Binary": "⚙️ CR Set Value On Binary", + "CR Set Value on String": "⚙️ CR Set Value on String", + "CR Set Switch From String": "⚙️ CR Set Switch From String", + ### Utils Other + "CR Integer Multiple": "⚙️ CR Integer Multiple", + "CR Value": "⚙️ CR Value", + "CR Clamp Value": "⚙️ CR Clamp Value", + "CR Math Operation": "⚙️ CR Math Operation", + "CR Get Parameter From Prompt": "⚙️ CR Get Parameter From Prompt", + "CR Select Resize Method": "⚙️ CR Select Resize Method", + "CR Select ISO Size": "⚙️ CR Select ISO Size", + ### Animation Nodes + # Schedules + "CR Simple Schedule": "📋 CR Simple Schedule", + "CR Central Schedule": "📋 CR Central Schedule", + "CR Combine Schedules": "📋 CR Combine Schedules", + "CR Output Schedule To File": "📋 CR Output Schedule To File", + "CR Load Schedule From File": "📋 CR Load Schedule From File", + "CR Schedule Input Switch": "📋 CR Schedule Input Switch", + "CR Bit Schedule": "📋 CR Bit Schedule", + # Schedulers + "CR Simple Value Scheduler": "📑 CR Simple Value Scheduler", + "CR Simple Text Scheduler": "📑 CR Simple Text Scheduler", + "CR Value Scheduler": "📑 CR Value Scheduler", + "CR Text Scheduler": "📑 CR Text Scheduler", + "CR Load Scheduled Models": "📑 CR Load Scheduled Models", + "CR Load Scheduled LoRAs": "📑 CR Load Scheduled LoRAs", + "CR Prompt Scheduler": "📑 CR Prompt Scheduler", + "CR Simple Prompt Scheduler": "📑 CR Simple Prompt Scheduler", + # Prompt + "CR Keyframe List": "📝 CR Keyframe List", + #"CR Load Prompt Style": "📝 CR Load Prompt Style", + "CR Encode Scheduled Prompts": "📝 CR Encode Scheduled Prompts", + # Interpolation + "CR Gradient Float": "🔢 CR Gradient Float", + "CR Gradient Integer": "🔢 CR Gradient Integer", + "CR Increment Float": "🔢 CR Increment Float", + "CR Increment Integer": "🔢 CR Increment Integer", + "CR Interpolate Latents": "🔢 CR Interpolate Latents", + # Utils + "CR Debatch Frames": "🛠️ CR Debatch Frames", + "CR Current Frame": "🛠️ CR Current Frame", + # IO + "CR Load Animation Frames": "⌨️ CR Load Animation Frames", + "CR Load Flow Frames": "⌨️ CR Load Flow Frames", + "CR Output Flow Frames": "⌨️ CR Output Flow Frames", + ### Legacy + "CR Prompt List Keyframes": "CR Prompt List Keyframes (Legacy)", + "CR Simple Prompt List": "CR Simple Prompt List (Legacy)", + "CR Simple Prompt List Keyframes": "CR Simple Prompt List Keyframes (Legacy)", + "CR Cycle Models": "CR Cycle Models (Legacy)", + "CR Cycle LoRAs": "CR Cycle LoRAs (Legacy)", + "CR Cycle Text": "CR Cycle Text (Legacy)", + "CR Cycle Text Simple": "CR Cycle Text Simple (Legacy)", + "CR Cycle Images": "CR Cycle Images (Legacy)", + "CR Cycle Images Simple": "CR Cycle Images Simple (Legacy)", + "CR Model List": "CR Model List (Legacy)", + "CR LoRA List": "CR LoRA List (Legacy)", + "CR Text List Simple": "CR Text List Simple (Legacy)", + "CR Image List": "CR Image List (Legacy)", + "CR Image List Simple": "CR Image List Simple (Legacy)", + "CR Input Text List": "CR Input Text List (Legacy)", +} diff --git a/docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py b/docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py new file mode 100644 index 00000000..afb0c13c --- /dev/null +++ b/docs/hel-892/watermark-reference/cr__nodes__functions_graphics.py @@ -0,0 +1,484 @@ +#---------------------------------------------------------------------------------------------------------------------# +# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes +# for ComfyUI https://github.com/comfyanonymous/ComfyUI +#---------------------------------------------------------------------------------------------------------------------# + +import numpy as np +import torch +import os +import random +from PIL import Image, ImageDraw, ImageFont, ImageOps, ImageEnhance +from ..config import color_mapping + +font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") +file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + +def tensor2pil(image): + return Image.fromarray(np.clip(255. * image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8)) + + +def pil2tensor(image): + return torch.from_numpy(np.array(image).astype(np.float32) / 255.0).unsqueeze(0) + + +def align_text(align, img_height, text_height, text_pos_y, margins): + if align == "center": + text_plot_y = img_height / 2 - text_height / 2 + text_pos_y + elif align == "top": + text_plot_y = text_pos_y + margins + elif align == "bottom": + text_plot_y = img_height - text_height + text_pos_y - margins + return text_plot_y + + +def justify_text(justify, img_width, line_width, margins): + if justify == "left": + text_plot_x = 0 + margins + elif justify == "right": + text_plot_x = img_width - line_width - margins + elif justify == "center": + text_plot_x = img_width/2 - line_width/2 + return text_plot_x + + +def get_text_size(draw, text, font): + bbox = draw.textbbox((0, 0), text, font=font) + + # Calculate the text width and height + text_width = bbox[2] - bbox[0] + text_height = bbox[3] - bbox[1] + return text_width, text_height + + +def draw_masked_text(text_mask, text, + font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options): + + # Create the drawing context + draw = ImageDraw.Draw(text_mask) + + # Define font settings + font_folder = "fonts" + font_file = os.path.join(font_folder, font_name) + resolved_font_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), font_file) + font = ImageFont.truetype(str(resolved_font_path), size=font_size) + + # Split the input text into lines + text_lines = text.split('\n') + + # Calculate the size of the text plus padding for the tallest line + max_text_width = 0 + max_text_height = 0 + + for line in text_lines: + # Calculate the width and height of the current line + line_width, line_height = get_text_size(draw, line, font) + + line_height = line_height + line_spacing + max_text_width = max(max_text_width, line_width) + max_text_height = max(max_text_height, line_height) + + # Get the image width and height + image_width, image_height = text_mask.size + image_center_x = image_width / 2 + image_center_y = image_height / 2 + + text_pos_y = position_y + sum_text_plot_y = 0 + text_height = max_text_height * len(text_lines) + + for line in text_lines: + # Calculate the width of the current line + line_width, _ = get_text_size(draw, line, font) + + # Get the text x and y positions for each line + text_plot_x = position_x + justify_text(justify, image_width, line_width, margins) + text_plot_y = align_text(align, image_height, text_height, text_pos_y, margins) + + # Add the current line to the text mask + draw.text((text_plot_x, text_plot_y), line, fill=255, font=font) + + text_pos_y += max_text_height # Move down for the next line + sum_text_plot_y += text_plot_y # Sum the y positions + + # Calculate centers for rotation + text_center_x = text_plot_x + max_text_width / 2 + text_center_y = sum_text_plot_y / len(text_lines) + + if rotation_options == "text center": + rotated_text_mask = text_mask.rotate(rotation_angle, center=(text_center_x, text_center_y)) + elif rotation_options == "image center": + rotated_text_mask = text_mask.rotate(rotation_angle, center=(image_center_x, image_center_y)) + + return rotated_text_mask + +def draw_text_on_image(draw, y_position, bar_width, bar_height, text, font, text_color, font_outline): + + # Calculate the width and height of the text + text_width, text_height = get_text_size(draw, text, font) + + if font_outline == "thin": + outline_thickness = text_height // 40 + elif font_outline == "thick": + outline_thickness = text_height // 20 + elif font_outline == "extra thick": + outline_thickness = text_height // 10 + + outline_color = (0, 0, 0) + + text_lines = text.split('\n') + + if len(text_lines) == 1: + x = (bar_width - text_width) // 2 + y = y_position + (bar_height - text_height) // 2 - (bar_height * 0.10) + if font_outline == "none": + draw.text((x, y), text, fill=text_color, font=font) + else: + draw.text((x, y), text, fill=text_color, font=font, stroke_width=outline_thickness, stroke_fill='black') + elif len(text_lines) > 1: + # Calculate the width and height of the text + text_width, text_height = get_text_size(draw, text_lines[0], font) + + x = (bar_width - text_width) // 2 + y = y_position + (bar_height - text_height * 2) // 2 - (bar_height * 0.15) + if font_outline == "none": + draw.text((x, y), text_lines[0], fill=text_color, font=font) + else: + draw.text((x, y), text_lines[0], fill=text_color, font=font, stroke_width=outline_thickness, stroke_fill='black') + + # Calculate the width and height of the text + text_width, text_height = get_text_size(draw, text_lines[1], font) + + x = (bar_width - text_width) // 2 + y = y_position + (bar_height - text_height * 2) // 2 + text_height - (bar_height * 0.00) + if font_outline == "none": + draw.text((x, y), text_lines[1], fill=text_color, font=font) + else: + draw.text((x, y), text_lines[1], fill=text_color, font=font, stroke_width=outline_thickness, stroke_fill='black') + + +def get_font_size(draw, text, max_width, max_height, font_path, max_font_size): + + # Adjust the max-width to allow for start and end padding + max_width = max_width * 0.9 + + # Start with the maximum font size + font_size = max_font_size + font = ImageFont.truetype(str(font_path), size=font_size) + + # Get the first two lines + text_lines = text.split('\n')[:2] + + if len(text_lines) == 2: + font_size = min(max_height//2, max_font_size) + font = ImageFont.truetype(str(font_path), size=font_size) + + # Calculate max text width and height with the current font + max_text_width = 0 + longest_line = text_lines[0] + for line in text_lines: + # Calculate the width and height of the current line + line_width, line_height = get_text_size(draw, line, font) + + if line_width > max_text_width: + longest_line = line + max_text_width = max(max_text_width, line_width) + + # Calculate the width and height of the text + text_width, text_height = get_text_size(draw, text, font) + + # Decrease the font size until it fits within the bounds + while max_text_width > max_width or text_height > 0.88 * max_height / len(text_lines): + font_size -= 1 + font = ImageFont.truetype(str(font_path), size=font_size) + max_text_width, text_height = get_text_size(draw, longest_line, font) + + return font + + +def hex_to_rgb(hex_color): + hex_color = hex_color.lstrip('#') # Remove the '#' character, if present + r = int(hex_color[0:2], 16) + g = int(hex_color[2:4], 16) + b = int(hex_color[4:6], 16) + return (r, g, b) + + +def text_panel(image_width, image_height, text, + font_name, font_size, font_color, + font_outline_thickness, font_outline_color, + background_color, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options): + + """ + Create an image with text overlaid on a background. + + Returns: + PIL.Image.Image: Image with text overlaid on the background. + """ + + # Create PIL images for the text and background layers and text mask + size = (image_width, image_height) + panel = Image.new('RGB', size, background_color) + + # Draw the text on the text mask + image_out = draw_text(panel, text, + font_name, font_size, font_color, + font_outline_thickness, font_outline_color, + background_color, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options) + + return image_out + + +def draw_text(panel, text, + font_name, font_size, font_color, + font_outline_thickness, font_outline_color, + bg_color, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options): + + # Create the drawing context + draw = ImageDraw.Draw(panel) + + # Define font settings + font_folder = "fonts" + font_file = os.path.join(font_folder, font_name) + resolved_font_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), font_file) + font = ImageFont.truetype(str(resolved_font_path), size=font_size) + + # Split the input text into lines + text_lines = text.split('\n') + + # Calculate the size of the text plus padding for the tallest line + max_text_width = 0 + max_text_height = 0 + + for line in text_lines: + # Calculate the width and height of the current line + line_width, line_height = get_text_size(draw, line, font) + + line_height = line_height + line_spacing + max_text_width = max(max_text_width, line_width) + max_text_height = max(max_text_height, line_height) + + # Get the image center + image_center_x = panel.width / 2 + image_center_y = panel.height / 2 + + text_pos_y = position_y + sum_text_plot_y = 0 + text_height = max_text_height * len(text_lines) + + for line in text_lines: + # Calculate the width and height of the current line + line_width, line_height = get_text_size(draw, line, font) + + # Get the text x and y positions for each line + text_plot_x = position_x + justify_text(justify, panel.width, line_width, margins) + text_plot_y = align_text(align, panel.height, text_height, text_pos_y, margins) + + # Add the current line to the text mask + draw.text((text_plot_x, text_plot_y), line, fill=font_color, font=font, stroke_width=font_outline_thickness, stroke_fill=font_outline_color) + + text_pos_y += max_text_height # Move down for the next line + sum_text_plot_y += text_plot_y # Sum the y positions + + text_center_x = text_plot_x + max_text_width / 2 + text_center_y = sum_text_plot_y / len(text_lines) + + if rotation_options == "text center": + rotated_panel = panel.rotate(rotation_angle, center=(text_center_x, text_center_y), resample=Image.BILINEAR) + elif rotation_options == "image center": + rotated_panel = panel.rotate(rotation_angle, center=(image_center_x, image_center_y), resample=Image.BILINEAR) + + return rotated_panel + + +def combine_images(images, layout_direction='horizontal'): + """ + Combine a list of PIL Image objects either horizontally or vertically. + + Args: + images (list of PIL.Image.Image): List of PIL Image objects to combine. + layout_direction (str): 'horizontal' for horizontal layout, 'vertical' for vertical layout. + + Returns: + PIL.Image.Image: Combined image. + """ + + if layout_direction == 'horizontal': + combined_width = sum(image.width for image in images) + combined_height = max(image.height for image in images) + else: + combined_width = max(image.width for image in images) + combined_height = sum(image.height for image in images) + + combined_image = Image.new('RGB', (combined_width, combined_height)) + + x_offset = 0 + y_offset = 0 # Initialize y_offset for vertical layout + for image in images: + combined_image.paste(image, (x_offset, y_offset)) + if layout_direction == 'horizontal': + x_offset += image.width + else: + y_offset += image.height + + return combined_image + + +def apply_outline_and_border(images, outline_thickness, outline_color, border_thickness, border_color): + for i, image in enumerate(images): + # Apply the outline + if outline_thickness > 0: + image = ImageOps.expand(image, outline_thickness, fill=outline_color) + + # Apply the border + if border_thickness > 0: + image = ImageOps.expand(image, border_thickness, fill=border_color) + + images[i] = image + + return images + + +def get_color_values(color, color_hex, color_mapping): + + #Get RGB values for the text and background colors. + + if color == "custom": + color_rgb = hex_to_rgb(color_hex) + else: + color_rgb = color_mapping.get(color, (0, 0, 0)) # Default to black if the color is not found + + return color_rgb + + +def hex_to_rgb(hex_color): + hex_color = hex_color.lstrip('#') # Remove the '#' character, if present + r = int(hex_color[0:2], 16) + g = int(hex_color[2:4], 16) + b = int(hex_color[4:6], 16) + return (r, g, b) + + +def crop_and_resize_image(image, target_width, target_height): + width, height = image.size + aspect_ratio = width / height + target_aspect_ratio = target_width / target_height + + if aspect_ratio > target_aspect_ratio: + # Crop the image's width to match the target aspect ratio + crop_width = int(height * target_aspect_ratio) + crop_height = height + left = (width - crop_width) // 2 + top = 0 + else: + # Crop the image's height to match the target aspect ratio + crop_height = int(width / target_aspect_ratio) + crop_width = width + left = 0 + top = (height - crop_height) // 2 + + # Perform the center cropping + cropped_image = image.crop((left, top, left + crop_width, top + crop_height)) + + return cropped_image + + +def create_and_paste_panel(page, border_thickness, outline_thickness, + panel_width, panel_height, page_width, + panel_color, bg_color, outline_color, + images, i, j, k, len_images, reading_direction): + panel = Image.new("RGB", (panel_width, panel_height), panel_color) + if k < len_images: + img = images[k] + image = crop_and_resize_image(img, panel_width, panel_height) + image.thumbnail((panel_width, panel_height), Image.Resampling.LANCZOS) + panel.paste(image, (0, 0)) + panel = ImageOps.expand(panel, border=outline_thickness, fill=outline_color) + panel = ImageOps.expand(panel, border=border_thickness, fill=bg_color) + new_panel_width, new_panel_height = panel.size + if reading_direction == "right to left": + page.paste(panel, (page_width - (j + 1) * new_panel_width, i * new_panel_height)) + else: + page.paste(panel, (j * new_panel_width, i * new_panel_height)) + + +def reduce_opacity(img, opacity): + """Returns an image with reduced opacity.""" + assert opacity >= 0 and opacity <= 1 + if img.mode != 'RGBA': + img = img.convert('RGBA') + else: + img = img.copy() + alpha = img.split()[3] + alpha = ImageEnhance.Brightness(alpha).enhance(opacity) + img.putalpha(alpha) + return img + + +def random_hex_color(): + # Generate three random values for RGB + r = random.randint(0, 255) + g = random.randint(0, 255) + b = random.randint(0, 255) + + # Convert RGB to hex format + hex_color = "#{:02x}{:02x}{:02x}".format(r, g, b) + + return hex_color + + +def random_rgb(): + # Generate three random values for RGB + r = random.randint(0, 255) + g = random.randint(0, 255) + b = random.randint(0, 255) + + # Format RGB as a string in the format "128,128,128" + rgb_string = "{},{},{}".format(r, g, b) + + return rgb_string + + +def make_grid_panel(images, max_columns): + + # Calculate dimensions for the grid + num_images = len(images) + num_rows = (num_images - 1) // max_columns + 1 + combined_width = max(image.width for image in images) * min(max_columns, num_images) + combined_height = max(image.height for image in images) * num_rows + + combined_image = Image.new('RGB', (combined_width, combined_height)) + + x_offset, y_offset = 0, 0 # Initialize offsets + for image in images: + combined_image.paste(image, (x_offset, y_offset)) + x_offset += image.width + if x_offset >= max_columns * image.width: + x_offset = 0 + y_offset += image.height + + return combined_image + + +def interpolate_color(color0, color1, t): + """ + Interpolate between two colors. + """ + return tuple(int(c0 * (1 - t) + c1 * t) for c0, c1 in zip(color0, color1)) + \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py b/docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py new file mode 100644 index 00000000..0ce1f5a7 --- /dev/null +++ b/docs/hel-892/watermark-reference/cr__nodes__nodes_graphics_text.py @@ -0,0 +1,501 @@ +#---------------------------------------------------------------------------------------------------------------------# +# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes +# for ComfyUI https://github.com/comfyanonymous/ComfyUI +#---------------------------------------------------------------------------------------------------------------------# + +import numpy as np +import torch +import os +import platform +from PIL import Image, ImageDraw, ImageOps, ImageFont +from ..categories import icons +from ..config import color_mapping, COLORS +from .functions_graphics import * + +''' +try: + from bidi.algorithm import get_display +except ImportError: + import subprocess + subprocess.check_call(['python', '-m', 'pip', 'install', 'python_bidi']) + +try: + import arabic_reshaper +except ImportError: + import subprocess + subprocess.check_call(['python', '-m', 'pip', 'install', 'arabic_reshaper']) +''' + +def get_offset_for_true_mm(text, draw, font): + anchor_bbox = draw.textbbox((0, 0), text, font=font, anchor='lt') + anchor_center = (anchor_bbox[0] + anchor_bbox[2]) // 2, (anchor_bbox[1] + anchor_bbox[3]) // 2 + mask_bbox = font.getmask(text).getbbox() + mask_center = (mask_bbox[0] + mask_bbox[2]) // 2, (mask_bbox[1] + mask_bbox[3]) // 2 + return anchor_center[0] - mask_center[0], anchor_center[1] - mask_center[1] + + +class AnyType(str): + """A special type that can be connected to any other types. Credit to pythongosssss""" + + def __ne__(self, __value: object) -> bool: + return False + +any_type = AnyType("*") + +#---------------------------------------------------------------------------------------------------------------------# + +ALIGN_OPTIONS = ["center", "top", "bottom"] +ROTATE_OPTIONS = ["text center", "image center"] +JUSTIFY_OPTIONS = ["center", "left", "right"] +PERSPECTIVE_OPTIONS = ["top", "bottom", "left", "right"] + +#---------------------------------------------------------------------------------------------------------------------# +class CR_OverlayText: + + @classmethod + def INPUT_TYPES(s): + + font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + return {"required": { + "image": ("IMAGE",), + "text": ("STRING", {"multiline": True, "default": "text"}), + "font_name": (file_list,), + "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), + "font_color": (COLORS,), + "align": (ALIGN_OPTIONS,), + "justify": (JUSTIFY_OPTIONS,), + "margins": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "line_spacing": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "position_x": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "position_y": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "rotation_angle": ("FLOAT", {"default": 0.0, "min": -360.0, "max": 360.0, "step": 0.1}), + "rotation_options": (ROTATE_OPTIONS,), + }, + "optional": {"font_color_hex": ("STRING", {"multiline": False, "default": "#000000"}) + } + } + + RETURN_TYPES = ("IMAGE", "STRING",) + RETURN_NAMES = ("IMAGE", "show_help",) + FUNCTION = "overlay_text" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def overlay_text(self, image, text, font_name, font_size, font_color, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options, + font_color_hex='#000000'): + + # Get RGB values for the text color + text_color = get_color_values(font_color, font_color_hex, color_mapping) + + # Convert tensor images + image_3d = image[0, :, :, :] + + # Create PIL images for the text and background layers and text mask + back_image = tensor2pil(image_3d) + text_image = Image.new('RGB', back_image.size, text_color) + text_mask = Image.new('L', back_image.size) + + # Draw the text on the text mask + rotated_text_mask = draw_masked_text(text_mask, text, font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options) + + # Composite the text image onto the background image using the rotated text mask + image_out = Image.composite(text_image, back_image, rotated_text_mask) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-overlay-text" + + # Convert the PIL image back to a torch tensor + return (pil2tensor(image_out), show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_DrawText: + + @classmethod + def INPUT_TYPES(s): + + font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + return {"required": { + "image_width": ("INT", {"default": 512, "min": 64, "max": 2048}), + "image_height": ("INT", {"default": 512, "min": 64, "max": 2048}), + "text": ("STRING", {"multiline": True, "default": "text"}), + "font_name": (file_list,), + "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), + "font_color": (COLORS,), + "background_color": (COLORS,), + "align": (ALIGN_OPTIONS,), + "justify": (JUSTIFY_OPTIONS,), + "margins": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "line_spacing": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "position_x": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "position_y": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "rotation_angle": ("FLOAT", {"default": 0.0, "min": -360.0, "max": 360.0, "step": 0.1}), + "rotation_options": (ROTATE_OPTIONS,), + }, + "optional": { + "font_color_hex": ("STRING", {"multiline": False, "default": "#000000"}), + "bg_color_hex": ("STRING", {"multiline": False, "default": "#000000"}) + } + } + + RETURN_TYPES = ("IMAGE", "STRING",) + RETURN_NAMES = ("IMAGE", "show_help",) + FUNCTION = "draw_text" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def draw_text(self, image_width, image_height, text, + font_name, font_size, font_color, + background_color, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options, + font_color_hex='#000000', bg_color_hex='#000000'): + + # Get RGB values for the text and background colors + text_color = get_color_values(font_color, font_color_hex, color_mapping) + bg_color = get_color_values(background_color, bg_color_hex, color_mapping) + + # Create PIL images for the text and background layers and text mask + size = (image_width, image_height) + text_image = Image.new('RGB', size, text_color) + back_image = Image.new('RGB', size, bg_color) + text_mask = Image.new('L', back_image.size) + + # Draw the text on the text mask + rotated_text_mask = draw_masked_text(text_mask, text, font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options) + + # Composite the text image onto the background image using the rotated text mask + image_out = Image.composite(text_image, back_image, rotated_text_mask) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-draw-text" + + # Convert the PIL image back to a torch tensor + return (pil2tensor(image_out), show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_MaskText: + + @classmethod + def INPUT_TYPES(s): + + font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + return {"required": { + "image": ("IMAGE",), + "text": ("STRING", {"multiline": True, "default": "text"}), + "font_name": (file_list,), + "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), + "background_color": (COLORS,), + "align": (ALIGN_OPTIONS,), + "justify": (JUSTIFY_OPTIONS,), + "margins": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "line_spacing": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "position_x": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "position_y": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "rotation_angle": ("FLOAT", {"default": 0.0, "min": -360.0, "max": 360.0, "step": 0.1}), + "rotation_options": (ROTATE_OPTIONS,), + }, + "optional": { + "bg_color_hex": ("STRING", {"multiline": False, "default": "#000000"}) + } + } + + RETURN_TYPES = ("IMAGE", "STRING",) + RETURN_NAMES = ("IMAGE", "show_help",) + FUNCTION = "mask_text" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def mask_text(self, image, text, font_name, font_size, + margins, line_spacing, + position_x, position_y, background_color, + align, justify, + rotation_angle, rotation_options, + bg_color_hex='#000000'): + + # Get RGB values for the background color + bg_color = get_color_values(background_color, bg_color_hex, color_mapping) + + # Convert tensor images + image_3d = image[0, :, :, :] + + # Create PIL images for the text and background layers and text mask + text_image = tensor2pil(image_3d) + text_mask = Image.new('L', text_image.size) + background_image = Image.new('RGB', text_mask.size, bg_color) + + # Draw the text on the text mask + rotated_text_mask = draw_masked_text(text_mask, text, font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options) + + # Invert the text mask (so the text is white and the background is black) + text_mask = ImageOps.invert(rotated_text_mask) + + # Composite the text image onto the background image using the inverted text mask + image_out = Image.composite(background_image, text_image, text_mask) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-mask-text" + + # Convert the PIL image back to a torch tensor + return (pil2tensor(image_out), show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_CompositeText: + + @classmethod + def INPUT_TYPES(s): + + font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + return {"required": { + "image_text": ("IMAGE",), + "image_background": ("IMAGE",), + "text": ("STRING", {"multiline": True, "default": "text"}), + "font_name": (file_list,), + "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), + "align": (ALIGN_OPTIONS,), + "justify": (JUSTIFY_OPTIONS,), + "margins": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "line_spacing": ("INT", {"default": 0, "min": -1024, "max": 1024}), + "position_x": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "position_y": ("INT", {"default": 0, "min": -4096, "max": 4096}), + "rotation_angle": ("FLOAT", {"default": 0.0, "min": -360.0, "max": 360.0, "step": 0.1}), + "rotation_options": (ROTATE_OPTIONS,), + } + } + + RETURN_TYPES = ("IMAGE", "STRING",) + RETURN_NAMES = ("IMAGE", "show_help",) + FUNCTION = "composite_text" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def composite_text(self, image_text, image_background, text, + font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options): + + # Convert tensor images + image_text_3d = image_text[0, :, :, :] + image_back_3d = image_background[0, :, :, :] + + # Create PIL images for the text and background layers and text mask + text_image = tensor2pil(image_text_3d) + back_image = tensor2pil(image_back_3d) + text_mask = Image.new('L', back_image.size) + + # Draw the text on the text mask + rotated_text_mask = draw_masked_text(text_mask, text, font_name, font_size, + margins, line_spacing, + position_x, position_y, + align, justify, + rotation_angle, rotation_options) + + # Composite the text image onto the background image using the rotated text mask + image_out = Image.composite(text_image, back_image, rotated_text_mask) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-composite-text" + + # Convert the PIL image back to a torch tensor + return (pil2tensor(image_out), show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_ArabicTextRTL: + + @classmethod + def INPUT_TYPES(s): + + return {"required": { + "arabic_text": ("STRING", {"multiline": True, "default": "شمس"}), + } + } + + RETURN_TYPES = ("STRING", "STRING", ) + RETURN_NAMES = ("arabic_text_rtl", "show help", ) + FUNCTION = "adjust_arabic_to_rtl" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def adjust_arabic_to_rtl(self, arabic_text): + """ + Adjust Arabic text to read from right to left (RTL). + + Args: + arabic_text (str): The Arabic text to be adjusted. + + Returns: + str: The adjusted Arabic text in RTL format. + """ + + arabic_text_reshaped = arabic_reshaper.reshape(arabic_text) + rtl_text = get_display(arabic_text_reshaped) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-arabic-text-rtl" + + return (rtl_text, show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_SimpleTextWatermark: + + @classmethod + def INPUT_TYPES(s): + + font_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), "fonts") + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + ALIGN_OPTIONS = ["center", "top left", "top center", "top right", "bottom left", "bottom center", "bottom right"] + + return {"required": { + "image": ("IMAGE",), + "text": ("STRING", {"multiline": False, "default": "@ your name"}), + "align": (ALIGN_OPTIONS,), + "opacity": ("FLOAT", {"default": 0.30, "min": 0.00, "max": 1.00, "step": 0.01}), + "font_name": (file_list,), + "font_size": ("INT", {"default": 50, "min": 1, "max": 1024}), + "font_color": (COLORS,), + "x_margin": ("INT", {"default": 20, "min": -1024, "max": 1024}), + "y_margin": ("INT", {"default": 20, "min": -1024, "max": 1024}), + }, + "optional": { + "font_color_hex": ("STRING", {"multiline": False, "default": "#000000"}), + } + } + + RETURN_TYPES = ("IMAGE", "STRING", ) + RETURN_NAMES = ("IMAGE", "show_help", ) + FUNCTION = "overlay_text" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def overlay_text(self, image, text, align, + font_name, font_size, font_color, + opacity, x_margin, y_margin, font_color_hex='#000000'): + + # Get RGB values for the text color + text_color = get_color_values(font_color, font_color_hex, color_mapping) + + total_images = [] + + for img in image: + + # Create PIL images for the background layer + img = tensor2pil(img) + + textlayer = Image.new("RGBA", img.size) + draw = ImageDraw.Draw(textlayer) + + # Load the font + font_file = os.path.join("fonts", str(font_name)) + resolved_font_path = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), font_file) + font = ImageFont.truetype(str(resolved_font_path), size=font_size) + + # Get the size of the text + textsize = get_text_size(draw, text, font) + + # Calculate the position to place the text based on the alignment + if align == 'center': + textpos = [(img.size[0] - textsize[0]) // 2, (img.size[1] - textsize[1]) // 2] + elif align == 'top left': + textpos = [x_margin, y_margin] + elif align == 'top center': + textpos = [(img.size[0] - textsize[0]) // 2, y_margin] + elif align == 'top right': + textpos = [img.size[0] - textsize[0] - x_margin, y_margin] + elif align == 'bottom left': + textpos = [x_margin, img.size[1] - textsize[1] - y_margin] + elif align == 'bottom center': + textpos = [(img.size[0] - textsize[0]) // 2, img.size[1] - textsize[1] - y_margin] + elif align == 'bottom right': + textpos = [img.size[0] - textsize[0] - x_margin, img.size[1] - textsize[1] - y_margin] + + # Draw the text on the text layer + draw.text(textpos, text, font=font, fill=text_color) + + # Adjust the opacity of the text layer if needed + if opacity != 1: + textlayer = reduce_opacity(textlayer, opacity) + + # Composite the text layer on top of the original image + out_image = Image.composite(textlayer, img, textlayer) + + # convert to tensor + out_image = np.array(out_image.convert("RGB")).astype(np.float32) / 255.0 + out_image = torch.from_numpy(out_image).unsqueeze(0) + total_images.append(out_image) + + images_out = torch.cat(total_images, 0) + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-simple-text-watermark" + + # Convert the PIL image back to a torch tensor + return (images_out, show_help, ) + +#---------------------------------------------------------------------------------------------------------------------# +class CR_SelectFont: + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(cls): + + if platform.system() == "Windows": + system_root = os.environ.get("SystemRoot") + font_dir = os.path.join(system_root, "Fonts") if system_root else None + # Default debian-based Linux & MacOS font dirs + elif platform.system() == "Linux": + font_dir = "/usr/share/fonts/truetype" + elif platform.system() == "Darwin": + font_dir = "/System/Library/Fonts" + + file_list = [f for f in os.listdir(font_dir) if os.path.isfile(os.path.join(font_dir, f)) and f.lower().endswith(".ttf")] + + return {"required": { + "font_name": (file_list,), + } + } + + RETURN_TYPES = (any_type, "STRING",) + RETURN_NAMES = ("font_name", "show_help",) + FUNCTION = "select_font" + CATEGORY = icons.get("Comfyroll/Graphics/Text") + + def select_font(self, font_name): + + show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Text-Nodes#cr-select-font" + + return (font_name, show_help,) + +#---------------------------------------------------------------------------------------------------------------------# +# MAPPINGS +#---------------------------------------------------------------------------------------------------------------------# +# For reference only, actual mappings are in __init__.py +''' +NODE_CLASS_MAPPINGS = { + "CR Overlay Text": CR_OverlayText, + "CR Draw Text": CR_DrawText, + "CR Mask Text": CR_MaskText, + "CR Composite Text": CR_CompositeText, + "CR Draw Perspective Text": CR_DrawPerspectiveText, + "CR Arabic Text RTL": CR_ArabicTextRTL, + "CR Simple Text Watermark": CR_SimpleTextWatermark, + "CR Select Font": CR_SelectFont, +} +''' + diff --git a/docs/hel-892/watermark-reference/guhai-tree.json b/docs/hel-892/watermark-reference/guhai-tree.json new file mode 100644 index 00000000..2f43b09d --- /dev/null +++ b/docs/hel-892/watermark-reference/guhai-tree.json @@ -0,0 +1,3081 @@ +{ + "sha": "0b267384faaa9201c821c68dfa3dacd784da171d", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/0b267384faaa9201c821c68dfa3dacd784da171d", + "tree": [ + { + "path": ".gitignore", + "mode": "100644", + "type": "blob", + "sha": "49b2e91681082dbb8e98e7d4bc6bfd0570941f09", + "size": 34, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/49b2e91681082dbb8e98e7d4bc6bfd0570941f09" + }, + { + "path": "README.md", + "mode": "100644", + "type": "blob", + "sha": "594ccd15cd1ac6a2f77f300e1300eb7e48adf410", + "size": 60, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/594ccd15cd1ac6a2f77f300e1300eb7e48adf410" + }, + { + "path": "__init__.py", + "mode": "100644", + "type": "blob", + "sha": "d335c5f40f24a221373c92fe67e74e9c15104a21", + "size": 1582, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d335c5f40f24a221373c92fe67e74e9c15104a21" + }, + { + "path": "extension.json", + "mode": "100644", + "type": "blob", + "sha": "591788233b87c52b6e27841185e0b6ee402ee63e", + "size": 933, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/591788233b87c52b6e27841185e0b6ee402ee63e" + }, + { + "path": "fonts", + "mode": "040000", + "type": "tree", + "sha": "cf71c83c1fe781e8cc256f27a713ce2efe9399a5", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/cf71c83c1fe781e8cc256f27a713ce2efe9399a5" + }, + { + "path": "fonts/Capture it.ttf", + "mode": "100644", + "type": "blob", + "sha": "add12b9bc99e42e10834589929895d44f0cc0828", + "size": 703400, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/add12b9bc99e42e10834589929895d44f0cc0828" + }, + { + "path": "fonts/FZCCHJW.TTF", + "mode": "100644", + "type": "blob", + "sha": "e9fa0c4386ccbccd479a2f6b51ca02f3084bb153", + "size": 1847656, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e9fa0c4386ccbccd479a2f6b51ca02f3084bb153" + }, + { + "path": "fonts/OCR-B 10 BT.ttf", + "mode": "100644", + "type": "blob", + "sha": "5c8d5bf1ecb6ccfb22fd8cb64d6c21e94a09d31e", + "size": 20632, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5c8d5bf1ecb6ccfb22fd8cb64d6c21e94a09d31e" + }, + { + "path": "fonts/font.ttf", + "mode": "100644", + "type": "blob", + "sha": "4fafa9ed8fc04b047a6528ccae85a280fb2c273a", + "size": 24536, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4fafa9ed8fc04b047a6528ccae85a280fb2c273a" + }, + { + "path": "fonts/wsis721.ttf", + "mode": "100644", + "type": "blob", + "sha": "e8c92dc0bf0960d363f1bb898b00fb34d3465c9c", + "size": 40872, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e8c92dc0bf0960d363f1bb898b00fb34d3465c9c" + }, + { + "path": "fonts/华文细黑.ttf", + "mode": "100644", + "type": "blob", + "sha": "c448cbeb3d9cb795b502a567282c705b7b9b6f4c", + "size": 9761920, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c448cbeb3d9cb795b502a567282c705b7b9b6f4c" + }, + { + "path": "fonts/楷体.ttf", + "mode": "100644", + "type": "blob", + "sha": "d7c3b902d893e9206d03d38641f9c5abfcf9aef8", + "size": 11787328, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d7c3b902d893e9206d03d38641f9c5abfcf9aef8" + }, + { + "path": "fonts/苹方特粗.ttf", + "mode": "100644", + "type": "blob", + "sha": "f4cf7884bc2906ae83b48c76317ac59fb74a5541", + "size": 10898528, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f4cf7884bc2906ae83b48c76317ac59fb74a5541" + }, + { + "path": "fonts/苹方粗体.ttf", + "mode": "100644", + "type": "blob", + "sha": "accaf1f0014c85574e5f35c9570e7377507ae6d4", + "size": 10923212, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/accaf1f0014c85574e5f35c9570e7377507ae6d4" + }, + { + "path": "fonts/黑体.ttf", + "mode": "100644", + "type": "blob", + "sha": "5bd4687e7212775e23bea569f08fdd1cd7395dc3", + "size": 9753388, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5bd4687e7212775e23bea569f08fdd1cd7395dc3" + }, + { + "path": "image", + "mode": "040000", + "type": "tree", + "sha": "69bc749d3af4448418fbecd09994d414f1ef8bc7", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/69bc749d3af4448418fbecd09994d414f1ef8bc7" + }, + { + "path": "image/ID_Photo", + "mode": "040000", + "type": "tree", + "sha": "aafa3854f4e6c69093b7519301aad1004edf9840", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/aafa3854f4e6c69093b7519301aad1004edf9840" + }, + { + "path": "image/ID_Photo/1. 服装_女士", + "mode": "040000", + "type": "tree", + "sha": "20bfee45ed0d9d4250848f3d78d5fc94562075b1", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/20bfee45ed0d9d4250848f3d78d5fc94562075b1" + }, + { + "path": "image/ID_Photo/1. 服装_女士/01.西装-藏青学院风西装,暗紫色镶边,内搭白衬衫,配藏青红条纹徽章领带,元气减龄日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "7f14dc61b48d21e5b622f97b9fa5f5ba4922156d", + "size": 27276, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7f14dc61b48d21e5b622f97b9fa5f5ba4922156d" + }, + { + "path": "image/ID_Photo/1. 服装_女士/02.西装-藏青色(偏蓝紫调)平驳领西装,内搭白尖领衬衫,搭配酒红藏青条纹带徽章的学院风领结;.jpg", + "mode": "100644", + "type": "blob", + "sha": "801504dda8a24aa2c6890c22daa63871a8a7a694", + "size": 27231, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/801504dda8a24aa2c6890c22daa63871a8a7a694" + }, + { + "path": "image/ID_Photo/1. 服装_女士/03.西装-藏青镶金边平驳领学院风西装,翻驳领高领口剪裁,带校徽徽章;内搭白尖领衬衫,领口完全被西装翻领包裹,搭配藏青红条纹领带,减龄学院风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "c734a114d5b244e8268b58b5df1ba42ab8a83d0e", + "size": 34103, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c734a114d5b244e8268b58b5df1ba42ab8a83d0e" + }, + { + "path": "image/ID_Photo/1. 服装_女士/04.西装-灰色修身平驳领西装,内搭白衬衫配黑领带,干练正式的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "be87e745bf16cf55e2c07406f101b3317fa260f7", + "size": 31070, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/be87e745bf16cf55e2c07406f101b3317fa260f7" + }, + { + "path": "image/ID_Photo/1. 服装_女士/05.西装-深灰色廓形西装外套,垫肩泡泡袖,内搭粉色短款打底,轻熟通勤风,颈间搭配金银双色锁骨链。.jpg", + "mode": "100644", + "type": "blob", + "sha": "348a72d09ad3333adb37c0c8b7be86849e2a1749", + "size": 26709, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/348a72d09ad3333adb37c0c8b7be86849e2a1749" + }, + { + "path": "image/ID_Photo/1. 服装_女士/06.西装-米色西装外套搭配白色尖领衬衫,外系深棕红蓝格纹大蝴蝶结领结,经典翻领设计,正装风格。.jpg", + "mode": "100644", + "type": "blob", + "sha": "87b8d8facea9eb3ae420daa8e6560d23a17e5890", + "size": 26388, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/87b8d8facea9eb3ae420daa8e6560d23a17e5890" + }, + { + "path": "image/ID_Photo/1. 服装_女士/07.西装-墨绿细条纹西装,内搭白衬衫配格纹领带,复古学院通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "7a8b021d167f68a331f676764a8ef8507b54f657", + "size": 33620, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7a8b021d167f68a331f676764a8ef8507b54f657" + }, + { + "path": "image/ID_Photo/1. 服装_女士/08.西装-黑色平驳领西装外套,V 领剪裁,无打底,露出锁骨,利落修身,干练的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "ec2940895d335465119da754ae58b721accf860a", + "size": 23153, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ec2940895d335465119da754ae58b721accf860a" + }, + { + "path": "image/ID_Photo/1. 服装_女士/09.西装-白色干练西装,内搭蓝调印花丝巾,正式又带知性气质的职场风.jpg", + "mode": "100644", + "type": "blob", + "sha": "1be3a11cb21669a2d5131932eee25b542802c17b", + "size": 35570, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1be3a11cb21669a2d5131932eee25b542802c17b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/10.西装-豆沙粉纹理V领西装外套,双排扣设计,无打底,露出锁骨,温柔知性的轻熟通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "a0c50252dfa0401a7c43d2d22da520d51c859099", + "size": 35096, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a0c50252dfa0401a7c43d2d22da520d51c859099" + }, + { + "path": "image/ID_Photo/1. 服装_女士/11.西装-浅蓝高领裁剪 V 领西装马甲,内搭白色T恤打底,简约干净的日系温柔风.jpg", + "mode": "100644", + "type": "blob", + "sha": "45e354b1fb5d74f753c655675702b39575e5c634", + "size": 32468, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/45e354b1fb5d74f753c655675702b39575e5c634" + }, + { + "path": "image/ID_Photo/1. 服装_女士/12.马甲-高明度焦糖色学院风西装马甲,内搭白衬衫,搭配短款蓝紫格纹小领带,带金属徽章装饰,复古又精致;.jpg", + "mode": "100644", + "type": "blob", + "sha": "f825c02d3d41904fb59bfcabe0c29f9cdfefae63", + "size": 33235, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f825c02d3d41904fb59bfcabe0c29f9cdfefae63" + }, + { + "path": "image/ID_Photo/1. 服装_女士/13.马甲-酒红色 V 领麻花针织毛衣,内搭白衬衫,搭配藏青酒红条纹徽章学院风领结;.jpg", + "mode": "100644", + "type": "blob", + "sha": "4ba75d20f3c918da1aca6a32a3cc7af5ac6d4f2b", + "size": 30432, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4ba75d20f3c918da1aca6a32a3cc7af5ac6d4f2b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/14.马甲-米白细黑边 V 领针织背心,内搭白衬衫,配粉白格纹领结,清新学院风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "af39078aa49c08efcf1410be26126f0404f0d556", + "size": 29871, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/af39078aa49c08efcf1410be26126f0404f0d556" + }, + { + "path": "image/ID_Photo/1. 服装_女士/15.衬衫-黑色超长尖领平肩泡泡袖衬衫,搭配黑白格纹领带,极具设计感,利落又带点甜酷学院风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "dbc8d87eee69c893329001691bb763383b07bf51", + "size": 28767, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dbc8d87eee69c893329001691bb763383b07bf51" + }, + { + "path": "image/ID_Photo/1. 服装_女士/16.衬衫-黑色缎面质感 V 领翻领衬衫,单排银色纽扣,简约垂坠通勤款;.jpg", + "mode": "100644", + "type": "blob", + "sha": "fb47744dd556d723eadd04a806192fdc8e37590b", + "size": 25665, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fb47744dd556d723eadd04a806192fdc8e37590b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/17.衬衫-克莱因蓝宽松衬衫,搭配黑白棋盘格领带,天鹅颈,直角肩,是酷飒个性的学院休闲风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "41e9ca3fd5e03759f63fd058ed6df3b1d60f0e58", + "size": 30859, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/41e9ca3fd5e03759f63fd058ed6df3b1d60f0e58" + }, + { + "path": "image/ID_Photo/1. 服装_女士/18.衬衫-焦糖色粗麻布外套,明线翻领,金属纽扣装饰,直角垫肩,简约复古的休闲工装风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "8e5545c6ff993a7e22983508305fe5f5a75b2bb3", + "size": 28777, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8e5545c6ff993a7e22983508305fe5f5a75b2bb3" + }, + { + "path": "image/ID_Photo/1. 服装_女士/19.T恤-对称的黑色大圆领长袖 T 恤,低领,简约修身,百搭日常休闲风,艺考证件照装.jpg", + "mode": "100644", + "type": "blob", + "sha": "941897199abd31f9f9c59d9b94b589a29d7854fc", + "size": 33080, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/941897199abd31f9f9c59d9b94b589a29d7854fc" + }, + { + "path": "image/ID_Photo/1. 服装_女士/20.减龄-亮黄色针织背心,内搭带大蕾丝荷叶领的白衬衫,甜美温柔的少女风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "cd500017968e9c19b3f46454a807918bc49c9ab8", + "size": 32763, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cd500017968e9c19b3f46454a807918bc49c9ab8" + }, + { + "path": "image/ID_Photo/1. 服装_女士/21.减龄-绿白条纹一字肩露肩衬衫,带可调细吊带,清新温柔的韩系休闲风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "a54102da6a369fbdffefa18bd888d5b1b583f028", + "size": 30288, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a54102da6a369fbdffefa18bd888d5b1b583f028" + }, + { + "path": "image/ID_Photo/1. 服装_女士/22.减龄-米白色肌理感大翻尖领上衣,领口拼接棕金编织与刺绣装饰,带同色系打结饰带,精致优雅,是轻熟温柔的知性风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "d75f2d27fb3b22acbf0fa9dfa8ef7f02601720a2", + "size": 30647, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d75f2d27fb3b22acbf0fa9dfa8ef7f02601720a2" + }, + { + "path": "image/ID_Photo/1. 服装_女士/23.减龄-浅薄荷蓝雪纺上衣,带超大白色翻领蕾丝边,紧身款,清新甜美的韩系少女风.jpg", + "mode": "100644", + "type": "blob", + "sha": "82e4503cbd214e0517077d98a3f16b0ac1e649f9", + "size": 31473, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/82e4503cbd214e0517077d98a3f16b0ac1e649f9" + }, + { + "path": "image/ID_Photo/1. 服装_女士/24.减龄-浅薄荷绿娃娃领针织开衫,带白蕾丝边,清新温柔的韩系少女风.jpg", + "mode": "100644", + "type": "blob", + "sha": "b19d794563287f0c81d2f93391ced30c83a53e7f", + "size": 30938, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b19d794563287f0c81d2f93391ced30c83a53e7f" + }, + { + "path": "image/ID_Photo/1. 服装_女士/25.减龄-深棕领黑底水手服,领部带棕黄条纹与刺绣,搭配同色领结,直角肩,日系学院风;.jpg", + "mode": "100644", + "type": "blob", + "sha": "b739ccbf7207bd2835dcb02a2b5d6f1bf22cefd5", + "size": 34191, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b739ccbf7207bd2835dcb02a2b5d6f1bf22cefd5" + }, + { + "path": "image/ID_Photo/1. 服装_女士/26.白衬衫-纯白尖领衬衫,门襟带同色纽扣,搭配酒红 + 米白 + 藏青条纹撞色领结,是清爽元气的日系学院风,.jpg", + "mode": "100644", + "type": "blob", + "sha": "c9956b121e684989384ec9555dcc5b8f005784bf", + "size": 37346, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c9956b121e684989384ec9555dcc5b8f005784bf" + }, + { + "path": "image/ID_Photo/1. 服装_女士/27.白衬衫-纯白尖领衬衫,领口带银色细链镶边装饰,搭配蓝棕打结细条饰带,清新元气,学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "84488b892aeb32066d690f6f8d749ac096ef859d", + "size": 38001, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/84488b892aeb32066d690f6f8d749ac096ef859d" + }, + { + "path": "image/ID_Photo/1. 服装_女士/28.白衬衫-纯白基础款尖领纯棉衬衫,门襟带同色纽扣,面料干净挺括,无多余装饰,是简约清爽的学院通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "8598cf53cbcf85e414e8d4479666c45e66280148", + "size": 35387, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8598cf53cbcf85e414e8d4479666c45e66280148" + }, + { + "path": "image/ID_Photo/1. 服装_女士/29.轻熟风-黑色一字肩上衣,双层翻折领口设计,面料贴身显瘦,短袖剪裁,露出锁骨,简约大方,是气质温柔的轻熟风.jpg", + "mode": "100644", + "type": "blob", + "sha": "fae3f8bed945707f5e6a12f1d15f9c63a58f0000", + "size": 35732, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fae3f8bed945707f5e6a12f1d15f9c63a58f0000" + }, + { + "path": "image/ID_Photo/1. 服装_女士/30.小清新-青白搭配的格纹小香风拼接上衣,搭配白色大翻领V形尖领泡泡袖,白色袖子,露出锁骨,清新减龄,甜美学院风.jpg", + "mode": "100644", + "type": "blob", + "sha": "e83b169853d3be206218e5d079e3cfbb7a4d5140", + "size": 41732, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e83b169853d3be206218e5d079e3cfbb7a4d5140" + }, + { + "path": "image/ID_Photo/1. 服装_女士/31.主持人-白色肌理感平驳领西装,内搭雾霾蓝一字肩针织打底,剪裁利落柔和,露出锁骨,是知性温柔的轻熟通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "81004ccef74cad32abd142a6e3d6a8a201c1650e", + "size": 36810, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/81004ccef74cad32abd142a6e3d6a8a201c1650e" + }, + { + "path": "image/ID_Photo/1. 服装_女士/32.职业装-经典黑色平驳领西装外套,内搭白色尖领 V 字门襟衬衫,衬衫领子外翻在西装之上,剪裁利落,是干练正式的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "619969ec1ccefeea4bf986946db61235a13be763", + "size": 37930, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/619969ec1ccefeea4bf986946db61235a13be763" + }, + { + "path": "image/ID_Photo/1. 服装_女士/33.西装-经典黑色平驳领西装外套,内搭白色衬衫,搭配红色领带,是干练正式的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "09ab6c7c4b6680b242765e643481e5e171a619ff", + "size": 38978, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/09ab6c7c4b6680b242765e643481e5e171a619ff" + }, + { + "path": "image/ID_Photo/1. 服装_女士/34.白衬衫-经典纯棉白衬衫,搭配红色领带,整洁利落.jpg", + "mode": "100644", + "type": "blob", + "sha": "360cfdd78419617d7cbff0ef9357f7d2f0b5728e", + "size": 40375, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/360cfdd78419617d7cbff0ef9357f7d2f0b5728e" + }, + { + "path": "image/ID_Photo/1. 服装_女士/35.职业装-黑色平驳领西装外套,内搭白尖领衬衫,搭配黑色哑光领带,剪裁挺括利落,是正式干练的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "4cdc890dd82860af5a42843e9fc4605965ed410b", + "size": 37677, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4cdc890dd82860af5a42843e9fc4605965ed410b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/36.黑衬衫-黑色双层娃娃领尖领衬衫,领口带白色波浪线包边,门襟配黑色纽扣与丝绒系带,温柔又减龄,是清新甜美的日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "4d56d9b8084eee151d407bf38d0d9a72023581e4", + "size": 37890, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4d56d9b8084eee151d407bf38d0d9a72023581e4" + }, + { + "path": "image/ID_Photo/1. 服装_女士/37.学院风-白色 V 领针织背心,藏青条纹包边,内搭白衬衫,搭配镶钻黑底金边领结,精致学院风,元气减龄。.jpg", + "mode": "100644", + "type": "blob", + "sha": "7aba80549bf0149b24be7e5894adf5a55b0a81dd", + "size": 44333, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7aba80549bf0149b24be7e5894adf5a55b0a81dd" + }, + { + "path": "image/ID_Photo/1. 服装_女士/38.韩系少女-浅绿白竖条纹方领泡泡袖,领口与袖口带夸张的荷叶边,前襟装饰同面料蝴蝶结,清新俏皮,是甜美减龄的韩系少女风.jpg", + "mode": "100644", + "type": "blob", + "sha": "0edb7803f1196832bf80e15f0f9c86fbe6df6ab9", + "size": 45085, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0edb7803f1196832bf80e15f0f9c86fbe6df6ab9" + }, + { + "path": "image/ID_Photo/1. 服装_女士/39.日系-米杏色 V 领针织背心,带深棕条纹包边与猫咪刺绣,内搭白衬衫,搭配棕格纹领结,元气减龄,是清新日系学院风.jpg", + "mode": "100644", + "type": "blob", + "sha": "a3253cc6271f84cb5b24823fa95d008b86b8b29f", + "size": 45472, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a3253cc6271f84cb5b24823fa95d008b86b8b29f" + }, + { + "path": "image/ID_Photo/1. 服装_女士/40.衬衫-雾霾蓝缎面尖领衬衫,面料垂坠有光泽,搭配12厘米蓝棕超短装饰小领带,是温柔知性的轻熟通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "8dc616681521538a068ef683437dc05cec5e1f1b", + "size": 44637, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8dc616681521538a068ef683437dc05cec5e1f1b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/41.蓝衬衫-浅蓝色竖条纹衬衫,尖领设计,门襟配钻石纽扣,左胸带心形刺绣标,清爽简约,是干净利落的学院通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "2c1c7c38c2b7e9084bfca0d053030805fef43b72", + "size": 44392, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2c1c7c38c2b7e9084bfca0d053030805fef43b72" + }, + { + "path": "image/ID_Photo/1. 服装_女士/42.衬衫-红色(带极细的暗竖纹)低尖领长袖衬衫,配同色系扁平领带,领带中央有三颗金属圆形纽扣直接缝在表面,肩部泡泡袖,硕大的乳房,纤细的腰.jpg", + "mode": "100644", + "type": "blob", + "sha": "5fc200f4f00aa400ce30393cd1f1c25583ecf3d9", + "size": 27670, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5fc200f4f00aa400ce30393cd1f1c25583ecf3d9" + }, + { + "path": "image/ID_Photo/1. 服装_女士/43.西装-黑色V领平驳领职业西装外套,利落垫肩剪裁,带 YSL 金色金属胸针;露出锁骨,简约干练通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "5970f655609f772295153bddffaedd9b463828da", + "size": 26764, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5970f655609f772295153bddffaedd9b463828da" + }, + { + "path": "image/ID_Photo/1. 服装_女士/44.西装-浅粉色修身平驳领垫肩裁剪西装,内搭白衬衫配粉白格子领带,干练正式的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "d5a88d3e1773f9ae24aa3a2ac409487571e27aeb", + "size": 28035, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d5a88d3e1773f9ae24aa3a2ac409487571e27aeb" + }, + { + "path": "image/ID_Photo/1. 服装_女士/45.少女-米白色提花肌理立领衬衫,大型垫肩泡泡袖,领口系同面料同色系大蝴蝶结飘带,门襟配水钻纽扣,温柔知性轻熟风.jpg", + "mode": "100644", + "type": "blob", + "sha": "f301a90a8908bf5781e838b200a848e4fafdc46e", + "size": 26712, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f301a90a8908bf5781e838b200a848e4fafdc46e" + }, + { + "path": "image/ID_Photo/1. 服装_女士/46.纯欲-灰色一字肩罗纹针织上衣,修身版型,露肩设计,面料细腻有肌理感,大胸部,简约纯欲风.jpg", + "mode": "100644", + "type": "blob", + "sha": "16b293dec58c7653dff89b5411f85c53d911427e", + "size": 26246, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/16b293dec58c7653dff89b5411f85c53d911427e" + }, + { + "path": "image/ID_Photo/1. 服装_女士/47.护士-白色护士服,偏襟立领设计,带白色纽扣,搭配标准燕尾护士帽,整体干净利落,专业温柔.jpg", + "mode": "100644", + "type": "blob", + "sha": "f0aeefeb3ec99e123305d445e529e33d2f73324b", + "size": 25780, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f0aeefeb3ec99e123305d445e529e33d2f73324b" + }, + { + "path": "image/ID_Photo/1. 服装_女士/48.西装-白色廓形双排扣西装外套,垫肩泡泡袖,露出锁骨,轻熟通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "52617b2cb5c567ae67bf4453eef380902c66e2f9", + "size": 25440, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/52617b2cb5c567ae67bf4453eef380902c66e2f9" + }, + { + "path": "image/ID_Photo/2. 服装_男士", + "mode": "040000", + "type": "tree", + "sha": "91439cc017c646b9efcffa8bac5b9ec41b2ddae3", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/91439cc017c646b9efcffa8bac5b9ec41b2ddae3" + }, + { + "path": "image/ID_Photo/2. 服装_男士/01.衬衫-浅焦糖色尖领衬衫,面料顺滑简约,搭配深棕颗粒针织领带,领带上方有白色横条,色调温暖柔和,是温柔轻熟的休闲通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "bc77723c8e06f7bf8bc13c123b52d01a6627cc28", + "size": 45100, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bc77723c8e06f7bf8bc13c123b52d01a6627cc28" + }, + { + "path": "image/ID_Photo/2. 服装_男士/02.背心-浅黄绿色 V 领针织背心,波浪下摆带品牌标,内搭米白衬衫,搭配蓝黄条纹领带,清新减龄,是元气日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "6d80d0008b68f5d246f0cccb7a7bdb5a2b91aac4", + "size": 48607, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6d80d0008b68f5d246f0cccb7a7bdb5a2b91aac4" + }, + { + "path": "image/ID_Photo/2. 服装_男士/03.西装-灰绿色学院风西装,单扣平驳领,左胸配精致校徽徽章,内搭白衬衫 + 棕蓝条纹领带,清新减龄,是元气日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "a46c37978e6b2b17c894962bdf31dd05b748aa4b", + "size": 45385, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a46c37978e6b2b17c894962bdf31dd05b748aa4b" + }, + { + "path": "image/ID_Photo/2. 服装_男士/04.正装-雾霾蓝灯芯绒平驳领西装,左胸饰金色麦穗胸针,内搭白色尖领衬衫,搭配黑色领带,领带上有银质五角星图案,复古质感,是雅痞轻熟的商务休闲风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "7d6000d9fb8289d86f6ce5c113bda16df86e02d1", + "size": 51622, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7d6000d9fb8289d86f6ce5c113bda16df86e02d1" + }, + { + "path": "image/ID_Photo/2. 服装_男士/05.西装-孔雀蓝人字纹粗花呢西装,单扣平驳领剪裁,内搭黑色高领打底配银链,复古质感,是雅痞轻熟的休闲通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "6fda213fc68b0f0167d1c9130aa3ca4c8cb71db1", + "size": 49908, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6fda213fc68b0f0167d1c9130aa3ca4c8cb71db1" + }, + { + "path": "image/ID_Photo/2. 服装_男士/06.西装-浅蓝灰细条纹平驳领西装,内搭白色尖领衬衫,搭配蓝色细格纹领带,剪裁利落,是清爽干练的商务通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "f6255c3a41233d1523fa45a49f0680cc9775ede3", + "size": 45157, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f6255c3a41233d1523fa45a49f0680cc9775ede3" + }, + { + "path": "image/ID_Photo/2. 服装_男士/07.商务-浅灰蓝色细条纹平驳领西装三件套(外套 + 同色系马甲),内搭蓝白竖条纹尖领衬衫,搭配深蓝色佩斯利花纹领带,胸袋处点缀同色系口袋巾;商务正装风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "1bb218876c5add3ed15f3b45b0eb549ec9d71176", + "size": 58390, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1bb218876c5add3ed15f3b45b0eb549ec9d71176" + }, + { + "path": "image/ID_Photo/2. 服装_男士/08.西装-深灰暗格纹平驳领西装,左胸点缀红白格袋巾,内搭白衬衫与黑白格纹领带,剪裁利落,是正式干练的商务通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "ef8f73e84afaab0dcb62ec34db1381209ce8a3e6", + "size": 45979, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ef8f73e84afaab0dcb62ec34db1381209ce8a3e6" + }, + { + "path": "image/ID_Photo/2. 服装_男士/09.正装-藏青色明线装饰西装,左胸饰银色六芒星胸针,内搭白色尖领衬衫,搭配黑色细格纹领带,剪裁利落,是清新减龄的日系学院风正装。.jpg", + "mode": "100644", + "type": "blob", + "sha": "276f36b92a289db339408ad16b422b33b571c308", + "size": 51190, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/276f36b92a289db339408ad16b422b33b571c308" + }, + { + "path": "image/ID_Photo/2. 服装_男士/10.正装-淡紫咖色平驳领西装外套搭配同色系单扣马甲,内搭黑色尖领衬衫,配灰底白点领带,剪裁利落,是兼具正式感与轻熟雅痞感的商务休闲风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "917b2e7d52d7e322c832f69649b46f5b6ca10403", + "size": 47095, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/917b2e7d52d7e322c832f69649b46f5b6ca10403" + }, + { + "path": "image/ID_Photo/2. 服装_男士/11.正装-酒红色学院风西装,采用白色明线镶边设计,左胸口袋印有 “ROWING CLUB” 主题刺绣;内搭白色尖领衬衫,配同色系酒红底白条纹领带(带有徽章与品牌字母印花).jpg", + "mode": "100644", + "type": "blob", + "sha": "9808a364e2ea1e6685c62a9752f2bab9452265ef", + "size": 64497, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9808a364e2ea1e6685c62a9752f2bab9452265ef" + }, + { + "path": "image/ID_Photo/2. 服装_男士/12.正装-炭灰色纹理平驳领西装,内搭白色尖领衬衫,搭配蓝底金色佩斯利花纹领带,剪裁利落大气,兼具正式感与复古质感,是干练稳重的商务通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "dc447462999713fcdcf950972d853626f756e67d", + "size": 54600, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dc447462999713fcdcf950972d853626f756e67d" + }, + { + "path": "image/ID_Photo/2. 服装_男士/13.职业装-深灰蓝纹理平驳领西装,内搭白蓝细格纹衬衫,搭配深紫纯色领带,剪裁利落,是正式干练的商务通勤风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "af610d6b1a6955ae521b0c04f625152be4c90590", + "size": 49113, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/af610d6b1a6955ae521b0c04f625152be4c90590" + }, + { + "path": "image/ID_Photo/2. 服装_男士/14.正装-白色平驳领西装,白色双排扣,左胸饰黑色缎面口袋巾,内搭黑色立领衬衫,剪裁利落大气,黑白撞色搭配精致高级,是干练优雅的轻熟正装风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "655c704e652f0397aa9e02f128b21cb6d5c77c11", + "size": 52031, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/655c704e652f0397aa9e02f128b21cb6d5c77c11" + }, + { + "path": "image/ID_Photo/2. 服装_男士/15.学院风-深灰色 V 领单扣针织开衫,内搭白色尖领衬衫,搭配灰蓝菱格纹带皇冠图案领带,整体是温柔元气的日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "8907cd550beea8cd28663fbc552ec7252a787331", + "size": 53599, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8907cd550beea8cd28663fbc552ec7252a787331" + }, + { + "path": "image/ID_Photo/2. 服装_男士/16.正装-藏青格纹平驳领西装,左胸饰银色胸针,内搭白色尖领衬衫,搭配灰蓝斜纹领带,剪裁利落,是正式干练的商务职业装。.jpg", + "mode": "100644", + "type": "blob", + "sha": "51a2847615be11fb249404188c942d7bf1ae3ca0", + "size": 50826, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/51a2847615be11fb249404188c942d7bf1ae3ca0" + }, + { + "path": "image/ID_Photo/2. 服装_男士/17.正装-藏青色平驳领西装,内搭白色尖领衬衫,搭配酒红藏青条纹带徽章领带,剪裁利落,兼具正式感与学院气质,是干练商务学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "f6fa06c86c67ec985376e12c0830f0e75362b23e", + "size": 51327, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f6fa06c86c67ec985376e12c0830f0e75362b23e" + }, + { + "path": "image/ID_Photo/2. 服装_男士/18.正装-浅卡其色平驳领西装三件套(外套 + 同色系马甲),内搭浅蓝色尖领衬衫,搭配蓝底黄色圆形斑点领带,面料细腻剪裁合身,整体是温柔清爽的轻熟商务正装风.jpg", + "mode": "100644", + "type": "blob", + "sha": "05cd22e1f6c95e5c16d9541d23c252c811a231ec", + "size": 58032, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/05cd22e1f6c95e5c16d9541d23c252c811a231ec" + }, + { + "path": "image/ID_Photo/2. 服装_男士/19.西装-深灰细条纹平驳领西装,内搭白色尖领衬衫,搭配蓝白斜纹领带,剪裁挺括利落,是正式干练的商务通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "23937b050128c3ebe798b3396413a442764e3f7a", + "size": 43870, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/23937b050128c3ebe798b3396413a442764e3f7a" + }, + { + "path": "image/ID_Photo/2. 服装_男士/20.正装-经典黑色平驳领西装外套,内搭白色衬衫,搭配红色领带,是干练正式的职业通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "c84e12d4391fec23b3379335014fda3437f60fd9", + "size": 63231, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c84e12d4391fec23b3379335014fda3437f60fd9" + }, + { + "path": "image/ID_Photo/2. 服装_男士/21.西装-低饱和橄榄绿平驳领西装,哑光纹理面料,剪裁利落简约,内搭白色尖领衬衫(第一颗扣子打开),整体清新柔和,是温柔轻熟的休闲通勤风,清爽不刻板。.jpg", + "mode": "100644", + "type": "blob", + "sha": "5db681f01dccef83c6b0573aceaeb52a1e1e2e31", + "size": 46330, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5db681f01dccef83c6b0573aceaeb52a1e1e2e31" + }, + { + "path": "image/ID_Photo/2. 服装_男士/22.西装-淡紫灰底黑绿格纹粗花呢西装,平驳领剪裁,内搭白色高领针织衫,复古质感,是轻熟英伦风,休闲又不失格调.jpg", + "mode": "100644", + "type": "blob", + "sha": "15c1bce5a9e861dc6a475c0c460c8d2ee191866f", + "size": 45469, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/15c1bce5a9e861dc6a475c0c460c8d2ee191866f" + }, + { + "path": "image/ID_Photo/2. 服装_男士/23.衬衫-浅绿白格纹尖领衬衫(胸前带口袋),采用敞开穿着的方式,露出内搭的白色圆领基础 T 恤,搭配银色细链条项链;版型宽松清爽,整体是清新干净的日系休闲风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "a966740ba61efbc2212db2e14c96f5556f81d589", + "size": 58833, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a966740ba61efbc2212db2e14c96f5556f81d589" + }, + { + "path": "image/ID_Photo/2. 服装_男士/24.衬衫-浅紫色短袖尖领衬衫,左胸带口袋,搭配灰底白格纹领带,版型宽松清爽,整体是清新减龄的日系学院风,干净柔和,适配证件照的元气质感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "4efaf48be7d4e6d0e277a0f4a13213036696d2ac", + "size": 51065, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4efaf48be7d4e6d0e277a0f4a13213036696d2ac" + }, + { + "path": "image/ID_Photo/2. 服装_男士/25.马甲-黑色立领工装马甲(带大口袋、单排扣设计),内搭白色尖领衬衫,搭配金色底蓝菱格纹领带,版型利落清爽,兼具学院感与工装质感,是元气减龄的日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "e840ad3d68460656148f73dc41b0a9a97eb8dfe6", + "size": 55139, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e840ad3d68460656148f73dc41b0a9a97eb8dfe6" + }, + { + "path": "image/ID_Photo/2. 服装_男士/26.马甲-浅紫偏蓝色圆领针织马甲,叠穿白色基础 T 恤,搭配银色古巴链项链,整体是温柔清新的韩系休闲风,自带少年感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "5687ee1a734347acc6651d08bca3c8d03307ce8a", + "size": 51233, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5687ee1a734347acc6651d08bca3c8d03307ce8a" + }, + { + "path": "image/ID_Photo/2. 服装_男士/27.毛衣-西瓜红(带白杂点)圆领针织毛衣,叠穿白色尖领衬衫并搭配黑色领带;毛衣带亮片,版型宽松柔和,整体是温暖又兼具正式感的学院风穿搭。.jpg", + "mode": "100644", + "type": "blob", + "sha": "ed2fa58eb0c33db15f86d50f3bc0fec212da50ec", + "size": 60480, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ed2fa58eb0c33db15f86d50f3bc0fec212da50ec" + }, + { + "path": "image/ID_Photo/2. 服装_男士/28.毛衣-青绿色圆领针织毛衣,采用立体斜向交叉编织纹理(菱格肌理),版型宽松柔和,清新的韩系休闲风.jpg", + "mode": "100644", + "type": "blob", + "sha": "83d08ce2151da76951217333ccb1fc1cfdd106d3", + "size": 62301, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/83d08ce2151da76951217333ccb1fc1cfdd106d3" + }, + { + "path": "image/ID_Photo/2. 服装_男士/29.白衬衫-纯白基础款尖领纯棉衬衫,门襟带同色纽扣,面料干净挺括,无多余装饰,是简约清爽的学院通勤风.jpg", + "mode": "100644", + "type": "blob", + "sha": "56f7e3861b883e9194e286e9796859919d5fa2fa", + "size": 61130, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/56f7e3861b883e9194e286e9796859919d5fa2fa" + }, + { + "path": "image/ID_Photo/2. 服装_男士/30.白衬衫-经典纯棉白衬衫,搭配红色领带,整洁利落.jpg", + "mode": "100644", + "type": "blob", + "sha": "8bb3d9caf13878333beea7df76a48a02712ceafd", + "size": 62117, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8bb3d9caf13878333beea7df76a48a02712ceafd" + }, + { + "path": "image/ID_Photo/2. 服装_男士/31.衬衫-纯白色尖领衬衫,版型简约利落,搭配黄白格纹领带,整体是清爽元气的日系学院风穿搭,干净减龄.jpg", + "mode": "100644", + "type": "blob", + "sha": "95ad169f820b4ab3ad825d9346502e4b343aeeb7", + "size": 59249, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/95ad169f820b4ab3ad825d9346502e4b343aeeb7" + }, + { + "path": "image/ID_Photo/2. 服装_男士/32.衬衫-浅蓝色细纹理尖领衬衫,胸前带口袋,第一颗扣子敞开,垂坠感面料清爽柔软,整体干净大方,是清新简约的休闲风,适配证件照的清爽质感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "829a3b096a0bb4623bfbe8dc235352f453bc97ce", + "size": 51684, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/829a3b096a0bb4623bfbe8dc235352f453bc97ce" + }, + { + "path": "image/ID_Photo/2. 服装_男士/33.衬衫-藏青色古巴领衬衫,印有热带绿植(龟背叶、棕榈叶)与橙子印花,采用敞开穿着的方式,未系扣,露出内搭的白色圆领基础 T 恤;整体是清新松弛的度假休闲风.jpg", + "mode": "100644", + "type": "blob", + "sha": "9ca4ef01f92b8c0a4952358df3366021e1f211ce", + "size": 66005, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9ca4ef01f92b8c0a4952358df3366021e1f211ce" + }, + { + "path": "image/ID_Photo/2. 服装_男士/34.休闲-黑色尖领衬衫,采用白色明线撞色设计(领口、门襟、肩部线条清晰勾勒),左胸印有 “Urban Culture” 白色文字印花,搭配透明质感纽扣;清爽利落的街头休闲风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "f2cfecc3b1c9a44f84c830c5dcf8ae194acd87f9", + "size": 57394, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f2cfecc3b1c9a44f84c830c5dcf8ae194acd87f9" + }, + { + "path": "image/ID_Photo/2. 服装_男士/35.正装-炭黑色细纹理平驳领西装,内搭黑色圆领基础 T 恤,剪裁利落简约,整体是沉稳干练的轻商务休闲风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "fcf3877b4db5fb8509217861be5603b3653b1124", + "size": 51379, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fcf3877b4db5fb8509217861be5603b3653b1124" + }, + { + "path": "image/ID_Photo/2. 服装_男士/36.中山装-黑色立领中山装式上衣,门襟饰金属包边纽扣,内搭白衬衫,剪裁利落挺括,是兼具复古感与正式感的新中式正装风.jpg", + "mode": "100644", + "type": "blob", + "sha": "5d25ac717ea81133588cc1f636249a293056ac37", + "size": 40778, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5d25ac717ea81133588cc1f636249a293056ac37" + }, + { + "path": "image/ID_Photo/2. 服装_男士/37.T恤-白色圆领 T 恤,采用藏青色撞色领口设计,版型简约利落,整体是清爽干净的休闲风,自带少年感,适配证件照的清新质感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "15fc2dbf43a05a4d22e34d7ed5a215ef8290d690", + "size": 58254, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/15fc2dbf43a05a4d22e34d7ed5a215ef8290d690" + }, + { + "path": "image/ID_Photo/2. 服装_男士/38.T恤-黑色 U 型领基础 T 恤,面料柔软简约无装饰,剪裁利落干净,是极简百搭的休闲风,低调清爽,适配证件照的简约质感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "fa267bd8b92f502b9d2d58dda1b18b05e186499a", + "size": 45581, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fa267bd8b92f502b9d2d58dda1b18b05e186499a" + }, + { + "path": "image/ID_Photo/2. 服装_男士/39.韩系-黑色圆领针织马甲,叠穿深灰色细条纹尖领衬衫,搭配银色双吊坠项链,整体是清爽少年感的韩系学院风,简约干净,适配证件照的元气质感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "68118278a59b5827a32ac211a5485c6321489bc7", + "size": 56281, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/68118278a59b5827a32ac211a5485c6321489bc7" + }, + { + "path": "image/ID_Photo/2. 服装_男士/40.学院风-藏青 V 领针织背心,领口和袖口带白边麻花织纹,内搭白衬衫,搭配蓝白条纹领带,清爽减龄,是元气清新的日系学院风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "c151b0f86b2cb47664340ddc6ff67a5bce9fe276", + "size": 48034, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c151b0f86b2cb47664340ddc6ff67a5bce9fe276" + }, + { + "path": "image/ID_Photo/3. 服装_女童", + "mode": "040000", + "type": "tree", + "sha": "0c9119076b1e71a3b2039563d40bff15d08ff5fa", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/0c9119076b1e71a3b2039563d40bff15d08ff5fa" + }, + { + "path": "image/ID_Photo/3. 服装_女童/01-儿童甜美风上衣,白色网纱长袖带细小波点、透视质感;领口白色木耳荷叶边;衣身白色小香风粗花呢面料,带金色细闪,前襟白色珍珠扣;白色肩带装饰金色纱质蝴蝶结.jpg", + "mode": "100644", + "type": "blob", + "sha": "ee418926dbb497d57f245425189f1ac7cd6b4aaf", + "size": 88430, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ee418926dbb497d57f245425189f1ac7cd6b4aaf" + }, + { + "path": "image/ID_Photo/3. 服装_女童/02-白色水手领上衣,领口带蓝色细条纹镶边,胸前佩戴粉色格纹大蝴蝶结,儿童学院风水手服款式,清新甜美风格.jpg", + "mode": "100644", + "type": "blob", + "sha": "25f2669ffc7c51672c91f6c062d9c00b29c52636", + "size": 87002, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/25f2669ffc7c51672c91f6c062d9c00b29c52636" + }, + { + "path": "image/ID_Photo/3. 服装_女童/03-白色学院风儿童上衣,藏青色大翻领配白色细镶边,搭配同色藏青领带(领带下部带两道白色 V 形条纹),前襟双排金色圆形纽扣,左胸装饰小熊刺绣徽章,泡泡长袖设计。.jpg", + "mode": "100644", + "type": "blob", + "sha": "15293e75fcb2af4d0813ab333495c3ec09543ae2", + "size": 91948, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/15293e75fcb2af4d0813ab333495c3ec09543ae2" + }, + { + "path": "image/ID_Photo/3. 服装_女童/04-宝蓝色学院风西装,双排扣配金色纽扣,口袋带白边装饰,内搭白衬衫,搭配蓝白格纹大蝴蝶结领结,精致学院校服款式.jpg", + "mode": "100644", + "type": "blob", + "sha": "bf906585991d894baadb1876d3ed98f7f335a46c", + "size": 85476, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bf906585991d894baadb1876d3ed98f7f335a46c" + }, + { + "path": "image/ID_Photo/3. 服装_女童/05-酒红色儿童学院风西装外套,内搭白色尖领衬衫,领口系酒红与墨绿交织的格纹蝴蝶结领结,格纹带有浅色线条装饰,蝴蝶结衬于外套这之上,整体为利落的校服款式,面料挺括有型.jpg", + "mode": "100644", + "type": "blob", + "sha": "4882aff47d498fdf36752c1941856a08f5865409", + "size": 91770, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4882aff47d498fdf36752c1941856a08f5865409" + }, + { + "path": "image/ID_Photo/3. 服装_女童/06-浅灰色儿童针织开衫,奶白色彼得潘娃娃领,领部装饰同色系大蝴蝶结,前襟米白色圆形纽扣,肩部两侧立体波浪荷叶边木耳卷边,甜美学院风,软萌小公主款式.jpg", + "mode": "100644", + "type": "blob", + "sha": "dd3ff06512868db15d818249326f19d4de915668", + "size": 81807, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dd3ff06512868db15d818249326f19d4de915668" + }, + { + "path": "image/ID_Photo/3. 服装_女童/07-蕾丝超大翻领白色衬衫,翻领超过肩膀,搭配格纹领结,领结上贴着一只极小的小熊,整体是清新甜美的学院风,温柔可爱,适配儿童证件照造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "4b146e9bc5c4f9a88c0d3516031e4d90d87c95da", + "size": 79653, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4b146e9bc5c4f9a88c0d3516031e4d90d87c95da" + }, + { + "path": "image/ID_Photo/3. 服装_女童/08-白色短袖 Polo 衫,藏青红格纹翻领,胸前带校徽,搭配同款格纹百褶裙,衣领上有向日葵装饰品,学院风儿童校服。.jpg", + "mode": "100644", + "type": "blob", + "sha": "0ef8f9fb50857dd5d132a6f3e07185b0174bbf2a", + "size": 80775, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0ef8f9fb50857dd5d132a6f3e07185b0174bbf2a" + }, + { + "path": "image/ID_Photo/3. 服装_女童/09-白色尖翻领衬衫,巨型泡泡短袖,前襟纽扣设计;领口搭配黑色交叉式领结,领结中央镶嵌带珍珠的金色圆形装饰,精致学院风儿童服饰.jpg", + "mode": "100644", + "type": "blob", + "sha": "1974366c76385e06d1caa180ea48cca8c6237943", + "size": 85901, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1974366c76385e06d1caa180ea48cca8c6237943" + }, + { + "path": "image/ID_Photo/3. 服装_女童/10-白色竖坑条纹理短袖上衣,彼得潘娃娃领,搭配12厘米黑白细条纹徽章超短小领带装饰,带松弛感的简约学院风儿童服饰.jpg", + "mode": "100644", + "type": "blob", + "sha": "90d7e7a45076edfdf2a70777f804e04eba6764c9", + "size": 85872, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/90d7e7a45076edfdf2a70777f804e04eba6764c9" + }, + { + "path": "image/ID_Photo/3. 服装_女童/11-藏蓝色儿童学院风西装外套,白色驳领,左右衣领装饰白色星星刺绣,单排金色纽扣,内搭白色尖领衬衫,搭配藏蓝色领带,面料挺括,清爽正式的校服款式.jpg", + "mode": "100644", + "type": "blob", + "sha": "efc0488916b416527142caab7d3bb6afcc4d79a1", + "size": 93319, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/efc0488916b416527142caab7d3bb6afcc4d79a1" + }, + { + "path": "image/ID_Photo/3. 服装_女童/12-粉色儿童针织毛衣,主体纯色,袖子与领口为粉灰条纹,领口装饰同条纹的大蝴蝶结,带垂坠飘带,整体温柔学院风,针织纹理清晰.jpg", + "mode": "100644", + "type": "blob", + "sha": "e2772251d69cbd4187ced34cd6aa1c4eb51de41d", + "size": 86804, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e2772251d69cbd4187ced34cd6aa1c4eb51de41d" + }, + { + "path": "image/ID_Photo/3. 服装_女童/13-儿童小香风外套,白黑混色丝线粗花呢面料,带白色蕾丝镶边的大翻领,前襟薄荷绿圆形纽扣,精致优雅风格.jpg", + "mode": "100644", + "type": "blob", + "sha": "e702574d752a3b969b4895c4c6573d056dc8eb16", + "size": 85710, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e702574d752a3b969b4895c4c6573d056dc8eb16" + }, + { + "path": "image/ID_Photo/3. 服装_女童/14-藏青色儿童水手服上衣,交叉式水手领配白色宽镶边,短袖袖口带同色镶边,前襟双排扣设计,纽扣含黑白两色,经典学院风水手服款式,面料挺括.jpg", + "mode": "100644", + "type": "blob", + "sha": "e62609cef9d143a6b2c3bb77d7fce54d4bcffe3b", + "size": 88227, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e62609cef9d143a6b2c3bb77d7fce54d4bcffe3b" + }, + { + "path": "image/ID_Photo/3. 服装_女童/15-清新学院风的儿童证件照穿搭:白色翻领衬衫外搭灰色 V 领针织背心,搭配酒红色星星条纹领结,整体干净利落,兼具活泼感与正式感,适配证件照造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "c7076bc693f85d234dc93d5468fe90425d95ef57", + "size": 79405, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c7076bc693f85d234dc93d5468fe90425d95ef57" + }, + { + "path": "image/ID_Photo/3. 服装_女童/16-红色儿童短袖上衣,同色系暗条纹,喇叭袖口,面料带细闪光泽感,圆领设计,左胸装饰同色立体蝴蝶结,整体简约甜美,风格喜庆温柔.jpg", + "mode": "100644", + "type": "blob", + "sha": "b18a485efed3222bfd908ff59a80ef5e0a506958", + "size": 91187, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b18a485efed3222bfd908ff59a80ef5e0a506958" + }, + { + "path": "image/ID_Photo/3. 服装_女童/17-白色翻领衬衫,前襟带细褶设计,搭配深蓝色缎面领带,左胸佩戴带有金色刺绣、徽章及链条装饰的学院风胸针,儿童学院风制服.jpg", + "mode": "100644", + "type": "blob", + "sha": "d6ffb53858ea0bdcf4d61b1053fde29220cc09d8", + "size": 83061, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d6ffb53858ea0bdcf4d61b1053fde29220cc09d8" + }, + { + "path": "image/ID_Photo/3. 服装_女童/18-白色娃娃领衬衫,外搭深绿色 V 领针织背心,V 领带白色细边,左胸有校徽,搭配绿格纹双层蝴蝶结领结,领结带白色线条与刺绣,学院风儿童校服.jpg", + "mode": "100644", + "type": "blob", + "sha": "9f11f45203fcd64edf1c5856d5c119c06f14b825", + "size": 89029, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9f11f45203fcd64edf1c5856d5c119c06f14b825" + }, + { + "path": "image/ID_Photo/3. 服装_女童/19-浅米色学院风制服西装,酒红色撞色镶边,内搭白色衬衫,搭配酒红格纹蝴蝶结领结,精致学院风校服款式.jpg", + "mode": "100644", + "type": "blob", + "sha": "1b77ec3ad0c932ba9e2f0b8f68554553cc9053ab", + "size": 84272, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1b77ec3ad0c932ba9e2f0b8f68554553cc9053ab" + }, + { + "path": "image/ID_Photo/3. 服装_女童/20-粉色针织儿童毛衣,灰色圆领设计,领口装饰同色系针织糖果形领结,领结边缘带粉色包边,整体温柔学院风,面料细腻有针织纹理.jpg", + "mode": "100644", + "type": "blob", + "sha": "e3c4d1ebea15bb71e660a9de8ab22baf36df9417", + "size": 86203, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e3c4d1ebea15bb71e660a9de8ab22baf36df9417" + }, + { + "path": "image/ID_Photo/3. 服装_女童/21-藏蓝色儿童学院风连衣裙,大翻领配白色麦穗刺绣镶边,翻领超过肩膀,60度锐角尖领,前襟排扣设计,简约大方,证件照风格.jpg", + "mode": "100644", + "type": "blob", + "sha": "564bf1ec79b57c0fb7e34a67ae0c4d65592c3b8e", + "size": 80233, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/564bf1ec79b57c0fb7e34a67ae0c4d65592c3b8e" + }, + { + "path": "image/ID_Photo/3. 服装_女童/22-白色翻领衬衫,外搭藏青色 V 领针织背心,领口带白条纹镶边,左胸有皇冠校徽,搭配格纹蝴蝶结领结,儿童学院风制服.jpg", + "mode": "100644", + "type": "blob", + "sha": "30ae2ad380245c61fa5d2f5e38614eff18d1e6f6", + "size": 86029, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/30ae2ad380245c61fa5d2f5e38614eff18d1e6f6" + }, + { + "path": "image/ID_Photo/3. 服装_女童/23-白色尖翻领儿童衬衫,前襟带竖条细褶,领口系红色缎面细丝带,打成松散蝴蝶结,带自然垂坠飘带,简约学院风服饰。.jpg", + "mode": "100644", + "type": "blob", + "sha": "cf17b39237473da05be3dd67c184735714ea9427", + "size": 87058, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cf17b39237473da05be3dd67c184735714ea9427" + }, + { + "path": "image/ID_Photo/3. 服装_女童/24-藏蓝色儿童连衣裙,搭配镂空蕾丝大翻领与珍珠纽扣,泡泡袖设计,甜美学院风,精致可爱,适配证件照造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "28bad1313cb1dabb9c43d8c9fddf54d18a8b5f9c", + "size": 78607, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/28bad1313cb1dabb9c43d8c9fddf54d18a8b5f9c" + }, + { + "path": "image/ID_Photo/4. 服装_男童", + "mode": "040000", + "type": "tree", + "sha": "f590effec94774b73c9d912333d3da753c1583c0", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/f590effec94774b73c9d912333d3da753c1583c0" + }, + { + "path": "image/ID_Photo/4. 服装_男童/01-浅米色学院风西装外套,酒红色撞色镶边,内搭白衬衫,搭配灰蓝格纹领带,极细的领带打结,版型利落笔挺,清爽英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "0ac4706cb63eff26a35c2683ec9eadd636cc0eae", + "size": 29920, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0ac4706cb63eff26a35c2683ec9eadd636cc0eae" + }, + { + "path": "image/ID_Photo/4. 服装_男童/02-浅麻灰色学院风针织背心,藏青白条纹 V 领镶边,左胸黑底金狮校徽,内搭白衬衫,配深绿条纹领带,清爽日系校园风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "92414226376634abbbf953b9edb94f37148341f1", + "size": 30426, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/92414226376634abbbf953b9edb94f37148341f1" + }, + { + "path": "image/ID_Photo/4. 服装_男童/03-深灰格纹学院风西装外套,清晰的黑白穿插格纹线条,搭配白衬衫 + 藏青条纹领带,版型利落,清爽英伦风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "f83088473f160a4223fb0b4ee86b0dbef248458a", + "size": 28922, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f83088473f160a4223fb0b4ee86b0dbef248458a" + }, + { + "path": "image/ID_Photo/4. 服装_男童/04-白色学院风尖领衬衫,左胸口袋饰有皇冠校徽刺绣,搭配藏青棕白格纹免打领带,清爽减龄日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "d8866c2c38767962c721f7dad4004ade6356f334", + "size": 28286, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d8866c2c38767962c721f7dad4004ade6356f334" + }, + { + "path": "image/ID_Photo/4. 服装_男童/05-白色学院风短袖衬衫,胸部有一条藏青横线条装饰,左胸绣有 “summer” 字样,搭配藏青免打领带,清爽简约日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "8a3b0c911a8489ef32b2cbf4ddea2162a642823a", + "size": 27388, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8a3b0c911a8489ef32b2cbf4ddea2162a642823a" + }, + { + "path": "image/ID_Photo/4. 服装_男童/06-藏青学院风西装外套,左胸金盾形校徽,内搭白衬衫 + 灰黑格纹领带,版型笔挺,清爽英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "075bda85856b0139ef4105de906df0d8a1cc78a1", + "size": 28001, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/075bda85856b0139ef4105de906df0d8a1cc78a1" + }, + { + "path": "image/ID_Photo/4. 服装_男童/07-白底字母印花休闲衬衫,满印 “DIFFERENT”“GIVE YOU A STYLE” 字样,绿色小标点缀,简约潮酷日常风.jpg", + "mode": "100644", + "type": "blob", + "sha": "dc37d974e4191c5ca86068f52d5a9916f18f556f", + "size": 29763, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dc37d974e4191c5ca86068f52d5a9916f18f556f" + }, + { + "path": "image/ID_Photo/4. 服装_男童/08-浅棕(黑白红细线格纹)学院风西装马甲,V领剪裁,内搭白衬衫,搭配缎面棕色糖果形平角领结(非蝴蝶结),版型利落笔挺,清爽英伦校园风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "901987cbed13025ce6935356940d4fb33c9a879c", + "size": 31648, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/901987cbed13025ce6935356940d4fb33c9a879c" + }, + { + "path": "image/ID_Photo/4. 服装_男童/09-浅灰人字纹学院风双排扣西装外套,搭配浅蓝色衬衫与藏青格纹领带,口袋饰有印花方巾,版型利落笔挺,清爽英伦校园风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "d7364285cc3f65f5de67f03ada3b0e3f731fc3bd", + "size": 29226, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d7364285cc3f65f5de67f03ada3b0e3f731fc3bd" + }, + { + "path": "image/ID_Photo/4. 服装_男童/10-豆沙红学院风西装外套,采用斜纹精纺西装面料,搭配白色衬衫与黑黄条纹领带,版型利落笔挺,复古英伦校园风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "3d2b5e928a8370921f8eefa0beea2d0299807043", + "size": 29381, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3d2b5e928a8370921f8eefa0beea2d0299807043" + }, + { + "path": "image/ID_Photo/4. 服装_男童/11-白棕竖条纹学院风短袖衬衫,棕色镶边翻领,袖口撞色设计,搭配同色系12厘米免打儿童小领带,清爽复古日系校园风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "793bf760e26017fe5b8d6e1667015d817581556e", + "size": 30138, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/793bf760e26017fe5b8d6e1667015d817581556e" + }, + { + "path": "image/ID_Photo/4. 服装_男童/12-宝蓝色学院风针织圆领背心,白边圆领,胸前小熊轮廓刺绣与英文印花,内搭尖领白衬衫,领子外翻在圆领背心之上,清爽减龄日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "ab985bac1bffb149c59b580e35d0bb1986e67c6f", + "size": 30153, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ab985bac1bffb149c59b580e35d0bb1986e67c6f" + }, + { + "path": "image/ID_Photo/4. 服装_男童/13-藏蓝色儿童学院风西装外套,白色驳领,单排金色纽扣,内搭白色尖领衬衫,搭配装饰一颗白色星星刺绣的藏蓝色领带,面料挺括,清爽正式的校服款式.jpg", + "mode": "100644", + "type": "blob", + "sha": "2a2562279d5e18bb53265018a7d7fd1918631832", + "size": 29797, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2a2562279d5e18bb53265018a7d7fd1918631832" + }, + { + "path": "image/ID_Photo/4. 服装_男童/14-藏青细条纹学院风双排扣西装,白扣设计,内搭哑光纯棉白衬衫,搭配蓝白条纹领带,版型利落笔挺,清爽英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "42b2d32cd99669315e8409888dcd552dd3ddc62e", + "size": 28905, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/42b2d32cd99669315e8409888dcd552dd3ddc62e" + }, + { + "path": "image/ID_Photo/4. 服装_男童/15-白色纯棉学院风翻领衬衫,左胸小狗刺绣,搭配藏青格纹糖果形平角领结(非蝴蝶结),版型清爽利落,简约干净的日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "b3b6a98b5a895d51082a338b437ef73ef63a4ee6", + "size": 28357, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b3b6a98b5a895d51082a338b437ef73ef63a4ee6" + }, + { + "path": "image/ID_Photo/4. 服装_男童/16-米白色学院风绞花针织开衫,左胸靠上有小熊刺绣,配白衬衫 + 灰格纹领结,纽扣为棕色,版型利落无溜肩,软萌日系校园风男童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "05006e8e9b476bd0540ca4e0aa1806e91d9ea723", + "size": 30300, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/05006e8e9b476bd0540ca4e0aa1806e91d9ea723" + }, + { + "path": "image/ID_Photo/4. 服装_男童/17-草绿色学院风针织背心,V领镶米黄条纹,左胸苹果刺绣,内搭白衬衫,配酒红格纹领带,元气减龄日系校园风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "2de75a3a20d3471e11dc3411694bdbd31c44334f", + "size": 30610, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2de75a3a20d3471e11dc3411694bdbd31c44334f" + }, + { + "path": "image/ID_Photo/4. 服装_男童/18-白色学院风衬衫带淡蓝色细线暗条纹,搭配藏青背带与藏青糖果形状平角领结,金属质感纽扣,清爽复古日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "b9d3bc3f62227bdcb14d3fba956444aa8c289131", + "size": 30475, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b9d3bc3f62227bdcb14d3fba956444aa8c289131" + }, + { + "path": "image/ID_Photo/4. 服装_男童/19-穿着经典纯棉白衬衫,剪裁合身利落,直角肩.jpg", + "mode": "100644", + "type": "blob", + "sha": "7e6cde32f0753f0555b64f05f7f19ff163441ddc", + "size": 27125, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7e6cde32f0753f0555b64f05f7f19ff163441ddc" + }, + { + "path": "image/ID_Photo/4. 服装_男童/20-藏青学院风针织 V 领背心,白边条纹镶边的领口和袖口,左胸圆形校徽刺绣,内搭浅蓝色衬衫,搭配蓝白条纹领带,清爽减龄日系校园风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "1da73963172a109438b1fd5d0e70562dad4faab9", + "size": 30247, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1da73963172a109438b1fd5d0e70562dad4faab9" + }, + { + "path": "image/ID_Photo/4. 服装_男童/21-灰调学院风格纹双排扣西装外套,搭配同格纹平角领结,内搭白衬衫,版型利落笔挺,清爽英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "72c244987784c394293641617aea371c4d79434e", + "size": 27410, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/72c244987784c394293641617aea371c4d79434e" + }, + { + "path": "image/ID_Photo/4. 服装_男童/22-酒红暗纹提花衬衫搭配灰色波点精纺西装马甲,马甲 V 领剪裁,装饰有玫瑰胸针与链条配饰,搭配藏青缎面平角领结,复古优雅英伦风.jpg", + "mode": "100644", + "type": "blob", + "sha": "9a3a9a524325f572e27db6e54625062020a65dc2", + "size": 29181, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9a3a9a524325f572e27db6e54625062020a65dc2" + }, + { + "path": "image/ID_Photo/4. 服装_男童/23-酒红格纹学院风西装马甲,精纺毛呢材质,V 领单扣设计,搭配白色压褶衬衫,红色波点缎面领结点缀,复古英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "a60ca6d007ec1d1042929ce61fecf3c4b3e80801", + "size": 29989, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a60ca6d007ec1d1042929ce61fecf3c4b3e80801" + }, + { + "path": "image/ID_Photo/4. 服装_男童/24-米白色学院风西装外套,采用撞色白边翻领设计,内搭姜黄色衬衫,搭配藏青条纹印花领带,版型利落笔挺,清爽英伦校园风。.jpg", + "mode": "100644", + "type": "blob", + "sha": "03dd2dda9a20babfba9608e7c02888f9e388f2ba", + "size": 29039, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/03dd2dda9a20babfba9608e7c02888f9e388f2ba" + }, + { + "path": "image/ID_Photo/4. 服装_男童/25-藏青学院风西装三件套,单排扣设计,内搭白衬衫与同色马甲,搭配酒红镶边宝石领结,版型利落笔挺,优雅英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "cbcead61cc64118c54057bd1d79d121a16cab49f", + "size": 29094, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cbcead61cc64118c54057bd1d79d121a16cab49f" + }, + { + "path": "image/ID_Photo/4. 服装_男童/26-卡其色经典格纹长袖衬衫,黑+白+红撞色格纹,尖领 + 银色按扣门襟,版型合身,英伦学院风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "0ea76a3b5693d5f1de5e592ef4532500709dc609", + "size": 31118, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0ea76a3b5693d5f1de5e592ef4532500709dc609" + }, + { + "path": "image/ID_Photo/4. 服装_男童/27-黑色学院风高领裁剪西装马甲,内搭大翻领白衬衫,衬衫衣领外翻于马甲之外,搭配藏青儿童领带,版型利落笔挺,清爽英伦校园风童装。.jpg", + "mode": "100644", + "type": "blob", + "sha": "032817627dc9633d38860bf54a4533bfcd3c026d", + "size": 27727, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/032817627dc9633d38860bf54a4533bfcd3c026d" + }, + { + "path": "image/ID_Photo/4. 服装_男童/28-蓝黄竖条纹学院风短袖衬衫,搭配藏青背带与橙色折纸形平角领结,左胸口袋设计,元气减龄日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "72d7feb2e3e76f73a82fac515a18edc2c6e8bbb0", + "size": 33199, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/72d7feb2e3e76f73a82fac515a18edc2c6e8bbb0" + }, + { + "path": "image/ID_Photo/4. 服装_男童/29-天蓝色学院风长袖衬衫,左胸刺绣徽章,搭配黑色缎面糖果形平角领结(非蝴蝶结),白色纽扣,清爽干净的日系校园风男童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "8117b5ef24c34fc4bc6d9da1ad0fa8c4e840d44a", + "size": 28702, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8117b5ef24c34fc4bc6d9da1ad0fa8c4e840d44a" + }, + { + "path": "image/ID_Photo/4. 服装_男童/30-深绿色学院风高领西装外套,圆角驳领,领边饰绿白细滚边,内搭白衬衫,搭配藏青条纹徽章领带,版型利落,清新英伦校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "cecc1c3d21c61a3df1ece1a9bf8e01806b59a0c3", + "size": 26902, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cecc1c3d21c61a3df1ece1a9bf8e01806b59a0c3" + }, + { + "path": "image/ID_Photo/4. 服装_男童/31-蓝白格纹学院风短袖衬衫,同色系侧袋,搭配12厘米浅蓝灰狐狸刺绣松散型小领带,清爽减龄日系校园风.jpg", + "mode": "100644", + "type": "blob", + "sha": "d9fddcaa57aa77a1457fe92c42331d4c93d99628", + "size": 35228, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d9fddcaa57aa77a1457fe92c42331d4c93d99628" + }, + { + "path": "image/ID_Photo/4. 服装_男童/32-炭灰色学院风针织 V 领背心,内搭纯棉矩形窄领白衬衫,搭配藏青粉条纹徽章小领带,版型利落修身,清爽减龄日系校园风童装.jpg", + "mode": "100644", + "type": "blob", + "sha": "a7322bf29eb8686621a64609af58ca91c950ad46", + "size": 27203, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a7322bf29eb8686621a64609af58ca91c950ad46" + }, + { + "path": "image/ID_Photo/5. 服装_老年", + "mode": "040000", + "type": "tree", + "sha": "88050b48819c2915b0ea67ece9030fc0525925ff", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/88050b48819c2915b0ea67ece9030fc0525925ff" + }, + { + "path": "image/ID_Photo/5. 服装_老年/01.女-尖领衬衫,印有蓝橙双色波点与细线条组成的几何图案,翻领设计简约大方,整体风格朴素日常,适配证件照的正式感。.jpg", + "mode": "100644", + "type": "blob", + "sha": "a75545b8f8915331c82aa0c32a40a5ff5b3c8b84", + "size": 77615, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a75545b8f8915331c82aa0c32a40a5ff5b3c8b84" + }, + { + "path": "image/ID_Photo/5. 服装_老年/02.女-酒红色丝绒立领外套,前襟点缀精致的金色卷草纹刺绣,丝滑面料自带华贵质感;内搭黑色半高领针织衫,衣身带有浅调花卉暗纹刺绣,低调雅致;尽显成熟知性的优雅气质。.jpg", + "mode": "100644", + "type": "blob", + "sha": "2cc310aed28b5059fb3607b9750356bb6aadf022", + "size": 68695, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2cc310aed28b5059fb3607b9750356bb6aadf022" + }, + { + "path": "image/ID_Photo/5. 服装_老年/03.女-深紫红色翻领拉链针织开衫,采用提花工艺,衣身呈现暗红、黑色交织的菱形波浪纹肌理;门襟与翻领为纯深紫红色罗纹针织,搭配带仿钻装饰吊坠的金属拉链,版型宽松厚实。.jpg", + "mode": "100644", + "type": "blob", + "sha": "3fb74a9a319c218f7a5ad509cf08456efed95698", + "size": 70238, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3fb74a9a319c218f7a5ad509cf08456efed95698" + }, + { + "path": "image/ID_Photo/5. 服装_老年/04.女-豆沙红调针织开衫,翻领边缘带有柔和的波浪形花边,前襟以同色系圆形纽扣开合;衣身两侧对称装饰浅粉色玫瑰花卉刺绣,搭配深绿色叶片与卷草纹,点缀小巧装饰,刺绣细腻温婉。.jpg", + "mode": "100644", + "type": "blob", + "sha": "a4e82dac92b3e51e20faef5d3949dea5892bf224", + "size": 70343, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a4e82dac92b3e51e20faef5d3949dea5892bf224" + }, + { + "path": "image/ID_Photo/5. 服装_老年/05.女-深酒红立领针织开衫,衣身浅粉花卉提花,搭配复古金属扣,端庄大气,是温婉典雅的中老年中式风格外套.jpg", + "mode": "100644", + "type": "blob", + "sha": "1dc6f1cb1c91e0e75cd18ed0ea343c4824e89054", + "size": 72329, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1dc6f1cb1c91e0e75cd18ed0ea343c4824e89054" + }, + { + "path": "image/ID_Photo/5. 服装_老年/06.女-黑色翻领外套,领口饰有蓝色蕾丝花纹,边缘点缀白色水钻,设计精致典雅,整体沉稳大方,尽显成熟端庄气质,适配正式场合穿搭.jpg", + "mode": "100644", + "type": "blob", + "sha": "744e45e5c59d83673f4898d60d264c89a337a912", + "size": 67937, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/744e45e5c59d83673f4898d60d264c89a337a912" + }, + { + "path": "image/ID_Photo/5. 服装_老年/07.女-红色翻领针织衫,采用单排扣设计,面料细腻柔和,款式简约大方,色调温暖喜庆,整体端庄得体,适配中老年证件照的正式风格.jpg", + "mode": "100644", + "type": "blob", + "sha": "0ca6f26f647e59d3b9d51523ea6777a6dadda3b8", + "size": 68140, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0ca6f26f647e59d3b9d51523ea6777a6dadda3b8" + }, + { + "path": "image/ID_Photo/5. 服装_老年/08.女-大红色中式唐装外套,面料带光泽质感,翻领饰有回纹提花,采用传统一字盘扣闭合;衣身及袖口点缀精致金线花卉刺绣,内搭黑色高领针织衫。尽显传统喜庆的中式正装风格。.jpg", + "mode": "100644", + "type": "blob", + "sha": "ab086bbad009299a7526b5408d3bc051be62bc95", + "size": 73399, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ab086bbad009299a7526b5408d3bc051be62bc95" + }, + { + "path": "image/ID_Photo/5. 服装_老年/09.女-紫蓝红交织的混色粗花呢立领外套,门襟饰黑色细滚边,搭配金属包边圆形纽扣,左胸点缀黑色莲花刺绣,细节精致。面料厚实有质感,风格端庄典雅,兼具中式韵味。.jpg", + "mode": "100644", + "type": "blob", + "sha": "439d7a1ff6126ef82d776cea9f0b6f6636e3f6d3", + "size": 77333, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/439d7a1ff6126ef82d776cea9f0b6f6636e3f6d3" + }, + { + "path": "image/ID_Photo/5. 服装_老年/10.女-墨绿调无袖旗袍,采用传统立领、斜襟盘扣设计,边缘饰白边滚条,衣身绣淡粉牡丹与枝叶,温婉典雅,尽显东方古典韵味,端庄大气的老年装.jpg", + "mode": "100644", + "type": "blob", + "sha": "073957637d22fbb44aa2c487579dd5c765784631", + "size": 75373, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/073957637d22fbb44aa2c487579dd5c765784631" + }, + { + "path": "image/ID_Photo/5. 服装_老年/11.女-清代风格清汉女袄衣,米白色提花面料,搭配青绿色镶边立领,采用斜襟、宽袖版型。衣身、领口及袖口饰有大面积蓝白牡丹花卉刺绣,色调如青花瓷般清雅。.jpg", + "mode": "100644", + "type": "blob", + "sha": "4c6d7ea1253e87a899ae6bbbe0dac4f4e8263588", + "size": 81390, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4c6d7ea1253e87a899ae6bbbe0dac4f4e8263588" + }, + { + "path": "image/ID_Photo/5. 服装_老年/12.女-黑色改良旗袍长袖,采用经典立领与斜襟设计,搭配黑色盘扣,斜襟处垂有带珠饰的流苏挂饰,增添细节韵味。面料为哑光质感,版型利落修身,兼具中式典雅与现代简约风格.jpg", + "mode": "100644", + "type": "blob", + "sha": "ea8ff16b5fbeb13dfa71822cd94fad412de45f73", + "size": 68350, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ea8ff16b5fbeb13dfa71822cd94fad412de45f73" + }, + { + "path": "image/ID_Photo/5. 服装_老年/13.女-深灰色中式唐装长袖上衣,采用经典立领、对襟版型,搭配同色系一字盘扣,尽显传统韵味。衣身饰有同色系祥龙压纹 刺绣图案,线条大气流畅,面料哑光舒适,整体沉稳雅致.jpg", + "mode": "100644", + "type": "blob", + "sha": "8e734c533d85b22966307d88c88e394f2eb6f9d5", + "size": 72279, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8e734c533d85b22966307d88c88e394f2eb6f9d5" + }, + { + "path": "image/ID_Photo/5. 服装_老年/14.男-内搭薄荷绿翻领衬衫,黑色纽扣点缀,版型清爽利落;外搭酒红色 V 领针织开衫,衣身饰有红黑相间的民族风几何提花,复古保暖。整体为舒适沉稳的中老年休闲穿搭。.jpg", + "mode": "100644", + "type": "blob", + "sha": "bd9aad69feabe6938bca0aa4de4b9e9c48b3efe1", + "size": 75013, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bd9aad69feabe6938bca0aa4de4b9e9c48b3efe1" + }, + { + "path": "image/ID_Photo/5. 服装_老年/15.男-深灰肌理西装三件套,搭配白衬衫与香槟金几何纹领带,平驳领版型利落,老年证件照装.jpg", + "mode": "100644", + "type": "blob", + "sha": "1ef6d72ac9948e825e170b3e8314ae70f37b6c47", + "size": 70777, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1ef6d72ac9948e825e170b3e8314ae70f37b6c47" + }, + { + "path": "image/ID_Photo/5. 服装_老年/16.男-深灰色 V 领针织衫,内搭白蓝竖条纹衬衫,简约老年证件照服装.jpg", + "mode": "100644", + "type": "blob", + "sha": "58693f0acace4028bb7b95eaffe309c1e00d006e", + "size": 70855, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/58693f0acace4028bb7b95eaffe309c1e00d006e" + }, + { + "path": "image/ID_Photo/5. 服装_老年/17.男-浅灰色中式唐装,立领对襟设计,搭配同色系一字盘扣,衣身饰回纹、福字等传统暗纹,面料素雅,风格端庄沉稳,尽显中式儒雅韵味,适配中老年形象.jpg", + "mode": "100644", + "type": "blob", + "sha": "37ee788fc828f3d5e60b29367cd9866578f6fb4d", + "size": 71377, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/37ee788fc828f3d5e60b29367cd9866578f6fb4d" + }, + { + "path": "image/ID_Photo/5. 服装_老年/18.男-酒红色缎面中式唐装,采用立领、一字盘扣设计,衣身饰有精致龙纹刺绣,缎面自带光泽感,老年证件照服装.jpg", + "mode": "100644", + "type": "blob", + "sha": "3f8f48a593a74c920c63fd26d67b7a6f07c63f34", + "size": 74220, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3f8f48a593a74c920c63fd26d67b7a6f07c63f34" + }, + { + "path": "image/ID_Photo/5. 服装_老年/19.男-黑色中式唐装长袖上衣,采用经典立领、对襟版型,同色系一字盘扣,尽显传统韵味。衣身饰有同色系祥龙压纹 刺绣图案,线条大气流畅,面料哑光舒适,整体沉稳雅致.jpg", + "mode": "100644", + "type": "blob", + "sha": "2d7edefdd4de1bda68bfb308d86464401365049d", + "size": 71134, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2d7edefdd4de1bda68bfb308d86464401365049d" + }, + { + "path": "image/ID_Photo/5. 服装_老年/20.男-黑色立领中山装式上衣,门襟饰金属包边纽扣,内搭白衬衫,剪裁利落挺括,是兼具复古感与正式感的新中式正装风.jpg", + "mode": "100644", + "type": "blob", + "sha": "bcd95e4c1eb63fe48afa5c7c80c57419d7122125", + "size": 70780, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bcd95e4c1eb63fe48afa5c7c80c57419d7122125" + }, + { + "path": "image/ID_Photo/5. 服装_老年/21.男-外层是黑色立领拉链夹克,版型简约利落,内层为绿色绞花针织毛衣,带黑色横条纹装饰。整体风格沉稳实用,中老年男士日常休闲穿搭.jpg", + "mode": "100644", + "type": "blob", + "sha": "1003323d470af9df705b69a06c36b3a82f359afe", + "size": 72933, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1003323d470af9df705b69a06c36b3a82f359afe" + }, + { + "path": "image/ID_Photo/5. 服装_老年/22.男-藏蓝色毛呢中山装,翻领单排扣,对称带盖口袋,版型利落,复古沉稳.jpg", + "mode": "100644", + "type": "blob", + "sha": "dc4f902a2cd30c0c9e5ea40cbcfd00e2fccca0c8", + "size": 73778, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dc4f902a2cd30c0c9e5ea40cbcfd00e2fccca0c8" + }, + { + "path": "image/ID_Photo/5. 服装_老年/23.男-黑色棒球领夹克,带低调暗格纹,拉链款设计利落大方;内搭藏蓝格纹衬衫,整体为成熟稳重的中老年商务休闲风.jpg", + "mode": "100644", + "type": "blob", + "sha": "2bcaa27daf8877473b4568b90080ccda63b3e694", + "size": 74123, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2bcaa27daf8877473b4568b90080ccda63b3e694" + }, + { + "path": "image/ID_Photo/5. 服装_老年/24.男-深蓝灰色翻领针织 Polo 衫,带棕黄与黑色横条纹,门襟纽扣设计,左胸有品牌标识,中老年证件照服装。.jpg", + "mode": "100644", + "type": "blob", + "sha": "ccae546fecbf3aef1e42a46a11314f0ec78d8f8b", + "size": 78212, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ccae546fecbf3aef1e42a46a11314f0ec78d8f8b" + }, + { + "path": "image/ID_Photo/6. 发型_女士", + "mode": "040000", + "type": "tree", + "sha": "b4842114b0b3d76c9a2e7025384f28fcdc20586f", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/b4842114b0b3d76c9a2e7025384f28fcdc20586f" + }, + { + "path": "image/ID_Photo/6. 发型_女士/01-蓬松有层次的发型.jpg", + "mode": "100644", + "type": "blob", + "sha": "78f45e33cead95eb1e1927409cb2b5d5320266dd", + "size": 15651, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/78f45e33cead95eb1e1927409cb2b5d5320266dd" + }, + { + "path": "image/ID_Photo/6. 发型_女士/02-黑色侧编麻花辫,带轻薄空气刘海,碎发修饰脸颊,头发整齐垂于一侧,干净清爽.jpg", + "mode": "100644", + "type": "blob", + "sha": "7e57b4d658f869976ed6a86516c2e54164565f55", + "size": 30404, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7e57b4d658f869976ed6a86516c2e54164565f55" + }, + { + "path": "image/ID_Photo/6. 发型_女士/03-黑色高盘发,带轻薄空气刘海,鬓角留少量碎发修饰脸型,头发全部束起,露出完整额头与耳朵,干净利落.jpg", + "mode": "100644", + "type": "blob", + "sha": "3a14c22bfed443671fbf7a48d11b6d81d072efb8", + "size": 28522, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3a14c22bfed443671fbf7a48d11b6d81d072efb8" + }, + { + "path": "image/ID_Photo/6. 发型_女士/04-黑色中分长直发,两侧各饰一个黑色缎面蝴蝶结,鬓角留少量碎发修饰脸型,头发自然垂落于肩后.jpg", + "mode": "100644", + "type": "blob", + "sha": "28cb40ad2104ac05e618d344a21de09fb56e1427", + "size": 29564, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/28cb40ad2104ac05e618d344a21de09fb56e1427" + }, + { + "path": "image/ID_Photo/6. 发型_女士/05-黑色中分长直发,两侧各系黑色缎面蝴蝶结,左侧额前留一缕碎发修饰,头发尾部前后错落:左侧头发在胸前、右侧头发隐藏在肩膀后,露出完整眉眼与耳朵,适配证件照.jpg", + "mode": "100644", + "type": "blob", + "sha": "ef6a776cc950883b6333b7251b05a3fdcf577a35", + "size": 30139, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ef6a776cc950883b6333b7251b05a3fdcf577a35" + }, + { + "path": "image/ID_Photo/6. 发型_女士/06-深棕色中长发,带轻薄均匀空气刘海,发丝柔顺有光泽,左右都自然垂落于肩前,发尾微内扣,修饰脸型,露出完整耳朵,整体干净清爽,适配证件照.jpg", + "mode": "100644", + "type": "blob", + "sha": "42effb5489016cde440b8a813722bf4dd295269c", + "size": 32024, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/42effb5489016cde440b8a813722bf4dd295269c" + }, + { + "path": "image/ID_Photo/6. 发型_女士/07-深棕色偏分大波浪长卷发,发丝蓬松有光泽,一侧卷发自然垂于胸前,另一侧置于身后,露出完整眉眼与耳朵,气质干练温柔,适配证件照.jpg", + "mode": "100644", + "type": "blob", + "sha": "a038d901f8732a4c97a72148544725c06a0d2d1d", + "size": 31904, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a038d901f8732a4c97a72148544725c06a0d2d1d" + }, + { + "path": "image/ID_Photo/6. 发型_女士/08-深棕色高马尾丸子头,发尾碎发自然飘向一侧,额前无刘海,鬓角留少量碎发修饰脸型,头发整体束起,露出完整眉眼与耳朵.jpg", + "mode": "100644", + "type": "blob", + "sha": "14dc1a610b80e8e7b16a16883e22a4601074a5f6", + "size": 28398, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/14dc1a610b80e8e7b16a16883e22a4601074a5f6" + }, + { + "path": "image/ID_Photo/6. 发型_女士/09-深棕色长发,搭配轻薄空气齐刘海,发尾自然垂落于肩后,整体清爽利落,露出完整眉眼与耳朵.jpg", + "mode": "100644", + "type": "blob", + "sha": "9f2d7edcddf42820cb9e2e12695b4e6a17702d37", + "size": 30353, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9f2d7edcddf42820cb9e2e12695b4e6a17702d37" + }, + { + "path": "image/ID_Photo/6. 发型_女士/10-经典中分黑长直发,发丝柔顺服帖,自然垂落在肩后,无刘海遮挡,露出完整的额头、眉眼与耳朵,整体干净清爽,适配证件照造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "508b60aa71940a7b1f60bd5a7f65ff4ce3bb2888", + "size": 28693, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/508b60aa71940a7b1f60bd5a7f65ff4ce3bb2888" + }, + { + "path": "image/ID_Photo/6. 发型_女士/11-黑色高盘发,发丝服帖整齐,全部梳起挽成利落发髻,无刘海遮挡,露出完整的额头、眉眼与耳朵,仅鬓角留少量碎发修饰脸型,整体干净干练,适配空乘证件照造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "43fe111be3b2043055048044e41522e422e6b176", + "size": 26140, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/43fe111be3b2043055048044e41522e422e6b176" + }, + { + "path": "image/ID_Photo/6. 发型_女士/12-蓬松的乌黑中分大波浪长卷发垂落于胸前,超多发量,一侧头发挡住耳朵从眼角落下,整体时尚大气.jpg", + "mode": "100644", + "type": "blob", + "sha": "74f9a55643923a6d6ab385591e685508e12654e2", + "size": 30264, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/74f9a55643923a6d6ab385591e685508e12654e2" + }, + { + "path": "image/ID_Photo/6. 发型_女士/13-四六分高盘发,挽成利落发髻,无刘海遮挡,仅一缕刘海从太阳穴自然落下修饰脸型,鬓角和发髻处留少量碎发修饰脸型,整体干净干练.jpg", + "mode": "100644", + "type": "blob", + "sha": "9a92408982beb2fe182c73dab9c3cffebb1ec669", + "size": 26137, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9a92408982beb2fe182c73dab9c3cffebb1ec669" + }, + { + "path": "image/ID_Photo/6. 发型_女士/14-四六分低盘发,挽成利落发髻,无刘海遮挡,仅一缕刘海从太阳穴自然落下修饰脸型,鬓角和发髻处留少量碎发修饰脸型,整体干净干练.jpg", + "mode": "100644", + "type": "blob", + "sha": "80365a611ebd2a4724c09fb436fa3271b45f9b50", + "size": 28638, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/80365a611ebd2a4724c09fb436fa3271b45f9b50" + }, + { + "path": "image/ID_Photo/6. 发型_女士/15-乌黑侧编麻花辫,搭配白色宽发箍固定发型,发丝柔顺服帖,发辫自然垂落于肩前,无刘海遮挡,鬓角留少量碎发修饰脸型,整体清新温婉.jpg", + "mode": "100644", + "type": "blob", + "sha": "d1207030f74127ce65bfaef53a27458c05e413d6", + "size": 29889, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d1207030f74127ce65bfaef53a27458c05e413d6" + }, + { + "path": "image/ID_Photo/6. 发型_女士/16-深棕色双麻花辫,搭配空气齐刘海,两条麻花辫自然垂落于胸前,发尾用白色纱质绑带固定,整体元气清爽.jpg", + "mode": "100644", + "type": "blob", + "sha": "5c91da096dff9cb8cd10c7c519e4911798f0c1bb", + "size": 29855, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5c91da096dff9cb8cd10c7c519e4911798f0c1bb" + }, + { + "path": "image/ID_Photo/6. 发型_女士/17-乌黑及肩中长发,一半空气刘海、一半露出额头,发丝柔顺带自然微卷,自然垂落于肩前肩后,头发外轮廓随意,整体清新温柔.jpg", + "mode": "100644", + "type": "blob", + "sha": "601e07588648cbe7b08570a92b1416a7b41baab0", + "size": 30824, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/601e07588648cbe7b08570a92b1416a7b41baab0" + }, + { + "path": "image/ID_Photo/6. 发型_女士/18-乌黑偏分齐耳波波头短发,少量碎发随性散落不刻板,整体清爽干练.jpg", + "mode": "100644", + "type": "blob", + "sha": "ad9d6f396cc30882496424aa76708f58efd6d2da", + "size": 29260, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ad9d6f396cc30882496424aa76708f58efd6d2da" + }, + { + "path": "image/ID_Photo/6. 发型_女士/19-深棕色侧高马尾中长发,高束于头顶,发尾自然垂落于一侧肩膀,仅鬓角留少量碎发修饰脸型,整体清爽利落.jpg", + "mode": "100644", + "type": "blob", + "sha": "34dea81e8f2af7c3ec4ab8a073b7d90daf4ca574", + "size": 29407, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/34dea81e8f2af7c3ec4ab8a073b7d90daf4ca574" + }, + { + "path": "image/ID_Photo/6. 发型_女士/20-棕褐色半扎长卷发,两侧发丝自然挂向耳后,搭配轻薄侧分刘海修饰脸型,发尾呈柔和波浪状垂落于肩前,整体温柔元气.jpg", + "mode": "100644", + "type": "blob", + "sha": "e7c84046bdbb6d9788e38efe3b5f10d02035f032", + "size": 31588, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e7c84046bdbb6d9788e38efe3b5f10d02035f032" + }, + { + "path": "image/ID_Photo/6. 发型_女士/21-乌黑中分半扎长直发,头顶两侧编有对称的多股细发辫,打造出蓬松精致的棱角感,剩下少量头发自然垂落于肩前,整体清爽灵动,充满少女感.jpg", + "mode": "100644", + "type": "blob", + "sha": "e8d935bd0f727b6820071c1d689b46c6f1465d12", + "size": 30336, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e8d935bd0f727b6820071c1d689b46c6f1465d12" + }, + { + "path": "image/ID_Photo/6. 发型_女士/22-乌黑高颅顶半扎发,头顶发丝蓬松有型,带有精致的纹理棱角感,修饰脸型的同时拉高颅顶,半扎的发丝柔顺垂落在肩后,仅鬓角留少量碎发点缀,整体清爽利落又显元气.jpg", + "mode": "100644", + "type": "blob", + "sha": "6078adb8414f047d5ef7ae422ce88daba801862e", + "size": 29560, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6078adb8414f047d5ef7ae422ce88daba801862e" + }, + { + "path": "image/ID_Photo/6. 发型_女士/23-奶奶灰(冷调灰棕)扎发,所有头发被盘起,搭配齐刘海,头顶两侧编有多股细碎小辫被整齐挽起,打造出饱满精致的颅顶轮廓,鬓角留少量碎发修饰脸型,整体温婉清新.jpg", + "mode": "100644", + "type": "blob", + "sha": "4363e7df1d8e3ceb048c9ad96c20c34d65e7d88c", + "size": 27624, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4363e7df1d8e3ceb048c9ad96c20c34d65e7d88c" + }, + { + "path": "image/ID_Photo/6. 发型_女士/24-深棕色齐耳波波头发型,透气的空气刘海,发尾蓬松,露出完整眉眼与耳朵,整体清爽干练.jpg", + "mode": "100644", + "type": "blob", + "sha": "dbb521b455d124d1ee3a6988a4a2db57e390f1d8", + "size": 30457, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dbb521b455d124d1ee3a6988a4a2db57e390f1d8" + }, + { + "path": "image/ID_Photo/6. 发型_女士/25-黑色长发,搭配厚重齐刘海,刘海全部遮住额头,发尾自然垂落于肩后,整体清爽利落.jpg", + "mode": "100644", + "type": "blob", + "sha": "8a598a5fa976970e5dcb117e6b86b3d56f8550d3", + "size": 29193, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8a598a5fa976970e5dcb117e6b86b3d56f8550d3" + }, + { + "path": "image/ID_Photo/6. 发型_女士/26-棕栗色偏分大波浪长卷发,头顶搭配白色蝴蝶结发饰,发丝呈柔和波浪状垂落于肩前,一侧头发挡住耳朵和太阳穴,搭配心形珍珠耳环,整体温柔甜美.jpg", + "mode": "100644", + "type": "blob", + "sha": "4fea3ad76bc159b206820029f9e900db50c3f654", + "size": 32383, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4fea3ad76bc159b206820029f9e900db50c3f654" + }, + { + "path": "image/ID_Photo/6. 发型_女士/27-黑色中分盘发,发丝梳拢后盘起,无刘海遮挡,露出完整的额头、眉眼与耳朵,整体干练利落,是空乘员的经典造型.jpg", + "mode": "100644", + "type": "blob", + "sha": "5bff6feed14f932a8a965e7e91224c18bbe3dba8", + "size": 27094, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5bff6feed14f932a8a965e7e91224c18bbe3dba8" + }, + { + "path": "image/ID_Photo/6. 发型_女士/28-双马尾中长发,中分,刘海被编成细碎小辫装饰向后扎起,两边棱角显得头顶格外蓬松,马尾用黑色皮筋扎于耳后,发尾自然发散开垂落于胸前,露出完整眉眼与耳朵,整体清爽元气.jpg", + "mode": "100644", + "type": "blob", + "sha": "febaac11b974c98a4b6de206d508a1b2f76cedf7", + "size": 32026, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/febaac11b974c98a4b6de206d508a1b2f76cedf7" + }, + { + "path": "image/ID_Photo/7. 发型_男士", + "mode": "040000", + "type": "tree", + "sha": "17b8e12332ec3b1a355eb71ba245f16c537b5dad", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/17b8e12332ec3b1a355eb71ba245f16c537b5dad" + }, + { + "path": "image/ID_Photo/7. 发型_男士/01-蓬松有层次的发型.jpg", + "mode": "100644", + "type": "blob", + "sha": "78f45e33cead95eb1e1927409cb2b5d5320266dd", + "size": 15651, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/78f45e33cead95eb1e1927409cb2b5d5320266dd" + }, + { + "path": "image/ID_Photo/7. 发型_男士/02-发型更换成军人寸头短发,发丝利落有型,无分缝,两侧修剪干净,顶部发丝整齐直立,整体干练精神.jpg", + "mode": "100644", + "type": "blob", + "sha": "5c76e803dab6f7e572a68e676e4aa8f7a4460edc", + "size": 27127, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5c76e803dab6f7e572a68e676e4aa8f7a4460edc" + }, + { + "path": "image/ID_Photo/7. 发型_男士/03-发型更改成:碎盖短发,顶部蓬松层次碎发,刘海四六分,少量碎刘海自然遮额,两侧推剪干净服帖,轮廓立体利落,少年感干练造型,颅顶饱满,发丝纹理自然柔和.jpg", + "mode": "100644", + "type": "blob", + "sha": "50ed64d94720bc12b421fa5c4dfaa2b9f58f15c0", + "size": 27467, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/50ed64d94720bc12b421fa5c4dfaa2b9f58f15c0" + }, + { + "path": "image/ID_Photo/7. 发型_男士/04-发型更改成:韩式齐刘海碎盖短发,颅顶蓬松无分缝。.jpg", + "mode": "100644", + "type": "blob", + "sha": "d51b4b0c57a80b69cdf2e93c4c902b6f60b80651", + "size": 27765, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d51b4b0c57a80b69cdf2e93c4c902b6f60b80651" + }, + { + "path": "image/marriage registration", + "mode": "040000", + "type": "tree", + "sha": "2e3be92749fbcde19c73ae0d680893ee5c70127a", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/2e3be92749fbcde19c73ae0d680893ee5c70127a" + }, + { + "path": "image/marriage registration/01.jpg", + "mode": "100644", + "type": "blob", + "sha": "ff6b2723bb62879deb2c67067d66e7844a16535b", + "size": 195026, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ff6b2723bb62879deb2c67067d66e7844a16535b" + }, + { + "path": "image/marriage registration/02.jpg", + "mode": "100644", + "type": "blob", + "sha": "6156749978d3d5ef4a017c1a7b48bf5230be059f", + "size": 277613, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6156749978d3d5ef4a017c1a7b48bf5230be059f" + }, + { + "path": "image/marriage registration/03.jpg", + "mode": "100644", + "type": "blob", + "sha": "c4152cba11cdfc593531f963de194c1171b7905b", + "size": 248121, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c4152cba11cdfc593531f963de194c1171b7905b" + }, + { + "path": "image/marriage registration/04.jpg", + "mode": "100644", + "type": "blob", + "sha": "b76eb90f24cfa95323c6ae40d8345879033696cc", + "size": 68773, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b76eb90f24cfa95323c6ae40d8345879033696cc" + }, + { + "path": "image/marriage registration/05.jpg", + "mode": "100644", + "type": "blob", + "sha": "ef37491a3948212ee1ed5d62874dbd77a79fa657", + "size": 263190, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ef37491a3948212ee1ed5d62874dbd77a79fa657" + }, + { + "path": "image/marriage registration/06.jpg", + "mode": "100644", + "type": "blob", + "sha": "8215b1b2f998c4b84f99a8850ce1295434f20303", + "size": 257612, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8215b1b2f998c4b84f99a8850ce1295434f20303" + }, + { + "path": "image/marriage registration/07.jpg", + "mode": "100644", + "type": "blob", + "sha": "07684a01b0ec05f967233d3ddc81897e81690448", + "size": 257262, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/07684a01b0ec05f967233d3ddc81897e81690448" + }, + { + "path": "image/marriage registration/08.jpg", + "mode": "100644", + "type": "blob", + "sha": "3b26cee69f2840a3dd780aa8dae45da770873587", + "size": 213690, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3b26cee69f2840a3dd780aa8dae45da770873587" + }, + { + "path": "image/marriage registration/09.jpg", + "mode": "100644", + "type": "blob", + "sha": "904b503857fbb955295ea44b95a1d14333b97185", + "size": 235326, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/904b503857fbb955295ea44b95a1d14333b97185" + }, + { + "path": "image/marriage registration/10.jpg", + "mode": "100644", + "type": "blob", + "sha": "e4189b82505d51adc1e63d62ffeeb5a0c3b18fd6", + "size": 272436, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e4189b82505d51adc1e63d62ffeeb5a0c3b18fd6" + }, + { + "path": "image/marriage registration/11.jpg", + "mode": "100644", + "type": "blob", + "sha": "dddef6be69d577c033f8a41234537b0f2bbb5387", + "size": 293964, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/dddef6be69d577c033f8a41234537b0f2bbb5387" + }, + { + "path": "image/marriage registration/12.jpg", + "mode": "100644", + "type": "blob", + "sha": "fdc5e4e48d92d66c1bf4b5edec08e74e73bafc12", + "size": 213603, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fdc5e4e48d92d66c1bf4b5edec08e74e73bafc12" + }, + { + "path": "image/marriage registration/13.jpg", + "mode": "100644", + "type": "blob", + "sha": "301b9925a02ac3ffe384a417c27b0da7cccd9a08", + "size": 307051, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/301b9925a02ac3ffe384a417c27b0da7cccd9a08" + }, + { + "path": "image/marriage registration/14.jpg", + "mode": "100644", + "type": "blob", + "sha": "ed8a4ea372d2b2fea52d6450880bb459cbe1f872", + "size": 199500, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ed8a4ea372d2b2fea52d6450880bb459cbe1f872" + }, + { + "path": "image/marriage registration/15.jpg", + "mode": "100644", + "type": "blob", + "sha": "d53770007b8118deed06975b32f87c8a5260ebf7", + "size": 195322, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d53770007b8118deed06975b32f87c8a5260ebf7" + }, + { + "path": "image/marriage registration/16.jpg", + "mode": "100644", + "type": "blob", + "sha": "bd1c200090f678595438875a8ba2a9073daddd09", + "size": 138264, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bd1c200090f678595438875a8ba2a9073daddd09" + }, + { + "path": "image/marriage registration/17.jpg", + "mode": "100644", + "type": "blob", + "sha": "a88ea81aaa067d859d46b7cb59ab3dbc56a3b94f", + "size": 304412, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a88ea81aaa067d859d46b7cb59ab3dbc56a3b94f" + }, + { + "path": "image/marriage registration/18.jpg", + "mode": "100644", + "type": "blob", + "sha": "6b76e5e291076b185e5e0fcfa45db6893f487660", + "size": 227233, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6b76e5e291076b185e5e0fcfa45db6893f487660" + }, + { + "path": "image/marriage registration/19.jpg", + "mode": "100644", + "type": "blob", + "sha": "8b60ad5d6f286abac97bdffab15fce22d7a719a9", + "size": 305132, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8b60ad5d6f286abac97bdffab15fce22d7a719a9" + }, + { + "path": "image/marriage registration/20.jpg", + "mode": "100644", + "type": "blob", + "sha": "7ef019e1a8965e5da69ee41e41ba462c8b19ea5d", + "size": 225876, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7ef019e1a8965e5da69ee41e41ba462c8b19ea5d" + }, + { + "path": "image/marriage registration/21.jpg", + "mode": "100644", + "type": "blob", + "sha": "42991f743c17c3718969f457bfdbf21d859f8d99", + "size": 298296, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/42991f743c17c3718969f457bfdbf21d859f8d99" + }, + { + "path": "image/marriage registration/22.jpg", + "mode": "100644", + "type": "blob", + "sha": "5a93cd4941af233d8e796f5832e27d0c88801394", + "size": 168526, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5a93cd4941af233d8e796f5832e27d0c88801394" + }, + { + "path": "image/marriage registration/23.jpg", + "mode": "100644", + "type": "blob", + "sha": "7961fd42b77a0ed67a4f6c64109bdad6967bde79", + "size": 95078, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7961fd42b77a0ed67a4f6c64109bdad6967bde79" + }, + { + "path": "image/marriage registration/24.jpg", + "mode": "100644", + "type": "blob", + "sha": "361682263ded077ebc47704787751a434bdff585", + "size": 155093, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/361682263ded077ebc47704787751a434bdff585" + }, + { + "path": "image/marriage registration/25.jpg", + "mode": "100644", + "type": "blob", + "sha": "de9682f6906fad50f814a8bd72b6b9fcc6ed6041", + "size": 229675, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/de9682f6906fad50f814a8bd72b6b9fcc6ed6041" + }, + { + "path": "image/marriage registration/26.jpg", + "mode": "100644", + "type": "blob", + "sha": "2af6d9b958e0b441d4cb6cb22fc761aadbcb4e91", + "size": 146054, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2af6d9b958e0b441d4cb6cb22fc761aadbcb4e91" + }, + { + "path": "image/marriage registration/27.jpg", + "mode": "100644", + "type": "blob", + "sha": "92762af4eb958d0cfddf0d8434ba1840f373d36a", + "size": 156081, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/92762af4eb958d0cfddf0d8434ba1840f373d36a" + }, + { + "path": "image/marriage registration/28.jpg", + "mode": "100644", + "type": "blob", + "sha": "d2677ffff648b81f4e1332ca24424b43d4bc823f", + "size": 195136, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d2677ffff648b81f4e1332ca24424b43d4bc823f" + }, + { + "path": "image/marriage registration/29.jpg", + "mode": "100644", + "type": "blob", + "sha": "86c35670b982bec41765b32a55d991c174e19f3d", + "size": 148187, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/86c35670b982bec41765b32a55d991c174e19f3d" + }, + { + "path": "image/marriage registration/30.jpg", + "mode": "100644", + "type": "blob", + "sha": "48e50a3e4a638ad90fd089c4d20befd46d3c779b", + "size": 198338, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/48e50a3e4a638ad90fd089c4d20befd46d3c779b" + }, + { + "path": "image/marriage registration/31.jpg", + "mode": "100644", + "type": "blob", + "sha": "20fbd6edbf3643a36c105535c15da76ecfb528b7", + "size": 279885, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/20fbd6edbf3643a36c105535c15da76ecfb528b7" + }, + { + "path": "image/marriage registration/32.jpg", + "mode": "100644", + "type": "blob", + "sha": "bac798459022b755aad30b4e7b2a5336641efda5", + "size": 195678, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bac798459022b755aad30b4e7b2a5336641efda5" + }, + { + "path": "image/marriage registration/33.jpg", + "mode": "100644", + "type": "blob", + "sha": "1777d4a4295a016b19e12dfaac889323f319f67b", + "size": 149792, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1777d4a4295a016b19e12dfaac889323f319f67b" + }, + { + "path": "image/marriage registration/34.jpg", + "mode": "100644", + "type": "blob", + "sha": "e3dae0f044011a58d91b0fdae67a643b12fb8e36", + "size": 138665, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e3dae0f044011a58d91b0fdae67a643b12fb8e36" + }, + { + "path": "image/marriage registration/35.jpg", + "mode": "100644", + "type": "blob", + "sha": "c85ed55738117257a0f466a213acddde82193494", + "size": 211003, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c85ed55738117257a0f466a213acddde82193494" + }, + { + "path": "image/marriage registration/36.jpg", + "mode": "100644", + "type": "blob", + "sha": "2c333aef8f01126211a52b7970f89d26f51a2ddf", + "size": 169159, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2c333aef8f01126211a52b7970f89d26f51a2ddf" + }, + { + "path": "image/marriage registration/37.jpg", + "mode": "100644", + "type": "blob", + "sha": "7fdc1e2ebd70a12dd6ab21fb9ab64b5e64a987f1", + "size": 158291, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7fdc1e2ebd70a12dd6ab21fb9ab64b5e64a987f1" + }, + { + "path": "image/marriage registration/38.jpg", + "mode": "100644", + "type": "blob", + "sha": "9807aade90d1c564db24e712b0b6281820a1bf8e", + "size": 166012, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9807aade90d1c564db24e712b0b6281820a1bf8e" + }, + { + "path": "image/marriage registration/39.jpg", + "mode": "100644", + "type": "blob", + "sha": "bce61acda16adf2656cec4372e17958e580d896f", + "size": 145480, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bce61acda16adf2656cec4372e17958e580d896f" + }, + { + "path": "image/marriage registration/40.jpg", + "mode": "100644", + "type": "blob", + "sha": "0d03cac8bf985925daf14235a69bfdbb884afc2b", + "size": 143204, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0d03cac8bf985925daf14235a69bfdbb884afc2b" + }, + { + "path": "image/marriage registration/41.jpg", + "mode": "100644", + "type": "blob", + "sha": "29845b8097750cc574a263fc4345967e39559d91", + "size": 156706, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/29845b8097750cc574a263fc4345967e39559d91" + }, + { + "path": "image/marriage registration/42.jpg", + "mode": "100644", + "type": "blob", + "sha": "2f2c57a10cf990b98d322500b18d97b61749396c", + "size": 185163, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2f2c57a10cf990b98d322500b18d97b61749396c" + }, + { + "path": "image/marriage registration/43.jpg", + "mode": "100644", + "type": "blob", + "sha": "66b6331f7f5d27fa4b12702b6e399892981b3e57", + "size": 106452, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/66b6331f7f5d27fa4b12702b6e399892981b3e57" + }, + { + "path": "image/marriage registration/44.jpg", + "mode": "100644", + "type": "blob", + "sha": "2a0e5414b5482e845b38554ee28f1c48f24bbf70", + "size": 191354, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2a0e5414b5482e845b38554ee28f1c48f24bbf70" + }, + { + "path": "image/marriage registration/45.jpg", + "mode": "100644", + "type": "blob", + "sha": "4bda0fd08c06953166612111b8c3dd53c9f9a2b0", + "size": 119838, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4bda0fd08c06953166612111b8c3dd53c9f9a2b0" + }, + { + "path": "image/marriage registration/46.jpg", + "mode": "100644", + "type": "blob", + "sha": "b166bfcda95999d80940d7cf0061679ac93e9ec1", + "size": 226839, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b166bfcda95999d80940d7cf0061679ac93e9ec1" + }, + { + "path": "image/marriage registration/47.jpg", + "mode": "100644", + "type": "blob", + "sha": "86d64c541dd613e364daef233a82a9b88ee648cb", + "size": 262502, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/86d64c541dd613e364daef233a82a9b88ee648cb" + }, + { + "path": "image/marriage registration/48.jpg", + "mode": "100644", + "type": "blob", + "sha": "bcba8fab24e1896be912e0e84750656f69f35892", + "size": 201253, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bcba8fab24e1896be912e0e84750656f69f35892" + }, + { + "path": "image/marriage registration/49.jpg", + "mode": "100644", + "type": "blob", + "sha": "803f186fe0af2fc44d5c6582deff334b1887e2e4", + "size": 135513, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/803f186fe0af2fc44d5c6582deff334b1887e2e4" + }, + { + "path": "image/marriage registration/50.jpg", + "mode": "100644", + "type": "blob", + "sha": "4fffae73848e6deb7885495f1787641bce970fb9", + "size": 177462, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4fffae73848e6deb7885495f1787641bce970fb9" + }, + { + "path": "image/marriage registration/51.jpg", + "mode": "100644", + "type": "blob", + "sha": "1a29eb7a1164a90059ded28092d3d894b1cde664", + "size": 174518, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1a29eb7a1164a90059ded28092d3d894b1cde664" + }, + { + "path": "image/marriage registration/52.jpg", + "mode": "100644", + "type": "blob", + "sha": "7e3f3e51924059cd97c7ffe8032a40d4932bf634", + "size": 187071, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7e3f3e51924059cd97c7ffe8032a40d4932bf634" + }, + { + "path": "image/marriage registration/53.jpg", + "mode": "100644", + "type": "blob", + "sha": "b78f00acac09fa7660b9dd9361dc8c2d8a0b7467", + "size": 145771, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b78f00acac09fa7660b9dd9361dc8c2d8a0b7467" + }, + { + "path": "image/marriage registration/54.jpg", + "mode": "100644", + "type": "blob", + "sha": "63607f6fd9b711ce1619825cd2367381efeb6812", + "size": 251561, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/63607f6fd9b711ce1619825cd2367381efeb6812" + }, + { + "path": "image/marriage registration/55.jpg", + "mode": "100644", + "type": "blob", + "sha": "97abf5f53d506bf8ce5107a1af870660b5dcea14", + "size": 88552, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/97abf5f53d506bf8ce5107a1af870660b5dcea14" + }, + { + "path": "image/marriage registration/56.jpg", + "mode": "100644", + "type": "blob", + "sha": "e50ca5218a2dac3f486bf7b86a2c486483dd5d4a", + "size": 211453, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e50ca5218a2dac3f486bf7b86a2c486483dd5d4a" + }, + { + "path": "image/marriage registration/57.jpg", + "mode": "100644", + "type": "blob", + "sha": "7ca062531cddb46dea4f83de5acccbb036878646", + "size": 178301, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7ca062531cddb46dea4f83de5acccbb036878646" + }, + { + "path": "image/marriage registration/58.jpg", + "mode": "100644", + "type": "blob", + "sha": "cbf3c13c4764ef0c81e197ccc31f97bc966ca30e", + "size": 143140, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cbf3c13c4764ef0c81e197ccc31f97bc966ca30e" + }, + { + "path": "image/marriage registration/59.jpg", + "mode": "100644", + "type": "blob", + "sha": "544a6a1343234df1b00d9884b5c9456db1ebe7a8", + "size": 199424, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/544a6a1343234df1b00d9884b5c9456db1ebe7a8" + }, + { + "path": "image/marriage registration/60.jpg", + "mode": "100644", + "type": "blob", + "sha": "b3caaf3894301e2afc1ca55ab01942c79fa1f99b", + "size": 164142, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b3caaf3894301e2afc1ca55ab01942c79fa1f99b" + }, + { + "path": "image/marriage registration/61.jpg", + "mode": "100644", + "type": "blob", + "sha": "0d5523d56c900e1045f38ff710906880778878bd", + "size": 97725, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0d5523d56c900e1045f38ff710906880778878bd" + }, + { + "path": "image/marriage registration/62.jpg", + "mode": "100644", + "type": "blob", + "sha": "cd84eab3a259478837012b2c9664093d274b9674", + "size": 135607, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/cd84eab3a259478837012b2c9664093d274b9674" + }, + { + "path": "image/marriage registration/63.jpg", + "mode": "100644", + "type": "blob", + "sha": "1925d4fd7702e2dc4c609c2ec77d29c5bc19b007", + "size": 241704, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1925d4fd7702e2dc4c609c2ec77d29c5bc19b007" + }, + { + "path": "image/marriage registration/64.jpg", + "mode": "100644", + "type": "blob", + "sha": "a332b42fc4731b82612015cbad70df6447d658e6", + "size": 145033, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a332b42fc4731b82612015cbad70df6447d658e6" + }, + { + "path": "image/marriage registration/65.jpg", + "mode": "100644", + "type": "blob", + "sha": "0bc328939a4fdd71f3623b1bef5f291a09468beb", + "size": 195655, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0bc328939a4fdd71f3623b1bef5f291a09468beb" + }, + { + "path": "image/marriage registration/66.jpg", + "mode": "100644", + "type": "blob", + "sha": "0f50c9c0e22bb8bfd1857b89adb6523bea047330", + "size": 118150, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0f50c9c0e22bb8bfd1857b89adb6523bea047330" + }, + { + "path": "image/marriage registration/67.jpg", + "mode": "100644", + "type": "blob", + "sha": "afe742664c4b0b562ac9ad4c602ea2e416d1ce51", + "size": 218648, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/afe742664c4b0b562ac9ad4c602ea2e416d1ce51" + }, + { + "path": "image/marriage registration/68.jpg", + "mode": "100644", + "type": "blob", + "sha": "6ace47255182b20d5e9e4b3d3381f7f36cc3ef10", + "size": 132346, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6ace47255182b20d5e9e4b3d3381f7f36cc3ef10" + }, + { + "path": "image/marriage registration/69.jpg", + "mode": "100644", + "type": "blob", + "sha": "39982023aff3567bc0261602d637db3f3682ddbf", + "size": 199893, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/39982023aff3567bc0261602d637db3f3682ddbf" + }, + { + "path": "image/marriage registration/70.jpg", + "mode": "100644", + "type": "blob", + "sha": "151e5526892add1be3f26186e40842a268d08d8f", + "size": 127487, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/151e5526892add1be3f26186e40842a268d08d8f" + }, + { + "path": "image/marriage registration/71.jpg", + "mode": "100644", + "type": "blob", + "sha": "c12c0356fb769a646c1c49eff3ec5bdd8b479f0b", + "size": 163400, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c12c0356fb769a646c1c49eff3ec5bdd8b479f0b" + }, + { + "path": "image/marriage registration/72.jpg", + "mode": "100644", + "type": "blob", + "sha": "f9838435768ee2ba51f85147ef4b19d16abcdecd", + "size": 199574, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f9838435768ee2ba51f85147ef4b19d16abcdecd" + }, + { + "path": "image/marriage registration/73.jpg", + "mode": "100644", + "type": "blob", + "sha": "08d33e8cad7aed768083b6780002521cc73b836a", + "size": 266108, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/08d33e8cad7aed768083b6780002521cc73b836a" + }, + { + "path": "image/marriage registration/74.jpg", + "mode": "100644", + "type": "blob", + "sha": "d04e06fdebd7da863f391863afbff0c108c4d82b", + "size": 394644, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d04e06fdebd7da863f391863afbff0c108c4d82b" + }, + { + "path": "image/marriage registration/75.jpg", + "mode": "100644", + "type": "blob", + "sha": "86e71045dd478f63e6a372743897f76af291a52a", + "size": 173718, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/86e71045dd478f63e6a372743897f76af291a52a" + }, + { + "path": "image/marriage registration/76.jpg", + "mode": "100644", + "type": "blob", + "sha": "53beff5994f217f3b8d4eec599a18d4b9df28b2f", + "size": 263792, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/53beff5994f217f3b8d4eec599a18d4b9df28b2f" + }, + { + "path": "image/marriage registration/77.jpg", + "mode": "100644", + "type": "blob", + "sha": "2a57d3e44678e1551496426cebd03605166f05a0", + "size": 167389, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2a57d3e44678e1551496426cebd03605166f05a0" + }, + { + "path": "image/marriage registration/78.jpg", + "mode": "100644", + "type": "blob", + "sha": "888384d96f4fc3ca00d521489a9d320a0af25618", + "size": 270507, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/888384d96f4fc3ca00d521489a9d320a0af25618" + }, + { + "path": "image/marriage registration/79.jpg", + "mode": "100644", + "type": "blob", + "sha": "4ddaa7725dbfd6db38cfbaf5fb0202dd60ba5ff5", + "size": 256176, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4ddaa7725dbfd6db38cfbaf5fb0202dd60ba5ff5" + }, + { + "path": "image/marriage registration/80.jpg", + "mode": "100644", + "type": "blob", + "sha": "03b6b8ed98665023660ff3e7119cdd51a8199411", + "size": 276881, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/03b6b8ed98665023660ff3e7119cdd51a8199411" + }, + { + "path": "image/marriage registration/81.jpg", + "mode": "100644", + "type": "blob", + "sha": "031919143fef7b15be36b3ad02f1c8e7746795aa", + "size": 303573, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/031919143fef7b15be36b3ad02f1c8e7746795aa" + }, + { + "path": "nodes", + "mode": "040000", + "type": "tree", + "sha": "00bc3649e40a2d978b6780f2fa015526e8312c28", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/00bc3649e40a2d978b6780f2fa015526e8312c28" + }, + { + "path": "nodes/ID证生成器.py", + "mode": "100644", + "type": "blob", + "sha": "bab4b75efcc1ca20072ddf16dde7ffcd42226037", + "size": 15691, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bab4b75efcc1ca20072ddf16dde7ffcd42226037" + }, + { + "path": "nodes/Kontext Lora切换.py", + "mode": "100644", + "type": "blob", + "sha": "c39a6083fc55a6a66cb677499ead3f15a897a390", + "size": 12573, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/c39a6083fc55a6a66cb677499ead3f15a897a390" + }, + { + "path": "nodes/Kontext生图比例 纯列表.py", + "mode": "100644", + "type": "blob", + "sha": "9867daae6e290fb562a9d4f62dd42fc1c8a349d6", + "size": 1498, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9867daae6e290fb562a9d4f62dd42fc1c8a349d6" + }, + { + "path": "nodes/Seg次序过滤.py", + "mode": "100644", + "type": "blob", + "sha": "74cdc8ff44ae7009a05dca261329d16a855f9a7f", + "size": 15100, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/74cdc8ff44ae7009a05dca261329d16a855f9a7f" + }, + { + "path": "nodes/kontext生图比例.py", + "mode": "100644", + "type": "blob", + "sha": "ff59e6e7418163501c1ab3083516c72f15ba7b6a", + "size": 2557, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ff59e6e7418163501c1ab3083516c72f15ba7b6a" + }, + { + "path": "nodes/万能滑条.py", + "mode": "100644", + "type": "blob", + "sha": "520996488ad1fb3ece9d0a0ee8954812428ba048", + "size": 1556, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/520996488ad1fb3ece9d0a0ee8954812428ba048" + }, + { + "path": "nodes/主色提取.py", + "mode": "100644", + "type": "blob", + "sha": "068ff79cb3ae509a33b1db7ff637fb1c64150079", + "size": 3280, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/068ff79cb3ae509a33b1db7ff637fb1c64150079" + }, + { + "path": "nodes/人脸自动矫正.py", + "mode": "100644", + "type": "blob", + "sha": "d086f6f6105e1c5d2338780d9d9d8b8a7e2d230e", + "size": 5885, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d086f6f6105e1c5d2338780d9d9d8b8a7e2d230e" + }, + { + "path": "nodes/保存图像JPG.py", + "mode": "100644", + "type": "blob", + "sha": "befedda9bf674d1b2e088f9e7cf5c52b8f68e632", + "size": 14203, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/befedda9bf674d1b2e088f9e7cf5c52b8f68e632" + }, + { + "path": "nodes/保留遮罩区域移除图像背景.py", + "mode": "100644", + "type": "blob", + "sha": "377ffcd9b8f5d5f60e288fd089ee16b506bbfadd", + "size": 15664, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/377ffcd9b8f5d5f60e288fd089ee16b506bbfadd" + }, + { + "path": "nodes/加载图像.py", + "mode": "100644", + "type": "blob", + "sha": "045af0f86d8ce5983933b5da7e724565b5f8902f", + "size": 9289, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/045af0f86d8ce5983933b5da7e724565b5f8902f" + }, + { + "path": "nodes/加载批次图像.py", + "mode": "100644", + "type": "blob", + "sha": "105d06c3e0c25fa71c2b1722a9dc924fb3070688", + "size": 7404, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/105d06c3e0c25fa71c2b1722a9dc924fb3070688" + }, + { + "path": "nodes/单尺寸排版.py", + "mode": "100644", + "type": "blob", + "sha": "927116e8143518ce8b9bcc69563d6e1ea9e89c35", + "size": 10701, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/927116e8143518ce8b9bcc69563d6e1ea9e89c35" + }, + { + "path": "nodes/图像与遮罩描边.py", + "mode": "100644", + "type": "blob", + "sha": "4466c1c79ce57622a671096a8c56d4dcfefbac90", + "size": 19201, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4466c1c79ce57622a671096a8c56d4dcfefbac90" + }, + { + "path": "nodes/图像与遮罩预览.py", + "mode": "100644", + "type": "blob", + "sha": "202feb51bde08ca48c7aa16c80dc2a29f9f25678", + "size": 11422, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/202feb51bde08ca48c7aa16c80dc2a29f9f25678" + }, + { + "path": "nodes/图像亮度比较.py", + "mode": "100644", + "type": "blob", + "sha": "ba55468104d0bc3856738bfbe4e713d1c007489c", + "size": 2259, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ba55468104d0bc3856738bfbe4e713d1c007489c" + }, + { + "path": "nodes/图像保存(高级).py", + "mode": "100644", + "type": "blob", + "sha": "eb1b2964add987472151abf2c38213b7b1b6e739", + "size": 5506, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/eb1b2964add987472151abf2c38213b7b1b6e739" + }, + { + "path": "nodes/图像合并(遮罩).py", + "mode": "100644", + "type": "blob", + "sha": "21322f38039a6d1880fb6c837a9c74af2dd8f5fa", + "size": 7111, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/21322f38039a6d1880fb6c837a9c74af2dd8f5fa" + }, + { + "path": "nodes/图像嵌入.py", + "mode": "100644", + "type": "blob", + "sha": "87793bdb9f7570405e21fcfe2458a93ba2ca7783", + "size": 17497, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/87793bdb9f7570405e21fcfe2458a93ba2ca7783" + }, + { + "path": "nodes/图像差异到遮罩.py", + "mode": "100644", + "type": "blob", + "sha": "46474d3b2ff8ad141dd55028a0332a1fc6c39084", + "size": 3595, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/46474d3b2ff8ad141dd55028a0332a1fc6c39084" + }, + { + "path": "nodes/图像旋转.py", + "mode": "100644", + "type": "blob", + "sha": "1ad52f54a22b84e28216b264321604b151591f5b", + "size": 1368, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1ad52f54a22b84e28216b264321604b151591f5b" + }, + { + "path": "nodes/图像添加水印.py", + "mode": "100644", + "type": "blob", + "sha": "e6e338f6d4b414f77ee4d2ed2e201a3ab39dd362", + "size": 11087, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/e6e338f6d4b414f77ee4d2ed2e201a3ab39dd362" + }, + { + "path": "nodes/图像组合批次.py", + "mode": "100644", + "type": "blob", + "sha": "8102bcd9f1a0abedc787d22df3668ba90099bdcc", + "size": 4587, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8102bcd9f1a0abedc787d22df3668ba90099bdcc" + }, + { + "path": "nodes/图像缩放V2.py", + "mode": "100644", + "type": "blob", + "sha": "d50156fd7b37c159acb80e1ad5e67f050d36d603", + "size": 31534, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d50156fd7b37c159acb80e1ad5e67f050d36d603" + }, + { + "path": "nodes/图像缩放按像素.py", + "mode": "100644", + "type": "blob", + "sha": "ea52a74d6ec122eae9b0880a39142bb312f8e0de", + "size": 12523, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ea52a74d6ec122eae9b0880a39142bb312f8e0de" + }, + { + "path": "nodes/图像缩放(范围).py", + "mode": "100644", + "type": "blob", + "sha": "08c976f6d405940e31b6de6ad7ae94bab36464a8", + "size": 14504, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/08c976f6d405940e31b6de6ad7ae94bab36464a8" + }, + { + "path": "nodes/图像裁剪按比例.py", + "mode": "100644", + "type": "blob", + "sha": "7ae26e8b95af38024fbc75e8811784b2b8addb48", + "size": 6516, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7ae26e8b95af38024fbc75e8811784b2b8addb48" + }, + { + "path": "nodes/图像裁剪(主体保护).py", + "mode": "100644", + "type": "blob", + "sha": "018d34cfdb88cf5b568cadb867914142ea8b70af", + "size": 28145, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/018d34cfdb88cf5b568cadb867914142ea8b70af" + }, + { + "path": "nodes/外补画板(3合一).py", + "mode": "100644", + "type": "blob", + "sha": "387cb2102308f7d12a46aa3eee6f6e8a02a4a256", + "size": 31776, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/387cb2102308f7d12a46aa3eee6f6e8a02a4a256" + }, + { + "path": "nodes/多尺寸混合排版.py", + "mode": "100644", + "type": "blob", + "sha": "3d9bdfbd7dbce65258c683ae714ce11d1db49da6", + "size": 17182, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3d9bdfbd7dbce65258c683ae714ce11d1db49da6" + }, + { + "path": "nodes/头顶遮罩.py", + "mode": "100644", + "type": "blob", + "sha": "108442bc9c9b307fa85da6d2e4248e2dc6d8cdc7", + "size": 1671, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/108442bc9c9b307fa85da6d2e4248e2dc6d8cdc7" + }, + { + "path": "nodes/字符串按类型分隔.py", + "mode": "100644", + "type": "blob", + "sha": "1f27ed8c279205b75ea6816cdcab7d19a50c6507", + "size": 3583, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1f27ed8c279205b75ea6816cdcab7d19a50c6507" + }, + { + "path": "nodes/布尔开关.py", + "mode": "100644", + "type": "blob", + "sha": "880630ed42b9e973e2a275667b87bcd979589a68", + "size": 561, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/880630ed42b9e973e2a275667b87bcd979589a68" + }, + { + "path": "nodes/常用颜色.py", + "mode": "100644", + "type": "blob", + "sha": "ed7449716712b19ccc5c42f01be114c9f2fa8ac9", + "size": 2987, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ed7449716712b19ccc5c42f01be114c9f2fa8ac9" + }, + { + "path": "nodes/忽略多组.py", + "mode": "100644", + "type": "blob", + "sha": "fc1992c878179f88b3a0d776f0293cd79108eee5", + "size": 499, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/fc1992c878179f88b3a0d776f0293cd79108eee5" + }, + { + "path": "nodes/批处理开关.py", + "mode": "100644", + "type": "blob", + "sha": "ac5f62439442a4a735335dfa994aea1dd9522a81", + "size": 1398, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ac5f62439442a4a735335dfa994aea1dd9522a81" + }, + { + "path": "nodes/批处理进度条.py", + "mode": "100644", + "type": "blob", + "sha": "3c7020db4f68c732173a6a4f0d5414ed4b1b21df", + "size": 3757, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3c7020db4f68c732173a6a4f0d5414ed4b1b21df" + }, + { + "path": "nodes/批量自动排版.py", + "mode": "100644", + "type": "blob", + "sha": "88e1cbbee7d0612082d10a54d371b2b82eff53d3", + "size": 27350, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/88e1cbbee7d0612082d10a54d371b2b82eff53d3" + }, + { + "path": "nodes/效果选择.py", + "mode": "100644", + "type": "blob", + "sha": "27f19c58211d1e22230408d7f97e0c4a63152e06", + "size": 3818, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/27f19c58211d1e22230408d7f97e0c4a63152e06" + }, + { + "path": "nodes/数学运算.py", + "mode": "100644", + "type": "blob", + "sha": "47247bd59370a09dbc86dbfba2bd16a112604ecf", + "size": 8074, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/47247bd59370a09dbc86dbfba2bd16a112604ecf" + }, + { + "path": "nodes/文件夹图片统计.py", + "mode": "100644", + "type": "blob", + "sha": "1788c5bc1d7d5bf59581e7cdfcb23b596218f91e", + "size": 1855, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1788c5bc1d7d5bf59581e7cdfcb23b596218f91e" + }, + { + "path": "nodes/文件夹数量统计.py", + "mode": "100644", + "type": "blob", + "sha": "b2dd96304d61dd2312c6160c4b162c08a7c7589d", + "size": 1415, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/b2dd96304d61dd2312c6160c4b162c08a7c7589d" + }, + { + "path": "nodes/文件夹索引.py", + "mode": "100644", + "type": "blob", + "sha": "0b8e108e2ef892c1a8c9f1b21445db28f457b3e0", + "size": 2674, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0b8e108e2ef892c1a8c9f1b21445db28f457b3e0" + }, + { + "path": "nodes/根据文件名识别尺寸.py", + "mode": "100644", + "type": "blob", + "sha": "9708495fb21a520e95a353eff8efee86d22234f0", + "size": 4119, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9708495fb21a520e95a353eff8efee86d22234f0" + }, + { + "path": "nodes/浮点滑条.py", + "mode": "100644", + "type": "blob", + "sha": "a4f78138756f1ad91afcfcd8eb9a99ea8fe21f1d", + "size": 1690, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/a4f78138756f1ad91afcfcd8eb9a99ea8fe21f1d" + }, + { + "path": "nodes/移除纯色背景.py", + "mode": "100644", + "type": "blob", + "sha": "04d33428e1d78020cdfb4288f857f1b53a712dd6", + "size": 4681, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/04d33428e1d78020cdfb4288f857f1b53a712dd6" + }, + { + "path": "nodes/结婚登记照服装.py", + "mode": "100644", + "type": "blob", + "sha": "7e6a6771ef130398df62659c95f82a1a1e364c32", + "size": 3818, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/7e6a6771ef130398df62659c95f82a1a1e364c32" + }, + { + "path": "nodes/肤色差值.py", + "mode": "100644", + "type": "blob", + "sha": "1dd3a984b38052e90f1390b5a5ac634d11cd936b", + "size": 4822, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1dd3a984b38052e90f1390b5a5ac634d11cd936b" + }, + { + "path": "nodes/自动分割图像.py", + "mode": "100644", + "type": "blob", + "sha": "143ad84a7b6a97d4615e2998229215e36713508d", + "size": 5741, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/143ad84a7b6a97d4615e2998229215e36713508d" + }, + { + "path": "nodes/自动切换正反斜杠.py", + "mode": "100644", + "type": "blob", + "sha": "487e10d2c8b636e693e9926562799ad6cbca86d6", + "size": 1627, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/487e10d2c8b636e693e9926562799ad6cbca86d6" + }, + { + "path": "nodes/自动新建文件夹.py", + "mode": "100644", + "type": "blob", + "sha": "2cc02967e0a64bcce0023d360b878bd0e6dd897a", + "size": 2365, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/2cc02967e0a64bcce0023d360b878bd0e6dd897a" + }, + { + "path": "nodes/证件照服装发型.py", + "mode": "100644", + "type": "blob", + "sha": "38d48d6065c49b237fd7e02e40ed60aa97d85c61", + "size": 3740, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/38d48d6065c49b237fd7e02e40ed60aa97d85c61" + }, + { + "path": "nodes/证件照简易提示词.py", + "mode": "100644", + "type": "blob", + "sha": "f52634779fa34401320c17c44cf3ecc96c450659", + "size": 6352, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f52634779fa34401320c17c44cf3ecc96c450659" + }, + { + "path": "nodes/证件照裁剪.py", + "mode": "100644", + "type": "blob", + "sha": "f95b92900b8913e77fabf695df9cd0aca45ca091", + "size": 29939, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f95b92900b8913e77fabf695df9cd0aca45ca091" + }, + { + "path": "nodes/身份证自动扶正拼版.py", + "mode": "100644", + "type": "blob", + "sha": "875c7078c110bc51205e7de6dd489eed54e914b7", + "size": 16708, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/875c7078c110bc51205e7de6dd489eed54e914b7" + }, + { + "path": "nodes/遮罩中心对齐.py", + "mode": "100644", + "type": "blob", + "sha": "5d2cb36a2d4023eea70bd250ea45f211c71efffb", + "size": 2904, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/5d2cb36a2d4023eea70bd250ea45f211c71efffb" + }, + { + "path": "nodes/遮罩分析.py", + "mode": "100644", + "type": "blob", + "sha": "6c10ab9e3b2e9cae6e078f7236ca68278889b2bf", + "size": 5898, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6c10ab9e3b2e9cae6e078f7236ca68278889b2bf" + }, + { + "path": "nodes/遮罩圆角消除.py", + "mode": "100644", + "type": "blob", + "sha": "6c512343ed4592aca3afe399745f8e91a2009082", + "size": 6424, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6c512343ed4592aca3afe399745f8e91a2009082" + }, + { + "path": "nodes/遮罩对齐V2.py", + "mode": "100644", + "type": "blob", + "sha": "9432de5054e3f8beb0effc5233ad319015140caf", + "size": 6114, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9432de5054e3f8beb0effc5233ad319015140caf" + }, + { + "path": "nodes/遮罩检测.py", + "mode": "100644", + "type": "blob", + "sha": "138ef28d63192b542e928bb300d8911269716f07", + "size": 1675, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/138ef28d63192b542e928bb300d8911269716f07" + }, + { + "path": "nodes/遮罩模糊生长按比例.py", + "mode": "100644", + "type": "blob", + "sha": "bcb47ed5e2bfd63261b4f4b25464c5708d9ed247", + "size": 2897, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/bcb47ed5e2bfd63261b4f4b25464c5708d9ed247" + }, + { + "path": "nodes/遮罩比例计算.py", + "mode": "100644", + "type": "blob", + "sha": "8398810cb689b04e81d72f6f8d063f84580af88c", + "size": 1568, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/8398810cb689b04e81d72f6f8d063f84580af88c" + }, + { + "path": "nodes/遮罩混合运算.py", + "mode": "100644", + "type": "blob", + "sha": "d84245d57b625564710902874d4ed5b8c763c815", + "size": 8845, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/d84245d57b625564710902874d4ed5b8c763c815" + }, + { + "path": "nodes/遮罩裁剪.py", + "mode": "100644", + "type": "blob", + "sha": "0f63b7b56cfe544a2809f6c7604d9e4973754118", + "size": 3565, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/0f63b7b56cfe544a2809f6c7604d9e4973754118" + }, + { + "path": "nodes/遮罩裁剪V2.py", + "mode": "100644", + "type": "blob", + "sha": "9bd407e0f53747a66655e20990f520cd3fd0ffe5", + "size": 34279, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9bd407e0f53747a66655e20990f520cd3fd0ffe5" + }, + { + "path": "nodes/面部对齐.py", + "mode": "100644", + "type": "blob", + "sha": "594abb28e9ecf0dc08f706c910543382b3dca7a0", + "size": 26812, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/594abb28e9ecf0dc08f706c910543382b3dca7a0" + }, + { + "path": "nodes/预设尺寸.py", + "mode": "100644", + "type": "blob", + "sha": "6cde3d1d125bc80b951db0dc903b490862f3855b", + "size": 2890, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/6cde3d1d125bc80b951db0dc903b490862f3855b" + }, + { + "path": "nodes/颜色处理.py", + "mode": "100644", + "type": "blob", + "sha": "1285830d415c0a05a872f59f90d27a250fba39df", + "size": 12159, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/1285830d415c0a05a872f59f90d27a250fba39df" + }, + { + "path": "requirements.txt", + "mode": "100644", + "type": "blob", + "sha": "ba5c4f712e114dac9cffb147ae8172619a739ae1", + "size": 125, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/ba5c4f712e114dac9cffb147ae8172619a739ae1" + }, + { + "path": "shape_predictor_5_face_landmarks.dat", + "mode": "100644", + "type": "blob", + "sha": "67878ed3894d929c5e03bd1ad2d931cc6d745ee7", + "size": 9150489, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/67878ed3894d929c5e03bd1ad2d931cc6d745ee7" + }, + { + "path": "web", + "mode": "040000", + "type": "tree", + "sha": "b3bbcf5049ebb2925ed799170fa069cad044764f", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/b3bbcf5049ebb2925ed799170fa069cad044764f" + }, + { + "path": "web/js", + "mode": "040000", + "type": "tree", + "sha": "82d3dfc74a2d5a61dd2ea780133d4064d73694cd", + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/trees/82d3dfc74a2d5a61dd2ea780133d4064d73694cd" + }, + { + "path": "web/js/BOOLEAN.js", + "mode": "100644", + "type": "blob", + "sha": "9a76d4e8a77edf07e474483a0a9813a758e72d7f", + "size": 7965, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/9a76d4e8a77edf07e474483a0a9813a758e72d7f" + }, + { + "path": "web/js/GoohaiNote.js", + "mode": "100644", + "type": "blob", + "sha": "38e937800538f4d16c60f60f132968d4afca601f", + "size": 37190, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/38e937800538f4d16c60f60f132968d4afca601f" + }, + { + "path": "web/js/colorWidget.js", + "mode": "100644", + "type": "blob", + "sha": "f1f223861ce9141a3b02f43f14fee84331ca7caf", + "size": 4049, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/f1f223861ce9141a3b02f43f14fee84331ca7caf" + }, + { + "path": "web/js/goohai_universal_slider.js", + "mode": "100644", + "type": "blob", + "sha": "315a5b1bdc45ab1b1af4bdde22c43cb474a77e7d", + "size": 23801, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/315a5b1bdc45ab1b1af4bdde22c43cb474a77e7d" + }, + { + "path": "web/js/id_photo_clothing.js", + "mode": "100644", + "type": "blob", + "sha": "3863b49efed37ec175c3fb46046235089fbbdc2b", + "size": 31244, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/3863b49efed37ec175c3fb46046235089fbbdc2b" + }, + { + "path": "web/js/marry.js", + "mode": "100644", + "type": "blob", + "sha": "23dfb6dba9bb3d4bfe4ddca7027fd2a5e5fac401", + "size": 11679, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/23dfb6dba9bb3d4bfe4ddca7027fd2a5e5fac401" + }, + { + "path": "web/js/nodes pass.js", + "mode": "100644", + "type": "blob", + "sha": "4e3f4e6d2f3e1a8031d63930af7d5caf3f62b8b0", + "size": 49500, + "url": "https://api.github.com/repos/goohai/Goohaitools-comfyui/git/blobs/4e3f4e6d2f3e1a8031d63930af7d5caf3f62b8b0" + } + ], + "truncated": false +} diff --git a/docs/hel-892/watermark-reference/guhai____init__.py b/docs/hel-892/watermark-reference/guhai____init__.py new file mode 100644 index 00000000..d335c5f4 --- /dev/null +++ b/docs/hel-892/watermark-reference/guhai____init__.py @@ -0,0 +1,49 @@ +import os +import importlib.util +import sys +from pathlib import Path + +# 获取当前包目录的路径 +current_dir = Path(__file__).parent +nodes_dir = current_dir / "nodes" + +# 设置WEB目录路径 - 这是关键配置 +WEB_DIRECTORY = "./web" + +# 初始化全局映射字典 +NODE_CLASS_MAPPINGS = {} +NODE_DISPLAY_NAME_MAPPINGS = {} + +# 遍历nodes目录中的所有Python文件 +for file_path in nodes_dir.glob("*.py"): + # 跳过__init__.py文件 + if file_path.name == "__init__.py": + continue + + # 提取模块名(不含.py后缀) + module_name = file_path.stem + + # 使用importlib动态加载模块 + spec = importlib.util.spec_from_file_location(f"goohaitools.nodes.{module_name}", file_path) + module = importlib.util.module_from_spec(spec) + + try: + # 执行模块代码 + spec.loader.exec_module(module) + + # 检查并合并NODE_CLASS_MAPPINGS + if hasattr(module, 'NODE_CLASS_MAPPINGS'): + NODE_CLASS_MAPPINGS.update(module.NODE_CLASS_MAPPINGS) + + # 检查并合并NODE_DISPLAY_NAME_MAPPINGS + if hasattr(module, 'NODE_DISPLAY_NAME_MAPPINGS'): + NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS) + + except Exception as e: + print(f"Error loading node module {module_name}: {str(e)}") + continue + +__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS'] + +# 打印加载信息 +print(f'\033[92m[GoohaiTools]\033[0m \033[93m{len(NODE_CLASS_MAPPINGS)} nodes\033[0m loaded | \033[94mColorWidget enabled\033[0m') \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py b/docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py new file mode 100644 index 00000000..e6e338f6 --- /dev/null +++ b/docs/hel-892/watermark-reference/guhai__nodes__图像添加水印.py @@ -0,0 +1,259 @@ +import os +import numpy as np +from PIL import Image, ImageDraw, ImageFont, ImageEnhance +import torch + +class 孤海_图像添加水印: + def __init__(self): + # 修改为上级目录下的fonts文件夹 + current_dir = os.path.dirname(os.path.abspath(__file__)) + parent_dir = os.path.dirname(current_dir) + self.font_dir = os.path.join(parent_dir, "fonts") + # 确保字体文件夹存在 + if not os.path.exists(self.font_dir): + os.makedirs(self.font_dir) + + @classmethod + def INPUT_TYPES(cls): + # 获取可用字体列表 - 同样修改为上级目录下的fonts文件夹 + current_dir = os.path.dirname(os.path.abspath(__file__)) + parent_dir = os.path.dirname(current_dir) + font_dir = os.path.join(parent_dir, "fonts") + font_files = [] + if os.path.exists(font_dir): + font_files = [f for f in os.listdir(font_dir) if f.endswith(('.ttf', '.otf', '.ttc'))] + + return { + "required": { + "图像": ("IMAGE",), + "水印文本": ("STRING", {"default": "水印"}), + "字体": (font_files,), + "水印大小百分比": ("INT", {"default": 5, "min": 0, "max": 100, "step": 1}), + "水印不透明度": ("INT", {"default": 50, "min": 0, "max": 100, "step": 1}), + "水平位置": (["居中", "靠左", "靠右"],), + "垂直位置": (["居中", "靠上", "靠下"],), + "X偏移百分比": ("INT", {"default": 0, "min": 0, "max": 50, "step": 1}), + "Y偏移百分比": ("INT", {"default": 0, "min": 0, "max": 50, "step": 1}), + "文字颜色": ("COLORCODE", {"default": "#FFFFFF"}), + "水印平铺": ("BOOLEAN", {"default": False}), + "水印角度": ("INT", {"default": 0, "min": -90, "max": 90, "step": 1}), + "水印间距": ("INT", {"default": 10, "min": 0, "max": 50, "step": 1}), + "输出透明通道": ("BOOLEAN", {"default": False}), + }, + "optional": { + "水印图像": ("IMAGE",), + } + } + + RETURN_TYPES = ("IMAGE",) + FUNCTION = "添加水印" + CATEGORY = "孤海工具箱" + + def 添加水印(self, 图像, 水印文本, 字体, 水印大小百分比, 水印不透明度, + 水平位置, 垂直位置, X偏移百分比, Y偏移百分比, + 文字颜色, 水印平铺, 水印角度, 水印间距, 输出透明通道, + 水印图像=None): + # 将PyTorch张量转换为PIL图像 + img = self.张量转PIL(图像) + + # 确保图像有Alpha通道用于处理透明度 + if img.mode in ('RGB', 'L'): + img = img.convert('RGBA') + + # 处理水印 + if 水印图像 is not None: + # 使用图像水印 + watermark = self.张量转PIL(水印图像) + result = self.应用图像水印(img, watermark, 水印大小百分比, + 水印不透明度, 水平位置, + 垂直位置, X偏移百分比, + Y偏移百分比, 水印角度) + else: + # 使用文字水印 + result = self.应用文字水印(img, 水印文本, 字体, 水印大小百分比, + 水印不透明度, 水平位置, + 垂直位置, X偏移百分比, + Y偏移百分比, 文字颜色, 水印平铺, + 水印角度, 水印间距) + + # 处理输出通道 + if not 输出透明通道 and result.mode == 'RGBA': + result = result.convert('RGB') + + # 将PIL图像转换回PyTorch张量 + return (self.PIL转张量(result),) + + def 应用图像水印(self, 原图, 水印图, 大小百分比, 不透明度, + 水平位置, 垂直位置, X偏移, Y偏移, 角度): + # 调整水印大小 - 修改为按水印图像自身的百分比 + 水印宽, 水印高 = 水印图.size + 比例 = 大小百分比 / 100.0 + 新水印尺寸 = (int(水印宽 * 比例), int(水印高 * 比例)) + 水印 = 水印图.resize(新水印尺寸, Image.Resampling.LANCZOS) + + # 确保水印有Alpha通道 + if 水印.mode != 'RGBA': + 水印 = 水印.convert('RGBA') + + # 调整水印透明度 + alpha = 水印.split()[3] + alpha = ImageEnhance.Brightness(alpha).enhance(不透明度 / 100) + 水印.putalpha(alpha) + + # 旋转水印 + if 角度 != 0: + 水印 = 水印.rotate(角度, expand=True, resample=Image.Resampling.BICUBIC) + + # 计算水印位置 + 水印宽, 水印高 = 水印.size + 原图宽, 原图高 = 原图.size + x, y = self.计算位置(原图宽, 原图高, 水印宽, 水印高, + 水平位置, 垂直位置, X偏移, Y偏移) + + # 创建一个临时图像来应用水印 + 临时图层 = Image.new('RGBA', 原图.size, (0, 0, 0, 0)) + 临时图层.paste(水印, (x, y), 水印) + + # 合并水印和原图 + return Image.alpha_composite(原图, 临时图层) + + def 应用文字水印(self, 原图, 文字, 字体名, 大小百分比, 不透明度, + 水平位置, 垂直位置, X偏移, Y偏移, 颜色, + 平铺, 角度, 间距): + # 文字水印保持原来的逻辑 - 按底图高度的百分比 + 原图宽, 原图高 = 原图.size + 文字大小 = int(原图高 * (大小百分比 / 100)) + + # 加载字体(使用修改后的上级目录路径) + 字体路径 = os.path.join(self.font_dir, 字体名) + try: + 字体 = ImageFont.truetype(字体路径, 文字大小) + except: + # 加载失败时使用默认字体 + 字体 = ImageFont.load_default() + + # 获取文字大小和偏移量 + 文字宽, 文字高, 偏移_y = self.获取文字大小(文字, 字体) + + # 创建足够大的文字图层(增加一些安全边距) + 安全边距 = int(文字大小 * 0.1) # 10%的安全边距 + 文字图层 = Image.new('RGBA', + (文字宽 + 2 * 安全边距, + 文字高 + 2 * 安全边距), + (0, 0, 0, 0)) + draw = ImageDraw.Draw(文字图层) + + # 解析颜色 + 颜色带透明 = self.十六进制转RGBA(颜色, 不透明度) + + # 绘制文字(调整位置以避免截断) + draw.text((安全边距, 安全边距 - 偏移_y), 文字, font=字体, fill=颜色带透明) + + # 旋转文字 + if 角度 != 0: + 文字图层 = 文字图层.rotate(角度, expand=True, resample=Image.Resampling.BICUBIC) + 文字宽, 文字高 = 文字图层.size + + # 创建临时图像来应用水印 + 临时图层 = Image.new('RGBA', 原图.size, (0, 0, 0, 0)) + + if 平铺: + # 平铺水印 + 间距像素 = int(原图高 * (间距 / 100)) + # 计算每行每列可以放置多少水印 + 列数 = (原图宽 // (文字宽 + 间距像素)) + 2 + 行数 = (原图高 // (文字高 + 间距像素)) + 2 + + for i in range(列数): + for j in range(行数): + x = i * (文字宽 + 间距像素) - 文字宽 + y = j * (文字高 + 间距像素) - 文字高 + 临时图层.paste(文字图层, (x, y), 文字图层) + else: + # 单一水印 + x, y = self.计算位置(原图宽, 原图高, 文字宽, 文字高, + 水平位置, 垂直位置, X偏移, Y偏移) + 临时图层.paste(文字图层, (x, y), 文字图层) + + # 合并水印和原图 + return Image.alpha_composite(原图, 临时图层) + + def 计算位置(self, 原图宽, 原图高, 水印宽, 水印高, + 水平位置, 垂直位置, X偏移, Y偏移): + # 计算X偏移像素 + X偏移像素 = int(原图宽 * (X偏移 / 100)) + + # 计算水平位置 + if 水平位置 == "靠左": + x = X偏移像素 + elif 水平位置 == "靠右": + x = 原图宽 - 水印宽 - X偏移像素 + else: # 居中 + x = (原图宽 - 水印宽) // 2 + X偏移像素 + + # 计算Y偏移像素 + Y偏移像素 = int(原图高 * (Y偏移 / 100)) + + # 计算垂直位置 + if 垂直位置 == "靠上": + y = Y偏移像素 + elif 垂直位置 == "靠下": + y = 原图高 - 水印高 - Y偏移像素 + else: # 居中 + y = (原图高 - 水印高) // 2 + Y偏移像素 + + return x, y + + def 获取文字大小(self, 文字, 字体): + # 改进的文字尺寸计算方法,考虑基线偏移 + 临时图像 = Image.new('RGBA', (1000, 1000), (0, 0, 0, 0)) # 使用较大的临时图像 + draw = ImageDraw.Draw(临时图像) + + # 获取文本边界框 + bbox = draw.textbbox((0, 0), 文字, font=字体) + left, top, right, bottom = bbox + + # 计算文字实际宽高 + 文字宽 = right - left + 文字高 = bottom - top + + # 计算基线偏移(文字实际顶部到绘制点的距离) + 偏移_y = top + + return 文字宽, 文字高, 偏移_y + + def 十六进制转RGBA(self, 十六进制颜色, 不透明度): + # 移除#号 + 十六进制颜色 = 十六进制颜色.lstrip('#') + # 解析RGB值 + r = int(十六进制颜色[0:2], 16) + g = int(十六进制颜色[2:4], 16) + b = int(十六进制颜色[4:6], 16) + # 计算透明度 + a = int(255 * (不透明度 / 100)) + return (r, g, b, a) + + def 张量转PIL(self, 张量): + # 将ComfyUI的张量格式转换为PIL图像 + if len(张量.shape) == 4: + 张量 = 张量[0] # 取第一个图像 + img = 张量.cpu().numpy() + img = np.clip(img * 255.0, 0, 255).astype(np.uint8) + img = Image.fromarray(img) + return img + + def PIL转张量(self, img): + # 将PIL图像转换为ComfyUI的张量格式 + img_np = np.array(img).astype(np.float32) / 255.0 + if len(img_np.shape) == 3: + img_np = img_np[None, ...] + return torch.from_numpy(img_np) + +# 节点注册映射 +NODE_CLASS_MAPPINGS = { + "孤海-图像添加水印": 孤海_图像添加水印 +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "孤海-图像添加水印": "孤海-图像添加水印" +} \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/layer-package-list.json b/docs/hel-892/watermark-reference/layer-package-list.json new file mode 100644 index 00000000..989a6d84 --- /dev/null +++ b/docs/hel-892/watermark-reference/layer-package-list.json @@ -0,0 +1,631 @@ +[ + ".github/workflows/publish_action.yml", + ".gitignore", + "LICENSE", + "README.md", + "README_CN.MD", + "__init__.py", + "api_key.ini.example", + "custom_size.ini.example", + "face_landmarker/face_landmarker.task", + "florence2_models/__init__.py", + "florence2_models/configuration_florence2.py", + "florence2_models/modeling_florence2.py", + "florence2_models/processing_florence2.py", + "florence2_ultra.py", + "font/Alibaba-PuHuiTi-Heavy.ttf", + "image/add_blind_watermark_node.jpg", + "image/bbox_join_node.jpg", + "image/birefnet_ultra_example.jpg", + "image/birefnet_ultra_node.jpg", + "image/birefnet_ultra_v2_example.jpg", + "image/birefnet_ultra_v2_node.jpg", + "image/blend_mode_result.jpg", + "image/blend_mode_v2_example.jpg", + "image/collage_example.jpg", + "image/collage_node.jpg", + "image/create_qrcode_node.jpg", + "image/data_nodes_example.jpg", + "image/decode_qrcode_node.jpg", + "image/deepseek_api_example.jpg", + "image/deepseek_api_node.jpg", + "image/deepseek_api_v2_node.jpg", + "image/draw_bbox_mask_example.jpg", + "image/draw_bbox_mask_node.jpg", + "image/draw_bbox_mask_v2_example.jpg", + "image/draw_bbox_mask_v2_node.jpg", + "image/evf_sam_ultra_example.jpg", + "image/evf_sam_ultra_node.jpg", + "image/florence2_image2prompt_example.jpg", + "image/florence2_image2prompt_node.jpg", + "image/florence2_ultra_example.jpg", + "image/florence2_ultra_node.jpg", + "image/gemini_example.jpg", + "image/gemini_image_edit_example.jpg", + "image/gemini_image_edit_node.jpg", + "image/gemini_node.jpg", + "image/gemini_v2_example.jpg", + "image/gemini_v2_node.jpg", + "image/get_color_tone_example.jpg", + "image/get_color_tone_node.jpg", + "image/get_color_tone_v2_example.jpg", + "image/get_color_tone_v2_example2.jpg", + "image/get_color_tone_v2_node.jpg", + "image/human_parts_node.jpg", + "image/human_parts_ultra_example.jpg", + "image/image_auto_crop_example.jpg", + "image/image_auto_crop_node.jpg", + "image/image_auto_crop_v2_node.jpg", + "image/image_auto_crop_v3_node.jpg", + "image/image_reward_filter_example.jpg", + "image/image_reward_filter_node.jpg", + "image/jimeng_image_to_image_api_example.jpg", + "image/jimeng_image_to_image_api_node.jpg", + "image/joycaption2_example.jpg", + "image/joycaption2_extra_options_node.jpg", + "image/joycaption2_node.jpg", + "image/joycaption2_split_node.jpg", + "image/joycaption_beta1_example.jpg", + "image/joycaption_beta1_extra_options_node.jpg", + "image/joycaption_beta_1_node.jpg", + "image/lama_example.jpg", + "image/lama_node.jpg", + "image/light_leak_example.jpg", + "image/light_leak_node.jpg", + "image/llama_vision_example.jpg", + "image/llama_vision_node.jpg", + "image/load_ben_model_node.jpg", + "image/load_birefnet_model_node.jpg", + "image/load_birefnet_model_v2_node.jpg", + "image/load_florence2_model_node.jpg", + "image/load_image_example.jpg", + "image/load_image_example_psd_file.jpg", + "image/load_image_node.jpg", + "image/load_joycaption2_model_node.jpg", + "image/load_joycaption_beta1_model_node.jpg", + "image/load_sam2_model_node.jpg", + "image/load_segmentanything_model_node.jpg", + "image/load_smollm2_node.jpg", + "image/load_smolvlm_model_node.jpg", + "image/mask_by_different_example.jpg", + "image/mask_by_different_node.jpg", + "image/mediapipe_facial_segment_example.jpg", + "image/mediapipe_facial_segment_node.jpg", + "image/node-menu.jpg", + "image/node-search.jpg", + "image/object_detector_fl2_node.jpg", + "image/object_detector_gemini_example.jpg", + "image/object_detector_gemini_node.jpg", + "image/object_detector_gemini_v2_node.jpg", + "image/object_detector_mask_node.jpg", + "image/object_detector_yolo8_node.jpg", + "image/object_detector_yolo_world_node.jpg", + "image/outer_glow_example.jpg", + "image/person_mask_ultra_example.jpg", + "image/person_mask_ultra_node.jpg", + "image/person_mask_ultra_v2_node.jpg", + "image/phi_prompt_example.jpg", + "image/phi_prompt_node.jpg", + "image/prompt_embellish_example.jpg", + "image/prompt_embellish_node.jpg", + "image/prompt_tagger_example.jpg", + "image/prompt_tagger_example1.jpg", + "image/prompt_tagger_node.jpg", + "image/qwen_image2prompt_example.jpg", + "image/sam2_example.jpg", + "image/sam2_ultra_node.jpg", + "image/sam2_ultra_v2_node.jpg", + "image/sam2_video_ultra_node.jpg", + "image/saveimage_plus_example.jpg", + "image/saveimage_plus_node.jpg", + "image/saveimage_plus_v2_node.jpg", + "image/sd3_negative_conditioning_example.jpg", + "image/sd3_negative_conditioning_node.jpg", + "image/sd3_negative_conditioning_node_note.jpg", + "image/segment_anything_ultra_compare.jpg", + "image/segment_anything_ultra_example.jpg", + "image/segment_anything_ultra_node.jpg", + "image/segment_anything_ultra_v2_node.jpg", + "image/segment_anything_ultra_v3_example.jpg", + "image/segment_anything_ultra_v3_node.jpg", + "image/show_blind_watermark_node.jpg", + "image/smollm2_example.jpg", + "image/smollm2_node.jpg", + "image/smolvlm_example.jpg", + "image/smolvlm_node.jpg", + "image/transparent_background_ultra_example.jpg", + "image/transparent_background_ultra_node.jpg", + "image/ultra_v2_nodes_example.jpg", + "image/userprompt_generator_replace_word_node.jpg", + "image/userprompt_generator_txt2img_node.jpg", + "image/userprompt_generator_txt2img_with_reference_node.jpg", + "image/water_color_example.jpg", + "image/water_color_node.jpg", + "image/watermark_example.jpg", + "image/yolov8_detect_example.jpg", + "image/yolov8_detect_node.jpg", + "image/zhipuglm4_example.jpg", + "image/zhipuglm4_node.jpg", + "image/zhipuglm4v_node.jpg", + "install_requirements.bat", + "install_requirements_aki.bat", + "js/dz_node_palette.js", + "locales/en/nodeDefs.json", + "locales/fr/nodeDefs.json", + "locales/ja/nodeDefs.json", + "locales/ko/nodeDefs.json", + "locales/ru/nodeDefs.json", + "locales/zh/nodeDefs.json", + "py/BiRefNet_legacy/__init__.py", + "py/BiRefNet_legacy/backbones/__init__.py", + "py/BiRefNet_legacy/backbones/build_backbone.py", + "py/BiRefNet_legacy/backbones/pvt_v2.py", + "py/BiRefNet_legacy/backbones/swin_v1.py", + "py/BiRefNet_legacy/baseline.py", + "py/BiRefNet_legacy/config.py", + "py/BiRefNet_legacy/dataset.py", + "py/BiRefNet_legacy/modules/__init__.py", + "py/BiRefNet_legacy/modules/aspp.py", + "py/BiRefNet_legacy/modules/attentions.py", + "py/BiRefNet_legacy/modules/decoder_blocks.py", + "py/BiRefNet_legacy/modules/deform_conv.py", + "py/BiRefNet_legacy/modules/ing.py", + "py/BiRefNet_legacy/modules/lateral_blocks.py", + "py/BiRefNet_legacy/modules/mlp.py", + "py/BiRefNet_legacy/modules/utils.py", + "py/BiRefNet_legacy/preproc.py", + "py/BiRefNet_legacy/refinement/__init__.py", + "py/BiRefNet_legacy/refinement/refiner.py", + "py/BiRefNet_legacy/refinement/stem_layer.py", + "py/BiRefNet_v2/LICENSE", + "py/BiRefNet_v2/README.md", + "py/BiRefNet_v2/__init__.py", + "py/BiRefNet_v2/config.py", + "py/BiRefNet_v2/dataset.py", + "py/BiRefNet_v2/eval_existingOnes.py", + "py/BiRefNet_v2/evaluation/metrics.py", + "py/BiRefNet_v2/gen_best_ep.py", + "py/BiRefNet_v2/image_proc.py", + "py/BiRefNet_v2/inference.py", + "py/BiRefNet_v2/loss.py", + "py/BiRefNet_v2/make_a_copy.sh", + "py/BiRefNet_v2/models/backbones/build_backbone.py", + "py/BiRefNet_v2/models/backbones/pvt_v2.py", + "py/BiRefNet_v2/models/backbones/swin_v1.py", + "py/BiRefNet_v2/models/birefnet.py", + "py/BiRefNet_v2/models/modules/aspp.py", + "py/BiRefNet_v2/models/modules/decoder_blocks.py", + "py/BiRefNet_v2/models/modules/deform_conv.py", + "py/BiRefNet_v2/models/modules/lateral_blocks.py", + "py/BiRefNet_v2/models/modules/mlp.py", + "py/BiRefNet_v2/models/modules/prompt_encoder.py", + "py/BiRefNet_v2/models/modules/utils.py", + "py/BiRefNet_v2/models/refinement/refiner.py", + "py/BiRefNet_v2/models/refinement/stem_layer.py", + "py/BiRefNet_v2/requirements.txt", + "py/BiRefNet_v2/rm_cache.sh", + "py/BiRefNet_v2/sub.sh", + "py/BiRefNet_v2/test.sh", + "py/BiRefNet_v2/train.py", + "py/BiRefNet_v2/train.sh", + "py/BiRefNet_v2/train_test.sh", + "py/BiRefNet_v2/tutorials/BiRefNet_inference.ipynb", + "py/BiRefNet_v2/tutorials/BiRefNet_pth2onnx.ipynb", + "py/BiRefNet_v2/utils.py", + "py/Jimeng_API.py", + "py/Qwen_image2prompt.py", + "py/ben_ultra.py", + "py/birefnet_legacy.py", + "py/birefnet_ultra.py", + "py/birefnet_ultra_v2.py", + "py/blendmodes.py", + "py/briarmbg.py", + "py/collage.py", + "py/deepseek.py", + "py/evf_sam/__init__.py", + "py/evf_sam/evf_sam_inference.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/__init__.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/build_efficient_sam.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/efficient_sam.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/efficient_sam_decoder.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/efficient_sam_encoder.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/mlp.py", + "py/evf_sam/model/EfficientSAM/efficient_sam/two_way_transformer.py", + "py/evf_sam/model/__init__.py", + "py/evf_sam/model/configuration_evf.py", + "py/evf_sam/model/evf_effisam.py", + "py/evf_sam/model/evf_sam.py", + "py/evf_sam/model/evf_sam2.py", + "py/evf_sam/model/evf_sam2_video.py", + "py/evf_sam/model/segment_anything/__init__.py", + "py/evf_sam/model/segment_anything/automatic_mask_generator.py", + "py/evf_sam/model/segment_anything/build_sam.py", + "py/evf_sam/model/segment_anything/modeling/__init__.py", + "py/evf_sam/model/segment_anything/modeling/common.py", + "py/evf_sam/model/segment_anything/modeling/image_encoder.py", + "py/evf_sam/model/segment_anything/modeling/mask_decoder.py", + "py/evf_sam/model/segment_anything/modeling/prompt_encoder.py", + "py/evf_sam/model/segment_anything/modeling/sam.py", + "py/evf_sam/model/segment_anything/modeling/transformer.py", + "py/evf_sam/model/segment_anything/predictor.py", + "py/evf_sam/model/segment_anything/utils/__init__.py", + "py/evf_sam/model/segment_anything/utils/amg.py", + "py/evf_sam/model/segment_anything/utils/onnx.py", + "py/evf_sam/model/segment_anything/utils/transforms.py", + "py/evf_sam/model/segment_anything_2/sam2/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2/automatic_mask_generator.py", + "py/evf_sam/model/segment_anything_2/sam2/build_sam.py", + "py/evf_sam/model/segment_anything_2/sam2/csrc/connected_components.cu", + "py/evf_sam/model/segment_anything_2/sam2/modeling/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/backbones/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/backbones/hieradet.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/backbones/image_encoder.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/backbones/utils.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/memory_attention.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/memory_encoder.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/position_encoding.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam/mask_decoder.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam/prompt_encoder.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam/transformer.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam2_base.py", + "py/evf_sam/model/segment_anything_2/sam2/modeling/sam2_utils.py", + "py/evf_sam/model/segment_anything_2/sam2/sam2_image_predictor.py", + "py/evf_sam/model/segment_anything_2/sam2/sam2_video_predictor.py", + "py/evf_sam/model/segment_anything_2/sam2/utils/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2/utils/amg.py", + "py/evf_sam/model/segment_anything_2/sam2/utils/misc.py", + "py/evf_sam/model/segment_anything_2/sam2/utils/transforms.py", + "py/evf_sam/model/segment_anything_2/sam2_configs/__init__.py", + "py/evf_sam/model/segment_anything_2/sam2_configs/sam2_hiera_b+.yaml", + "py/evf_sam/model/segment_anything_2/sam2_configs/sam2_hiera_l.yaml", + "py/evf_sam/model/segment_anything_2/sam2_configs/sam2_hiera_s.yaml", + "py/evf_sam/model/segment_anything_2/sam2_configs/sam2_hiera_t.yaml", + "py/evf_sam/model/segment_anything_2/setup.py", + "py/evf_sam/model/unilm/beit3/README.md", + "py/evf_sam/model/unilm/beit3/datasets.py", + "py/evf_sam/model/unilm/beit3/engine_for_finetuning.py", + "py/evf_sam/model/unilm/beit3/get_started/get_started_for_captioning.md", + "py/evf_sam/model/unilm/beit3/get_started/get_started_for_image_classification.md", + "py/evf_sam/model/unilm/beit3/get_started/get_started_for_nlvr2.md", + "py/evf_sam/model/unilm/beit3/get_started/get_started_for_retrieval.md", + "py/evf_sam/model/unilm/beit3/get_started/get_started_for_vqav2.md", + "py/evf_sam/model/unilm/beit3/glossary.py", + "py/evf_sam/model/unilm/beit3/modeling_finetune.py", + "py/evf_sam/model/unilm/beit3/modeling_utils.py", + "py/evf_sam/model/unilm/beit3/optim_factory.py", + "py/evf_sam/model/unilm/beit3/randaug.py", + "py/evf_sam/model/unilm/beit3/requirements.txt", + "py/evf_sam/model/unilm/beit3/run_beit3_finetuning.py", + "py/evf_sam/model/unilm/beit3/utils.py", + "py/evf_sam/utils/ade20k_classes.json", + "py/evf_sam/utils/aug.py", + "py/evf_sam/utils/data_processing.py", + "py/evf_sam/utils/dataset.py", + "py/evf_sam/utils/grefcoco.py", + "py/evf_sam/utils/grefer.py", + "py/evf_sam/utils/refer.py", + "py/evf_sam/utils/refer_seg_dataset.py", + "py/evf_sam/utils/sem_seg_dataset.py", + "py/evf_sam/utils/utils.py", + "py/evf_sam_ultra.py", + "py/florence2_ultra.py", + "py/gemini.py", + "py/get_color_tone.py", + "py/get_color_tone_v2.py", + "py/human_parts_ultra.py", + "py/image_auto_crop.py", + "py/image_auto_crop_v2.py", + "py/image_auto_crop_v3.py", + "py/image_reward_filter.py", + "py/imagefunc.py", + "py/iopaint/__init__.py", + "py/iopaint/__main__.py", + "py/iopaint/api.py", + "py/iopaint/batch_processing.py", + "py/iopaint/benchmark.py", + "py/iopaint/cli.py", + "py/iopaint/const.py", + "py/iopaint/download.py", + "py/iopaint/file_manager/__init__.py", + "py/iopaint/file_manager/file_manager.py", + "py/iopaint/file_manager/storage_backends.py", + "py/iopaint/file_manager/utils.py", + "py/iopaint/helper.py", + "py/iopaint/imghdr.py", + "py/iopaint/installer.py", + "py/iopaint/model/__init__.py", + "py/iopaint/model/anytext/__init__.py", + "py/iopaint/model/anytext/anytext_model.py", + "py/iopaint/model/anytext/anytext_pipeline.py", + "py/iopaint/model/anytext/anytext_sd15.yaml", + "py/iopaint/model/anytext/cldm/__init__.py", + "py/iopaint/model/anytext/cldm/cldm.py", + "py/iopaint/model/anytext/cldm/ddim_hacked.py", + "py/iopaint/model/anytext/cldm/embedding_manager.py", + "py/iopaint/model/anytext/cldm/hack.py", + "py/iopaint/model/anytext/cldm/model.py", + "py/iopaint/model/anytext/cldm/recognizer.py", + "py/iopaint/model/anytext/ldm/__init__.py", + "py/iopaint/model/anytext/ldm/models/__init__.py", + "py/iopaint/model/anytext/ldm/models/autoencoder.py", + "py/iopaint/model/anytext/ldm/models/diffusion/__init__.py", + "py/iopaint/model/anytext/ldm/models/diffusion/ddim.py", + "py/iopaint/model/anytext/ldm/models/diffusion/ddpm.py", + "py/iopaint/model/anytext/ldm/models/diffusion/dpm_solver/__init__.py", + "py/iopaint/model/anytext/ldm/models/diffusion/dpm_solver/dpm_solver.py", + "py/iopaint/model/anytext/ldm/models/diffusion/dpm_solver/sampler.py", + "py/iopaint/model/anytext/ldm/models/diffusion/plms.py", + "py/iopaint/model/anytext/ldm/models/diffusion/sampling_util.py", + "py/iopaint/model/anytext/ldm/modules/__init__.py", + "py/iopaint/model/anytext/ldm/modules/attention.py", + "py/iopaint/model/anytext/ldm/modules/diffusionmodules/__init__.py", + "py/iopaint/model/anytext/ldm/modules/diffusionmodules/model.py", + "py/iopaint/model/anytext/ldm/modules/diffusionmodules/openaimodel.py", + "py/iopaint/model/anytext/ldm/modules/diffusionmodules/upscaling.py", + "py/iopaint/model/anytext/ldm/modules/diffusionmodules/util.py", + "py/iopaint/model/anytext/ldm/modules/distributions/__init__.py", + "py/iopaint/model/anytext/ldm/modules/distributions/distributions.py", + "py/iopaint/model/anytext/ldm/modules/ema.py", + "py/iopaint/model/anytext/ldm/modules/encoders/__init__.py", + "py/iopaint/model/anytext/ldm/modules/encoders/modules.py", + "py/iopaint/model/anytext/ldm/util.py", + "py/iopaint/model/anytext/main.py", + "py/iopaint/model/anytext/ocr_recog/RNN.py", + "py/iopaint/model/anytext/ocr_recog/RecCTCHead.py", + "py/iopaint/model/anytext/ocr_recog/RecModel.py", + "py/iopaint/model/anytext/ocr_recog/RecMv1_enhance.py", + "py/iopaint/model/anytext/ocr_recog/RecSVTR.py", + "py/iopaint/model/anytext/ocr_recog/__init__.py", + "py/iopaint/model/anytext/ocr_recog/common.py", + "py/iopaint/model/anytext/ocr_recog/ppocr_keys_v1.txt", + "py/iopaint/model/anytext/utils.py", + "py/iopaint/model/base.py", + "py/iopaint/model/controlnet.py", + "py/iopaint/model/ddim_sampler.py", + "py/iopaint/model/fcf.py", + "py/iopaint/model/helper/__init__.py", + "py/iopaint/model/helper/controlnet_preprocess.py", + "py/iopaint/model/helper/cpu_text_encoder.py", + "py/iopaint/model/helper/g_diffuser_bot.py", + "py/iopaint/model/instruct_pix2pix.py", + "py/iopaint/model/kandinsky.py", + "py/iopaint/model/lama.py", + "py/iopaint/model/ldm.py", + "py/iopaint/model/manga.py", + "py/iopaint/model/mat.py", + "py/iopaint/model/mi_gan.py", + "py/iopaint/model/opencv2.py", + "py/iopaint/model/original_sd_configs/__init__.py", + "py/iopaint/model/original_sd_configs/sd_xl_base.yaml", + "py/iopaint/model/original_sd_configs/sd_xl_refiner.yaml", + "py/iopaint/model/original_sd_configs/v1-inference.yaml", + "py/iopaint/model/original_sd_configs/v2-inference-v.yaml", + "py/iopaint/model/paint_by_example.py", + "py/iopaint/model/plms_sampler.py", + "py/iopaint/model/power_paint/__init__.py", + "py/iopaint/model/power_paint/pipeline_powerpaint.py", + "py/iopaint/model/power_paint/pipeline_powerpaint_controlnet.py", + "py/iopaint/model/power_paint/power_paint.py", + "py/iopaint/model/power_paint/powerpaint_tokenizer.py", + "py/iopaint/model/sd.py", + "py/iopaint/model/sdxl.py", + "py/iopaint/model/utils.py", + "py/iopaint/model/zits.py", + "py/iopaint/model_info.py", + "py/iopaint/model_manager.py", + "py/iopaint/plugins/__init__.py", + "py/iopaint/plugins/anime_seg.py", + "py/iopaint/plugins/base_plugin.py", + "py/iopaint/plugins/briarmbg.py", + "py/iopaint/plugins/gfpgan_plugin.py", + "py/iopaint/plugins/gfpganer.py", + "py/iopaint/plugins/interactive_seg.py", + "py/iopaint/plugins/realesrgan.py", + "py/iopaint/plugins/remove_bg.py", + "py/iopaint/plugins/restoreformer.py", + "py/iopaint/plugins/segment_anything/__init__.py", + "py/iopaint/plugins/segment_anything/build_sam.py", + "py/iopaint/plugins/segment_anything/modeling/__init__.py", + "py/iopaint/plugins/segment_anything/modeling/common.py", + "py/iopaint/plugins/segment_anything/modeling/image_encoder.py", + "py/iopaint/plugins/segment_anything/modeling/image_encoder_hq.py", + "py/iopaint/plugins/segment_anything/modeling/mask_decoder.py", + "py/iopaint/plugins/segment_anything/modeling/prompt_encoder.py", + "py/iopaint/plugins/segment_anything/modeling/sam.py", + "py/iopaint/plugins/segment_anything/modeling/sam_hq.py", + "py/iopaint/plugins/segment_anything/modeling/tiny_vit_sam.py", + "py/iopaint/plugins/segment_anything/modeling/transformer.py", + "py/iopaint/plugins/segment_anything/predictor.py", + "py/iopaint/plugins/segment_anything/predictor_hq.py", + "py/iopaint/plugins/segment_anything/utils/__init__.py", + "py/iopaint/plugins/segment_anything/utils/transforms.py", + "py/iopaint/runtime.py", + "py/iopaint/schema.py", + "py/iopaint/tests/__init__.py", + "py/iopaint/tests/test_adjust_mask.py", + "py/iopaint/tests/test_anytext.py", + "py/iopaint/tests/test_controlnet.py", + "py/iopaint/tests/test_instruct_pix2pix.py", + "py/iopaint/tests/test_load_img.py", + "py/iopaint/tests/test_low_mem.py", + "py/iopaint/tests/test_match_histograms.py", + "py/iopaint/tests/test_model.py", + "py/iopaint/tests/test_model_md5.py", + "py/iopaint/tests/test_model_switch.py", + "py/iopaint/tests/test_outpainting.py", + "py/iopaint/tests/test_paint_by_example.py", + "py/iopaint/tests/test_plugins.py", + "py/iopaint/tests/test_save_exif.py", + "py/iopaint/tests/test_sd_model.py", + "py/iopaint/tests/test_sdxl.py", + "py/iopaint/tests/utils.py", + "py/iopaint/web_app/assets/Inter-Black-jiII8dog.woff2", + "py/iopaint/web_app/assets/Inter-BlackItalic-1413vuen.woff2", + "py/iopaint/web_app/assets/Inter-Bold-srYz_-1B.woff2", + "py/iopaint/web_app/assets/Inter-BoldItalic-dE_gZyur.woff2", + "py/iopaint/web_app/assets/Inter-ExtraBold-TduDdwUu.woff2", + "py/iopaint/web_app/assets/Inter-ExtraBoldItalic-BJafRE5I.woff2", + "py/iopaint/web_app/assets/Inter-ExtraLight-w5HAp5iF.woff2", + "py/iopaint/web_app/assets/Inter-ExtraLightItalic-ZptecSuc.woff2", + "py/iopaint/web_app/assets/Inter-Italic-f6M78thn.woff2", + "py/iopaint/web_app/assets/Inter-Light-DFhX0qo-.woff2", + "py/iopaint/web_app/assets/Inter-LightItalic-fu56_DRc.woff2", + "py/iopaint/web_app/assets/Inter-Medium-dDRaJ8tM.woff2", + "py/iopaint/web_app/assets/Inter-MediumItalic-zr3roggP.woff2", + "py/iopaint/web_app/assets/Inter-Regular-dEFHw1tF.woff2", + "py/iopaint/web_app/assets/Inter-SemiBold-PyS8DO2L.woff2", + "py/iopaint/web_app/assets/Inter-SemiBoldItalic-uIDb7hsH.woff2", + "py/iopaint/web_app/assets/Inter-Thin-eKObIkJC.woff2", + "py/iopaint/web_app/assets/Inter-ThinItalic-L6uBn3RP.woff2", + "py/iopaint/web_app/assets/index-8BlaS7ws.js", + "py/iopaint/web_app/assets/index-CXO-mkQB.js", + "py/iopaint/web_app/assets/index-NQyCh9rO.js", + "py/iopaint/web_app/assets/index-QuEBEP4v.js", + "py/iopaint/web_app/assets/index-TI-UMrGI.js", + "py/iopaint/web_app/assets/index-Tqq3L7kY.js", + "py/iopaint/web_app/assets/index-UXaKiZjP.css", + "py/iopaint/web_app/assets/index-_6nUWG_P.js", + "py/iopaint/web_app/assets/index-c6LmMFap.js", + "py/iopaint/web_app/assets/index-hrusMZZs.js", + "py/iopaint/web_app/assets/index-iK_rIxV0.css", + "py/iopaint/web_app/assets/index-kS3ik1bw.js", + "py/iopaint/web_app/assets/index-p0ivNJpo.css", + "py/iopaint/web_app/assets/index-qFliSBYV.js", + "py/iopaint/web_app/assets/kofi_button_black-XI_Dr2zg.png", + "py/iopaint/web_app/index.html", + "py/iopaint/web_config.py", + "py/joycaption_alpha_2.py", + "py/joycaption_beta_1.py", + "py/lama.py", + "py/llama_vision.py", + "py/loadpsd.py", + "py/local_groundingdino/datasets/__init__.py", + "py/local_groundingdino/datasets/transforms.py", + "py/local_groundingdino/models/GroundingDINO/__init__.py", + "py/local_groundingdino/models/GroundingDINO/backbone/__init__.py", + "py/local_groundingdino/models/GroundingDINO/backbone/backbone.py", + "py/local_groundingdino/models/GroundingDINO/backbone/position_encoding.py", + "py/local_groundingdino/models/GroundingDINO/backbone/swin_transformer.py", + "py/local_groundingdino/models/GroundingDINO/bertwarper.py", + "py/local_groundingdino/models/GroundingDINO/fuse_modules.py", + "py/local_groundingdino/models/GroundingDINO/groundingdino.py", + "py/local_groundingdino/models/GroundingDINO/ms_deform_attn.py", + "py/local_groundingdino/models/GroundingDINO/transformer.py", + "py/local_groundingdino/models/GroundingDINO/transformer_vanilla.py", + "py/local_groundingdino/models/GroundingDINO/utils.py", + "py/local_groundingdino/models/__init__.py", + "py/local_groundingdino/models/registry.py", + "py/local_groundingdino/util/__init__.py", + "py/local_groundingdino/util/box_ops.py", + "py/local_groundingdino/util/get_tokenlizer.py", + "py/local_groundingdino/util/inference.py", + "py/local_groundingdino/util/misc.py", + "py/local_groundingdino/util/slconfig.py", + "py/local_groundingdino/util/slio.py", + "py/local_groundingdino/util/utils.py", + "py/mask_by_different.py", + "py/mediapipe_facial_segment.py", + "py/object_detector.py", + "py/person_mask_Ultra.py", + "py/person_mask_ultra_v2.py", + "py/phi_nodes.py", + "py/prompt_embellish.py", + "py/prompt_tagger.py", + "py/qrcode.py", + "py/sam2/__init__.py", + "py/sam2/automatic_mask_generator.py", + "py/sam2/modeling/__init__.py", + "py/sam2/modeling/backbones/__init__.py", + "py/sam2/modeling/backbones/hieradet.py", + "py/sam2/modeling/backbones/image_encoder.py", + "py/sam2/modeling/backbones/utils.py", + "py/sam2/modeling/memory_attention.py", + "py/sam2/modeling/memory_encoder.py", + "py/sam2/modeling/position_encoding.py", + "py/sam2/modeling/sam/__init__.py", + "py/sam2/modeling/sam/mask_decoder.py", + "py/sam2/modeling/sam/prompt_encoder.py", + "py/sam2/modeling/sam/transformer.py", + "py/sam2/modeling/sam2_base.py", + "py/sam2/modeling/sam2_utils.py", + "py/sam2/sam2_configs/__init__.py", + "py/sam2/sam2_configs/sam2.1_hiera_b+.yaml", + "py/sam2/sam2_configs/sam2.1_hiera_l.yaml", + "py/sam2/sam2_configs/sam2.1_hiera_s.yaml", + "py/sam2/sam2_configs/sam2.1_hiera_t.yaml", + "py/sam2/sam2_configs/sam2_hiera_b+.yaml", + "py/sam2/sam2_configs/sam2_hiera_l.yaml", + "py/sam2/sam2_configs/sam2_hiera_s.yaml", + "py/sam2/sam2_configs/sam2_hiera_t.yaml", + "py/sam2/sam2_image_predictor.py", + "py/sam2/sam2_video_predictor.py", + "py/sam2/utils/__init__.py", + "py/sam2/utils/amg.py", + "py/sam2/utils/misc.py", + "py/sam2/utils/transforms.py", + "py/sam_2_ultra.py", + "py/sam_hq/automatic.py", + "py/sam_hq/build_sam_hq.py", + "py/sam_hq/modeling/image_encoder.py", + "py/sam_hq/modeling/mask_decoder_hq.py", + "py/sam_hq/modeling/tiny_vit.py", + "py/sam_hq/predictor.py", + "py/save_image_plus.py", + "py/sd3_negative_conditioning.py", + "py/segment_anything_func.py", + "py/segment_anything_ultra.py", + "py/segment_anything_ultra_v2.py", + "py/segment_anything_ultra_v3.py", + "py/smol.py", + "py/transparent_background_ultra.py", + "py/user_prompt_generator.py", + "py/watermark.py", + "py/yolov8_detect.py", + "py/zhipu_glm4.py", + "pyproject.toml", + "repair_dependency.bat", + "repair_dependency_aki.bat", + "repair_dependency_list.txt", + "requirements.txt", + "resource_dir.ini.example", + "whl/docopt-0.6.2-py2.py3-none-any.whl", + "whl/hydra_core-1.3.2-py3-none-any.whl", + "workflow/1280x720_seven_person.jpg", + "workflow/1280x720car.jpg", + "workflow/1280x768_city.png", + "workflow/1344x768_beach.png", + "workflow/1344x768_girl2.png", + "workflow/1344x768_hair.png", + "workflow/1344x768_redcar.png", + "workflow/1920x1080table.png", + "workflow/3840x2160car.jpg", + "workflow/512x512.png", + "workflow/512x512bkgd.jpg", + "workflow/768x1344_beach.png", + "workflow/768x1344_dress.png", + "workflow/collage_example.json", + "workflow/deepseek_api_example.json", + "workflow/draw_bbox_mask_example.json", + "workflow/draw_bbox_mask_v2_example.json", + "workflow/florence2_image2prompt_example.json", + "workflow/florence2_ultra_example.json", + "workflow/fox_512x512.png", + "workflow/gemini_example.json", + "workflow/gemini_image_edit_example.json", + "workflow/get_color_tone_v2_example.json", + "workflow/get_main_color_and_color_name_example.json", + "workflow/girl_dino_1024.png", + "workflow/image_reward_filter_example.json", + "workflow/joycaption2_example.json", + "workflow/lama_example.json", + "workflow/phi_prompt_example.json", + "workflow/prompt_embellish_example.json", + "workflow/prompt_tagger_example.json", + "workflow/sam2_ultra_example.json", + "workflow/sam2_video_ultra_example.json", + "workflow/sd3_negative_conditioning.json", + "workflow/ultra_v2_nodes_example.json", + "workflow/watermark_example.json", + "workflow/zhipu_glm4_example.json" +] diff --git a/docs/hel-892/watermark-reference/layer-registry-2.0.38.json b/docs/hel-892/watermark-reference/layer-registry-2.0.38.json new file mode 100644 index 00000000..28a3b9df --- /dev/null +++ b/docs/hel-892/watermark-reference/layer-registry-2.0.38.json @@ -0,0 +1 @@ +{"changelog":"","createdAt":"2026-04-08T04:28:28.060712Z","dependencies":["numpy","matplotlib","scikit_image","scikit_learn","opencv-contrib-python","pymatting","timm","blend_modes","transformers","diffusers","loguru","colour-science","huggingface_hub","segment_anything","addict","omegaconf","yapf","wget","iopath","mediapipe","typer_config","fastapi","rich","google-generativeai","ultralytics","transparent-background","accelerate","onnxruntime","bitsandbytes","peft","protobuf","hydra-core","blind-watermark","qrcode","pyzbar","psd-tools","wandb","zhipuai","openai","google-genai","fastapi","typer-config"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip","id":"db305def-250b-448d-88b6-e43acbeb03af","node_id":"ComfyUI_LayerStyle_Advance","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"2.0.38"} diff --git a/docs/hel-892/watermark-reference/layer__LICENSE b/docs/hel-892/watermark-reference/layer__LICENSE new file mode 100644 index 00000000..e2568121 --- /dev/null +++ b/docs/hel-892/watermark-reference/layer__LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 chflame163 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/docs/hel-892/watermark-reference/layer____init__.py b/docs/hel-892/watermark-reference/layer____init__.py new file mode 100644 index 00000000..8bef74e6 --- /dev/null +++ b/docs/hel-892/watermark-reference/layer____init__.py @@ -0,0 +1,48 @@ +import importlib.util +import os +import sys +import json + +NODE_CLASS_MAPPINGS = {} +NODE_DISPLAY_NAME_MAPPINGS = {} + +python = sys.executable + +def get_ext_dir(subpath=None, mkdir=False): + dir = os.path.dirname(__file__) + if subpath is not None: + dir = os.path.join(dir, subpath) + + dir = os.path.abspath(dir) + + if mkdir and not os.path.exists(dir): + os.makedirs(dir) + return dir + +def serialize(obj): + if isinstance(obj, (str, int, float, bool, list, dict, type(None))): + return obj + return str(obj) # 转为字符串 + + +py = get_ext_dir("py") +files = os.listdir(py) +all_nodes = {} +for file in files: + if not file.endswith(".py"): + continue + name = os.path.splitext(file)[0] + imported_module = importlib.import_module(".py.{}".format(name), __name__) + try: + NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS} + NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS} + serialized_CLASS_MAPPINGS = {k: serialize(v) for k, v in imported_module.NODE_CLASS_MAPPINGS.items()} + serialized_DISPLAY_NAME_MAPPINGS = {k: serialize(v) for k, v in imported_module.NODE_DISPLAY_NAME_MAPPINGS.items()} + all_nodes[file]={"NODE_CLASS_MAPPINGS": serialized_CLASS_MAPPINGS, "NODE_DISPLAY_NAME_MAPPINGS": serialized_DISPLAY_NAME_MAPPINGS} + except: + pass + + +WEB_DIRECTORY = "./js" + +__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"] diff --git a/docs/hel-892/watermark-reference/layer__py__imagefunc.py b/docs/hel-892/watermark-reference/layer__py__imagefunc.py new file mode 100644 index 00000000..5209ec7d --- /dev/null +++ b/docs/hel-892/watermark-reference/layer__py__imagefunc.py @@ -0,0 +1,2581 @@ +"""Image process functions for ComfyUI nodes +by chflame https://github.com/chflame163 + +@author: chflame +@title: LayerStyle +@nickname: LayerStyle +@description: A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality. +""" + +import os +import sys +sys.path.append(os.path.dirname(os.path.abspath(__file__))) +import pickle +import copy +import re +import json +import math +import glob +import numpy as np +import torch +import scipy.ndimage +import cv2 +import random +import time +from pathlib import Path +from tqdm import tqdm +from functools import lru_cache +from typing import Union, List +from PIL import Image, ImageFilter, ImageChops, ImageDraw, ImageOps, ImageEnhance, ImageFont +from skimage import img_as_float, img_as_ubyte +import torchvision.transforms.functional as TF +import torch.nn.functional as F +from transformers import AutoModel, AutoProcessor, StoppingCriteria, StoppingCriteriaList, AutoModelForCausalLM, AutoTokenizer +from colorsys import rgb_to_hsv +import folder_paths +import comfy.model_management +from .blendmodes import * + +def log(message:str, message_type:str='info'): + name = 'LayerStyle' + + if message_type == 'error': + message = '\033[1;41m' + message + '\033[m' + elif message_type == 'warning': + message = '\033[1;31m' + message + '\033[m' + elif message_type == 'finish': + message = '\033[1;32m' + message + '\033[m' + else: + message = '\033[1;33m' + message + '\033[m' + print(f"# 😺dzNodes: {name} -> {message}") + +try: + from cv2.ximgproc import guidedFilter +except ImportError as e: + # print(e) + log(f"Cannot import name 'guidedFilter' from 'cv2.ximgproc'" + f"\nA few nodes cannot works properly, while most nodes are not affected. Please REINSTALL package 'opencv-contrib-python'." + f"\nFor detail refer to \033[4mhttps://github.com/chflame163/ComfyUI_LayerStyle/issues/5\033[0m") + + + +'''warpper''' + +# create a wrapper function that can apply a function to multiple images in a batch while passing all other arguments to the function +def apply_to_batch(func): + def wrapper(self, image, *args, **kwargs): + images = [] + for img in image: + images.append(func(self, img, *args, **kwargs)) + batch_tensor = torch.cat(images, dim=0) + return (batch_tensor,) + return wrapper + + +'''pickle''' + + +def read_image(filename:str) -> Image: + return Image.open(filename) + +def pickle_to_file(obj:object, file_path:str): + with open(file_path, 'wb') as f: + pickle.dump(obj, f) + +def load_pickle(file_name:str) -> object: + with open(file_name, 'rb') as f: + obj = pickle.load(f) + return obj + +def load_light_leak_images() -> list: + file = os.path.join(folder_paths.models_dir, "layerstyle", "light_leak.pkl") + return load_pickle(file) + +def check_and_download_model(model_path, repo_id): + model_path = os.path.join(folder_paths.models_dir, model_path) + + if not os.path.exists(model_path): + print(f"Downloading {repo_id} model...") + from huggingface_hub import snapshot_download + snapshot_download(repo_id=repo_id, local_dir=model_path, ignore_patterns=["*.md", "*.txt", "onnx", ".git"]) + return model_path + +'''Converter''' + +def cv22ski(cv2_image:np.ndarray) -> np.array: + return img_as_float(cv2_image) + +def ski2cv2(ski:np.array) -> np.ndarray: + return img_as_ubyte(ski) + +def cv22pil(cv2_img:np.ndarray) -> Image: + cv2_img = cv2.cvtColor(cv2_img, cv2.COLOR_BGR2RGB) + return Image.fromarray(cv2_img) + +def pil2cv2(pil_img:Image) -> np.array: + np_img_array = np.asarray(pil_img) + return cv2.cvtColor(np_img_array, cv2.COLOR_RGB2BGR) + +def pil2tensor(image:Image) -> torch.Tensor: + return torch.from_numpy(np.array(image).astype(np.float32) / 255.0).unsqueeze(0) + +def np2pil(np_image:np.ndarray) -> Image: + return Image.fromarray(np_image) + +def pil2np(pil_image:Image) -> np.array: + return np.ndarray(pil_image) + +def np2tensor(img_np: Union[np.ndarray, List[np.ndarray]]) -> torch.Tensor: + if isinstance(img_np, list): + return torch.cat([np2tensor(img) for img in img_np], dim=0) + return torch.from_numpy(img_np.astype(np.float32) / 255.0).unsqueeze(0) + +def tensor2np(tensor: torch.Tensor) -> List[np.ndarray]: + if len(tensor.shape) == 3: # Single image + return np.clip(255.0 * tensor.cpu().numpy(), 0, 255).astype(np.uint8) + else: # Batch of images + return [np.clip(255.0 * t.cpu().numpy(), 0, 255).astype(np.uint8) for t in tensor] + +def tensor2pil(t_image: torch.Tensor) -> Image: + if t_image.dtype != torch.float32: + t_image = t_image.float() + return Image.fromarray( + np.clip( + 255.0 * t_image.cpu().numpy().squeeze(), + 0, + 255 + ).astype(np.uint8) + ) + +def tensor2cv2(image:torch.Tensor) -> np.array: + if image.dim() == 4: + image = image.squeeze() + npimage = image.numpy() + cv2image = np.uint8(npimage * 255 / npimage.max()) + return cv2.cvtColor(cv2image, cv2.COLOR_RGB2BGR) + +def image2mask(image:Image) -> torch.Tensor: + if image.mode == 'L': + return torch.tensor([pil2tensor(image)[0, :, :].tolist()]) + else: + image = image.convert('RGB').split()[0] + return torch.tensor([pil2tensor(image)[0, :, :].tolist()]) + +def mask2image(mask:torch.Tensor) -> Image: + masks = tensor2np(mask) + for m in masks: + _mask = Image.fromarray(m).convert("L") + _image = Image.new("RGBA", _mask.size, color='white') + _image = Image.composite( + _image, Image.new("RGBA", _mask.size, color='black'), _mask) + return _image + +'''Image Functions''' + +# 颜色加深 +def blend_color_burn(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = 1 - (1 - img_2) / (img_1 + 0.001) + mask_1 = img < 0 + mask_2 = img > 1 + img = img * (1 - mask_1) + img = img * (1 - mask_2) + mask_2 + return cv22pil(ski2cv2(img)) + +# 颜色减淡 +def blend_color_dodge(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_2 / (1.0 - img_1 + 0.001) + mask_2 = img > 1 + img = img * (1 - mask_2) + mask_2 + return cv22pil(ski2cv2(img)) + +# 线性加深 +def blend_linear_burn(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_1 + img_2 - 1 + mask_1 = img < 0 + img = img * (1 - mask_1) + return cv22pil(ski2cv2(img)) + +# 线性减淡 +def blend_linear_dodge(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_1 + img_2 + mask_2 = img > 1 + img = img * (1 - mask_2) + mask_2 + return cv22pil(ski2cv2(img)) + +# 变亮 +def blend_lighten(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_1 - img_2 + mask = img > 0 + img = img_1 * mask + img_2 * (1 - mask) + return cv22pil(ski2cv2(img)) + +# 变暗 +def blend_dark(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_1 - img_2 + mask = img < 0 + img = img_1 * mask + img_2 * (1 - mask) + return cv22pil(ski2cv2(img)) + +# 滤色 +def blend_screen(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = 1 - (1 - img_1) * (1 - img_2) + return cv22pil(ski2cv2(img)) + +# 叠加 +def blend_overlay(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + mask = img_2 < 0.5 + img = 2 * img_1 * img_2 * mask + (1 - mask) * (1 - 2 * (1 - img_1) * (1 - img_2)) + return cv22pil(ski2cv2(img)) + +# 柔光 +def blend_soft_light(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + mask = img_1 < 0.5 + T1 = (2 * img_1 - 1) * (img_2 - img_2 * img_2) + img_2 + T2 = (2 * img_1 - 1) * (np.sqrt(img_2) - img_2) + img_2 + img = T1 * mask + T2 * (1 - mask) + return cv22pil(ski2cv2(img)) + +# 强光 +def blend_hard_light(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + mask = img_1 < 0.5 + T1 = 2 * img_1 * img_2 + T2 = 1 - 2 * (1 - img_1) * (1 - img_2) + img = T1 * mask + T2 * (1 - mask) + return cv22pil(ski2cv2(img)) + +# 亮光 +def blend_vivid_light(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + mask = img_1 < 0.5 + T1 = 1 - (1 - img_2) / (2 * img_1 + 0.001) + T2 = img_2 / (2 * (1 - img_1) + 0.001) + mask_1 = T1 < 0 + mask_2 = T2 > 1 + T1 = T1 * (1 - mask_1) + T2 = T2 * (1 - mask_2) + mask_2 + img = T1 * mask + T2 * (1 - mask) + return cv22pil(ski2cv2(img)) + +# 点光 +def blend_pin_light(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + mask_1 = img_2 < (img_1 * 2 - 1) + mask_2 = img_2 > 2 * img_1 + T1 = 2 * img_1 - 1 + T2 = img_2 + T3 = 2 * img_1 + img = T1 * mask_1 + T2 * (1 - mask_1) * (1 - mask_2) + T3 * mask_2 + return cv22pil(ski2cv2(img)) + +# 线性光 +def blend_linear_light(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_2 + img_1 * 2 - 1 + mask_1 = img < 0 + mask_2 = img > 1 + img = img * (1 - mask_1) + img = img * (1 - mask_2) + mask_2 + return cv22pil(ski2cv2(img)) + +def blend_hard_mix(background_image:Image, layer_image:Image) -> Image: + img_1 = cv22ski(pil2cv2(background_image)) + img_2 = cv22ski(pil2cv2(layer_image)) + img = img_1 + img_2 + mask = img_1 + img_2 > 1 + img = img * (1 - mask) + mask + img = img * mask + return cv22pil(ski2cv2(img)) + +def shift_image(image:Image, distance_x:int, distance_y:int, background_color:str='#000000', cyclic:bool=False) -> Image: + width = image.width + height = image.height + ret_image = Image.new('RGB', size=(width, height), color=background_color) + for x in range(width): + for y in range(height): + if cyclic: + orig_x = x + distance_x + if orig_x > width-1 or orig_x < 0: + orig_x = abs(orig_x % width) + orig_y = y + distance_y + if orig_y > height-1 or orig_y < 0: + orig_y = abs(orig_y % height) + + pixel = image.getpixel((orig_x, orig_y)) + ret_image.putpixel((x, y), pixel) + else: + if x > -distance_x and y > -distance_y: # 防止回转 + if x + distance_x < width and y + distance_y < height: # 防止越界 + pixel = image.getpixel((x + distance_x, y + distance_y)) + ret_image.putpixel((x, y), pixel) + return ret_image + +def chop_image(background_image:Image, layer_image:Image, blend_mode:str, opacity:int) -> Image: + ret_image = background_image + if blend_mode == 'normal': + ret_image = copy.deepcopy(layer_image) + if blend_mode == 'multply': + ret_image = ImageChops.multiply(background_image,layer_image) + if blend_mode == 'screen': + ret_image = ImageChops.screen(background_image, layer_image) + if blend_mode == 'add': + ret_image = ImageChops.add(background_image, layer_image, 1, 0) + if blend_mode == 'subtract': + ret_image = ImageChops.subtract(background_image, layer_image, 1, 0) + if blend_mode == 'difference': + ret_image = ImageChops.difference(background_image, layer_image) + if blend_mode == 'darker': + ret_image = ImageChops.darker(background_image, layer_image) + if blend_mode == 'lighter': + ret_image = ImageChops.lighter(background_image, layer_image) + if blend_mode == 'color_burn': + ret_image = blend_color_burn(background_image, layer_image) + if blend_mode == 'color_dodge': + ret_image = blend_color_dodge(background_image, layer_image) + if blend_mode == 'linear_burn': + ret_image = blend_linear_burn(background_image, layer_image) + if blend_mode == 'linear_dodge': + ret_image = blend_linear_dodge(background_image, layer_image) + if blend_mode == 'overlay': + ret_image = blend_overlay(background_image, layer_image) + if blend_mode == 'soft_light': + ret_image = blend_soft_light(background_image, layer_image) + if blend_mode == 'hard_light': + ret_image = blend_hard_light(background_image, layer_image) + if blend_mode == 'vivid_light': + ret_image = blend_vivid_light(background_image, layer_image) + if blend_mode == 'pin_light': + ret_image = blend_pin_light(background_image, layer_image) + if blend_mode == 'linear_light': + ret_image = blend_linear_light(background_image, layer_image) + if blend_mode == 'hard_mix': + ret_image = blend_hard_mix(background_image, layer_image) + # opacity + if opacity == 0: + ret_image = background_image + elif opacity < 100: + alpha = 1.0 - float(opacity) / 100 + ret_image = Image.blend(ret_image, background_image, alpha) + return ret_image + +def chop_image_v2(background_image:Image, layer_image:Image, blend_mode:str, opacity:int) -> Image: + + backdrop_prepped = np.asarray(background_image.convert('RGBA'), dtype=float) + source_prepped = np.asarray(layer_image.convert('RGBA'), dtype=float) + blended_np = BLEND_MODES[blend_mode](backdrop_prepped, source_prepped, opacity / 100) + + return Image.fromarray(np.uint8(blended_np)).convert('RGB') + +def remove_background(image:Image, mask:Image, color:str) -> Image: + width = image.width + height = image.height + ret_image = Image.new('RGB', size=(width, height), color=color) + ret_image.paste(image, mask=mask) + return ret_image + +def sharpen(image:Image) -> Image: + img = pil2cv2(image) + Laplace_kernel = np.array([[-1, -1, -1], + [-1, 9, -1], + [-1, -1, -1]], dtype=np.float32) + ret_image = cv2.filter2D(img, -1, Laplace_kernel) + return cv22pil(ret_image) + +def gaussian_blur(image:Image, radius:int) -> Image: + # image = image.convert("RGBA") + ret_image = image.filter(ImageFilter.GaussianBlur(radius=radius)) + return ret_image + +def motion_blur(image:Image, angle:int, blur:int) -> Image: + angle += 45 + blur *= 5 + image = np.array(pil2cv2(image)) + M = cv2.getRotationMatrix2D((blur / 2, blur / 2), angle, 1) + motion_blur_kernel = np.diag(np.ones(blur)) + motion_blur_kernel = cv2.warpAffine(motion_blur_kernel, M, (blur, blur)) + motion_blur_kernel = motion_blur_kernel / blur + blurred = cv2.filter2D(image, -1, motion_blur_kernel) + # convert to uint8 + cv2.normalize(blurred, blurred, 0, 255, cv2.NORM_MINMAX) + blurred = np.array(blurred, dtype=np.uint8) + ret_image = cv22pil(blurred) + return ret_image + +def __apply_vignette(image, vignette): + # If image needs to be normalized (0-1 range) + needs_normalization = image.max() > 1 + if needs_normalization: + image = image.astype(np.float32) / 255 + final_image = np.clip(image * vignette[..., np.newaxis], 0, 1) + if needs_normalization: + final_image = (final_image * 255).astype(np.uint8) + return final_image +def vignette_image(image:Image, intensity: float, center_x: float, center_y: float) -> Image: + image = pil2tensor(image) + _, height, width, _ = image.shape + # Generate the vignette for each image in the batch + # Create linear space but centered around the provided center point ratios + x = np.linspace(-1, 1, width) + y = np.linspace(-1, 1, height) + X, Y = np.meshgrid(x - (2 * center_x - 1), y - (2 * center_y - 1)) + # Calculate distances to the furthest corner + distances_to_corners = [ + np.sqrt((0 - center_x) ** 2 + (0 - center_y) ** 2), + np.sqrt((1 - center_x) ** 2 + (0 - center_y) ** 2), + np.sqrt((0 - center_x) ** 2 + (1 - center_y) ** 2), + np.sqrt((1 - center_x) ** 2 + (1 - center_y) ** 2) + ] + max_distance_to_corner = np.max(distances_to_corners) + radius = np.sqrt(X ** 2 + Y ** 2) + radius = radius / (max_distance_to_corner * np.sqrt(2)) # Normalize radius + opacity = np.clip(intensity, 0, 1) + vignette = 1 - radius * opacity + tensor_image = image.numpy() + # Apply vignette + vignette_image = __apply_vignette(tensor_image, vignette) + return tensor2pil(torch.from_numpy(vignette_image).unsqueeze(0)) + +def RGB2YCbCr(t): + YCbCr = t.detach().clone() + YCbCr[:,:,:,0] = 0.2123 * t[:,:,:,0] + 0.7152 * t[:,:,:,1] + 0.0722 * t[:,:,:,2] + YCbCr[:,:,:,1] = 0 - 0.1146 * t[:,:,:,0] - 0.3854 * t[:,:,:,1] + 0.5 * t[:,:,:,2] + YCbCr[:,:,:,2] = 0.5 * t[:,:,:,0] - 0.4542 * t[:,:,:,1] - 0.0458 * t[:,:,:,2] + return YCbCr + +def YCbCr2RGB(t): + RGB = t.detach().clone() + RGB[:,:,:,0] = t[:,:,:,0] + 1.5748 * t[:,:,:,2] + RGB[:,:,:,1] = t[:,:,:,0] - 0.1873 * t[:,:,:,1] - 0.4681 * t[:,:,:,2] + RGB[:,:,:,2] = t[:,:,:,0] + 1.8556 * t[:,:,:,1] + return RGB + +# gaussian blur a tensor image batch in format [B x H x W x C] on H/W (spatial, per-image, per-channel) +def cv_blur_tensor(images, dx, dy): + if min(dx, dy) > 100: + np_img = torch.nn.functional.interpolate(images.detach().clone().movedim(-1,1), scale_factor=0.1, mode='bilinear').movedim(1,-1).cpu().numpy() + for index, image in enumerate(np_img): + np_img[index] = cv2.GaussianBlur(image, (dx // 20 * 2 + 1, dy // 20 * 2 + 1), 0) + return torch.nn.functional.interpolate(torch.from_numpy(np_img).movedim(-1,1), size=(images.shape[1], images.shape[2]), mode='bilinear').movedim(1,-1) + else: + np_img = images.detach().clone().cpu().numpy() + for index, image in enumerate(np_img): + np_img[index] = cv2.GaussianBlur(image, (dx, dy), 0) + return torch.from_numpy(np_img) + +def image_add_grain(image:Image, scale:float=0.5, strength:float=0.5, saturation:float=0.7, toe:float=0.0, seed:int=0) -> Image: + + image = pil2tensor(image.convert("RGB")) + t = image.detach().clone() + torch.manual_seed(seed) + grain = torch.rand(t.shape[0], int(t.shape[1] // scale), int(t.shape[2] // scale), 3) + + YCbCr = RGB2YCbCr(grain) + YCbCr[:, :, :, 0] = cv_blur_tensor(YCbCr[:, :, :, 0], 3, 3) + YCbCr[:, :, :, 1] = cv_blur_tensor(YCbCr[:, :, :, 1], 15, 15) + YCbCr[:, :, :, 2] = cv_blur_tensor(YCbCr[:, :, :, 2], 11, 11) + + grain = (YCbCr2RGB(YCbCr) - 0.5) * strength + grain[:, :, :, 0] *= 2 + grain[:, :, :, 2] *= 3 + grain += 1 + grain = grain * saturation + grain[:, :, :, 1].unsqueeze(3).repeat(1, 1, 1, 3) * (1 - saturation) + + grain = torch.nn.functional.interpolate(grain.movedim(-1, 1), size=(t.shape[1], t.shape[2]), + mode='bilinear').movedim(1, -1) + t[:, :, :, :3] = torch.clip((1 - (1 - t[:, :, :, :3]) * grain) * (1 - toe) + toe, 0, 1) + return tensor2pil(t) + +def filmgrain_image(image:Image, scale:float, grain_power:float, + shadows:float, highs:float, grain_sat:float, + sharpen:int=1, grain_type:int=4, src_gamma:float=1.0, + gray_scale:bool=False, seed:int=0) -> Image: + # image = pil2tensor(image) + # grain_type, 1=fine, 2=fine simple, 3=coarse, 4=coarser + grain_type_index = 3 + + # Apply grain + from .filmgrainer import filmgrainer as fg + grain_image = fg.process(image, scale=scale, src_gamma=src_gamma, grain_power=grain_power, + shadows=shadows, highs=highs, grain_type=grain_type_index, + grain_sat=grain_sat, gray_scale=gray_scale, sharpen=sharpen, seed=seed) + return tensor2pil(torch.from_numpy(grain_image).unsqueeze(0)) + +def __apply_radialblur(image, blur_strength, radial_mask, focus_spread, steps): + from .filmgrainer import processing as processing_utils + needs_normalization = image.max() > 1 + if needs_normalization: + image = image.astype(np.float32) / 255 + blurred_images = processing_utils.generate_blurred_images(image, blur_strength, steps, focus_spread) + final_image = processing_utils.apply_blurred_images(image, blurred_images, radial_mask) + if needs_normalization: + final_image = np.clip(final_image * 255, 0, 255).astype(np.uint8) + return final_image + +def radialblur_image(image:Image, blur_strength:float, center_x:float, center_y:float, focus_spread:float, steps:int=5) -> Image: + width, height = image.size + image = pil2tensor(image) + if image.dim() == 4: + image = image[0] + + # _, height, width, = image.shape + # Generate the vignette for each image in the batch + c_x, c_y = int(width * center_x), int(height * center_y) + # Calculate distances to all corners from the center + distances_to_corners = [ + np.sqrt((c_x - 0)**2 + (c_y - 0)**2), + np.sqrt((c_x - width)**2 + (c_y - 0)**2), + np.sqrt((c_x - 0)**2 + (c_y - height)**2), + np.sqrt((c_x - width)**2 + (c_y - height)**2) + ] + max_distance_to_corner = max(distances_to_corners) + # Create and adjust radial mask + X, Y = np.meshgrid(np.arange(width) - c_x, np.arange(height) - c_y) + radial_mask = np.sqrt(X**2 + Y**2) / max_distance_to_corner + tensor_image = image.numpy() + # Apply blur + blur_image = __apply_radialblur(tensor_image, blur_strength, radial_mask, focus_spread, steps) + return tensor2pil(torch.from_numpy(blur_image).unsqueeze(0)) + +def __apply_depthblur(image, depth_map, blur_strength, focal_depth, focus_spread, steps): + from .filmgrainer import processing as processing_utils + # Normalize the input image if needed + needs_normalization = image.max() > 1 + if needs_normalization: + image = image.astype(np.float32) / 255 + # Normalize the depth map if needed + depth_map = depth_map.astype(np.float32) / 255 if depth_map.max() > 1 else depth_map + # Resize depth map to match the image dimensions + depth_map_resized = cv2.resize(depth_map, (image.shape[1], image.shape[0]), interpolation=cv2.INTER_LINEAR) + if len(depth_map_resized.shape) > 2: + depth_map_resized = cv2.cvtColor(depth_map_resized, cv2.COLOR_BGR2GRAY) + # Adjust the depth map based on the focal plane + depth_mask = np.abs(depth_map_resized - focal_depth) + depth_mask = np.clip(depth_mask / np.max(depth_mask), 0, 1) + # Generate blurred versions of the image + blurred_images = processing_utils.generate_blurred_images(image, blur_strength, steps, focus_spread) + # Use the adjusted depth map as a mask for applying blurred images + final_image = processing_utils.apply_blurred_images(image, blurred_images, depth_mask) + # Convert back to original range if the image was normalized + if needs_normalization: + final_image = np.clip(final_image * 255, 0, 255).astype(np.uint8) + return final_image + +def depthblur_image(image:Image, depth_map:Image, blur_strength:float, focal_depth:float, focus_spread:float, steps:int=5) -> Image: + width, height = image.size + image = pil2tensor(image) + depth_map = pil2tensor(depth_map) + if image.dim() == 4: + image = image[0] + if depth_map.dim() == 4: + depth_map = depth_map[0] + tensor_image = image.numpy() + tensor_image_depth = depth_map.numpy() + # Apply blur + blur_image = __apply_depthblur(tensor_image, tensor_image_depth, blur_strength, focal_depth, focus_spread, steps) + return tensor2pil(torch.from_numpy(blur_image).unsqueeze(0)) + +def fit_resize_image(image:Image, target_width:int, target_height:int, fit:str, resize_sampler:str, background_color:str = '#000000') -> Image: + image = image.convert('RGB') + orig_width, orig_height = image.size + if image is not None: + if fit == 'letterbox': + if orig_width / orig_height > target_width / target_height: # 更宽,上下留黑 + fit_width = target_width + fit_height = int(target_width / orig_width * orig_height) + else: # 更瘦,左右留黑 + fit_height = target_height + fit_width = int(target_height / orig_height * orig_width) + fit_image = image.resize((fit_width, fit_height), resize_sampler) + ret_image = Image.new('RGB', size=(target_width, target_height), color=background_color) + ret_image.paste(fit_image, box=((target_width - fit_width)//2, (target_height - fit_height)//2)) + elif fit == 'crop': + if orig_width / orig_height > target_width / target_height: # 更宽,裁左右 + fit_width = int(orig_height * target_width / target_height) + fit_image = image.crop( + ((orig_width - fit_width)//2, 0, (orig_width - fit_width)//2 + fit_width, orig_height)) + else: # 更瘦,裁上下 + fit_height = int(orig_width * target_height / target_width) + fit_image = image.crop( + (0, (orig_height-fit_height)//2, orig_width, (orig_height-fit_height)//2 + fit_height)) + ret_image = fit_image.resize((target_width, target_height), resize_sampler) + else: + ret_image = image.resize((target_width, target_height), resize_sampler) + return ret_image + +def __rotate_expand(image:Image, angle:float, SSAA:int=0, method:str="lanczos") -> Image: + images = pil2tensor(image) + expand = "true" + height, width = images[0, :, :, 0].shape + + def rotate_tensor(tensor): + resize_sampler = Image.LANCZOS + rotate_sampler = Image.BICUBIC + if method == "bicubic": + resize_sampler = Image.BICUBIC + rotate_sampler = Image.BICUBIC + elif method == "hamming": + resize_sampler = Image.HAMMING + rotate_sampler = Image.BILINEAR + elif method == "bilinear": + resize_sampler = Image.BILINEAR + rotate_sampler = Image.BILINEAR + elif method == "box": + resize_sampler = Image.BOX + rotate_sampler = Image.NEAREST + elif method == "nearest": + resize_sampler = Image.NEAREST + rotate_sampler = Image.NEAREST + img = tensor2pil(tensor) + if SSAA > 1: + img_us_scaled = img.resize((width * SSAA, height * SSAA), resize_sampler) + img_rotated = img_us_scaled.rotate(angle, rotate_sampler, expand == "true", fillcolor=(0, 0, 0, 0)) + img_down_scaled = img_rotated.resize((img_rotated.width // SSAA, img_rotated.height // SSAA), resize_sampler) + result = pil2tensor(img_down_scaled) + else: + img_rotated = img.rotate(angle, rotate_sampler, expand == "true", fillcolor=(0, 0, 0, 0)) + result = pil2tensor(img_rotated) + return result + + if angle == 0.0 or angle == 360.0: + return tensor2pil(images) + else: + rotated_tensor = torch.stack([rotate_tensor(images[i]) for i in range(len(images))]) + return tensor2pil(rotated_tensor).convert('RGB') + +def image_rotate_extend_with_alpha(image:Image, angle:float, alpha:Image=None, method:str="lanczos", SSAA:int=0) -> tuple: + _image = __rotate_expand(image.convert('RGB'), angle, SSAA, method) + if angle is not None: + _alpha = __rotate_expand(alpha.convert('RGB'), angle, SSAA, method) + ret_image = RGB2RGBA(_image, _alpha) + else: + ret_image = _image + return (_image, _alpha.convert('L'), ret_image) + +def create_box_gradient(start_color_inhex:str, end_color_inhex:str, width:int, height:int, scale:int=50) -> Image: + # scale is percent of border to center for the rectangle + if scale > 100: + scale = 100 + elif scale < 1: + scale = 1 + start_color = Hex_to_RGB(start_color_inhex) + end_color = Hex_to_RGB(end_color_inhex) + ret_image = Image.new("RGB", (width, height), start_color) + draw = ImageDraw.Draw(ret_image) + step = int(min(width, height) * scale / 100 / 2) + if step > 0: + for i in range(step): + R = int(start_color[0] * (step - i) / step + end_color[0] * i / step) + G = int(start_color[1] * (step - i) / step + end_color[1] * i / step) + B = int(start_color[2] * (step - i) / step + end_color[2] * i / step) + color = (R, G, B) + draw.rectangle((i, i, width - i, height - i), fill=color) + draw.rectangle((step, step, width - step, height - step), fill=end_color) + return ret_image + +def create_gradient(start_color_inhex:str, end_color_inhex:str, width:int, height:int, direction:str='bottom') -> Image: + # direction = one of top, bottom, left, right + start_color = Hex_to_RGB(start_color_inhex) + end_color = Hex_to_RGB(end_color_inhex) + ret_image = Image.new("RGB", (width, height), start_color) + draw = ImageDraw.Draw(ret_image) + if direction == 'bottom': + for i in range(height): + R = int(start_color[0] * (height - i) / height + end_color[0] * i / height) + G = int(start_color[1] * (height - i) / height + end_color[1] * i / height) + B = int(start_color[2] * (height - i) / height + end_color[2] * i / height) + color = (R, G, B) + draw.line((0, i, width, i), fill=color) + elif direction == 'top': + for i in range(height): + R = int(end_color[0] * (height - i) / height + start_color[0] * i / height) + G = int(end_color[1] * (height - i) / height + start_color[1] * i / height) + B = int(end_color[2] * (height - i) / height + start_color[2] * i / height) + color = (R, G, B) + draw.line((0, i, width, i), fill=color) + elif direction == 'right': + for i in range(width): + R = int(start_color[0] * (width - i) / width + end_color[0] * i / width) + G = int(start_color[1] * (width - i) / width + end_color[1] * i / width) + B = int(start_color[2] * (width - i) / width + end_color[2] * i / width) + color = (R, G, B) + draw.line((i, 0, i, height), fill=color) + elif direction == 'left': + for i in range(width): + R = int(end_color[0] * (width - i) / width + start_color[0] * i / width) + G = int(end_color[1] * (width - i) / width + start_color[1] * i / width) + B = int(end_color[2] * (width - i) / width + start_color[2] * i / width) + color = (R, G, B) + draw.line((i, 0, i, height), fill=color) + else: + log(f'A argument error of imagefunc.create_gradient(), ' + f'"direction=" must one of "top, bottom, left, right".', + message_type='error') + + return ret_image + +def gradient(start_color_inhex:str, end_color_inhex:str, width:int, height:int, angle:float, ) -> Image: + radius = int((width + height) / 4) + g = create_gradient(start_color_inhex, end_color_inhex, radius, radius) + _canvas = Image.new('RGB', size=(radius, radius*3), color=start_color_inhex) + top = Image.new('RGB', size=(radius, radius), color=start_color_inhex) + bottom = Image.new('RGB', size=(radius, radius),color=end_color_inhex) + _canvas.paste(top, box=(0, 0, radius, radius)) + _canvas.paste(g, box=(0, radius, radius, radius * 2)) + _canvas.paste(bottom,box=(0, radius * 2, radius, radius * 3)) + _canvas = _canvas.resize((radius * 3, radius * 3)) + _canvas = __rotate_expand(_canvas,angle) + center = int(_canvas.width / 2) + _x = int(width / 3) + _y = int(height / 3) + ret_image = _canvas.crop((center - _x, center - _y, center + _x, center + _y)) + ret_image = ret_image.resize((width, height)) + return ret_image + +def draw_rounded_rectangle(image:Image, radius:int, bboxes:list, scale_factor:int=2, color:str="white") -> Image: + """ + 绘制圆角矩形图像。 + image:输入图片 + radius: 半径,100为纯椭圆 + bboxes: (x1,y1,x2,y2)列表 + scale_factor: 放大倍数 + :return: 绘制好的pillow图像 + """ + if scale_factor < 1 : scale_factor = 1 + + img = image.resize((image.width * scale_factor, image.height * scale_factor), Image.LANCZOS) + draw = ImageDraw.Draw(img) + + for (x1, y1, x2, y2) in bboxes: + r = radius * min(x2-x1, y2-y1) * 0.005 + x1, y1, x2, y2 = x1 * scale_factor, y1 * scale_factor, x2 * scale_factor, y2 * scale_factor + # 计算圆角矩形的四个角的圆弧 + draw.rounded_rectangle([x1, y1, x2, y2], radius=r * scale_factor, fill=color) + + img = img.filter(ImageFilter.SMOOTH_MORE) + img = img.resize((image.width, image.height), Image.LANCZOS) + + return img + +def draw_rect(image:Image, x:int, y:int, width:int, height:int, line_color:str, line_width:int, + box_color:str=None) -> Image: + draw = ImageDraw.Draw(image) + draw.rectangle((x, y, x + width, y + height), fill=box_color, outline=line_color, width=line_width, ) + return image + +def draw_border(image:Image, border_width:int, color:str='#FFFFFF') -> Image: + return ImageOps.expand(image, border=border_width, fill=color) + +# 对灰度图像进行直方图均衡化 +def normalize_gray(image:Image) -> Image: + if image.mode != 'L': + image = image.convert('L') + img = np.asarray(image) + balanced_img = img.copy() + hist, bins = np.histogram(img.reshape(-1), 256, (0, 256)) + bmin = np.min(np.where(hist > (hist.sum() * 0.0005))) + bmax = np.max(np.where(hist > (hist.sum() * 0.0005))) + balanced_img = np.clip(img, bmin, bmax) + balanced_img = ((balanced_img - bmin) / (bmax - bmin) * 255) + return Image.fromarray(balanced_img).convert('L') + +def remap_pixel(pixel:int, min_brightness:int, max_brightness:int) -> int: + return int((pixel - min_brightness) / (max_brightness - min_brightness) * 255) +def histogram_range(image:Image, black_point:int, black_range:int, white_point:int, white_range:int) -> Image: + + if image.mode != 'L': + image = image.convert('L') + + if black_point == 255: + black_point = 254 + if white_point == 0: + white_point = 1 + if black_point + black_range > 255: + black_range = 255 - black_point + if white_range > white_point: + white_range = white_point + + white_image = Image.new("L", size=image.size, color="white") + black_image = Image.new("L", size=image.size, color="black") + + if black_point == white_point: + return white_image + + + # draw white part + white_part = black_image + if white_point < 255 or white_range > 0: + for y in (range(image.height)): + for x in range(image.width): + pixel = image.getpixel((x, y)) + if pixel > white_point: # put white + white_part.putpixel((x, y), 255) + elif pixel > white_point - white_range: + pixel = remap_pixel(pixel, white_point - white_range, white_point) + white_part.putpixel((x, y), pixel) + white_part = ImageChops.invert(white_part) + + + # draw black part + black_part = black_image + if black_point > 0 or black_range > 0: + for y in (range(image.height)): + for x in range(image.width): + pixel = image.getpixel((x, y)) + if pixel < black_point: # put black + black_part.putpixel((x, y), 255) + elif pixel < black_point + black_range: + pixel = remap_pixel(pixel, black_point, black_point + black_range) + black_part.putpixel((x, y), 255 - pixel) + black_part = ImageChops.invert(black_part) + + ret_image = chop_image_v2(white_part, black_part, blend_mode='darken', opacity=100) + + return ret_image + +def histogram_equalization(image:Image, mask:Image=None, gamma_strength=0.5) -> Image: + + if image.mode != 'L': + image = image.convert('L') + + if mask is not None: + if mask.mode != 'L': + mask = mask.convert('L') + else: + mask = Image.new('L', size=image.size, color = 'white') + + # calculate Min/Max brightness pixel + min_brightness = 255 + max_brightness = 0 + average_brightness = 0 + total_pixel = 0 + for y in range(image.height): + for x in range(image.width): + if mask.getpixel((x, y)) == 0: + continue + else: + pixel = image.getpixel((x, y)) + if pixel < min_brightness: + min_brightness = pixel + if pixel > max_brightness: + max_brightness = pixel + average_brightness += pixel + total_pixel += 1 + if total_pixel == 0: + log(f"histogram_equalization: mask is not available, return orinianl image.") + return image + average_brightness = int(average_brightness / total_pixel) + + for y in range(image.height): + for x in range(image.width): + pixel = image.getpixel((x, y)) + image.putpixel((x, y), remap_pixel(pixel, min_brightness, max_brightness)) + + image = gamma_trans(image, (average_brightness - 127) / 127 * gamma_strength * 0.66 + 1) + + return image.convert('L') + +def adjust_levels(image:Image, input_black:int=0, input_white:int=255, midtones:float=1.0, + output_black:int=0, output_white:int=255) -> Image: + + if input_black == input_white or output_black == output_white: + return Image.new('RGB', size=image.size, color='gray') + + img = pil2cv2(image).astype(np.float64) + + if input_black > input_white: + input_black, input_white = input_white, input_black + if output_black > output_white: + output_black, output_white = output_white, output_black + + + # input_levels remap + if input_black > 0 or input_white < 255: + img = 255 * ((img - input_black) / (input_white - input_black)) + img[img < 0] = 0 + img[img > 255] = 255 + + # # mid_tone + if midtones != 1.0: + img = 255 * np.power(img / 255, 1.0 / midtones) + + img[img < 0] = 0 + img[img > 255] = 255 + + # output_levels remap + if output_black > 0 or output_white < 255: + img = (img / 255) * (output_white - output_black) + output_black + img[img < 0] = 0 + img[img > 255] = 255 + + img = img.astype(np.uint8) + return cv22pil(img) + +def get_image_color_tone(image:Image, mask:Image=None) -> str: + image = image.convert('RGB') + max_score = 0.0001 + dominant_color = (255, 255, 255) + if mask is not None: + if mask.mode != 'L': + mask = mask.convert('L') + canvas = Image.new('RGB', size=image.size, color='black') + canvas.paste(image, mask=mask) + image = canvas + + all_colors = image.getcolors(image.width * image.height) + for count, (r, g, b) in all_colors: + if mask is not None: + if r + g + b < 2: # 忽略黑色 + continue + saturation = rgb_to_hsv(r / 255.0, g / 255.0, b / 255.0)[1] + y = min(abs(r * 2104 + g * 4130 + b * 802 + 4096 + 131072) >> 13,235) + y = (y - 16.0) / (235 - 16) + score = (saturation+0.1)*count + if score > max_score: + max_score = score + dominant_color = (r, g, b) + ret_color = RGB_to_Hex(dominant_color) + return ret_color + +def get_image_color_average(image:Image, mask:Image=None) -> str: + image = image.convert('RGB') + width, height = image.size + total_red = 0 + total_green = 0 + total_blue = 0 + total_pixel =0 + for y in range(height): + for x in range(width): + if mask is not None: + if mask.mode != 'L': + mask = mask.convert('L') + if mask.getpixel((x, y)) <= 127: + continue + rgb = image.getpixel((x, y)) + total_red += rgb[0] + total_green += rgb[1] + total_blue += rgb[2] + total_pixel += 1 + + average_red = total_red // total_pixel + average_green = total_green // total_pixel + average_blue = total_blue // total_pixel + color = (average_red, average_green, average_blue) + ret_color = RGB_to_Hex(color) + return ret_color + +def get_gray_average(image:Image, mask:Image=None) -> int: + # image.mode = 'HSV', mask.mode = 'L' + image = image.convert('HSV') + + if mask is not None: + if mask.mode != 'L': + mask = mask.convert('L') + else: + mask = Image.new('L', size=image.size, color='white') + _, _, _v = image.convert('HSV').split() + _v = np.array(_v) + average_gray = _v[np.array(mask) > 16].mean() + # width, height = image.size + # total_gray = 0 + # valid_pixels = 0 + # for y in range(height): + # for x in range(width): + # if mask is not None: + # if mask.getpixel((x, y)) > 16: #mask亮度低于16的忽略不计 + # gray = _v.getpixel((x, y)) + # total_gray += gray + # valid_pixels += 1 + # else: + # gray = _v.getpixel((x, y)) + # total_gray += gray + # valid_pixels += 1 + # average_gray = total_gray // valid_pixels + return average_gray + +def calculate_shadow_highlight_level(gray:int) -> float: + range = 255 + shadow_exponent = 3 + highlight_exponent = 2 + shadow_ratio = gray ** shadow_exponent / range ** shadow_exponent + highlight_ratio = gray ** highlight_exponent / range ** highlight_exponent + shadow_level = shadow_ratio * 100 + (1 - shadow_ratio) * 32 + highlight_level = highlight_ratio * 100 + (1 - highlight_ratio) * 32 + return shadow_level, highlight_level + +def luminance_keyer(image:Image, low:float=0, high:float=1, gamma:float=1) -> Image: + image = pil2tensor(image) + t = image[:, :, :, :3].detach().clone() + alpha = 0.2126 * t[:, :, :, 0] + 0.7152 * t[:, :, :, 1] + 0.0722 * t[:, :, :, 2] + if low == high: + alpha = (alpha > high).to(t.dtype) + else: + alpha = (alpha - low) / (high - low) + if gamma != 1.0: + alpha = torch.pow(alpha, 1 / gamma) + alpha = torch.clamp(alpha, min=0, max=1).unsqueeze(3).repeat(1, 1, 1, 3) + return tensor2pil(alpha).convert('L') + +def get_image_bright_average(image:Image) -> int: + image = image.convert('L') + width, height = image.size + total_bright = 0 + pixels = 0 + for y in range(height): + for x in range(width): + b = image.getpixel((x, y)) + if b > 1: # 排除死黑 + pixels += 1 + total_bright += b + return int(total_bright / pixels) + +def image_channel_split(image:Image, mode = 'RGBA') -> tuple: + _image = image.convert('RGBA') + channel1 = Image.new('L', size=_image.size, color='black') + channel2 = Image.new('L', size=_image.size, color='black') + channel3 = Image.new('L', size=_image.size, color='black') + channel4 = Image.new('L', size=_image.size, color='black') + if mode == 'RGBA': + channel1, channel2, channel3, channel4 = _image.split() + if mode == 'RGB': + channel1, channel2, channel3 = _image.convert('RGB').split() + if mode == 'YCbCr': + channel1, channel2, channel3 = _image.convert('YCbCr').split() + if mode == 'LAB': + channel1, channel2, channel3 = _image.convert('LAB').split() + if mode == 'HSV': + channel1, channel2, channel3 = _image.convert('HSV').split() + return channel1, channel2, channel3, channel4 + +def image_channel_merge(channels:tuple, mode = 'RGB' ) -> Image: + channel1 = channels[0].convert('L') + channel2 = channels[1].convert('L') + channel3 = channels[2].convert('L') + channel4 = Image.new('L', size=channel1.size, color='white') + if mode == 'RGBA': + if len(channels) > 3: + channel4 = channels[3].convert('L') + ret_image = Image.merge('RGBA',[channel1, channel2, channel3, channel4]) + elif mode == 'RGB': + ret_image = Image.merge('RGB', [channel1, channel2, channel3]) + elif mode == 'YCbCr': + ret_image = Image.merge('YCbCr', [channel1, channel2, channel3]).convert('RGB') + elif mode == 'LAB': + ret_image = Image.merge('LAB', [channel1, channel2, channel3]).convert('RGB') + elif mode == 'HSV': + ret_image = Image.merge('HSV', [channel1, channel2, channel3]).convert('RGB') + return ret_image + +def image_gray_offset(image:Image, offset:int) -> Image: + image = image.convert('L') + image_array = np.array(image, dtype=np.int16) + image_array = np.clip(image_array + offset, 0, 255).astype(np.uint8) + ret_image = Image.fromarray(image_array, mode='L') + return ret_image + +def image_gray_ratio(image:Image, ratio:float) -> Image: + image = image.convert('L') + image_array = np.array(image, dtype=np.float32) + image_array = np.clip(image_array * ratio, 0, 255).astype(np.uint8) + ret_image = Image.fromarray(image_array, mode='L') + return ret_image + +def image_hue_offset(image:Image, offset:int) -> Image: + image = image.convert('L') + image_array = np.array(image, dtype=np.int16) + image_array = (image_array + offset) % 256 + image_array = image_array.astype(np.uint8) + ret_image = Image.fromarray(image_array, mode='L') + + return ret_image + +def gamma_trans(image:Image, gamma:float) -> Image: + cv2_image = pil2cv2(image) + gamma_table = [np.power(x/255.0,gamma)*255.0 for x in range(256)] + gamma_table = np.round(np.array(gamma_table)).astype(np.uint8) + _corrected = cv2.LUT(cv2_image,gamma_table) + return cv22pil(_corrected) + + +def read_LUT_IridasCube_encode_utf8(path: str): + from colour.utilities import as_float_array, as_int_scalar + from colour.io.luts.lut import LUT3x1D, LUT3D + title = re.sub("_|-|\\.", " ", os.path.splitext(os.path.basename(path))[0]) + domain_min, domain_max = np.array([0, 0, 0]), np.array([1, 1, 1]) + dimensions: int = 3 + size: int = 2 + data = [] + comments = [] + + with open(path, encoding='utf-8') as cube_file: + lines = cube_file.readlines() + for line in lines: + + line = line.strip() # noqa: PLW2901 + + if len(line) == 0: + continue + + if line.startswith("#"): + comments.append(line[1:].strip()) + continue + + tokens = line.split() + if tokens[0] == "TITLE": + title = " ".join(tokens[1:])[1:-1] + elif tokens[0] == "DOMAIN_MIN": + domain_min = as_float_array(tokens[1:]) + elif tokens[0] == "DOMAIN_MAX": + domain_max = as_float_array(tokens[1:]) + elif tokens[0] == "LUT_1D_SIZE": + dimensions = 2 + size = as_int_scalar(tokens[1]) + elif tokens[0] == "LUT_3D_SIZE": + dimensions = 3 + size = as_int_scalar(tokens[1]) + else: + data.append(tokens) + + table = as_float_array(data) + + LUT: LUT3x1D | LUT3D + if dimensions == 2: + LUT = LUT3x1D( + table, + title, + np.vstack([domain_min, domain_max]), + comments=comments, + ) + elif dimensions == 3: + # The lines of table data shall be in ascending index order, + # with the first component index (Red) changing most rapidly, + # and the last component index (Blue) changing least rapidly. + table = table.reshape([size, size, size, 3], order="F") + + LUT = LUT3D( + table, + title, + np.vstack([domain_min, domain_max]), + comments=comments, + ) + + return LUT + + +def apply_lut(image:Image, lut_file:str, colorspace:str, strength:int, clip_values:bool=True) -> Image: + """ + Apply a LUT to an image. + :param image: Image to apply the LUT to. + :param lut_file: LUT file to apply. + :param colorspace: Colorspace to convert the image to before applying the LUT. + :param clip_values: Clip the values of the LUT to the domain of the LUT. + :param strength: Strength of the LUT. + :return: Image with the LUT applied. + """ + log_colorspace = False + if colorspace == "log": + log_colorspace = True + + # from colour.io.luts.iridas_cube import read_LUT_IridasCube + + lut = read_LUT_IridasCube_encode_utf8(lut_file) + lut.name = lut_file + + if clip_values: + if lut.domain[0].max() == lut.domain[0].min() and lut.domain[1].max() == lut.domain[1].min(): + lut.table = np.clip(lut.table, lut.domain[0, 0], lut.domain[1, 0]) + else: + if len(lut.table.shape) == 2: # 3x1D + for dim in range(3): + lut.table[:, dim] = np.clip(lut.table[:, dim], lut.domain[0, dim], lut.domain[1, dim]) + else: # 3D + for dim in range(3): + lut.table[:, :, :, dim] = np.clip(lut.table[:, :, :, dim], lut.domain[0, dim], lut.domain[1, dim]) + + img = pil2tensor(image) + lut_img = img.numpy().copy() + is_non_default_domain = not np.array_equal(lut.domain, np.array([[0., 0., 0.], [1., 1., 1.]])) + dom_scale = None + if is_non_default_domain: + dom_scale = lut.domain[1] - lut.domain[0] + lut_img = lut_img * dom_scale + lut.domain[0] + if log_colorspace: + lut_img = lut_img ** (1/2.2) + lut_img = lut.apply(lut_img) + if log_colorspace: + lut_img = lut_img ** (2.2) + if is_non_default_domain: + lut_img = (lut_img - lut.domain[0]) / dom_scale + lut_img = torch.from_numpy(lut_img) + if strength < 100: + strength /= 100 + lut_img = strength * lut_img + (1 - strength) * img + + return tensor2pil(lut_img) + +def color_adapter(image:Image, ref_image:Image) -> Image: + image = pil2cv2(image) + ref_image = pil2cv2(ref_image) + image = cv2.cvtColor(image, cv2.COLOR_BGR2LAB) + image_mean, image_std = calculate_mean_std(image) + ref_image = cv2.cvtColor(ref_image, cv2.COLOR_BGR2LAB) + ref_image_mean, ref_image_std = calculate_mean_std(ref_image) + _image = ((image - image_mean) * (ref_image_std / image_std)) + ref_image_mean + np.putmask(_image, _image > 255, values=255) + np.putmask(_image, _image < 0, values=0) + ret_image = cv2.cvtColor(cv2.convertScaleAbs(_image), cv2.COLOR_LAB2BGR) + return cv22pil(ret_image) + +def calculate_mean_std(image:Image): + mean, std = cv2.meanStdDev(image) + mean = np.hstack(np.around(mean, decimals=2)) + std = np.hstack(np.around(std, decimals=2)) + return mean, std + +def image_watercolor(image:Image, level:int=50) -> Image: + img = pil2cv2(image) + img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) + factor = (level / 128.0) ** 2 + sigmaS= int((image.width + image.height) / 5.0 * factor) + 1 + sigmaR = sigmaS / 32.0 * factor + 0.002 + img_color = cv2.stylization(img, sigma_s=sigmaS, sigma_r=sigmaR) + ret_image = cv2.cvtColor(img_color, cv2.COLOR_BGR2RGB) + return cv22pil(ret_image) + + +def image_beauty(image:Image, level:int=50) -> Image: + img = pil2cv2(image) + img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) + factor = (level / 50.0)**2 + d = int((image.width + image.height) / 256 * factor) + sigmaColor = max(1, float((image.width + image.height) / 256 * factor)) + sigmaSpace = max(1, float((image.width + image.height) / 160 * factor)) + img_bit = cv2.bilateralFilter(src=img, d=d, sigmaColor=sigmaColor, sigmaSpace=sigmaSpace) + ret_image = cv2.cvtColor(img_bit, cv2.COLOR_BGR2RGB) + return cv22pil(ret_image) + + +def pixel_spread(image:Image, mask:Image) -> Image: + from pymatting import estimate_foreground_ml + i1 = pil2tensor(image) + if mask.mode != 'RGB': + mask = mask.convert('RGB') + i_dup = copy.deepcopy(i1.cpu().numpy().astype(np.float64)) + a_dup = copy.deepcopy(pil2tensor(mask).cpu().numpy().astype(np.float64)) + fg = copy.deepcopy(i1.cpu().numpy().astype(np.float64)) + + for index, img in enumerate(i_dup): + alpha = a_dup[index][:, :, 0] + fg[index], _ = estimate_foreground_ml(img, np.array(alpha), return_background=True) + + return tensor2pil(torch.from_numpy(fg.astype(np.float32))) + + +def watermark_image_size(image:Image) -> int: + size = int(math.sqrt(image.width * image.height * 0.015625) * 0.9) + return size + +def add_invisibal_watermark(image:Image, watermark_image:Image) -> Image: + """ + Adds an invisible watermark to an image. + """ + orig_image_mode = image.mode + temp_dir = os.path.join(folder_paths.get_temp_directory(), generate_random_name('_watermark_', '_temp', 16)) + if os.path.isdir(temp_dir): + shutil.rmtree(temp_dir) + image_dir = os.path.join(temp_dir, 'image') + wm_dir = os.path.join(temp_dir, 'wm') + result_dir = os.path.join(temp_dir, 'result') + + try: + os.makedirs(image_dir) + os.makedirs(wm_dir) + os.makedirs(result_dir) + except Exception as e: + # print(e) + log(f"Error: {NODE_NAME} skipped, because unable to create temporary folder.", message_type='error') + return (image,) + + image_file_name = os.path.join(generate_random_name('watermark_orig_', '_temp', 16) + '.png') + wm_file_name = os.path.join(generate_random_name('watermark_image_', '_temp', 16) + '.png') + output_file_name = os.path.join(generate_random_name('watermark_output_', '_temp', 16) + '.png') + + try: + if image.mode != "RGB": + image = image.convert("RGB") + image.save(os.path.join(image_dir, image_file_name)) + watermark_image.save(os.path.join(wm_dir, wm_file_name)) + except IOError as e: + # print(e) + log(f"Error: {NODE_NAME} skipped, because unable to create temporary file.", message_type='error') + return (image,) + + from blind_watermark import WaterMark + bwm1 = WaterMark(password_img=1, password_wm=1) + bwm1.read_img(os.path.join(image_dir, image_file_name)) + bwm1.read_wm(os.path.join(wm_dir, wm_file_name)) + output_image = os.path.join(result_dir, output_file_name) + bwm1.embed(output_image, compression_ratio=100) + + return Image.open(output_image).convert(orig_image_mode) + +def decode_watermark(image:Image, watermark_image_size:int=94) -> Image: + temp_dir = os.path.join(folder_paths.get_temp_directory(), generate_random_name('_watermark_', '_temp', 16)) + if os.path.isdir(temp_dir): + shutil.rmtree(temp_dir) + image_dir = os.path.join(temp_dir, 'decode_image') + result_dir = os.path.join(temp_dir, 'decode_result') + + try: + os.makedirs(image_dir) + os.makedirs(result_dir) + except Exception as e: + # print(e) + log(f"Error: {NODE_NAME} skipped, because unable to create temporary folder.", message_type='error') + return (image,) + + image_file_name = os.path.join(generate_random_name('watermark_decode_', '_temp', 16) + '.png') + output_file_name = os.path.join(generate_random_name('watermark_decode_output_', '_temp', 16) + '.png') + + try: + image.save(os.path.join(image_dir, image_file_name)) + except IOError as e: + # print(e) + log(f"Error: {NODE_NAME} skipped, because unable to create temporary file.", message_type='error') + return (image,) + + from blind_watermark import WaterMark + bwm1 = WaterMark(password_img=1, password_wm=1) + decode_image = os.path.join(image_dir, image_file_name) + output_image = os.path.join(result_dir, output_file_name) + + try: + bwm1.extract(filename=decode_image, wm_shape=(watermark_image_size, watermark_image_size), + out_wm_name=os.path.join(output_image),) + ret_image = Image.open(output_image) + except Exception as e: + log(f"blind watermark extract fail, {e}") + ret_image = Image.new("RGB", (64, 64), color="black") + ret_image = normalize_gray(ret_image) + return ret_image + +def generate_text_image(width:int, height:int, text:str, font_file:str, text_scale:float=1, font_color:str="#FFFFFF",) -> Image: + image = Image.new("RGBA", (width, height), (0, 0, 0, 0)) + draw = ImageDraw.Draw(image) + font_size = int(width / len(text) * text_scale) + font = ImageFont.truetype(font_file, font_size) + bbox = draw.textbbox((0, 0), text, font=font) + text_width, text_height = bbox[2] - bbox[0], bbox[3] - bbox[1] + x = int((width - text_width) / 2) + y = int((height - text_height) / 2) - int(font_size / 2) + draw.text((x, y), text, font=font, fill=font_color) + return image + +def displacement_image(image: Image, displacement_map: Image, strength: float, smoothness: int, anti_aliasing: int) -> Image: + + if image.mode != 'RGB': + image = image.convert('RGB') + if displacement_map.mode != 'L': + displacement_map = displacement_map.convert('L') + + orig_w, orig_h = image.size + + if displacement_map.size != image.size: + displacement_map = displacement_map.resize(image.size, Image.LANCZOS) + + if smoothness: + displacement_map = gaussian_blur(displacement_map, smoothness) + + if anti_aliasing > 1: + up_size = (orig_w * anti_aliasing, orig_h * anti_aliasing) + image = image.resize(up_size, Image.LANCZOS) + displacement_map = displacement_map.resize(up_size, Image.LANCZOS) + + img = np.asarray(image) + disp = np.asarray(displacement_map).astype(np.float32) + + h, w = disp.shape + + ys, xs = np.meshgrid( + np.arange(h, dtype=np.int32), + np.arange(w, dtype=np.int32), + indexing="ij" + ) + + offset = (disp / 255.0 * strength * anti_aliasing).astype(np.int32) + + new_x = xs + offset + new_y = ys + offset + + def mirror(coord, size): + coord = np.where(coord < 0, -coord, coord) + coord = np.where(coord >= size, 2 * size - coord - 1, coord) + return coord + + new_x = mirror(new_x, w) + new_y = mirror(new_y, h) + + out = img[new_y, new_x] + + ret = Image.fromarray(out, mode="RGB") + + if anti_aliasing > 1: + ret = gaussian_blur(ret, int(anti_aliasing / 3)) + ret = ret.resize((orig_w, orig_h), Image.LANCZOS) + + return ret + + +'''Mask Functions''' + +def create_mask_from_color_cv2(image:Image, color:str, tolerance:int=0) -> Image: + (r, g, b) = Hex_to_RGB(color) + target_color = (b, g, r) + tolerance = 127 + int(tolerance * 1.28) + # tolerance = 255 - tolerance + # 将RGB颜色转换为HSV颜色空间 + image = pil2cv2(image) + hsv_image = cv2.cvtColor(image, cv2.COLOR_BGR2HSV) + + # 定义目标颜色的HSV范围 + lower_color = np.array([max(target_color[0] - tolerance, 0), max(target_color[1] - tolerance, 0), max(target_color[2] - tolerance, 0)]) + upper_color = np.array([min(target_color[0] + tolerance, 255), min(target_color[1] + tolerance, 255), min(target_color[2] + tolerance, 255)]) + + # 创建掩码 + mask = cv2.inRange(hsv_image, lower_color, upper_color) + + return cv22pil(mask).convert("L") + +def create_mask_from_color_tensor(image:Image, color:str, tolerance:int=0) -> Image: + threshold = int(tolerance * 1.28) + (red, green, blue) = Hex_to_RGB(color) + image = pil2tensor(image).squeeze() + temp = (torch.clamp(image, 0, 1.0) * 255.0).round().to(torch.int) + color_value = torch.tensor([red, green, blue]) + lower_bound = (color_value - threshold).clamp(min=0) + upper_bound = (color_value + threshold).clamp(max=255) + lower_bound = lower_bound.view(1, 1, 1, 3) + upper_bound = upper_bound.view(1, 1, 1, 3) + mask = (temp >= lower_bound) & (temp <= upper_bound) + mask = mask.all(dim=-1) + mask = mask.float() + return tensor2pil(mask).convert("L") + +@lru_cache(maxsize=1, typed=False) +def load_RMBG_model(): + from .briarmbg import BriaRMBG + current_directory = os.path.dirname(os.path.abspath(__file__)) + device = "cuda" if torch.cuda.is_available() else "cpu" + net = BriaRMBG() + model_path = "" + try: + model_path = os.path.join(os.path.normpath(folder_paths.folder_names_and_paths['rmbg'][0][0]), "model.pth") + except: + pass + if not os.path.exists(model_path): + model_path = os.path.join(folder_paths.models_dir, "rmbg", "RMBG-1.4", "model.pth") + if not os.path.exists(model_path): + model_path = os.path.join(os.path.dirname(current_directory), "RMBG-1.4", "model.pth") + net.load_state_dict(torch.load(model_path, map_location=device, weights_only=True)) + net.to(device) + net.eval() + return net + + +def RMBG(image:Image) -> Image: + rmbgmodel = load_RMBG_model() + w, h = image.size + im_np = np.array(image.resize((1024, 1024), Image.BILINEAR)) + im_tensor = torch.tensor(im_np, dtype=torch.float32).permute(2, 0, 1) + im_tensor = torch.divide(torch.unsqueeze(im_tensor, 0), 255.0) + im_tensor = TF.normalize(im_tensor, [0.5, 0.5, 0.5], [1.0, 1.0, 1.0]) + if torch.cuda.is_available(): + im_tensor = im_tensor.cuda() + result = rmbgmodel(im_tensor) + result = torch.squeeze(F.interpolate(result[0][0], size=(h, w), mode='bilinear'), 0) + ma = torch.max(result) + mi = torch.min(result) + result = (result - mi) / (ma - mi) + im_array = (result * 255).cpu().data.numpy().astype(np.uint8) + _mask = torch.from_numpy(np.squeeze(im_array).astype(np.float32)) + return tensor2pil(_mask) + +def guided_filter_alpha(image:torch.Tensor, mask:torch.Tensor, filter_radius:int) -> torch.Tensor: + sigma = 0.15 + d = filter_radius + 1 + mask = pil2tensor(tensor2pil(mask).convert('RGB')) + if not bool(d % 2): + d += 1 + s = sigma / 10 + i_dup = copy.deepcopy(image.cpu().numpy()) + a_dup = copy.deepcopy(mask.cpu().numpy()) + for index, image in enumerate(i_dup): + alpha_work = a_dup[index] + i_dup[index] = guidedFilter(image, alpha_work, d, s) + return torch.from_numpy(i_dup) + +#pymatting edge detail +def mask_edge_detail(image:torch.Tensor, mask:torch.Tensor, detail_range:int=8, black_point:float=0.01, white_point:float=0.99) -> torch.Tensor: + from pymatting import fix_trimap, estimate_alpha_cf + d = detail_range * 5 + 1 + mask = pil2tensor(tensor2pil(mask).convert('RGB')) + if not bool(d % 2): + d += 1 + i_dup = copy.deepcopy(image.cpu().numpy().astype(np.float64)) + a_dup = copy.deepcopy(mask.cpu().numpy().astype(np.float64)) + for index, img in enumerate(i_dup): + trimap = a_dup[index][:, :, 0] # convert to single channel + if detail_range > 0: + trimap = cv2.GaussianBlur(trimap, (d, d), 0) + trimap = fix_trimap(trimap, black_point, white_point) + alpha = estimate_alpha_cf(img, trimap, laplacian_kwargs={"epsilon": 1e-6}, + cg_kwargs={"maxiter": 500}) + a_dup[index] = np.stack([alpha, alpha, alpha], axis=-1) # convert back to rgb + return torch.from_numpy(a_dup.astype(np.float32)) + +class VITMatteModel: + def __init__(self,model,processor): + self.model = model + self.processor = processor + +def load_VITMatte_model(model_name:str, local_files_only:bool=False) -> object: + model_name = "vitmatte" + model_repo = "hustvl/vitmatte-small-composition-1k" + model_path = check_and_download_model(model_name, model_repo) + from transformers import VitMatteImageProcessor, VitMatteForImageMatting + model = VitMatteForImageMatting.from_pretrained(model_path, local_files_only=local_files_only) + processor = VitMatteImageProcessor.from_pretrained(model_path, local_files_only=local_files_only) + vitmatte = VITMatteModel(model, processor) + return vitmatte + + +def load_VITMatte_base_model(model_name:str, local_files_only:bool=False) -> object: + model_name = "vitmatte-base-composition-1k" + model_repo = "hustvl/vitmatte-base-composition-1k" + model_path = check_and_download_model(model_name, model_repo) + from transformers import VitMatteImageProcessor, VitMatteForImageMatting + model = VitMatteForImageMatting.from_pretrained(model_path, local_files_only=local_files_only) + processor = VitMatteImageProcessor.from_pretrained(model_path, local_files_only=local_files_only) + vitmatte = VITMatteModel(model, processor) + return vitmatte + +def generate_VITMatte(image:Image, trimap:Image, local_files_only:bool=False, device:str="cpu", + max_megapixels:float=2.0, method:str="VITMatte") -> Image: + if image.mode != 'RGB': + image = image.convert('RGB') + if trimap.mode != 'L': + trimap = trimap.convert('L') + max_megapixels *= 1048576 + width, height = image.size + ratio = width / height + target_width = math.sqrt(ratio * max_megapixels) + target_height = target_width / ratio + target_width = int(target_width) + target_height = int(target_height) + if width * height > max_megapixels: + image = image.resize((target_width, target_height), Image.BILINEAR) + trimap = trimap.resize((target_width, target_height), Image.BILINEAR) + # log(f"vitmatte image size {width}x{height} too large, resize to {target_width}x{target_height} for processing.") + + if device=="cpu": + device = torch.device('cpu') + else: + if torch.cuda.is_available(): + device = torch.device('cuda') + else: + log("vitmatte device is set to cuda, but not available, using cpu instead.") + device = torch.device('cpu') + if method == "vitmatte-base-composition-1k": + model_name = "hustvl/vitmatte-base-composition-1k" + vit_matte_model = load_VITMatte_base_model(model_name=model_name, local_files_only=local_files_only) + else: + model_name = "hustvl/vitmatte-small-composition-1k" + vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only) + vit_matte_model.model.to(device) + # log(f"vitmatte processing, image size = {image.width}x{image.height}, device = {device}.") + inputs = vit_matte_model.processor(images=image, trimaps=trimap, return_tensors="pt") + with torch.no_grad(): + inputs = {k: v.to(device) for k, v in inputs.items()} + predictions = vit_matte_model.model(**inputs).alphas + if torch.cuda.is_available(): + torch.cuda.empty_cache() + torch.cuda.ipc_collect() + mask = tensor2pil(predictions).convert('L') + mask = mask.crop( + (0, 0, image.width, image.height)) # remove padding that the prediction appends (works in 32px tiles) + if width * height > max_megapixels: + mask = mask.resize((width, height), Image.BILINEAR) + return mask + +def generate_VITMatte_trimap(mask:torch.Tensor, erode_kernel_size:int, dilate_kernel_size:int) -> Image: + def g_trimap(mask, erode_kernel_size=10, dilate_kernel_size=10): + erode_kernel = np.ones((erode_kernel_size, erode_kernel_size), np.uint8) + dilate_kernel = np.ones((dilate_kernel_size, dilate_kernel_size), np.uint8) + eroded = cv2.erode(mask, erode_kernel, iterations=5) + dilated = cv2.dilate(mask, dilate_kernel, iterations=5) + trimap = np.zeros_like(mask) + trimap[dilated == 255] = 128 + trimap[eroded == 255] = 255 + return trimap + + mask = mask.squeeze(0).cpu().detach().numpy().astype(np.uint8) * 255 + trimap = g_trimap(mask, erode_kernel_size, dilate_kernel_size).astype(np.float32) + trimap[trimap == 128] = 0.5 + trimap[trimap == 255] = 1 + trimap = torch.from_numpy(trimap).unsqueeze(0) + + return tensor2pil(trimap).convert('L') + + +def get_a_person_mask_generator_model_path() -> str: + model_folder_name = 'mediapipe' + model_name = 'selfie_multiclass_256x256.tflite' + + model_file_path = "" + try: + model_file_path = os.path.join(os.path.normpath(folder_paths.folder_names_and_paths[model_folder_name][0][0]), model_name) + except: + pass + if not os.path.exists(model_file_path): + model_file_path = os.path.join(folder_paths.models_dir, model_folder_name, model_name) + + if not os.path.exists(model_file_path): + import wget + model_url = f'https://storage.googleapis.com/mediapipe-models/image_segmenter/selfie_multiclass_256x256/float32/latest/{model_name}' + log(f"Downloading '{model_name}' model") + os.makedirs(os.path.dirname(model_file_path), exist_ok=True) + wget.download(model_url, model_file_path) + return model_file_path + +def mask_fix(images:torch.Tensor, radius:int, fill_holes:int, white_threshold:float, extra_clip:float) -> torch.Tensor: + d = radius * 2 + 1 + i_dup = copy.deepcopy(images.cpu().numpy()) + for index, image in enumerate(i_dup): + cleaned = cv2.bilateralFilter(image, 9, 0.05, 8) + alpha = np.clip((image - white_threshold) / (1 - white_threshold), 0, 1) + rgb = image * alpha + alpha = cv2.GaussianBlur(alpha, (d, d), 0) * 0.99 + np.average(alpha) * 0.01 + rgb = cv2.GaussianBlur(rgb, (d, d), 0) * 0.99 + np.average(rgb) * 0.01 + rgb = rgb / np.clip(alpha, 0.00001, 1) + rgb = rgb * extra_clip + cleaned = np.clip(cleaned / rgb, 0, 1) + if fill_holes > 0: + fD = fill_holes * 2 + 1 + gamma = cleaned * cleaned + kD = np.ones((fD, fD), np.uint8) + kE = np.ones((fD + 2, fD + 2), np.uint8) + gamma = cv2.dilate(gamma, kD, iterations=1) + gamma = cv2.erode(gamma, kE, iterations=1) + gamma = cv2.GaussianBlur(gamma, (fD, fD), 0) + cleaned = np.maximum(cleaned, gamma) + i_dup[index] = cleaned + return torch.from_numpy(i_dup) + +def histogram_remap(image:torch.Tensor, blackpoint:float, whitepoint:float) -> torch.Tensor: + bp = min(blackpoint, whitepoint - 0.001) + scale = 1 / (whitepoint - bp) + i_dup = copy.deepcopy(image.cpu().numpy()) + i_dup = np.clip((i_dup - bp) * scale, 0.0, 1.0) + return torch.from_numpy(i_dup) + +def expand_mask(mask:torch.Tensor, grow:int, blur:int) -> torch.Tensor: + # grow + c = 0 + kernel = np.array([[c, 1, c], + [1, 1, 1], + [c, 1, c]]) + growmask = mask.reshape((-1, mask.shape[-2], mask.shape[-1])) + out = [] + for m in growmask: + output = m.numpy() + for _ in range(abs(grow)): + if grow < 0: + output = scipy.ndimage.grey_erosion(output, footprint=kernel) + else: + output = scipy.ndimage.grey_dilation(output, footprint=kernel) + output = torch.from_numpy(output) + out.append(output) + # blur + for idx, tensor in enumerate(out): + pil_image = tensor2pil(tensor.cpu().detach()) + pil_image = pil_image.filter(ImageFilter.GaussianBlur(blur)) + out[idx] = pil2tensor(pil_image) + ret_mask = torch.cat(out, dim=0) + return ret_mask + +def mask_invert(mask:torch.Tensor) -> torch.Tensor: + return 1 - mask + +def subtract_mask(masks_a:torch.Tensor, masks_b:torch.Tensor) -> torch.Tensor: + return torch.clamp(masks_a - masks_b, 0, 255) + +def add_mask(masks_a:torch.Tensor, masks_b:torch.Tensor) -> torch.Tensor: + mask = chop_image(tensor2pil(masks_a), tensor2pil(masks_b), blend_mode='add', opacity=100) + return image2mask(mask) + +def RGB2RGBA(image:Image, mask:Image) -> Image: + (R, G, B) = image.convert('RGB').split() + return Image.merge('RGBA', (R, G, B, mask.convert('L'))) + +def mask_area(image:Image) -> tuple: + cv2_image = pil2cv2(image.convert('RGBA')) + gray = cv2.cvtColor(cv2_image, cv2.COLOR_BGR2GRAY) + _, thresh = cv2.threshold(gray, 127, 255, 0) + locs = np.where(thresh == 255) + try: + x1 = np.min(locs[1]) + x2 = np.max(locs[1]) + y1 = np.min(locs[0]) + y2 = np.max(locs[0]) + except ValueError: + x1, y1, x2, y2 = -1, -1, 0, 0 + x1, y1, x2, y2 = min(x1, x2), min(y1, y2), max(x1, x2), max(y1, y2) + return (x1, y1, x2 - x1, y2 - y1) + +def min_bounding_rect(image:Image) -> tuple: + cv2_image = pil2cv2(image) + gray = cv2.cvtColor(cv2_image, cv2.COLOR_BGR2GRAY) + ret, thresh = cv2.threshold(gray, 127, 255, 0) + contours, _ = cv2.findContours(thresh, 1, 2) + x, y, width, height = 0, 0, 0, 0 + area = 0 + for contour in contours: + _x, _y, _w, _h = cv2.boundingRect(contour) + _area = _w * _h + if _area > area: + area = _area + x, y, width, height = _x, _y, _w, _h + return (x, y, width, height) + +def max_inscribed_rect(image:Image) -> tuple: + img = pil2cv2(image) + img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) + ret, img_bin = cv2.threshold(img_gray, 127, 255, cv2.THRESH_BINARY) + contours, _ = cv2.findContours(img_bin, cv2.RETR_CCOMP, cv2.CHAIN_APPROX_SIMPLE) + contour = contours[0].reshape(len(contours[0]), 2) + rect = [] + for i in range(len(contour)): + x1, y1 = contour[i] + for j in range(len(contour)): + x2, y2 = contour[j] + area = abs(y2 - y1) * abs(x2 - x1) + rect.append(((x1, y1), (x2, y2), area)) + all_rect = sorted(rect, key=lambda x: x[2], reverse=True) + if all_rect: + best_rect_found = False + index_rect = 0 + nb_rect = len(all_rect) + while not best_rect_found and index_rect < nb_rect: + rect = all_rect[index_rect] + (x1, y1) = rect[0] + (x2, y2) = rect[1] + valid_rect = True + x = min(x1, x2) + while x < max(x1, x2) + 1 and valid_rect: + if any(img[y1, x]) == 0 or any(img[y2, x]) == 0: + valid_rect = False + x += 1 + y = min(y1, y2) + while y < max(y1, y2) + 1 and valid_rect: + if any(img[y, x1]) == 0 or any(img[y, x2]) == 0: + valid_rect = False + y += 1 + if valid_rect: + best_rect_found = True + index_rect += 1 + #较小的数值排前面 + x1, y1, x2, y2 = min(x1, x2), min(y1, y2), max(x1, x2), max(y1, y2) + return (x1, y1, x2 - x1, y2 - y1) + +def gray_threshold(image:Image, thresh:int=127, otsu:bool=False) -> Image: + cv2_image = pil2cv2(image) + gray = cv2.cvtColor(cv2_image, cv2.COLOR_BGR2GRAY) + if otsu: + _, thresh = cv2.threshold(gray,0,255,cv2.THRESH_BINARY+cv2.THRESH_OTSU) + else: + _, thresh = cv2.threshold(gray, thresh, 255, cv2.THRESH_TOZERO) + return cv22pil(thresh).convert('L') + +def image_to_colormap(image:Image, index:int) -> Image: + return cv22pil(cv2.applyColorMap(pil2cv2(image), index)) + +# 检查mask有效区域面积比例 +def mask_white_area(mask:Image, white_point:int) -> float: + if mask.mode != 'L': + mask.convert('L') + white_pixels = 0 + for y in range(mask.height): + for x in range(mask.width): + mask.getpixel((x, y)) > 16 + if mask.getpixel((x, y)) > white_point: + white_pixels += 1 + return white_pixels / (mask.width * mask.height) + +'''Color Functions''' + +def color_balance(image:Image, shadows:list, midtones:list, highlights:list, + shadow_center:float=0.15, midtone_center:float=0.5, highlight_center:float=0.8, + shadow_max:float=0.1, midtone_max:float=0.3, highlight_max:float=0.2, + preserve_luminosity:bool=False) -> Image: + + img = pil2tensor(image) + # Create a copy of the img tensor + img_copy = img.clone() + + # Calculate the original luminance if preserve_luminosity is True + if preserve_luminosity: + original_luminance = 0.2126 * img_copy[..., 0] + 0.7152 * img_copy[..., 1] + 0.0722 * img_copy[..., 2] + + # Define the adjustment curves + def adjust(x, center, value, max_adjustment): + # Scale the adjustment value + value = value * max_adjustment + + # Define control points + points = torch.tensor([[0, 0], [center, center + value], [1, 1]]) + + # Create cubic spline + from scipy.interpolate import CubicSpline + cs = CubicSpline(points[:, 0], points[:, 1]) + + # Apply the cubic spline to the color channel + return torch.clamp(torch.from_numpy(cs(x)), 0, 1) + + # Apply the adjustments to each color channel + # shadows, midtones, highlights are lists of length 3 (for R, G, B channels) with values between -1 and 1 + for i, (s, m, h) in enumerate(zip(shadows, midtones, highlights)): + img_copy[..., i] = adjust(img_copy[..., i], shadow_center, s, shadow_max) + img_copy[..., i] = adjust(img_copy[..., i], midtone_center, m, midtone_max) + img_copy[..., i] = adjust(img_copy[..., i], highlight_center, h, highlight_max) + + # If preserve_luminosity is True, adjust the RGB values to match the original luminance + if preserve_luminosity: + current_luminance = 0.2126 * img_copy[..., 0] + 0.7152 * img_copy[..., 1] + 0.0722 * img_copy[..., 2] + img_copy *= (original_luminance / current_luminance).unsqueeze(-1) + + return tensor2pil(img_copy) + +def RGB_to_Hex(RGB:tuple) -> str: + color = '#' + for i in RGB: + num = int(i) + color += str(hex(num))[-2:].replace('x', '0').upper() + return color + +def Hex_to_RGB(inhex:str) -> tuple: + if not inhex.startswith('#'): + raise ValueError(f'Invalid Hex Code in {inhex}') + else: + if len(inhex) == 4: + inhex = "#" + "".join([char * 2 for char in inhex[1:]]) + rval = inhex[1:3] + gval = inhex[3:5] + bval = inhex[5:] + rgb = (int(rval, 16), int(gval, 16), int(bval, 16)) + return tuple(rgb) + +def RGB_to_HSV(RGB:tuple) -> list: + HSV = rgb_to_hsv(RGB[0] / 255.0, RGB[1] / 255.0, RGB[2] / 255.0) + return [int(x * 360) for x in HSV] + +def Hex_to_HSV_255level(inhex:str) -> list: + if not inhex.startswith('#'): + raise ValueError(f'Invalid Hex Code in {inhex}') + else: + if len(inhex) == 4: + inhex = "#" + "".join([char * 2 for char in inhex[1:]]) + rval = inhex[1:3] + gval = inhex[3:5] + bval = inhex[5:] + RGB = (int(rval, 16), int(gval, 16), int(bval, 16)) + HSV = rgb_to_hsv(RGB[0] / 255.0, RGB[1] / 255.0, RGB[2] / 255.0) + return [int(x * 255) for x in HSV] + +def HSV_255level_to_Hex(HSV: list) -> str: + if len(HSV) != 3 or any((not isinstance(v, int) or v < 0 or v > 255) for v in HSV): + raise ValueError('Invalid HSV values, each value should be an integer between 0 and 255') + + H, S, V = HSV + RGB = tuple(int(x * 255) for x in hsv_to_rgb(H / 255.0, S / 255.0, V / 255.0)) + + # Convert RGB values to hexadecimal format + hex_r = format(RGB[0], '02x') + hex_g = format(RGB[1], '02x') + hex_b = format(RGB[2], '02x') + + return '#' + hex_r + hex_g + hex_b + +# 返回补色色值 +def complementary_color(color: str) -> str: + color = Hex_to_RGB(color) + return RGB_to_Hex((255 - color[0], 255 - color[1], 255 - color[2])) + +# 返回颜色对应灰度值 +def rgb2gray(color:str)->int: + (r, g, b) = Hex_to_RGB(color) + return int((r * 299 + g * 587 + b * 114) / 1000) + +'''Value Functions''' +def is_valid_mask(tensor:torch.Tensor) -> bool: + return not bool(torch.all(tensor == 0).item()) + +def step_value(start_value, end_value, total_step, step) -> float: # 按当前步数在总步数中的位置返回比例值 + factor = step / total_step + return (end_value - start_value) * factor + start_value + +def step_color(start_color_inhex:str, end_color_inhex:str, total_step:int, step:int) -> str: # 按当前步数在总步数中的位置返回比例颜色 + start_color = tuple(Hex_to_RGB(start_color_inhex)) + end_color = tuple(Hex_to_RGB(end_color_inhex)) + start_R, start_G, start_B = start_color[0], start_color[1], start_color[2] + end_R, end_G, end_B = end_color[0], end_color[1], end_color[2] + ret_color = (int(step_value(start_R, end_R, total_step, step)), + int(step_value(start_G, end_G, total_step, step)), + int(step_value(start_B, end_B, total_step, step)), + ) + return RGB_to_Hex(ret_color) + +def has_letters(string:str) -> bool: + pattern = r'[a-zA-Z]' + match = re.search(pattern, string) + if match: + return True + else: + return False + + +def replace_case(old:str, new:str, text:str) -> str: + index = text.lower().find(old.lower()) + if index == -1: + return text + return replace_case(old, new, text[:index] + new + text[index + len(old):]) + +def random_numbers(total:int, random_range:int, seed:int=0, sum_of_numbers:int=0) -> list: + random.seed(seed) + numbers = [random.randint(-random_range//2, random_range//2) for _ in range(total - 1)] + avg = sum(numbers) // total + ret_list = [] + for i in numbers: + ret_list.append(i - avg) + ret_list.append((sum_of_numbers - sum(ret_list)) // 2) + return ret_list + +# 四舍五入取整数倍 +def num_round_to_multiple(number:int, multiple:int) -> int: + remainder = number % multiple + if remainder == 0 : + return number + else: + factor = int(number / multiple) + if number - factor * multiple > multiple / 2: + factor += 1 + return factor * multiple + +# 向上取整数倍 +def num_round_up_to_multiple(number: int, multiple: int) -> int: + remainder = number % multiple + if remainder == 0: + return number + else: + factor = (number + multiple - 1) // multiple # 向上取整的计算方式 + return factor * multiple + +def calculate_side_by_ratio(orig_width:int, orig_height:int, ratio:float, longest_side:int=0) -> int: + + if orig_width > orig_height: + if longest_side: + target_width = longest_side + else: + target_width = orig_width + target_height = int(target_width / ratio) + else: + if longest_side: + target_height = longest_side + else: + target_height = orig_height + target_width = int(target_height * ratio) + + if ratio < 1: + if longest_side: + _r = longest_side / target_height + target_height = longest_side + else: + _r = orig_height / target_height + target_height = orig_height + target_width = int(target_width * _r) + + return target_width, target_height + +def generate_random_name(prefix:str, suffix:str, length:int) -> str: + name = ''.join(random.choice("abcdefghijklmnopqrstupvxyz1234567890") for x in range(length)) + return prefix + name + suffix + +def check_image_file(file_name:str, interval:int) -> object: + while True: + if os.path.isfile(file_name): + try: + image = Image.open(file_name) + ret_image = copy.deepcopy(image) + image.close() + return ret_image + except Exception as e: + log(e) + return None + break + time.sleep(interval / 1000) + +# 判断字符串是否包含中文 +def is_contain_chinese(check_str:str) -> bool: + for ch in check_str: + if u'\u4e00' <= ch <= u'\u9fff': + return True + return False + +# 生成随机颜色 +def generate_random_color(): + """ + Generate a random color in hexadecimal format. + """ + # random.seed(int(time.time())) + return "#{:06x}".format(random.randint(0x101010, 0xFFFFFF)) + +# 提取字符串中的int数为列表 +def extract_numbers(string): + return [int(s) for s in re.findall(r'\d+', string)] + +# 提取字符串中的数值, 返回为列表 +def extract_all_numbers_from_str(string, checkint:bool=False): + # 定义浮点数的正则表达式模式 + number_pattern = r'[-+]?\d*\.?\d+(?:[eE][-+]?\d+)?' + # 使用re.findall找到所有匹配的字符串 + matches = re.findall(number_pattern, string) + # 转换为浮点数 + numbers = [float(match) for match in matches] + number_list = [] + # 如果需要检查是否为整数,则将浮点数转换为整数 + if checkint: + for num in numbers: + int_num = int(num) + if math.isclose(num, int_num, rel_tol=1e-19): + number_list.append(int_num) + else: + number_list.append(num) + else: + number_list = numbers + + return number_list + + + +# 提取字符串中用"," ";" " "分开的字符串, 返回为列表 +def extract_substr_from_str(string) -> list: + return re.split(r'[,\s;,;]+', string) + +# lcs匹配算法,计算最长公共子序列 (LCS):子字符串顺序:以相同顺序出现,权重更高。额外字符惩罚:多余字符会降低相似度。 +def lcs_with_order(s1, s2): + """Calculate the length of the longest common subsequence (LCS) with the same order.""" + m, n = len(s1), len(s2) + dp = [[0] * (n + 1) for _ in range(m + 1)] + + for i in range(1, m + 1): + for j in range(1, n + 1): + if s1[i - 1] == s2[j - 1]: + dp[i][j] = dp[i - 1][j - 1] + 1 + else: + dp[i][j] = max(dp[i - 1][j], dp[i][j - 1]) + + return dp[m][n] + +# 使用正则表达式将字符串拆分为单词(token),对比的同时忽略大小写和非字母数字字符。 +def tokenize_string(s): + """Tokenize a string by splitting on non-alphanumeric characters and normalizing case.""" + return re.findall(r'\b\w+\b', s.lower()) + +# 在列表中找到字符串的最佳匹配 +def find_best_match_by_similarity(target, candidates): + """ + Find the best matching string based on substring order, extra character penalties, and tokenization. + + Parameters: + target (str): The target string. + candidates (list of str): List of candidate strings. + + Returns: + str: The best matching string. + """ + target_tokens = tokenize_string(target) + best_match = None + highest_score = float('-inf') + + for candidate in candidates: + candidate_tokens = tokenize_string(candidate) + + # Calculate LCS on tokens + target_str = ''.join(target_tokens) + candidate_str = ''.join(candidate_tokens) + lcs = lcs_with_order(target_str, candidate_str) + + # Calculate similarity score + match_ratio = lcs / len(target_str) # Ratio of matched characters + extra_char_penalty = len(candidate_str) - lcs # Penalty for extra characters + unmatched_tokens_penalty = len(set(candidate_tokens) - set(target_tokens)) # Penalty for unmatched tokens + score = match_ratio - 0.1 * extra_char_penalty - 0.2 * unmatched_tokens_penalty # Weighted score + + if score > highest_score: + highest_score = score + best_match = candidate + + return best_match + + +def clear_memory(): + import gc + # Cleanup + gc.collect() + if torch.cuda.is_available(): + torch.cuda.empty_cache() + torch.cuda.ipc_collect() + +def tensor_info(tensor:object) -> str: + value = '' + if isinstance(tensor, torch.Tensor): + value += f"\n Input dim = {tensor.dim()}, shape[0] = {tensor.shape[0]} \n" + for i in range(tensor.shape[0]): + t = tensor[i] + image = tensor2pil(t) + value += f'\n index {i}: Image.size = {image.size}, Image.mode = {image.mode}, dim = {t.dim()}, ' + for j in range(t.dim()): + value += f'shape[{j}] = {t.shape[j]}, ' + else: + value = f"tensor_info: Not tensor, type is {type(tensor)}" + return value + +# 去除空行 +def remove_empty_lines(text): + lines = text.split('\n') + non_empty_lines = [line for line in lines if line.strip() != ''] + return '\n'.join(non_empty_lines) + +# 去除重复的句子 +def remove_duplicate_string(text:str) -> str: + sentences = re.split(r'(?<=[:;,.!?])\s+', text) + unique_sentences = [] + seen = set() + for sentence in sentences: + if sentence not in seen: + seen.add(sentence) + unique_sentences.append(sentence) + return ' '.join(unique_sentences) + +files_for_uform_gen2_qwen = Path(os.path.join(folder_paths.models_dir, "LLavacheckpoints", "files_for_uform_gen2_qwen")) +class StopOnTokens(StoppingCriteria): + def __call__(self, input_ids: torch.LongTensor, scores: torch.FloatTensor, **kwargs) -> bool: + stop_ids = [151645] # Define stop tokens as per your model's specifics + for stop_id in stop_ids: + if input_ids[0][-1] == stop_id: + return True + return False + +class UformGen2QwenChat: + + def __init__(self): + from huggingface_hub import snapshot_download + # self.model_path = snapshot_download("unum-cloud/uform-gen2-qwen-500m", + # local_dir=files_for_uform_gen2_qwen, + # force_download=False, # Set to True if you always want to download, regardless of local copy + # local_files_only=False, # Set to False to allow downloading if not available locally + # local_dir_use_symlinks="auto") # or set to True/False based on your symlink preference + self.model_path = files_for_uform_gen2_qwen + self.device = "cuda" if torch.cuda.is_available() else "cpu" + self.model = AutoModel.from_pretrained(self.model_path, trust_remote_code=True).to(self.device) + self.processor = AutoProcessor.from_pretrained(self.model_path, trust_remote_code=True) + + def chat_response(self, message, history, image_path): + stop = StopOnTokens() + messages = [{"role": "system", "content": "You are a helpful Assistant."}] + + for user_msg, assistant_msg in history: + messages.append({"role": "user", "content": user_msg}) + messages.append({"role": "assistant", "content": assistant_msg}) + + if len(messages) == 1: + message = f" {message}" + + messages.append({"role": "user", "content": message}) + + model_inputs = self.processor.tokenizer.apply_chat_template( + messages, + add_generation_prompt=True, + return_tensors="pt" + ) + + image = Image.open(image_path) # Load image using PIL + image_tensor = ( + self.processor.feature_extractor(image) + .unsqueeze(0) + ) + + attention_mask = torch.ones( + 1, model_inputs.shape[1] + self.processor.num_image_latents - 1 + ) + + model_inputs = { + "input_ids": model_inputs, + "images": image_tensor, + "attention_mask": attention_mask + } + + model_inputs = {k: v.to(self.device) for k, v in model_inputs.items()} + + with torch.inference_mode(): + output = self.model.generate( + **model_inputs, + max_new_tokens=512, + do_sample=True, + temperature=0.3, + repetition_penalty=1.2, + stopping_criteria=StoppingCriteriaList([stop]) + ) + + response_text = self.processor.tokenizer.decode(output[0], skip_special_tokens=True) + response_text = remove_duplicate_string(response_text) + return response_text + +'''CLASS''' + +class AnyType(str): + """A special class that is always equal in not equal comparisons. Credit to pythongosssss""" + def __eq__(self, __value: object) -> bool: + return True + def __ne__(self, __value: object) -> bool: + return False + + + +'''Load File''' + +def download_hg_model(model_id:str,exDir:str='') -> str: + # 下载本地 + model_checkpoint = os.path.join(folder_paths.models_dir, exDir, os.path.basename(model_id)) + if not os.path.exists(model_checkpoint): + from huggingface_hub import snapshot_download + snapshot_download(repo_id=model_id, local_dir=model_checkpoint, local_dir_use_symlinks=False) + return model_checkpoint + + +def get_files(model_path: str, file_ext_list:list) -> dict: + file_list = [] + for ext in file_ext_list: + file_list.extend(glob.glob(os.path.join(model_path, '*' + ext))) + files_dict = {} + for i in range(len(file_list)): + _, filename = os.path.split(file_list[i]) + files_dict[filename] = file_list[i] + return files_dict + +# def load_inference_prompt() -> str: +# inference_prompt_file = os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), "resource", +# "inference.prompt") +# ret_value = '' +# try: +# with open(inference_prompt_file, 'r') as f: +# ret_value = f.readlines() +# except Exception as e: +# log(f'Warning: {inference_prompt_file} ' + repr(e) + f", check it to be correct. ", message_type='warning') +# return ''.join(ret_value) + +def load_custom_size() -> list: + custom_size_file = os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), "custom_size.ini") + ret_value = ['1024 x 1024', + '768 x 512', + '512 x 768', + '1280 x 720', + '720 x 1280', + '1344 x 768', + '768 x 1344', + '1536 x 640', + '640 x 1536' + ] + try: + with open(custom_size_file, 'r') as f: + ini = f.readlines() + for line in ini: + if not line.startswith(f'#'): + ret_value.append(line.strip()) + except Exception as e: + pass + # log(f'Warning: {custom_size_file} not found' + f", use default size. ") + return ret_value + +def get_api_key(api_name:str) -> str: + api_key_ini_file = os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), "api_key.ini") + ret_value = '' + try: + with open(api_key_ini_file, 'r') as f: + ini = f.readlines() + for line in ini: + if line.startswith(f'{api_name}='): + ret_value = line[line.find('=') + 1:].rstrip().lstrip() + break + except Exception as e: + log(f'Warning: {api_key_ini_file} ' + repr(e) + f", check it to be correct. ", message_type='warning') + remove_char = ['"', "'", '“', '”', '‘', '’'] + for i in remove_char: + if i in ret_value: + ret_value = ret_value.replace(i, '') + if len(ret_value) < 4: + log(f'Warning: Invalid API-key, Check the key in {api_key_ini_file}.', message_type='warning') + return ret_value + +# 判断文件名后缀是否包括在列表中(忽略大小写) +def file_is_extension(filename:str, ext_list:tuple) -> bool: + # 获取文件的真实后缀(包括点) + true_ext = os.path.splitext(filename)[1] + if true_ext.lower() in ext_list: + return True + return False + +# 遍历目录下包括子目录指定后缀文件,返回字典 +def collect_files(root_dir:str, suffixes:tuple, default_dir:str=""): + result = {} + for dirpath, _, filenames in os.walk(root_dir): + for file in filenames: + if file_is_extension(file, suffixes): + # 获取文件的完整路径作为 value + full_path = os.path.join(dirpath, file) + # 如果是default_dir 则去掉路径,使用文件名作为 key + if dirpath == default_dir: + relative_path = os.path.relpath(full_path, root_dir) + result.update({relative_path: full_path}) + else: + result.update({full_path: full_path}) + return result + + +def get_resource_dir() -> list: + default_lut_dir = [] + default_lut_dir.append(os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), 'lut')) + default_font_dir = [] + default_font_dir.append(os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), 'font')) + resource_dir_ini_file = os.path.join(os.path.dirname(os.path.dirname(os.path.normpath(__file__))), + "resource_dir.ini") + try: + with open(resource_dir_ini_file, 'r') as f: + ini = f.readlines() + for line in ini: + if line.startswith('LUT_dir='): + _ldir = line[line.find('=') + 1:].rstrip().lstrip() + for dir in extract_substr_from_str(_ldir) : + if os.path.exists(dir): + default_lut_dir.append(dir) + elif line.startswith('FONT_dir='): + _fdir = line[line.find('=') + 1:].rstrip().lstrip() + for dir in extract_substr_from_str(_fdir): + if os.path.exists(dir): + default_font_dir.append(dir) + except Exception as e: + pass + # log(f'Warning: {resource_dir_ini_file} not found' + f", default directory to be used. ") + + + LUT_DICT = {} + for dir in default_lut_dir: + LUT_DICT.update(collect_files(root_dir=dir, suffixes= ('.cube'), default_dir=default_lut_dir[0] )) # 后缀要小写 + LUT_LIST = list(LUT_DICT.keys()) + + FONT_DICT = {} + for dir in default_font_dir: + FONT_DICT.update(collect_files(root_dir=dir, suffixes=('.ttf', '.otf'), default_dir=default_font_dir[0])) # 后缀要小写 + FONT_LIST = list(FONT_DICT.keys()) + + return (LUT_DICT, FONT_DICT) + +# 规范bbox,保证x1 < x2, y1 < y2, 并返回int +def standardize_bbox(bboxes:list) -> list: + ret_bboxes = [] + for bbox in bboxes: + x1 = int(min(bbox[0], bbox[2])) + y1 = int(min(bbox[1], bbox[3])) + x2 = int(max(bbox[0], bbox[2])) + y2 = int(max(bbox[1], bbox[3])) + ret_bboxes.append([x1, y1, x2, y2]) + return ret_bboxes + +def draw_bounding_boxes(image: Image, bboxes: list, color: str = "#FF0000", line_width: int = 5) -> Image: + """ + Draw bounding boxes on the image using the coordinates provided in the bboxes dictionary. + """ + + (_, FONT_DICT) = get_resource_dir() + + font_size = 25 + font = ImageFont.truetype(list(FONT_DICT.items())[0][1], font_size) + + if len(bboxes) > 0: + draw = ImageDraw.Draw(image) + width, height = image.size + if line_width < 0: # auto line width + line_width = (image.width + image.height) // 1000 + + for index, box in enumerate(bboxes): + random_color = generate_random_color() + if color != "random": + random_color = color + xmin = min(box[0], box[2]) + xmax = max(box[0], box[2]) + ymin = min(box[1], box[3]) + ymax = max(box[1], box[3]) + draw.rectangle([xmin, ymin, xmax, ymax], outline=random_color, width=line_width) + draw.text((xmin, ymin - font_size*1.2), str(index), font=font, fill=random_color) + + return image + +def draw_bbox(image: Image, bbox: tuple, color: str = "#FF0000", line_width: int = 5, title: str = "", font_size: int = 10) -> Image: + """ + Draw bounding boxes on the image using the coordinates provided in the bboxes dictionary. + """ + + (_, FONT_DICT) = get_resource_dir() + + font = ImageFont.truetype(list(FONT_DICT.items())[0][1], font_size) + + draw = ImageDraw.Draw(image) + width, height = image.size + if line_width < 0: # auto line width + line_width = (image.width + image.height) // 1000 + + random_color = generate_random_color() + if color != "random": + random_color = color + xmin = min(bbox[0], bbox[2]) + xmax = max(bbox[0], bbox[2]) + ymin = min(bbox[1], bbox[3]) + ymax = max(bbox[1], bbox[3]) + draw.rectangle([xmin, ymin, xmax, ymax], outline=random_color, width=line_width) + if title != "": + draw.text((xmin, ymin - font_size*1.2), title, font=font, fill=random_color) + + return image + + + +'''Constant''' + +chop_mode = [ + 'normal', + 'multply', + 'screen', + 'add', + 'subtract', + 'difference', + 'darker', + 'lighter', + 'color_burn', + 'color_dodge', + 'linear_burn', + 'linear_dodge', + 'overlay', + 'soft_light', + 'hard_light', + 'vivid_light', + 'pin_light', + 'linear_light', + 'hard_mix' + ] + +# Blend Mode from Virtuoso Pack https://github.com/chrisfreilich/virtuoso-nodes +chop_mode_v2 = list(BLEND_MODES.keys()) + +gemini_generate_config = { + "temperature": 0, + "top_p": 1, + "top_k": 1, + "max_output_tokens": 400 +} + +gemini_safety_settings = [ + { + "category": "HARM_CATEGORY_HARASSMENT", + "threshold": "BLOCK_NONE" + }, + { + "category": "HARM_CATEGORY_HATE_SPEECH", + "threshold": "BLOCK_NONE" + }, + { + "category": "HARM_CATEGORY_SEXUALLY_EXPLICIT", + "threshold": "BLOCK_NONE" + }, + { + "category": "HARM_CATEGORY_DANGEROUS_CONTENT", + "threshold": "BLOCK_NONE" + } +] + +minicpm_llama3_v25_prompts = """ + # MISSION + You are an imagine generator for a slide deck tool. You will be given the text or description of a slide and you'll generate a few image descriptions that will be fed to an AI image generator. It will need to have a particular format (seen below). You will also be given some examples below. Think metaphorically and symbolically. + + # FORMAT + The format should follow this general pattern: + +
, , , , , + + It's not strictly required, as you'll see below, you can pick and choose various aspects, but this is the general order of operations + + # EXAMPLES + + a Shakespeare stage play, yellow mist, atmospheric, set design by Michel Crête, Aerial acrobatics design by André Simard, hyperrealistic, 4K, Octane render, unreal engine + + The Moon Knight dissolving into swirling sand, volumetric dust, cinematic lighting, close up portrait + + ethereal Bohemian Waxwing bird, Bombycilla garrulus :: intricate details, ornate, detailed illustration, octane render :: Johanna Rupprecht style, William Morris style :: trending on artstation + + steampunk cat, octane render, hyper realistic + + Hyper detailed movie still that fuses the iconic tea party scene from Alice in Wonderland showing the hatter and an adult alice. a wooden table is filled with teacups and cannabis plants. The scene is surrounded by flying weed. Some playcards flying around in the air. Captured with a Hasselblad medium format camera + + venice in a carnival picture 3, in the style of fantastical compositions, colorful, eye-catching compositions, symmetrical arrangements, navy and aquamarine, distinctive noses, gothic references, spiral group –style expressive + + Beautiful and terrifying Egyptian mummy, flirting and vamping with the viewer, rotting and decaying climbing out of a sarcophagus lunging at the viewer, symmetrical full body Portrait photo, elegant, highly detailed, soft ambient lighting, rule of thirds, professional photo HD Photography, film, sony, portray, kodak Polaroid 3200dpi scan medium format film Portra 800, vibrantly colored portrait photo by Joel – Peter Witkin + Diane Arbus + Rhiannon + Mike Tang, fashion shoot + + A grandmotherly Fate sits on a cozy cosmic throne knitting with mirrored threads of time, the solar system spins like clockwork behind her as she knits the futures of people together like an endless collage of destiny, maximilism, cinematic quality, sharp – focus, intricate details + + A cloud with several airplanes flying around on top, in the style of detailed fantasy art, nightcore, quiet moments captured in paint, radiant clusters, i cant believe how beautiful this is, detailed character design, dark cyan and light crimson + + An incredibly detailed close up macro beauty photo of an Asian model, hands holding a bouquet of pink roses, surrounded by scary crows from hell. Shot on a Hasselblad medium format camera with a 100mm lens. Unmistakable to a photograph. Cinematic lighting. Photographed by Tim Walker, trending on 500px + + Game-Art | An island with different geographical properties and multiple small cities floating in space ::10 Island | Floating island in space – waterfalls over the edge of the island falling into space – island fragments floating around the edge of the island, Mountain Ranges – Deserts – Snowy Landscapes – Small Villages – one larger city ::8 Environment | Galaxy – in deep space – other universes can be seen in the distance ::2 Style | Unreal Engine 5 – 8K UHD – Highly Detailed – Game-Art + + a warrior sitting on a giant creature and riding it in the water, with wings spread wide in the water, camera positioned just above the water to capture this beautiful scene, surface showing intricate details of the creature’s scales, fins, and wings, majesty, Hero rides on the creature in the water, digitally enhanced, enhanced graphics, straight, sharp focus, bright lighting, closeup, cinematic, Bronze, Azure, blue, ultra highly detailed, 18k, sharp focus, bright photo with rich colors, full coverage of a scene, straight view shot + + A real photographic landscape painting with incomparable reality,Super wide,Ominous sky,Sailing boat,Wooden boat,Lotus,Huge waves,Starry night,Harry potter,Volumetric lighting,Clearing,Realistic,James gurney,artstation + + Tiger monster with monstera plant over him, back alley in Bangkok, art by Otomo Katsuhiro crossover Yayoi Kusama and Hayao Miyazaki + + An elderly Italian woman with wrinkles, sitting in a local cafe filled with plants and wood decorations, looking out the window, wearing a white top with light purple linen blazer, natural afternoon light shining through the window + + # OUTPUT + Your output should just be an plain list of descriptions. No numbers, no extraneous labels, no hyphens. + Create only one prompt. + """ diff --git a/docs/hel-892/watermark-reference/layer__py__watermark.py b/docs/hel-892/watermark-reference/layer__py__watermark.py new file mode 100644 index 00000000..7be3bf2d --- /dev/null +++ b/docs/hel-892/watermark-reference/layer__py__watermark.py @@ -0,0 +1,112 @@ +# layerstyle advance + +from .imagefunc import * + + +class EncodeBlindWaterMark: + + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(self): + + return { + "required": { + "image": ("IMAGE", ), # + "watermark_image": ("IMAGE",), # + }, + "optional": { + } + } + + RETURN_TYPES = ("IMAGE",) + RETURN_NAMES = ("image",) + FUNCTION = 'watermark_encode' + CATEGORY = '😺dzNodes/LayerUtility/SystemIO' + + def watermark_encode(self, image, watermark_image): + + NODE_NAME = 'Add BlindWaterMark' + + l_images = [] + w_images = [] + ret_images = [] + + for l in image: + l_images.append(torch.unsqueeze(l, 0)) + for w in watermark_image: + w_images.append(torch.unsqueeze(w, 0)) + + for i in range(len(l_images)): + _image = tensor2pil(l_images[i]) + wm_size = watermark_image_size(_image) + _wm_image = w_images[i] if i < len(w_images) else w_images[-1] + _wm_image = tensor2pil(_wm_image) + _wm_image = _wm_image.resize((wm_size, wm_size), Image.LANCZOS) + _wm_image = _wm_image.convert("L") + + y, u, v, _ = image_channel_split(_image, mode='YCbCr') + _u = add_invisibal_watermark(u, _wm_image) + ret_image = image_channel_merge((y, _u, v), mode='YCbCr') + + if _image.mode == "RGBA": + ret_image = RGB2RGBA(ret_image, _image.split()[-1]) + ret_images.append(pil2tensor(ret_image)) + + log(f"{NODE_NAME} Processed {len(ret_images)} image(s).", message_type='finish') + return (torch.cat(ret_images, dim=0),) + + + +class DecodeBlindWaterMark: + + def __init__(self): + pass + + @classmethod + def INPUT_TYPES(self): + + return { + "required": { + "image": ("IMAGE",), # + }, + "optional": { + } + } + + RETURN_TYPES = ("IMAGE", ) + RETURN_NAMES = ("watermark_image",) + FUNCTION = 'watermark_decode' + CATEGORY = '😺dzNodes/LayerUtility/SystemIO' + + def watermark_decode(self, image): + + NODE_NAME = 'Decode BlindWaterMark' + + ret_images = [] + + for i in image: + _image = torch.unsqueeze(i,0) + _image = tensor2pil(_image) + wm_size = watermark_image_size(_image) + y, u, v, _ = image_channel_split(_image, mode='YCbCr') + ret_image = decode_watermark(u, wm_size) + ret_image = ret_image.resize((512, 512), Image.LANCZOS) + ret_image = normalize_gray(ret_image) + ret_images.append(pil2tensor(ret_image.convert('RGB'))) + + log(f"{NODE_NAME} Processed {len(ret_images)} image(s).", message_type='finish') + return (torch.cat(ret_images, dim=0), ) + + + +NODE_CLASS_MAPPINGS = { + "LayerUtility: AddBlindWaterMark": EncodeBlindWaterMark, + "LayerUtility: ShowBlindWaterMark": DecodeBlindWaterMark +} + +NODE_DISPLAY_NAME_MAPPINGS = { + "LayerUtility: AddBlindWaterMark": "LayerUtility: Add BlindWaterMark(Advance)", + "LayerUtility: ShowBlindWaterMark": "LayerUtility: Show BlindWaterMark(Advance)" +} \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/layer__pyproject.toml b/docs/hel-892/watermark-reference/layer__pyproject.toml new file mode 100644 index 00000000..5acac399 --- /dev/null +++ b/docs/hel-892/watermark-reference/layer__pyproject.toml @@ -0,0 +1,15 @@ +[project] +name = "ComfyUI_LayerStyle_Advance" +description = "The nodes detached from ComfyUI Layer Style are mainly those with complex requirements for dependency packages." +version = "2.0.38" +license = { text = "MIT License" } +dependencies = ["numpy", "matplotlib", "scikit_image", "scikit_learn", "opencv-contrib-python", "pymatting", "timm", "blend_modes", "transformers", "diffusers", "loguru", "colour-science", "huggingface_hub", "segment_anything", "addict", "omegaconf", "yapf", "wget", "iopath", "mediapipe", "typer_config", "fastapi", "rich", "google-generativeai", "ultralytics", "transparent-background", "accelerate", "onnxruntime", "bitsandbytes", "peft", "protobuf", "hydra-core", "blind-watermark", "qrcode", "pyzbar", "psd-tools", "wandb", "zhipuai", "openai","google-genai", "fastapi","typer-config"] + +[project.urls] +Repository = "https://github.com/chflame163/ComfyUI_LayerStyle_Advance" +# Used by Comfy Registry https://comfyregistry.org + +[tool.comfy] +PublisherId = "chflame163" +DisplayName = "ComfyUI_LayerStyle_Advance" +Icon = "https://avatars.githubusercontent.com/u/130118553" diff --git a/docs/hel-892/watermark-reference/layer__requirements.txt b/docs/hel-892/watermark-reference/layer__requirements.txt new file mode 100644 index 00000000..8d188e67 --- /dev/null +++ b/docs/hel-892/watermark-reference/layer__requirements.txt @@ -0,0 +1,42 @@ +numpy +matplotlib +scikit_image +scikit_learn +opencv-contrib-python +pymatting +timm +blend_modes +transformers>=4.45.0 +diffusers +loguru +colour-science +huggingface_hub>=0.23.4 +segment_anything +addict +omegaconf +yapf +wget +iopath +mediapipe +typer_config +fastapi +rich +google-generativeai +google-genai>=1.5.0 +pillow>=10.1.0 +ultralytics>=8.2.0 +transparent-background +accelerate>=0.26.0 +onnxruntime +bitsandbytes>=0.41.1 +peft>=0.12.0 +protobuf +hydra-core +blind-watermark +qrcode +pyzbar +psd-tools +zhipuai +openai +typer-config +fastapi \ No newline at end of file diff --git a/docs/hel-892/watermark-reference/pins.json b/docs/hel-892/watermark-reference/pins.json new file mode 100644 index 00000000..d0c61909 --- /dev/null +++ b/docs/hel-892/watermark-reference/pins.json @@ -0,0 +1,22 @@ +{ + "core": { + "repository": "Comfy-Org/ComfyUI", + "requested_ref": "v0.25.0", + "commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c" + }, + "camera": { + "repository": "karas17/ComfyUI-Camera-Watermark", + "requested_ref": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7", + "commit": "c461dedc6ce65e1defe7308e97e7081cedcaf2a7" + }, + "cr": { + "repository": "Suzie1/ComfyUI_Comfyroll_CustomNodes", + "requested_ref": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca", + "commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca" + }, + "guhai": { + "repository": "goohai/Goohaitools-comfyui", + "requested_ref": "0b267384faaa9201c821c68dfa3dacd784da171d", + "commit": "0b267384faaa9201c821c68dfa3dacd784da171d" + } +} diff --git a/docs/hel-892/四种水印固定参考中文说明.md b/docs/hel-892/四种水印固定参考中文说明.md new file mode 100644 index 00000000..ba189d8a --- /dev/null +++ b/docs/hel-892/四种水印固定参考中文说明.md @@ -0,0 +1,1660 @@ +# 四种水印固定参考中文说明 + +56新顶层标量保存位置+0新注释;旧24图665保存位置+16注释逐对象不变。25图721位置+16注释展示,155定稿0、实跑0、新增转换0。 + +复用SQLite来源库→正常GET详情→现有说明抽屉;仅新增source_reviews说明块和显式受信摘要,不改变转换/执行链。来源索引local_file以docs/hel-892/watermark-document-evidence为解析基准。 + +## 图像4种添加水印节点 + +这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。 + +固定版本仅作参考;源前端/UE恢复、动态文件/字体/logo、元数据和实际效果未知,未实跑,转换保持关闭。 + +源路径:`example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json` + +SHA1:303dca71c55e659a7033b3d14d5885bc8a36ae7a + +原字节SHA256:2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8 + +规范全图SHA256:2ad9c54aabf185db084a0773d0af8168ce7e5594e9d55e6959b57eb167e21c8b + +core准确固定v0.25.0→135abed8da169e33ab0b86550e05e3ae55d6df8c,只读静态文本,不证明目标安装。 + +camera准确固定c461dedc6ce65e1defe7308e97e7081cedcaf2a7→c461dedc6ce65e1defe7308e97e7081cedcaf2a7,只读静态文本,不证明目标安装。 + +cr准确固定d78b780ae43fcf8c6b7c6505e6ffb4584281ceca→d78b780ae43fcf8c6b7c6505e6ffb4584281ceca,只读静态文本,不证明目标安装。 + +guhai准确固定0b267384faaa9201c821c68dfa3dacd784da171d→0b267384faaa9201c821c68dfa3dacd784da171d,只读静态文本,不证明目标安装。 + +源没有frontendVersion;显式frontend1.43.17→f754141537fecaae53d635d94615f588b0e39f95仅固定参考假设,不能由core0.25.0推断。上传/seed控件真实布局、恢复与UE7.8次序未知。 + +core许可GPL-3.0;Comfyroll入口MIT许可全文保留;Camera与孤海准确树没有单独LICENSE文件,许可未知,不借其它版本。字体/logo许可与目标成员均未知。 + +LayerStyle Advance按准确Registry2.0.38包固定,Git commit绑定unknown;包MIT许可原文保留。blind-watermark依赖版本未锁、算法内部/实际安装与鲁棒性未知。 + +### 具体连线与处理条件 + +17节点、15物理边、全mode0;15实体加Reroute12/14。56顶层标量保存位置=LoadImage三组各2、Camera28、CR9、孤海13。无子图、无Note;AddBlind1、Show8/16和六Preview7/9/11/13/15/17原[]零位置;两个Reroute缺widgets_values键,不补成[]。 + +四条并行支路:底图5.IMAGE槽0经边11→Reroute12输入0,再以边13→CR3.image、边14→孤海2.图像、边28→Camera20.image、边30→AddBlind1.image;四种效果分别预览,不是四种叠加在同一张图。 + +盲水印内容图6.IMAGE槽0以边17→Reroute14,再边31→AddBlind1.watermark_image;1.image槽0以边4→Preview7.images,并边8→Show8.image;Show8.watermark_image槽0以边6→Preview9.images。 + +独立提取:另载图10.IMAGE槽0以边22→Show16.image,再边23→Preview17.images。不是刚由1生成的文件,不是本次写入/恢复成功的反向证明,也不保证盲水印鲁棒性。 + +CR3.IMAGE槽0以边10→Preview11.images;show_help STRING槽1未接,是帮助文本而非下载文件。孤海2.IMAGE槽0以边16→Preview13.images;Camera20.IMAGE槽0以边29→Preview15.images。 + +孤海文字支路:外部水印图像未接;文字60度旋转在平铺判断前,false仍旋转;间距22仅平铺true时按底图高度百分比作用,当前不作用;输出透明false转RGB。CR center忽略20/20边距,white忽略#000000的HEX。 + +Camera外部exif_data未接:use_exif=true仍回退六手工字符串,不证明iPhone/SONY或光圈为真实元数据。randomize_style=false与附加randomize控制分开;保存seed不当最终seed。第1版式底部加条,大小/边距/字号按min(1,图宽/1200)缩放;bar_width/bar_height当前不作用。 + +三LoadImage的MASK槽1 links=null,全部未接。六Preview继承固定core0.25.0 SaveImage保存逻辑但写temp PNG、返回UI images,无执行数据槽;源没有SaveImage,预览不是永久导出,目录/权限/产物未知。 + +源extra仅UE空表和坐标,没有frontendVersion。UE各节点7.8、空绑定表、未知宿主布局/恢复与回调次序全部保留;显式frontend1.43.17只是固定参考假设,不以core版本填前端身份。没有模型节点,不编模型依赖或触发下载。 + +盲水印准确来源为Registry comfyui_layerstyle_advance 2.0.38发行包(发布ID db305def-250b-448d-88b6-e43acbeb03af),包pyproject确认仓库与版本;未提供Git完整commit绑定,commit明确unknown,不借其它LayerStyle或最新版。只以HTTP Range读取目录与必要Python/许可文本,没有下载包内图片/字体/权重。 + +Add1固定实现按底图批次循环,水印批次不足复用最后一张(空水印批次不保证安全);wm_size=int(sqrt(width×height×0.015625)×0.9),内容图缩至wm_size方形L灰度;底图转YCbCr,在U通道嵌入后合回,原RGBA时恢复原alpha。极小/异常尺寸、空批次/实际媒体支持和效果未知,不执行算法。 + +包imagefunc写临时PNG,调用blind_watermark.WaterMark(password_img=1,password_wm=1),read_img/read_wm后embed(compression_ratio=100)。依赖只写blind-watermark未锁版本:不据其它版本补DWT/DCT算法、容量/尺寸条件或鲁棒性;目录/文件失败分支并非已验证正常输出,未知明确保留。 + +Show8/16固定实现按输入图尺寸重算wm_size,取YCbCr的U通道,经WaterMark.extract(wm_shape=(wm_size,wm_size))再灰度拉伸,缩至512×512、再normalize_gray、转RGB tensor。extract异常代码先回退黑色64×64再后处理;看见预览不证明提取成功,当前未运行。 + +源物理边:[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"] + +节点1 LayerUtility: AddBlindWaterMark mode=0;widgets_values=[];原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"}} + +节点12 Reroute mode=0;widgets_values=缺键;原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": {}}} + +节点5 LoadImage mode=0;widgets_values=["ComfyUI_Qwen_00051_.png", "image"];原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"}} + +节点6 LoadImage mode=0;widgets_values=["1772086821573.png", "image"];原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"}} + +节点20 CameraWatermarkNode mode=0;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"];原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"}} + +节点16 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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"}} + +节点17 PreviewImage mode=0;widgets_values=[];原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"}} + +节点10 LoadImage mode=0;widgets_values=["ComfyUI_temp_pkyyb_00001_.png", "image"];原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"}} + +节点7 PreviewImage mode=0;widgets_values=[];原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"}} + +节点14 Reroute mode=0;widgets_values=缺键;原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": {}}} + +节点8 LayerUtility: ShowBlindWaterMark mode=0;widgets_values=[];原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"}} + +节点9 PreviewImage mode=0;widgets_values=[];原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"}} + +节点15 PreviewImage mode=0;widgets_values=[];原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"}} + +节点11 PreviewImage mode=0;widgets_values=[];原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"}} + +节点13 PreviewImage mode=0;widgets_values=[];原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"}} + +节点3 CR Simple Text Watermark mode=0;widgets_values=["@ by Bright", "center", 0.5, "Caveat-VariableFont_wght.ttf", 150, "white", 20, 20, "#000000"];原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}];原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"}} + +节点2 孤海-图像添加水印 mode=0;widgets_values=["@ by Bright", "华文细黑.ttf", 15, 75, "居中", "居中", 0, 0, "#ece4e4", false, 60, 22, false];原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"}} + +### 使用与核对 + +这张图把同一底图分成盲水印、居中文字、孤海文字水印和相机信息条四路,分别预览;另外可以从另一张已加印图片独立提取盲水印。四路没有依次叠加。字体、标志、图片和真实效果尚未核对;没有正式保存节点,预览不等于永久导出。未实跑,转换保持关闭。 + +素材:底图5、盲水印内容图6、独立提取图10三个独立图片引用;文字字体、相机字体和logo只保留引用,不读取/下载。没有模型节点。 + +操作1:未来获准执行时先核准确节点包、源未声明的宿主前端、UE行为、图片/字体/logo成员及权限;本轮不构造prompt,不调整机器。 + +操作2:分别检查CR居中文本、孤海60度单一文字、相机底部信息条和盲水印支路;不要把四个Preview误认为顺序叠加结果。 + +操作3:区分Show8对当前写入支路的提取与Show16对另载图片的独立提取;二者不证明鲁棒性或当前执行成功。 + +常见问题:white下HEX不生效、center下边距不生效符合固定CR代码;孤海平铺false仍旋转但间距不生效。字体缺项/字形不符需核真实文件,不能凭引用保证。 + +常见问题:相机文本不是自动识别EXIF;外线未接时回退手工保存文案。randomize附加控制不是随机版式开关,不能把保存seed称最终seed。 + +常见问题:六个预览仅临时PNG/UI,当前无永久保存节点;真实输出/效果、图片尺寸条件、插件依赖、目录权限仍未知。未定稿、未实跑,保持停用未检查。 + +### 逐保存位置说明 + +#### 1. 节点5 · 四路共用底图引用(image) + +节点5独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。 + +```json +"ComfyUI_Qwen_00051_.png" +``` + +类:LoadImage;JSON类型:str;角色:scalar。 + +源位置:`/nodes/2/widgets_values/0` + +定义默认:动态input目录过滤图片列表,无固定默认;单位:文件引用 + +范围/条件:成员、文件/尺寸/格式和权限未知;本轮不读取图片 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [2] LoadImage和PreviewImage旧式准确注册;nodes.py 2023~2065行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +#### 2. 节点5 · 图片上传控件保存状态(upload) + +节点5的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。 + +```json +"image" +``` + +类:LoadImage;JSON类型:str;角色:frontend_control。 + +源位置:`/nodes/2/widgets_values/1` + +定义默认:固定前端参考image按钮占位;非后台默认;单位:前端状态 + +范围/条件:不是后台参数,也不是上传成功;源未声明前端,准确恢复未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [16] 按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数;src/extensions/core/uploadImage.ts 1~40行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts +- [17] 准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调;src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts 1~129行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts +- [18] IMAGEUPLOAD控件工厂注册;src/scripts/widgets.ts 296~309行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts +- [19] 按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure;src/lib/litegraph/src/LGraphNode.ts 899~938行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [20] 保存widgets_values及onSerialize,保存态不直接等于最终prompt;src/lib/litegraph/src/LGraphNode.ts 963~996行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [21] addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关;src/lib/litegraph/src/LGraphNode.ts 1945~1998行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [22] graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用;src/utils/executionUtil.ts 83~112行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts +- [23] 上传POST与完成后路径更新仅源码说明;本轮不调用上传;src/composables/node/useNodeImageUpload.ts 20~56行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts +- [24] 固定仓库许可原文,不为未确认节点提供方或权重许可背书;LICENSE 1~674行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE + +#### 3. 节点6 · 盲水印内容图引用(image) + +节点6独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。 + +```json +"1772086821573.png" +``` + +类:LoadImage;JSON类型:str;角色:scalar。 + +源位置:`/nodes/3/widgets_values/0` + +定义默认:动态input目录过滤图片列表,无固定默认;单位:文件引用 + +范围/条件:成员、文件/尺寸/格式和权限未知;本轮不读取图片 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [2] LoadImage和PreviewImage旧式准确注册;nodes.py 2023~2065行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +#### 4. 节点6 · 图片上传控件保存状态(upload) + +节点6的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。 + +```json +"image" +``` + +类:LoadImage;JSON类型:str;角色:frontend_control。 + +源位置:`/nodes/3/widgets_values/1` + +定义默认:固定前端参考image按钮占位;非后台默认;单位:前端状态 + +范围/条件:不是后台参数,也不是上传成功;源未声明前端,准确恢复未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [16] 按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数;src/extensions/core/uploadImage.ts 1~40行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts +- [17] 准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调;src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts 1~129行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts +- [18] IMAGEUPLOAD控件工厂注册;src/scripts/widgets.ts 296~309行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts +- [19] 按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure;src/lib/litegraph/src/LGraphNode.ts 899~938行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [20] 保存widgets_values及onSerialize,保存态不直接等于最终prompt;src/lib/litegraph/src/LGraphNode.ts 963~996行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [21] addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关;src/lib/litegraph/src/LGraphNode.ts 1945~1998行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [22] graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用;src/utils/executionUtil.ts 83~112行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts +- [23] 上传POST与完成后路径更新仅源码说明;本轮不调用上传;src/composables/node/useNodeImageUpload.ts 20~56行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts +- [24] 固定仓库许可原文,不为未确认节点提供方或权重许可背书;LICENSE 1~674行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE + +#### 5. 节点10 · 独立提取支路的已加印图片引用引用(image) + +节点10独立保存图片引用,不与其它LoadImage去重。固定core先经InputImpl.VideoFromFile.get_components尝试读取图像/alpha;空图像时回退Pillow处理animated webp、EXIF方向、RGB/255。返回IMAGE与MASK;本图三个MASK槽均未接。不是上传成功或真实图片可达证明。 + +```json +"ComfyUI_temp_pkyyb_00001_.png" +``` + +类:LoadImage;JSON类型:str;角色:scalar。 + +源位置:`/nodes/7/widgets_values/0` + +定义默认:动态input目录过滤图片列表,无固定默认;单位:文件引用 + +范围/条件:成员、文件/尺寸/格式和权限未知;本轮不读取图片 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [2] LoadImage和PreviewImage旧式准确注册;nodes.py 2023~2065行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +#### 6. 节点10 · 图片上传控件保存状态(upload) + +节点10的第二保存位置image原样独立保留。显式frontend1.43.17假设中上传按钮options.serialize=false用于prompt排除,工作流widget.serialize另管持久化;不把该值映射成LoadImage后台upload输入。此图未声明宿主版本,不证明真实控件恢复/上传,未调用POST。 + +```json +"image" +``` + +类:LoadImage;JSON类型:str;角色:frontend_control。 + +源位置:`/nodes/7/widgets_values/1` + +定义默认:固定前端参考image按钮占位;非后台默认;单位:前端状态 + +范围/条件:不是后台参数,也不是上传成功;源未声明前端,准确恢复未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [0] core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 1695~1770行;commit 135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py +- [16] 按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数;src/extensions/core/uploadImage.ts 1~40行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts +- [17] 准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调;src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts 1~129行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts +- [18] IMAGEUPLOAD控件工厂注册;src/scripts/widgets.ts 296~309行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts +- [19] 按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure;src/lib/litegraph/src/LGraphNode.ts 899~938行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [20] 保存widgets_values及onSerialize,保存态不直接等于最终prompt;src/lib/litegraph/src/LGraphNode.ts 963~996行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [21] addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关;src/lib/litegraph/src/LGraphNode.ts 1945~1998行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts +- [22] graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用;src/utils/executionUtil.ts 83~112行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts +- [23] 上传POST与完成后路径更新仅源码说明;本轮不调用上传;src/composables/node/useNodeImageUpload.ts 20~56行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts +- [24] 固定仓库许可原文,不为未确认节点提供方或权重许可背书;LICENSE 1~674行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE + +#### 7. 节点3 · 水印文字(text) + +在每张输入图片上绘制保存的@ by Bright,不改写文本。 + +```json +"@ by Bright" +``` + +类:CR Simple Text Watermark;JSON类型:str;角色:scalar。 + +源位置:`/nodes/15/widgets_values/0` + +定义默认:@ your name;单位:文字 + +范围/条件:单行字符串 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 8. 节点3 · 文字对齐(align) + +保存center使文字边界框居中;此分支不使用x_margin或y_margin。 + +```json +"center" +``` + +类:CR Simple Text Watermark;JSON类型:str;角色:scalar。 + +源位置:`/nodes/15/widgets_values/1` + +定义默认:未显式default,选项首项center;单位:对齐枚举 + +范围/条件:center/top left/top center/top right/bottom left/bottom center/bottom right + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 9. 节点3 · 文字不透明度(opacity) + +保存0.5使文字图层alpha经Brightness乘0.5,再Image.composite合成;不是保证最终视觉恰好50%。 + +```json +0.5 +``` + +类:CR Simple Text Watermark;JSON类型:float;角色:scalar。 + +源位置:`/nodes/15/widgets_values/2` + +定义默认:0.30;单位:比例 + +范围/条件:0~1,step0.01 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 10. 节点3 · 文字字体引用(font_name) + +保存Caveat-VariableFont_wght.ttf。准确代码ImageFont.truetype加载插件fonts下引用,无此处加载异常回退;不读取或下载字体。 + +```json +"Caveat-VariableFont_wght.ttf" +``` + +类:CR Simple Text Watermark;JSON类型:str;角色:scalar。 + +源位置:`/nodes/15/widgets_values/3` + +定义默认:动态fonts目录.ttf列表,无显式default;单位:字体文件引用 + +范围/条件:目标动态成员/字形/许可未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 11. 节点3 · 文字字号(font_size) + +保存150传给truetype size;不证明实际文字宽高,文字边界依赖字体。 + +```json +150 +``` + +类:CR Simple Text Watermark;JSON类型:int;角色:scalar。 + +源位置:`/nodes/15/widgets_values/4` + +定义默认:50;单位:Pillow字号像素 + +范围/条件:1~1024 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 12. 节点3 · 文字颜色选项(font_color) + +保存white按color_mapping为(255,255,255),不会读取font_color_hex。 + +```json +"white" +``` + +类:CR Simple Text Watermark;JSON类型:str;角色:scalar。 + +源位置:`/nodes/15/widgets_values/5` + +定义默认:无显式default,列表首项custom;单位:颜色枚举 + +范围/条件:准确config.COLORS列表 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 13. 节点3 · 水平边距(x_margin) + +保存20在非居中左右支路参与位置;center保存态不使用它。 + +```json +20 +``` + +类:CR Simple Text Watermark;JSON类型:int;角色:scalar。 + +源位置:`/nodes/15/widgets_values/6` + +定义默认:20;单位:像素 + +范围/条件:-1024~1024 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 14. 节点3 · 垂直边距(y_margin) + +保存20在顶部/底部支路参与位置;center保存态不使用它。 + +```json +20 +``` + +类:CR Simple Text Watermark;JSON类型:int;角色:scalar。 + +源位置:`/nodes/15/widgets_values/7` + +定义默认:20;单位:像素 + +范围/条件:-1024~1024 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 15. 节点3 · 自定义文字HEX(font_color_hex) + +保存#000000,但white支路不采用;不能把它说成当前黑色水印。 + +```json +"#000000" +``` + +类:CR Simple Text Watermark;JSON类型:str;角色:scalar。 + +源位置:`/nodes/15/widgets_values/8` + +定义默认:#000000;单位:RGB十六进制字符串 + +范围/条件:只有font_color=custom才解析;不保证任意字符串有效 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [3] Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 356~448行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py +- [4] 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 358~377行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [5] RGBA alpha按opacity减弱;nodes/functions_graphics.py 421~431行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py +- [6] Comfyroll颜色选项与white映射;config.py 1~35行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py +- [7] 包入口引入node_mappings,CR准确类注册链;node_mappings.py 1~532行;commit d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +#### 16. 节点2 · 文字水印内容(水印文本) + +保存@ by Bright;可选水印图像未接,固定实现走文字支路。 + +```json +"@ by Bright" +``` + +类:孤海-图像添加水印;JSON类型:str;角色:scalar。 + +源位置:`/nodes/16/widgets_values/0` + +定义默认:水印;单位:文字 + +范围/条件:字符串;当前无外部水印图输入 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 17. 节点2 · 文字字体引用(字体) + +保存华文细黑.ttf;按插件fonts引用,truetype异常回退ImageFont.load_default,不保证字形一致。 + +```json +"华文细黑.ttf" +``` + +类:孤海-图像添加水印;JSON类型:str;角色:scalar。 + +源位置:`/nodes/16/widgets_values/1` + +定义默认:动态fonts目录,无显式default;单位:字体文件引用 + +范围/条件:.ttf/.otf/.ttc动态成员与实际文件未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 18. 节点2 · 文字大小百分比(水印大小百分比) + +保存15;文字字号int(原图高×15/100),不是文字宽度或图片水印比例。只有外部水印图分支才按水印自身尺寸百分比缩放。 + +```json +15 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/2` + +定义默认:5;单位:底图高度百分比 + +范围/条件:0~100,step1;0在schema合法不保证绘制成功 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 19. 节点2 · 文字不透明度(水印不透明度) + +保存75;十六进制颜色解析alpha=int(255×75/100),再按图层mask粘贴/alpha_composite,不能直接承诺最终alpha75%。 + +```json +75 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/3` + +定义默认:50;单位:百分比 + +范围/条件:0~100,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 20. 节点2 · 水平对齐(水平位置) + +当前居中时x=(原图宽-水印宽)//2+X偏移像素。 + +```json +"居中" +``` + +类:孤海-图像添加水印;JSON类型:str;角色:scalar。 + +源位置:`/nodes/16/widgets_values/4` + +定义默认:无显式default,首项居中;单位:对齐枚举 + +范围/条件:居中/靠左/靠右 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 21. 节点2 · 垂直对齐(垂直位置) + +当前居中时y=(原图高-水印高)//2+Y偏移像素。 + +```json +"居中" +``` + +类:孤海-图像添加水印;JSON类型:str;角色:scalar。 + +源位置:`/nodes/16/widgets_values/5` + +定义默认:无显式default,首项居中;单位:对齐枚举 + +范围/条件:居中/靠上/靠下 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 22. 节点2 · 水平偏移(X偏移百分比) + +保存0;int(原图宽×X/100),居中向右加、靠右从右边距减。平铺分支不调用该定位。 + +```json +0 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/6` + +定义默认:0;单位:底图宽度百分比 + +范围/条件:0~50,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 23. 节点2 · 垂直偏移(Y偏移百分比) + +保存0;int(原图高×Y/100),居中向下加、靠下从下边距减。平铺分支不调用该定位。 + +```json +0 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/7` + +定义默认:0;单位:底图高度百分比 + +范围/条件:0~50,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 24. 节点2 · 文字颜色(文字颜色) + +保存#ece4e4,固定实现解析RGB并结合不透明度形成RGBA。前端COLORCODE控件恢复未证明,不靠字段名补宿主行为。 + +```json +"#ece4e4" +``` + +类:孤海-图像添加水印;JSON类型:str;角色:scalar。 + +源位置:`/nodes/16/widgets_values/8` + +定义默认:#FFFFFF;单位:RGB十六进制 + +范围/条件:解析前三对十六进制,非法输入不保证有效 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 25. 节点2 · 平铺文字(水印平铺) + +false走单一水印定位;true按旋转后的文字尺寸与间距重复粘贴,本图不走该分支。 + +```json +false +``` + +类:孤海-图像添加水印;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/16/widgets_values/9` + +定义默认:false;单位:布尔开关 + +范围/条件:true/false;当前false + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 26. 节点2 · 文字旋转角度(水印角度) + +保存60;旋转在平铺判断之前执行,BICUBIC且expand=True,所以关闭平铺仍作用于单一文字水印,不能说被忽略。 + +```json +60 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/10` + +定义默认:0;单位:度 + +范围/条件:-90~90,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 27. 节点2 · 平铺文字间距(水印间距) + +保存22;只有平铺true才算int(原图高×22/100)作为行列间距。当前false不作用,不是22像素。 + +```json +22 +``` + +类:孤海-图像添加水印;JSON类型:int;角色:scalar。 + +源位置:`/nodes/16/widgets_values/11` + +定义默认:10;单位:底图高度百分比 + +范围/条件:0~50,step1;仅平铺文字分支 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 28. 节点2 · 保留输出透明通道(输出透明通道) + +当前false把RGBA结果转RGB再转tensor;true只是保留结果通道,不等于自动移除底图背景。 + +```json +false +``` + +类:孤海-图像添加水印;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/16/widgets_values/12` + +定义默认:false;单位:布尔开关 + +范围/条件:true/false + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [8] 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 1~259行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py +- [9] 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 1~48行;commit 0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +#### 29. 节点20 · 相机水印版式(layout) + +保存第1版式:底部加条,左右文本分布。不是四路叠加;当前bar_width/bar_height不参与此版式。 + +```json +"1. 底部留白 - 左右分布" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/0` + +定义默认:无显式default,首项1. 底部留白 - 左右分布;单位:版式枚举 + +范围/条件:固定LAYOUT_OPTIONS十项 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 30. 节点20 · 恢复当前版式预设(restore_preset) + +false不以LAYOUT_PRESETS覆写保存参数。固定实现true时在随机版式选择后params.update预设;真实宿主回调/恢复未知。 + +```json +false +``` + +类:CameraWatermarkNode;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/4/widgets_values/1` + +定义默认:false;单位:布尔开关 + +范围/条件:true/false + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 31. 节点20 · 随机相机版式(randomize_style) + +false不调用random.seed/choice;保存seed不随机求值。与前端seed附加randomize控件是两件事。 + +```json +false +``` + +类:CameraWatermarkNode;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/4/widgets_values/2` + +定义默认:false;单位:布尔开关 + +范围/条件:true/false + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 32. 节点20 · 随机版式候选(random_style_selection) + +保存1-10。固定解析允许数字/区间,非法部分跳过;无有效候选保留当前版式。当前false不选择随机版式。 + +```json +"1-10" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/3` + +定义默认:1-10;单位:编号范围字符串 + +范围/条件:逗号和闭区间,过滤为1~10;仅randomize_style=true + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 33. 节点20 · 随机版式种子保存值(seed) + +保存166434517983310;附加前端randomize位独立。源未声明前端,不称最终提交seed,不运行随机。 + +```json +166434517983310 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/4` + +定义默认:0;单位:整数种子 + +范围/条件:0~18446744073709551615;仅随机版式分支使用 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 34. 节点20 · 种子附加前端控制(control_after_generate) + +此位置插在seed后,27个服务端控件加1前端控制共28位置;后面的use_exif不能移位成此值。固定参考前端策略也不证明本图真实恢复或最终seed。 + +```json +"randomize" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:frontend_control。 + +源位置:`/nodes/4/widgets_values/5` + +定义默认:源前端版本未知;不认作后台默认;单位:前端状态 + +范围/条件:保存randomize;不是第六个后台参数 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 35. 节点20 · 优先外部EXIF(use_exif) + +保存true但exif_data外线未接,准确代码回退六个手工文本,不从IMAGE张量或图像引用自动读取EXIF。 + +```json +true +``` + +类:CameraWatermarkNode;JSON类型:bool;角色:scalar。 + +源位置:`/nodes/4/widgets_values/6` + +定义默认:true;单位:布尔开关 + +范围/条件:须同时有exif_data非空且strip()!="{}" + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 36. 节点20 · A区第1行文字(block_a_text_1) + +保存手工A区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"iPhone 15 Pro Max" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/7` + +定义默认:"iPhone 15 Pro Max";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 37. 节点20 · A区第2行文字(block_a_text_2) + +保存手工A区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"Main Camera" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/8` + +定义默认:"Main Camera";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 38. 节点20 · A区第3行文字(block_a_text_3) + +保存手工A区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"© KARAS" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/9` + +定义默认:"© KARAS";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 39. 节点20 · B区第1行文字(block_b_text_1) + +保存手工B区第1行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"SONY" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/10` + +定义默认:"SONY";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 40. 节点20 · B区第2行文字(block_b_text_2) + +保存手工B区第2行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"24mm | f/1.8 | 1/125s | ISO 50" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/11` + +定义默认:"24mm | f/1.8 | 1/125s | ISO 50";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 41. 节点20 · B区第3行文字(block_b_text_3) + +保存手工B区第3行文案;本图EXIF外线未接,不能把机型/品牌/曝光描述当真实元数据。第1行用large_bold/title_color,第2行medium/subtitle_color,第3行small/subtitle_color;空行略过。 + +```json +"" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/12` + +定义默认:"";单位:文字 + +范围/条件:单行字符串;空字符串不绘制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 42. 节点20 · 相机标志引用(logo) + +保存leica,仅引用;代码按目录名称大小写匹配、读取RGBA并裁透明边。只有选None才尝试从手工A1或EXIF Make匹配名称,不读取/下载logo。 + +```json +"leica" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/13` + +定义默认:存在leica时选leica,否则动态列表首项;单位:logo文件引用 + +范围/条件:None加插件logos目录PNG名称;目标成员/许可未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 43. 节点20 · 标志尺寸倍率(logo_size_ratio) + +保存整数1(保留JSON int,与FLOAT默认分列);基准高=max(文本相关高度,信息条尺寸的一半),乘倍率后等比LANCZOS缩放。实际大小依赖布局/文字/图片。 + +```json +1 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/14` + +定义默认:1.0;单位:倍数 + +范围/条件:0.1~3.0,step0.1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 44. 节点20 · 信息条厚度(bar_size) + +保存200。第1版式在底部增加int(200×scale_factor)高;scale_factor=min(1,图宽/1200),不是固定输出200像素。 + +```json +200 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/15` + +定义默认:200;单位:参考像素 + +范围/条件:0~2048,step10 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 45. 节点20 · 备用独立画布宽(bar_width) + +保存1894;当前第1版式不使用。准确代码10.也进入底部加条分支,不能因名称独立信息条就称使用bar_width。 + +```json +1894 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/16` + +定义默认:1894;单位:参考像素 + +范围/条件:64~8192,step64;只在未匹配版式的else使用 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 46. 节点20 · 备用独立画布高(bar_height) + +保存165;当前第1版式不使用,仅else画布按scale_factor缩放。 + +```json +165 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/17` + +定义默认:165;单位:参考像素 + +范围/条件:64~8192,step64;只在未匹配版式的else使用 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 47. 节点20 · 版式边距(padding) + +保存50;int(50×scale_factor),第1版式左右组与条边缘间距,真实文字边界依赖字体。 + +```json +50 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/18` + +定义默认:50;单位:参考像素 + +范围/条件:0~400,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 48. 节点20 · 文本与元素间隔(spacing) + +保存15;int(15×scale_factor),用于文本行以及标志/文本间隔。 + +```json +15 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/19` + +定义默认:15;单位:参考像素 + +范围/条件:0~200,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 49. 节点20 · 常规文字字体引用(font_name) + +保存Alibaba-PuHuiTi-Bold.ttf;此名称用于medium/small,与粗体引用独立保留,即使值相同也不去重。加载失败回退默认字体,不保证效果。 + +```json +"Alibaba-PuHuiTi-Bold.ttf" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/20` + +定义默认:动态字体列表,无显式default;单位:字体文件引用 + +范围/条件:.ttf/.ttc/.otf;实际文件和字形未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 50. 节点20 · 标题粗体字体引用(font_bold_name) + +保存同名Alibaba-PuHuiTi-Bold.ttf,用于large_bold;按名称筛选不证明真正字体粗细。不下载字体。 + +```json +"Alibaba-PuHuiTi-Bold.ttf" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/21` + +定义默认:动态bold/bd子集或完整字体列表,无显式default;单位:字体文件引用 + +范围/条件:实际成员/字形/许可未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 51. 节点20 · 大标题字号(font_size_large) + +保存48;int(48×scale_factor)传给粗体字体,两区第1行使用。小图可能缩至更低,schema范围不等于实际字号范围。 + +```json +48 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/22` + +定义默认:48;单位:参考像素 + +范围/条件:8~200,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 52. 节点20 · 中号文字字号(font_size_medium) + +保存28;int(28×scale_factor)传给常规字体,两区第2行使用。 + +```json +28 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/23` + +定义默认:28;单位:参考像素 + +范围/条件:8~200,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 53. 节点20 · 小号文字字号(font_size_small) + +保存24;int(24×scale_factor)传给常规字体,两区第3行使用;B3为空不绘制。 + +```json +24 +``` + +类:CameraWatermarkNode;JSON类型:int;角色:scalar。 + +源位置:`/nodes/4/widgets_values/24` + +定义默认:24;单位:参考像素 + +范围/条件:8~200,step1 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 54. 节点20 · 信息条背景色(bg_color) + +保存#FFFFFF,当前底部条画布用此背景;不代表原图背景被改白。 + +```json +"#FFFFFF" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/25` + +定义默认:#FFFFFF;单位:Pillow颜色字符串 + +范围/条件:schema无进一步限制;实际合法性未知 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 55. 节点20 · 标题文字颜色(title_color) + +保存#000000,A/B区第一行文字颜色。 + +```json +"#000000" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/26` + +定义默认:#000000;单位:Pillow颜色字符串 + +范围/条件:schema无进一步限制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +#### 56. 节点20 · 副文字颜色(subtitle_color) + +保存#888888,A/B区第二与第三行文字颜色。 + +```json +"#888888" +``` + +类:CameraWatermarkNode;JSON类型:str;角色:scalar。 + +源位置:`/nodes/4/widgets_values/27` + +定义默认:#888888;单位:Pillow颜色字符串 + +范围/条件:schema无进一步限制 + +源mode=0、UE7.8;源未声明frontendVersion。字段对应只作所列准确后端schema与显式前端1.43.17固定参考假设,不证明宿主控件布局/恢复/UE回调次序或最终prompt;不随机求值、不执行插件。 + +依据: +- [10] Camera准确27服务端控件schema及可选exif_data;__init__.py 230~269行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [11] 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 314~365行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [12] 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 407~650行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [13] 字体/logo动态枚举、十种版式及预设;__init__.py 20~121行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [14] tensor转换与字体缓存/加载失败回退;__init__.py 271~295行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [15] Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 645~654行;commit c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py +- [25] 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 82~265行;commit f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +### 零保存节点与源注释 + +1 LayerUtility: AddBlindWaterMark:原[]零保存位置,只有image与watermark_image必需IMAGE输入,返回image槽0;准确2.0.38代码缩方形灰度水印、嵌入YCbCr U通道、批次不足复用最后水印,真实依赖/尺寸/效果未知。 + +16 LayerUtility: ShowBlindWaterMark:原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。 + +17 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +7 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +8 LayerUtility: ShowBlindWaterMark:原[]零保存位置,只有image必需IMAGE输入,返回watermark_image槽0;准确2.0.38按尺寸提取U通道水印、512方形RGB结果与异常回退,不证明成功。 + +9 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +15 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +11 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +13 PreviewImage:原[]零位置;images输入,无执行返回槽,固定core0.25.0继承写temp PNG/UI images,非永久导出。 + +### 固定原件索引 + +0. core0.25.0 LoadImage准确schema、输入目录枚举、双读取分支及IMAGE/MASK输出;nodes.py 第1695~1770行;提交135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +1. PreviewImage继承SaveImage,temp目录PNG与UI images,无执行返回槽;nodes.py 第1622~1693行;提交135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +2. LoadImage和PreviewImage旧式准确注册;nodes.py 第2023~2065行;提交135abed8da169e33ab0b86550e05e3ae55d6df8c;SHA256 18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py + +3. Comfyroll准确九字段schema、批次循环、位置、字体和合成;nodes/nodes_graphics_text.py 第356~448行;提交d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 6b83d72afb0e6bf5cefe3a281dfcab731d9a5013cd82e070bb62ddb9e6a6e7bb;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_graphics_text.py + +4. 只有custom使用HEX,其它颜色按color_mapping;nodes/functions_graphics.py 第358~377行;提交d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py + +5. RGBA alpha按opacity减弱;nodes/functions_graphics.py 第421~431行;提交d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 d2ab92dfcc4622f7a9ea1e15e6f38e0aaac444ed09a03b6d5ce7185b3350ebc2;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_graphics.py + +6. Comfyroll颜色选项与white映射;config.py 第1~35行;提交d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 1ff1b1b04fad63df11e559c38b30ef9eb8c25bc1af0706b91b4c8929e51975dd;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/config.py + +7. 包入口引入node_mappings,CR准确类注册链;node_mappings.py 第1~532行;提交d78b780ae43fcf8c6b7c6505e6ffb4584281ceca;SHA256 9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633;https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py + +8. 孤海准确schema、文字与图像支路、旋转/平铺、通道与注册;nodes/图像添加水印.py 第1~259行;提交0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 c23f2a31c9a231f38312c4332eca99bbfce0e8b37159973c4323ed7bbc2dd9a0;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/nodes/图像添加水印.py + +9. 孤海包按nodes/*.py合并注册映射,WEB_DIRECTORY=./web;__init__.py 第1~48行;提交0b267384faaa9201c821c68dfa3dacd784da171d;SHA256 6b820d7452bd1ef0c0eabee0a8bfe73e9bf570cf4796a8d7d993b15ca020a952;https://raw.githubusercontent.com/goohai/Goohaitools-comfyui/0b267384faaa9201c821c68dfa3dacd784da171d/__init__.py + +10. Camera准确27服务端控件schema及可选exif_data;__init__.py 第230~269行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +11. 样式范围解析和EXIF外线条件、手工文案回退、logo选择;__init__.py 第314~365行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +12. 随机/预设条件、1200宽动态缩放、字体、画布和logo绘制;__init__.py 第407~650行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +13. 字体/logo动态枚举、十种版式及预设;__init__.py 第20~121行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +14. tensor转换与字体缓存/加载失败回退;__init__.py 第271~295行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +15. Camera准确注册;该完整树没有JS文件,不证明宿主预设回调;__init__.py 第645~654行;提交c461dedc6ce65e1defe7308e97e7081cedcaf2a7;SHA256 6e6dc161a8fb37af81474ad5fd455e8bf8029361dcb4e1dec5e51a5c968b69ee;https://raw.githubusercontent.com/karas17/ComfyUI-Camera-Watermark/c461dedc6ce65e1defe7308e97e7081cedcaf2a7/__init__.py + +16. 按媒体combo schema添加IMAGEUPLOAD输入;不是后台image参数;src/extensions/core/uploadImage.ts 第1~40行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/extensions/core/uploadImage.ts + +17. 准确IMAGEUPLOAD控件、占位value及serialize策略;不能忽略UE回调;src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts 第1~129行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 c3c06c7bcdc56b2787368dc107fbd522d983466d244c0fdf724bae9ddd356f29;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget.ts + +18. IMAGEUPLOAD控件工厂注册;src/scripts/widgets.ts 第296~309行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +19. 按控件序列恢复widgets_values,跳过serialize=false,之后onConfigure;src/lib/litegraph/src/LGraphNode.ts 第899~938行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts + +20. 保存widgets_values及onSerialize,保存态不直接等于最终prompt;src/lib/litegraph/src/LGraphNode.ts 第963~996行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts + +21. addWidget将serialize:false留在options,区别于widget.serialize工作流持久化开关;src/lib/litegraph/src/LGraphNode.ts 第1945~1998行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 a8c356bb585a4376ad2abfa4a32b3cafa63acf5dce7a26473c65f60a44901a1b;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/lib/litegraph/src/LGraphNode.ts + +22. graphToPrompt按options.serialize=false排除upload控件,仅静态读取不调用;src/utils/executionUtil.ts 第83~112行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 67bbc3d626a5092f0093e45d2df2308a2bf5cd69a85c26f81cb6fa143fda2d33;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/utils/executionUtil.ts + +23. 上传POST与完成后路径更新仅源码说明;本轮不调用上传;src/composables/node/useNodeImageUpload.ts 第20~56行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 11b22d77758795262a2a10252c0ef57f1b2017c4125af3928b353292d53bb3e8;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/composables/node/useNodeImageUpload.ts + +24. 固定仓库许可原文,不为未确认节点提供方或权重许可背书;LICENSE 第1~674行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/LICENSE + +25. 显式固定前端参考的种子附加控制,非本图宿主身份/最终seed证明;src/scripts/widgets.ts 第82~265行;提交f754141537fecaae53d635d94615f588b0e39f95;SHA256 43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/f754141537fecaae53d635d94615f588b0e39f95/src/scripts/widgets.ts + +26. 准确包按py/*.py合并注册;__init__.py 第1~48行;提交unknown;SHA256 3b6b551e1391d96a308a47a080f0775ce4d9203bfa741ec440a8f7715f2bbf59;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +27. Add/Show准确注册、IMAGE接口、批次/灰度/YCbCr与恢复输出;py/watermark.py 第1~112行;提交unknown;SHA256 060cf10dc7634667e865811318f2a3a6da542195c0376d92fc69a43c667bb903;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +28. 水印尺寸公式、临时PNG、blind_watermark调用与异常回退;py/imagefunc.py 第1295~1381行;提交unknown;SHA256 258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +29. PIL/tensor归一化与量化;py/imagefunc.py 第119~149行;提交unknown;SHA256 258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +30. normalize_gray亮度拉伸;py/imagefunc.py 第791~805行;提交unknown;SHA256 258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +31. YCbCr分离/通道合并;py/imagefunc.py 第1053~1086行;提交unknown;SHA256 258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +32. RGBA恢复alpha;py/imagefunc.py 第1737~1742行;提交unknown;SHA256 258d1c3796103f418c272c4cdb913a5d7dd9d6e82461ebee0f861e36942d34e6;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +33. 精确2.0.38身份、仓库、MIT许可与未固定版本blind-watermark依赖;pyproject.toml 第1~15行;提交unknown;SHA256 629267e139dff3bfb261e5951c3191dd4fcddc5240ac7cf2f95aeb7452aeb66a;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip + +34. 准确包MIT许可全文;LICENSE 第1~21行;提交unknown;SHA256 5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0;https://cdn.comfy.org/chflame163/ComfyUI_LayerStyle_Advance/2.0.38/node.zip diff --git a/e2e/run-watermark-document.py b/e2e/run-watermark-document.py new file mode 100644 index 00000000..1f38ef6b --- /dev/null +++ b/e2e/run-watermark-document.py @@ -0,0 +1,78 @@ +"""Foreground local browser check; stop every owned service before returning.""" + +from __future__ import annotations + +import os +import signal +import subprocess +import sys +import time +import urllib.error +import urllib.request +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[1] +OUT = ROOT / ".local-evidence/watermark-document/browser" + + +def main(): + OUT.mkdir(parents=True, exist_ok=True) + # Refuse to reuse another operator's service or port. + import socket + + for port in (8247, 5173): + with socket.socket() as sock: + sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) + sock.bind(("127.0.0.1", port)) + processes = [] + logs = [] + try: + commands = [ + ([sys.executable, str(ROOT / "e2e/workflow-document-server.py")], ROOT), + ( + ["node", "node_modules/vite/bin/vite.js", "--host", "127.0.0.1"], + ROOT / "calliope-web", + ), + ] + for i, (command, cwd) in enumerate(commands): + log = (OUT / f"service-{i}.log").open("w") + logs.append(log) + processes.append( + subprocess.Popen(command, cwd=cwd, stdout=log, stderr=log, start_new_session=True) + ) + for url in ( + "http://127.0.0.1:8247/api/workflows", + "http://127.0.0.1:5173/connections", + ): + deadline = time.monotonic() + 30 + while True: + if any(p.poll() is not None for p in processes): + raise RuntimeError("Local service exited; inspect service logs") + try: + with urllib.request.urlopen(url, timeout=1) as response: + if response.status == 200: + break + except (urllib.error.URLError, TimeoutError): + pass + if time.monotonic() > deadline: + raise TimeoutError(url) + time.sleep(0.2) + names = ["watermark"] + for name in names: + subprocess.run(["node", f"e2e/{name}-document.mjs"], cwd=ROOT, check=True) + finally: + for p in processes: + if p.poll() is None: + os.killpg(p.pid, signal.SIGTERM) + try: + p.wait(timeout=10) + except subprocess.TimeoutExpired: + os.killpg(p.pid, signal.SIGKILL) + p.wait(timeout=5) + for log in logs: + log.close() + print("All owned browser services stopped.") + + +if __name__ == "__main__": + main() diff --git a/e2e/watermark-document.mjs b/e2e/watermark-document.mjs new file mode 100644 index 00000000..4b4311a0 --- /dev/null +++ b/e2e/watermark-document.mjs @@ -0,0 +1,102 @@ +// Local GET-only: 56 watermark positions, no new notes, and 24 frozen summaries. +import fs from 'node:fs'; +import assert from 'node:assert/strict'; +const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright'); +const out='.local-evidence/watermark-document/browser';fs.mkdirSync(out,{recursive:true}); +const checks=[],requests=[],errors=[],blockedFonts=[],assertionGroups={};let group='aggregate'; +function check(condition,label){assert.ok(condition,label);checks.push(label);assertionGroups[group]=(assertionGroups[group]||0)+1;console.log('PASS '+label);} +const browser=await chromium.launch({headless:true,executablePath:process.env.BROWSER_EXECUTABLE}); +try { + const page=await browser.newPage({viewport:{width:1440,height:1000}}); + await page.route('**/*',route=>{ + const u=new URL(route.request().url()); + if(u.hostname==='fonts.googleapis.com'){blockedFonts.push(String(u));return route.fulfill({contentType:'text/css',body:''});} + if(route.request().method()!=='GET'||u.hostname!=='127.0.0.1'||u.pathname==='/api/view'||(/\.(mp4|png|wav|mp3|webm)$/i.test(u.pathname)&&u.pathname!=='/favicon.png')){errors.push('Forbidden request '+u);return route.abort();} + return route.continue(); + }); + page.on('request',r=>{if(r.url().includes('/api/'))requests.push({method:r.method(),url:r.url()});}); + page.on('pageerror',e=>errors.push(e.message)); + requests.push({method:'GET',url:'http://127.0.0.1:8247/api/workflows'}); + const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json(); + const names=['图像4种添加水印节点','birefnet_图像移除背景','加载本地latent解码','截取视频每一帧','双图像或视频合并显示','视频转gif动图图片','加载图片合成视频','视频倒放','NLF_视频人物动作骨架获取','openpose-video-姿态检测','sdpose_视频人物姿势骨架提取','gemma4_提示词反推(图像视频音频)','图像合并成四宫格','图像分割-多宫格分割','Qwen_image2.1_图像编辑_背景移除','Qwen_image2.1_图像编辑_提示词增强','Qwen_image2.1_文生图_提示词增强','ControlNet_aux_常用样例','Qwen3-ASR-语音转文字','Qwen3-ASR-Subtitle语音转字幕','Minimax-H3提示词增强','音频转MP3格式','音频人声分离','视频-音频分离','图像嵌入文字描述']; + const details=[]; + for(const name of names){const r=records.find(r=>r.name===name);assert.ok(r);const url=`http://127.0.0.1:8247/api/workflows/${r.id}`;requests.push({method:'GET',url});details.push(await(await fetch(url)).json());} + check(details.length===25&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===721,'25图721保存位置'); + check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===16,'25图16源注释'); + await page.goto('http://127.0.0.1:5173/connections',{waitUntil:'networkidle'}); + const dialog=page.getByRole('dialog',{name:'工作流说明'}); + const fixedCard=dialog.locator('.card').filter({has:page.getByText('固定版本参数说明',{exact:true})}); + async function begin(name){const row=page.locator('.wf-row').filter({has:page.locator('.wf-name').filter({hasText:name})}).first();const button=row.getByRole('button',{name:'说明',exact:true});await button.focus();await page.keyboard.press('Enter');return button;} + async function loaded(){await dialog.getByText('用途与来源',{exact:true}).waitFor();await dialog.evaluate(el=>Promise.all(el.getAnimations().map(a=>a.finished)));} + for(const width of [1440,390]){ + await page.setViewportSize({width,height:width===390?844:1000}); + for(const d of details){ + group=details.indexOf(d)<1?'new_watermark':'old_twenty_four';const b=d.doc_json.fixed_version,button=await begin(d.name);await loaded(); + const overview=dialog.locator('.card').filter({has:page.getByText('用途与来源',{exact:true})}); + check((await overview.innerText()).includes(b.user_overview),`${width} ${d.name}默认中文用途`); + check(!(await dialog.getByText('源图与审校记录',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}源审校默认折叠`); + check(!(await dialog.getByText('核对范围与来源依据',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}技术范围默认折叠`); + const visible=await fixedCard.innerText(); + check(!visible.includes('执行标量')&&!visible.includes('widgetId')&&!visible.includes(b.source_sha256)&&!visible.includes('UUID'),`${width} ${d.name}默认无执行计数/实现标识`); + check(visible.includes('依据固定版本整理,目标环境与实际效果未核对。'),`${width} ${d.name}默认依据限制可见`); + for(const t of ['说明未定稿','未验证实跑','未检查'])check((await dialog.innerText()).includes(t),`${width} ${d.name} ${t}`); + check(!d.is_enabled&&!d.doc_completed_at&&!d.exec_verified_at,`${width} ${d.name}停用/时间戳空`); + check(await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===b.fields.length,`${width} ${d.name}参数全保留`); + check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${d.name}默认无溢出`); + await dialog.locator('.drawer-body').evaluate(el=>el.scrollTop=0); + if(details.indexOf(d)<1)await page.screenshot({path:`${out}/${width}-${d.id}-default.png`}); + if(details.indexOf(d)>0){await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}旧图归还焦点`);continue;} + await dialog.getByText('源图与审校记录',{exact:true}).click(); + check((await overview.innerText()).includes(d.doc_json.purpose)&&(await overview.innerText()).includes(d.source_repo_path),`${width} ${d.name}原用途/源路径展开保留`); + await dialog.getByText('核对范围与来源依据',{exact:true}).click(); + const flowText=await fixedCard.innerText(); + for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`); + if(width===1440){await fixedCard.getByText(b.flow.find(x=>x.includes('孤海文字支路')),{exact:true}).evaluate(el=>el.scrollIntoView({block:'center'}));await page.screenshot({path:`${out}/${width}-${d.id}-branch-flow.png`});} + await dialog.getByText('版本、源图与连线依据',{exact:true}).click(); + check((await fixedCard.innerText()).includes(b.source_sha256)&&b.versions.every(v=>(v&&true)),`${width} ${d.name}原件摘要可展开`); + const versionText=await fixedCard.innerText(); + for(const v of b.versions)check(versionText.includes(v),`${width} ${d.name}版本 ${b.versions.indexOf(v)}`); + if(details.indexOf(d)<1){ + for(const f of b.fields){ + const summary=fixedCard.locator(`details[data-fixed-field="${f.pointer}"] > summary`);await summary.focus();await page.keyboard.press('Enter');const box=summary.locator('..'); + check(await box.evaluate(el=>el.open),`${width} ${f.node_id}.${f.field}键盘展开`); + let text=await box.innerText();check(text.includes(f.effect)&&text.includes(f.limits)&&text.includes(f.schema_default)&&text.includes(f.execution_note)&&text.includes(f.unit),`${width} ${f.node_id}.${f.field}用途/单位/范围/来源条件`); + check(await box.locator(':scope > pre').textContent()===(typeof f.value==='string'?f.value:JSON.stringify(f.value,null,2)),`${width} ${f.node_id}.${f.field}精确保留现值`); + check(!text.includes(f.pointer),`${width} ${f.node_id}.${f.field}指针默认折叠`); + await box.getByText('来源依据',{exact:true}).click();text=await box.innerText(); + check(text.includes(f.pointer)&&text.includes(f.class_type)&&text.includes(f.json_type)&&f.evidence.every(i=>{const e=b.sources[i];return text.includes(e.commit)&&text.includes(e.sha256)&&text.includes(e.lines.join('~'));}),`${width} ${f.node_id}.${f.field}精确源码/类型/指针`); + check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${f.node_id}.${f.field}展开无溢出`); + if(width===1440&&f.field==='control_after_generate')await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`}); + await summary.click(); + } + for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);if(width===390){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-note.png`});}await summary.click();} + await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`); + } + await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}关闭归还焦点`); + } + } + group='shared_regressions'; + for(const name of ['旧工作流回退(隔离测试夹具)','空说明回退(隔离测试夹具)']){await begin(name);await loaded();check((await dialog.innerText()).includes('隔离库旧条目回退测试'),'旧/空说明回退 '+name);await page.keyboard.press('Escape');} + // Missing summary and mismatched bindings are tested with local GET fixtures, without writes. + for(const variant of ['missing-overview','mismatched','html-summary']){ + const d=structuredClone(details[0]); + if(variant==='missing-overview')delete d.doc_json.fixed_version.user_overview; + if(variant==='mismatched')d.doc_json.fixed_version={matched:false,notice:'固定版本参数说明待核对:源文件、声明版本或说明依据未匹配,未采用旧定义。'}; + if(variant==='html-summary')d.doc_json.fixed_version.user_overview='仅纯文本'; + await page.route(`**/api/workflows/${d.id}`,route=>route.fulfill({json:d}));await begin(d.name);await loaded(); + if(variant==='missing-overview')check((await dialog.innerText()).includes('这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。'),'缺摘要自然中文回退'); + if(variant==='mismatched')check((await dialog.innerText()).includes(d.doc_json.fixed_version.notice)&&!await dialog.getByText('核对范围与来源依据',{exact:true}).count(),'错绑定提示明确且不展示旧字段'); + if(variant==='html-summary')check((await dialog.innerText()).includes(d.doc_json.fixed_version.user_overview)&&await dialog.locator('img').count()===0,'摘要HTML仅纯文本不创建图像或请求'); + check(!(await dialog.innerText()).includes('undefined'),'回退不暴露undefined');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${d.id}`); + } + let release,entered,delivered;const hold=new Promise(r=>release=r),intercept=new Promise(r=>entered=r),done=new Promise(r=>delivered=r); + await page.route(`**/api/workflows/${details[0].id}`,async route=>{entered();await hold;await route.fulfill({json:details[0]});delivered();}); + await begin(details[0].name);await intercept;await page.keyboard.press('Escape');await begin(details[1].name);await loaded();release();await done; + check((await dialog.innerText()).includes(details[1].doc_json.fixed_version.user_overview)&&await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===details[1].doc_json.fixed_version.fields.length,'迟到水印响应不覆盖旧BiRefNet摘要/3字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`); + await page.route(`**/api/workflows/${details[0].id}`,route=>route.fulfill({status:500,json:{detail:'隔离失败夹具'}}));await begin(details[0].name);await dialog.getByRole('alert').waitFor({timeout:20000});check(await dialog.getByRole('button',{name:'重试',exact:true}).isVisible(),'GET失败显示重试');check(await dialog.getByText('用途与来源',{exact:true}).count()===0,'读取失败隐藏旧摘要');await page.unroute(`**/api/workflows/${details[0].id}`);await dialog.getByRole('button',{name:'重试',exact:true}).click();await loaded();check((await dialog.innerText()).includes(details[0].doc_json.fixed_version.user_overview),'重试恢复摘要');await page.keyboard.press('Escape'); + check(errors.length===0,'无脚本错误或禁止请求 '+JSON.stringify(errors));check(requests.every(r=>r.method==='GET'&&new URL(r.url).hostname==='127.0.0.1'&&!r.url.includes('/api/view')),'全程本地GET无写/生成/目标/历史预览请求'); + const polling=requests.filter(r=>['/api/jobs','/api/events'].includes(new URL(r.url).pathname)); + const fixed=requests.filter(r=>!polling.includes(r)); + const frequencies=rs=>Object.fromEntries([...new Set(rs.map(r=>new URL(r.url).pathname))].sort().map(p=>[p,rs.filter(r=>new URL(r.url).pathname===p).length])); + fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({request_accounting:{fixed_count:fixed.length,fixed_paths:frequencies(fixed),polling_count:polling.length,polling_paths:frequencies(polling),polling_tolerance:1,reason:'定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。'},assertion_count:checks.length,assertionGroups,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2)); +} finally {await browser.close();}