From 1d04c00c0cc75df1d782b39ca7b70bb37362517b Mon Sep 17 00:00:00 2001 From: leefer Date: Fri, 30 Oct 2026 23:58:35 +0800 Subject: [PATCH] HEL-892: document RTX video upscale with pinned reference sources Co-authored-by: multica-agent --- .../src/calliope/comfyui/fixed_document.py | 5 + .../src/calliope/comfyui/source_reviews.json | 785 ++- .../tests/test_rtx_video_fixed_document.py | 238 + docs/hel-892/RTX视频放大固定参考中文说明.md | 363 ++ .../actual-RTX_video_upscale.json | 1172 +++++ .../audit-summary.json | 24 + .../authored-diff-check.txt | 0 .../backend-final.txt | 9 + .../backend-initial.txt | 115 + .../boundaries.json | 728 +++ .../browser-final.txt | 901 ++++ .../browser-initial.txt | 901 ++++ .../browser-results.json | 1410 ++++++ .../build-final.txt | 4 + .../build_definition.py | 537 +++ .../changed-files.json | 350 ++ .../rtx-video-document-evidence/check_code.py | 40 + .../definition-0.json | 783 +++ .../delivery-summary.md | 16 + .../development-notes.txt | 7 + .../diff-check-notes.txt | 2 + .../fetch_sources.py | 67 + .../fixed-source-index.json | 503 ++ .../format-final.txt | 1 + .../format-fix-final.txt | 1 + .../format-fix.txt | 1 + .../frozen-resource-check.json | 771 +++ .../import-protection.json | 69 + .../lint-final.txt | 3 + .../lint-initial.txt | 414 ++ .../rtx-video-document-evidence/npm-ci.txt | 7 + .../package-check.json | 23 + .../rtx-video-document-evidence/pins.json | 3 + .../pr-before.json | 10 + .../provider-pr-before.json | 14 + .../python-check-files.json | 14 + .../rebuild-final.txt | 1 + .../rtx-video-document-evidence/rebuild.py | 64 + .../recompute-final.txt | 2 + .../rtx-video-document-evidence/recompute.py | 330 ++ .../render_report.py | 116 + .../repeat-final.txt | 1 + .../rtx-video-document-evidence/repeat.py | 42 + .../repeatability.json | 10 + .../request-counts.txt | 1 + .../request_counts.py | 39 + .../review-delta.json | 15 + .../server-request-accounting.json | 45 + .../rtx-video-document-evidence/service-0.txt | 115 + .../rtx-video-document-evidence/service-1.txt | 4 + .../service-stop.json | 1 + .../source-check-final.txt | 1 + .../source-check.json | 13 + .../tested-files.json | 194 + .../validation-commands.txt | 17 + .../verify_sources.py | 69 + .../visual-review.txt | 4 + .../core__comfy_api__input____init__.py | 16 + .../core__comfy_api__input__video_types.py | 6 + ...re__comfy_api__latest___input____init__.py | 10 + ..._comfy_api__latest___input__basic_types.py | 42 + ..._comfy_api__latest___input__video_types.py | 128 + ...omfy_api__latest___input_impl____init__.py | 7 + ...y_api__latest___input_impl__video_types.py | 469 ++ .../core__comfy_api__latest___ui.py | 475 ++ ...__comfy_api__latest___util__video_types.py | 52 + .../core__comfy_extras__nodes_video.py | 272 ++ ...d__src__lib__litegraph__src__LGraphNode.ts | 4229 +++++++++++++++++ .../frontend__src__scripts__app.ts | 1789 +++++++ docs/hel-892/rtx-video-reference/sources.json | 248 + e2e/rtx-video-document.mjs | 102 + e2e/run-rtx-video-document.py | 92 + 72 files changed, 19311 insertions(+), 1 deletion(-) create mode 100644 calliope-backend/tests/test_rtx_video_fixed_document.py create mode 100644 docs/hel-892/RTX视频放大固定参考中文说明.md create mode 100644 docs/hel-892/rtx-video-document-evidence/actual-RTX_video_upscale.json create mode 100644 docs/hel-892/rtx-video-document-evidence/audit-summary.json create mode 100644 docs/hel-892/rtx-video-document-evidence/authored-diff-check.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/backend-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/backend-initial.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/boundaries.json create mode 100644 docs/hel-892/rtx-video-document-evidence/browser-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/browser-initial.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/browser-results.json create mode 100644 docs/hel-892/rtx-video-document-evidence/build-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/build_definition.py create mode 100644 docs/hel-892/rtx-video-document-evidence/changed-files.json create mode 100644 docs/hel-892/rtx-video-document-evidence/check_code.py create mode 100644 docs/hel-892/rtx-video-document-evidence/definition-0.json create mode 100644 docs/hel-892/rtx-video-document-evidence/delivery-summary.md create mode 100644 docs/hel-892/rtx-video-document-evidence/development-notes.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/diff-check-notes.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/fetch_sources.py create mode 100644 docs/hel-892/rtx-video-document-evidence/fixed-source-index.json create mode 100644 docs/hel-892/rtx-video-document-evidence/format-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/format-fix-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/format-fix.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/frozen-resource-check.json create mode 100644 docs/hel-892/rtx-video-document-evidence/import-protection.json create mode 100644 docs/hel-892/rtx-video-document-evidence/lint-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/lint-initial.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/npm-ci.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/package-check.json create mode 100644 docs/hel-892/rtx-video-document-evidence/pins.json create mode 100644 docs/hel-892/rtx-video-document-evidence/pr-before.json create mode 100644 docs/hel-892/rtx-video-document-evidence/provider-pr-before.json create mode 100644 docs/hel-892/rtx-video-document-evidence/python-check-files.json create mode 100644 docs/hel-892/rtx-video-document-evidence/rebuild-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/rebuild.py create mode 100644 docs/hel-892/rtx-video-document-evidence/recompute-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/recompute.py create mode 100644 docs/hel-892/rtx-video-document-evidence/render_report.py create mode 100644 docs/hel-892/rtx-video-document-evidence/repeat-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/repeat.py create mode 100644 docs/hel-892/rtx-video-document-evidence/repeatability.json create mode 100644 docs/hel-892/rtx-video-document-evidence/request-counts.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/request_counts.py create mode 100644 docs/hel-892/rtx-video-document-evidence/review-delta.json create mode 100644 docs/hel-892/rtx-video-document-evidence/server-request-accounting.json create mode 100644 docs/hel-892/rtx-video-document-evidence/service-0.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/service-1.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/service-stop.json create mode 100644 docs/hel-892/rtx-video-document-evidence/source-check-final.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/source-check.json create mode 100644 docs/hel-892/rtx-video-document-evidence/tested-files.json create mode 100644 docs/hel-892/rtx-video-document-evidence/validation-commands.txt create mode 100644 docs/hel-892/rtx-video-document-evidence/verify_sources.py create mode 100644 docs/hel-892/rtx-video-document-evidence/visual-review.txt create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py create mode 100644 docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py create mode 100644 docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts create mode 100644 docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts create mode 100644 docs/hel-892/rtx-video-reference/sources.json create mode 100644 e2e/rtx-video-document.mjs create mode 100644 e2e/run-rtx-video-document.py diff --git a/calliope-backend/src/calliope/comfyui/fixed_document.py b/calliope-backend/src/calliope/comfyui/fixed_document.py index 9067937c..ab05c316 100644 --- a/calliope-backend/src/calliope/comfyui/fixed_document.py +++ b/calliope-backend/src/calliope/comfyui/fixed_document.py @@ -15,6 +15,11 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc # Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust. DEFINITIONS = { + ( + "example_ComfyUI_workflows/0-基础处理:图像合并-音频" + "分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale." + "json" + ): "3292ebd97e523a9151c0836328dd8ed7af6d08bd812e5f38a8a7d0915cd8c084", ( "example_ComfyUI_workflows/0-基础处理:图像合并-音频" "分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale." diff --git a/calliope-backend/src/calliope/comfyui/source_reviews.json b/calliope-backend/src/calliope/comfyui/source_reviews.json index 79a4f125..4338aafa 100644 --- a/calliope-backend/src/calliope/comfyui/source_reviews.json +++ b/calliope-backend/src/calliope/comfyui/source_reviews.json @@ -38834,7 +38834,790 @@ "scope": [ "结构及用途局部审校", "源具名参数/注释/连线/素材模型用途人工语义局部审校" - ] + ], + "fixed_version_document": { + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "source_sha1": "3a3b17a5bb55e250ed0430b9c2aeef396b7992c7", + "source_sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec", + "canonical_sha256": "b5f165175de7f1fe5e1e522307e14725561b76e305f11b71f247d39076b0f56a", + "notice": "准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。", + "user_overview": "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "versions": [ + "core0.16.4→a7a6335be538f55faa2abf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。", + "RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。", + "五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。" + ], + "counts": { + "saved_fields": 9, + "source_nodes": 5, + "physical_edges": 6, + "source_notes": 0, + "history_objects": 0, + "linked_saved_fields": 1, + "frontend_only": 1, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "field": "filename_prefix", + "label": "输出视频文件名前缀", + "type": "STRING", + "schema_default": "video/ComfyUI", + "unit": "文本,无数值单位", + "limits": "未声明长度范围;按output子目录和计数规则处理", + "effect": "保存video/ComfyUI;8重组视频经边10送入9。准确核心按output配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受disable_metadata及prompt/extra_pnginfo条件控制,不保证带原视频元数据。", + "evidence": [ + 7, + 12, + 26 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/0", + "input_pointer": "/nodes/1/inputs/1", + "value": "video/ComfyUI", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/1" + }, + { + "field": "format", + "label": "输出容器格式", + "type": "COMBO", + "schema_default": "auto", + "unit": "容器枚举", + "limits": "准确核心选项auto / mp4;不推目标编码库支持", + "effect": "保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径规则,不是本次实际扩展名、文件存在或编码成功证明。", + "evidence": [ + 7, + 16, + 20 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/1", + "input_pointer": "/nodes/1/inputs/2", + "value": "auto", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/2" + }, + { + "field": "codec", + "label": "视频编码器选择", + "type": "COMBO", + "schema_default": "auto", + "unit": "编码枚举", + "limits": "准确核心选项auto / h264;不是任意编码器自动挑选保证", + "effect": "保存auto。准确VideoFromComponents仅允许AUTO/H264并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器、驱动和实际输出未知,不把auto当保留输入视频编码或无损复制。", + "evidence": [ + 7, + 16, + 20 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/2", + "input_pointer": "/nodes/1/inputs/3", + "value": "auto", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/3" + }, + { + "field": "fps", + "label": "重组视频帧率的源保存值", + "type": "FLOAT(schema);原JSON int", + "schema_default": "30.0", + "unit": "帧/秒(FPS)", + "limits": "schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入", + "effect": "原JSON int 30只为缓存;边9从7.fps输出槽2覆盖8.fps输入槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证。", + "evidence": [ + 8, + 9, + 19, + 20, + 14, + 15 + ], + "role": "linked_saved", + "node_id": "8", + "scope": "root", + "class_type": "CreateVideo", + "pointer": "/nodes/2/widgets_values/0", + "input_pointer": "/nodes/2/inputs/2", + "value": 30, + "json_type": "int", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/2/inputs/2" + }, + { + "field": "resize_type", + "label": "画面尺寸处理模式", + "type": "COMFY_DYNAMICCOMBO_V3", + "schema_default": "schema未显式给默认;选项顺序scale by multiplier、target dimensions", + "unit": "模式标签", + "limits": "只在所选分支展开子参数;源保存scale by multiplier", + "effect": "源选择倍率分支,才读取resize_type.scale;目标尺寸分支width/height未保存,不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。", + "evidence": [ + 0, + 4, + 6 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/0", + "input_pointer": "/nodes/3/inputs/1", + "value": "scale by multiplier", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/1" + }, + { + "field": "resize_type.scale", + "label": "倍率分支的缩放因子", + "type": "FLOAT(schema);原JSON int", + "schema_default": "2.0", + "unit": "无量纲倍率", + "limits": "schema 1.0~4.0、step0.01;仅scale by multiplier分支有效", + "effect": "本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无物理外线覆盖本字段。", + "evidence": [ + 0, + 1, + 4, + 6 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/1", + "input_pointer": "/nodes/3/inputs/2", + "value": 1, + "json_type": "int", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/2" + }, + { + "field": "quality", + "label": "超分质量档位", + "type": "COMBO", + "schema_default": "ULTRA", + "unit": "枚举,无数值单位", + "limits": "LOW / MEDIUM / HIGH / ULTRA", + "effect": "保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes.load/run及CUDA;MAX_PIXELS=1024*1024*16按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/目标GPU/驱动及实际画质未知,不执行超分。", + "evidence": [ + 0, + 1, + 3 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/2", + "input_pointer": "/nodes/3/inputs/3", + "value": "ULTRA", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/3" + }, + { + "field": "file", + "label": "输入视频文件引用", + "type": "COMBO", + "schema_default": "动态input视频枚举,无固定文件默认", + "unit": "文件引用", + "limits": "input目录普通文件经video内容类型筛选并排序;实际列表未知", + "effect": "原样保存WanVideo_00003-audio.mp4。文件名含audio和.mp4不证明文件存在、实际容器、音轨、时长、帧数或FPS。准确核心构造VideoFromFile;6经边5送7拆分,未读取素材或媒体探测。", + "evidence": [ + 10, + 18, + 19 + ], + "role": "scalar", + "node_id": "6", + "scope": "root", + "class_type": "LoadVideo", + "pointer": "/nodes/4/widgets_values/0", + "input_pointer": "/nodes/4/inputs/0", + "value": "WanVideo_00003-audio.mp4", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/0" + }, + { + "field": "upload", + "label": "视频上传控件保存占位", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "前端按video_upload注入;非后端第二参数默认", + "unit": "前端状态,无数值单位", + "limits": "原保存字符串image;不是第二段视频、路径或已上传证明", + "effect": "保存image仅上传控件占位,和上一个文件名分开保留。准确LoadVideo仅具名file参数,前端媒体COMBO扩展补upload;不据占位推视频内容、可读性或最终恢复结果,不上传素材。", + "evidence": [ + 10, + 13, + 14, + 15 + ], + "role": "frontend_control", + "node_id": "6", + "scope": "root", + "class_type": "LoadVideo", + "pointer": "/nodes/4/widgets_values/1", + "input_pointer": "/nodes/4/inputs/1", + "value": "image", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/1" + } + ], + "sources": [ + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 10, + 49 + ], + "claim": "准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知" + }, + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 51, + 109 + ], + "claim": "准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行" + }, + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 112, + 121 + ], + "claim": "准确包节点注册入口" + }, + { + "id": "rtx", + "file": "pyproject.toml", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__pyproject.toml", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042", + "reused": true, + "lines": [ + 1, + 16 + ], + "claim": "准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定" + }, + { + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 1090, + 1142 + ], + "claim": "准确核心DynamicCombo选择分支schema" + }, + { + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 654, + 658 + ], + "claim": "准确核心VIDEO IO类型;Type引用VideoInput别名" + }, + { + "id": "frontend", + "file": "src/core/graph/widgets/dynamicWidgets.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e", + "git_blob_sha1": "3058e8131066eb797a4a1228eb643e388335a9ee", + "reused": true, + "lines": [ + 72, + 206 + ], + "claim": "准确前端动态子控件插入/移除和恢复回调;不证明UE次序" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 68, + 114 + ], + "claim": "SaveVideo schema、元数据条件、output命名与保存描述符" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 117, + 140 + ], + "claim": "CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 142, + 164 + ], + "claim": "GetVideoComponents依次返回images/audio/float(frame_rate)" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 167, + 205 + ], + "claim": "LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 259, + 272 + ], + "claim": "准确核心视频节点注册和入口" + }, + { + "id": "core", + "file": "folder_paths.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112", + "git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8", + "reused": true, + "lines": [ + 428, + 472 + ], + "claim": "output子目录、计数命名及路径边界规则;不访问目录" + }, + { + "id": "frontend", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04", + "git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095", + "reused": true, + "lines": [ + 1, + 53 + ], + "claim": "准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入" + }, + { + "id": "frontend", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033", + "git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43", + "reused": false, + "lines": [ + 865, + 909 + ], + "claim": "宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值" + }, + { + "id": "frontend", + "file": "src/scripts/app.ts", + "local_file": "../rtx-video-reference/frontend__src__scripts__app.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1", + "git_blob_sha1": "7d5a64f19eb50dbbc6c4e9aa1f92723818e7bdad", + "reused": false, + "lines": [ + 747, + 772 + ], + "claim": "宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知" + }, + { + "id": "core", + "file": "comfy_api/latest/_util/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02", + "git_blob_sha1": "fd3b5a510df4d1bd0b65141bd3d27953ec9cfc9a", + "reused": false, + "lines": [ + 1, + 49 + ], + "claim": "VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7", + "git_blob_sha1": "451e9526e86d21b966d938f722cce6f21f00ba4f", + "reused": false, + "lines": [ + 1, + 128 + ], + "claim": "VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 55, + 78 + ], + "claim": "VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 235, + 305 + ], + "claim": "文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 382, + 458 + ], + "claim": "VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取" + }, + { + "id": "core", + "file": "comfy_api/input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc", + "git_blob_sha1": "68ff782706e8ab4f8d40917f8ff5b8aea54c7f51", + "reused": false, + "lines": [ + 1, + 16 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7", + "git_blob_sha1": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "reused": false, + "lines": [ + 1, + 6 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5", + "git_blob_sha1": "14f0e72f46bfb079e85a1c0e56993b5a99425ffe", + "reused": false, + "lines": [ + 1, + 10 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c", + "git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "reused": false, + "lines": [ + 1, + 7 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/basic_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1", + "git_blob_sha1": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "reused": false, + "lines": [ + 1, + 24 + ], + "claim": "图像张量/AudioInput后端类型定义;不从文件名判断存在音轨" + }, + { + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 27, + 55 + ], + "claim": "SavedResult filename/subfolder/type文件描述符,不是媒体字节" + }, + { + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 428, + 440 + ], + "claim": "PreviewVideo序列化images描述符,不能证明实际保存或媒体格式" + }, + { + "id": "rtx", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__LICENSE", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "reused": true, + "lines": [ + 1, + 201 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "id": "core", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/core__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "id": "frontend", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + } + ], + "comments": [], + "flow": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "根5节点6物理边,全mode0,无子图/源注释/历史对象。6.LoadVideo→7.GetVideoComponents;7.images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.video。逐端点核对,不模拟执行。", + "7.widgets_values=[]为零保存位置,不制造控件或历史对象。8保存30为JSON int,准确schema默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。", + "RTX准确Registry0.1.0保存scale by multiplier、JSON int 1、ULTRA。先乘尺寸转int,再max(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载或执行运行库。", + "LoadVideo准确核心按动态input视频枚举构造VideoFromFile;get_components静态实现会解码帧、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解码视频。", + "8为VideoFromComponents,继承VideoInput默认维度/时长/帧数接口;保存仅允许AUTO/MP4及AUTO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。", + "9保存video/ComfyUI、auto、auto。准确VideoContainer扩展名规则auto→mp4和准确实现H264是固定源码条件,不称已产出.mp4。output目录计数名、可选prompt/extra_pnginfo元数据与PreviewVideo/SavedResult的filename/subfolder/type描述符分开;描述符不是媒体字节,不请求/api/view、不创建缓存。", + "所有五节点声明UE7.7;CreateVideo.widget_ue_connectable明确fps:true,其余空表。extra.ue_links/links_added_by_ue为空只描述保存状态,不能证明无改写。准确宿主先属性/序列化widgets_values后onConfigure;图级fixLinkInputSlots→onGraphConfigured→原onConfigure→onAfterGraphConfigured,动态分支另有恢复回调。UE实现/加载次序与最终值未知,不据宿主顺序证明扩展无影响。", + "源声明core0.16.4/frontend1.39.19,固定同一准确tag与完整commit;RTX Registry0.1.0包字节固定,Git绑定未知,不借其它版本/当前main。视频schema输入顺序images/fps/audio与源物理槽images/audio/fps分开,不重排原图,不造转换profile。", + "9非注释顶层保存位置=9标量(含1上传占位和1外线覆盖缓存),7空[]零位置;0注释/0历史对象。旧29块895保存位置+21注释逐对象不变,现30块904+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭;动态枚举、素材、设备、UE和实际效果待核。", + "原边 root [5, 6, 0, 7, 0, \"VIDEO\"]", + "原边 root [7, 1, 0, 8, 0, \"IMAGE\"]", + "原边 root [8, 7, 1, 8, 1, \"AUDIO\"]", + "原边 root [9, 7, 2, 8, 2, \"FLOAT\"]", + "原边 root [10, 8, 0, 9, 0, \"VIDEO\"]", + "原边 root [19, 7, 0, 1, 0, \"IMAGE\"]", + "原节点 root {\"id\": 7, \"type\": \"GetVideoComponents\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 5}], \"outputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"links\": [19]}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"type\": \"AUDIO\", \"links\": [8]}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"links\": [9]}], \"properties\": {\"Node name for S&R\": \"GetVideoComponents\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 9, \"type\": \"SaveVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 10}, {\"localized_name\": \"文件名前缀\", \"name\": \"filename_prefix\", \"type\": \"STRING\", \"widget\": {\"name\": \"filename_prefix\"}, \"link\": null}, {\"localized_name\": \"格式\", \"name\": \"format\", \"type\": \"COMBO\", \"widget\": {\"name\": \"format\"}, \"link\": null}, {\"localized_name\": \"编码器\", \"name\": \"codec\", \"type\": \"COMBO\", \"widget\": {\"name\": \"codec\"}, \"link\": null}], \"outputs\": [], \"properties\": {\"Node name for S&R\": \"SaveVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 8, \"type\": \"CreateVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 7}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"shape\": 7, \"type\": \"AUDIO\", \"link\": 8}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"fps\"}, \"link\": 9}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [10]}], \"properties\": {\"Node name for S&R\": \"CreateVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {\"fps\": true}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 1, \"type\": \"RTXVideoSuperResolution\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"images\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 19}, {\"localized_name\": \"resize_type\", \"name\": \"resize_type\", \"type\": \"COMFY_DYNAMICCOMBO_V3\", \"widget\": {\"name\": \"resize_type\"}, \"link\": null}, {\"localized_name\": \"resize_type.scale\", \"name\": \"resize_type.scale\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"resize_type.scale\"}, \"link\": null}, {\"localized_name\": \"quality\", \"name\": \"quality\", \"type\": \"COMBO\", \"widget\": {\"name\": \"quality\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"upscaled_images\", \"name\": \"upscaled_images\", \"type\": \"IMAGE\", \"links\": [7]}], \"properties\": {\"Node name for S&R\": \"RTXVideoSuperResolution\", \"aux_id\": \"Comfy-Org/Nvidia_RTX_Nodes_ComfyUI\", \"ver\": \"0.1.0\", \"cnr_id\": \"comfyui_nvidia_rtx_nodes\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 6, \"type\": \"LoadVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"文件\", \"name\": \"file\", \"type\": \"COMBO\", \"widget\": {\"name\": \"file\"}, \"link\": null}, {\"localized_name\": \"选择要上传的文件\", \"name\": \"upload\", \"type\": \"IMAGEUPLOAD\", \"widget\": {\"name\": \"upload\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [5]}], \"properties\": {\"Node name for S&R\": \"LoadVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}" + ], + "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 + ], + "zero_saved_nodes": [ + { + "node_id": "7", + "class_type": "GetVideoComponents", + "pointer": "/nodes/0/widgets_values", + "value": [], + "effect": "保存[]零位置;单视频输入拆分为images/audio/fps,不补参数。" + } + ], + "steps": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。", + "操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。", + "操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。", + "常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。" + ] + } }, "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json": { "source_sha": "e89a1562b4378771d0a4e0b071de9c393d50097e", diff --git a/calliope-backend/tests/test_rtx_video_fixed_document.py b/calliope-backend/tests/test_rtx_video_fixed_document.py new file mode 100644 index 00000000..e1f108cc --- /dev/null +++ b/calliope-backend/tests/test_rtx_video_fixed_document.py @@ -0,0 +1,238 @@ +"RTX saved values, physical links, unknown identities and fail-closed binding." + +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/rtx-video-document-evidence" +PATH = next(p for p in DEFINITIONS if p.endswith("/高清放大/RTX_video_upscale.json")) +SOURCE = json.loads((REPO / PATH).read_bytes()) +REVIEW = review_for(PATH, hashlib.sha1((REPO / PATH).read_bytes()).hexdigest()) +BLOCK = REVIEW["fixed_version_document"] + + +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(source=None, review=None): + return build_document( + PATH, + SOURCE if source is None else source, + None, + None, + [], + REVIEW if review is None else review, + ) + + +def refuse(s, r): + 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(s, r)["fixed_version"]["matched"] + + +@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"]) +def test_each_saved_value_type_pointer_and_exact_evidence(f): + v = pointer(SOURCE, f["pointer"]) + assert canonical(v) == canonical(f["value"]) and type(v).__name__ == f["json_type"] + assert pointer(SOURCE, f["input_pointer"])["name"] == f["field"] + for k in [ + "label", + "type", + "schema_default", + "unit", + "limits", + "effect", + "execution_note", + "role", + ]: + assert f[k] + for k in f["evidence"]: + e = BLOCK["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 or e["git_commit_binding"] == "unknown" + + +@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"]) +@pytest.mark.parametrize("variant", ["value", "type", "text"]) +def test_each_saved_position_refuses_forged_source_or_definition(f, variant): + s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW) + b = r["fixed_version_document"] + bf = next(x for x in b["fields"] if x["pointer"] == f["pointer"]) + if variant == "text": + bf["limits"] = "forged" + else: + parent, _, key = f["pointer"].rpartition("/") + target = pointer(s, parent) + target[int(key) if isinstance(target, list) else key] = ( + "forged" if variant == "type" else None + ) + bf["value"] = pointer(s, f["pointer"]) + bf["json_type"] = type(bf["value"]).__name__ + refuse(s, r) + + +@pytest.mark.parametrize("i", range(5)) +@pytest.mark.parametrize("variant", ["mode", "identity"]) +def test_each_node_mode_and_identity_bound(i, variant): + s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW) + n = s["nodes"][i] + if variant == "mode": + n["mode"] = 0 if n["mode"] == 4 else 4 + else: + n["properties"]["ver"] = "forged" + refuse(s, r) + + +@pytest.mark.parametrize("i", range(6)) +@pytest.mark.parametrize("direction", ["record", "input", "output"]) +def test_each_physical_endpoint_bound_both_directions(i, direction): + s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW) + edge, src, slot, dst, inp, _ = s["links"][i] + ns = {n["id"]: n for n in s["nodes"]} + if direction == "record": + s["links"][i][3] = 99999 + elif direction == "input": + ns[dst]["inputs"][inp]["link"] = 99999 + else: + ns[src]["outputs"][slot]["links"] = [99999] + refuse(s, r) + + +@pytest.mark.parametrize( + "variant", + [ + "empty", + "missing", + "connectable", + "ue", + "frontend", + "summary", + "citation", + "source_sha", + "path", + "layout", + "dynamic", + "fps_slot", + ], +) +def test_special_shapes_and_identity_fail_closed(variant): + s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW) + ns = {n["id"]: n for n in s["nodes"]} + b = r["fixed_version_document"] + if variant == "empty": + ns[7]["widgets_values"] = {} + elif variant == "missing": + del ns[7]["widgets_values"] + elif variant == "connectable": + ns[8]["properties"]["ue_properties"]["widget_ue_connectable"]["fps"] = False + elif variant == "ue": + ns[1]["properties"]["ue_properties"]["version"] = "forged" + elif variant == "frontend": + s["extra"]["frontendVersion"] = "forged" + elif variant == "summary": + b["user_overview"] = "forged" + elif variant == "citation": + b["sources"][0]["sha256"] = "0" * 64 + elif variant == "source_sha": + b["source_sha1"] = "0" * 40 + elif variant == "path": + b["source_path"] = "forged" + elif variant == "layout": + ns[1]["pos"][0] += 1 + elif variant == "dynamic": + ns[1]["inputs"][2]["name"] = "width" + elif variant == "fps_slot": + ns[7]["outputs"][2]["name"] = "audio" + refuse(s, r) + + +def test_independent_inventory_edges_and_reference_conditions(): + ns = {n["id"]: n for n in SOURCE["nodes"]} + assert len(ns) == 5 and len(SOURCE["links"]) == 6 + assert all(n["mode"] == 0 for n in ns.values()) + assert ns[1]["widgets_values"] == ["scale by multiplier", 1, "ULTRA"] + assert type(ns[1]["widgets_values"][1]) is int + assert ns[7]["widgets_values"] == [] + assert ns[8]["widgets_values"] == [30] and type(ns[8]["widgets_values"][0]) is int + assert ns[8]["properties"]["ue_properties"]["widget_ue_connectable"] == {"fps": True} + assert ns[6]["widgets_values"] == ["WanVideo_00003-audio.mp4", "image"] + assert ns[9]["widgets_values"] == ["video/ComfyUI", "auto", "auto"] + assert SOURCE["links"] == [ + [5, 6, 0, 7, 0, "VIDEO"], + [7, 1, 0, 8, 0, "IMAGE"], + [8, 7, 1, 8, 1, "AUDIO"], + [9, 7, 2, 8, 2, "FLOAT"], + [10, 8, 0, 9, 0, "VIDEO"], + [19, 7, 0, 1, 0, "IMAGE"], + ] + for e, src, slot, dst, inp, _ in SOURCE["links"]: + assert e in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == e + assert len(BLOCK["fields"]) == len({f["pointer"] for f in BLOCK["fields"]}) == 9 + actual = { + f"/nodes/{i}/widgets_values/{k}" + for i, n in enumerate(SOURCE["nodes"]) + for k in range(len(n["widgets_values"])) + } + assert actual == {f["pointer"] for f in BLOCK["fields"]} + assert all(not isinstance(f["value"], (list, dict)) for f in BLOCK["fields"]) + assert BLOCK["comments"] == [] and not doc()["source_notes"] + assert BLOCK["zero_saved_nodes"][0]["pointer"] == "/nodes/0/widgets_values" + assert BLOCK["counts"]["linked_saved_fields"] == 1 + assert BLOCK["counts"]["frontend_only"] == 1 + assert doc()["fixed_version"]["matched"] and not BLOCK["counts"]["final_prompt_constructed"] + assert doc()["dependencies"]["check_state"] == "unchecked" + assert doc()["status"] == dict(imported=True, doc_done=False, exec_verified=False) + for word in [ + "原音频", + "round", + "Git绑定未知", + "MAX_PIXELS", + "CUDA", + "output", + "UE7.7", + "fps:true", + "onAfterGraphConfigured", + "千分率", + "音画同步", + "H264", + "AAC", + "9标量", + ]: + assert word in " ".join(BLOCK["flow"]) + + +def test_old_29_review_objects_unchanged(): + resource = "calliope-backend/src/calliope/comfyui/source_reviews.json" + old = json.loads(subprocess.check_output(["git", "show", "334549a:" + resource], cwd=REPO)) + now = json.loads((REPO / resource).read_bytes()) + now[PATH].pop("fixed_version_document") + assert now == old and len(DEFINITIONS) == 30 + blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r] + assert len(blocks) == 29 and sum(len(b["fields"]) for b in blocks) == 895 + assert ( + sum( + len( + build_document(p, json.loads((REPO / p).read_bytes()), None, None, [], r)[ + "source_notes" + ] + ) + for p, r in old.items() + if "fixed_version_document" in r + ) + == 21 + ) + assert review_for(PATH, "0" * 40) is None diff --git a/docs/hel-892/RTX视频放大固定参考中文说明.md b/docs/hel-892/RTX视频放大固定参考中文说明.md new file mode 100644 index 00000000..74e9e0ad --- /dev/null +++ b/docs/hel-892/RTX视频放大固定参考中文说明.md @@ -0,0 +1,363 @@ +# RTX视频放大固定参考中文说明 + +新增9标量保存位置(含上传占位和帧率外线缓存)+0源注释;旧29图895位置+21注释逐对象不变。30图904+21仅参考展示。155完整定稿0/实跑0/新增转换0。 + +来源local_file以docs/hel-892/rtx-video-document-evidence为基准;源SHA/全图摘要/定义摘要绑定;不加载上游代码、媒体或链接。 + +## RTX_video_upscale + +这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。 + +准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。 + +源路径:`example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json` + +SHA1:3a3b17a5bb55e250ed0430b9c2aeef396b7992c7 + +原字节SHA256:ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec + +规范全图SHA256:b5f165175de7f1fe5e1e522307e14725561b76e305f11b71f247d39076b0f56a + +core0.16.4→a7a6335be538f55faa2abf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。 + +RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。 + +五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。 + +### 具体连线与处理条件 + +这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。 + +根5节点6物理边,全mode0,无子图/源注释/历史对象。6.LoadVideo→7.GetVideoComponents;7.images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.video。逐端点核对,不模拟执行。 + +7.widgets_values=[]为零保存位置,不制造控件或历史对象。8保存30为JSON int,准确schema默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。 + +RTX准确Registry0.1.0保存scale by multiplier、JSON int 1、ULTRA。先乘尺寸转int,再max(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载或执行运行库。 + +LoadVideo准确核心按动态input视频枚举构造VideoFromFile;get_components静态实现会解码帧、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解码视频。 + +8为VideoFromComponents,继承VideoInput默认维度/时长/帧数接口;保存仅允许AUTO/MP4及AUTO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。 + +9保存video/ComfyUI、auto、auto。准确VideoContainer扩展名规则auto→mp4和准确实现H264是固定源码条件,不称已产出.mp4。output目录计数名、可选prompt/extra_pnginfo元数据与PreviewVideo/SavedResult的filename/subfolder/type描述符分开;描述符不是媒体字节,不请求/api/view、不创建缓存。 + +所有五节点声明UE7.7;CreateVideo.widget_ue_connectable明确fps:true,其余空表。extra.ue_links/links_added_by_ue为空只描述保存状态,不能证明无改写。准确宿主先属性/序列化widgets_values后onConfigure;图级fixLinkInputSlots→onGraphConfigured→原onConfigure→onAfterGraphConfigured,动态分支另有恢复回调。UE实现/加载次序与最终值未知,不据宿主顺序证明扩展无影响。 + +源声明core0.16.4/frontend1.39.19,固定同一准确tag与完整commit;RTX Registry0.1.0包字节固定,Git绑定未知,不借其它版本/当前main。视频schema输入顺序images/fps/audio与源物理槽images/audio/fps分开,不重排原图,不造转换profile。 + +9非注释顶层保存位置=9标量(含1上传占位和1外线覆盖缓存),7空[]零位置;0注释/0历史对象。旧29块895保存位置+21注释逐对象不变,现30块904+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭;动态枚举、素材、设备、UE和实际效果待核。 + +原边 root [5, 6, 0, 7, 0, "VIDEO"] + +原边 root [7, 1, 0, 8, 0, "IMAGE"] + +原边 root [8, 7, 1, 8, 1, "AUDIO"] + +原边 root [9, 7, 2, 8, 2, "FLOAT"] + +原边 root [10, 8, 0, 9, 0, "VIDEO"] + +原边 root [19, 7, 0, 1, 0, "IMAGE"] + +原节点 root {"id": 7, "type": "GetVideoComponents", "mode": 0, "inputs": [{"localized_name": "视频", "name": "video", "type": "VIDEO", "link": 5}], "outputs": [{"localized_name": "图像", "name": "images", "type": "IMAGE", "links": [19]}, {"localized_name": "音频", "name": "audio", "type": "AUDIO", "links": [8]}, {"localized_name": "帧率", "name": "fps", "type": "FLOAT", "links": [9]}], "properties": {"Node name for S&R": "GetVideoComponents", "cnr_id": "comfy-core", "ver": "0.16.4", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}} + +原节点 root {"id": 9, "type": "SaveVideo", "mode": 0, "inputs": [{"localized_name": "视频", "name": "video", "type": "VIDEO", "link": 10}, {"localized_name": "文件名前缀", "name": "filename_prefix", "type": "STRING", "widget": {"name": "filename_prefix"}, "link": null}, {"localized_name": "格式", "name": "format", "type": "COMBO", "widget": {"name": "format"}, "link": null}, {"localized_name": "编码器", "name": "codec", "type": "COMBO", "widget": {"name": "codec"}, "link": null}], "outputs": [], "properties": {"Node name for S&R": "SaveVideo", "cnr_id": "comfy-core", "ver": "0.16.4", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}} + +原节点 root {"id": 8, "type": "CreateVideo", "mode": 0, "inputs": [{"localized_name": "图像", "name": "images", "type": "IMAGE", "link": 7}, {"localized_name": "音频", "name": "audio", "shape": 7, "type": "AUDIO", "link": 8}, {"localized_name": "帧率", "name": "fps", "type": "FLOAT", "widget": {"name": "fps"}, "link": 9}], "outputs": [{"localized_name": "视频", "name": "VIDEO", "type": "VIDEO", "links": [10]}], "properties": {"Node name for S&R": "CreateVideo", "cnr_id": "comfy-core", "ver": "0.16.4", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {"fps": true}, "version": "7.7", "input_ue_unconnectable": {}}}} + +原节点 root {"id": 1, "type": "RTXVideoSuperResolution", "mode": 0, "inputs": [{"localized_name": "images", "name": "images", "type": "IMAGE", "link": 19}, {"localized_name": "resize_type", "name": "resize_type", "type": "COMFY_DYNAMICCOMBO_V3", "widget": {"name": "resize_type"}, "link": null}, {"localized_name": "resize_type.scale", "name": "resize_type.scale", "type": "FLOAT", "widget": {"name": "resize_type.scale"}, "link": null}, {"localized_name": "quality", "name": "quality", "type": "COMBO", "widget": {"name": "quality"}, "link": null}], "outputs": [{"localized_name": "upscaled_images", "name": "upscaled_images", "type": "IMAGE", "links": [7]}], "properties": {"Node name for S&R": "RTXVideoSuperResolution", "aux_id": "Comfy-Org/Nvidia_RTX_Nodes_ComfyUI", "ver": "0.1.0", "cnr_id": "comfyui_nvidia_rtx_nodes", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}} + +原节点 root {"id": 6, "type": "LoadVideo", "mode": 0, "inputs": [{"localized_name": "文件", "name": "file", "type": "COMBO", "widget": {"name": "file"}, "link": null}, {"localized_name": "选择要上传的文件", "name": "upload", "type": "IMAGEUPLOAD", "widget": {"name": "upload"}, "link": null}], "outputs": [{"localized_name": "视频", "name": "VIDEO", "type": "VIDEO", "links": [5]}], "properties": {"Node name for S&R": "LoadVideo", "cnr_id": "comfy-core", "ver": "0.16.4", "enableTabs": false, "tabWidth": 65, "tabXOffset": 10, "hasSecondTab": false, "secondTabText": "Send Back", "secondTabOffset": 80, "secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}} + +### 使用与核对 + +这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。 + +操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。 + +操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。 + +操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。 + +常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。 + +### 逐保存位置说明 + +#### 1. 节点9 · 输出视频文件名前缀(filename_prefix) + +保存video/ComfyUI;8重组视频经边10送入9。准确核心按output配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受disable_metadata及prompt/extra_pnginfo条件控制,不保证带原视频元数据。 + +```json +"video/ComfyUI" +``` + +类:SaveVideo;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/1/widgets_values/0`;源输入口:`/nodes/1/inputs/1` + +定义默认:video/ComfyUI;单位:文本,无数值单位 + +范围/条件:未声明长度范围;按output子目录和计数规则处理 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/1 + +依据: +- [7] SaveVideo schema、元数据条件、output命名与保存描述符;comfy_extras/nodes_video.py 68~114行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [12] output子目录、计数命名及路径边界规则;不访问目录;folder_paths.py 428~472行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py +- [26] SavedResult filename/subfolder/type文件描述符,不是媒体字节;comfy_api/latest/_ui.py 27~55行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py + +#### 2. 节点9 · 输出容器格式(format) + +保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径规则,不是本次实际扩展名、文件存在或编码成功证明。 + +```json +"auto" +``` + +类:SaveVideo;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/1/widgets_values/1`;源输入口:`/nodes/1/inputs/2` + +定义默认:auto;单位:容器枚举 + +范围/条件:准确核心选项auto / mp4;不推目标编码库支持 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/2 + +依据: +- [7] SaveVideo schema、元数据条件、output命名与保存描述符;comfy_extras/nodes_video.py 68~114行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [16] VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构;comfy_api/latest/_util/video_types.py 1~49行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py +- [20] VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取;comfy_api/latest/_input_impl/video_types.py 382~458行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +#### 3. 节点9 · 视频编码器选择(codec) + +保存auto。准确VideoFromComponents仅允许AUTO/H264并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器、驱动和实际输出未知,不把auto当保留输入视频编码或无损复制。 + +```json +"auto" +``` + +类:SaveVideo;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/1/widgets_values/2`;源输入口:`/nodes/1/inputs/3` + +定义默认:auto;单位:编码枚举 + +范围/条件:准确核心选项auto / h264;不是任意编码器自动挑选保证 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/3 + +依据: +- [7] SaveVideo schema、元数据条件、output命名与保存描述符;comfy_extras/nodes_video.py 68~114行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [16] VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构;comfy_api/latest/_util/video_types.py 1~49行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py +- [20] VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取;comfy_api/latest/_input_impl/video_types.py 382~458行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +#### 4. 节点8 · 重组视频帧率的源保存值(fps) + +原JSON int 30只为缓存;边9从7.fps输出槽2覆盖8.fps输入槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证。 + +```json +30 +``` + +类:CreateVideo;JSON类型:int;角色:linked_saved。 + +源保存位置:`/nodes/2/widgets_values/0`;源输入口:`/nodes/2/inputs/2` + +定义默认:30.0;单位:帧/秒(FPS) + +范围/条件:schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/2/inputs/2 + +依据: +- [8] CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频;comfy_extras/nodes_video.py 117~140行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [9] GetVideoComponents依次返回images/audio/float(frame_rate);comfy_extras/nodes_video.py 142~164行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [19] 文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件;comfy_api/latest/_input_impl/video_types.py 235~305行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py +- [20] VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取;comfy_api/latest/_input_impl/video_types.py 382~458行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py +- [14] 宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值;src/lib/litegraph/src/LGraphNode.ts 865~909行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts +- [15] 宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知;src/scripts/app.ts 747~772行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts + +#### 5. 节点1 · 画面尺寸处理模式(resize_type) + +源选择倍率分支,才读取resize_type.scale;目标尺寸分支width/height未保存,不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。 + +```json +"scale by multiplier" +``` + +类:RTXVideoSuperResolution;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/3/widgets_values/0`;源输入口:`/nodes/3/inputs/1` + +定义默认:schema未显式给默认;选项顺序scale by multiplier、target dimensions;单位:模式标签 + +范围/条件:只在所选分支展开子参数;源保存scale by multiplier + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/1 + +依据: +- [0] 准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知;__init__.py 10~49行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip +- [4] 准确核心DynamicCombo选择分支schema;comfy_api/latest/_io.py 1090~1142行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py +- [6] 准确前端动态子控件插入/移除和恢复回调;不证明UE次序;src/core/graph/widgets/dynamicWidgets.ts 72~206行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts + +#### 6. 节点1 · 倍率分支的缩放因子(resize_type.scale) + +本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无物理外线覆盖本字段。 + +```json +1 +``` + +类:RTXVideoSuperResolution;JSON类型:int;角色:scalar。 + +源保存位置:`/nodes/3/widgets_values/1`;源输入口:`/nodes/3/inputs/2` + +定义默认:2.0;单位:无量纲倍率 + +范围/条件:schema 1.0~4.0、step0.01;仅scale by multiplier分支有效 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/2 + +依据: +- [0] 准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知;__init__.py 10~49行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip +- [1] 准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行;__init__.py 51~109行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip +- [4] 准确核心DynamicCombo选择分支schema;comfy_api/latest/_io.py 1090~1142行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py +- [6] 准确前端动态子控件插入/移除和恢复回调;不证明UE次序;src/core/graph/widgets/dynamicWidgets.ts 72~206行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts + +#### 7. 节点1 · 超分质量档位(quality) + +保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes.load/run及CUDA;MAX_PIXELS=1024*1024*16按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/目标GPU/驱动及实际画质未知,不执行超分。 + +```json +"ULTRA" +``` + +类:RTXVideoSuperResolution;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/3/widgets_values/2`;源输入口:`/nodes/3/inputs/3` + +定义默认:ULTRA;单位:枚举,无数值单位 + +范围/条件:LOW / MEDIUM / HIGH / ULTRA + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/3 + +依据: +- [0] 准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知;__init__.py 10~49行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip +- [1] 准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行;__init__.py 51~109行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip +- [3] 准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定;pyproject.toml 1~16行;commit 发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +#### 8. 节点6 · 输入视频文件引用(file) + +原样保存WanVideo_00003-audio.mp4。文件名含audio和.mp4不证明文件存在、实际容器、音轨、时长、帧数或FPS。准确核心构造VideoFromFile;6经边5送7拆分,未读取素材或媒体探测。 + +```json +"WanVideo_00003-audio.mp4" +``` + +类:LoadVideo;JSON类型:str;角色:scalar。 + +源保存位置:`/nodes/4/widgets_values/0`;源输入口:`/nodes/4/inputs/0` + +定义默认:动态input视频枚举,无固定文件默认;单位:文件引用 + +范围/条件:input目录普通文件经video内容类型筛选并排序;实际列表未知 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/0 + +依据: +- [10] LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查;comfy_extras/nodes_video.py 167~205行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [18] VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明;comfy_api/latest/_input_impl/video_types.py 55~78行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py +- [19] 文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件;comfy_api/latest/_input_impl/video_types.py 235~305行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +#### 9. 节点6 · 视频上传控件保存占位(upload) + +保存image仅上传控件占位,和上一个文件名分开保留。准确LoadVideo仅具名file参数,前端媒体COMBO扩展补upload;不据占位推视频内容、可读性或最终恢复结果,不上传素材。 + +```json +"image" +``` + +类:LoadVideo;JSON类型:str;角色:frontend_control。 + +源保存位置:`/nodes/4/widgets_values/1`;源输入口:`/nodes/4/inputs/1` + +定义默认:前端按video_upload注入;非后端第二参数默认;单位:前端状态,无数值单位 + +范围/条件:原保存字符串image;不是第二段视频、路径或已上传证明 + +原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/1 + +依据: +- [10] LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查;comfy_extras/nodes_video.py 167~205行;commit a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py +- [13] 准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入;src/extensions/core/uploadImage.ts 1~53行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts +- [14] 宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值;src/lib/litegraph/src/LGraphNode.ts 865~909行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts +- [15] 宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知;src/scripts/app.ts 747~772行;commit d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts + +### 零保存节点与源注释 + +7 GetVideoComponents:保存[]零位置;单视频输入拆分为images/audio/fps,不补参数。 + +### 固定原件索引 + +0. 准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知;__init__.py 第10~49行;提交发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +1. 准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行;__init__.py 第51~109行;提交发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +2. 准确包节点注册入口;__init__.py 第112~121行;提交发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +3. 准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定;pyproject.toml 第1~16行;提交发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +4. 准确核心DynamicCombo选择分支schema;comfy_api/latest/_io.py 第1090~1142行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py + +5. 准确核心VIDEO IO类型;Type引用VideoInput别名;comfy_api/latest/_io.py 第654~658行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py + +6. 准确前端动态子控件插入/移除和恢复回调;不证明UE次序;src/core/graph/widgets/dynamicWidgets.ts 第72~206行;提交d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts + +7. SaveVideo schema、元数据条件、output命名与保存描述符;comfy_extras/nodes_video.py 第68~114行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py + +8. CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频;comfy_extras/nodes_video.py 第117~140行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py + +9. GetVideoComponents依次返回images/audio/float(frame_rate);comfy_extras/nodes_video.py 第142~164行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py + +10. LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查;comfy_extras/nodes_video.py 第167~205行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py + +11. 准确核心视频节点注册和入口;comfy_extras/nodes_video.py 第259~272行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py + +12. output子目录、计数命名及路径边界规则;不访问目录;folder_paths.py 第428~472行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py + +13. 准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入;src/extensions/core/uploadImage.ts 第1~53行;提交d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts + +14. 宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值;src/lib/litegraph/src/LGraphNode.ts 第865~909行;提交d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts + +15. 宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知;src/scripts/app.ts 第747~772行;提交d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts + +16. VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构;comfy_api/latest/_util/video_types.py 第1~49行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py + +17. VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值;comfy_api/latest/_input/video_types.py 第1~128行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py + +18. VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明;comfy_api/latest/_input_impl/video_types.py 第55~78行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +19. 文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件;comfy_api/latest/_input_impl/video_types.py 第235~305行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +20. VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取;comfy_api/latest/_input_impl/video_types.py 第382~458行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py + +21. 准确核心视频输入/实现别名与导出链;不借不同版本;comfy_api/input/__init__.py 第1~16行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py + +22. 准确核心视频输入/实现别名与导出链;不借不同版本;comfy_api/input/video_types.py 第1~6行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py + +23. 准确核心视频输入/实现别名与导出链;不借不同版本;comfy_api/latest/_input/__init__.py 第1~10行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py + +24. 准确核心视频输入/实现别名与导出链;不借不同版本;comfy_api/latest/_input_impl/__init__.py 第1~7行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py + +25. 图像张量/AudioInput后端类型定义;不从文件名判断存在音轨;comfy_api/latest/_input/basic_types.py 第1~24行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py + +26. SavedResult filename/subfolder/type文件描述符,不是媒体字节;comfy_api/latest/_ui.py 第27~55行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py + +27. PreviewVideo序列化images描述符,不能证明实际保存或媒体格式;comfy_api/latest/_ui.py 第428~440行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py + +28. 准确提交/发布包许可原字节;不推目标许可适用性;LICENSE 第1~201行;提交发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba;SHA256 c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4;https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip + +29. 准确提交/发布包许可原字节;不推目标许可适用性;LICENSE 第1~674行;提交a7a6335be538f55faa2abf7404c9b8e970847d1f;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE + +30. 准确提交/发布包许可原字节;不推目标许可适用性;LICENSE 第1~674行;提交d91c283b7b758787b4d29126c1a9ac39dc14d6a7;SHA256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986;https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE diff --git a/docs/hel-892/rtx-video-document-evidence/actual-RTX_video_upscale.json b/docs/hel-892/rtx-video-document-evidence/actual-RTX_video_upscale.json new file mode 100644 index 00000000..93c4e867 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/actual-RTX_video_upscale.json @@ -0,0 +1,1172 @@ +{ + "companion_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "dependencies": { + "check_state": "unchecked", + "checked_at": null, + "missing": [], + "model_locations": "待目标机提供", + "models": [], + "node_packs": [], + "node_types": [ + "CreateVideo", + "GetVideoComponents", + "LoadVideo", + "RTXVideoSuperResolution", + "SaveVideo" + ], + "source": null + }, + "draft": true, + "errors": [ + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:GetVideoComponents" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:SaveVideo" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:CreateVideo" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:RTXVideoSuperResolution" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "待提供目标机节点定义:LoadVideo" + }, + { + "fix": "按具体节点补材料或提供原 ComfyUI API 导出。", + "symptom": "未得到可执行节点" + } + ], + "fixed_version": { + "canonical_sha256": "b5f165175de7f1fe5e1e522307e14725561b76e305f11b71f247d39076b0f56a", + "comments": [], + "counts": { + "final_prompt_constructed": false, + "final_scalars": 0, + "frontend_only": 1, + "history_objects": 0, + "linked_saved_fields": 1, + "physical_edges": 6, + "saved_fields": 9, + "source_nodes": 5, + "source_notes": 0 + }, + "fields": [ + { + "class_type": "SaveVideo", + "effect": "保存video/ComfyUI;8重组视频经边10送入9。准确核心按output配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受disable_metadata及prompt/extra_pnginfo条件控制,不保证带原视频元数据。", + "evidence": [ + 7, + 12, + 26 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/1", + "field": "filename_prefix", + "input_pointer": "/nodes/1/inputs/1", + "json_type": "str", + "label": "输出视频文件名前缀", + "limits": "未声明长度范围;按output子目录和计数规则处理", + "node_id": "9", + "pointer": "/nodes/1/widgets_values/0", + "role": "scalar", + "schema_default": "video/ComfyUI", + "scope": "root", + "type": "STRING", + "unit": "文本,无数值单位", + "value": "video/ComfyUI" + }, + { + "class_type": "SaveVideo", + "effect": "保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径规则,不是本次实际扩展名、文件存在或编码成功证明。", + "evidence": [ + 7, + 16, + 20 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/2", + "field": "format", + "input_pointer": "/nodes/1/inputs/2", + "json_type": "str", + "label": "输出容器格式", + "limits": "准确核心选项auto / mp4;不推目标编码库支持", + "node_id": "9", + "pointer": "/nodes/1/widgets_values/1", + "role": "scalar", + "schema_default": "auto", + "scope": "root", + "type": "COMBO", + "unit": "容器枚举", + "value": "auto" + }, + { + "class_type": "SaveVideo", + "effect": "保存auto。准确VideoFromComponents仅允许AUTO/H264并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器、驱动和实际输出未知,不把auto当保留输入视频编码或无损复制。", + "evidence": [ + 7, + 16, + 20 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/3", + "field": "codec", + "input_pointer": "/nodes/1/inputs/3", + "json_type": "str", + "label": "视频编码器选择", + "limits": "准确核心选项auto / h264;不是任意编码器自动挑选保证", + "node_id": "9", + "pointer": "/nodes/1/widgets_values/2", + "role": "scalar", + "schema_default": "auto", + "scope": "root", + "type": "COMBO", + "unit": "编码枚举", + "value": "auto" + }, + { + "class_type": "CreateVideo", + "effect": "原JSON int 30只为缓存;边9从7.fps输出槽2覆盖8.fps输入槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证。", + "evidence": [ + 8, + 9, + 19, + 20, + 14, + 15 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/2/inputs/2", + "field": "fps", + "input_pointer": "/nodes/2/inputs/2", + "json_type": "int", + "label": "重组视频帧率的源保存值", + "limits": "schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入", + "node_id": "8", + "pointer": "/nodes/2/widgets_values/0", + "role": "linked_saved", + "schema_default": "30.0", + "scope": "root", + "type": "FLOAT(schema);原JSON int", + "unit": "帧/秒(FPS)", + "value": 30 + }, + { + "class_type": "RTXVideoSuperResolution", + "effect": "源选择倍率分支,才读取resize_type.scale;目标尺寸分支width/height未保存,不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。", + "evidence": [ + 0, + 4, + 6 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/1", + "field": "resize_type", + "input_pointer": "/nodes/3/inputs/1", + "json_type": "str", + "label": "画面尺寸处理模式", + "limits": "只在所选分支展开子参数;源保存scale by multiplier", + "node_id": "1", + "pointer": "/nodes/3/widgets_values/0", + "role": "scalar", + "schema_default": "schema未显式给默认;选项顺序scale by multiplier、target dimensions", + "scope": "root", + "type": "COMFY_DYNAMICCOMBO_V3", + "unit": "模式标签", + "value": "scale by multiplier" + }, + { + "class_type": "RTXVideoSuperResolution", + "effect": "本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无物理外线覆盖本字段。", + "evidence": [ + 0, + 1, + 4, + 6 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/2", + "field": "resize_type.scale", + "input_pointer": "/nodes/3/inputs/2", + "json_type": "int", + "label": "倍率分支的缩放因子", + "limits": "schema 1.0~4.0、step0.01;仅scale by multiplier分支有效", + "node_id": "1", + "pointer": "/nodes/3/widgets_values/1", + "role": "scalar", + "schema_default": "2.0", + "scope": "root", + "type": "FLOAT(schema);原JSON int", + "unit": "无量纲倍率", + "value": 1 + }, + { + "class_type": "RTXVideoSuperResolution", + "effect": "保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes.load/run及CUDA;MAX_PIXELS=1024*1024*16按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/目标GPU/驱动及实际画质未知,不执行超分。", + "evidence": [ + 0, + 1, + 3 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/3", + "field": "quality", + "input_pointer": "/nodes/3/inputs/3", + "json_type": "str", + "label": "超分质量档位", + "limits": "LOW / MEDIUM / HIGH / ULTRA", + "node_id": "1", + "pointer": "/nodes/3/widgets_values/2", + "role": "scalar", + "schema_default": "ULTRA", + "scope": "root", + "type": "COMBO", + "unit": "枚举,无数值单位", + "value": "ULTRA" + }, + { + "class_type": "LoadVideo", + "effect": "原样保存WanVideo_00003-audio.mp4。文件名含audio和.mp4不证明文件存在、实际容器、音轨、时长、帧数或FPS。准确核心构造VideoFromFile;6经边5送7拆分,未读取素材或媒体探测。", + "evidence": [ + 10, + 18, + 19 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/0", + "field": "file", + "input_pointer": "/nodes/4/inputs/0", + "json_type": "str", + "label": "输入视频文件引用", + "limits": "input目录普通文件经video内容类型筛选并排序;实际列表未知", + "node_id": "6", + "pointer": "/nodes/4/widgets_values/0", + "role": "scalar", + "schema_default": "动态input视频枚举,无固定文件默认", + "scope": "root", + "type": "COMBO", + "unit": "文件引用", + "value": "WanVideo_00003-audio.mp4" + }, + { + "class_type": "LoadVideo", + "effect": "保存image仅上传控件占位,和上一个文件名分开保留。准确LoadVideo仅具名file参数,前端媒体COMBO扩展补upload;不据占位推视频内容、可读性或最终恢复结果,不上传素材。", + "evidence": [ + 10, + 13, + 14, + 15 + ], + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/1", + "field": "upload", + "input_pointer": "/nodes/4/inputs/1", + "json_type": "str", + "label": "视频上传控件保存占位", + "limits": "原保存字符串image;不是第二段视频、路径或已上传证明", + "node_id": "6", + "pointer": "/nodes/4/widgets_values/1", + "role": "frontend_control", + "schema_default": "前端按video_upload注入;非后端第二参数默认", + "scope": "root", + "type": "IMAGEUPLOAD(前端)", + "unit": "前端状态,无数值单位", + "value": "image" + } + ], + "flow": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "根5节点6物理边,全mode0,无子图/源注释/历史对象。6.LoadVideo→7.GetVideoComponents;7.images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.video。逐端点核对,不模拟执行。", + "7.widgets_values=[]为零保存位置,不制造控件或历史对象。8保存30为JSON int,准确schema默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。", + "RTX准确Registry0.1.0保存scale by multiplier、JSON int 1、ULTRA。先乘尺寸转int,再max(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载或执行运行库。", + "LoadVideo准确核心按动态input视频枚举构造VideoFromFile;get_components静态实现会解码帧、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解码视频。", + "8为VideoFromComponents,继承VideoInput默认维度/时长/帧数接口;保存仅允许AUTO/MP4及AUTO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。", + "9保存video/ComfyUI、auto、auto。准确VideoContainer扩展名规则auto→mp4和准确实现H264是固定源码条件,不称已产出.mp4。output目录计数名、可选prompt/extra_pnginfo元数据与PreviewVideo/SavedResult的filename/subfolder/type描述符分开;描述符不是媒体字节,不请求/api/view、不创建缓存。", + "所有五节点声明UE7.7;CreateVideo.widget_ue_connectable明确fps:true,其余空表。extra.ue_links/links_added_by_ue为空只描述保存状态,不能证明无改写。准确宿主先属性/序列化widgets_values后onConfigure;图级fixLinkInputSlots→onGraphConfigured→原onConfigure→onAfterGraphConfigured,动态分支另有恢复回调。UE实现/加载次序与最终值未知,不据宿主顺序证明扩展无影响。", + "源声明core0.16.4/frontend1.39.19,固定同一准确tag与完整commit;RTX Registry0.1.0包字节固定,Git绑定未知,不借其它版本/当前main。视频schema输入顺序images/fps/audio与源物理槽images/audio/fps分开,不重排原图,不造转换profile。", + "9非注释顶层保存位置=9标量(含1上传占位和1外线覆盖缓存),7空[]零位置;0注释/0历史对象。旧29块895保存位置+21注释逐对象不变,现30块904+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭;动态枚举、素材、设备、UE和实际效果待核。", + "原边 root [5, 6, 0, 7, 0, \"VIDEO\"]", + "原边 root [7, 1, 0, 8, 0, \"IMAGE\"]", + "原边 root [8, 7, 1, 8, 1, \"AUDIO\"]", + "原边 root [9, 7, 2, 8, 2, \"FLOAT\"]", + "原边 root [10, 8, 0, 9, 0, \"VIDEO\"]", + "原边 root [19, 7, 0, 1, 0, \"IMAGE\"]", + "原节点 root {\"id\": 7, \"type\": \"GetVideoComponents\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 5}], \"outputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"links\": [19]}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"type\": \"AUDIO\", \"links\": [8]}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"links\": [9]}], \"properties\": {\"Node name for S&R\": \"GetVideoComponents\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 9, \"type\": \"SaveVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 10}, {\"localized_name\": \"文件名前缀\", \"name\": \"filename_prefix\", \"type\": \"STRING\", \"widget\": {\"name\": \"filename_prefix\"}, \"link\": null}, {\"localized_name\": \"格式\", \"name\": \"format\", \"type\": \"COMBO\", \"widget\": {\"name\": \"format\"}, \"link\": null}, {\"localized_name\": \"编码器\", \"name\": \"codec\", \"type\": \"COMBO\", \"widget\": {\"name\": \"codec\"}, \"link\": null}], \"outputs\": [], \"properties\": {\"Node name for S&R\": \"SaveVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 8, \"type\": \"CreateVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 7}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"shape\": 7, \"type\": \"AUDIO\", \"link\": 8}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"fps\"}, \"link\": 9}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [10]}], \"properties\": {\"Node name for S&R\": \"CreateVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {\"fps\": true}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 1, \"type\": \"RTXVideoSuperResolution\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"images\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 19}, {\"localized_name\": \"resize_type\", \"name\": \"resize_type\", \"type\": \"COMFY_DYNAMICCOMBO_V3\", \"widget\": {\"name\": \"resize_type\"}, \"link\": null}, {\"localized_name\": \"resize_type.scale\", \"name\": \"resize_type.scale\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"resize_type.scale\"}, \"link\": null}, {\"localized_name\": \"quality\", \"name\": \"quality\", \"type\": \"COMBO\", \"widget\": {\"name\": \"quality\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"upscaled_images\", \"name\": \"upscaled_images\", \"type\": \"IMAGE\", \"links\": [7]}], \"properties\": {\"Node name for S&R\": \"RTXVideoSuperResolution\", \"aux_id\": \"Comfy-Org/Nvidia_RTX_Nodes_ComfyUI\", \"ver\": \"0.1.0\", \"cnr_id\": \"comfyui_nvidia_rtx_nodes\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 6, \"type\": \"LoadVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"文件\", \"name\": \"file\", \"type\": \"COMBO\", \"widget\": {\"name\": \"file\"}, \"link\": null}, {\"localized_name\": \"选择要上传的文件\", \"name\": \"upload\", \"type\": \"IMAGEUPLOAD\", \"widget\": {\"name\": \"upload\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [5]}], \"properties\": {\"Node name for S&R\": \"LoadVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}" + ], + "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 + ], + "matched": true, + "notice": "准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。", + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "source_sha1": "3a3b17a5bb55e250ed0430b9c2aeef396b7992c7", + "source_sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec", + "sources": [ + { + "claim": "准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "file": "__init__.py", + "git_commit_binding": "unknown", + "id": "rtx", + "lines": [ + 10, + 49 + ], + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "reused": true, + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip" + }, + { + "claim": "准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "file": "__init__.py", + "git_commit_binding": "unknown", + "id": "rtx", + "lines": [ + 51, + 109 + ], + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "reused": true, + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip" + }, + { + "claim": "准确包节点注册入口", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "file": "__init__.py", + "git_commit_binding": "unknown", + "id": "rtx", + "lines": [ + 112, + 121 + ], + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "reused": true, + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip" + }, + { + "claim": "准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "file": "pyproject.toml", + "git_commit_binding": "unknown", + "id": "rtx", + "lines": [ + 1, + 16 + ], + "local_file": "../rtx-video-reference/../rtx-reference/rtx__pyproject.toml", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "reused": true, + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip" + }, + { + "claim": "准确核心DynamicCombo选择分支schema", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_io.py", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "id": "core", + "lines": [ + 1090, + 1142 + ], + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "reused": true, + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py" + }, + { + "claim": "准确核心VIDEO IO类型;Type引用VideoInput别名", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_io.py", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "id": "core", + "lines": [ + 654, + 658 + ], + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "reused": true, + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py" + }, + { + "claim": "准确前端动态子控件插入/移除和恢复回调;不证明UE次序", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "file": "src/core/graph/widgets/dynamicWidgets.ts", + "git_blob_sha1": "3058e8131066eb797a4a1228eb643e388335a9ee", + "id": "frontend", + "lines": [ + 72, + 206 + ], + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "reused": true, + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts" + }, + { + "claim": "SaveVideo schema、元数据条件、output命名与保存描述符", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_extras/nodes_video.py", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "id": "core", + "lines": [ + 68, + 114 + ], + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "reused": false, + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py" + }, + { + "claim": "CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_extras/nodes_video.py", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "id": "core", + "lines": [ + 117, + 140 + ], + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "reused": false, + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py" + }, + { + "claim": "GetVideoComponents依次返回images/audio/float(frame_rate)", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_extras/nodes_video.py", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "id": "core", + "lines": [ + 142, + 164 + ], + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "reused": false, + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py" + }, + { + "claim": "LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_extras/nodes_video.py", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "id": "core", + "lines": [ + 167, + 205 + ], + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "reused": false, + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py" + }, + { + "claim": "准确核心视频节点注册和入口", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_extras/nodes_video.py", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "id": "core", + "lines": [ + 259, + 272 + ], + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "reused": false, + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py" + }, + { + "claim": "output子目录、计数命名及路径边界规则;不访问目录", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "folder_paths.py", + "git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8", + "id": "core", + "lines": [ + 428, + 472 + ], + "local_file": "../rtx-video-reference/../rtx-reference/core__folder_paths.py", + "reused": true, + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py" + }, + { + "claim": "准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "file": "src/extensions/core/uploadImage.ts", + "git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095", + "id": "frontend", + "lines": [ + 1, + 53 + ], + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "reused": true, + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts" + }, + { + "claim": "宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43", + "id": "frontend", + "lines": [ + 865, + 909 + ], + "local_file": "../rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "reused": false, + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts" + }, + { + "claim": "宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "file": "src/scripts/app.ts", + "git_blob_sha1": "7d5a64f19eb50dbbc6c4e9aa1f92723818e7bdad", + "id": "frontend", + "lines": [ + 747, + 772 + ], + "local_file": "../rtx-video-reference/frontend__src__scripts__app.ts", + "reused": false, + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts" + }, + { + "claim": "VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_util/video_types.py", + "git_blob_sha1": "fd3b5a510df4d1bd0b65141bd3d27953ec9cfc9a", + "id": "core", + "lines": [ + 1, + 49 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "reused": false, + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py" + }, + { + "claim": "VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input/video_types.py", + "git_blob_sha1": "451e9526e86d21b966d938f722cce6f21f00ba4f", + "id": "core", + "lines": [ + 1, + 128 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "reused": false, + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py" + }, + { + "claim": "VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input_impl/video_types.py", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "id": "core", + "lines": [ + 55, + 78 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "reused": false, + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py" + }, + { + "claim": "文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input_impl/video_types.py", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "id": "core", + "lines": [ + 235, + 305 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "reused": false, + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py" + }, + { + "claim": "VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input_impl/video_types.py", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "id": "core", + "lines": [ + 382, + 458 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "reused": false, + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py" + }, + { + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/input/__init__.py", + "git_blob_sha1": "68ff782706e8ab4f8d40917f8ff5b8aea54c7f51", + "id": "core", + "lines": [ + 1, + 16 + ], + "local_file": "../rtx-video-reference/core__comfy_api__input____init__.py", + "reused": false, + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py" + }, + { + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/input/video_types.py", + "git_blob_sha1": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "id": "core", + "lines": [ + 1, + 6 + ], + "local_file": "../rtx-video-reference/core__comfy_api__input__video_types.py", + "reused": false, + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py" + }, + { + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input/__init__.py", + "git_blob_sha1": "14f0e72f46bfb079e85a1c0e56993b5a99425ffe", + "id": "core", + "lines": [ + 1, + 10 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input____init__.py", + "reused": false, + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py" + }, + { + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input_impl/__init__.py", + "git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "id": "core", + "lines": [ + 1, + 7 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "reused": false, + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py" + }, + { + "claim": "图像张量/AudioInput后端类型定义;不从文件名判断存在音轨", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_input/basic_types.py", + "git_blob_sha1": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "id": "core", + "lines": [ + 1, + 24 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "reused": false, + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py" + }, + { + "claim": "SavedResult filename/subfolder/type文件描述符,不是媒体字节", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_ui.py", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "id": "core", + "lines": [ + 27, + 55 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "reused": false, + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py" + }, + { + "claim": "PreviewVideo序列化images描述符,不能证明实际保存或媒体格式", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "comfy_api/latest/_ui.py", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "id": "core", + "lines": [ + 428, + 440 + ], + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "reused": false, + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py" + }, + { + "claim": "准确提交/发布包许可原字节;不推目标许可适用性", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "file": "LICENSE", + "git_commit_binding": "unknown", + "id": "rtx", + "lines": [ + 1, + 201 + ], + "local_file": "../rtx-video-reference/../rtx-reference/rtx__LICENSE", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "reused": true, + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip" + }, + { + "claim": "准确提交/发布包许可原字节;不推目标许可适用性", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "file": "LICENSE", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "id": "core", + "lines": [ + 1, + 674 + ], + "local_file": "../rtx-video-reference/../rtx-reference/core__LICENSE", + "reused": true, + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE" + }, + { + "claim": "准确提交/发布包许可原字节;不推目标许可适用性", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "file": "LICENSE", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "id": "frontend", + "lines": [ + 1, + 674 + ], + "local_file": "../rtx-video-reference/../rtx-reference/frontend__LICENSE", + "reused": true, + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE" + } + ], + "steps": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。", + "操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。", + "操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。", + "常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。" + ], + "user_overview": "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "versions": [ + "core0.16.4→a7a6335be538f55faa2abf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。", + "RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。", + "五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。" + ], + "zero_saved_nodes": [ + { + "class_type": "GetVideoComponents", + "effect": "保存[]零位置;单视频输入拆分为images/audio/fps,不补参数。", + "node_id": "7", + "pointer": "/nodes/0/widgets_values", + "value": [] + } + ] + }, + "io": { + "inputs": [], + "outputs": [] + }, + "materials": [], + "params": [], + "purpose": "RTX 视频放大通过 GetVideoComponents 拆分视频,处理图像后重新 CreateVideo/SaveVideo。", + "snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b", + "source_links": [ + { + "link": [ + 5, + 6, + 0, + 7, + 0, + "VIDEO" + ], + "scope": "" + }, + { + "link": [ + 7, + 1, + 0, + 8, + 0, + "IMAGE" + ], + "scope": "" + }, + { + "link": [ + 8, + 7, + 1, + 8, + 1, + "AUDIO" + ], + "scope": "" + }, + { + "link": [ + 9, + 7, + 2, + 8, + 2, + "FLOAT" + ], + "scope": "" + }, + { + "link": [ + 10, + 8, + 0, + 9, + 0, + "VIDEO" + ], + "scope": "" + }, + { + "link": [ + 19, + 7, + 0, + 1, + 0, + "IMAGE" + ], + "scope": "" + } + ], + "source_nodes": [ + { + "class_type": "GetVideoComponents", + "inputs": [ + { + "link": 5, + "localized_name": "视频", + "name": "video", + "type": "VIDEO" + } + ], + "mode": 0, + "node_id": "7", + "source_values": [], + "title": null + }, + { + "class_type": "SaveVideo", + "inputs": [ + { + "link": 10, + "localized_name": "视频", + "name": "video", + "type": "VIDEO" + }, + { + "link": null, + "localized_name": "文件名前缀", + "name": "filename_prefix", + "type": "STRING", + "widget": { + "name": "filename_prefix" + } + }, + { + "link": null, + "localized_name": "格式", + "name": "format", + "type": "COMBO", + "widget": { + "name": "format" + } + }, + { + "link": null, + "localized_name": "编码器", + "name": "codec", + "type": "COMBO", + "widget": { + "name": "codec" + } + } + ], + "mode": 0, + "node_id": "9", + "source_values": [ + "video/ComfyUI", + "auto", + "auto" + ], + "title": null + }, + { + "class_type": "CreateVideo", + "inputs": [ + { + "link": 7, + "localized_name": "图像", + "name": "images", + "type": "IMAGE" + }, + { + "link": 8, + "localized_name": "音频", + "name": "audio", + "shape": 7, + "type": "AUDIO" + }, + { + "link": 9, + "localized_name": "帧率", + "name": "fps", + "type": "FLOAT", + "widget": { + "name": "fps" + } + } + ], + "mode": 0, + "node_id": "8", + "source_values": [ + 30 + ], + "title": null + }, + { + "class_type": "RTXVideoSuperResolution", + "inputs": [ + { + "link": 19, + "localized_name": "images", + "name": "images", + "type": "IMAGE" + }, + { + "link": null, + "localized_name": "resize_type", + "name": "resize_type", + "type": "COMFY_DYNAMICCOMBO_V3", + "widget": { + "name": "resize_type" + } + }, + { + "link": null, + "localized_name": "resize_type.scale", + "name": "resize_type.scale", + "type": "FLOAT", + "widget": { + "name": "resize_type.scale" + } + }, + { + "link": null, + "localized_name": "quality", + "name": "quality", + "type": "COMBO", + "widget": { + "name": "quality" + } + } + ], + "mode": 0, + "node_id": "1", + "source_values": [ + "scale by multiplier", + 1, + "ULTRA" + ], + "title": null + }, + { + "class_type": "LoadVideo", + "inputs": [ + { + "link": null, + "localized_name": "文件", + "name": "file", + "type": "COMBO", + "widget": { + "name": "file" + } + }, + { + "link": null, + "localized_name": "选择要上传的文件", + "name": "upload", + "type": "IMAGEUPLOAD", + "widget": { + "name": "upload" + } + } + ], + "mode": 0, + "node_id": "6", + "source_values": [ + "WanVideo_00003-audio.mp4", + "image" + ], + "title": null + } + ], + "source_notes": [], + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "source_review": { + "complete": false, + "evidence": { + "link_count": 6, + "model_references": [], + "named_value_count": 0, + "node_count": 5, + "note_node_ids": [], + "unnamed_widget_node_ids": [ + "9", + "8", + "1", + "6" + ] + }, + "instruction": "检查音轨是否接回 CreateVideo,避免只依据放大图像分支判断已保留音频。", + "purpose": "RTX 视频放大通过 GetVideoComponents 拆分视频,处理图像后重新 CreateVideo/SaveVideo。", + "reviewed_named_fields": [], + "scope": [ + "结构及用途局部审校", + "源具名参数/注释/连线/素材模型用途人工语义局部审校" + ], + "semantic_review": { + "batch": "HEL-892-third", + "conclusions": [ + "6视频经7拆分,7图像到1处理,音频和FLOAT分别接8的1/2槽,8输出到9保存。1控件倍率现值为1而不是文件名暗示的必然放大", + "先核对处理目标及原帧率连线,无注释、不能自行推断RTX硬件要求。" + ], + "evidence_refs": { + "nodes": [ + { + "node_id": "7", + "pointer": "/source_nodes/0" + }, + { + "node_id": "9", + "pointer": "/source_nodes/1" + }, + { + "node_id": "8", + "pointer": "/source_nodes/2" + }, + { + "node_id": "1", + "pointer": "/source_nodes/3" + }, + { + "node_id": "6", + "pointer": "/source_nodes/4" + } + ], + "notes": [], + "source_graph": "/source_links(按scope区分主图与子图;连线ID仅在各自scope内有效)" + }, + "mechanical_inventory": { + "link_count": 6, + "named_value_count": 0, + "note_count": 0, + "position_widget_node_count": 4 + }, + "named_parameter_finding": "未发现可由源文件确认的具名参数", + "operation_check": "6视频经7拆分,7图像到1处理,音频和FLOAT分别接8的1/2槽,8输出到9保存。1控件倍率现值为1而不是文件名暗示的必然放大;先核对处理目标及原帧率连线,无注释、不能自行推断RTX硬件要求。", + "unknowns": [ + "位置数组未按位置具名,具名字段单位/合法范围/调整效果未获定义验证", + "注释中的效果、性能、版本支持为源作者陈述,未作外部或环境验证", + "静音/旁路、虚拟节点、子图、开关与连线覆盖的实际执行结果待原前端API导出", + "模型/素材引用只表示源文件出现,实际安装、位置、可用性和输出编码待真实环境核对" + ] + }, + "source_sha": "3a3b17a5bb55e250ed0430b9c2aeef396b7992c7", + "unconfirmed": [ + "逐参数语义、单位、范围和调整效果未定稿", + "UI 位置控件未具名,含子图和旁路的实际执行路径待黄金导出", + "模型/节点包位置、素材可用性及实际输出未在目标环境核对" + ] + }, + "source_review_sha": "c636c02c2a073bb12c0318ecd8e2c88593e77e9e9c22d8697151b5997b5918f3", + "status": { + "doc_done": false, + "exec_verified": false, + "imported": true + }, + "steps": [ + "检查音轨是否接回 CreateVideo,避免只依据放大图像分支判断已保留音频。", + "6视频经7拆分,7图像到1处理,音频和FLOAT分别接8的1/2槽,8输出到9保存。1控件倍率现值为1而不是文件名暗示的必然放大;先核对处理目标及原帧率连线,无注释、不能自行推断RTX硬件要求。", + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。", + "操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。", + "操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。", + "常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。" + ], + "title": "RTX_video_upscale" +} diff --git a/docs/hel-892/rtx-video-document-evidence/audit-summary.json b/docs/hel-892/rtx-video-document-evidence/audit-summary.json new file mode 100644 index 00000000..dfd588aa --- /dev/null +++ b/docs/hel-892/rtx-video-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/rtx-video-document-evidence/authored-diff-check.txt b/docs/hel-892/rtx-video-document-evidence/authored-diff-check.txt new file mode 100644 index 00000000..e69de29b diff --git a/docs/hel-892/rtx-video-document-evidence/backend-final.txt b/docs/hel-892/rtx-video-document-evidence/backend-final.txt new file mode 100644 index 00000000..ea2f3013 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/backend-final.txt @@ -0,0 +1,9 @@ +........................................................................ [ 79%] +................... [100%] +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f463f48e2488/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 +91 passed, 1 warning in 4.38s diff --git a/docs/hel-892/rtx-video-document-evidence/backend-initial.txt b/docs/hel-892/rtx-video-document-evidence/backend-initial.txt new file mode 100644 index 00000000..00b06b6f --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/backend-initial.txt @@ -0,0 +1,115 @@ +................................................................F....... [ 79%] +....F.............. [100%] +=================================== FAILURES =================================== +_____________ test_special_shapes_and_identity_fail_closed[empty] ______________ + +variant = 'empty' + + @pytest.mark.parametrize( + "variant", + [ + "empty", + "missing", + "connectable", + "ue", + "frontend", + "summary", + "citation", + "source_sha", + "path", + "layout", + "dynamic", + "fps_slot", + ], + ) + def test_special_shapes_and_identity_fail_closed(variant): + s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW) + ns = {n["id"]: n for n in s["nodes"]} + b = r["fixed_version_document"] + if variant == "empty": + ns[7]["widgets_values"] = [] + elif variant == "missing": + del ns[7]["widgets_values"] + elif variant == "connectable": + ns[8]["properties"]["ue_properties"]["widget_ue_connectable"]["fps"] = False + elif variant == "ue": + ns[1]["properties"]["ue_properties"]["version"] = "forged" + elif variant == "frontend": + s["extra"]["frontendVersion"] = "forged" + elif variant == "summary": + b["user_overview"] = "forged" + elif variant == "citation": + b["sources"][0]["sha256"] = "0" * 64 + elif variant == "source_sha": + b["source_sha1"] = "0" * 40 + elif variant == "path": + b["source_path"] = "forged" + elif variant == "layout": + ns[1]["pos"][0] += 1 + elif variant == "dynamic": + ns[1]["inputs"][2]["name"] = "width" + elif variant == "fps_slot": + ns[7]["outputs"][2]["name"] = "audio" +> refuse(s, r) + +calliope-backend/tests/test_rtx_video_fixed_document.py:159: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +s = {'id': 'e6b92a63-6d7e-4d2b-b9e3-2e054825db02', 'revision': 0, 'last_node_id': 14, 'last_link_id': 19, ...} +r = {'source_sha': '3a3b17a5bb55e250ed0430b9c2aeef396b7992c7', 'purpose': 'RTX 视频放大通过 GetVideoComponents 拆分视频,处理图像后重新 CreateVideo/SaveVideo。', 'instruction': '检查音轨是否接回 CreateVideo,避免只依据放大图像分支判断已保留音频。', 'reviewed_named_fields': [], ...} + + def refuse(s, r): + 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(s, r)["fixed_version"]["matched"] +E assert not True + +calliope-backend/tests/test_rtx_video_fixed_document.py:42: AssertionError +__________ test_independent_inventory_edges_and_reference_conditions ___________ + + def test_independent_inventory_edges_and_reference_conditions(): + ns = {n["id"]: n for n in SOURCE["nodes"]} + assert len(ns) == 5 and len(SOURCE["links"]) == 6 + assert all(n["mode"] == 0 for n in ns.values()) + assert ns[1]["widgets_values"] == ["scale by multiplier", 1, "ULTRA"] + assert type(ns[1]["widgets_values"][1]) is int + assert ns[7]["widgets_values"] == [] + assert ns[8]["widgets_values"] == [30] and type(ns[8]["widgets_values"][0]) is int + assert ns[8]["properties"]["ue_properties"]["widget_ue_connectable"] == {"fps": True} + assert ns[6]["widgets_values"] == ["WanVideo_00003-audio.mp4", "image"] + assert ns[9]["widgets_values"] == ["video/ComfyUI", "auto", "auto"] + assert SOURCE["links"] == [ + [5, 6, 0, 7, 0, "VIDEO"], [7, 1, 0, 8, 0, "IMAGE"], + [8, 7, 1, 8, 1, "AUDIO"], [9, 7, 2, 8, 2, "FLOAT"], + [10, 8, 0, 9, 0, "VIDEO"], [19, 7, 0, 1, 0, "IMAGE"], + ] + for e, src, slot, dst, inp, _ in SOURCE["links"]: + assert e in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == e + assert len(BLOCK["fields"]) == len({f["pointer"] for f in BLOCK["fields"]}) == 9 + actual = {f"/nodes/{i}/widgets_values/{k}" for i,n in enumerate(SOURCE["nodes"]) for k in range(len(n["widgets_values"]))} + assert actual == {f["pointer"] for f in BLOCK["fields"]} + assert all(not isinstance(f["value"], (list, dict)) for f in BLOCK["fields"]) + assert BLOCK["comments"] == [] and not doc()["source_notes"] + assert BLOCK["zero_saved_nodes"][0]["pointer"] == "/nodes/0/widgets_values" + assert BLOCK["counts"]["linked_saved_fields"] == 1 + assert BLOCK["counts"]["frontend_only"] == 1 + assert doc()["fixed_version"]["matched"] and not BLOCK["counts"]["final_prompt_constructed"] + assert doc()["dependencies"]["check_state"] == "unchecked" + assert doc()["status"] == dict(imported=True, doc_done=False, exec_verified=False) + for word in ["原音频", "round", "Git绑定未知", "MAX_PIXELS", "CUDA", "output", "UE7.7", "fps:true", "onAfterGraphConfigured", "千分率", "音画同步", "H264", "AAC", "9标量"]: +> assert word in " ".join(BLOCK["flow"]) +E assert '音画同步' in '这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知..."secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}}' +E + where '这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知..."secondTabWidth": 65, "ue_properties": {"widget_ue_connectable": {}, "version": "7.7", "input_ue_unconnectable": {}}}}' = (['这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未...存仅允许AUTO/MP4及AUTO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。', ...]) +E + where = ' '.join + +calliope-backend/tests/test_rtx_video_fixed_document.py:192: AssertionError +=============================== warnings summary =============================== +calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53 + /home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f463f48e2488/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_rtx_video_fixed_document.py::test_special_shapes_and_identity_fail_closed[empty] +FAILED calliope-backend/tests/test_rtx_video_fixed_document.py::test_independent_inventory_edges_and_reference_conditions +2 failed, 89 passed, 1 warning in 4.44s diff --git a/docs/hel-892/rtx-video-document-evidence/boundaries.json b/docs/hel-892/rtx-video-document-evidence/boundaries.json new file mode 100644 index 00000000..4cbc00d6 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/boundaries.json @@ -0,0 +1,728 @@ +{ + "base": "334549a386565af15d42df3d7079553ee2c07b8a", + "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_nine_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/rtx-video-document-evidence/browser-final.txt b/docs/hel-892/rtx-video-document-evidence/browser-final.txt new file mode 100644 index 00000000..e35f7122 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/browser-final.txt @@ -0,0 +1,901 @@ +PASS 30图904保存位置 +PASS 30图21源注释 +PASS 1440 RTX_video_upscale默认中文用途 +PASS 1440 RTX_video_upscale源审校默认折叠 +PASS 1440 RTX_video_upscale技术范围默认折叠 +PASS 1440 RTX_video_upscale默认无执行计数/实现标识 +PASS 1440 RTX_video_upscale默认依据限制可见 +PASS 1440 RTX_video_upscale 说明未定稿 +PASS 1440 RTX_video_upscale 未验证实跑 +PASS 1440 RTX_video_upscale 未检查 +PASS 1440 RTX_video_upscale停用/时间戳空 +PASS 1440 RTX_video_upscale参数全保留 +PASS 1440 RTX_video_upscale默认无溢出 +PASS 1440 RTX_video_upscale原用途/源路径展开保留 +PASS 1440 RTX_video_upscale展开流程 0 +PASS 1440 RTX_video_upscale展开流程 1 +PASS 1440 RTX_video_upscale展开流程 2 +PASS 1440 RTX_video_upscale展开流程 3 +PASS 1440 RTX_video_upscale展开流程 4 +PASS 1440 RTX_video_upscale展开流程 5 +PASS 1440 RTX_video_upscale展开流程 6 +PASS 1440 RTX_video_upscale展开流程 7 +PASS 1440 RTX_video_upscale展开流程 8 +PASS 1440 RTX_video_upscale展开流程 9 +PASS 1440 RTX_video_upscale展开流程 10 +PASS 1440 RTX_video_upscale展开流程 11 +PASS 1440 RTX_video_upscale展开流程 12 +PASS 1440 RTX_video_upscale展开流程 13 +PASS 1440 RTX_video_upscale展开流程 14 +PASS 1440 RTX_video_upscale展开流程 15 +PASS 1440 RTX_video_upscale展开流程 16 +PASS 1440 RTX_video_upscale展开流程 17 +PASS 1440 RTX_video_upscale展开流程 18 +PASS 1440 RTX_video_upscale展开流程 19 +PASS 1440 RTX_video_upscale展开流程 20 +PASS 1440 RTX_video_upscale原件摘要可展开 +PASS 1440 RTX_video_upscale版本 0 +PASS 1440 RTX_video_upscale版本 1 +PASS 1440 RTX_video_upscale版本 2 +PASS 1440 9.filename_prefix键盘展开 +PASS 1440 9.filename_prefix用途/单位/范围/来源条件 +PASS 1440 9.filename_prefix精确保留现值 +PASS 1440 9.filename_prefix指针默认折叠 +PASS 1440 9.filename_prefix精确源码/类型/指针 +PASS 1440 9.filename_prefix展开无溢出 +PASS 1440 9.format键盘展开 +PASS 1440 9.format用途/单位/范围/来源条件 +PASS 1440 9.format精确保留现值 +PASS 1440 9.format指针默认折叠 +PASS 1440 9.format精确源码/类型/指针 +PASS 1440 9.format展开无溢出 +PASS 1440 9.codec键盘展开 +PASS 1440 9.codec用途/单位/范围/来源条件 +PASS 1440 9.codec精确保留现值 +PASS 1440 9.codec指针默认折叠 +PASS 1440 9.codec精确源码/类型/指针 +PASS 1440 9.codec展开无溢出 +PASS 1440 8.fps键盘展开 +PASS 1440 8.fps用途/单位/范围/来源条件 +PASS 1440 8.fps精确保留现值 +PASS 1440 8.fps指针默认折叠 +PASS 1440 8.fps精确源码/类型/指针 +PASS 1440 8.fps展开无溢出 +PASS 1440 1.resize_type键盘展开 +PASS 1440 1.resize_type用途/单位/范围/来源条件 +PASS 1440 1.resize_type精确保留现值 +PASS 1440 1.resize_type指针默认折叠 +PASS 1440 1.resize_type精确源码/类型/指针 +PASS 1440 1.resize_type展开无溢出 +PASS 1440 1.resize_type.scale键盘展开 +PASS 1440 1.resize_type.scale用途/单位/范围/来源条件 +PASS 1440 1.resize_type.scale精确保留现值 +PASS 1440 1.resize_type.scale指针默认折叠 +PASS 1440 1.resize_type.scale精确源码/类型/指针 +PASS 1440 1.resize_type.scale展开无溢出 +PASS 1440 1.quality键盘展开 +PASS 1440 1.quality用途/单位/范围/来源条件 +PASS 1440 1.quality精确保留现值 +PASS 1440 1.quality指针默认折叠 +PASS 1440 1.quality精确源码/类型/指针 +PASS 1440 1.quality展开无溢出 +PASS 1440 6.file键盘展开 +PASS 1440 6.file用途/单位/范围/来源条件 +PASS 1440 6.file精确保留现值 +PASS 1440 6.file指针默认折叠 +PASS 1440 6.file精确源码/类型/指针 +PASS 1440 6.file展开无溢出 +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 1440Tab焦点保留 +PASS 1440ShiftTab焦点保留 +PASS 1440 RTX_video_upscale关闭归还焦点 +PASS 1440 RTX_image_upscale默认中文用途 +PASS 1440 RTX_image_upscale源审校默认折叠 +PASS 1440 RTX_image_upscale技术范围默认折叠 +PASS 1440 RTX_image_upscale默认无执行计数/实现标识 +PASS 1440 RTX_image_upscale默认依据限制可见 +PASS 1440 RTX_image_upscale 说明未定稿 +PASS 1440 RTX_image_upscale 未验证实跑 +PASS 1440 RTX_image_upscale 未检查 +PASS 1440 RTX_image_upscale停用/时间戳空 +PASS 1440 RTX_image_upscale参数全保留 +PASS 1440 RTX_image_upscale默认无溢出 +PASS 1440 RTX_image_upscale旧图归还焦点 +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 sam3_图像视频-提示词遮罩分割默认中文用途 +PASS 1440 sam3_图像视频-提示词遮罩分割源审校默认折叠 +PASS 1440 sam3_图像视频-提示词遮罩分割技术范围默认折叠 +PASS 1440 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识 +PASS 1440 sam3_图像视频-提示词遮罩分割默认依据限制可见 +PASS 1440 sam3_图像视频-提示词遮罩分割 说明未定稿 +PASS 1440 sam3_图像视频-提示词遮罩分割 未验证实跑 +PASS 1440 sam3_图像视频-提示词遮罩分割 未检查 +PASS 1440 sam3_图像视频-提示词遮罩分割停用/时间戳空 +PASS 1440 sam3_图像视频-提示词遮罩分割参数全保留 +PASS 1440 sam3_图像视频-提示词遮罩分割默认无溢出 +PASS 1440 sam3_图像视频-提示词遮罩分割旧图归还焦点 +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 图像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 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 RTX_video_upscale默认中文用途 +PASS 390 RTX_video_upscale源审校默认折叠 +PASS 390 RTX_video_upscale技术范围默认折叠 +PASS 390 RTX_video_upscale默认无执行计数/实现标识 +PASS 390 RTX_video_upscale默认依据限制可见 +PASS 390 RTX_video_upscale 说明未定稿 +PASS 390 RTX_video_upscale 未验证实跑 +PASS 390 RTX_video_upscale 未检查 +PASS 390 RTX_video_upscale停用/时间戳空 +PASS 390 RTX_video_upscale参数全保留 +PASS 390 RTX_video_upscale默认无溢出 +PASS 390 RTX_video_upscale原用途/源路径展开保留 +PASS 390 RTX_video_upscale展开流程 0 +PASS 390 RTX_video_upscale展开流程 1 +PASS 390 RTX_video_upscale展开流程 2 +PASS 390 RTX_video_upscale展开流程 3 +PASS 390 RTX_video_upscale展开流程 4 +PASS 390 RTX_video_upscale展开流程 5 +PASS 390 RTX_video_upscale展开流程 6 +PASS 390 RTX_video_upscale展开流程 7 +PASS 390 RTX_video_upscale展开流程 8 +PASS 390 RTX_video_upscale展开流程 9 +PASS 390 RTX_video_upscale展开流程 10 +PASS 390 RTX_video_upscale展开流程 11 +PASS 390 RTX_video_upscale展开流程 12 +PASS 390 RTX_video_upscale展开流程 13 +PASS 390 RTX_video_upscale展开流程 14 +PASS 390 RTX_video_upscale展开流程 15 +PASS 390 RTX_video_upscale展开流程 16 +PASS 390 RTX_video_upscale展开流程 17 +PASS 390 RTX_video_upscale展开流程 18 +PASS 390 RTX_video_upscale展开流程 19 +PASS 390 RTX_video_upscale展开流程 20 +PASS 390 RTX_video_upscale原件摘要可展开 +PASS 390 RTX_video_upscale版本 0 +PASS 390 RTX_video_upscale版本 1 +PASS 390 RTX_video_upscale版本 2 +PASS 390 9.filename_prefix键盘展开 +PASS 390 9.filename_prefix用途/单位/范围/来源条件 +PASS 390 9.filename_prefix精确保留现值 +PASS 390 9.filename_prefix指针默认折叠 +PASS 390 9.filename_prefix精确源码/类型/指针 +PASS 390 9.filename_prefix展开无溢出 +PASS 390 9.format键盘展开 +PASS 390 9.format用途/单位/范围/来源条件 +PASS 390 9.format精确保留现值 +PASS 390 9.format指针默认折叠 +PASS 390 9.format精确源码/类型/指针 +PASS 390 9.format展开无溢出 +PASS 390 9.codec键盘展开 +PASS 390 9.codec用途/单位/范围/来源条件 +PASS 390 9.codec精确保留现值 +PASS 390 9.codec指针默认折叠 +PASS 390 9.codec精确源码/类型/指针 +PASS 390 9.codec展开无溢出 +PASS 390 8.fps键盘展开 +PASS 390 8.fps用途/单位/范围/来源条件 +PASS 390 8.fps精确保留现值 +PASS 390 8.fps指针默认折叠 +PASS 390 8.fps精确源码/类型/指针 +PASS 390 8.fps展开无溢出 +PASS 390 1.resize_type键盘展开 +PASS 390 1.resize_type用途/单位/范围/来源条件 +PASS 390 1.resize_type精确保留现值 +PASS 390 1.resize_type指针默认折叠 +PASS 390 1.resize_type精确源码/类型/指针 +PASS 390 1.resize_type展开无溢出 +PASS 390 1.resize_type.scale键盘展开 +PASS 390 1.resize_type.scale用途/单位/范围/来源条件 +PASS 390 1.resize_type.scale精确保留现值 +PASS 390 1.resize_type.scale指针默认折叠 +PASS 390 1.resize_type.scale精确源码/类型/指针 +PASS 390 1.resize_type.scale展开无溢出 +PASS 390 1.quality键盘展开 +PASS 390 1.quality用途/单位/范围/来源条件 +PASS 390 1.quality精确保留现值 +PASS 390 1.quality指针默认折叠 +PASS 390 1.quality精确源码/类型/指针 +PASS 390 1.quality展开无溢出 +PASS 390 6.file键盘展开 +PASS 390 6.file用途/单位/范围/来源条件 +PASS 390 6.file精确保留现值 +PASS 390 6.file指针默认折叠 +PASS 390 6.file精确源码/类型/指针 +PASS 390 6.file展开无溢出 +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 390Tab焦点保留 +PASS 390ShiftTab焦点保留 +PASS 390 RTX_video_upscale关闭归还焦点 +PASS 390 RTX_image_upscale默认中文用途 +PASS 390 RTX_image_upscale源审校默认折叠 +PASS 390 RTX_image_upscale技术范围默认折叠 +PASS 390 RTX_image_upscale默认无执行计数/实现标识 +PASS 390 RTX_image_upscale默认依据限制可见 +PASS 390 RTX_image_upscale 说明未定稿 +PASS 390 RTX_image_upscale 未验证实跑 +PASS 390 RTX_image_upscale 未检查 +PASS 390 RTX_image_upscale停用/时间戳空 +PASS 390 RTX_image_upscale参数全保留 +PASS 390 RTX_image_upscale默认无溢出 +PASS 390 RTX_image_upscale旧图归还焦点 +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 sam3_图像视频-提示词遮罩分割默认中文用途 +PASS 390 sam3_图像视频-提示词遮罩分割源审校默认折叠 +PASS 390 sam3_图像视频-提示词遮罩分割技术范围默认折叠 +PASS 390 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识 +PASS 390 sam3_图像视频-提示词遮罩分割默认依据限制可见 +PASS 390 sam3_图像视频-提示词遮罩分割 说明未定稿 +PASS 390 sam3_图像视频-提示词遮罩分割 未验证实跑 +PASS 390 sam3_图像视频-提示词遮罩分割 未检查 +PASS 390 sam3_图像视频-提示词遮罩分割停用/时间戳空 +PASS 390 sam3_图像视频-提示词遮罩分割参数全保留 +PASS 390 sam3_图像视频-提示词遮罩分割默认无溢出 +PASS 390 sam3_图像视频-提示词遮罩分割旧图归还焦点 +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 图像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 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 迟到RTX响应不覆盖旧RTX图片摘要/7字段 +PASS GET失败显示重试 +PASS 读取失败隐藏旧摘要 +PASS 重试恢复摘要 +PASS 无脚本错误或禁止请求 [] +PASS 全程本地GET无写/生成/目标/历史预览请求 +All owned browser services stopped; ports released. diff --git a/docs/hel-892/rtx-video-document-evidence/browser-initial.txt b/docs/hel-892/rtx-video-document-evidence/browser-initial.txt new file mode 100644 index 00000000..e35f7122 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/browser-initial.txt @@ -0,0 +1,901 @@ +PASS 30图904保存位置 +PASS 30图21源注释 +PASS 1440 RTX_video_upscale默认中文用途 +PASS 1440 RTX_video_upscale源审校默认折叠 +PASS 1440 RTX_video_upscale技术范围默认折叠 +PASS 1440 RTX_video_upscale默认无执行计数/实现标识 +PASS 1440 RTX_video_upscale默认依据限制可见 +PASS 1440 RTX_video_upscale 说明未定稿 +PASS 1440 RTX_video_upscale 未验证实跑 +PASS 1440 RTX_video_upscale 未检查 +PASS 1440 RTX_video_upscale停用/时间戳空 +PASS 1440 RTX_video_upscale参数全保留 +PASS 1440 RTX_video_upscale默认无溢出 +PASS 1440 RTX_video_upscale原用途/源路径展开保留 +PASS 1440 RTX_video_upscale展开流程 0 +PASS 1440 RTX_video_upscale展开流程 1 +PASS 1440 RTX_video_upscale展开流程 2 +PASS 1440 RTX_video_upscale展开流程 3 +PASS 1440 RTX_video_upscale展开流程 4 +PASS 1440 RTX_video_upscale展开流程 5 +PASS 1440 RTX_video_upscale展开流程 6 +PASS 1440 RTX_video_upscale展开流程 7 +PASS 1440 RTX_video_upscale展开流程 8 +PASS 1440 RTX_video_upscale展开流程 9 +PASS 1440 RTX_video_upscale展开流程 10 +PASS 1440 RTX_video_upscale展开流程 11 +PASS 1440 RTX_video_upscale展开流程 12 +PASS 1440 RTX_video_upscale展开流程 13 +PASS 1440 RTX_video_upscale展开流程 14 +PASS 1440 RTX_video_upscale展开流程 15 +PASS 1440 RTX_video_upscale展开流程 16 +PASS 1440 RTX_video_upscale展开流程 17 +PASS 1440 RTX_video_upscale展开流程 18 +PASS 1440 RTX_video_upscale展开流程 19 +PASS 1440 RTX_video_upscale展开流程 20 +PASS 1440 RTX_video_upscale原件摘要可展开 +PASS 1440 RTX_video_upscale版本 0 +PASS 1440 RTX_video_upscale版本 1 +PASS 1440 RTX_video_upscale版本 2 +PASS 1440 9.filename_prefix键盘展开 +PASS 1440 9.filename_prefix用途/单位/范围/来源条件 +PASS 1440 9.filename_prefix精确保留现值 +PASS 1440 9.filename_prefix指针默认折叠 +PASS 1440 9.filename_prefix精确源码/类型/指针 +PASS 1440 9.filename_prefix展开无溢出 +PASS 1440 9.format键盘展开 +PASS 1440 9.format用途/单位/范围/来源条件 +PASS 1440 9.format精确保留现值 +PASS 1440 9.format指针默认折叠 +PASS 1440 9.format精确源码/类型/指针 +PASS 1440 9.format展开无溢出 +PASS 1440 9.codec键盘展开 +PASS 1440 9.codec用途/单位/范围/来源条件 +PASS 1440 9.codec精确保留现值 +PASS 1440 9.codec指针默认折叠 +PASS 1440 9.codec精确源码/类型/指针 +PASS 1440 9.codec展开无溢出 +PASS 1440 8.fps键盘展开 +PASS 1440 8.fps用途/单位/范围/来源条件 +PASS 1440 8.fps精确保留现值 +PASS 1440 8.fps指针默认折叠 +PASS 1440 8.fps精确源码/类型/指针 +PASS 1440 8.fps展开无溢出 +PASS 1440 1.resize_type键盘展开 +PASS 1440 1.resize_type用途/单位/范围/来源条件 +PASS 1440 1.resize_type精确保留现值 +PASS 1440 1.resize_type指针默认折叠 +PASS 1440 1.resize_type精确源码/类型/指针 +PASS 1440 1.resize_type展开无溢出 +PASS 1440 1.resize_type.scale键盘展开 +PASS 1440 1.resize_type.scale用途/单位/范围/来源条件 +PASS 1440 1.resize_type.scale精确保留现值 +PASS 1440 1.resize_type.scale指针默认折叠 +PASS 1440 1.resize_type.scale精确源码/类型/指针 +PASS 1440 1.resize_type.scale展开无溢出 +PASS 1440 1.quality键盘展开 +PASS 1440 1.quality用途/单位/范围/来源条件 +PASS 1440 1.quality精确保留现值 +PASS 1440 1.quality指针默认折叠 +PASS 1440 1.quality精确源码/类型/指针 +PASS 1440 1.quality展开无溢出 +PASS 1440 6.file键盘展开 +PASS 1440 6.file用途/单位/范围/来源条件 +PASS 1440 6.file精确保留现值 +PASS 1440 6.file指针默认折叠 +PASS 1440 6.file精确源码/类型/指针 +PASS 1440 6.file展开无溢出 +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 1440Tab焦点保留 +PASS 1440ShiftTab焦点保留 +PASS 1440 RTX_video_upscale关闭归还焦点 +PASS 1440 RTX_image_upscale默认中文用途 +PASS 1440 RTX_image_upscale源审校默认折叠 +PASS 1440 RTX_image_upscale技术范围默认折叠 +PASS 1440 RTX_image_upscale默认无执行计数/实现标识 +PASS 1440 RTX_image_upscale默认依据限制可见 +PASS 1440 RTX_image_upscale 说明未定稿 +PASS 1440 RTX_image_upscale 未验证实跑 +PASS 1440 RTX_image_upscale 未检查 +PASS 1440 RTX_image_upscale停用/时间戳空 +PASS 1440 RTX_image_upscale参数全保留 +PASS 1440 RTX_image_upscale默认无溢出 +PASS 1440 RTX_image_upscale旧图归还焦点 +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 sam3_图像视频-提示词遮罩分割默认中文用途 +PASS 1440 sam3_图像视频-提示词遮罩分割源审校默认折叠 +PASS 1440 sam3_图像视频-提示词遮罩分割技术范围默认折叠 +PASS 1440 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识 +PASS 1440 sam3_图像视频-提示词遮罩分割默认依据限制可见 +PASS 1440 sam3_图像视频-提示词遮罩分割 说明未定稿 +PASS 1440 sam3_图像视频-提示词遮罩分割 未验证实跑 +PASS 1440 sam3_图像视频-提示词遮罩分割 未检查 +PASS 1440 sam3_图像视频-提示词遮罩分割停用/时间戳空 +PASS 1440 sam3_图像视频-提示词遮罩分割参数全保留 +PASS 1440 sam3_图像视频-提示词遮罩分割默认无溢出 +PASS 1440 sam3_图像视频-提示词遮罩分割旧图归还焦点 +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 图像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 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 RTX_video_upscale默认中文用途 +PASS 390 RTX_video_upscale源审校默认折叠 +PASS 390 RTX_video_upscale技术范围默认折叠 +PASS 390 RTX_video_upscale默认无执行计数/实现标识 +PASS 390 RTX_video_upscale默认依据限制可见 +PASS 390 RTX_video_upscale 说明未定稿 +PASS 390 RTX_video_upscale 未验证实跑 +PASS 390 RTX_video_upscale 未检查 +PASS 390 RTX_video_upscale停用/时间戳空 +PASS 390 RTX_video_upscale参数全保留 +PASS 390 RTX_video_upscale默认无溢出 +PASS 390 RTX_video_upscale原用途/源路径展开保留 +PASS 390 RTX_video_upscale展开流程 0 +PASS 390 RTX_video_upscale展开流程 1 +PASS 390 RTX_video_upscale展开流程 2 +PASS 390 RTX_video_upscale展开流程 3 +PASS 390 RTX_video_upscale展开流程 4 +PASS 390 RTX_video_upscale展开流程 5 +PASS 390 RTX_video_upscale展开流程 6 +PASS 390 RTX_video_upscale展开流程 7 +PASS 390 RTX_video_upscale展开流程 8 +PASS 390 RTX_video_upscale展开流程 9 +PASS 390 RTX_video_upscale展开流程 10 +PASS 390 RTX_video_upscale展开流程 11 +PASS 390 RTX_video_upscale展开流程 12 +PASS 390 RTX_video_upscale展开流程 13 +PASS 390 RTX_video_upscale展开流程 14 +PASS 390 RTX_video_upscale展开流程 15 +PASS 390 RTX_video_upscale展开流程 16 +PASS 390 RTX_video_upscale展开流程 17 +PASS 390 RTX_video_upscale展开流程 18 +PASS 390 RTX_video_upscale展开流程 19 +PASS 390 RTX_video_upscale展开流程 20 +PASS 390 RTX_video_upscale原件摘要可展开 +PASS 390 RTX_video_upscale版本 0 +PASS 390 RTX_video_upscale版本 1 +PASS 390 RTX_video_upscale版本 2 +PASS 390 9.filename_prefix键盘展开 +PASS 390 9.filename_prefix用途/单位/范围/来源条件 +PASS 390 9.filename_prefix精确保留现值 +PASS 390 9.filename_prefix指针默认折叠 +PASS 390 9.filename_prefix精确源码/类型/指针 +PASS 390 9.filename_prefix展开无溢出 +PASS 390 9.format键盘展开 +PASS 390 9.format用途/单位/范围/来源条件 +PASS 390 9.format精确保留现值 +PASS 390 9.format指针默认折叠 +PASS 390 9.format精确源码/类型/指针 +PASS 390 9.format展开无溢出 +PASS 390 9.codec键盘展开 +PASS 390 9.codec用途/单位/范围/来源条件 +PASS 390 9.codec精确保留现值 +PASS 390 9.codec指针默认折叠 +PASS 390 9.codec精确源码/类型/指针 +PASS 390 9.codec展开无溢出 +PASS 390 8.fps键盘展开 +PASS 390 8.fps用途/单位/范围/来源条件 +PASS 390 8.fps精确保留现值 +PASS 390 8.fps指针默认折叠 +PASS 390 8.fps精确源码/类型/指针 +PASS 390 8.fps展开无溢出 +PASS 390 1.resize_type键盘展开 +PASS 390 1.resize_type用途/单位/范围/来源条件 +PASS 390 1.resize_type精确保留现值 +PASS 390 1.resize_type指针默认折叠 +PASS 390 1.resize_type精确源码/类型/指针 +PASS 390 1.resize_type展开无溢出 +PASS 390 1.resize_type.scale键盘展开 +PASS 390 1.resize_type.scale用途/单位/范围/来源条件 +PASS 390 1.resize_type.scale精确保留现值 +PASS 390 1.resize_type.scale指针默认折叠 +PASS 390 1.resize_type.scale精确源码/类型/指针 +PASS 390 1.resize_type.scale展开无溢出 +PASS 390 1.quality键盘展开 +PASS 390 1.quality用途/单位/范围/来源条件 +PASS 390 1.quality精确保留现值 +PASS 390 1.quality指针默认折叠 +PASS 390 1.quality精确源码/类型/指针 +PASS 390 1.quality展开无溢出 +PASS 390 6.file键盘展开 +PASS 390 6.file用途/单位/范围/来源条件 +PASS 390 6.file精确保留现值 +PASS 390 6.file指针默认折叠 +PASS 390 6.file精确源码/类型/指针 +PASS 390 6.file展开无溢出 +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 390Tab焦点保留 +PASS 390ShiftTab焦点保留 +PASS 390 RTX_video_upscale关闭归还焦点 +PASS 390 RTX_image_upscale默认中文用途 +PASS 390 RTX_image_upscale源审校默认折叠 +PASS 390 RTX_image_upscale技术范围默认折叠 +PASS 390 RTX_image_upscale默认无执行计数/实现标识 +PASS 390 RTX_image_upscale默认依据限制可见 +PASS 390 RTX_image_upscale 说明未定稿 +PASS 390 RTX_image_upscale 未验证实跑 +PASS 390 RTX_image_upscale 未检查 +PASS 390 RTX_image_upscale停用/时间戳空 +PASS 390 RTX_image_upscale参数全保留 +PASS 390 RTX_image_upscale默认无溢出 +PASS 390 RTX_image_upscale旧图归还焦点 +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 sam3_图像视频-提示词遮罩分割默认中文用途 +PASS 390 sam3_图像视频-提示词遮罩分割源审校默认折叠 +PASS 390 sam3_图像视频-提示词遮罩分割技术范围默认折叠 +PASS 390 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识 +PASS 390 sam3_图像视频-提示词遮罩分割默认依据限制可见 +PASS 390 sam3_图像视频-提示词遮罩分割 说明未定稿 +PASS 390 sam3_图像视频-提示词遮罩分割 未验证实跑 +PASS 390 sam3_图像视频-提示词遮罩分割 未检查 +PASS 390 sam3_图像视频-提示词遮罩分割停用/时间戳空 +PASS 390 sam3_图像视频-提示词遮罩分割参数全保留 +PASS 390 sam3_图像视频-提示词遮罩分割默认无溢出 +PASS 390 sam3_图像视频-提示词遮罩分割旧图归还焦点 +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 图像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 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 迟到RTX响应不覆盖旧RTX图片摘要/7字段 +PASS GET失败显示重试 +PASS 读取失败隐藏旧摘要 +PASS 重试恢复摘要 +PASS 无脚本错误或禁止请求 [] +PASS 全程本地GET无写/生成/目标/历史预览请求 +All owned browser services stopped; ports released. diff --git a/docs/hel-892/rtx-video-document-evidence/browser-results.json b/docs/hel-892/rtx-video-document-evidence/browser-results.json new file mode 100644 index 00000000..ca222749 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/browser-results.json @@ -0,0 +1,1410 @@ +{ + "request_accounting": { + "fixed_count": 103, + "fixed_paths": { + "/api/settings": 1, + "/api/workflows": 2, + "/api/workflows/1": 3, + "/api/workflows/10": 3, + "/api/workflows/11": 3, + "/api/workflows/12": 3, + "/api/workflows/13": 3, + "/api/workflows/14": 3, + "/api/workflows/15": 3, + "/api/workflows/156": 1, + "/api/workflows/157": 1, + "/api/workflows/16": 3, + "/api/workflows/17": 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/26": 4, + "/api/workflows/27": 10, + "/api/workflows/3": 3, + "/api/workflows/35": 3, + "/api/workflows/36": 3, + "/api/workflows/4": 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": 8, + "polling_paths": { + "/api/jobs": 8 + }, + "polling_tolerance": 1, + "reason": "定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。" + }, + "assertion_count": 900, + "assertionGroups": { + "aggregate": 2, + "new_rtx_video": 188, + "old_twenty_nine": 696, + "shared_regressions": 14 + }, + "checks": [ + "30图904保存位置", + "30图21源注释", + "1440 RTX_video_upscale默认中文用途", + "1440 RTX_video_upscale源审校默认折叠", + "1440 RTX_video_upscale技术范围默认折叠", + "1440 RTX_video_upscale默认无执行计数/实现标识", + "1440 RTX_video_upscale默认依据限制可见", + "1440 RTX_video_upscale 说明未定稿", + "1440 RTX_video_upscale 未验证实跑", + "1440 RTX_video_upscale 未检查", + "1440 RTX_video_upscale停用/时间戳空", + "1440 RTX_video_upscale参数全保留", + "1440 RTX_video_upscale默认无溢出", + "1440 RTX_video_upscale原用途/源路径展开保留", + "1440 RTX_video_upscale展开流程 0", + "1440 RTX_video_upscale展开流程 1", + "1440 RTX_video_upscale展开流程 2", + "1440 RTX_video_upscale展开流程 3", + "1440 RTX_video_upscale展开流程 4", + "1440 RTX_video_upscale展开流程 5", + "1440 RTX_video_upscale展开流程 6", + "1440 RTX_video_upscale展开流程 7", + "1440 RTX_video_upscale展开流程 8", + "1440 RTX_video_upscale展开流程 9", + "1440 RTX_video_upscale展开流程 10", + "1440 RTX_video_upscale展开流程 11", + "1440 RTX_video_upscale展开流程 12", + "1440 RTX_video_upscale展开流程 13", + "1440 RTX_video_upscale展开流程 14", + "1440 RTX_video_upscale展开流程 15", + "1440 RTX_video_upscale展开流程 16", + "1440 RTX_video_upscale展开流程 17", + "1440 RTX_video_upscale展开流程 18", + "1440 RTX_video_upscale展开流程 19", + "1440 RTX_video_upscale展开流程 20", + "1440 RTX_video_upscale原件摘要可展开", + "1440 RTX_video_upscale版本 0", + "1440 RTX_video_upscale版本 1", + "1440 RTX_video_upscale版本 2", + "1440 9.filename_prefix键盘展开", + "1440 9.filename_prefix用途/单位/范围/来源条件", + "1440 9.filename_prefix精确保留现值", + "1440 9.filename_prefix指针默认折叠", + "1440 9.filename_prefix精确源码/类型/指针", + "1440 9.filename_prefix展开无溢出", + "1440 9.format键盘展开", + "1440 9.format用途/单位/范围/来源条件", + "1440 9.format精确保留现值", + "1440 9.format指针默认折叠", + "1440 9.format精确源码/类型/指针", + "1440 9.format展开无溢出", + "1440 9.codec键盘展开", + "1440 9.codec用途/单位/范围/来源条件", + "1440 9.codec精确保留现值", + "1440 9.codec指针默认折叠", + "1440 9.codec精确源码/类型/指针", + "1440 9.codec展开无溢出", + "1440 8.fps键盘展开", + "1440 8.fps用途/单位/范围/来源条件", + "1440 8.fps精确保留现值", + "1440 8.fps指针默认折叠", + "1440 8.fps精确源码/类型/指针", + "1440 8.fps展开无溢出", + "1440 1.resize_type键盘展开", + "1440 1.resize_type用途/单位/范围/来源条件", + "1440 1.resize_type精确保留现值", + "1440 1.resize_type指针默认折叠", + "1440 1.resize_type精确源码/类型/指针", + "1440 1.resize_type展开无溢出", + "1440 1.resize_type.scale键盘展开", + "1440 1.resize_type.scale用途/单位/范围/来源条件", + "1440 1.resize_type.scale精确保留现值", + "1440 1.resize_type.scale指针默认折叠", + "1440 1.resize_type.scale精确源码/类型/指针", + "1440 1.resize_type.scale展开无溢出", + "1440 1.quality键盘展开", + "1440 1.quality用途/单位/范围/来源条件", + "1440 1.quality精确保留现值", + "1440 1.quality指针默认折叠", + "1440 1.quality精确源码/类型/指针", + "1440 1.quality展开无溢出", + "1440 6.file键盘展开", + "1440 6.file用途/单位/范围/来源条件", + "1440 6.file精确保留现值", + "1440 6.file指针默认折叠", + "1440 6.file精确源码/类型/指针", + "1440 6.file展开无溢出", + "1440 6.upload键盘展开", + "1440 6.upload用途/单位/范围/来源条件", + "1440 6.upload精确保留现值", + "1440 6.upload指针默认折叠", + "1440 6.upload精确源码/类型/指针", + "1440 6.upload展开无溢出", + "1440Tab焦点保留", + "1440ShiftTab焦点保留", + "1440 RTX_video_upscale关闭归还焦点", + "1440 RTX_image_upscale默认中文用途", + "1440 RTX_image_upscale源审校默认折叠", + "1440 RTX_image_upscale技术范围默认折叠", + "1440 RTX_image_upscale默认无执行计数/实现标识", + "1440 RTX_image_upscale默认依据限制可见", + "1440 RTX_image_upscale 说明未定稿", + "1440 RTX_image_upscale 未验证实跑", + "1440 RTX_image_upscale 未检查", + "1440 RTX_image_upscale停用/时间戳空", + "1440 RTX_image_upscale参数全保留", + "1440 RTX_image_upscale默认无溢出", + "1440 RTX_image_upscale旧图归还焦点", + "1440 手动按分镜视频截取默认中文用途", + "1440 手动按分镜视频截取源审校默认折叠", + "1440 手动按分镜视频截取技术范围默认折叠", + "1440 手动按分镜视频截取默认无执行计数/实现标识", + "1440 手动按分镜视频截取默认依据限制可见", + "1440 手动按分镜视频截取 说明未定稿", + "1440 手动按分镜视频截取 未验证实跑", + "1440 手动按分镜视频截取 未检查", + "1440 手动按分镜视频截取停用/时间戳空", + "1440 手动按分镜视频截取参数全保留", + "1440 手动按分镜视频截取默认无溢出", + "1440 手动按分镜视频截取旧图归还焦点", + "1440 sam3_图像视频-提示词遮罩分割默认中文用途", + "1440 sam3_图像视频-提示词遮罩分割源审校默认折叠", + "1440 sam3_图像视频-提示词遮罩分割技术范围默认折叠", + "1440 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识", + "1440 sam3_图像视频-提示词遮罩分割默认依据限制可见", + "1440 sam3_图像视频-提示词遮罩分割 说明未定稿", + "1440 sam3_图像视频-提示词遮罩分割 未验证实跑", + "1440 sam3_图像视频-提示词遮罩分割 未检查", + "1440 sam3_图像视频-提示词遮罩分割停用/时间戳空", + "1440 sam3_图像视频-提示词遮罩分割参数全保留", + "1440 sam3_图像视频-提示词遮罩分割默认无溢出", + "1440 sam3_图像视频-提示词遮罩分割旧图归还焦点", + "1440 多视频合成分屏展示默认中文用途", + "1440 多视频合成分屏展示源审校默认折叠", + "1440 多视频合成分屏展示技术范围默认折叠", + "1440 多视频合成分屏展示默认无执行计数/实现标识", + "1440 多视频合成分屏展示默认依据限制可见", + "1440 多视频合成分屏展示 说明未定稿", + "1440 多视频合成分屏展示 未验证实跑", + "1440 多视频合成分屏展示 未检查", + "1440 多视频合成分屏展示停用/时间戳空", + "1440 多视频合成分屏展示参数全保留", + "1440 多视频合成分屏展示默认无溢出", + "1440 多视频合成分屏展示旧图归还焦点", + "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 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 RTX_video_upscale默认中文用途", + "390 RTX_video_upscale源审校默认折叠", + "390 RTX_video_upscale技术范围默认折叠", + "390 RTX_video_upscale默认无执行计数/实现标识", + "390 RTX_video_upscale默认依据限制可见", + "390 RTX_video_upscale 说明未定稿", + "390 RTX_video_upscale 未验证实跑", + "390 RTX_video_upscale 未检查", + "390 RTX_video_upscale停用/时间戳空", + "390 RTX_video_upscale参数全保留", + "390 RTX_video_upscale默认无溢出", + "390 RTX_video_upscale原用途/源路径展开保留", + "390 RTX_video_upscale展开流程 0", + "390 RTX_video_upscale展开流程 1", + "390 RTX_video_upscale展开流程 2", + "390 RTX_video_upscale展开流程 3", + "390 RTX_video_upscale展开流程 4", + "390 RTX_video_upscale展开流程 5", + "390 RTX_video_upscale展开流程 6", + "390 RTX_video_upscale展开流程 7", + "390 RTX_video_upscale展开流程 8", + "390 RTX_video_upscale展开流程 9", + "390 RTX_video_upscale展开流程 10", + "390 RTX_video_upscale展开流程 11", + "390 RTX_video_upscale展开流程 12", + "390 RTX_video_upscale展开流程 13", + "390 RTX_video_upscale展开流程 14", + "390 RTX_video_upscale展开流程 15", + "390 RTX_video_upscale展开流程 16", + "390 RTX_video_upscale展开流程 17", + "390 RTX_video_upscale展开流程 18", + "390 RTX_video_upscale展开流程 19", + "390 RTX_video_upscale展开流程 20", + "390 RTX_video_upscale原件摘要可展开", + "390 RTX_video_upscale版本 0", + "390 RTX_video_upscale版本 1", + "390 RTX_video_upscale版本 2", + "390 9.filename_prefix键盘展开", + "390 9.filename_prefix用途/单位/范围/来源条件", + "390 9.filename_prefix精确保留现值", + "390 9.filename_prefix指针默认折叠", + "390 9.filename_prefix精确源码/类型/指针", + "390 9.filename_prefix展开无溢出", + "390 9.format键盘展开", + "390 9.format用途/单位/范围/来源条件", + "390 9.format精确保留现值", + "390 9.format指针默认折叠", + "390 9.format精确源码/类型/指针", + "390 9.format展开无溢出", + "390 9.codec键盘展开", + "390 9.codec用途/单位/范围/来源条件", + "390 9.codec精确保留现值", + "390 9.codec指针默认折叠", + "390 9.codec精确源码/类型/指针", + "390 9.codec展开无溢出", + "390 8.fps键盘展开", + "390 8.fps用途/单位/范围/来源条件", + "390 8.fps精确保留现值", + "390 8.fps指针默认折叠", + "390 8.fps精确源码/类型/指针", + "390 8.fps展开无溢出", + "390 1.resize_type键盘展开", + "390 1.resize_type用途/单位/范围/来源条件", + "390 1.resize_type精确保留现值", + "390 1.resize_type指针默认折叠", + "390 1.resize_type精确源码/类型/指针", + "390 1.resize_type展开无溢出", + "390 1.resize_type.scale键盘展开", + "390 1.resize_type.scale用途/单位/范围/来源条件", + "390 1.resize_type.scale精确保留现值", + "390 1.resize_type.scale指针默认折叠", + "390 1.resize_type.scale精确源码/类型/指针", + "390 1.resize_type.scale展开无溢出", + "390 1.quality键盘展开", + "390 1.quality用途/单位/范围/来源条件", + "390 1.quality精确保留现值", + "390 1.quality指针默认折叠", + "390 1.quality精确源码/类型/指针", + "390 1.quality展开无溢出", + "390 6.file键盘展开", + "390 6.file用途/单位/范围/来源条件", + "390 6.file精确保留现值", + "390 6.file指针默认折叠", + "390 6.file精确源码/类型/指针", + "390 6.file展开无溢出", + "390 6.upload键盘展开", + "390 6.upload用途/单位/范围/来源条件", + "390 6.upload精确保留现值", + "390 6.upload指针默认折叠", + "390 6.upload精确源码/类型/指针", + "390 6.upload展开无溢出", + "390Tab焦点保留", + "390ShiftTab焦点保留", + "390 RTX_video_upscale关闭归还焦点", + "390 RTX_image_upscale默认中文用途", + "390 RTX_image_upscale源审校默认折叠", + "390 RTX_image_upscale技术范围默认折叠", + "390 RTX_image_upscale默认无执行计数/实现标识", + "390 RTX_image_upscale默认依据限制可见", + "390 RTX_image_upscale 说明未定稿", + "390 RTX_image_upscale 未验证实跑", + "390 RTX_image_upscale 未检查", + "390 RTX_image_upscale停用/时间戳空", + "390 RTX_image_upscale参数全保留", + "390 RTX_image_upscale默认无溢出", + "390 RTX_image_upscale旧图归还焦点", + "390 手动按分镜视频截取默认中文用途", + "390 手动按分镜视频截取源审校默认折叠", + "390 手动按分镜视频截取技术范围默认折叠", + "390 手动按分镜视频截取默认无执行计数/实现标识", + "390 手动按分镜视频截取默认依据限制可见", + "390 手动按分镜视频截取 说明未定稿", + "390 手动按分镜视频截取 未验证实跑", + "390 手动按分镜视频截取 未检查", + "390 手动按分镜视频截取停用/时间戳空", + "390 手动按分镜视频截取参数全保留", + "390 手动按分镜视频截取默认无溢出", + "390 手动按分镜视频截取旧图归还焦点", + "390 sam3_图像视频-提示词遮罩分割默认中文用途", + "390 sam3_图像视频-提示词遮罩分割源审校默认折叠", + "390 sam3_图像视频-提示词遮罩分割技术范围默认折叠", + "390 sam3_图像视频-提示词遮罩分割默认无执行计数/实现标识", + "390 sam3_图像视频-提示词遮罩分割默认依据限制可见", + "390 sam3_图像视频-提示词遮罩分割 说明未定稿", + "390 sam3_图像视频-提示词遮罩分割 未验证实跑", + "390 sam3_图像视频-提示词遮罩分割 未检查", + "390 sam3_图像视频-提示词遮罩分割停用/时间戳空", + "390 sam3_图像视频-提示词遮罩分割参数全保留", + "390 sam3_图像视频-提示词遮罩分割默认无溢出", + "390 sam3_图像视频-提示词遮罩分割旧图归还焦点", + "390 多视频合成分屏展示默认中文用途", + "390 多视频合成分屏展示源审校默认折叠", + "390 多视频合成分屏展示技术范围默认折叠", + "390 多视频合成分屏展示默认无执行计数/实现标识", + "390 多视频合成分屏展示默认依据限制可见", + "390 多视频合成分屏展示 说明未定稿", + "390 多视频合成分屏展示 未验证实跑", + "390 多视频合成分屏展示 未检查", + "390 多视频合成分屏展示停用/时间戳空", + "390 多视频合成分屏展示参数全保留", + "390 多视频合成分屏展示默认无溢出", + "390 多视频合成分屏展示旧图归还焦点", + "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 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", + "迟到RTX响应不覆盖旧RTX图片摘要/7字段", + "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/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/26" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/17" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/4" + }, + { + "method": "GET", + "url": "http://127.0.0.1:8247/api/workflows/15" + }, + { + "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/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/26" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/17" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/4" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/15" + }, + { + "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/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/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/jobs" + }, + { + "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/jobs" + }, + { + "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/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/26" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/17" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/4" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/15" + }, + { + "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/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/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/jobs" + }, + { + "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/156" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/157" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/26" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/jobs" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + }, + { + "method": "GET", + "url": "http://127.0.0.1:5173/api/workflows/27" + } + ], + "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/rtx-video-document-evidence/build-final.txt b/docs/hel-892/rtx-video-document-evidence/build-final.txt new file mode 100644 index 00000000..ae5fa5cc --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/build-final.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/rtx-video-document-evidence/build_definition.py b/docs/hel-892/rtx-video-document-evidence/build_definition.py new file mode 100644 index 00000000..753cff77 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/build_definition.py @@ -0,0 +1,537 @@ +"Source-bound RTX video reference; only read static text, never upstream code/media." + +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 / "rtx-video-reference" +PATHS = [ + ( + "example_ComfyUI_workflows/0-基础处理:图像合并-" + "音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upsc" + "ale.json" + ) +] + + +def canonical(value): + return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode() + + +def build(index=0): + path = PATHS[index] + raw = (REPO / path).read_bytes() + graph = json.loads(raw) + entries = json.loads((REF / "sources.json").read_bytes())["sources"] + refs = [] + + def ref(key, file, first, last, claim): + e = next(e for e in entries if e["id"] == key and e["file"] == file) + data = (REF / e["local_file"]).read_bytes() + assert hashlib.sha256(data).hexdigest() == e["sha256"] + assert 1 <= first <= last <= len(data.decode().splitlines()) + refs.append( + { + **e, + "local_file": "../rtx-video-reference/" + e["local_file"], + "lines": [first, last], + "claim": claim, + } + ) + return len(refs) - 1 + + schema = ref( + "rtx", + "__init__.py", + 10, + 49, + "准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知", + ) + run = ref( + "rtx", + "__init__.py", + 51, + 109, + "准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行", + ) + ref("rtx", "__init__.py", 112, 121, "准确包节点注册入口") + pkg = ref( + "rtx", "pyproject.toml", 1, 16, "准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定" + ) + dynamic = ref( + "core", "comfy_api/latest/_io.py", 1090, 1142, "准确核心DynamicCombo选择分支schema" + ) + ref("core", "comfy_api/latest/_io.py", 654, 658, "准确核心VIDEO IO类型;Type引用VideoInput别名") + front = ref( + "frontend", + "src/core/graph/widgets/dynamicWidgets.ts", + 72, + 206, + "准确前端动态子控件插入/移除和恢复回调;不证明UE次序", + ) + save = ref( + "core", + "comfy_extras/nodes_video.py", + 68, + 114, + "SaveVideo schema、元数据条件、output命名与保存描述符", + ) + create = ref( + "core", + "comfy_extras/nodes_video.py", + 117, + 140, + "CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频", + ) + split = ref( + "core", + "comfy_extras/nodes_video.py", + 142, + 164, + "GetVideoComponents依次返回images/audio/float(frame_rate)", + ) + load = ref( + "core", + "comfy_extras/nodes_video.py", + 167, + 205, + "LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查", + ) + ref("core", "comfy_extras/nodes_video.py", 259, 272, "准确核心视频节点注册和入口") + paths = ref( + "core", "folder_paths.py", 428, 472, "output子目录、计数命名及路径边界规则;不访问目录" + ) + upload = ref( + "frontend", + "src/extensions/core/uploadImage.ts", + 1, + 53, + "准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入", + ) + restore = ref( + "frontend", + "src/lib/litegraph/src/LGraphNode.ts", + 865, + 909, + "宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值", + ) + callbacks = ref( + "frontend", + "src/scripts/app.ts", + 747, + 772, + ( + "宿主图级fixLinkInputSlots、onGraphConfigure" + "d、原onConfigure及onAfterGraphConfigured次" + "序;UE未知" + ), + ) + types = ref( + "core", + "comfy_api/latest/_util/video_types.py", + 1, + 49, + ("VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构"), + ) + ref( + "core", + "comfy_api/latest/_input/video_types.py", + 1, + 128, + "VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值", + ) + fileimpl = ref( + "core", + "comfy_api/latest/_input_impl/video_types.py", + 55, + 78, + "VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明", + ) + decode = ref( + "core", + "comfy_api/latest/_input_impl/video_types.py", + 235, + 305, + "文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件", + ) + encode = ref( + "core", + "comfy_api/latest/_input_impl/video_types.py", + 382, + 458, + "VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取", + ) + for f in [ + "comfy_api/input/__init__.py", + "comfy_api/input/video_types.py", + "comfy_api/latest/_input/__init__.py", + "comfy_api/latest/_input_impl/__init__.py", + ]: + e = next(e for e in entries if e["file"] == f) + ref( + "core", + f, + 1, + len((REF / e["local_file"]).read_text().splitlines()), + "准确核心视频输入/实现别名与导出链;不借不同版本", + ) + ref( + "core", + "comfy_api/latest/_input/basic_types.py", + 1, + 24, + "图像张量/AudioInput后端类型定义;不从文件名判断存在音轨", + ) + ui = ref( + "core", + "comfy_api/latest/_ui.py", + 27, + 55, + "SavedResult filename/subfolder/type文件描述符,不是媒体字节", + ) + ref( + "core", + "comfy_api/latest/_ui.py", + 428, + 440, + "PreviewVideo序列化images描述符,不能证明实际保存或媒体格式", + ) + for key in ["rtx", "core", "frontend"]: + e = next(e for e in entries if e["id"] == key and e["file"] == "LICENSE") + ref( + key, + "LICENSE", + 1, + len((REF / e["local_file"]).read_text().splitlines()), + "准确提交/发布包许可原字节;不推目标许可适用性", + ) + specs = { + "GetVideoComponents": [], + "SaveVideo": [ + ( + "filename_prefix", + "输出视频文件名前缀", + "STRING", + "video/ComfyUI", + "文本,无数值单位", + "未声明长度范围;按output子目录和计数规则处理", + ( + "保存video/ComfyUI;8重组视频经边10送入9。准确核心按outp" + "ut配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受dis" + "able_metadata及prompt/extra_pnginfo条件控制" + ",不保证带原视频元数据。" + ), + [save, paths, ui], + "scalar", + ), + ( + "format", + "输出容器格式", + "COMBO", + "auto", + "容器枚举", + "准确核心选项auto / mp4;不推目标编码库支持", + ( + "保存auto。准确VideoContainer.get_extension对" + "auto/mp4返回mp4,准确VideoFromComponents仅接受" + "AUTO/MP4;这是固定版本保存路径规则,不是本次实际扩展名、文件存在或编" + "码成功证明。" + ), + [save, types, encode], + "scalar", + ), + ( + "codec", + "视频编码器选择", + "COMBO", + "auto", + "编码枚举", + "准确核心选项auto / h264;不是任意编码器自动挑选保证", + ( + "保存auto。准确VideoFromComponents仅允许AUTO/H2" + "64并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器" + "、驱动和实际输出未知,不把auto当保留输入视频编码或无损复制。" + ), + [save, types, encode], + "scalar", + ), + ], + "CreateVideo": [ + ( + "fps", + "重组视频帧率的源保存值", + "FLOAT(schema);原JSON int", + "30.0", + "帧/秒(FPS)", + "schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入", + ( + "原JSON int 30只为缓存;边9从7.fps输出槽2覆盖8.fps输入" + "槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(fra" + "me_rate)再Fraction(fps)组装,保存实现再千分率取整。音频" + "走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证" + "。" + ), + [create, split, decode, encode, restore, callbacks], + "linked_saved", + ), + ], + "RTXVideoSuperResolution": [ + ( + "resize_type", + "画面尺寸处理模式", + "COMFY_DYNAMICCOMBO_V3", + "schema未显式给默认;选项顺序scale by multiplier、target dimensions", + "模式标签", + "只在所选分支展开子参数;源保存scale by multiplier", + ( + "源选择倍率分支,才读取resize_type.scale;目标尺寸分支wid" + "th/height未保存,不补默认1920/1080为当前值。只处理7拆分的" + "images,不处理音轨或改变帧率的连线。" + ), + [schema, dynamic, front], + "scalar", + ), + ( + "resize_type.scale", + "倍率分支的缩放因子", + "FLOAT(schema);原JSON int", + "2.0", + "无量纲倍率", + "schema 1.0~4.0、step0.01;仅scale by multiplier分支有效", + ( + "本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。" + "准确实现先int(w*scale)/int(h*scale),再各max(8" + ",round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不" + "变或清晰度改善。无物理外线覆盖本字段。" + ), + [schema, run, dynamic, front], + "scalar", + ), + ( + "quality", + "超分质量档位", + "COMBO", + "ULTRA", + "枚举,无数值单位", + "LOW / MEDIUM / HIGH / ULTRA", + ( + "保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes" + ".load/run及CUDA;MAX_PIXELS=1024*1024*16" + "按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/" + "目标GPU/驱动及实际画质未知,不执行超分。" + ), + [schema, run, pkg], + "scalar", + ), + ], + "LoadVideo": [ + ( + "file", + "输入视频文件引用", + "COMBO", + "动态input视频枚举,无固定文件默认", + "文件引用", + "input目录普通文件经video内容类型筛选并排序;实际列表未知", + ( + "原样保存WanVideo_00003-audio.mp4。文件名含audio" + "和.mp4不证明文件存在、实际容器、音轨、时长、帧数或FPS。准确核心构造V" + "ideoFromFile;6经边5送7拆分,未读取素材或媒体探测。" + ), + [load, fileimpl, decode], + "scalar", + ), + ( + "upload", + "视频上传控件保存占位", + "IMAGEUPLOAD(前端)", + "前端按video_upload注入;非后端第二参数默认", + "前端状态,无数值单位", + "原保存字符串image;不是第二段视频、路径或已上传证明", + ( + "保存image仅上传控件占位,和上一个文件名分开保留。准确LoadVideo" + "仅具名file参数,前端媒体COMBO扩展补upload;不据占位推视频内容" + "、可读性或最终恢复结果,不上传素材。" + ), + [load, upload, restore, callbacks], + "frontend_control", + ), + ], + } + fields = [] + for i, n in enumerate(graph["nodes"]): + assert len(n["widgets_values"]) == len(specs[n["type"]]) + for k, (name, label, typ, default, unit, limits, effect, ev, role) in enumerate( + specs[n["type"]] + ): + v = n["widgets_values"][k] + input_index = next(j for j, port in enumerate(n["inputs"]) if port["name"] == name) + input_pointer = f"/nodes/{i}/inputs/{input_index}" + fields.append( + dict( + field=name, + label=label, + type=typ, + schema_default=default, + unit=unit, + limits=limits, + effect=effect, + evidence=ev, + role=role, + node_id=str(n["id"]), + scope="root", + class_type=n["type"], + pointer=f"/nodes/{i}/widgets_values/{k}", + input_pointer=input_pointer, + value=v, + json_type=type(v).__name__, + execution_note=( + "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。" + + "源输入口:" + + input_pointer + ), + ) + ) + assert len(fields) == 9 and all(not isinstance(f["value"], (dict, list)) for f in fields) + overview = ( + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS" + "重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS" + "、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编" + "解码器未知;仅固定参考,转换关闭、未实跑。" + ) + flow = [ + overview, + ( + "根5节点6物理边,全mode0,无子图/源注释/历史对象。6.LoadVid" + "eo→7.GetVideoComponents;7.images槽0经边19" + "→1.RTX.images;1.upscaled_images经边7→8.C" + "reateVideo.images;7.audio槽1经边8→8.audio" + ";7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.Save" + "Video.video。逐端点核对,不模拟执行。" + ), + ( + "7.widgets_values=[]为零保存位置,不制造控件或历史对象。8" + "保存30为JSON int,准确schema默认30.0/1~120/ste" + "p1和fps外线三层分开;7准确实现float(components.fra" + "me_rate),8经Fraction(fps)构造VideoFromCom" + "ponents。实际文件FPS和输出同步未知。" + ), + ( + "RTX准确Registry0.1.0保存scale by multiplie" + "r、JSON int 1、ULTRA。先乘尺寸转int,再max(8,rou" + "nd(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024" + "*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/" + "CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载" + "或执行运行库。" + ), + ( + "LoadVideo准确核心按动态input视频枚举构造VideoFromFi" + "le;get_components静态实现会解码帧、取average_rat" + "e(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVid" + "eo_00003-audio.mp4与上传image只是源文本,不证明素材存" + "在或含声音。本轮不探测/解码视频。" + ), + ( + "8为VideoFromComponents,继承VideoInput默认维度" + "/时长/帧数接口;保存仅允许AUTO/MP4及AUTO/H264,实际实现h" + "264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片" + "后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编" + "码器可用性未知。" + ), + ( + "9保存video/ComfyUI、auto、auto。准确VideoCont" + "ainer扩展名规则auto→mp4和准确实现H264是固定源码条件,不称已" + "产出.mp4。output目录计数名、可选prompt/extra_pngi" + "nfo元数据与PreviewVideo/SavedResult的filena" + "me/subfolder/type描述符分开;描述符不是媒体字节,不请求/a" + "pi/view、不创建缓存。" + ), + ( + "所有五节点声明UE7.7;CreateVideo.widget_ue_con" + "nectable明确fps:true,其余空表。extra.ue_links" + "/links_added_by_ue为空只描述保存状态,不能证明无改写。准确" + "宿主先属性/序列化widgets_values后onConfigure;图级" + "fixLinkInputSlots→onGraphConfigured→原o" + "nConfigure→onAfterGraphConfigured,动态分支" + "另有恢复回调。UE实现/加载次序与最终值未知,不据宿主顺序证明扩展无影响。" + ), + ( + "源声明core0.16.4/frontend1.39.19,固定同一准确ta" + "g与完整commit;RTX Registry0.1.0包字节固定,Git绑" + "定未知,不借其它版本/当前main。视频schema输入顺序images/f" + "ps/audio与源物理槽images/audio/fps分开,不重排原图," + "不造转换profile。" + ), + ( + "9非注释顶层保存位置=9标量(含1上传占位和1外线覆盖缓存),7空[]零位置" + ";0注释/0历史对象。旧29块895保存位置+21注释逐对象不变,现30块9" + "04+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍" + "9参考候选136关闭;动态枚举、素材、设备、UE和实际效果待核。" + ), + ] + for e in graph["links"]: + flow.append("原边 root " + json.dumps(e, ensure_ascii=False)) + for n in graph["nodes"]: + flow.append( + "原节点 root " + + json.dumps( + { + k: n[k] + for k in ["id", "type", "mode", "inputs", "outputs", "properties"] + if k in n + }, + ensure_ascii=False, + ) + ) + return dict( + source_path=path, + source_sha1=hashlib.sha1(raw).hexdigest(), + source_sha256=hashlib.sha256(raw).hexdigest(), + canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(), + notice="准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。", + user_overview=overview, + versions=[ + ( + "core0.16.4→a7a6335be538f55faa2abf7404c" + "9b8e970847d1f;frontend1.39.19→d91c283b" + "7b758787b4d29126c1a9ac39dc14d6a7。" + ), + "RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。", + "五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。", + ], + counts=dict( + saved_fields=9, + source_nodes=5, + physical_edges=6, + source_notes=0, + history_objects=0, + linked_saved_fields=1, + frontend_only=1, + final_scalars=0, + final_prompt_constructed=False, + ), + fields=fields, + sources=refs, + comments=[], + flow=flow, + flow_evidence=list(range(len(refs))), + zero_saved_nodes=[ + dict( + node_id="7", + class_type="GetVideoComponents", + pointer="/nodes/0/widgets_values", + value=[], + effect="保存[]零位置;单视频输入拆分为images/audio/fps,不补参数。", + ) + ], + steps=[ + overview, + "操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。", + "操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。", + "操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。", + "常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。", + ], + ) diff --git a/docs/hel-892/rtx-video-document-evidence/changed-files.json b/docs/hel-892/rtx-video-document-evidence/changed-files.json new file mode 100644 index 00000000..42e5189b --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/changed-files.json @@ -0,0 +1,350 @@ +{ + "files": [ + { + "path": "calliope-backend/src/calliope/comfyui/fixed_document.py", + "purpose": "仅新增本图显式受信路径及定义摘要", + "sha256": "7d71a12c789d57ee956fe8f0c9529894e3f04c254b22a0bcce9f252bf2a2b32a" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.json", + "purpose": "仅新增本图fixed_version_document;旧对象冻结", + "sha256": "a772f3f1471394faac9a81250dacd2aae457a36b1dde6b5b4d4baa3352fb698c" + }, + { + "path": "calliope-backend/tests/test_rtx_video_fixed_document.py", + "purpose": "仅新增本图显式受信路径及定义摘要", + "sha256": "dfbe4c6ef61b0b9ba85a82ab78f3231db5ca11d78889bd1231299bdf9c03178f" + }, + { + "path": "docs/hel-892/RTX视频放大固定参考中文说明.md", + "purpose": "从实际定义确定性渲染的逐项中文说明", + "sha256": "068d51bb1ac512d2eb6c24fb155ac2f4b4db3aade9b8153f495eacf0e90bd5b8" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/actual-RTX_video_upscale.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "4fafa6f7ab6b93dafeea16bed31d4004fd31e2c821becf92ffcbc222c797447b" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/audit-summary.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/backend-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "cb14df433f02133d87578c56635b7f824cf20fbc5e96daea89eda65bb5f68529" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/backend-initial.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "f25b45e5e0272b926bd6fe0a108016d75558d6406ba179de62d4603c96cf7e17" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/boundaries.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "010f8fd6cb17aa3fe83d3b9818d4c746ebe9bcac0d38403c6d5685f647355d19" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/browser-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "d9e37198fc2b41da958fbe266c6ec12f859cc50b0b38182b12579b871898ba5e" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/browser-initial.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "d9e37198fc2b41da958fbe266c6ec12f859cc50b0b38182b12579b871898ba5e" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/browser-results.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "bec717c8855417fb65c8e114b7cc28a8d5d23460890fc9c36c6bc8dffae27ebb" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/build-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/build_definition.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "b9fb1de4282c547b8cc463990c41c7eb74b1329726e436ea4145061b862d95ca" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/check_code.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "c2fef6beeb21497e0fefef117d4d36982c829ce3b4f70e86230eaba4720bfa5f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/definition-0.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "a95cf49e650393019f7085a1b7449a1f541ff412b431a638ffea4caa422527ba" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/delivery-summary.md", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "f1f44ac3b036522ed85f32704e3a4a98842460854fa90936c8b3136dd86bac16" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/development-notes.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "f1aa74c36a98843585a3408c1f0dde8a7ea67291151d6b250b8ba85e7e309622" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/fetch_sources.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "a3264caa5c8b156ae9708ac0b40a69bf42562fbefaebfb4e658f64d29cc66615" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/fixed-source-index.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "d4a483c5bb7e323c02f7613200bcafd6dbf6135d8043bd64e1ed610b95acb77a" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/format-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "cbdb543094c76017142f70d7b276b79a38e8dcc7b4af47bad9dd46b33ba5e296" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/format-fix-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "bae2d5d500550c1f4522342112e77b452047d6df9cb0a4169c3f3d15f1b18afa" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/format-fix.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "bc6984cdb5a32379c079c9b02d292367a207b61d4361fdbcafce2f0ee9ddf48d" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/frozen-resource-check.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "ee8955455d9fff22206d59de53aef20fd1b76157f0341924440b57346bafec6e" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/import-protection.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "2e8f1064f794fdcfd4d66d3d8901892d6a52dab8be4601eaeea425d3e1299f2b" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/lint-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "ba3ad488d916696d5b35456e7287d7d18bf5b5b11a65c8345c7fc47948bddea9" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/lint-initial.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "a51a0cc89bd9991834604a5791f83351f673eafa964af6a3404986b331765a13" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/npm-ci.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/package-check.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "6a3f8a0d17d272107c9e0150854e6bd5556fdcf77a8ed6454c9b11c6a007a677" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/pins.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "34e1c6d8f9186f136ebbd2834158c796d8a22d7af9252254c77bff31871ed2a1" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/pr-before.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "3a4f43873a1c44156cc95ee9ecb591d8cc79d0e399f8ea58012384e8fb098abf" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/provider-pr-before.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "51b849c89994e6a98ce5dd425c2ea70f8ce6943ed8a7548b47fa324fc67cda0f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/python-check-files.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "be363d93b4354cb6b71e9996e07f66186e6a7d38b6aa44c4f6ca8ed229c0847f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/rebuild-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "f6773549c15a07762b6715bc250008b20add1e47df5156ff1edd66930f4187b7" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/rebuild.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "29361317546ae52594635989092e67607e5ceddc7dbe679eb395afff11681eb6" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/recompute-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "8a63051c44d65db4aa94166d5b7d1ac29b318896ec29faf63c360337b2acff1f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/recompute.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "6427197d082eebc08ff909e5403d86bea87c63de429f8f9f039dbb3fc191e072" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/render_report.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "882db64ea441f1ccf95e67a15d2ae532fecf83e142d60dcf5c958e02355e53bf" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/repeat-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "1c4de890cacc8abbcb119c86e6ebbea50780922b17bc7883685bfe4e0b261a96" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/repeat.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "5145954a0149996bc0be351abac1f5903715367fe38dd965a9848b3a2e3c8780" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/repeatability.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "39d87b04795fffa03ce073904ee8aca96f2874130579f19532b91a21bf1dadcb" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/request-counts.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "e702ccd28b7f6b958c6e92ae6f87969c2544ddfab0bf108bac29e645789f07eb" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/request_counts.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "982d4859e01e9a3e3ef9746fc8b7f447b4ea63fbdf414f13de3bbaaaedd2d58f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/review-delta.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "6280e037d0e175a5ae0add5826abc75095cc108eba69a66d763e9678e1041399" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/server-request-accounting.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "6c4eadf4f2d953b2ba6b829846b42115d96e920fa9d884743127439db707a020" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/service-0.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "7698f9b595d423468baa734a1db8551504b5f2b4a904f22ceba10a525dda8768" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/service-1.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "e3e56640019303f8b4925b4d5238b3677089371aa602cb3b0778642c0d589751" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/service-stop.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/source-check-final.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "cdcc097824c6e4f0e883b9fd447ee6c07f56fe36712efc60c2a309418e5d08db" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/source-check.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "c8094064b32a2ec212f76fd0eb7ebd92d0a590351970bea0f74dfab129357da6" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/tested-files.json", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "6dfa61768f2a96bfc032936c7a2badc367e84527057f33e1d2934ac110c251c4" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/validation-commands.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "c09ed047e94c0c0f8a8e3bcbf4940d04f68e13d305bd28f1f0b269bb79ef791f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/verify_sources.py", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "879dbe01701fcbc1d656664760efab5b67f85108a1e5780f723c14aa98157b34" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/visual-review.txt", + "purpose": "本图重建/审计/升级保护/来源/包/测试/浏览证据", + "sha256": "82a83a3653d4c0ec2e266909bae23ea5ac3b3d4a5b8b3fd4635dbf33ef950851" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575" + }, + { + "path": "docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033" + }, + { + "path": "docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1" + }, + { + "path": "docs/hel-892/rtx-video-reference/sources.json", + "purpose": "准确commit源码文本/来源身份索引,静态读取,不执行", + "sha256": "0eb61dd20c46ec55b19ac81f925acb2a6edaed3d2961da71c776a594304c355e" + }, + { + "path": "e2e/rtx-video-document.mjs", + "purpose": "复用本地宿主,新增本图与29旧摘要浏览回归", + "sha256": "6e80fdf770b3008bd324725adbdf2902f89c1a76bf38336373f5659d28fb1138" + }, + { + "path": "e2e/run-rtx-video-document.py", + "purpose": "复用本地宿主,新增本图与29旧摘要浏览回归", + "sha256": "bfb8496c56544ca43ceef51cd33fe437b33d77706efc9c3876e3a53a0dcc3758" + } + ], + "self_manifest": "changed-files.json自身哈希见最终head附件" +} diff --git a/docs/hel-892/rtx-video-document-evidence/check_code.py b/docs/hel-892/rtx-video-document-evidence/check_code.py new file mode 100644 index 00000000..0305bbe2 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/check_code.py @@ -0,0 +1,40 @@ +"Check changed authored Python only; upstream originals remain byte-for-byte." + +import json +import subprocess +from pathlib import Path + +ROOT = Path(__file__).resolve().parents[3] +OUT = Path(__file__).resolve().parent +FILES = [ + "calliope-backend/src/calliope/comfyui/fixed_document.py", + "calliope-backend/tests/test_rtx_video_fixed_document.py", + "e2e/run-rtx-video-document.py", +] + [str(p.relative_to(ROOT)) for p in sorted(OUT.glob("*.py"))] + + +def main(): + for command in [["check"], ["format", "--check"]]: + subprocess.run( + [ + "uv", + "run", + "--project", + "calliope-backend", + "--offline", + "ruff", + *command, + "--config", + "calliope-backend/pyproject.toml", + *FILES, + ], + cwd=ROOT, + check=True, + ) + subprocess.run(["node", "--check", "e2e/rtx-video-document.mjs"], cwd=ROOT, check=True) + (OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n") + print("PASS", len(FILES), "authored Python files and one JS syntax check") + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/rtx-video-document-evidence/definition-0.json b/docs/hel-892/rtx-video-document-evidence/definition-0.json new file mode 100644 index 00000000..bc25e7a3 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/definition-0.json @@ -0,0 +1,783 @@ +{ + "source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "source_sha1": "3a3b17a5bb55e250ed0430b9c2aeef396b7992c7", + "source_sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec", + "canonical_sha256": "b5f165175de7f1fe5e1e522307e14725561b76e305f11b71f247d39076b0f56a", + "notice": "准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。", + "user_overview": "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "versions": [ + "core0.16.4→a7a6335be538f55faa2abf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。", + "RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。", + "五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。" + ], + "counts": { + "saved_fields": 9, + "source_nodes": 5, + "physical_edges": 6, + "source_notes": 0, + "history_objects": 0, + "linked_saved_fields": 1, + "frontend_only": 1, + "final_scalars": 0, + "final_prompt_constructed": false + }, + "fields": [ + { + "field": "filename_prefix", + "label": "输出视频文件名前缀", + "type": "STRING", + "schema_default": "video/ComfyUI", + "unit": "文本,无数值单位", + "limits": "未声明长度范围;按output子目录和计数规则处理", + "effect": "保存video/ComfyUI;8重组视频经边10送入9。准确核心按output配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受disable_metadata及prompt/extra_pnginfo条件控制,不保证带原视频元数据。", + "evidence": [ + 7, + 12, + 26 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/0", + "input_pointer": "/nodes/1/inputs/1", + "value": "video/ComfyUI", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/1" + }, + { + "field": "format", + "label": "输出容器格式", + "type": "COMBO", + "schema_default": "auto", + "unit": "容器枚举", + "limits": "准确核心选项auto / mp4;不推目标编码库支持", + "effect": "保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径规则,不是本次实际扩展名、文件存在或编码成功证明。", + "evidence": [ + 7, + 16, + 20 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/1", + "input_pointer": "/nodes/1/inputs/2", + "value": "auto", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/2" + }, + { + "field": "codec", + "label": "视频编码器选择", + "type": "COMBO", + "schema_default": "auto", + "unit": "编码枚举", + "limits": "准确核心选项auto / h264;不是任意编码器自动挑选保证", + "effect": "保存auto。准确VideoFromComponents仅允许AUTO/H264并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器、驱动和实际输出未知,不把auto当保留输入视频编码或无损复制。", + "evidence": [ + 7, + 16, + 20 + ], + "role": "scalar", + "node_id": "9", + "scope": "root", + "class_type": "SaveVideo", + "pointer": "/nodes/1/widgets_values/2", + "input_pointer": "/nodes/1/inputs/3", + "value": "auto", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/1/inputs/3" + }, + { + "field": "fps", + "label": "重组视频帧率的源保存值", + "type": "FLOAT(schema);原JSON int", + "schema_default": "30.0", + "unit": "帧/秒(FPS)", + "limits": "schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入", + "effect": "原JSON int 30只为缓存;边9从7.fps输出槽2覆盖8.fps输入槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证。", + "evidence": [ + 8, + 9, + 19, + 20, + 14, + 15 + ], + "role": "linked_saved", + "node_id": "8", + "scope": "root", + "class_type": "CreateVideo", + "pointer": "/nodes/2/widgets_values/0", + "input_pointer": "/nodes/2/inputs/2", + "value": 30, + "json_type": "int", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/2/inputs/2" + }, + { + "field": "resize_type", + "label": "画面尺寸处理模式", + "type": "COMFY_DYNAMICCOMBO_V3", + "schema_default": "schema未显式给默认;选项顺序scale by multiplier、target dimensions", + "unit": "模式标签", + "limits": "只在所选分支展开子参数;源保存scale by multiplier", + "effect": "源选择倍率分支,才读取resize_type.scale;目标尺寸分支width/height未保存,不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。", + "evidence": [ + 0, + 4, + 6 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/0", + "input_pointer": "/nodes/3/inputs/1", + "value": "scale by multiplier", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/1" + }, + { + "field": "resize_type.scale", + "label": "倍率分支的缩放因子", + "type": "FLOAT(schema);原JSON int", + "schema_default": "2.0", + "unit": "无量纲倍率", + "limits": "schema 1.0~4.0、step0.01;仅scale by multiplier分支有效", + "effect": "本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无物理外线覆盖本字段。", + "evidence": [ + 0, + 1, + 4, + 6 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/1", + "input_pointer": "/nodes/3/inputs/2", + "value": 1, + "json_type": "int", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/2" + }, + { + "field": "quality", + "label": "超分质量档位", + "type": "COMBO", + "schema_default": "ULTRA", + "unit": "枚举,无数值单位", + "limits": "LOW / MEDIUM / HIGH / ULTRA", + "effect": "保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes.load/run及CUDA;MAX_PIXELS=1024*1024*16按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/目标GPU/驱动及实际画质未知,不执行超分。", + "evidence": [ + 0, + 1, + 3 + ], + "role": "scalar", + "node_id": "1", + "scope": "root", + "class_type": "RTXVideoSuperResolution", + "pointer": "/nodes/3/widgets_values/2", + "input_pointer": "/nodes/3/inputs/3", + "value": "ULTRA", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/3/inputs/3" + }, + { + "field": "file", + "label": "输入视频文件引用", + "type": "COMBO", + "schema_default": "动态input视频枚举,无固定文件默认", + "unit": "文件引用", + "limits": "input目录普通文件经video内容类型筛选并排序;实际列表未知", + "effect": "原样保存WanVideo_00003-audio.mp4。文件名含audio和.mp4不证明文件存在、实际容器、音轨、时长、帧数或FPS。准确核心构造VideoFromFile;6经边5送7拆分,未读取素材或媒体探测。", + "evidence": [ + 10, + 18, + 19 + ], + "role": "scalar", + "node_id": "6", + "scope": "root", + "class_type": "LoadVideo", + "pointer": "/nodes/4/widgets_values/0", + "input_pointer": "/nodes/4/inputs/0", + "value": "WanVideo_00003-audio.mp4", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/0" + }, + { + "field": "upload", + "label": "视频上传控件保存占位", + "type": "IMAGEUPLOAD(前端)", + "schema_default": "前端按video_upload注入;非后端第二参数默认", + "unit": "前端状态,无数值单位", + "limits": "原保存字符串image;不是第二段视频、路径或已上传证明", + "effect": "保存image仅上传控件占位,和上一个文件名分开保留。准确LoadVideo仅具名file参数,前端媒体COMBO扩展补upload;不据占位推视频内容、可读性或最终恢复结果,不上传素材。", + "evidence": [ + 10, + 13, + 14, + 15 + ], + "role": "frontend_control", + "node_id": "6", + "scope": "root", + "class_type": "LoadVideo", + "pointer": "/nodes/4/widgets_values/1", + "input_pointer": "/nodes/4/inputs/1", + "value": "image", + "json_type": "str", + "execution_note": "原mode=0仅活动保存态;未执行、未构造prompt,声明版本不是目标安装证明。源输入口:/nodes/4/inputs/1" + } + ], + "sources": [ + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 10, + 49 + ], + "claim": "准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知" + }, + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 51, + 109 + ], + "claim": "准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行" + }, + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 112, + 121 + ], + "claim": "准确包节点注册入口" + }, + { + "id": "rtx", + "file": "pyproject.toml", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__pyproject.toml", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042", + "reused": true, + "lines": [ + 1, + 16 + ], + "claim": "准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定" + }, + { + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 1090, + 1142 + ], + "claim": "准确核心DynamicCombo选择分支schema" + }, + { + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 654, + 658 + ], + "claim": "准确核心VIDEO IO类型;Type引用VideoInput别名" + }, + { + "id": "frontend", + "file": "src/core/graph/widgets/dynamicWidgets.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e", + "git_blob_sha1": "3058e8131066eb797a4a1228eb643e388335a9ee", + "reused": true, + "lines": [ + 72, + 206 + ], + "claim": "准确前端动态子控件插入/移除和恢复回调;不证明UE次序" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 68, + 114 + ], + "claim": "SaveVideo schema、元数据条件、output命名与保存描述符" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 117, + 140 + ], + "claim": "CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 142, + 164 + ], + "claim": "GetVideoComponents依次返回images/audio/float(frame_rate)" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 167, + 205 + ], + "claim": "LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查" + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 259, + 272 + ], + "claim": "准确核心视频节点注册和入口" + }, + { + "id": "core", + "file": "folder_paths.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112", + "git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8", + "reused": true, + "lines": [ + 428, + 472 + ], + "claim": "output子目录、计数命名及路径边界规则;不访问目录" + }, + { + "id": "frontend", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04", + "git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095", + "reused": true, + "lines": [ + 1, + 53 + ], + "claim": "准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入" + }, + { + "id": "frontend", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033", + "git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43", + "reused": false, + "lines": [ + 865, + 909 + ], + "claim": "宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值" + }, + { + "id": "frontend", + "file": "src/scripts/app.ts", + "local_file": "../rtx-video-reference/frontend__src__scripts__app.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1", + "git_blob_sha1": "7d5a64f19eb50dbbc6c4e9aa1f92723818e7bdad", + "reused": false, + "lines": [ + 747, + 772 + ], + "claim": "宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知" + }, + { + "id": "core", + "file": "comfy_api/latest/_util/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02", + "git_blob_sha1": "fd3b5a510df4d1bd0b65141bd3d27953ec9cfc9a", + "reused": false, + "lines": [ + 1, + 49 + ], + "claim": "VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7", + "git_blob_sha1": "451e9526e86d21b966d938f722cce6f21f00ba4f", + "reused": false, + "lines": [ + 1, + 128 + ], + "claim": "VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 55, + 78 + ], + "claim": "VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 235, + 305 + ], + "claim": "文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 382, + 458 + ], + "claim": "VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取" + }, + { + "id": "core", + "file": "comfy_api/input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc", + "git_blob_sha1": "68ff782706e8ab4f8d40917f8ff5b8aea54c7f51", + "reused": false, + "lines": [ + 1, + 16 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7", + "git_blob_sha1": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "reused": false, + "lines": [ + 1, + 6 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5", + "git_blob_sha1": "14f0e72f46bfb079e85a1c0e56993b5a99425ffe", + "reused": false, + "lines": [ + 1, + 10 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c", + "git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "reused": false, + "lines": [ + 1, + 7 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "id": "core", + "file": "comfy_api/latest/_input/basic_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1", + "git_blob_sha1": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "reused": false, + "lines": [ + 1, + 24 + ], + "claim": "图像张量/AudioInput后端类型定义;不从文件名判断存在音轨" + }, + { + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 27, + 55 + ], + "claim": "SavedResult filename/subfolder/type文件描述符,不是媒体字节" + }, + { + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 428, + 440 + ], + "claim": "PreviewVideo序列化images描述符,不能证明实际保存或媒体格式" + }, + { + "id": "rtx", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__LICENSE", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "reused": true, + "lines": [ + 1, + 201 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "id": "core", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/core__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "id": "frontend", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + } + ], + "comments": [], + "flow": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "根5节点6物理边,全mode0,无子图/源注释/历史对象。6.LoadVideo→7.GetVideoComponents;7.images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.video。逐端点核对,不模拟执行。", + "7.widgets_values=[]为零保存位置,不制造控件或历史对象。8保存30为JSON int,准确schema默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。", + "RTX准确Registry0.1.0保存scale by multiplier、JSON int 1、ULTRA。先乘尺寸转int,再max(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载或执行运行库。", + "LoadVideo准确核心按动态input视频枚举构造VideoFromFile;get_components静态实现会解码帧、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解码视频。", + "8为VideoFromComponents,继承VideoInput默认维度/时长/帧数接口;保存仅允许AUTO/MP4及AUTO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。", + "9保存video/ComfyUI、auto、auto。准确VideoContainer扩展名规则auto→mp4和准确实现H264是固定源码条件,不称已产出.mp4。output目录计数名、可选prompt/extra_pnginfo元数据与PreviewVideo/SavedResult的filename/subfolder/type描述符分开;描述符不是媒体字节,不请求/api/view、不创建缓存。", + "所有五节点声明UE7.7;CreateVideo.widget_ue_connectable明确fps:true,其余空表。extra.ue_links/links_added_by_ue为空只描述保存状态,不能证明无改写。准确宿主先属性/序列化widgets_values后onConfigure;图级fixLinkInputSlots→onGraphConfigured→原onConfigure→onAfterGraphConfigured,动态分支另有恢复回调。UE实现/加载次序与最终值未知,不据宿主顺序证明扩展无影响。", + "源声明core0.16.4/frontend1.39.19,固定同一准确tag与完整commit;RTX Registry0.1.0包字节固定,Git绑定未知,不借其它版本/当前main。视频schema输入顺序images/fps/audio与源物理槽images/audio/fps分开,不重排原图,不造转换profile。", + "9非注释顶层保存位置=9标量(含1上传占位和1外线覆盖缓存),7空[]零位置;0注释/0历史对象。旧29块895保存位置+21注释逐对象不变,现30块904+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭;动态枚举、素材、设备、UE和实际效果待核。", + "原边 root [5, 6, 0, 7, 0, \"VIDEO\"]", + "原边 root [7, 1, 0, 8, 0, \"IMAGE\"]", + "原边 root [8, 7, 1, 8, 1, \"AUDIO\"]", + "原边 root [9, 7, 2, 8, 2, \"FLOAT\"]", + "原边 root [10, 8, 0, 9, 0, \"VIDEO\"]", + "原边 root [19, 7, 0, 1, 0, \"IMAGE\"]", + "原节点 root {\"id\": 7, \"type\": \"GetVideoComponents\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 5}], \"outputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"links\": [19]}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"type\": \"AUDIO\", \"links\": [8]}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"links\": [9]}], \"properties\": {\"Node name for S&R\": \"GetVideoComponents\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 9, \"type\": \"SaveVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"视频\", \"name\": \"video\", \"type\": \"VIDEO\", \"link\": 10}, {\"localized_name\": \"文件名前缀\", \"name\": \"filename_prefix\", \"type\": \"STRING\", \"widget\": {\"name\": \"filename_prefix\"}, \"link\": null}, {\"localized_name\": \"格式\", \"name\": \"format\", \"type\": \"COMBO\", \"widget\": {\"name\": \"format\"}, \"link\": null}, {\"localized_name\": \"编码器\", \"name\": \"codec\", \"type\": \"COMBO\", \"widget\": {\"name\": \"codec\"}, \"link\": null}], \"outputs\": [], \"properties\": {\"Node name for S&R\": \"SaveVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 8, \"type\": \"CreateVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"图像\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 7}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"shape\": 7, \"type\": \"AUDIO\", \"link\": 8}, {\"localized_name\": \"帧率\", \"name\": \"fps\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"fps\"}, \"link\": 9}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [10]}], \"properties\": {\"Node name for S&R\": \"CreateVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {\"fps\": true}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 1, \"type\": \"RTXVideoSuperResolution\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"images\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 19}, {\"localized_name\": \"resize_type\", \"name\": \"resize_type\", \"type\": \"COMFY_DYNAMICCOMBO_V3\", \"widget\": {\"name\": \"resize_type\"}, \"link\": null}, {\"localized_name\": \"resize_type.scale\", \"name\": \"resize_type.scale\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"resize_type.scale\"}, \"link\": null}, {\"localized_name\": \"quality\", \"name\": \"quality\", \"type\": \"COMBO\", \"widget\": {\"name\": \"quality\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"upscaled_images\", \"name\": \"upscaled_images\", \"type\": \"IMAGE\", \"links\": [7]}], \"properties\": {\"Node name for S&R\": \"RTXVideoSuperResolution\", \"aux_id\": \"Comfy-Org/Nvidia_RTX_Nodes_ComfyUI\", \"ver\": \"0.1.0\", \"cnr_id\": \"comfyui_nvidia_rtx_nodes\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}", + "原节点 root {\"id\": 6, \"type\": \"LoadVideo\", \"mode\": 0, \"inputs\": [{\"localized_name\": \"文件\", \"name\": \"file\", \"type\": \"COMBO\", \"widget\": {\"name\": \"file\"}, \"link\": null}, {\"localized_name\": \"选择要上传的文件\", \"name\": \"upload\", \"type\": \"IMAGEUPLOAD\", \"widget\": {\"name\": \"upload\"}, \"link\": null}], \"outputs\": [{\"localized_name\": \"视频\", \"name\": \"VIDEO\", \"type\": \"VIDEO\", \"links\": [5]}], \"properties\": {\"Node name for S&R\": \"LoadVideo\", \"cnr_id\": \"comfy-core\", \"ver\": \"0.16.4\", \"enableTabs\": false, \"tabWidth\": 65, \"tabXOffset\": 10, \"hasSecondTab\": false, \"secondTabText\": \"Send Back\", \"secondTabOffset\": 80, \"secondTabWidth\": 65, \"ue_properties\": {\"widget_ue_connectable\": {}, \"version\": \"7.7\", \"input_ue_unconnectable\": {}}}}" + ], + "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 + ], + "zero_saved_nodes": [ + { + "node_id": "7", + "class_type": "GetVideoComponents", + "pointer": "/nodes/0/widgets_values", + "value": [], + "effect": "保存[]零位置;单视频输入拆分为images/audio/fps,不补参数。" + } + ], + "steps": [ + "这张图把视频拆成画面、音频和帧率,只对画面做RTX超分,再接回原音频和FPS重组并保存。保存倍率为1、质量ULTRA;帧率缓存30被外线覆盖,实际FPS、音轨、音画同步、尺寸和画质均未核。UE7.7恢复次序及目标GPU/驱动/编解码器未知;仅固定参考,转换关闭、未实跑。", + "操作1:核6→7拆分、7.images→1→8及7.audio/fps→8→9六条物理边,保持停用,不上传视频。", + "操作2:区分倍率1、schema默认2.0、帧率缓存30与外线FPS;不承诺尺寸、清晰度或音画同步。", + "操作3:核video/ComfyUI和auto/auto;实际容器、编码器、音轨和保存结果待验证,不调用媒体处理。", + "常见问题:目标素材、GPU/驱动、nvidia-vfx、PyAV/编码器和UE恢复未知;当前不是可靠转换或生成入口。" + ] +} diff --git a/docs/hel-892/rtx-video-document-evidence/delivery-summary.md b/docs/hel-892/rtx-video-document-evidence/delivery-summary.md new file mode 100644 index 00000000..7010eb57 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/delivery-summary.md @@ -0,0 +1,16 @@ +第49批仅RTX视频放大固定参考中文说明,交总管功能+界面审核。155全量未完成,完整定稿0、必要实跑0、新增转换0。 + +- 原PR25,分支agent/agent/a64a969a6a44,base main;真实旧库基线334549a386565af15d42df3d7079553ee2c07b8a。最终受测/推送head及全差分清单见交付附件final-head.json。 +- fixed_document.py只增一个受信路径/硬编码摘要;source_reviews.json只新增本图fixed_version_document,旧29块895保存位置+21注释及其余155审校对象逐对象不变。原图、Drawer、转换profile/算法/执行链与资格不改。 +- 本图5节点6边全mode0;9标量保存位置(含1上传占位、1连线覆盖缓存),零注释/历史对象,GetVideoComponents保存[]零位置。30块904保存位置+21注释仅参考展示。 +- 6视频→7拆分;7.images→1.RTX→8.images,7.audio/fps分别到8.audio/fps,8→9保存。倍率JSON int1、ULTRA、缓存int30与FLOAT schema默认30.0及外线fps分开,输入视频名和上传image分别保留;不承诺倍率1尺寸不变、清晰度或同步。 +- 同一core0.16.4/frontend1.39.19准确tag/完整commit/树身份;复用8Git文本+4Registry0.1.0成员,仅新增12准确Git文本,31条准确引用/许可。RTX包Git绑定仍未知。源码说明仅静态条件:8倍数对齐/面积分批、VideoInput继承、H264/yuv420p与可选AAC/音频切片及千分率取整、SaveVideo output计数/元数据/文件描述符;不证明真实FPS/音轨/时长/同步或输出编码成功。 +- 五节点UE7.7,CreateVideo可连接fps:true;宿主控件恢复→onConfigure及图级回调次序准确引用,UE恢复/加载次序未知,空扩展边或空表不当无改写证明。源码local_file相对docs/hel-892/rtx-video-document-evidence;每位置有保存/输入口双指针及精确来源。 +- 91后台通过=78本图专项+13库回归;12自写Python Ruff check/format及JS语法通过,离线wheel/sdist三个产品资源原字节一致,双次定义/报告确定性通过。完整命令见validation-commands.txt。 +- 真实基线旧代码建库155/排除1;升级1updated/154skipped、再导155skipped、精确回退1、再导1update;其余154整行不变。升级前后用户编辑各1conflict/29列整行保护。新库16/139及1217/3660/294保持,155停用/未检查、定稿实跑时间戳空。 +- 163原件(156源+7真实API配套)和191冻结资源原字节不变;28profiles/9参考候选hash/6差分保持,145UI仍9参考候选136关闭,case06继续排除。未机械重跑冻结转换或全后台/前端。 +- 900浏览检查=188本图+696旧29摘要+2汇总+14共享回归;1440/390逐字段/来源/双指针/折叠/焦点/迟到/重试/旧空错绑定回退/无横溢通过,4截图目验。全本地GET:浏览固定103+轮询8;后端固定98(含就绪1)+轮询8;本地拦截6个详情请求,字体CSS拦截1次,禁止请求0。finally停止两服务、8247/5173端口释放。 +- 48受测输入SHA见tested-files.json;完整差分文件用途与SHA见changed-files.json及交付final-head.json。截图不加仓库,只随卡附件交付。 +- 开发失败和修正见development-notes.txt/backend-initial.txt/lint-initial.txt;最终日志口径独立。历史5个业务失败/旧I001仅沿用证据,不称全仓全绿。平台PR链接表未返回记录,准确URL从提供方只读API独立核实open/未合并/head/base,不重建PR。 + +剩余真实环境核对:动态视频列表/素材是否存在、实际宽高/FPS/帧数/时长/音轨/同步、目标核心/前端/UE恢复、RTX运行库/GPU/驱动与许可适用性、PyAV/编码器及实际效果。本轮无需用户材料或机器窗口。未连接目标、停TTS、启ComfyUI、提交prompt、执行上游/GPU/探测解码编码、下载模型权重素材字体、引依赖付费、写在线库、合并部署。 diff --git a/docs/hel-892/rtx-video-document-evidence/development-notes.txt b/docs/hel-892/rtx-video-document-evidence/development-notes.txt new file mode 100644 index 00000000..2f5f1678 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/development-notes.txt @@ -0,0 +1,7 @@ +开发失败与修正(保留原始非零记录,不计入最终通过数): +1. 首次生成引用VideoInput 1~138行及basic_types 1~70/44行超出原件边界,生成器失败关闭。原件回读后改为1~128与1~24行;未绕过行号检查。PreviewVideo/SavedResult分成两条准确引用。 +2. backend-initial.txt:2 failed/89 passed。零保存节点的empty篡改夹具误赋原来的[],没有发生篡改;修为{}区分空数组和空对象。流程断言要求“音画同步”但摘要仅写“同步”,补清楚中文措辞。最终91通过。 +3. lint-initial.txt:37项E501,先format,再对长中文常量作相邻字符串拆行,保持文本值;lint-final.txt范围12自写Python通过、format通过,JS语法通过。 +4. 初次本地浏览900检查通过后补充逐字段输入口指针,源保存/输入双指针及文本/摘要绑定一起更新。最终后台、包、隔离升级回退、重复构建和浏览均重新验证;仅最终日志为本次最终口径。 +5. 新checkout未配置Git身份;只在当前任务独立.git中用--worktree恢复原分支既有作者leefer/hello@shengshentech.com,未改全局或共享cache身份。 +未机械复跑全后台/全前端/冻结转换;历史5个业务测试失败和旧I001仅沿用记录,不称全仓全绿。 diff --git a/docs/hel-892/rtx-video-document-evidence/diff-check-notes.txt b/docs/hel-892/rtx-video-document-evidence/diff-check-notes.txt new file mode 100644 index 00000000..1aad4ace --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/diff-check-notes.txt @@ -0,0 +1,2 @@ +自写代码/JSON/说明Markdown范围git diff --cached --check通过。 +全差分检查报告已固定上游_util/video_types.py末尾原有空行,以及原始pytest失败日志两行尾空白;为保留准确源码与开发失败原文,不改这些证据字节。无自写产品源空白问题,无重复CSS或界面产品改动。 diff --git a/docs/hel-892/rtx-video-document-evidence/fetch_sources.py b/docs/hel-892/rtx-video-document-evidence/fetch_sources.py new file mode 100644 index 00000000..1f60e8f9 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/fetch_sources.py @@ -0,0 +1,67 @@ +"Bounded static text retrieval at the already pinned core/frontend commits." + +import hashlib +import json +import urllib.request +from pathlib import Path + +OUT = Path(__file__).resolve().parent +REF = OUT.parent / "rtx-video-reference" +OLD = OUT.parent / "rtx-reference" +FILES = { + "core": [ + "comfy_extras/nodes_video.py", + "comfy_api/latest/_input/video_types.py", + "comfy_api/latest/_input_impl/video_types.py", + "comfy_api/latest/_util/video_types.py", + "comfy_api/latest/_input/__init__.py", + "comfy_api/latest/_input_impl/__init__.py", + "comfy_api/input/__init__.py", + "comfy_api/input/video_types.py", + "comfy_api/latest/_ui.py", + "comfy_api/latest/_input/basic_types.py", + ], + "frontend": ["src/lib/litegraph/src/LGraphNode.ts", "src/scripts/app.ts"], +} + + +def main(): + sources = [] + for e in json.loads((OLD / "sources.json").read_bytes())["sources"]: + if e["id"] != "rgthree": + sources.append( + {**e, "local_file": "../rtx-reference/" + e["local_file"], "reused": True} + ) + for key, paths in FILES.items(): + tree = json.loads((OLD / (key + "-tree.json")).read_bytes()) + commit = tree["sha"] + repo = "Comfy-Org/" + ("ComfyUI" if key == "core" else "ComfyUI_frontend") + for path in paths: + blob = next(x["sha"] for x in tree["tree"] if x["path"] == path) + url = f"https://raw.githubusercontent.com/{repo}/{commit}/{path}" + raw = urllib.request.urlopen(url, timeout=30).read(2000001) + assert len(raw) < 2000000 + actual = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() + assert actual == blob + name = key + "__" + path.replace("/", "__") + (REF / name).write_bytes(raw) + sources.append( + dict( + id=key, + file=path, + local_file=name, + url=url, + commit=commit, + sha256=hashlib.sha256(raw).hexdigest(), + git_blob_sha1=blob, + reused=False, + ) + ) + (REF / "sources.json").write_text( + json.dumps({"sources": sources}, ensure_ascii=False, indent=2) + "\n" + ) + print("PASS exact new static texts", sum(not e.get("reused") for e in sources)) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/rtx-video-document-evidence/fixed-source-index.json b/docs/hel-892/rtx-video-document-evidence/fixed-source-index.json new file mode 100644 index 00000000..765ac36e --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/fixed-source-index.json @@ -0,0 +1,503 @@ +[ + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 10, + 49 + ], + "claim": "准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 51, + 109 + ], + "claim": "准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-video-reference/../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true, + "lines": [ + 112, + 121 + ], + "claim": "准确包节点注册入口" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "rtx", + "file": "pyproject.toml", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__pyproject.toml", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042", + "reused": true, + "lines": [ + 1, + 16 + ], + "claim": "准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 1090, + 1142 + ], + "claim": "准确核心DynamicCombo选择分支schema" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true, + "lines": [ + 654, + 658 + ], + "claim": "准确核心VIDEO IO类型;Type引用VideoInput别名" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "frontend", + "file": "src/core/graph/widgets/dynamicWidgets.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e", + "git_blob_sha1": "3058e8131066eb797a4a1228eb643e388335a9ee", + "reused": true, + "lines": [ + 72, + 206 + ], + "claim": "准确前端动态子控件插入/移除和恢复回调;不证明UE次序" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 68, + 114 + ], + "claim": "SaveVideo schema、元数据条件、output命名与保存描述符" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 117, + 140 + ], + "claim": "CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 142, + 164 + ], + "claim": "GetVideoComponents依次返回images/audio/float(frame_rate)" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 167, + 205 + ], + "claim": "LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "../rtx-video-reference/core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false, + "lines": [ + 259, + 272 + ], + "claim": "准确核心视频节点注册和入口" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "folder_paths.py", + "local_file": "../rtx-video-reference/../rtx-reference/core__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112", + "git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8", + "reused": true, + "lines": [ + 428, + 472 + ], + "claim": "output子目录、计数命名及路径边界规则;不访问目录" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "frontend", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04", + "git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095", + "reused": true, + "lines": [ + 1, + 53 + ], + "claim": "准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "frontend", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "../rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033", + "git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43", + "reused": false, + "lines": [ + 865, + 909 + ], + "claim": "宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "frontend", + "file": "src/scripts/app.ts", + "local_file": "../rtx-video-reference/frontend__src__scripts__app.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1", + "git_blob_sha1": "7d5a64f19eb50dbbc6c4e9aa1f92723818e7bdad", + "reused": false, + "lines": [ + 747, + 772 + ], + "claim": "宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_util/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02", + "git_blob_sha1": "fd3b5a510df4d1bd0b65141bd3d27953ec9cfc9a", + "reused": false, + "lines": [ + 1, + 49 + ], + "claim": "VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7", + "git_blob_sha1": "451e9526e86d21b966d938f722cce6f21f00ba4f", + "reused": false, + "lines": [ + 1, + 128 + ], + "claim": "VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 55, + 78 + ], + "claim": "VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 235, + 305 + ], + "claim": "文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false, + "lines": [ + 382, + 458 + ], + "claim": "VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc", + "git_blob_sha1": "68ff782706e8ab4f8d40917f8ff5b8aea54c7f51", + "reused": false, + "lines": [ + 1, + 16 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/input/video_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7", + "git_blob_sha1": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "reused": false, + "lines": [ + 1, + 6 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5", + "git_blob_sha1": "14f0e72f46bfb079e85a1c0e56993b5a99425ffe", + "reused": false, + "lines": [ + 1, + 10 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input_impl/__init__.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c", + "git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "reused": false, + "lines": [ + 1, + 7 + ], + "claim": "准确核心视频输入/实现别名与导出链;不借不同版本" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_input/basic_types.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1", + "git_blob_sha1": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "reused": false, + "lines": [ + 1, + 24 + ], + "claim": "图像张量/AudioInput后端类型定义;不从文件名判断存在音轨" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 27, + 55 + ], + "claim": "SavedResult filename/subfolder/type文件描述符,不是媒体字节" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "../rtx-video-reference/core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false, + "lines": [ + 428, + 440 + ], + "claim": "PreviewVideo序列化images描述符,不能证明实际保存或媒体格式" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "rtx", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/rtx__LICENSE", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "reused": true, + "lines": [ + 1, + 201 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "core", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/core__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + }, + { + "document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "id": "frontend", + "file": "LICENSE", + "local_file": "../rtx-video-reference/../rtx-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true, + "lines": [ + 1, + 674 + ], + "claim": "准确提交/发布包许可原字节;不推目标许可适用性" + } +] diff --git a/docs/hel-892/rtx-video-document-evidence/format-final.txt b/docs/hel-892/rtx-video-document-evidence/format-final.txt new file mode 100644 index 00000000..b1c1c908 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/format-final.txt @@ -0,0 +1 @@ +1 file reformatted, 9 files left unchanged diff --git a/docs/hel-892/rtx-video-document-evidence/format-fix-final.txt b/docs/hel-892/rtx-video-document-evidence/format-fix-final.txt new file mode 100644 index 00000000..e82d71f5 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/format-fix-final.txt @@ -0,0 +1 @@ +9 files reformatted, 1 file left unchanged diff --git a/docs/hel-892/rtx-video-document-evidence/format-fix.txt b/docs/hel-892/rtx-video-document-evidence/format-fix.txt new file mode 100644 index 00000000..30066f6c --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/format-fix.txt @@ -0,0 +1 @@ +5 files reformatted, 7 files left unchanged diff --git a/docs/hel-892/rtx-video-document-evidence/frozen-resource-check.json b/docs/hel-892/rtx-video-document-evidence/frozen-resource-check.json new file mode 100644 index 00000000..3467d05e --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/frozen-resource-check.json @@ -0,0 +1,771 @@ +{ + "base": "334549a386565af15d42df3d7079553ee2c07b8a", + "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/rtx-video-document-evidence/import-protection.json b/docs/hel-892/rtx-video-document-evidence/import-protection.json new file mode 100644 index 00000000..49972bbd --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/import-protection.json @@ -0,0 +1,69 @@ +{ + "base": "334549a386565af15d42df3d7079553ee2c07b8a", + "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": 9, + "new_notes": 0, + "old_saved": 895, + "old_notes": 21, + "overviews": 30, + "all_disabled": true, + "doc_done": 0, + "executed": 0 +} diff --git a/docs/hel-892/rtx-video-document-evidence/lint-final.txt b/docs/hel-892/rtx-video-document-evidence/lint-final.txt new file mode 100644 index 00000000..8fdb6f61 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/lint-final.txt @@ -0,0 +1,3 @@ +All checks passed! +12 files already formatted +PASS 12 authored Python files and one JS syntax check diff --git a/docs/hel-892/rtx-video-document-evidence/lint-initial.txt b/docs/hel-892/rtx-video-document-evidence/lint-initial.txt new file mode 100644 index 00000000..7ffc1c95 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/lint-initial.txt @@ -0,0 +1,414 @@ +E501 Line too long (126 > 100) + --> calliope-backend/tests/test_rtx_video_fixed_document.py:181:101 + | +179 | assert e in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == e +180 | assert len(BLOCK["fields"]) == len({f["pointer"] for f in BLOCK["fields"]}) == 9 +181 | actual = {f"/nodes/{i}/widgets_values/{k}" for i,n in enumerate(SOURCE["nodes"]) for k in range(len(n["widgets_values"]))} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +182 | assert actual == {f["pointer"] for f in BLOCK["fields"]} +183 | assert all(not isinstance(f["value"], (list, dict)) for f in BLOCK["fields"]) + | + +E501 Line too long (176 > 100) + --> calliope-backend/tests/test_rtx_video_fixed_document.py:191:94 + | +189 | … +190 | …erified=False) +191 | … "output", "UE7.7", "fps:true", "onAfterGraphConfigured", "千分率", "音画同步", "H264", "AAC", "9标量"]: + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +192 | … + | + +E501 Line too long (125 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:11:72 + | + 9 | OUT = Path(__file__).resolve().parent +10 | REF = OUT.parent / 'rtx-video-reference' +11 | PATHS = ['example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json'] + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +12 | +13 | def canonical(value): + | + +E501 Line too long (125 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:27:101 + | +25 | assert hashlib.sha256(data).hexdigest() == e['sha256'] +26 | assert 1 <= first <= last <= len(data.decode().splitlines()) +27 | refs.append({**e, 'local_file': '../rtx-video-reference/' + e['local_file'], 'lines': [first, last], 'claim': claim}) + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +28 | return len(refs)-1 +29 | schema = ref('rtx','__init__.py',10,49,'准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知') + | + +E501 Line too long (115 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:29:83 + | +27 | refs.append({**e, 'local_file': '../rtx-video-reference/' + e['local_file'], 'lines': [first, last], 'claim': claim}) +28 | return len(refs)-1 +29 | schema = ref('rtx','__init__.py',10,49,'准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知') + | ^^^^^^^^^^^^^^^ +30 | run = ref('rtx','__init__.py',51,109,'准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行') +31 | ref('rtx','__init__.py',112,121,'准确包节点注册入口') + | + +E501 Line too long (105 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:30:78 + | +28 | return len(refs)-1 +29 | schema = ref('rtx','__init__.py',10,49,'准确Registry0.1.0动态尺寸schema、倍率默认/范围和质量枚举;Git绑定未知') +30 | run = ref('rtx','__init__.py',51,109,'准确包尺寸取整、8倍数对齐、按面积分批及CUDA/nvvfx调用;不执行') + | ^^^^ +31 | ref('rtx','__init__.py',112,121,'准确包节点注册入口') +32 | pkg = ref('rtx','pyproject.toml',1,16,'准确包0.1.0版本与nvidia-vfx依赖;未固定运行库或Git绑定') + | + +E501 Line too long (131 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:35:90 + | +33 | dynamic = ref('core','comfy_api/latest/_io.py',1090,1142,'准确核心DynamicCombo选择分支schema') +34 | ref('core','comfy_api/latest/_io.py',654,658,'准确核心VIDEO IO类型;Type引用VideoInput别名') +35 | front = ref('frontend','src/core/graph/widgets/dynamicWidgets.ts',72,206,'准确前端动态子控件插入/移除和恢复回调;不证明UE次序') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +36 | save = ref('core','comfy_extras/nodes_video.py',68,114,'SaveVideo schema、元数据条件、output命名与保存描述符') +37 | create = ref('core','comfy_extras/nodes_video.py',117,140,'CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频') + | + +E501 Line too long (114 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:36:92 + | +34 | ref('core','comfy_api/latest/_io.py',654,658,'准确核心VIDEO IO类型;Type引用VideoInput别名') +35 | front = ref('frontend','src/core/graph/widgets/dynamicWidgets.ts',72,206,'准确前端动态子控件插入/移除和恢复回调;不证明UE次序') +36 | save = ref('core','comfy_extras/nodes_video.py',68,114,'SaveVideo schema、元数据条件、output命名与保存描述符') + | ^^^^^^^^^^^^^^ +37 | create = ref('core','comfy_extras/nodes_video.py',117,140,'CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频') +38 | split = ref('core','comfy_extras/nodes_video.py',142,164,'GetVideoComponents依次返回images/audio/float(frame_rate)') + | + +E501 Line too long (125 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:37:98 + | +35 | front = ref('frontend','src/core/graph/widgets/dynamicWidgets.ts',72,206,'准确前端动态子控件插入/移除和恢复回调;不证明UE次序') +36 | save = ref('core','comfy_extras/nodes_video.py',68,114,'SaveVideo schema、元数据条件、output命名与保存描述符') +37 | create = ref('core','comfy_extras/nodes_video.py',117,140,'CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频') + | ^^^^^^^^^^^^^^^^^^^^^^^^ +38 | split = ref('core','comfy_extras/nodes_video.py',142,164,'GetVideoComponents依次返回images/audio/float(frame_rate)') +39 | load = ref('core','comfy_extras/nodes_video.py',167,205,'LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查') + | + +E501 Line too long (120 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:38:97 + | +36 | save = ref('core','comfy_extras/nodes_video.py',68,114,'SaveVideo schema、元数据条件、output命名与保存描述符') +37 | create = ref('core','comfy_extras/nodes_video.py',117,140,'CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频') +38 | split = ref('core','comfy_extras/nodes_video.py',142,164,'GetVideoComponents依次返回images/audio/float(frame_rate)') + | ^^^^^^^^^^^^^^^^^^^^ +39 | load = ref('core','comfy_extras/nodes_video.py',167,205,'LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查') +40 | ref('core','comfy_extras/nodes_video.py',259,272,'准确核心视频节点注册和入口') + | + +E501 Line too long (122 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:39:89 + | +37 | create = ref('core','comfy_extras/nodes_video.py',117,140,'CreateVideo fps默认30.0/1~120/step1,Fraction包装及可选音频') +38 | split = ref('core','comfy_extras/nodes_video.py',142,164,'GetVideoComponents依次返回images/audio/float(frame_rate)') +39 | load = ref('core','comfy_extras/nodes_video.py',167,205,'LoadVideo动态视频列表、上传类型及VideoFromFile构造/文件检查') + | ^^^^^^^^^^^^^^^^^^^^^^ +40 | ref('core','comfy_extras/nodes_video.py',259,272,'准确核心视频节点注册和入口') +41 | paths = ref('core','folder_paths.py',428,472,'output子目录、计数命名及路径边界规则;不访问目录') + | + +E501 Line too long (125 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:42:95 + | +40 | ref('core','comfy_extras/nodes_video.py',259,272,'准确核心视频节点注册和入口') +41 | paths = ref('core','folder_paths.py',428,472,'output子目录、计数命名及路径边界规则;不访问目录') +42 | upload = ref('frontend','src/extensions/core/uploadImage.ts',1,53,'准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入') + | ^^^^^^^^^^^^^^^^^^^^^^^^^ +43 | restore = ref('frontend','src/lib/litegraph/src/LGraphNode.ts',865,909,'宿主先恢复属性与可序列化widgets_values,再调用onConfigure… +44 | callbacks = ref('frontend','src/scripts/app.ts',747,772,'宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraph… + | + +E501 Line too long (153 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:43:89 + | +41 | … 、计数命名及路径边界规则;不访问目录') +42 | ….ts',1,53,'准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入') +43 | …de.ts',865,909,'宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +44 | …'宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知') +45 | …y',1,49,'VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构') + | + +E501 Line too long (158 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:44:96 + | +42 | …',1,53,'准确前端video_upload媒体COMBO附加IMAGEUPLOAD占位输入') +43 | …ts',865,909,'宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值') +44 | … 图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +45 | …1,49,'VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构') +46 | …VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值') + | + +E501 Line too long (149 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:45:100 + | +43 | …Node.ts',865,909,'宿主先恢复属性与可序列化widgets_values,再调用onConfigure;不证明扩展最终值') +44 | …2,'宿主图级fixLinkInputSlots、onGraphConfigured、原onConfigure及onAfterGraphConfigured次序;UE未知') +45 | ….py',1,49,'VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +46 | …128,'VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值') +47 | …deo_types.py',55,78,'VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明') + | + +E501 Line too long (140 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:47:99 + | +45 | …ypes.py',1,49,'VideoCodec auto/h264,VideoContainer auto/mp4及扩展名规则,VideoComponents结构') +46 | …',1,128,'VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值') +47 | …l/video_types.py',55,78,'VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +48 | …video_types.py',235,305,'文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件') +49 | …video_types.py',382,458,'VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取') + | + +E501 Line too long (150 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:48:91 + | +46 | …28,'VideoInput抽象接口及继承默认维度、帧数、时长和帧率取值') +47 | …eo_types.py',55,78,'VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明') +48 | …_types.py',235,305,'文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +49 | …_types.py',382,458,'VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取') +50 | …t/video_types.py','comfy_api/latest/_input/__init__.py','comfy_api/latest/_input_impl/__init__.py']: + | + +E501 Line too long (157 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:49:100 + | +47 | …types.py',55,78,'VideoFromFile继承VideoInput并保存文件引用;非已解码素材证明') +48 | …pes.py',235,305,'文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件') +49 | …pes.py',382,458,'VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取') + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +50 | …ideo_types.py','comfy_api/latest/_input/__init__.py','comfy_api/latest/_input_impl/__init__.py']: +51 | … + | + +E501 Line too long (159 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:50:101 + | +48 | …es.py',235,305,'文件视频组件读取:视频帧、average_rate或1回退、可选末音轨;仅静态条件') +49 | …es.py',382,458,'VideoFromComponents继承、MP4/H264限制、千分率取整、yuv420p及条件AAC/音频截取') +50 | …deo_types.py','comfy_api/latest/_input/__init__.py','comfy_api/latest/_input_impl/__init__.py']: + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +51 | … +52 | …litlines()),'准确核心视频输入/实现别名与导出链;不借不同版本') + | + +E501 Line too long (114 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:54:95 + | +52 | ref('core',f,1,len((REF/e['local_file']).read_text().splitlines()),'准确核心视频输入/实现别名与导出链;不借不同版本') +53 | ref('core','comfy_api/latest/_input/basic_types.py',1,24,'图像张量/AudioInput后端类型定义;不从文件名判断存在音轨') +54 | ui = ref('core','comfy_api/latest/_ui.py',27,55,'SavedResult filename/subfolder/type文件描述符,不是媒体字节') + | ^^^^^^^^^^^^^^ +55 | ref('core','comfy_api/latest/_ui.py',428,440,'PreviewVideo序列化images描述符,不能证明实际保存或媒体格式') +56 | for key in ['rtx','core','frontend']: + | + +E501 Line too long (108 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:64:78 + | +62 | … ('filename_prefix','输出视频文件名前缀','STRING','video/ComfyUI','文本,无数值单位','未声明长度范围;按output子目录和计数规则处… +63 | … '保存video/ComfyUI;8重组视频经边10送入9。准确核心按output配置和输入维度计算目录及计数名;不是绝对目录或已保存证明。元数据受dis… +64 | … ('format','输出容器格式','COMBO','auto','容器枚举','准确核心选项auto / mp4;不推目标编码库支持', + | ^^^^^^^^ +65 | … '保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径规则… +66 | … ('codec','视频编码器选择','COMBO','auto','编码枚举','准确核心选项auto / h264;不是任意编码器自动挑选保证', + | + +E501 Line too long (118 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:66:78 + | +64 | … ('format','输出容器格式','COMBO','auto','容器枚举','准确核心选项auto / mp4;不推目标编码库支持', +65 | … '保存auto。准确VideoContainer.get_extension对auto/mp4返回mp4,准确VideoFromComponents仅接受AUTO/MP4;这是固定版本保存路径… +66 | … ('codec','视频编码器选择','COMBO','auto','编码枚举','准确核心选项auto / h264;不是任意编码器自动挑选保证', + | ^^^^^^^^^^^^^^^^^^ +67 | … '保存auto。准确VideoFromComponents仅允许AUTO/H264并调用h264、yuv420p;可选音频为AAC。目标PyAV/编解码器、驱动和实际输出未知… +68 | … ], + | + +E501 Line too long (163 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:70:82 + | +68 | … +69 | … +70 | …SON int','30.0','帧/秒(FPS)','schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +71 | … 槽2,取自输入视频拆分链,不据30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,… +72 | … + | + +E501 Line too long (326 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:71:71 + | +69 | … +70 | …,'schema 1.0~120.0、step1.0;当前fps有边9外线,保存30不作最终输入', +71 | … 30保证实际帧率。准确核心经float(frame_rate)再Fraction(fps)组装,保存实现再千分率取整。音频走独立边8,源音轨可能不存在,时长/帧数/音画同步均未知,不把连线当同步保证。',[create,split,decode,encode,restore,callbacks],'linked_saved'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +72 | … +73 | … + | + +E501 Line too long (202 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:74:82 + | +72 | … +73 | … +74 | … 认;选项顺序scale by multiplier、target dimensions','模式标签','只在所选分支展开子参数;源保存scale by multiplier', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +75 | … 不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。',[schema,dynamic,front],'scalar'), +76 | …2.0','无量纲倍率','schema 1.0~4.0、step0.01;仅scale by multiplier分支有效', + | + +E501 Line too long (162 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:76:84 + | +74 | …_V3','schema未显式给默认;选项顺序scale by multiplier、target dimensions','模式标签','只在所选分支展开子参数;源保存scale by multipli… +75 | … width/height未保存,不补默认1920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。',[schema,dynamic,front],'scalar'), +76 | …ema);原JSON int','2.0','无量纲倍率','schema 1.0~4.0、step0.01;仅scale by multiplier分支有效', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +77 | … 留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无… +78 | … 单位','LOW / MEDIUM / HIGH / ULTRA', + | + +E501 Line too long (255 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:77:78 + | +75 | …920/1080为当前值。只处理7拆分的images,不处理音轨或改变帧率的连线。',[schema,dynamic,front],'scalar'), +76 | … 倍率','schema 1.0~4.0、step0.01;仅scale by multiplier分支有效', +77 | …t(h*scale),再各max(8,round(维度/8)*8)对齐;输入尺寸未知,倍率1也不能保证当前尺寸不变或清晰度改善。无物理外线覆盖本字段。',[schema,run,dynamic,front],'scalar'), + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +78 | … ULTRA', +79 | …1024*1024*16按输出面积分批,batch_size至少1,不是显存或耗时保证。运行库版本/目标GPU/驱动及实际画质未知,不执行超分。',[schema,run,pkg],'scalar'), + | + +E501 Line too long (103 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:78:87 + | +76 | … ('resize_type.scale','倍率分支的缩放因子','FLOAT(schema);原JSON int','2.0','无量纲倍率','schema 1.0~4.0、step0.01;仅sca… +77 | … '本图原JSON int 1,与上一图片图2和schema默认2.0分别保留。准确实现先int(w*scale)/int(h*scale),再各max(8,round(维度/8)*8)对… +78 | … ('quality','超分质量档位','COMBO','ULTRA','枚举,无数值单位','LOW / MEDIUM / HIGH / ULTRA', + | ^^^ +79 | … '保存ULTRA,准确包映射nvvfx质量枚举并调用VideoSuperRes.load/run及CUDA;MAX_PIXELS=1024*1024*16按输出面积分批,batch_size至… +80 | … ], + | + +E501 Line too long (244 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:98:75 + | + 96 | … + 97 | ….images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.vid… + 98 | …默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + 99 | …(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标… +100 | … 、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解… + | + +E501 Line too long (286 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:99:87 + | + 97 | ….images槽0经边19→1.RTX.images;1.upscaled_images经边7→8.CreateVideo.images;7.audio槽1经边8→8.audio;7.fps槽2经边9→8.fps槽2;8.VIDEO经边10→9.SaveVideo.video。逐端点核对,不模拟执行。', + 98 | …默认30.0/1~120/step1和fps外线三层分开;7准确实现float(components.frame_rate),8经Fraction(fps)构造VideoFromComponents。实际文件FPS和输出同步未知。', + 99 | …(8,round(维度/8)*8);倍率1不保证尺寸不变。MAX_PIXELS=1024*1024*16按输出面积分批且至少1,不是显存保证。nvidia-vfx/CUDA/load/run为实现条件,运行库版本/目标设备与效果未知,不下载或执行运行库。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +100 | … 、取average_rate(缺失回退1)和可选末音轨,再包装AudioInput。文件名WanVideo_00003-audio.mp4与上传image只是源文本,不证明素材存在或含声音。本轮不探测/解码视频。', +101 | …TO/H264,实际实现h264/yuv420p并将帧率取整到千分率,有audio才按采样率/帧数切片后写AAC。不是保留原编码、时间戳或同步保证;实际时长、帧数、音轨/同步和编码器可用性未知。', + | + +E501 Line too long (236 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:104:83 + | +102 | … 定源码条件,不称已产出.mp4。output目录计数名、可选prompt/extra_pnginfo元数据与PreviewVideo/SavedResult的filename/subfolder/type描述符分开;描述… +103 | …e_links/links_added_by_ue为空只描述保存状态,不能证明无改写。准确宿主先属性/序列化widgets_values后onConfigure;图级fixLinkInputSlots→onGraphConfi… +104 | … 固定,Git绑定未知,不借其它版本/当前main。视频schema输入顺序images/fps/audio与源物理槽images/audio/fps分开,不重排原图,不造转换profile。', + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +105 | … 旧29块895保存位置+21注释逐对象不变,现30块904+21仅参考展示。155完整定稿0/必要实跑0/新增转换0,145UI仍9参考候选136关闭;动态枚举、素材、设备、U… +106 | … + | + +E501 Line too long (147 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:109:98 + | +107 | …=False)) +108 | … +109 | …k in ['id','type','mode','inputs','outputs','properties'] if k in n},ensure_ascii=False)) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +110 | …raw).hexdigest(),source_sha256=hashlib.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice=… +111 | …bf7404c9b8e970847d1f;frontend1.39.19→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。','RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;… + | + +E501 Line too long (306 > 100) + --> docs/hel-892/rtx-video-document-evidence/build_definition.py:110:101 + | +108 | … +109 | …tputs','properties'] if k in n},ensure_ascii=False)) +110 | …b.sha256(raw).hexdigest(),canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),notice='准确来源仅参考;RTX包Git绑定、UE恢复、素材/设备/编解码器与同步效果未知,转换关闭、未实跑。',user_overview=overview, + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +111 | …→d91c283b7b758787b4d29126c1a9ac39dc14d6a7。','RTX准确Registry0.1.0发布包SHA另列,Git绑定未知;不借最新版。','五节点UE7.7;CreateVideo可连接fps:true,空扩展边记录不证明无改写,恢复/加载次序未知。'], +112 | …ry_objects=0,linked_saved_fields=1,frontend_only=1,final_scalars=0,final_prompt_constructed=False),fields=fields,sources=refs,comments=[],flow=flow,flow_evidence=list(range(len(refs))),zero_saved_nodes=[dict(node_id=… + | + +E501 Line too long (102 > 100) + --> docs/hel-892/rtx-video-document-evidence/fetch_sources.py:23:101 + | +21 | for e in json.loads((OLD / 'sources.json').read_bytes())['sources']: +22 | if e['id'] != 'rgthree': +23 | sources.append({**e, 'local_file': '../rtx-reference/' + e['local_file'], 'reused': True}) + | ^^ +24 | for key, paths in FILES.items(): +25 | tree = json.loads((OLD / (key + '-tree.json')).read_bytes()) + | + +E501 Line too long (106 > 100) + --> docs/hel-892/rtx-video-document-evidence/fetch_sources.py:38:101 + | +36 | (REF / name).write_bytes(raw) +37 | sources.append(dict(id=key, file=path, local_file=name, url=url, commit=commit, +38 | sha256=hashlib.sha256(raw).hexdigest(), git_blob_sha1=blob, reused=False)) + | ^^^^^^ +39 | (REF / 'sources.json').write_text(json.dumps({'sources': sources}, ensure_ascii=False, indent=2) + '\n') +40 | print('PASS exact new static texts', sum(not e.get('reused') for e in sources)) + | + +E501 Line too long (108 > 100) + --> docs/hel-892/rtx-video-document-evidence/fetch_sources.py:39:101 + | +37 | sources.append(dict(id=key, file=path, local_file=name, url=url, commit=commit, +38 | sha256=hashlib.sha256(raw).hexdigest(), git_blob_sha1=blob, reused=False)) +39 | (REF / 'sources.json').write_text(json.dumps({'sources': sources}, ensure_ascii=False, indent=2) + '\n') + | ^^^^^^^^ +40 | print('PASS exact new static texts', sum(not e.get('reused') for e in sources)) + | + +E501 Line too long (104 > 100) + --> docs/hel-892/rtx-video-document-evidence/verify_sources.py:20:101 + | +18 | assert e["git_commit_binding"] == "unknown" +19 | assert ( +20 | e["package_sha256"] == json.loads((old_ref / "rtx-package.json").read_bytes())["sha256"] + | ^^^^ +21 | ) +22 | package = (old_ref / "rtx-0.1.0-source.zip").read_bytes() + | + +Found 37 errors. +Traceback (most recent call last): + File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f463f48e2488/workdir/aigc-home/docs/hel-892/rtx-video-document-evidence/check_code.py", line 40, in + main() + File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-f463f48e2488/workdir/aigc-home/docs/hel-892/rtx-video-document-evidence/check_code.py", line 18, in main + subprocess.run( + File "/usr/lib/python3.10/subprocess.py", line 526, in run + raise CalledProcessError(retcode, process.args, +subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_rtx_video_fixed_document.py', 'e2e/run-rtx-video-document.py', 'docs/hel-892/rtx-video-document-evidence/build_definition.py', 'docs/hel-892/rtx-video-document-evidence/check_code.py', 'docs/hel-892/rtx-video-document-evidence/fetch_sources.py', 'docs/hel-892/rtx-video-document-evidence/rebuild.py', 'docs/hel-892/rtx-video-document-evidence/recompute.py', 'docs/hel-892/rtx-video-document-evidence/render_report.py', 'docs/hel-892/rtx-video-document-evidence/repeat.py', 'docs/hel-892/rtx-video-document-evidence/request_counts.py', 'docs/hel-892/rtx-video-document-evidence/verify_sources.py']' returned non-zero exit status 1. diff --git a/docs/hel-892/rtx-video-document-evidence/npm-ci.txt b/docs/hel-892/rtx-video-document-evidence/npm-ci.txt new file mode 100644 index 00000000..d397f2f6 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/npm-ci.txt @@ -0,0 +1,7 @@ + +added 255 packages, and audited 256 packages in 1s + +59 packages are looking for funding + run `npm fund` for details + +found 0 vulnerabilities diff --git a/docs/hel-892/rtx-video-document-evidence/package-check.json b/docs/hel-892/rtx-video-document-evidence/package-check.json new file mode 100644 index 00000000..af899cb1 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/package-check.json @@ -0,0 +1,23 @@ +[ + { + "file": "fixed_document.py", + "sha256": "7d71a12c789d57ee956fe8f0c9529894e3f04c254b22a0bcce9f252bf2a2b32a", + "wheel": true, + "sdist": true, + "definitions": 30 + }, + { + "file": "source_reviews.json", + "sha256": "a772f3f1471394faac9a81250dacd2aae457a36b1dde6b5b4d4baa3352fb698c", + "wheel": true, + "sdist": true, + "definitions": 30 + }, + { + "file": "library.py", + "sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c", + "wheel": true, + "sdist": true, + "definitions": 30 + } +] diff --git a/docs/hel-892/rtx-video-document-evidence/pins.json b/docs/hel-892/rtx-video-document-evidence/pins.json new file mode 100644 index 00000000..46f9ac25 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/pins.json @@ -0,0 +1,3 @@ +{ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json": "3292ebd97e523a9151c0836328dd8ed7af6d08bd812e5f38a8a7d0915cd8c084" +} diff --git a/docs/hel-892/rtx-video-document-evidence/pr-before.json b/docs/hel-892/rtx-video-document-evidence/pr-before.json new file mode 100644 index 00000000..92a476d1 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/pr-before.json @@ -0,0 +1,10 @@ +{ + "auto_complete": { + "issue_disabled": false, + "pull_request_ids": [], + "state": "none", + "target_status": "done", + "workspace_enabled": true + }, + "pull_requests": [] +} diff --git a/docs/hel-892/rtx-video-document-evidence/provider-pr-before.json b/docs/hel-892/rtx-video-document-evidence/provider-pr-before.json new file mode 100644 index 00000000..21860769 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/provider-pr-before.json @@ -0,0 +1,14 @@ +{ + "number": 25, + "state": "open", + "merged": false, + "url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25", + "head": { + "ref": "agent/agent/a64a969a6a44", + "sha": "334549a386565af15d42df3d7079553ee2c07b8a" + }, + "base": { + "ref": "main", + "sha": "1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532" + } +} diff --git a/docs/hel-892/rtx-video-document-evidence/python-check-files.json b/docs/hel-892/rtx-video-document-evidence/python-check-files.json new file mode 100644 index 00000000..799d1ef5 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/python-check-files.json @@ -0,0 +1,14 @@ +[ + "calliope-backend/src/calliope/comfyui/fixed_document.py", + "calliope-backend/tests/test_rtx_video_fixed_document.py", + "e2e/run-rtx-video-document.py", + "docs/hel-892/rtx-video-document-evidence/build_definition.py", + "docs/hel-892/rtx-video-document-evidence/check_code.py", + "docs/hel-892/rtx-video-document-evidence/fetch_sources.py", + "docs/hel-892/rtx-video-document-evidence/rebuild.py", + "docs/hel-892/rtx-video-document-evidence/recompute.py", + "docs/hel-892/rtx-video-document-evidence/render_report.py", + "docs/hel-892/rtx-video-document-evidence/repeat.py", + "docs/hel-892/rtx-video-document-evidence/request_counts.py", + "docs/hel-892/rtx-video-document-evidence/verify_sources.py" +] diff --git a/docs/hel-892/rtx-video-document-evidence/rebuild-final.txt b/docs/hel-892/rtx-video-document-evidence/rebuild-final.txt new file mode 100644 index 00000000..95b0c7fe --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/rebuild-final.txt @@ -0,0 +1 @@ +PASS one definition; other 155 reviews and old 29 blocks unchanged diff --git a/docs/hel-892/rtx-video-document-evidence/rebuild.py b/docs/hel-892/rtx-video-document-evidence/rebuild.py new file mode 100644 index 00000000..24dc70a4 --- /dev/null +++ b/docs/hel-892/rtx-video-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 = "334549a386565af15d42df3d7079553ee2c07b8a" +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 29 blocks unchanged")) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/rtx-video-document-evidence/recompute-final.txt b/docs/hel-892/rtx-video-document-evidence/recompute-final.txt new file mode 100644 index 00000000..1eb9f12c --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/recompute-final.txt @@ -0,0 +1,2 @@ +PASS exact sources {'git_texts': 12, 'package_texts': 4, 'reused_git_texts': 8} +PASS actual 334549a upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 30 definitions, frozen boundaries, wheel/sdist diff --git a/docs/hel-892/rtx-video-document-evidence/recompute.py b/docs/hel-892/rtx-video-document-evidence/recompute.py new file mode 100644 index 00000000..5d8bddef --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/recompute.py @@ -0,0 +1,330 @@ +"Actual 334549a 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) == 29 + 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()) == 895 + 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=29, + old_saved=895, + old_notes=21, + new_saved=9, + new_notes=0, + total_documents=30, + total_saved=904, + total_notes=21, + ), + ) + 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=9, + new_notes=0, + old_saved=895, + old_notes=21, + overviews=30, + 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_nine_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=30, + ) + ) + write("package-check.json", packages) + print( + "PASS actual 334549a upgrade1/skip154, repe" + "at155, rollback1, edits1/29cols, fresh155," + " 1217/3660/294, 30 definitions, frozen bou" + "ndaries, wheel/sdist" + ) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/rtx-video-document-evidence/render_report.py b/docs/hel-892/rtx-video-document-evidence/render_report.py new file mode 100644 index 00000000..9f09e087 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/render_report.py @@ -0,0 +1,116 @@ +"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 = [ + "# RTX视频放大固定参考中文说明", + "", + ( + "新增9标量保存位置(含上传占位和帧率外线缓存)+0源注释;旧29图895位置" + "+21注释逐对象不变。30图904+21仅参考展示。155完整定稿0/实跑0" + "/新增转换0。" + ), + "", + ( + "来源local_file以docs/hel-892/rtx-video-document" + "-evidence为基准;源SHA/全图摘要/定义摘要绑定;不加载上游代码、媒体或链接。" + ), + "", + ] + 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["input_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 / "RTX视频放大固定参考中文说明.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/rtx-video-document-evidence/repeat-final.txt b/docs/hel-892/rtx-video-document-evidence/repeat-final.txt new file mode 100644 index 00000000..df043325 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/repeat-final.txt @@ -0,0 +1 @@ +PASS deterministic definitions and rendered artifacts: zero difference diff --git a/docs/hel-892/rtx-video-document-evidence/repeat.py b/docs/hel-892/rtx-video-document-evidence/repeat.py new file mode 100644 index 00000000..5af75871 --- /dev/null +++ b/docs/hel-892/rtx-video-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 / "RTX视频放大固定参考中文说明.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=30, + 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/rtx-video-document-evidence/repeatability.json b/docs/hel-892/rtx-video-document-evidence/repeatability.json new file mode 100644 index 00000000..519103a0 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/repeatability.json @@ -0,0 +1,10 @@ +{ + "definitions": 30, + "repeated_build_equal": true, + "repeated_render_equal": true, + "resource_sha256": "3a7df30ed84856dade35624b576ae46009335ed41d1182387651c4866be3fc9d", + "artifacts": { + "fixed-source-index.json": "d4a483c5bb7e323c02f7613200bcafd6dbf6135d8043bd64e1ed610b95acb77a", + "RTX视频放大固定参考中文说明.md": "068d51bb1ac512d2eb6c24fb155ac2f4b4db3aade9b8153f495eacf0e90bd5b8" + } +} diff --git a/docs/hel-892/rtx-video-document-evidence/request-counts.txt b/docs/hel-892/rtx-video-document-evidence/request-counts.txt new file mode 100644 index 00000000..6286f36f --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/request-counts.txt @@ -0,0 +1 @@ +{"total": 106, "fixed_count": 98, "polling_count": 8, "paths": {"/api/workflows": 3, "/api/workflows/27": 4, "/api/workflows/26": 4, "/api/workflows/17": 3, "/api/workflows/4": 3, "/api/workflows/15": 3, "/api/workflows/11": 3, "/api/workflows/3": 3, "/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": 8, "/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/rtx-video-document-evidence/request_counts.py b/docs/hel-892/rtx-video-document-evidence/request_counts.py new file mode 100644 index 00000000..beef1d25 --- /dev/null +++ b/docs/hel-892/rtx-video-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/rtx-video-document-evidence/review-delta.json b/docs/hel-892/rtx-video-document-evidence/review-delta.json new file mode 100644 index 00000000..701adfdc --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/review-delta.json @@ -0,0 +1,15 @@ +{ + "base": "334549a386565af15d42df3d7079553ee2c07b8a", + "changed_paths": [ + "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json" + ], + "other_reviews_unchanged": 155, + "old_blocks_unchanged": 29, + "old_saved": 895, + "old_notes": 21, + "new_saved": 9, + "new_notes": 0, + "total_documents": 30, + "total_saved": 904, + "total_notes": 21 +} diff --git a/docs/hel-892/rtx-video-document-evidence/server-request-accounting.json b/docs/hel-892/rtx-video-document-evidence/server-request-accounting.json new file mode 100644 index 00000000..3963ba2a --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/server-request-accounting.json @@ -0,0 +1,45 @@ +{ + "total": 106, + "fixed_count": 98, + "polling_count": 8, + "paths": { + "/api/workflows": 3, + "/api/workflows/27": 4, + "/api/workflows/26": 4, + "/api/workflows/17": 3, + "/api/workflows/4": 3, + "/api/workflows/15": 3, + "/api/workflows/11": 3, + "/api/workflows/3": 3, + "/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": 8, + "/api/settings": 1, + "/api/workflows/156": 1, + "/api/workflows/157": 1 + }, + "readiness_included": 1, + "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。", + "browser_local_intercepted_details": 6 +} diff --git a/docs/hel-892/rtx-video-document-evidence/service-0.txt b/docs/hel-892/rtx-video-document-evidence/service-0.txt new file mode 100644 index 00000000..79a34b90 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/service-0.txt @@ -0,0 +1,115 @@ +INFO: Started server process [719070] +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': {'skipped': 154, 'updated': 1, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}} +INFO: 127.0.0.1:42194 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/27 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/26 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/17 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/4 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/15 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42210 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42204 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42220 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:42212 - "GET /api/settings HTTP/1.1" 200 OK +INFO: 127.0.0.1:42228 - "GET /api/workflows HTTP/1.1" 200 OK +INFO: 127.0.0.1:42234 - "GET /api/workflows/27 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42248 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:42254 - "GET /api/workflows/26 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42258 - "GET /api/workflows/17 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42270 - "GET /api/workflows/4 HTTP/1.1" 200 OK +INFO: 127.0.0.1:42280 - "GET /api/workflows/15 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46298 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46314 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46324 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46332 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46344 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46352 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46356 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46370 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46372 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46380 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46386 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46400 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46402 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46416 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46424 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:46438 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46446 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46448 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46458 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:46466 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46478 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46482 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46492 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46502 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46506 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46512 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46516 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:46532 - "GET /api/workflows/27 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58942 - "GET /api/workflows/26 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58950 - "GET /api/workflows/17 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58952 - "GET /api/workflows/4 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58958 - "GET /api/workflows/15 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58960 - "GET /api/workflows/11 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58972 - "GET /api/workflows/3 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58980 - "GET /api/workflows/9 HTTP/1.1" 200 OK +INFO: 127.0.0.1:58996 - "GET /api/workflows/16 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59010 - "GET /api/workflows/10 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59018 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:59030 - "GET /api/workflows/23 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59038 - "GET /api/workflows/8 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59048 - "GET /api/workflows/22 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59058 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:59070 - "GET /api/workflows/5 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59078 - "GET /api/workflows/6 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59092 - "GET /api/workflows/7 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59096 - "GET /api/workflows/19 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59104 - "GET /api/workflows/13 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59106 - "GET /api/workflows/12 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59122 - "GET /api/workflows/64 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59124 - "GET /api/workflows/62 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59126 - "GET /api/workflows/70 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59130 - "GET /api/workflows/1 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59146 - "GET /api/workflows/36 HTTP/1.1" 200 OK +INFO: 127.0.0.1:59158 - "GET /api/workflows/35 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43192 - "GET /api/workflows/2 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43204 - "GET /api/workflows/25 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43220 - "GET /api/workflows/24 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43224 - "GET /api/workflows/21 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43226 - "GET /api/workflows/14 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43228 - "GET /api/workflows/156 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43230 - "GET /api/workflows/157 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43236 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:43246 - "GET /api/workflows/26 HTTP/1.1" 200 OK +INFO: 127.0.0.1:43256 - "GET /api/jobs HTTP/1.1" 404 Not Found +INFO: 127.0.0.1:43258 - "GET /api/workflows/27 HTTP/1.1" 200 OK +INFO: Shutting down +INFO: Waiting for application shutdown. +INFO: Application shutdown complete. +INFO: Finished server process [719070] diff --git a/docs/hel-892/rtx-video-document-evidence/service-1.txt b/docs/hel-892/rtx-video-document-evidence/service-1.txt new file mode 100644 index 00000000..da2ff401 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/service-1.txt @@ -0,0 +1,4 @@ + + VITE v6.4.3 ready in 279 ms + + ➜ Local: http://127.0.0.1:5173/ diff --git a/docs/hel-892/rtx-video-document-evidence/service-stop.json b/docs/hel-892/rtx-video-document-evidence/service-stop.json new file mode 100644 index 00000000..ddd36fda --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/service-stop.json @@ -0,0 +1 @@ +{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]} diff --git a/docs/hel-892/rtx-video-document-evidence/source-check-final.txt b/docs/hel-892/rtx-video-document-evidence/source-check-final.txt new file mode 100644 index 00000000..cf0635d1 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/source-check-final.txt @@ -0,0 +1 @@ +PASS exact sources {'git_texts': 12, 'package_texts': 4, 'reused_git_texts': 8} diff --git a/docs/hel-892/rtx-video-document-evidence/source-check.json b/docs/hel-892/rtx-video-document-evidence/source-check.json new file mode 100644 index 00000000..57a31fd8 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/source-check.json @@ -0,0 +1,13 @@ +{ + "git_texts": 12, + "package_texts": 4, + "reused_git_texts": 8, + "citations": 31, + "tags": { + "core": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "frontend": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7" + }, + "package_git_binding": "unknown", + "all_pass": true, + "local_file_base": "docs/hel-892/rtx-video-document-evidence" +} diff --git a/docs/hel-892/rtx-video-document-evidence/tested-files.json b/docs/hel-892/rtx-video-document-evidence/tested-files.json new file mode 100644 index 00000000..5bdd22bd --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/tested-files.json @@ -0,0 +1,194 @@ +[ + { + "path": "calliope-backend/src/calliope/comfyui/fixed_document.py", + "sha256": "7d71a12c789d57ee956fe8f0c9529894e3f04c254b22a0bcce9f252bf2a2b32a" + }, + { + "path": "calliope-backend/src/calliope/comfyui/source_reviews.json", + "sha256": "a772f3f1471394faac9a81250dacd2aae457a36b1dde6b5b4d4baa3352fb698c" + }, + { + "path": "calliope-backend/tests/test_rtx_video_fixed_document.py", + "sha256": "dfbe4c6ef61b0b9ba85a82ab78f3231db5ca11d78889bd1231299bdf9c03178f" + }, + { + "path": "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte", + "sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1" + }, + { + "path": "docs/hel-892/rtx-reference/core-tag.json", + "sha256": "bfd501be6d7060c68dea02ccf0de40e0539261d5c45bbc88e59d27be4bca046a" + }, + { + "path": "docs/hel-892/rtx-reference/core-tree.json", + "sha256": "d2c13e72c8b323feb18637f0c58d86ef61de979bef8fd6c5435ee2a66bac8fdf" + }, + { + "path": "docs/hel-892/rtx-reference/core__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "path": "docs/hel-892/rtx-reference/core__comfy_api__latest___io.py", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d" + }, + { + "path": "docs/hel-892/rtx-reference/core__folder_paths.py", + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112" + }, + { + "path": "docs/hel-892/rtx-reference/core__nodes.py", + "sha256": "bd6a3ba78328fd8ee88bed781d3c18a6abee83ee4097feb9922d6e2bf11a444b" + }, + { + "path": "docs/hel-892/rtx-reference/frontend-tag.json", + "sha256": "dbdd4d0ae2a418a58198a20be9606992af165501135c34b2c459b11fdb8641a1" + }, + { + "path": "docs/hel-892/rtx-reference/frontend-tree.json", + "sha256": "8ca01151e0085db0857de45776d9bdbcbdc3faf822003ff65d11fb8c32986319" + }, + { + "path": "docs/hel-892/rtx-reference/frontend__LICENSE", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986" + }, + { + "path": "docs/hel-892/rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e" + }, + { + "path": "docs/hel-892/rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04" + }, + { + "path": "docs/hel-892/rtx-reference/frontend__src__scripts__widgets.ts", + "sha256": "a538a4d4dd033b4b336abc6ac68b19eb31dee600294f9eba8e57e0802322fafd" + }, + { + "path": "docs/hel-892/rtx-reference/rtx-0.1.0-source.zip", + "sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba" + }, + { + "path": "docs/hel-892/rtx-reference/rtx-package.json", + "sha256": "9421615e773d60b19605d881d2728fdb0ba310b8de7c305fec332398fe824fe2" + }, + { + "path": "docs/hel-892/rtx-reference/rtx__LICENSE", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4" + }, + { + "path": "docs/hel-892/rtx-reference/rtx__README.md", + "sha256": "101a431194f67624b63f78b819b1a6bf1f5571e90351e10c440ae5e0560011f0" + }, + { + "path": "docs/hel-892/rtx-reference/rtx____init__.py", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9" + }, + { + "path": "docs/hel-892/rtx-reference/rtx__pyproject.toml", + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/build_definition.py", + "sha256": "b9fb1de4282c547b8cc463990c41c7eb74b1329726e436ea4145061b862d95ca" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/check_code.py", + "sha256": "c2fef6beeb21497e0fefef117d4d36982c829ce3b4f70e86230eaba4720bfa5f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/fetch_sources.py", + "sha256": "a3264caa5c8b156ae9708ac0b40a69bf42562fbefaebfb4e658f64d29cc66615" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/rebuild.py", + "sha256": "29361317546ae52594635989092e67607e5ceddc7dbe679eb395afff11681eb6" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/recompute.py", + "sha256": "6427197d082eebc08ff909e5403d86bea87c63de429f8f9f039dbb3fc191e072" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/render_report.py", + "sha256": "882db64ea441f1ccf95e67a15d2ae532fecf83e142d60dcf5c958e02355e53bf" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/repeat.py", + "sha256": "5145954a0149996bc0be351abac1f5903715367fe38dd965a9848b3a2e3c8780" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/request_counts.py", + "sha256": "982d4859e01e9a3e3ef9746fc8b7f447b4ea63fbdf414f13de3bbaaaedd2d58f" + }, + { + "path": "docs/hel-892/rtx-video-document-evidence/verify_sources.py", + "sha256": "879dbe01701fcbc1d656664760efab5b67f85108a1e5780f723c14aa98157b34" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02" + }, + { + "path": "docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575" + }, + { + "path": "docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033" + }, + { + "path": "docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1" + }, + { + "path": "docs/hel-892/rtx-video-reference/sources.json", + "sha256": "0eb61dd20c46ec55b19ac81f925acb2a6edaed3d2961da71c776a594304c355e" + }, + { + "path": "e2e/rtx-video-document.mjs", + "sha256": "6e80fdf770b3008bd324725adbdf2902f89c1a76bf38336373f5659d28fb1138" + }, + { + "path": "e2e/run-rtx-video-document.py", + "sha256": "bfb8496c56544ca43ceef51cd33fe437b33d77706efc9c3876e3a53a0dcc3758" + }, + { + "path": "e2e/workflow-document-server.py", + "sha256": "539c54c1eafe6644cba117cf5550af918c97b48aef4b29d2c6378881204742e2" + }, + { + "path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json", + "sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec" + } +] diff --git a/docs/hel-892/rtx-video-document-evidence/validation-commands.txt b/docs/hel-892/rtx-video-document-evidence/validation-commands.txt new file mode 100644 index 00000000..5f7271e7 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/validation-commands.txt @@ -0,0 +1,17 @@ +# 仓库根;复用锁定依赖和准确静态文本,不执行上游/GPU/媒体,不连接目标。 +PYTHONDONTWRITEBYTECODE=1 uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline +npm ci --prefix calliope-web --ignore-scripts --offline +PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/rtx-video-document-evidence/verify_sources.py +PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/rtx-video-document-evidence/rebuild.py +PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_rtx_video_fixed_document.py calliope-backend/tests/test_workflow_library.py -q +PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/rtx-video-document-evidence/check_code.py +PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline +PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/rtx-video-document-evidence/recompute.py +PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/rtx-video-document-evidence/repeat.py +PYTHONDONTWRITEBYTECODE=1 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-rtx-video-document.py +# 浏览同步结束,finally停两服务并核端口;结果/截图在.local-evidence/rtx-video-document/browser。 +# 将browser-results.json/service-stop.json及service-0.log(改名service-0.txt)复制本证据目录后: +PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/rtx-video-document-evidence/request_counts.py +# 需要重取时:fetch_sources.py只读准确commit的12个新增文本,复用8个既有Git文本与4个准确Registry包成员;不抓运行库/模型/素材。 +# 真实本head旧库基线334549a386565af15d42df3d7079553ee2c07b8a。 +# 样例报告:source-check.json/review-delta.json/import-protection.json/package-check.json/repeatability.json/browser-results.json。 diff --git a/docs/hel-892/rtx-video-document-evidence/verify_sources.py b/docs/hel-892/rtx-video-document-evidence/verify_sources.py new file mode 100644 index 00000000..77eaba3d --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/verify_sources.py @@ -0,0 +1,69 @@ +"Verify exact static source bytes, tag/tree identities and evidence lines offline." + +import hashlib +import json +import zipfile + +from build_definition import OUT, REF, build + + +def main(): + es = json.loads((REF / "sources.json").read_bytes())["sources"] + counts = {"git_texts": 0, "package_texts": 0, "reused_git_texts": 0} + old_ref = REF.parent / "rtx-reference" + for e in es: + raw = (REF / e["local_file"]).read_bytes() + assert hashlib.sha256(raw).hexdigest() == e["sha256"] + if e["id"] == "rtx": + assert e["git_commit_binding"] == "unknown" + assert ( + e["package_sha256"] + == json.loads((old_ref / "rtx-package.json").read_bytes())["sha256"] + ) + package = (old_ref / "rtx-0.1.0-source.zip").read_bytes() + assert hashlib.sha256(package).hexdigest() == e["package_sha256"] + with zipfile.ZipFile(old_ref / "rtx-0.1.0-source.zip") as z: + assert z.read(e["file"]) == raw + counts["package_texts"] += 1 + else: + tree = json.loads((old_ref / (e["id"] + "-tree.json")).read_bytes()) + assert tree["sha"] == e["commit"] and not tree["truncated"] + blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() + assert ( + blob + == e["git_blob_sha1"] + == next(x["sha"] for x in tree["tree"] if x["path"] == e["file"]) + ) + counts["reused_git_texts" if e.get("reused") else "git_texts"] += 1 + tags = {} + for key in ["core", "frontend"]: + t = json.loads((old_ref / (key + "-tag.json")).read_bytes()) + assert t["object"]["type"] == "commit" and t["object"]["sha"] == next( + e["commit"] for e in es if e["id"] == key + ) + tags[key] = t["object"]["sha"] + b = build() + for e in b["sources"]: + 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()) + (OUT / "source-check.json").write_text( + json.dumps( + dict( + **counts, + citations=len(b["sources"]), + tags=tags, + package_git_binding="unknown", + all_pass=True, + local_file_base="docs/hel-892/rtx-video-document-evidence", + ), + ensure_ascii=False, + indent=2, + ) + + "\n" + ) + print("PASS exact sources", counts) + + +if __name__ == "__main__": + main() diff --git a/docs/hel-892/rtx-video-document-evidence/visual-review.txt b/docs/hel-892/rtx-video-document-evidence/visual-review.txt new file mode 100644 index 00000000..0e4ad384 --- /dev/null +++ b/docs/hel-892/rtx-video-document-evidence/visual-review.txt @@ -0,0 +1,4 @@ +实际目验最终本地截图:1440-27-default.png、390-27-default.png、1440-27-branch-flow.png、1440-27-1-resize_type.scale.png。 +1440与390:用途先显示拆分→仅画面RTX→原音频/FPS重组,倍率1/帧率30覆盖及未知同步/设备效果可读;未定稿/未实跑标签保持。源审校、技术范围及字段默认折叠;窄屏自然换行,无横溢。 +1440技术展开:六边、零保存[]、FPS外线、倍率取整与分批、音轨/编码条件可读;字段展开显示精确保留int1、默认2.0/单位/范围/执行限制和源码行/摘要。最终补充源输入口双指针,仍在字段展开后显示。 +产品Drawer整文件未改。截图仅随卡附件交付,不新增进仓库。 diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py b/docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py new file mode 100644 index 00000000..68ff7827 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__input____init__.py @@ -0,0 +1,16 @@ +# This file only exists for backwards compatibility. +from comfy_api.latest._input import ( + ImageInput, + AudioInput, + MaskInput, + LatentInput, + VideoInput, +) + +__all__ = [ + "ImageInput", + "AudioInput", + "MaskInput", + "LatentInput", + "VideoInput", +] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py b/docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py new file mode 100644 index 00000000..9ace78cb --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__input__video_types.py @@ -0,0 +1,6 @@ +# This file only exists for backwards compatibility. +from comfy_api.latest._input.video_types import VideoInput + +__all__ = [ + "VideoInput", +] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py new file mode 100644 index 00000000..14f0e72f --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input____init__.py @@ -0,0 +1,10 @@ +from .basic_types import ImageInput, AudioInput, MaskInput, LatentInput +from .video_types import VideoInput + +__all__ = [ + "ImageInput", + "AudioInput", + "VideoInput", + "MaskInput", + "LatentInput", +] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py new file mode 100644 index 00000000..d73deabd --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__basic_types.py @@ -0,0 +1,42 @@ +import torch +from typing import TypedDict, Optional + +ImageInput = torch.Tensor +""" +An image in format [B, H, W, C] where B is the batch size, C is the number of channels, +""" + +MaskInput = torch.Tensor +""" +A mask in format [B, H, W] where B is the batch size +""" + +class AudioInput(TypedDict): + """ + TypedDict representing audio input. + """ + + waveform: torch.Tensor + """ + Tensor in the format [B, C, T] where B is the batch size, C is the number of channels, + """ + + sample_rate: int + +class LatentInput(TypedDict): + """ + TypedDict representing latent input. + """ + + samples: torch.Tensor + """ + Tensor in the format [B, C, H, W] where B is the batch size, C is the number of channels, + H is the height, and W is the width. + """ + + noise_mask: Optional[MaskInput] + """ + Optional noise mask tensor in the same format as samples. + """ + + batch_index: Optional[list[int]] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py new file mode 100644 index 00000000..451e9526 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input__video_types.py @@ -0,0 +1,128 @@ +from __future__ import annotations +from abc import ABC, abstractmethod +from fractions import Fraction +from typing import Optional, Union, IO +import io +import av +from .._util import VideoContainer, VideoCodec, VideoComponents + +class VideoInput(ABC): + """ + Abstract base class for video input types. + """ + + @abstractmethod + def get_components(self) -> VideoComponents: + """ + Abstract method to get the video components (images, audio, and frame rate). + + Returns: + VideoComponents containing images, audio, and frame rate + """ + pass + + @abstractmethod + def save_to( + self, + path: Union[str, IO[bytes]], + format: VideoContainer = VideoContainer.AUTO, + codec: VideoCodec = VideoCodec.AUTO, + metadata: Optional[dict] = None + ): + """ + Abstract method to save the video input to a file. + """ + pass + + @abstractmethod + def as_trimmed( + self, + start_time: float | None = None, + duration: float | None = None, + strict_duration: bool = False, + ) -> VideoInput | None: + """ + Create a new VideoInput which is trimmed to have the corresponding start_time and duration + + Returns: + A new VideoInput, or None if the result would have negative duration + """ + pass + + def get_stream_source(self) -> Union[str, io.BytesIO]: + """ + Get a streamable source for the video. This allows processing without + loading the entire video into memory. + + Returns: + Either a file path (str) or a BytesIO object that can be opened with av. + + Default implementation creates a BytesIO buffer, but subclasses should + override this for better performance when possible. + """ + buffer = io.BytesIO() + self.save_to(buffer) + buffer.seek(0) + return buffer + + # Provide a default implementation, but subclasses can provide optimized versions + # if possible. + def get_dimensions(self) -> tuple[int, int]: + """ + Returns the dimensions of the video input. + + Returns: + Tuple of (width, height) + """ + components = self.get_components() + return components.images.shape[2], components.images.shape[1] + + def get_duration(self) -> float: + """ + Returns the duration of the video in seconds. + + Returns: + Duration in seconds + """ + components = self.get_components() + frame_count = components.images.shape[0] + return float(frame_count / components.frame_rate) + + def get_frame_count(self) -> int: + """ + Returns the number of frames in the video. + + Default implementation uses :meth:`get_components`, which may require + loading all frames into memory. File-based implementations should + override this method and use container/stream metadata instead. + + Returns: + Total number of frames as an integer. + """ + return int(self.get_components().images.shape[0]) + + def get_frame_rate(self) -> Fraction: + """ + Returns the frame rate of the video. + + Default implementation materializes the video into memory via + `get_components()`. Subclasses that can inspect the underlying + container (e.g. `VideoFromFile`) should override this with a more + efficient implementation. + + Returns: + Frame rate as a Fraction. + """ + return self.get_components().frame_rate + + def get_container_format(self) -> str: + """ + Returns the container format of the video (e.g., 'mp4', 'mov', 'avi'). + + Returns: + Container format as string + """ + # Default implementation - subclasses should override for better performance + source = self.get_stream_source() + with av.open(source, mode="r") as container: + return container.format.name diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py new file mode 100644 index 00000000..02901b8b --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl____init__.py @@ -0,0 +1,7 @@ +from .video_types import VideoFromFile, VideoFromComponents + +__all__ = [ + # Implementations + "VideoFromFile", + "VideoFromComponents", +] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py new file mode 100644 index 00000000..58a37c9e --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___input_impl__video_types.py @@ -0,0 +1,469 @@ +from __future__ import annotations +from av.container import InputContainer +from av.subtitles.stream import SubtitleStream +from fractions import Fraction +from typing import Optional +from .._input import AudioInput, VideoInput +import av +import io +import itertools +import json +import numpy as np +import math +import torch +from .._util import VideoContainer, VideoCodec, VideoComponents + + +def container_to_output_format(container_format: str | None) -> str | None: + """ + A container's `format` may be a comma-separated list of formats. + E.g., iso container's `format` may be `mov,mp4,m4a,3gp,3g2,mj2`. + However, writing to a file/stream with `av.open` requires a single format, + or `None` to auto-detect. + """ + if not container_format: + return None # Auto-detect + + if "," not in container_format: + return container_format + + formats = container_format.split(",") + return formats[0] + +def get_open_write_kwargs( + dest: str | io.BytesIO, container_format: str, to_format: str | None +) -> dict: + """Get kwargs for writing a `VideoFromFile` to a file/stream with `av.open`""" + open_kwargs = { + "mode": "w", + # If isobmff, preserve custom metadata tags (workflow, prompt, extra_pnginfo) + "options": {"movflags": "use_metadata_tags"}, + } + + is_write_to_buffer = isinstance(dest, io.BytesIO) + if is_write_to_buffer: + # Set output format explicitly, since it cannot be inferred from file extension + if to_format == VideoContainer.AUTO: + to_format = container_format.lower() + elif isinstance(to_format, str): + to_format = to_format.lower() + open_kwargs["format"] = container_to_output_format(to_format) + + return open_kwargs + + +class VideoFromFile(VideoInput): + """ + Class representing video input from a file. + """ + + def __init__(self, file: str | io.BytesIO, *, start_time: float=0, duration: float=0): + """ + Initialize the VideoFromFile object based off of either a path on disk or a BytesIO object + containing the file contents. + """ + self.__file = file + self.__start_time = start_time + self.__duration = duration + + def get_stream_source(self) -> str | io.BytesIO: + """ + Return the underlying file source for efficient streaming. + This avoids unnecessary memory copies when the source is already a file path. + """ + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) + return self.__file + + def get_dimensions(self) -> tuple[int, int]: + """ + Returns the dimensions of the video input. + + Returns: + Tuple of (width, height) + """ + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) # Reset the BytesIO object to the beginning + with av.open(self.__file, mode='r') as container: + for stream in container.streams: + if stream.type == 'video': + assert isinstance(stream, av.VideoStream) + return stream.width, stream.height + raise ValueError(f"No video stream found in file '{self.__file}'") + + def get_duration(self) -> float: + """ + Returns the duration of the video in seconds. + + Returns: + Duration in seconds + """ + raw_duration = self._get_raw_duration() + if self.__start_time < 0: + duration_from_start = min(raw_duration, -self.__start_time) + else: + duration_from_start = raw_duration - self.__start_time + if self.__duration: + return min(self.__duration, duration_from_start) + return duration_from_start + + def _get_raw_duration(self) -> float: + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) + with av.open(self.__file, mode="r") as container: + if container.duration is not None: + return float(container.duration / av.time_base) + + # Fallback: calculate from frame count and frame rate + video_stream = next( + (s for s in container.streams if s.type == "video"), None + ) + if video_stream and video_stream.frames and video_stream.average_rate: + return float(video_stream.frames / video_stream.average_rate) + + # Last resort: decode frames to count them + if video_stream and video_stream.average_rate: + frame_count = 0 + container.seek(0) + frame_iterator = ( + container.decode(video_stream) + if video_stream.codec.capabilities & 0x100 + else container.demux(video_stream) + ) + for packet in frame_iterator: + frame_count += 1 + if frame_count > 0: + return float(frame_count / video_stream.average_rate) + + raise ValueError(f"Could not determine duration for file '{self.__file}'") + + def get_frame_count(self) -> int: + """ + Returns the number of frames in the video without materializing them as + torch tensors. + """ + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) + + with av.open(self.__file, mode="r") as container: + video_stream = self._get_first_video_stream(container) + # 1. Prefer the frames field if available and usable + if ( + video_stream.frames + and video_stream.frames > 0 + and not self.__start_time + and not self.__duration + ): + return int(video_stream.frames) + + # 2. Try to estimate from duration and average_rate using only metadata + if ( + getattr(video_stream, "duration", None) is not None + and getattr(video_stream, "time_base", None) is not None + and video_stream.average_rate + ): + raw_duration = float(video_stream.duration * video_stream.time_base) + if self.__start_time < 0: + duration_from_start = min(raw_duration, -self.__start_time) + else: + duration_from_start = raw_duration - self.__start_time + duration_seconds = min(self.__duration, duration_from_start) + estimated_frames = int(round(duration_seconds * float(video_stream.average_rate))) + if estimated_frames > 0: + return estimated_frames + + # 3. Last resort: decode frames and count them (streaming) + if self.__start_time < 0: + start_time = max(self._get_raw_duration() + self.__start_time, 0) + else: + start_time = self.__start_time + frame_count = 1 + start_pts = int(start_time / video_stream.time_base) + end_pts = int((start_time + self.__duration) / video_stream.time_base) + container.seek(start_pts, stream=video_stream) + frame_iterator = ( + container.decode(video_stream) + if video_stream.codec.capabilities & 0x100 + else container.demux(video_stream) + ) + for frame in frame_iterator: + if frame.pts >= start_pts: + break + else: + raise ValueError(f"Could not determine frame count for file '{self.__file}'\nNo frames exist for start_time {self.__start_time}") + for frame in frame_iterator: + if frame.pts >= end_pts: + break + frame_count += 1 + return frame_count + + def get_frame_rate(self) -> Fraction: + """ + Returns the average frame rate of the video using container metadata + without decoding all frames. + """ + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) + + with av.open(self.__file, mode="r") as container: + video_stream = self._get_first_video_stream(container) + # Preferred: use PyAV's average_rate (usually already a Fraction-like) + if video_stream.average_rate: + return Fraction(video_stream.average_rate) + + # Fallback: estimate from frames + duration if available + if video_stream.frames and container.duration: + duration_seconds = float(container.duration / av.time_base) + if duration_seconds > 0: + return Fraction(video_stream.frames / duration_seconds).limit_denominator() + + # Last resort: match get_components_internal default + return Fraction(1) + + def get_container_format(self) -> str: + """ + Returns the container format of the video (e.g., 'mp4', 'mov', 'avi'). + + Returns: + Container format as string + """ + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) + with av.open(self.__file, mode='r') as container: + return container.format.name + + def get_components_internal(self, container: InputContainer) -> VideoComponents: + video_stream = self._get_first_video_stream(container) + if self.__start_time < 0: + start_time = max(self._get_raw_duration() + self.__start_time, 0) + else: + start_time = self.__start_time + # Get video frames + frames = [] + start_pts = int(start_time / video_stream.time_base) + end_pts = int((start_time + self.__duration) / video_stream.time_base) + container.seek(start_pts, stream=video_stream) + for frame in container.decode(video_stream): + if frame.pts < start_pts: + continue + if self.__duration and frame.pts >= end_pts: + break + img = frame.to_ndarray(format='rgb24') # shape: (H, W, 3) + img = torch.from_numpy(img) / 255.0 # shape: (H, W, 3) + frames.append(img) + + images = torch.stack(frames) if len(frames) > 0 else torch.zeros(0, 3, 0, 0) + + # Get frame rate + frame_rate = Fraction(video_stream.average_rate) if video_stream.average_rate else Fraction(1) + + # Get audio if available + audio = None + container.seek(start_pts, stream=video_stream) + # Use last stream for consistency + if len(container.streams.audio): + audio_stream = container.streams.audio[-1] + audio_frames = [] + resample = av.audio.resampler.AudioResampler(format='fltp').resample + frames = itertools.chain.from_iterable( + map(resample, container.decode(audio_stream)) + ) + + has_first_frame = False + for frame in frames: + offset_seconds = start_time - frame.pts * audio_stream.time_base + to_skip = int(offset_seconds * audio_stream.sample_rate) + if to_skip < frame.samples: + has_first_frame = True + break + if has_first_frame: + audio_frames.append(frame.to_ndarray()[..., to_skip:]) + + for frame in frames: + if frame.time > start_time + self.__duration: + break + audio_frames.append(frame.to_ndarray()) # shape: (channels, samples) + if len(audio_frames) > 0: + audio_data = np.concatenate(audio_frames, axis=1) # shape: (channels, total_samples) + if self.__duration: + audio_data = audio_data[..., :int(self.__duration * audio_stream.sample_rate)] + + audio_tensor = torch.from_numpy(audio_data).unsqueeze(0) # shape: (1, channels, total_samples) + audio = AudioInput({ + "waveform": audio_tensor, + "sample_rate": int(audio_stream.sample_rate) if audio_stream.sample_rate else 1, + }) + + metadata = container.metadata + return VideoComponents(images=images, audio=audio, frame_rate=frame_rate, metadata=metadata) + + def get_components(self) -> VideoComponents: + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) # Reset the BytesIO object to the beginning + with av.open(self.__file, mode='r') as container: + return self.get_components_internal(container) + raise ValueError(f"No video stream found in file '{self.__file}'") + + def save_to( + self, + path: str | io.BytesIO, + format: VideoContainer = VideoContainer.AUTO, + codec: VideoCodec = VideoCodec.AUTO, + metadata: Optional[dict] = None, + ): + if isinstance(self.__file, io.BytesIO): + self.__file.seek(0) # Reset the BytesIO object to the beginning + with av.open(self.__file, mode='r') as container: + container_format = container.format.name + video_encoding = container.streams.video[0].codec.name if len(container.streams.video) > 0 else None + reuse_streams = True + if format != VideoContainer.AUTO and format not in container_format.split(","): + reuse_streams = False + if codec != VideoCodec.AUTO and codec != video_encoding and video_encoding is not None: + reuse_streams = False + if self.__start_time or self.__duration: + reuse_streams = False + + if not reuse_streams: + components = self.get_components_internal(container) + video = VideoFromComponents(components) + return video.save_to( + path, format=format, codec=codec, metadata=metadata + ) + + streams = container.streams + + open_kwargs = get_open_write_kwargs(path, container_format, format) + with av.open(path, **open_kwargs) as output_container: + # Copy over the original metadata + for key, value in container.metadata.items(): + if metadata is None or key not in metadata: + output_container.metadata[key] = value + + # Add our new metadata + if metadata is not None: + for key, value in metadata.items(): + if isinstance(value, str): + output_container.metadata[key] = value + else: + output_container.metadata[key] = json.dumps(value) + + # Add streams to the new container + stream_map = {} + for stream in streams: + if isinstance(stream, (av.VideoStream, av.AudioStream, SubtitleStream)): + out_stream = output_container.add_stream_from_template(template=stream, opaque=True) + stream_map[stream] = out_stream + + # Write packets to the new container + for packet in container.demux(): + if packet.stream in stream_map and packet.dts is not None: + packet.stream = stream_map[packet.stream] + output_container.mux(packet) + + def _get_first_video_stream(self, container: InputContainer): + if len(container.streams.video): + return container.streams.video[0] + raise ValueError(f"No video stream found in file '{self.__file}'") + + def as_trimmed( + self, start_time: float = 0, duration: float = 0, strict_duration: bool = True + ) -> VideoInput | None: + trimmed = VideoFromFile( + self.get_stream_source(), + start_time=start_time + self.__start_time, + duration=duration, + ) + if trimmed.get_duration() < duration and strict_duration: + return None + return trimmed + + +class VideoFromComponents(VideoInput): + """ + Class representing video input from tensors. + """ + + def __init__(self, components: VideoComponents): + self.__components = components + + def get_components(self) -> VideoComponents: + return VideoComponents( + images=self.__components.images, + audio=self.__components.audio, + frame_rate=self.__components.frame_rate, + ) + + def save_to( + self, + path: str, + format: VideoContainer = VideoContainer.AUTO, + codec: VideoCodec = VideoCodec.AUTO, + metadata: Optional[dict] = None, + ): + """Save the video to a file path or BytesIO buffer.""" + if format != VideoContainer.AUTO and format != VideoContainer.MP4: + raise ValueError("Only MP4 format is supported for now") + if codec != VideoCodec.AUTO and codec != VideoCodec.H264: + raise ValueError("Only H264 codec is supported for now") + extra_kwargs = {} + if isinstance(format, VideoContainer) and format != VideoContainer.AUTO: + extra_kwargs["format"] = format.value + elif isinstance(path, io.BytesIO): + # BytesIO has no file extension, so av.open can't infer the format. + # Default to mp4 since that's the only supported format anyway. + extra_kwargs["format"] = "mp4" + with av.open(path, mode='w', options={'movflags': 'use_metadata_tags'}, **extra_kwargs) as output: + # Add metadata before writing any streams + if metadata is not None: + for key, value in metadata.items(): + output.metadata[key] = json.dumps(value) + + frame_rate = Fraction(round(self.__components.frame_rate * 1000), 1000) + # Create a video stream + video_stream = output.add_stream('h264', rate=frame_rate) + video_stream.width = self.__components.images.shape[2] + video_stream.height = self.__components.images.shape[1] + video_stream.pix_fmt = 'yuv420p' + + # Create an audio stream + audio_sample_rate = 1 + audio_stream: Optional[av.AudioStream] = None + if self.__components.audio: + audio_sample_rate = int(self.__components.audio['sample_rate']) + waveform = self.__components.audio['waveform'] + waveform = waveform[0, :, :math.ceil((audio_sample_rate / frame_rate) * self.__components.images.shape[0])] + layout = {1: 'mono', 2: 'stereo', 6: '5.1'}.get(waveform.shape[0], 'stereo') + audio_stream = output.add_stream('aac', rate=audio_sample_rate, layout=layout) + + # Encode video + for i, frame in enumerate(self.__components.images): + img = (frame * 255).clamp(0, 255).byte().cpu().numpy() # shape: (H, W, 3) + frame = av.VideoFrame.from_ndarray(img, format='rgb24') + frame = frame.reformat(format='yuv420p') # Convert to YUV420P as required by h264 + packet = video_stream.encode(frame) + output.mux(packet) + + # Flush video + packet = video_stream.encode(None) + output.mux(packet) + + if audio_stream and self.__components.audio: + frame = av.AudioFrame.from_ndarray(waveform.float().cpu().contiguous().numpy(), format='fltp', layout=layout) + frame.sample_rate = audio_sample_rate + frame.pts = 0 + output.mux(audio_stream.encode(frame)) + + # Flush encoder + output.mux(audio_stream.encode(None)) + + def as_trimmed( + self, + start_time: float | None = None, + duration: float | None = None, + strict_duration: bool = True, + ) -> VideoInput | None: + if self.get_duration() < start_time + duration: + return None + #TODO Consider tracking duration and trimming at time of save? + return VideoFromFile(self.get_stream_source(), start_time=start_time, duration=duration) diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py new file mode 100644 index 00000000..e238cdf3 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___ui.py @@ -0,0 +1,475 @@ +from __future__ import annotations + +import json +import os +import random +import uuid +from io import BytesIO + +import av +import numpy as np +import torch +try: + import torchaudio + TORCH_AUDIO_AVAILABLE = True +except: + TORCH_AUDIO_AVAILABLE = False +from PIL import Image as PILImage +from PIL.PngImagePlugin import PngInfo + +import folder_paths + +# used for image preview +from comfy.cli_args import args +from ._io import ComfyNode, FolderType, Image, _UIOutput + + +class SavedResult(dict): + def __init__(self, filename: str, subfolder: str, type: FolderType): + super().__init__(filename=filename, subfolder=subfolder,type=type.value) + + @property + def filename(self) -> str: + return self["filename"] + + @property + def subfolder(self) -> str: + return self["subfolder"] + + @property + def type(self) -> FolderType: + return FolderType(self["type"]) + + +class SavedImages(_UIOutput): + """A UI output class to represent one or more saved images, potentially animated.""" + def __init__(self, results: list[SavedResult], is_animated: bool = False): + super().__init__() + self.results = results + self.is_animated = is_animated + + def as_dict(self) -> dict: + data = {"images": self.results} + if self.is_animated: + data["animated"] = (True,) + return data + + +class SavedAudios(_UIOutput): + """UI wrapper around one or more audio files on disk (FLAC / MP3 / Opus).""" + def __init__(self, results: list[SavedResult]): + super().__init__() + self.results = results + + def as_dict(self) -> dict: + return {"audio": self.results} + + +def _get_directory_by_folder_type(folder_type: FolderType) -> str: + if folder_type == FolderType.input: + return folder_paths.get_input_directory() + if folder_type == FolderType.output: + return folder_paths.get_output_directory() + return folder_paths.get_temp_directory() + + +class ImageSaveHelper: + """A helper class with static methods to handle image saving and metadata.""" + + @staticmethod + def _convert_tensor_to_pil(image_tensor: torch.Tensor) -> PILImage.Image: + """Converts a single torch tensor to a PIL Image.""" + return PILImage.fromarray(np.clip(255.0 * image_tensor.cpu().numpy(), 0, 255).astype(np.uint8)) + + @staticmethod + def _create_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None: + """Creates a PngInfo object with prompt and extra_pnginfo.""" + if args.disable_metadata or cls is None or not cls.hidden: + return None + metadata = PngInfo() + if cls.hidden.prompt: + metadata.add_text("prompt", json.dumps(cls.hidden.prompt)) + if cls.hidden.extra_pnginfo: + for x in cls.hidden.extra_pnginfo: + metadata.add_text(x, json.dumps(cls.hidden.extra_pnginfo[x])) + return metadata + + @staticmethod + def _create_animated_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None: + """Creates a PngInfo object with prompt and extra_pnginfo for animated PNGs (APNG).""" + if args.disable_metadata or cls is None or not cls.hidden: + return None + metadata = PngInfo() + if cls.hidden.prompt: + metadata.add( + b"comf", + "prompt".encode("latin-1", "strict") + + b"\0" + + json.dumps(cls.hidden.prompt).encode("latin-1", "strict"), + after_idat=True, + ) + if cls.hidden.extra_pnginfo: + for x in cls.hidden.extra_pnginfo: + metadata.add( + b"comf", + x.encode("latin-1", "strict") + + b"\0" + + json.dumps(cls.hidden.extra_pnginfo[x]).encode("latin-1", "strict"), + after_idat=True, + ) + return metadata + + @staticmethod + def _create_webp_metadata(pil_image: PILImage.Image, cls: type[ComfyNode] | None) -> PILImage.Exif: + """Creates EXIF metadata bytes for WebP images.""" + exif_data = pil_image.getexif() + if args.disable_metadata or cls is None or cls.hidden is None: + return exif_data + if cls.hidden.prompt is not None: + exif_data[0x0110] = "prompt:{}".format(json.dumps(cls.hidden.prompt)) # EXIF 0x0110 = Model + if cls.hidden.extra_pnginfo is not None: + inital_exif_tag = 0x010F # EXIF 0x010f = Make + for key, value in cls.hidden.extra_pnginfo.items(): + exif_data[inital_exif_tag] = "{}:{}".format(key, json.dumps(value)) + inital_exif_tag -= 1 + return exif_data + + @staticmethod + def save_images( + images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, compress_level = 4, + ) -> list[SavedResult]: + """Saves a batch of images as individual PNG files.""" + full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path( + filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0] + ) + results = [] + metadata = ImageSaveHelper._create_png_metadata(cls) + for batch_number, image_tensor in enumerate(images): + img = ImageSaveHelper._convert_tensor_to_pil(image_tensor) + 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=compress_level) + results.append(SavedResult(file, subfolder, folder_type)) + counter += 1 + return results + + @staticmethod + def get_save_images_ui(images, filename_prefix: str, cls: type[ComfyNode] | None, compress_level=4) -> SavedImages: + """Saves a batch of images and returns a UI object for the node output.""" + return SavedImages( + ImageSaveHelper.save_images( + images, + filename_prefix=filename_prefix, + folder_type=FolderType.output, + cls=cls, + compress_level=compress_level, + ) + ) + + @staticmethod + def save_animated_png( + images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, fps: float, compress_level: int + ) -> SavedResult: + """Saves a batch of images as a single animated PNG.""" + full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path( + filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0] + ) + pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images] + metadata = ImageSaveHelper._create_animated_png_metadata(cls) + file = f"{filename}_{counter:05}_.png" + save_path = os.path.join(full_output_folder, file) + pil_images[0].save( + save_path, + pnginfo=metadata, + compress_level=compress_level, + save_all=True, + duration=int(1000.0 / fps), + append_images=pil_images[1:], + ) + return SavedResult(file, subfolder, folder_type) + + @staticmethod + def get_save_animated_png_ui( + images, filename_prefix: str, cls: type[ComfyNode] | None, fps: float, compress_level: int + ) -> SavedImages: + """Saves an animated PNG and returns a UI object for the node output.""" + result = ImageSaveHelper.save_animated_png( + images, + filename_prefix=filename_prefix, + folder_type=FolderType.output, + cls=cls, + fps=fps, + compress_level=compress_level, + ) + return SavedImages([result], is_animated=len(images) > 1) + + @staticmethod + def save_animated_webp( + images, + filename_prefix: str, + folder_type: FolderType, + cls: type[ComfyNode] | None, + fps: float, + lossless: bool, + quality: int, + method: int, + ) -> SavedResult: + """Saves a batch of images as a single animated WebP.""" + full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path( + filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0] + ) + pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images] + pil_exif = ImageSaveHelper._create_webp_metadata(pil_images[0], cls) + file = f"{filename}_{counter:05}_.webp" + pil_images[0].save( + os.path.join(full_output_folder, file), + save_all=True, + duration=int(1000.0 / fps), + append_images=pil_images[1:], + exif=pil_exif, + lossless=lossless, + quality=quality, + method=method, + ) + return SavedResult(file, subfolder, folder_type) + + @staticmethod + def get_save_animated_webp_ui( + images, + filename_prefix: str, + cls: type[ComfyNode] | None, + fps: float, + lossless: bool, + quality: int, + method: int, + ) -> SavedImages: + """Saves an animated WebP and returns a UI object for the node output.""" + result = ImageSaveHelper.save_animated_webp( + images, + filename_prefix=filename_prefix, + folder_type=FolderType.output, + cls=cls, + fps=fps, + lossless=lossless, + quality=quality, + method=method, + ) + return SavedImages([result], is_animated=len(images) > 1) + + +class AudioSaveHelper: + """A helper class with static methods to handle audio saving and metadata.""" + _OPUS_RATES = [8000, 12000, 16000, 24000, 48000] + + @staticmethod + def save_audio( + audio: dict, + filename_prefix: str, + folder_type: FolderType, + cls: type[ComfyNode] | None, + format: str = "flac", + quality: str = "128k", + ) -> list[SavedResult]: + full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path( + filename_prefix, _get_directory_by_folder_type(folder_type) + ) + + metadata = {} + if not args.disable_metadata and cls is not None: + if cls.hidden.prompt is not None: + metadata["prompt"] = json.dumps(cls.hidden.prompt) + if cls.hidden.extra_pnginfo is not None: + for x in cls.hidden.extra_pnginfo: + metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x]) + + results = [] + for batch_number, waveform in enumerate(audio["waveform"].cpu()): + filename_with_batch_num = filename.replace("%batch_num%", str(batch_number)) + file = f"{filename_with_batch_num}_{counter:05}_.{format}" + output_path = os.path.join(full_output_folder, file) + + # Use original sample rate initially + sample_rate = audio["sample_rate"] + + # Handle Opus sample rate requirements + if format == "opus": + if sample_rate > 48000: + sample_rate = 48000 + elif sample_rate not in AudioSaveHelper._OPUS_RATES: + # Find the next highest supported rate + for rate in sorted(AudioSaveHelper._OPUS_RATES): + if rate > sample_rate: + sample_rate = rate + break + if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported + sample_rate = 48000 + + # Resample if necessary + if sample_rate != audio["sample_rate"]: + if not TORCH_AUDIO_AVAILABLE: + raise Exception("torchaudio is not available; cannot resample audio.") + waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate) + + # Create output with specified format + output_buffer = BytesIO() + output_container = av.open(output_buffer, mode="w", format=format) + + # Set metadata on the container + for key, value in metadata.items(): + output_container.metadata[key] = value + + layout = "mono" if waveform.shape[0] == 1 else "stereo" + # Set up the output stream with appropriate properties + if format == "opus": + out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout) + if quality == "64k": + out_stream.bit_rate = 64000 + elif quality == "96k": + out_stream.bit_rate = 96000 + elif quality == "128k": + out_stream.bit_rate = 128000 + elif quality == "192k": + out_stream.bit_rate = 192000 + elif quality == "320k": + out_stream.bit_rate = 320000 + elif format == "mp3": + out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout) + if quality == "V0": + # TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool + out_stream.codec_context.qscale = 1 + elif quality == "128k": + out_stream.bit_rate = 128000 + elif quality == "320k": + out_stream.bit_rate = 320000 + else: # format == "flac": + out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout) + + frame = av.AudioFrame.from_ndarray( + waveform.movedim(0, 1).reshape(1, -1).float().numpy(), + format="flt", + layout=layout, + ) + frame.sample_rate = sample_rate + frame.pts = 0 + output_container.mux(out_stream.encode(frame)) + + # Flush encoder + output_container.mux(out_stream.encode(None)) + + # Close containers + output_container.close() + + # Write the output to file + output_buffer.seek(0) + with open(output_path, "wb") as f: + f.write(output_buffer.getbuffer()) + + results.append(SavedResult(file, subfolder, folder_type)) + counter += 1 + + return results + + @staticmethod + def get_save_audio_ui( + audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k", + ) -> SavedAudios: + """Save and instantly wrap for UI.""" + return SavedAudios( + AudioSaveHelper.save_audio( + audio, + filename_prefix=filename_prefix, + folder_type=FolderType.output, + cls=cls, + format=format, + quality=quality, + ) + ) + + +class PreviewImage(_UIOutput): + def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs): + self.values = ImageSaveHelper.save_images( + image, + filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)), + folder_type=FolderType.temp, + cls=cls, + compress_level=1, + ) + self.animated = animated + + def as_dict(self): + return { + "images": self.values, + "animated": (self.animated,) + } + + +class PreviewMask(PreviewImage): + def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs): + preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3) + super().__init__(preview, animated, cls, **kwargs) + + +class PreviewAudio(_UIOutput): + def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs): + self.values = AudioSaveHelper.save_audio( + audio, + filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)), + folder_type=FolderType.temp, + cls=cls, + format="flac", + quality="128k", + ) + + def as_dict(self) -> dict: + return {"audio": self.values} + + +class PreviewVideo(_UIOutput): + def __init__(self, values: list[SavedResult | dict], **kwargs): + self.values = values + + def as_dict(self): + return {"images": self.values, "animated": (True,)} + + +class PreviewUI3D(_UIOutput): + def __init__(self, model_file, camera_info, **kwargs): + self.model_file = model_file + self.camera_info = camera_info + self.bg_image_path = None + bg_image = kwargs.get("bg_image", None) + if bg_image is not None: + img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8) + img = PILImage.fromarray(img_array) + temp_dir = folder_paths.get_temp_directory() + filename = f"bg_{uuid.uuid4().hex}.png" + bg_image_path = os.path.join(temp_dir, filename) + img.save(bg_image_path, compress_level=1) + self.bg_image_path = f"temp/{filename}" + + def as_dict(self): + return {"result": [self.model_file, self.camera_info, self.bg_image_path]} + + +class PreviewText(_UIOutput): + def __init__(self, value: str, **kwargs): + self.value = value + + def as_dict(self): + return {"text": (self.value,)} + + +__all__ = [ + "SavedResult", + "SavedImages", + "SavedAudios", + "ImageSaveHelper", + "AudioSaveHelper", + "PreviewImage", + "PreviewMask", + "PreviewAudio", + "PreviewVideo", + "PreviewUI3D", + "PreviewText", +] diff --git a/docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py new file mode 100644 index 00000000..fd3b5a51 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_api__latest___util__video_types.py @@ -0,0 +1,52 @@ +from __future__ import annotations +from dataclasses import dataclass +from enum import Enum +from fractions import Fraction +from typing import Optional +from .._input import ImageInput, AudioInput + +class VideoCodec(str, Enum): + AUTO = "auto" + H264 = "h264" + + @classmethod + def as_input(cls) -> list[str]: + """ + Returns a list of codec names that can be used as node input. + """ + return [member.value for member in cls] + +class VideoContainer(str, Enum): + AUTO = "auto" + MP4 = "mp4" + + @classmethod + def as_input(cls) -> list[str]: + """ + Returns a list of container names that can be used as node input. + """ + return [member.value for member in cls] + + @classmethod + def get_extension(cls, value) -> str: + """ + Returns the file extension for the container. + """ + if isinstance(value, str): + value = cls(value) + if value == VideoContainer.MP4 or value == VideoContainer.AUTO: + return "mp4" + return "" + +@dataclass +class VideoComponents: + """ + Dataclass representing the components of a video. + """ + + images: ImageInput + frame_rate: Fraction + audio: Optional[AudioInput] = None + metadata: Optional[dict] = None + + diff --git a/docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py b/docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py new file mode 100644 index 00000000..5c096c23 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/core__comfy_extras__nodes_video.py @@ -0,0 +1,272 @@ +from __future__ import annotations + +import os +import av +import torch +import folder_paths +import json +from typing import Optional +from typing_extensions import override +from fractions import Fraction +from comfy_api.latest import ComfyExtension, io, ui, Input, InputImpl, Types +from comfy.cli_args import args + +class SaveWEBM(io.ComfyNode): + @classmethod + def define_schema(cls): + return io.Schema( + node_id="SaveWEBM", + search_aliases=["export webm"], + category="image/video", + is_experimental=True, + inputs=[ + io.Image.Input("images"), + io.String.Input("filename_prefix", default="ComfyUI"), + io.Combo.Input("codec", options=["vp9", "av1"]), + io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01), + io.Float.Input("crf", default=32.0, min=0, max=63.0, step=1, tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize."), + ], + hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo], + is_output_node=True, + ) + + @classmethod + def execute(cls, images, codec, fps, filename_prefix, crf) -> io.NodeOutput: + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path( + filename_prefix, folder_paths.get_output_directory(), images[0].shape[1], images[0].shape[0] + ) + + file = f"{filename}_{counter:05}_.webm" + container = av.open(os.path.join(full_output_folder, file), mode="w") + + if cls.hidden.prompt is not None: + container.metadata["prompt"] = json.dumps(cls.hidden.prompt) + + if cls.hidden.extra_pnginfo is not None: + for x in cls.hidden.extra_pnginfo: + container.metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x]) + + codec_map = {"vp9": "libvpx-vp9", "av1": "libsvtav1"} + stream = container.add_stream(codec_map[codec], rate=Fraction(round(fps * 1000), 1000)) + stream.width = images.shape[-2] + stream.height = images.shape[-3] + stream.pix_fmt = "yuv420p10le" if codec == "av1" else "yuv420p" + stream.bit_rate = 0 + stream.options = {'crf': str(crf)} + if codec == "av1": + stream.options["preset"] = "6" + + for frame in images: + frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :3] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgb24") + for packet in stream.encode(frame): + container.mux(packet) + container.mux(stream.encode()) + container.close() + + return io.NodeOutput(ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)])) + +class SaveVideo(io.ComfyNode): + @classmethod + def define_schema(cls): + return io.Schema( + node_id="SaveVideo", + search_aliases=["export video"], + display_name="Save Video", + category="image/video", + essentials_category="Basics", + description="Saves the input images to your ComfyUI output directory.", + inputs=[ + io.Video.Input("video", tooltip="The video to save."), + io.String.Input("filename_prefix", default="video/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."), + io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."), + io.Combo.Input("codec", options=Types.VideoCodec.as_input(), default="auto", tooltip="The codec to use for the video."), + ], + hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo], + is_output_node=True, + ) + + @classmethod + def execute(cls, video: Input.Video, filename_prefix, format: str, codec) -> io.NodeOutput: + width, height = video.get_dimensions() + full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path( + filename_prefix, + folder_paths.get_output_directory(), + width, + height + ) + saved_metadata = None + if not args.disable_metadata: + metadata = {} + if cls.hidden.extra_pnginfo is not None: + metadata.update(cls.hidden.extra_pnginfo) + if cls.hidden.prompt is not None: + metadata["prompt"] = cls.hidden.prompt + if len(metadata) > 0: + saved_metadata = metadata + file = f"{filename}_{counter:05}_.{Types.VideoContainer.get_extension(format)}" + video.save_to( + os.path.join(full_output_folder, file), + format=Types.VideoContainer(format), + codec=codec, + metadata=saved_metadata + ) + + return io.NodeOutput(ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)])) + + +class CreateVideo(io.ComfyNode): + @classmethod + def define_schema(cls): + return io.Schema( + node_id="CreateVideo", + search_aliases=["images to video"], + display_name="Create Video", + category="image/video", + description="Create a video from images.", + inputs=[ + io.Image.Input("images", tooltip="The images to create a video from."), + io.Float.Input("fps", default=30.0, min=1.0, max=120.0, step=1.0), + io.Audio.Input("audio", optional=True, tooltip="The audio to add to the video."), + ], + outputs=[ + io.Video.Output(), + ], + ) + + @classmethod + def execute(cls, images: Input.Image, fps: float, audio: Optional[Input.Audio] = None) -> io.NodeOutput: + return io.NodeOutput( + InputImpl.VideoFromComponents(Types.VideoComponents(images=images, audio=audio, frame_rate=Fraction(fps))) + ) + +class GetVideoComponents(io.ComfyNode): + @classmethod + def define_schema(cls): + return io.Schema( + node_id="GetVideoComponents", + search_aliases=["extract frames", "split video", "video to images", "demux"], + display_name="Get Video Components", + category="image/video", + description="Extracts all components from a video: frames, audio, and framerate.", + inputs=[ + io.Video.Input("video", tooltip="The video to extract components from."), + ], + outputs=[ + io.Image.Output(display_name="images"), + io.Audio.Output(display_name="audio"), + io.Float.Output(display_name="fps"), + ], + ) + + @classmethod + def execute(cls, video: Input.Video) -> io.NodeOutput: + components = video.get_components() + return io.NodeOutput(components.images, components.audio, float(components.frame_rate)) + + +class LoadVideo(io.ComfyNode): + @classmethod + def define_schema(cls): + 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, ["video"]) + return io.Schema( + node_id="LoadVideo", + search_aliases=["import video", "open video", "video file"], + display_name="Load Video", + category="image/video", + essentials_category="Basics", + inputs=[ + io.Combo.Input("file", options=sorted(files), upload=io.UploadType.video), + ], + outputs=[ + io.Video.Output(), + ], + ) + + @classmethod + def execute(cls, file) -> io.NodeOutput: + video_path = folder_paths.get_annotated_filepath(file) + return io.NodeOutput(InputImpl.VideoFromFile(video_path)) + + @classmethod + def fingerprint_inputs(s, file): + video_path = folder_paths.get_annotated_filepath(file) + mod_time = os.path.getmtime(video_path) + # Instead of hashing the file, we can just use the modification time to avoid + # rehashing large files. + return mod_time + + @classmethod + def validate_inputs(s, file): + if not folder_paths.exists_annotated_filepath(file): + return "Invalid video file: {}".format(file) + + return True + +class VideoSlice(io.ComfyNode): + @classmethod + def define_schema(cls): + return io.Schema( + node_id="Video Slice", + display_name="Video Slice", + search_aliases=[ + "trim video duration", + "skip first frames", + "frame load cap", + "start time", + ], + category="image/video", + essentials_category="Video Tools", + inputs=[ + io.Video.Input("video"), + io.Float.Input( + "start_time", + default=0.0, + max=1e5, + min=-1e5, + step=0.001, + tooltip="Start time in seconds", + ), + io.Float.Input( + "duration", + default=0.0, + min=0.0, + step=0.001, + tooltip="Duration in seconds, or 0 for unlimited duration", + ), + io.Boolean.Input( + "strict_duration", + default=False, + tooltip="If True, when the specified duration is not possible, an error will be raised.", + ), + ], + outputs=[ + io.Video.Output(), + ], + ) + + @classmethod + def execute(cls, video: io.Video.Type, start_time: float, duration: float, strict_duration: bool) -> io.NodeOutput: + trimmed = video.as_trimmed(start_time, duration, strict_duration=strict_duration) + if trimmed is not None: + return io.NodeOutput(trimmed) + raise ValueError( + f"Failed to slice video:\nSource duration: {video.get_duration()}\nStart time: {start_time}\nTarget duration: {duration}" + ) + + +class VideoExtension(ComfyExtension): + @override + async def get_node_list(self) -> list[type[io.ComfyNode]]: + return [ + SaveWEBM, + SaveVideo, + CreateVideo, + GetVideoComponents, + LoadVideo, + VideoSlice, + ] + +async def comfy_entrypoint() -> VideoExtension: + return VideoExtension() diff --git a/docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts b/docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts new file mode 100644 index 00000000..baf6a441 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts @@ -0,0 +1,4229 @@ +import { toValue } from 'vue' + +import { LGraphNodeProperties } from '@/lib/litegraph/src/LGraphNodeProperties' +import { + calculateInputSlotPosFromSlot, + getSlotPosition +} from '@/renderer/core/canvas/litegraph/slotCalculations' +import type { SlotPositionContext } from '@/renderer/core/canvas/litegraph/slotCalculations' +import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations' +import { LayoutSource } from '@/renderer/core/layout/types' +import { adjustColor } from '@/utils/colorUtil' +import type { ColorAdjustOptions } from '@/utils/colorUtil' +import { commonType, toClass } from '@/lib/litegraph/src/utils/type' + +import { SUBGRAPH_OUTPUT_ID } from '@/lib/litegraph/src/constants' +import type { DragAndScale } from './DragAndScale' +import type { LGraph } from './LGraph' +import { BadgePosition, LGraphBadge } from './LGraphBadge' +import { LGraphButton } from './LGraphButton' +import type { LGraphButtonOptions } from './LGraphButton' +import { LGraphCanvas } from './LGraphCanvas' +import { LLink } from './LLink' +import type { Reroute, RerouteId } from './Reroute' +import { getNodeInputOnPos, getNodeOutputOnPos } from './canvas/measureSlots' +import type { IDrawBoundingOptions } from './draw' +import { NullGraphError } from './infrastructure/NullGraphError' +import type { ReadOnlyRectangle } from './infrastructure/Rectangle' +import { Rectangle } from './infrastructure/Rectangle' +import type { + ColorOption, + CompassCorners, + DefaultConnectionColors, + Dictionary, + IColorable, + IContextMenuValue, + IFoundSlot, + INodeFlags, + INodeInputSlot, + INodeOutputSlot, + INodeSlot, + INodeSlotContextItem, + IPinnable, + ISlotType, + Panel, + Point, + Positionable, + ReadOnlyRect, + Rect, + Size +} from './interfaces' +import { LiteGraph, Subgraph } from './litegraph' +import type { LGraphNodeConstructor, SubgraphNode } from './litegraph' +import { + createBounds, + isInRect, + isInRectangle, + isPointInRect, + snapPoint +} from './measure' +import { NodeInputSlot } from './node/NodeInputSlot' +import { NodeOutputSlot } from './node/NodeOutputSlot' +import { + inputAsSerialisable, + isINodeInputSlot, + isWidgetInputSlot, + outputAsSerialisable +} from './node/slotUtils' +import type { SubgraphInputNode } from './subgraph/SubgraphInputNode' +import type { SubgraphOutputNode } from './subgraph/SubgraphOutputNode' +import type { NodeLike } from './types/NodeLike' +import type { CanvasPointerEvent } from './types/events' +import { + LGraphEventMode, + NodeSlotType, + RenderShape, + TitleMode +} from './types/globalEnums' +import type { ISerialisedNode, SubgraphIO } from './types/serialisation' +import type { + IBaseWidget, + IWidgetOptions, + TWidgetType, + TWidgetValue +} from './types/widgets' +import { findFreeSlotOfType } from './utils/collections' +import { warnDeprecated } from './utils/feedback' +import { distributeSpace } from './utils/spaceDistribution' +import { truncateText } from './utils/textUtils' +import { BaseWidget } from './widgets/BaseWidget' +import { toConcreteWidget } from './widgets/widgetMap' +import type { WidgetTypeMap } from './widgets/widgetMap' + +// #region Types + +export type NodeId = number | string + +export type NodeProperty = string | number | boolean | object + +interface INodePropertyInfo { + name?: string + type?: string + default_value?: NodeProperty + widget?: string + label?: string + values?: TWidgetValue[] +} + +interface IMouseOverData { + inputId?: number + outputId?: number + overWidget?: IBaseWidget +} + +interface ConnectByTypeOptions { + /** @deprecated Events */ + createEventInCase?: boolean + /** Allow our wildcard slot to connect to typed slots on remote node. Default: true */ + wildcardToTyped?: boolean + /** Allow our typed slot to connect to wildcard slots on remote node. Default: true */ + typedToWildcard?: boolean + /** The {@link Reroute.id} that the connection is being dragged from. */ + afterRerouteId?: RerouteId +} + +/** Internal type used for type safety when implementing generic checks for inputs & outputs */ +interface IGenericLinkOrLinks { + links?: INodeOutputSlot['links'] + link?: INodeInputSlot['link'] +} + +interface FindFreeSlotOptions { + /** Slots matching these types will be ignored. Default: [] */ + typesNotAccepted?: ISlotType[] + /** If true, the slot itself is returned instead of the index. Default: false */ + returnObj?: boolean +} + +interface DrawSlotsOptions { + fromSlot?: INodeInputSlot | INodeOutputSlot + colorContext: DefaultConnectionColors + editorAlpha: number + lowQuality: boolean +} + +interface DrawWidgetsOptions { + lowQuality?: boolean + editorAlpha?: number +} + +interface DrawTitleOptions { + scale: number + title_height?: number + low_quality?: boolean +} + +interface DrawTitleTextOptions extends DrawTitleOptions { + default_title_color: string +} + +export interface DrawTitleBoxOptions extends DrawTitleOptions { + box_size?: number +} + +/* +title: string +pos: [x,y] +size: [x,y] + +input|output: every connection + + { name:string, type:string, pos: [x,y]=Optional, direction: "input"|"output", links: Array }); + +general properties: + + clip_area: if you render outside the node, it will be clipped + + unsafe_execution: not allowed for safe execution + + skip_repeated_outputs: when adding new outputs, it won't show if there is one already connected + + resizable: if set to false it won't be resizable with the mouse + + widgets_start_y: widgets start at y distance from the top of the node + +flags object: + + collapsed: if it is collapsed + +supported callbacks: + + onAdded: when added to graph (warning: this is called BEFORE the node is configured when loading) + + onRemoved: when removed from graph + + onStart: when the graph starts playing + + onStop: when the graph stops playing + + onDrawForeground: render the inside widgets inside the node + + onDrawBackground: render the background area inside the node (only in edit mode) + + onMouseDown + + onMouseMove + + onMouseUp + + onMouseEnter + + onMouseLeave + + onExecute: execute the node + + onPropertyChanged: when a property is changed in the panel (return true to skip default behaviour) + + onGetInputs: returns an array of possible inputs + + onGetOutputs: returns an array of possible outputs + + onBounding: in case this node has a bigger bounding than the node itself (the callback receives the bounding as [x,y,w,h]) + + onDblClick: double clicked in the node + + onNodeTitleDblClick: double clicked in the node title + + onInputDblClick: input slot double clicked (can be used to automatically create a node connected) + + onOutputDblClick: output slot double clicked (can be used to automatically create a node connected) + + onConfigure: called after the node has been configured + + onSerialize: to add extra info when serializing (the callback receives the object that should be filled with the data) + + onSelected + + onDeselected + + onDropItem : DOM item dropped over the node + + onDropFile : file dropped over the node + + onConnectInput : if returns false the incoming connection will be canceled + + onConnectionsChange : a connection changed (new one or removed) (NodeSlotType.INPUT or NodeSlotType.OUTPUT, slot, true if connected, link_info, input_info ) + + onAction: action slot triggered + + getExtraMenuOptions: to add option to context menu +*/ + +export interface LGraphNode { + constructor: LGraphNodeConstructor +} + +// #endregion Types + +/** + * Base class for all nodes + * @param title a name for the node + * @param type a type for the node + */ + +export class LGraphNode + implements NodeLike, Positionable, IPinnable, IColorable +{ + // Static properties used by dynamic child classes + static title?: string + static MAX_CONSOLE?: number + static type?: string + static category?: string + static description?: string + static filter?: string + static skip_list?: boolean + static nodeData?: { + dev_only?: boolean + deprecated?: boolean + experimental?: boolean + output_node?: boolean + api_node?: boolean + name?: string + } + + static resizeHandleSize = 15 + static resizeEdgeSize = 5 + + /** Default setting for {@link LGraphNode.connectInputToOutput}. @see {@link INodeFlags.keepAllLinksOnBypass} */ + static keepAllLinksOnBypass: boolean = false + + /** The title text of the node. */ + title: string + /** + * The font style used to render the node's title text. + */ + get titleFontStyle(): string { + return `${LiteGraph.NODE_TEXT_SIZE}px ${LiteGraph.NODE_FONT}` + } + + get innerFontStyle(): string { + return `normal ${LiteGraph.NODE_SUBTEXT_SIZE}px ${LiteGraph.NODE_FONT}` + } + + get displayType(): string { + return this.type + } + + graph: LGraph | Subgraph | null = null + id: NodeId + type: string = '' + inputs: INodeInputSlot[] = [] + outputs: INodeOutputSlot[] = [] + + private _concreteInputs: NodeInputSlot[] = [] + private _concreteOutputs: NodeOutputSlot[] = [] + + properties: Dictionary = {} + properties_info: INodePropertyInfo[] = [] + flags: INodeFlags = {} + widgets?: IBaseWidget[] + + /** Property manager for this node */ + changeTracker: LGraphNodeProperties + + /** + * The amount of space available for widgets to grow into. + * @see {@link layoutWidgets} + */ + freeWidgetSpace?: number + + locked?: boolean + + /** Execution order, automatically computed during run @see {@link LGraph.computeExecutionOrder} */ + order: number = 0 + mode: LGraphEventMode = LGraphEventMode.ALWAYS + last_serialization?: ISerialisedNode + serialize_widgets?: boolean + /** + * The overridden fg color used to render the node. + * @see {@link renderingColor} + */ + color?: string + /** + * The overridden bg color used to render the node. + * @see {@link renderingBgColor} + */ + bgcolor?: string + /** + * The overridden box color used to render the node. + * @see {@link renderingBoxColor} + */ + boxcolor?: string + + /** The fg color used to render the node. */ + get renderingColor(): string { + const baseColor = + this.color || this.constructor.color || LiteGraph.NODE_DEFAULT_COLOR + return adjustColor(baseColor, { lightness: LiteGraph.nodeLightness }) + } + + /** The bg color used to render the node. */ + get renderingBgColor(): string { + const baseBgColor = + this.bgcolor || this.constructor.bgcolor || LiteGraph.NODE_DEFAULT_BGCOLOR + const adjustments: ColorAdjustOptions = { + opacity: LiteGraph.nodeOpacity, + lightness: LiteGraph.nodeLightness + } + + return adjustColor( + this.mode === LGraphEventMode.BYPASS + ? LiteGraph.NODE_DEFAULT_BYPASS_COLOR + : baseBgColor, + adjustments + ) + } + + /** The box color used to render the node. */ + get renderingBoxColor(): string { + if (this.boxcolor) return this.boxcolor + + if (LiteGraph.node_box_coloured_when_on) { + if (this.action_triggered) return '#FFF' + if (this.execute_triggered) return '#AAA' + } + + if (LiteGraph.node_box_coloured_by_mode) { + const modeColour = + LiteGraph.NODE_MODES_COLORS[this.mode ?? LGraphEventMode.ALWAYS] + if (modeColour) return modeColour + } + return LiteGraph.NODE_DEFAULT_BOXCOLOR + } + + /** @inheritdoc {@link IColorable.setColorOption} */ + setColorOption(colorOption: ColorOption | null): void { + if (colorOption == null) { + this.color = undefined + this.bgcolor = undefined + } else { + this.color = colorOption.color + this.bgcolor = colorOption.bgcolor + } + } + + /** @inheritdoc {@link IColorable.getColorOption} */ + getColorOption(): ColorOption | null { + return ( + Object.values(LGraphCanvas.node_colors).find( + (colorOption) => + colorOption.color === this.color && + colorOption.bgcolor === this.bgcolor + ) ?? null + ) + } + + /** + * The stroke styles that should be applied to the node. + */ + strokeStyles: Record< + string, + (this: LGraphNode) => IDrawBoundingOptions | undefined + > + + /** + * The progress of node execution. Used to render a progress bar. Value between 0 and 1. + */ + progress?: number + + exec_version?: number + action_call?: string + execute_triggered?: number + action_triggered?: number + /** + * @deprecated This property is unsupported and will be removed in a future release. + * Use `widgets_start_y` or a custom `arrange()` override instead. + */ + widgets_up?: boolean + widgets_start_y?: number + lostFocusAt?: number + gotFocusAt?: number + badges: (LGraphBadge | (() => LGraphBadge))[] = [] + title_buttons: LGraphButton[] = [] + badgePosition: BadgePosition = BadgePosition.TopLeft + onOutputRemoved?(this: LGraphNode, slot: number): void + onInputRemoved?(this: LGraphNode, slot: number, input: INodeInputSlot): void + /** + * The width of the node when collapsed. + * Updated by {@link LGraphCanvas.drawNode} + */ + _collapsed_width?: number + /** + * Called once at the start of every frame. Caller may change the values in {@link out}, which will be reflected in {@link boundingRect}. + * WARNING: Making changes to boundingRect via onBounding is poorly supported, and will likely result in strange behaviour. + */ + onBounding?(this: LGraphNode, out: Rect): void + console?: string[] + _level?: number + _shape?: RenderShape + mouseOver?: IMouseOverData + redraw_on_mouse?: boolean + resizable?: boolean + clonable?: boolean + _relative_id?: number + clip_area?: boolean + ignore_remove?: boolean + has_errors?: boolean + removable?: boolean + block_delete?: boolean + selected?: boolean + showAdvanced?: boolean + + declare comfyDynamic?: Record + declare comfyClass?: string + declare isVirtualNode?: boolean + applyToGraph?(extraLinks?: LLink[]): void + + isSubgraphNode(): this is SubgraphNode { + return false + } + + /** @inheritdoc {@link renderArea} */ + private _renderArea = new Rectangle() + /** + * Rect describing the node area, including shadows and any protrusions. + * Determines if the node is visible. Calculated once at the start of every frame. + */ + get renderArea(): ReadOnlyRect { + return this._renderArea + } + + /** @inheritdoc {@link boundingRect} */ + private _boundingRect: Rectangle = new Rectangle() + /** + * Cached node position & area as `x, y, width, height`. Includes changes made by {@link onBounding}, if present. + * + * Determines the node hitbox and other rendering effects. Calculated once at the start of every frame. + */ + get boundingRect(): ReadOnlyRectangle { + return this._boundingRect + } + + /** The offset from {@link pos} to the top-left of {@link boundingRect}. */ + get boundingOffset(): Readonly { + const { + pos: [posX, posY], + boundingRect: [bX, bY] + } = this + return [posX - bX, posY - bY] + } + + /** {@link pos} and {@link size} values are backed by this {@link Rectangle}. */ + _posSize = new Rectangle() + _pos: Point = this._posSize.pos + _size: Size = this._posSize.size + + public get pos() { + return this._pos + } + + /** Node position does not necessarily correlate to the top-left corner. */ + public set pos(value) { + if (!value || value.length < 2) return + + this._pos[0] = value[0] + this._pos[1] = value[1] + } + + public get size() { + return this._size + } + + public set size(value) { + if (!value || value.length < 2) return + + this._size[0] = value[0] + this._size[1] = value[1] + } + + /** + * The size of the node used for rendering. + */ + get renderingSize(): Size { + return this.flags.collapsed ? [this._collapsed_width ?? 0, 0] : this._size + } + + get shape(): RenderShape | undefined { + return this._shape + } + + set shape(v: RenderShape | 'default' | 'box' | 'round' | 'circle' | 'card') { + const oldValue = this._shape + switch (v) { + case 'default': + this._shape = undefined + break + case 'box': + this._shape = RenderShape.BOX + break + case 'round': + this._shape = RenderShape.ROUND + break + case 'circle': + this._shape = RenderShape.CIRCLE + break + case 'card': + this._shape = RenderShape.CARD + break + default: + this._shape = v + } + if (oldValue !== this._shape) { + this.graph?.trigger('node:property:changed', { + nodeId: this.id, + property: 'shape', + oldValue, + newValue: this._shape + }) + } + } + + /** + * The shape of the node used for rendering. @see {@link RenderShape} + */ + get renderingShape(): RenderShape { + return this._shape || this.constructor.shape || LiteGraph.NODE_DEFAULT_SHAPE + } + + public get is_selected(): boolean | undefined { + return this.selected + } + + public set is_selected(value: boolean) { + this.selected = value + } + + public get title_mode(): TitleMode { + return this.constructor.title_mode ?? TitleMode.NORMAL_TITLE + } + + onConnectInput?( + this: LGraphNode, + target_slot: number, + type: unknown, + output: INodeOutputSlot | SubgraphIO, + node: LGraphNode | SubgraphInputNode, + slot: number + ): boolean + onConnectOutput?( + this: LGraphNode, + slot: number, + type: unknown, + input: INodeInputSlot | SubgraphIO, + target_node: number | LGraphNode | SubgraphOutputNode, + target_slot: number + ): boolean + onResize?(this: LGraphNode, size: Size): void + onPropertyChanged?( + this: LGraphNode, + name: string, + value: unknown, + prev_value?: unknown + ): boolean + /** Called for each connection that is created, updated, or removed. This includes "restored" connections when deserialising. */ + onConnectionsChange?( + this: LGraphNode, + type: ISlotType, + index: number, + isConnected: boolean, + link_info: LLink | null | undefined, + inputOrOutput: INodeInputSlot | INodeOutputSlot | SubgraphIO + ): void + onInputAdded?(this: LGraphNode, input: INodeInputSlot): void + onOutputAdded?(this: LGraphNode, output: INodeOutputSlot): void + onConfigure?(this: LGraphNode, serialisedNode: ISerialisedNode): void + onSerialize?(this: LGraphNode, serialised: ISerialisedNode): void + onExecute?( + this: LGraphNode, + param?: unknown, + options?: { action_call?: string } + ): void + onAction?( + this: LGraphNode, + action: string, + param: unknown, + options: { action_call?: string } + ): void + onDrawBackground?(this: LGraphNode, ctx: CanvasRenderingContext2D): void + onNodeCreated?(this: LGraphNode): void + /** + * Callback invoked by {@link connect} to override the target slot index. + * Its return value overrides the target index selection. + * @param target_slot The current input slot index + * @param requested_slot The originally requested slot index - could be negative, or if using (deprecated) name search, a string + * @returns {number | null} If a number is returned, the connection will be made to that input index. + * If an invalid index or non-number (false, null, NaN etc) is returned, the connection will be cancelled. + */ + onBeforeConnectInput?( + this: LGraphNode, + target_slot: number, + requested_slot?: number | string + ): number | false | null + onShowCustomPanelInfo?(this: LGraphNode, panel: Panel): void + onAddPropertyToPanel?(this: LGraphNode, pName: string, panel: Panel): boolean + onWidgetChanged?( + this: LGraphNode, + name: string, + value: unknown, + old_value: unknown, + w: IBaseWidget + ): void + onDeselected?(this: LGraphNode): void + onKeyUp?(this: LGraphNode, e: KeyboardEvent): void + onKeyDown?(this: LGraphNode, e: KeyboardEvent): void + onSelected?(this: LGraphNode): void + getExtraMenuOptions?( + this: LGraphNode, + canvas: LGraphCanvas, + options: (IContextMenuValue | null)[] + ): (IContextMenuValue | null)[] + getMenuOptions?(this: LGraphNode, canvas: LGraphCanvas): IContextMenuValue[] + onAdded?(this: LGraphNode, graph: LGraph): void + onDrawCollapsed?( + this: LGraphNode, + ctx: CanvasRenderingContext2D, + cavnas: LGraphCanvas + ): boolean + onDrawForeground?( + this: LGraphNode, + ctx: CanvasRenderingContext2D, + canvas: LGraphCanvas, + canvasElement: HTMLCanvasElement + ): void + onMouseLeave?(this: LGraphNode, e: CanvasPointerEvent): void + /** + * Override the default slot menu options. + */ + getSlotMenuOptions?(this: LGraphNode, slot: IFoundSlot): IContextMenuValue[] + /** + * Add extra menu options to the slot context menu. + */ + getExtraSlotMenuOptions?( + this: LGraphNode, + slot: IFoundSlot + ): IContextMenuValue[] + + // FIXME: Re-typing + onDropItem?(this: LGraphNode, event: Event): boolean + onDropData?( + this: LGraphNode, + data: string | ArrayBuffer, + filename: string, + file: File + ): void + onDropFile?(this: LGraphNode, file: File): void + onInputClick?(this: LGraphNode, index: number, e: CanvasPointerEvent): void + onInputDblClick?(this: LGraphNode, index: number, e: CanvasPointerEvent): void + onOutputClick?(this: LGraphNode, index: number, e: CanvasPointerEvent): void + onOutputDblClick?( + this: LGraphNode, + index: number, + e: CanvasPointerEvent + ): void + onGetPropertyInfo?(this: LGraphNode, property: string): INodePropertyInfo + onNodeOutputAdd?(this: LGraphNode, value: unknown): void + onNodeInputAdd?(this: LGraphNode, value: unknown): void + onMenuNodeInputs?( + this: LGraphNode, + entries: (IContextMenuValue | null)[] + ): (IContextMenuValue | null)[] + onMenuNodeOutputs?( + this: LGraphNode, + entries: (IContextMenuValue | null)[] + ): (IContextMenuValue | null)[] + onMouseUp?( + this: LGraphNode, + e: CanvasPointerEvent, + pos: Point, + canvas: LGraphCanvas + ): void + onMouseEnter?(this: LGraphNode, e: CanvasPointerEvent): void + /** Blocks drag if return value is truthy. @param pos Offset from {@link LGraphNode.pos}. */ + onMouseDown?( + this: LGraphNode, + e: CanvasPointerEvent, + pos: Point, + canvas: LGraphCanvas + ): boolean + /** @param pos Offset from {@link LGraphNode.pos}. */ + onDblClick?( + this: LGraphNode, + e: CanvasPointerEvent, + pos: Point, + canvas: LGraphCanvas + ): void + /** @param pos Offset from {@link LGraphNode.pos}. */ + onNodeTitleDblClick?( + this: LGraphNode, + e: CanvasPointerEvent, + pos: Point, + canvas: LGraphCanvas + ): void + onDrawTitle?(this: LGraphNode, ctx: CanvasRenderingContext2D): void + onDrawTitleText?( + this: LGraphNode, + ctx: CanvasRenderingContext2D, + title_height: number, + size: Size, + scale: number, + title_text_font: string, + selected?: boolean + ): void + onDrawTitleBox?( + this: LGraphNode, + ctx: CanvasRenderingContext2D, + title_height: number, + size: Size, + scale: number + ): void + onDrawTitleBar?( + this: LGraphNode, + ctx: CanvasRenderingContext2D, + title_height: number, + size: Size, + scale: number, + fgcolor: string + ): void + onRemoved?(this: LGraphNode): void + onMouseMove?( + this: LGraphNode, + e: CanvasPointerEvent, + pos: Point, + arg2: LGraphCanvas + ): void + onPropertyChange?(this: LGraphNode): void + updateOutputData?(this: LGraphNode, origin_slot: number): void + + private _getErrorStrokeStyle( + this: LGraphNode + ): IDrawBoundingOptions | undefined { + if (this.has_errors) { + return { + padding: 12, + lineWidth: 10, + color: LiteGraph.NODE_ERROR_COLOUR + } + } + } + + private _getSelectedStrokeStyle( + this: LGraphNode + ): IDrawBoundingOptions | undefined { + if (this.selected) { + return { + padding: this.has_errors ? 20 : undefined + } + } + } + + constructor(title: string, type?: string) { + this.id = LiteGraph.use_uuids ? LiteGraph.uuidv4() : -1 + this.title = title || 'Unnamed' + this.type = type ?? '' + this.size = [LiteGraph.NODE_WIDTH, 60] + this.pos = [10, 10] + this.strokeStyles = { + error: this._getErrorStrokeStyle, + selected: this._getSelectedStrokeStyle + } + // Initialize property manager with tracked properties + this.changeTracker = new LGraphNodeProperties(this) + } + + /** Internal callback for subgraph nodes. Do not implement externally. */ + _internalConfigureAfterSlots?(): void + + /** + * configure a node from an object containing the serialized info + */ + configure(info: ISerialisedNode): void { + if (this.graph) { + this.graph._version++ + } + if (info.id === -1) info.id = this.id + for (const j in info) { + if (j == 'properties') { + // i don't want to clone properties, I want to reuse the old container + for (const k in info.properties) { + this.properties[k] = info.properties[k] + this.onPropertyChanged?.(k, info.properties[k]) + } + continue + } + + // @ts-expect-error #594 + if (info[j] == null) { + continue + // @ts-expect-error #594 + } else if (typeof info[j] == 'object') { + // @ts-expect-error #594 + if (this[j]?.configure) { + // @ts-expect-error #594 + this[j]?.configure(info[j]) + } else { + // @ts-expect-error #594 + this[j] = LiteGraph.cloneObject(info[j], this[j]) + } + } else { + // value + // @ts-expect-error #594 + this[j] = info[j] + } + } + + if (!info.title) { + this.title = this.constructor.title + } + + this.inputs ??= [] + this.inputs = this.inputs.map((input) => + toClass(NodeInputSlot, input, this) + ) + for (const [i, input] of this.inputs.entries()) { + const link = + this.graph && input.link != null + ? this.graph._links.get(input.link) + : null + this.onConnectionsChange?.(NodeSlotType.INPUT, i, true, link, input) + this.onInputAdded?.(input) + } + + this.outputs ??= [] + this.outputs = this.outputs.map((output) => + toClass(NodeOutputSlot, output, this) + ) + for (const [i, output] of this.outputs.entries()) { + if (!output.links) continue + + for (const linkId of output.links) { + const link = this.graph ? this.graph._links.get(linkId) : null + this.onConnectionsChange?.(NodeSlotType.OUTPUT, i, true, link, output) + } + this.onOutputAdded?.(output) + } + + // SubgraphNode callback. + this._internalConfigureAfterSlots?.() + + if (this.widgets) { + for (const w of this.widgets) { + if (!w) continue + + const input = this.inputs.find((i) => i.widget?.name === w.name) + if (input?.label) w.label = input.label + + if ( + w.options?.property && + this.properties[w.options.property] != undefined + ) + w.value = JSON.parse( + JSON.stringify(this.properties[w.options.property]) + ) + } + + if (info.widgets_values) { + let i = 0 + for (const widget of this.widgets ?? []) { + if (widget.serialize === false) continue + if (i >= info.widgets_values.length) break + widget.value = info.widgets_values[i++] + } + } + } + + // Sync the state of this.resizable. + if (this.pinned) this.resizable = false + + if (this.widgets_up) { + console.warn( + `[LiteGraph] Node type "${this.type}" uses deprecated property "widgets_up". ` + + 'This property is unsupported and will be removed. ' + + 'Use "widgets_start_y" or a custom arrange() override instead.' + ) + } + + this.onConfigure?.(info) + } + + /** + * serialize the content + */ + serialize(): ISerialisedNode { + // create serialization object + const o: ISerialisedNode = { + id: this.id, + type: this.type, + pos: [this.pos[0], this.pos[1]], + size: [this.size[0], this.size[1]], + flags: LiteGraph.cloneObject(this.flags), + order: this.order, + mode: this.mode, + showAdvanced: this.showAdvanced + } + + // special case for when there were errors + if (this.constructor === LGraphNode && this.last_serialization) + return { ...this.last_serialization, mode: o.mode, pos: o.pos } + + if (this.inputs) + o.inputs = this.inputs.map((input) => inputAsSerialisable(input)) + if (this.outputs) + // @ts-expect-error - Output serialization type mismatch + o.outputs = this.outputs.map((output) => outputAsSerialisable(output)) + + if (this.title && this.title != this.constructor.title) o.title = this.title + + if (this.properties) o.properties = LiteGraph.cloneObject(this.properties) + + const { widgets } = this + if (widgets && this.serialize_widgets) { + o.widgets_values = [] + for (const [i, widget] of widgets.entries()) { + if (widget.serialize === false) continue + // @ts-expect-error #595 No-null + o.widgets_values[i] = widget ? widget.value : null + } + } + + if (!o.type && this.constructor.type) o.type = this.constructor.type + + if (this.color) o.color = this.color + if (this.bgcolor) o.bgcolor = this.bgcolor + if (this.boxcolor) o.boxcolor = this.boxcolor + if (this.shape) o.shape = this.shape + + if (this.onSerialize?.(o)) + console.warn( + "node onSerialize shouldn't return anything, data should be stored in the object pass in the first parameter" + ) + + return o + } + + /* Creates a clone of this node */ + clone(): LGraphNode | null { + if (this.type == null) return null + const node = LiteGraph.createNode(this.type) + if (!node) return null + + // we clone it because serialize returns shared containers + const data = LiteGraph.cloneObject(this.serialize()) + const { inputs, outputs } = data + + // remove links + if (inputs) { + for (const input of inputs) { + input.link = null + } + } + + if (outputs) { + for (const { links } of outputs) { + if (links) links.length = 0 + } + } + + // @ts-expect-error Exceptional case: id is removed so that the graph can assign a new one on add. + data.id = undefined + + if (LiteGraph.use_uuids) data.id = LiteGraph.uuidv4() + + node.configure(data) + + return node + } + + /** + * serialize and stringify + */ + toString(): string { + return JSON.stringify(this.serialize()) + } + + /** + * get the title string + */ + getTitle(): string { + return this.title || this.constructor.title + } + + /** + * sets the value of a property + * @param name + * @param value + */ + setProperty(name: string, value: TWidgetValue): void { + this.properties ||= {} + if (value === this.properties[name]) return + + const prev_value = this.properties[name] + this.properties[name] = value + // abort change + if (this.onPropertyChanged?.(name, value, prev_value) === false) + this.properties[name] = prev_value + + if (this.widgets) { + for (const w of this.widgets) { + if (!w) continue + + if (w.options.property == name) { + w.value = value + break + } + } + } + } + + /** + * sets the output data + * @param slot + * @param data + */ + setOutputData( + slot: number, + data: number | string | boolean | { toToolTip?(): string } + ): void { + const { outputs } = this + if (!outputs) return + + // this maybe slow and a niche case + if (slot == -1 || slot >= outputs.length) return + + const output_info = outputs[slot] + if (!output_info) return + + // store data in the output itself in case we want to debug + output_info._data = data + + if (!this.graph) throw new NullGraphError() + + // if there are connections, pass the data to the connections + const { links } = outputs[slot] + if (links) { + for (const id of links) { + const link = this.graph._links.get(id) + if (link) link.data = data + } + } + } + + /** + * sets the output data type, useful when you want to be able to overwrite the data type + */ + setOutputDataType(slot: number, type: ISlotType): void { + const { outputs } = this + if (!outputs || slot == -1 || slot >= outputs.length) return + + const output_info = outputs[slot] + if (!output_info) return + // store data in the output itself in case we want to debug + output_info.type = type + + if (!this.graph) throw new NullGraphError() + + // if there are connections, pass the data to the connections + const { links } = outputs[slot] + if (links) { + for (const id of links) { + const link = this.graph._links.get(id) + if (link) link.type = type + } + } + } + + /** + * Retrieves the input data (data traveling through the connection) from one slot + * @param slot + * @param force_update if set to true it will force the connected node of this slot to output data into this link + * @returns data or if it is not connected returns undefined + */ + getInputData(slot: number, force_update?: boolean): unknown { + if (!this.inputs) return + + if (slot >= this.inputs.length || this.inputs[slot].link == null) return + if (!this.graph) throw new NullGraphError() + + const link_id = this.inputs[slot].link + const link = this.graph._links.get(link_id) + // bug: weird case but it happens sometimes + if (!link) return null + + if (!force_update) return link.data + + // special case: used to extract data from the incoming connection before the graph has been executed + const node = this.graph.getNodeById(link.origin_id) + if (!node) return link.data + + if (node.updateOutputData) { + node.updateOutputData(link.origin_slot) + } else { + node.onExecute?.() + } + + return link.data + } + + /** + * Retrieves the input data type (in case this supports multiple input types) + * @param slot + * @returns datatype in string format + */ + getInputDataType(slot: number): ISlotType | null { + if (!this.inputs) return null + if (slot >= this.inputs.length || this.inputs[slot].link == null) + return null + if (!this.graph) throw new NullGraphError() + + const link_id = this.inputs[slot].link + const link = this.graph._links.get(link_id) + // bug: weird case but it happens sometimes + if (!link) return null + + const node = this.graph.getNodeById(link.origin_id) + if (!node) return link.type + + const output_info = node.outputs[link.origin_slot] + return output_info ? output_info.type : null + } + + /** + * Retrieves the input data from one slot using its name instead of slot number + * @param slot_name + * @param force_update if set to true it will force the connected node of this slot to output data into this link + * @returns data or if it is not connected returns null + */ + getInputDataByName(slot_name: string, force_update: boolean): unknown { + const slot = this.findInputSlot(slot_name) + return slot == -1 ? null : this.getInputData(slot, force_update) + } + + /** + * tells you if there is a connection in one input slot + * @param slot The 0-based index of the input to check + * @returns `true` if the input slot has a link ID (does not perform validation) + */ + isInputConnected(slot: number): boolean { + if (!this.inputs) return false + return slot < this.inputs.length && this.inputs[slot].link != null + } + + /** + * tells you info about an input connection (which node, type, etc) + * @returns object or null { link: id, name: string, type: string or 0 } + */ + getInputInfo(slot: number): INodeInputSlot | null { + return !this.inputs || !(slot < this.inputs.length) + ? null + : this.inputs[slot] + } + + /** + * Returns the link info in the connection of an input slot + * @returns object or null + */ + getInputLink(slot: number): LLink | null { + if (!this.inputs) return null + + if (slot < this.inputs.length) { + if (!this.graph) throw new NullGraphError() + + const input = this.inputs[slot] + if (input.link != null) { + return this.graph._links.get(input.link) ?? null + } + } + return null + } + + /** + * returns the node connected in the input slot + * @returns node or null + */ + getInputNode(slot: number): LGraphNode | null { + if (!this.inputs) return null + if (slot >= this.inputs.length) return null + + const input = this.inputs[slot] + if (!input || input.link === null) return null + if (!this.graph) throw new NullGraphError() + + const link_info = this.graph._links.get(input.link) + if (!link_info) return null + + return this.graph.getNodeById(link_info.origin_id) + } + + /** + * returns the value of an input with this name, otherwise checks if there is a property with that name + * @returns value + */ + getInputOrProperty(name: string): unknown { + const { inputs } = this + if (!inputs?.length) { + return this.properties ? this.properties[name] : null + } + if (!this.graph) throw new NullGraphError() + + for (const input of inputs) { + if (name == input.name && input.link != null) { + const link = this.graph._links.get(input.link) + if (link) return link.data + } + } + return this.properties[name] + } + + /** + * tells you the last output data that went in that slot + * @returns object or null + */ + getOutputData(slot: number): unknown { + if (!this.outputs) return null + if (slot >= this.outputs.length) return null + + const info = this.outputs[slot] + return info._data + } + + /** + * tells you info about an output connection (which node, type, etc) + * @returns object or null { name: string, type: string, links: [ ids of links in number ] } + */ + getOutputInfo(slot: number): INodeOutputSlot | null { + return !this.outputs || !(slot < this.outputs.length) + ? null + : this.outputs[slot] + } + + /** + * tells you if there is a connection in one output slot + */ + isOutputConnected(slot: number): boolean { + if (!this.outputs) return false + return ( + slot < this.outputs.length && Number(this.outputs[slot].links?.length) > 0 + ) + } + + /** + * tells you if there is any connection in the output slots + */ + isAnyOutputConnected(): boolean { + const { outputs } = this + if (!outputs) return false + + for (const output of outputs) { + if (output.links?.length) return true + } + return false + } + + /** + * retrieves all the nodes connected to this output slot + */ + getOutputNodes(slot: number): LGraphNode[] | null { + const { outputs } = this + if (!outputs || outputs.length == 0) return null + + if (slot >= outputs.length) return null + + const { links } = outputs[slot] + if (!links || links.length == 0) return null + if (!this.graph) throw new NullGraphError() + + const r: LGraphNode[] = [] + for (const id of links) { + const link = this.graph._links.get(id) + if (link) { + const target_node = this.graph.getNodeById(link.target_id) + if (target_node) { + r.push(target_node) + } + } + } + return r + } + + addOnTriggerInput(): number { + const trigS = this.findInputSlot('onTrigger') + if (trigS == -1) { + this.addInput('onTrigger', LiteGraph.EVENT, { + nameLocked: true + }) + return this.findInputSlot('onTrigger') + } + return trigS + } + + addOnExecutedOutput(): number { + const trigS = this.findOutputSlot('onExecuted') + if (trigS == -1) { + this.addOutput('onExecuted', LiteGraph.ACTION, { + nameLocked: true + }) + return this.findOutputSlot('onExecuted') + } + return trigS + } + + onAfterExecuteNode(param: unknown, options?: { action_call?: string }) { + const trigS = this.findOutputSlot('onExecuted') + if (trigS != -1) { + this.triggerSlot(trigS, param, null, options) + } + } + + changeMode(modeTo: number): boolean { + switch (modeTo) { + case LGraphEventMode.ON_EVENT: + break + + case LGraphEventMode.ON_TRIGGER: + this.addOnTriggerInput() + this.addOnExecutedOutput() + break + + case LGraphEventMode.NEVER: + break + + case LGraphEventMode.ALWAYS: + break + + // @ts-expect-error Not impl. + case LiteGraph.ON_REQUEST: + break + + default: + return false + break + } + this.mode = modeTo + return true + } + + /** + * Triggers the node code execution, place a boolean/counter to mark the node as being executed + */ + doExecute(param?: unknown, options?: { action_call?: string }): void { + options = options || {} + if (this.onExecute) { + // enable this to give the event an ID + options.action_call ||= `${this.id}_exec_${Math.floor(Math.random() * 9999)}` + if (!this.graph) throw new NullGraphError() + + // @ts-expect-error Technically it works when id is a string. Array gets props. + this.graph.nodes_executing[this.id] = true + this.onExecute(param, options) + // @ts-expect-error deprecated + this.graph.nodes_executing[this.id] = false + + // save execution/action ref + this.exec_version = this.graph.iteration + if (options?.action_call) { + this.action_call = options.action_call + // @ts-expect-error deprecated + this.graph.nodes_executedAction[this.id] = options.action_call + } + } + // the nFrames it will be used (-- each step), means "how old" is the event + this.execute_triggered = 2 + this.onAfterExecuteNode?.(param, options) + } + + /** + * Triggers an action, wrapped by logics to control execution flow + * @param action name + */ + actionDo( + action: string, + param: unknown, + options: { action_call?: string } + ): void { + options = options || {} + if (this.onAction) { + // enable this to give the event an ID + options.action_call ||= `${this.id}_${action || 'action'}_${Math.floor(Math.random() * 9999)}` + if (!this.graph) throw new NullGraphError() + + // @ts-expect-error deprecated + this.graph.nodes_actioning[this.id] = action || 'actioning' + this.onAction(action, param, options) + // @ts-expect-error deprecated + this.graph.nodes_actioning[this.id] = false + + // save execution/action ref + if (options?.action_call) { + this.action_call = options.action_call + // @ts-expect-error deprecated + this.graph.nodes_executedAction[this.id] = options.action_call + } + } + // the nFrames it will be used (-- each step), means "how old" is the event + this.action_triggered = 2 + this.onAfterExecuteNode?.(param, options) + } + + /** + * Triggers an event in this node, this will trigger any output with the same name + * @param action name ( "on_play", ... ) if action is equivalent to false then the event is send to all + */ + trigger( + action: string, + param: unknown, + options: { action_call?: string } + ): void { + const { outputs } = this + if (!outputs || !outputs.length) { + return + } + + if (this.graph) this.graph._last_trigger_time = LiteGraph.getTime() + + for (const [i, output] of outputs.entries()) { + if ( + !output || + output.type !== LiteGraph.EVENT || + (action && output.name != action) + ) { + continue + } + this.triggerSlot(i, param, null, options) + } + } + + /** + * Triggers a slot event in this node: cycle output slots and launch execute/action on connected nodes + * @param slot the index of the output slot + * @param link_id [optional] in case you want to trigger and specific output link in a slot + */ + triggerSlot( + slot: number, + param: unknown, + link_id: number | null, + options?: { action_call?: string } + ): void { + options = options || {} + if (!this.outputs) return + + if (slot == null) { + console.error('slot must be a number') + return + } + + if (typeof slot !== 'number') + console.warn( + "slot must be a number, use node.trigger('name') if you want to use a string" + ) + + const output = this.outputs[slot] + if (!output) return + + const links = output.links + if (!links || !links.length) return + + if (!this.graph) throw new NullGraphError() + this.graph._last_trigger_time = LiteGraph.getTime() + + // for every link attached here + for (const id of links) { + // to skip links + if (link_id != null && link_id != id) continue + + const link_info = this.graph._links.get(id) + // not connected + if (!link_info) continue + + link_info._last_time = LiteGraph.getTime() + const node = this.graph.getNodeById(link_info.target_id) + // node not found? + if (!node) continue + + if (node.mode === LGraphEventMode.ON_TRIGGER) { + // generate unique trigger ID if not present + if (!options.action_call) + options.action_call = `${this.id}_trigg_${Math.floor(Math.random() * 9999)}` + // -- wrapping node.onExecute(param); -- + node.doExecute?.(param, options) + } else if (node.onAction) { + // generate unique action ID if not present + if (!options.action_call) + options.action_call = `${this.id}_act_${Math.floor(Math.random() * 9999)}` + // pass the action name + const target_connection = node.inputs[link_info.target_slot] + node.actionDo(target_connection.name, param, options) + } + } + } + + /** + * clears the trigger slot animation + * @param slot the index of the output slot + * @param link_id [optional] in case you want to trigger and specific output link in a slot + */ + clearTriggeredSlot(slot: number, link_id: number): void { + if (!this.outputs) return + + const output = this.outputs[slot] + if (!output) return + + const links = output.links + if (!links || !links.length) return + + if (!this.graph) throw new NullGraphError() + + // for every link attached here + for (const id of links) { + // to skip links + if (link_id != null && link_id != id) continue + + const link_info = this.graph._links.get(id) + // not connected + if (!link_info) continue + + link_info._last_time = 0 + } + } + + /** + * changes node size and triggers callback + */ + setSize(size: Size): void { + this.size = size + this.onResize?.(this.size) + } + + /** + * Expands the node size to fit its content. + */ + expandToFitContent(): void { + const newSize = this.computeSize() + this.setSize([ + Math.max(this.size[0], newSize[0]), + Math.max(this.size[1], newSize[1]) + ]) + } + + /** + * add a new property to this node + * @param type string defining the output type ("vec3","number",...) + * @param extra_info this can be used to have special properties of the property (like values, etc) + */ + addProperty( + name: string, + default_value: NodeProperty | undefined, + type?: string, + extra_info?: Partial + ): INodePropertyInfo { + const o: INodePropertyInfo = { name, type, default_value } + if (extra_info) Object.assign(o, extra_info) + + this.properties_info ||= [] + this.properties_info.push(o) + this.properties ||= {} + this.properties[name] = default_value + return o + } + + /** + * add a new output slot to use in this node + * @param type string defining the output type ("vec3","number",...) + * @param extra_info this can be used to have special properties of an output (label, special color, position, etc) + */ + addOutput>( + name: string, + type: ISlotType, + extra_info?: TProperties + ): INodeOutputSlot & TProperties { + const output = Object.assign( + new NodeOutputSlot({ name, type, links: null }, this), + extra_info + ) + + this.outputs ||= [] + this.outputs.push(output) + this.onOutputAdded?.(output) + + if (LiteGraph.auto_load_slot_types) + LiteGraph.registerNodeAndSlotType(this, type, true) + + this.expandToFitContent() + this.setDirtyCanvas(true, true) + return output + } + + /** + * remove an existing output slot + */ + removeOutput(slot: number): void { + // Only disconnect if node is part of a graph + if (this.graph) { + this.disconnectOutput(slot) + } + const { outputs } = this + outputs.splice(slot, 1) + + for (let i = slot; i < outputs.length; ++i) { + const output = outputs[i] + if (!output || !output.links) continue + + // Only update link indices if node is part of a graph + if (this.graph) { + for (const linkId of output.links) { + const link = this.graph._links.get(linkId) + if (link) link.origin_slot-- + } + } + } + + this.onOutputRemoved?.(slot) + this.setDirtyCanvas(true, true) + } + + /** + * add a new input slot to use in this node + * @param type string defining the input type ("vec3","number",...), it its a generic one use 0 + * @param extra_info this can be used to have special properties of an input (label, color, position, etc) + */ + addInput>( + name: string, + type: ISlotType, + extra_info?: TProperties + ): INodeInputSlot & TProperties { + type ||= 0 + + const input = Object.assign( + new NodeInputSlot({ name, type, link: null }, this), + extra_info + ) + + this.inputs ||= [] + this.inputs.push(input) + this.expandToFitContent() + + this.onInputAdded?.(input) + LiteGraph.registerNodeAndSlotType(this, type) + + this.setDirtyCanvas(true, true) + return input + } + + /** + * remove an existing input slot + */ + removeInput(slot: number): void { + // Only disconnect if node is part of a graph + if (this.graph) { + this.disconnectInput(slot, true) + } + const { inputs } = this + const slot_info = inputs.splice(slot, 1) + + for (let i = slot; i < inputs.length; ++i) { + const input = inputs[i] + if (!input?.link) continue + + // Only update link indices if node is part of a graph + if (this.graph) { + const link = this.graph._links.get(input.link) + if (link) link.target_slot-- + } + } + this.onInputRemoved?.(slot, slot_info[0]) + this.setDirtyCanvas(true, true) + } + + /** + * computes the minimum size of a node according to its inputs and output slots + * @returns the total size + */ + computeSize(out?: Size): Size { + const ctorSize = this.constructor.size + if (ctorSize) return [ctorSize[0], ctorSize[1]] + + const { inputs, outputs, widgets } = this + let rows = Math.max( + inputs ? inputs.filter((input) => !isWidgetInputSlot(input)).length : 1, + outputs ? outputs.length : 1 + ) + const size = out ?? [0, 0] + rows = Math.max(rows, 1) + // although it should be graphcanvas.inner_text_font size + const font_size = LiteGraph.NODE_TEXT_SIZE + + const padLeft = LiteGraph.NODE_TITLE_HEIGHT + const padRight = padLeft * 0.33 + const title_width = + padLeft + compute_text_size(this.title, this.titleFontStyle) + padRight + let input_width = 0 + let widgetWidth = 0 + let output_width = 0 + + if (inputs) { + for (const input of inputs) { + const text = input.label || input.localized_name || input.name || '' + const text_width = compute_text_size(text, this.innerFontStyle) + if (isWidgetInputSlot(input)) { + const widget = this.getWidgetFromSlot(input) + if (widget && !this.isWidgetVisible(widget)) continue + + if (text_width > widgetWidth) widgetWidth = text_width + } else { + if (text_width > input_width) input_width = text_width + } + } + } + + if (outputs) { + for (const output of outputs) { + const text = output.label || output.localized_name || output.name || '' + const text_width = compute_text_size(text, this.innerFontStyle) + if (output_width < text_width) output_width = text_width + } + } + + const minWidth = LiteGraph.NODE_WIDTH * (widgets?.length ? 1.5 : 1) + // Text + slot width + centre padding + const centrePadding = input_width && output_width ? 5 : 0 + const slotsWidth = + input_width + + output_width + + 2 * LiteGraph.NODE_SLOT_HEIGHT + + centrePadding + + // Total distance from edge of node to the inner edge of the widget 'previous' arrow button + const widgetMargin = + BaseWidget.margin + BaseWidget.arrowMargin + BaseWidget.arrowWidth + const widgetPadding = BaseWidget.minValueWidth + 2 * widgetMargin + if (widgetWidth) widgetWidth += widgetPadding + + size[0] = Math.max(slotsWidth, widgetWidth, title_width, minWidth) + size[1] = + (this.constructor.slot_start_y || 0) + rows * LiteGraph.NODE_SLOT_HEIGHT + + // Get widget height & expand size if necessary + let widgets_height = 0 + if (widgets?.length) { + for (const widget of widgets) { + if (!this.isWidgetVisible(widget)) continue + + let widget_height = 0 + if (widget.computeSize) { + widget_height += widget.computeSize(size[0])[1] + } else if (widget.computeLayoutSize) { + // Expand widget width if necessary + const { minHeight, minWidth } = widget.computeLayoutSize(this) + const widgetWidth = minWidth + widgetPadding + if (widgetWidth > size[0]) size[0] = widgetWidth + + widget_height += minHeight + } else { + widget_height += LiteGraph.NODE_WIDGET_HEIGHT + } + widgets_height += widget_height + 4 + } + widgets_height += 8 + } + + // compute height using widgets height + if (this.widgets_up) size[1] = Math.max(size[1], widgets_height) + else if (this.widgets_start_y != null) + size[1] = Math.max(size[1], widgets_height + this.widgets_start_y) + else size[1] += widgets_height + + function compute_text_size(text: string, fontStyle: string) { + return ( + LGraphCanvas._measureText?.(text, fontStyle) ?? + font_size * (text?.length ?? 0) * 0.6 + ) + } + + if (this.constructor.min_height && size[1] < this.constructor.min_height) { + size[1] = this.constructor.min_height + } + + // margin + size[1] += 6 + + return size + } + + inResizeCorner(canvasX: number, canvasY: number): boolean { + const rows = this.outputs ? this.outputs.length : 1 + const outputs_offset = + (this.constructor.slot_start_y || 0) + rows * LiteGraph.NODE_SLOT_HEIGHT + return isInRectangle( + canvasX, + canvasY, + this.pos[0] + this.size[0] - 15, + this.pos[1] + Math.max(this.size[1] - 15, outputs_offset), + 20, + 20 + ) + } + + /** + * Returns which resize corner the point is over, if any. + * @param canvasX X position in canvas coordinates + * @param canvasY Y position in canvas coordinates + * @returns The compass corner the point is in, otherwise `undefined`. + */ + findResizeDirection( + canvasX: number, + canvasY: number + ): CompassCorners | undefined { + if (this.resizable === false) return + + const { boundingRect } = this + if (!boundingRect.containsXy(canvasX, canvasY)) return + + // Check corners first (they take priority over edges) + return boundingRect.findContainingCorner( + canvasX, + canvasY, + LGraphNode.resizeHandleSize + ) + } + + /** + * returns all the info available about a property of this node. + * @param property name of the property + * @returns the object with all the available info + */ + getPropertyInfo(property: string) { + let info = null + + // there are several ways to define info about a property + // legacy mode + const { properties_info } = this + if (properties_info) { + for (const propInfo of properties_info) { + if (propInfo.name == property) { + info = propInfo + break + } + } + } + // litescene mode using the constructor + // @ts-expect-error deprecated https://github.com/Comfy-Org/litegraph.js/issues/639 + if (this.constructor[`@${property}`]) + // @ts-expect-error deprecated https://github.com/Comfy-Org/litegraph.js/issues/639 + info = this.constructor[`@${property}`] + + if (this.constructor.widgets_info?.[property]) + info = this.constructor.widgets_info[property] + + // litescene mode using the constructor + if (!info && this.onGetPropertyInfo) { + info = this.onGetPropertyInfo(property) + } + + info ||= {} + info.type ||= typeof this.properties[property] + if (info.widget == 'combo') info.type = 'enum' + + return info + } + + /** + * Defines a widget inside the node, it will be rendered on top of the node, you can control lots of properties + * @param type the widget type + * @param name the text to show on the widget + * @param value the default value + * @param callback function to call when it changes (optionally, it can be the name of the property to modify) + * @param options the object that contains special properties of this widget + * @returns the created widget object + */ + addWidget< + Type extends TWidgetType, + TValue extends WidgetTypeMap[Type]['value'] + >( + type: Type, + name: string, + value: TValue, + callback: IBaseWidget['callback'] | string | null, + options?: IWidgetOptions | string + ): WidgetTypeMap[Type] | IBaseWidget { + this.widgets ||= [] + + if (!options && callback && typeof callback === 'object') { + options = callback + callback = null + } + + // options can be the property name + options ||= {} + if (typeof options === 'string') options = { property: options } + + // callback can be the property name + if (callback && typeof callback === 'string') { + options.property = callback + callback = null + } + + const w: IBaseWidget & { type: Type } = { + // @ts-expect-error - Type casting for widget type property + type: type.toLowerCase(), + name: name, + value: value, + callback: typeof callback !== 'function' ? undefined : callback, + options, + y: 0 + } + + if (w.options.y !== undefined) { + w.y = w.options.y + } + + if (!callback && !w.options.callback && !w.options.property) { + console.warn( + 'LiteGraph addWidget(...) without a callback or property assigned' + ) + } + if (type == 'combo' && !w.options.values) { + throw "LiteGraph addWidget('combo',...) requires to pass values in options: { values:['red','blue'] }" + } + + const widget = this.addCustomWidget(w) + this.expandToFitContent() + return widget + } + + addCustomWidget( + custom_widget: TPlainWidget + ): TPlainWidget | WidgetTypeMap[TPlainWidget['type']] { + this.widgets ||= [] + const widget = toConcreteWidget(custom_widget, this, false) ?? custom_widget + this.widgets.push(widget) + return widget + } + + addTitleButton(options: LGraphButtonOptions): LGraphButton { + this.title_buttons ||= [] + const button = new LGraphButton(options) + this.title_buttons.push(button) + return button + } + + onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void { + // Dispatch event for button click + canvas.dispatch('litegraph:node-title-button-clicked', { + node: this, + button: button + }) + } + + removeWidgetByName(name: string): void { + const widget = this.widgets?.find((x) => x.name === name) + if (widget) this.removeWidget(widget) + } + + removeWidget(widget: IBaseWidget): void { + if (!this.widgets) + throw new Error('removeWidget called on node without widgets') + + const widgetIndex = this.widgets.indexOf(widget) + if (widgetIndex === -1) throw new Error('Widget not found on this node') + + // Clean up slot references to prevent memory leaks + if (this.inputs) { + for (const input of this.inputs) { + if (input._widget === widget) { + input._widget = undefined + input.widget = undefined + } + } + } + + widget.onRemove?.() + this.widgets.splice(widgetIndex, 1) + } + + ensureWidgetRemoved(widget: IBaseWidget): void { + try { + this.removeWidget(widget) + } catch (error) { + console.error('Failed to remove widget', error) + } + } + + move(deltaX: number, deltaY: number): void { + if (this.pinned) return + + // If Vue nodes mode is enabled, skip LiteGraph's direct position update + // The layout store will handle the movement and sync back to LiteGraph + if (LiteGraph.vueNodesMode) { + // Vue nodes handle their own dragging through the layout store + // This prevents the snap-back issue from conflicting position updates + return + } + + this.pos[0] += deltaX + this.pos[1] += deltaY + } + + /** + * Internal method to measure the node for rendering. Prefer {@link boundingRect} where possible. + * + * Populates {@link out} with the results in graph space. + * Populates {@link _collapsed_width} with the collapsed width if the node is collapsed. + * Adjusts for title and collapsed status, but does not call {@link onBounding}. + * @param out `x, y, width, height` are written to this array. + * @param ctx The canvas context to use for measuring text. + */ + measure(out: Rect, ctx?: CanvasRenderingContext2D): void { + const titleMode = this.title_mode + const renderTitle = + titleMode != TitleMode.TRANSPARENT_TITLE && + titleMode != TitleMode.NO_TITLE + const titleHeight = renderTitle ? LiteGraph.NODE_TITLE_HEIGHT : 0 + + out[0] = this.pos[0] + out[1] = this.pos[1] + -titleHeight + if (!this.flags?.collapsed) { + out[2] = this.size[0] + out[3] = this.size[1] + titleHeight + } else { + if (ctx) ctx.font = this.innerFontStyle + this._collapsed_width = Math.min( + this.size[0], + ctx + ? ctx.measureText(this.getTitle() ?? '').width + + LiteGraph.NODE_TITLE_HEIGHT * 2 + : 0 + ) + out[2] = this._collapsed_width || LiteGraph.NODE_COLLAPSED_WIDTH + out[3] = LiteGraph.NODE_TITLE_HEIGHT + } + } + + /** + * returns the bounding of the object, used for rendering purposes + * @param out {Rect?} [optional] a place to store the output, to free garbage + * @param includeExternal {boolean?} [optional] set to true to + * include the shadow and connection points in the bounding calculation + * @returns the bounding box in format of [topleft_cornerx, topleft_cornery, width, height] + */ + getBounding(out?: Rect, includeExternal?: boolean): Rect { + out ||= [0, 0, 0, 0] + + const rect = includeExternal ? this.renderArea : this.boundingRect + out[0] = rect[0] + out[1] = rect[1] + out[2] = rect[2] + out[3] = rect[3] + + return out + } + + /** + * Calculates the render area of this node, populating both {@link boundingRect} and {@link renderArea}. + * Called automatically at the start of every frame. + */ + updateArea(ctx?: CanvasRenderingContext2D): void { + const bounds = this._boundingRect + this.measure(bounds, ctx) + this.onBounding?.(bounds) + + const renderArea = this._renderArea + renderArea.set(bounds) + // 4 offset for collapsed node connection points + renderArea[0] -= 4 + renderArea[1] -= 4 + // Add shadow & left offset + renderArea[2] += 6 + 4 + // Add shadow & top offsets + renderArea[3] += 5 + 4 + } + + /** + * checks if a point is inside the shape of a node + */ + isPointInside(x: number, y: number): boolean { + if (isInRect(x, y, this.boundingRect)) return true + + for (const badge of this.badges.map(toValue).filter((b) => b.onClick)) { + if (isInRect(x - this.pos[0], y - this.pos[1], badge.boundingRect)) + return true + } + return false + } + + /** + * Checks if the provided point is inside this node's collapse button area. + * @param x X co-ordinate to check + * @param y Y co-ordinate to check + * @returns true if the x,y point is in the collapse button area, otherwise false + */ + isPointInCollapse(x: number, y: number): boolean { + const squareLength = LiteGraph.NODE_TITLE_HEIGHT + return isInRectangle( + x, + y, + this.pos[0], + this.pos[1] - squareLength, + squareLength, + squareLength + ) + } + + /** + * Returns the input slot at the given position. Uses full 20 height, and approximates the label length. + * @param pos The graph co-ordinates to check + * @returns The input slot at the given position if found, otherwise `undefined`. + */ + getInputOnPos(pos: Point): INodeInputSlot | undefined { + return getNodeInputOnPos(this, pos[0], pos[1])?.input + } + + /** + * Returns the output slot at the given position. Uses full 20x20 box for the slot. + * @param pos The graph co-ordinates to check + * @returns The output slot at the given position if found, otherwise `undefined`. + */ + getOutputOnPos(pos: Point): INodeOutputSlot | undefined { + return getNodeOutputOnPos(this, pos[0], pos[1])?.output + } + + /** + * Returns the input or output slot at the given position. + * + * Tries {@link getNodeInputOnPos} first, then {@link getNodeOutputOnPos}. + * @param pos The graph co-ordinates to check + * @returns The input or output slot at the given position if found, otherwise `undefined`. + */ + getSlotOnPos(pos: Point): INodeInputSlot | INodeOutputSlot | undefined { + if (!isPointInRect(pos, this.boundingRect)) return + + return this.getInputOnPos(pos) ?? this.getOutputOnPos(pos) + } + + /** + * @deprecated Use {@link getSlotOnPos} instead. + * checks if a point is inside a node slot, and returns info about which slot + * @param x + * @param y + * @returns if found the object contains { input|output: slot object, slot: number, link_pos: [x,y] } + */ + getSlotInPosition(x: number, y: number): IFoundSlot | null { + // search for inputs + const { inputs, outputs } = this + + if (inputs) { + for (const [i, input] of inputs.entries()) { + const pos = this.getInputPos(i) + if (isInRectangle(x, y, pos[0] - 10, pos[1] - 10, 20, 20)) { + return { input, slot: i, link_pos: pos } + } + } + } + + if (outputs) { + for (const [i, output] of outputs.entries()) { + const pos = this.getOutputPos(i) + if (isInRectangle(x, y, pos[0] - 10, pos[1] - 10, 20, 20)) { + return { output, slot: i, link_pos: pos } + } + } + } + + return null + } + + /** + * Gets the widget on this node at the given co-ordinates. + * @param canvasX X co-ordinate in graph space + * @param canvasY Y co-ordinate in graph space + * @returns The widget found, otherwise `null` + */ + getWidgetOnPos( + canvasX: number, + canvasY: number, + includeDisabled = false + ): IBaseWidget | undefined { + const { widgets, pos, size } = this + if (!widgets?.length) return + + const x = canvasX - pos[0] + const y = canvasY - pos[1] + const nodeWidth = size[0] + + for (const widget of widgets) { + if ( + (widget.computedDisabled && !includeDisabled) || + !this.isWidgetVisible(widget) + ) { + continue + } + + const h = + widget.computedHeight ?? + widget.computeSize?.(nodeWidth)[1] ?? + LiteGraph.NODE_WIDGET_HEIGHT + + const maybeDOMWidget = widget as { margin?: number } + const mtop = maybeDOMWidget.margin ?? -2 + const mbot = maybeDOMWidget.margin ?? 2 + const mx = maybeDOMWidget.margin ?? 6 + + const w = widget.width || nodeWidth + if ( + widget.last_y !== undefined && + isInRectangle( + x, + y, + mx, + widget.last_y + mtop, + w - 2 * mx, + h - mtop - mbot + ) + ) { + return widget + } + } + } + + /** + * Returns the input slot with a given name (used for dynamic slots), -1 if not found + * @param name the name of the slot to find + * @param returnObj if the obj itself wanted + * @returns the slot (-1 if not found) + */ + findInputSlot( + name: string, + returnObj?: TReturn + ): number + findInputSlot( + name: string, + returnObj?: TReturn + ): INodeInputSlot + findInputSlot(name: string, returnObj: boolean = false) { + const { inputs } = this + if (!inputs) return -1 + + for (const [i, input] of inputs.entries()) { + if (name == input.name) { + return !returnObj ? i : input + } + } + return -1 + } + + /** + * returns the output slot with a given name (used for dynamic slots), -1 if not found + * @param name the name of the slot to find + * @param returnObj if the obj itself wanted + * @returns the slot (-1 if not found) + */ + findOutputSlot( + name: string, + returnObj?: TReturn + ): number + findOutputSlot( + name: string, + returnObj?: TReturn + ): INodeOutputSlot + findOutputSlot(name: string, returnObj: boolean = false) { + const { outputs } = this + if (!outputs) return -1 + + for (const [i, output] of outputs.entries()) { + if (name == output.name) { + return !returnObj ? i : output + } + } + return -1 + } + + /** + * Finds the first free input slot. + * @param optsIn + * @returns The index of the first matching slot, the slot itself if returnObj is true, or -1 if not found. + */ + findInputSlotFree( + optsIn?: FindFreeSlotOptions & { returnObj?: TReturn } + ): number + findInputSlotFree( + optsIn?: FindFreeSlotOptions & { returnObj?: TReturn } + ): INodeInputSlot | -1 + findInputSlotFree(optsIn?: FindFreeSlotOptions) { + return this._findFreeSlot(this.inputs, optsIn) + } + + /** + * Finds the first free output slot. + * @param optsIn + * @returns The index of the first matching slot, the slot itself if returnObj is true, or -1 if not found. + */ + findOutputSlotFree( + optsIn?: FindFreeSlotOptions & { returnObj?: TReturn } + ): number + findOutputSlotFree( + optsIn?: FindFreeSlotOptions & { returnObj?: TReturn } + ): INodeOutputSlot | -1 + findOutputSlotFree(optsIn?: FindFreeSlotOptions) { + return this._findFreeSlot(this.outputs, optsIn) + } + + /** + * Finds the next free slot + * @param slots The slots to search, i.e. this.inputs or this.outputs + */ + private _findFreeSlot( + slots: TSlot[], + options?: FindFreeSlotOptions + ): TSlot | number { + const defaults = { + returnObj: false, + typesNotAccepted: [] + } + const opts = Object.assign(defaults, options || {}) + const length = slots?.length + if (!(length > 0)) return -1 + + for (let i = 0; i < length; ++i) { + const slot: TSlot & IGenericLinkOrLinks = slots[i] + if (!slot || slot.link || slot.links?.length) continue + if (opts.typesNotAccepted?.includes?.(slot.type)) continue + return !opts.returnObj ? i : slot + } + return -1 + } + + /** + * findSlotByType for INPUTS + */ + findInputSlotByType( + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): number + findInputSlotByType( + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): INodeInputSlot + findInputSlotByType( + type: ISlotType, + returnObj?: boolean, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ) { + return this._findSlotByType( + this.inputs, + type, + returnObj, + preferFreeSlot, + doNotUseOccupied + ) + } + + /** + * findSlotByType for OUTPUTS + */ + findOutputSlotByType( + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): number + findOutputSlotByType( + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): INodeOutputSlot + findOutputSlotByType( + type: ISlotType, + returnObj?: boolean, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ) { + return this._findSlotByType( + this.outputs, + type, + returnObj, + preferFreeSlot, + doNotUseOccupied + ) + } + + /** + * returns the output (or input) slot with a given type, -1 if not found + * @param input use inputs instead of outputs + * @param type the type of the slot to find + * @param returnObj if the obj itself wanted + * @param preferFreeSlot if we want a free slot (if not found, will return the first of the type anyway) + * @returns the slot (-1 if not found) + */ + findSlotByType( + input: TSlot, + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): number + findSlotByType( + input: TSlot, + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): INodeInputSlot | -1 + findSlotByType( + input: TSlot, + type: ISlotType, + returnObj?: TReturn, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): INodeOutputSlot | -1 + findSlotByType( + input: boolean, + type: ISlotType, + returnObj?: boolean, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): number | INodeOutputSlot | INodeInputSlot { + return input + ? this._findSlotByType( + this.inputs, + type, + returnObj, + preferFreeSlot, + doNotUseOccupied + ) + : this._findSlotByType( + this.outputs, + type, + returnObj, + preferFreeSlot, + doNotUseOccupied + ) + } + + /** + * Finds a matching slot from those provided, returning the slot itself or its index in {@link slots}. + * @param slots Slots to search (this.inputs or this.outputs) + * @param type Type of slot to look for + * @param returnObj If true, returns the slot itself. Otherwise, the index. + * @param preferFreeSlot Prefer a free slot, but if none are found, fall back to an occupied slot. + * @param doNotUseOccupied Do not fall back to occupied slots. + * @see {findSlotByType} + * @see {findOutputSlotByType} + * @see {findInputSlotByType} + * @returns If a match is found, the slot if returnObj is true, otherwise the index. If no matches are found, -1 + */ + private _findSlotByType( + slots: TSlot[], + type: ISlotType, + returnObj?: boolean, + preferFreeSlot?: boolean, + doNotUseOccupied?: boolean + ): TSlot | number { + const length = slots?.length + if (!length) return -1 + + // Empty string and * match anything (type: 0) + if (type == '' || type == '*') type = 0 + const sourceTypes = String(type).toLowerCase().split(',') + + // Run the search + let occupiedSlot: number | TSlot | null = null + for (let i = 0; i < length; ++i) { + const slot: TSlot & IGenericLinkOrLinks = slots[i] + const destTypes = + slot.type == '0' || slot.type == '*' + ? ['0'] + : String(slot.type).toLowerCase().split(',') + + for (const sourceType of sourceTypes) { + // TODO: Remove _event_ entirely. + const source = sourceType == '_event_' ? LiteGraph.EVENT : sourceType + + for (const destType of destTypes) { + const dest = destType == '_event_' ? LiteGraph.EVENT : destType + + if (source == dest || source === '*' || dest === '*') { + if (preferFreeSlot && (slot.links?.length || slot.link != null)) { + // In case we can't find a free slot. + occupiedSlot ??= returnObj ? slot : i + continue + } + return returnObj ? slot : i + } + } + } + } + + return doNotUseOccupied ? -1 : (occupiedSlot ?? -1) + } + + /** + * Determines the slot index to connect to when attempting to connect by type. + * @param findInputs If true, searches for an input. Otherwise, an output. + * @param node The node at the other end of the connection. + * @param slotType The type of slot at the other end of the connection. + * @param options Search restrictions to adhere to. + * @see {connectByType} + * @see {connectByTypeOutput} + */ + findConnectByTypeSlot( + findInputs: boolean, + node: LGraphNode, + slotType: ISlotType, + options?: ConnectByTypeOptions + ): number | undefined { + // LEGACY: Old options names + if (options && typeof options === 'object') { + if ('firstFreeIfInputGeneralInCase' in options) + options.wildcardToTyped = !!options.firstFreeIfInputGeneralInCase + if ('firstFreeIfOutputGeneralInCase' in options) + options.wildcardToTyped = !!options.firstFreeIfOutputGeneralInCase + if ('generalTypeInCase' in options) + options.typedToWildcard = !!options.generalTypeInCase + } + const optsDef: ConnectByTypeOptions = { + createEventInCase: true, + wildcardToTyped: true, + typedToWildcard: true + } + const opts = Object.assign(optsDef, options) + + if (!this.graph) throw new NullGraphError() + + if (node && typeof node === 'number') { + const nodeById = this.graph.getNodeById(node) + if (!nodeById) return + + node = nodeById + } + const slot = node.findSlotByType(findInputs, slotType, false, true) + if (slot >= 0 && slot !== null) return slot + + // TODO: Remove or reimpl. events. WILL CREATE THE onTrigger IN SLOT + if (opts.createEventInCase && slotType == LiteGraph.EVENT) { + if (findInputs) return -1 + if (LiteGraph.do_add_triggers_slots) return node.addOnExecutedOutput() + } + + // connect to the first general output slot if not found a specific type and + if (opts.typedToWildcard) { + const generalSlot = node.findSlotByType(findInputs, 0, false, true, true) + if (generalSlot >= 0) return generalSlot + } + // connect to the first free input slot if not found a specific type and this output is general + if ( + opts.wildcardToTyped && + (slotType == 0 || slotType == '*' || slotType == '') + ) { + const opt = { typesNotAccepted: [LiteGraph.EVENT] } + const nonEventSlot = findInputs + ? node.findInputSlotFree(opt) + : node.findOutputSlotFree(opt) + if (nonEventSlot >= 0) return nonEventSlot + } + } + + /** + * Finds the first free output slot with any of the comma-delimited types in {@link type}. + * + * If no slots are free, falls back in order to: + * - The first free wildcard slot + * - The first occupied slot + * - The first occupied wildcard slot + * @param type The {@link ISlotType type} of slot to find + * @returns The index and slot if found, otherwise `undefined`. + */ + findOutputByType( + type: ISlotType + ): { index: number; slot: INodeOutputSlot } | undefined { + return findFreeSlotOfType( + this.outputs, + type, + (output) => !output.links?.length + ) + } + + /** + * Finds the first free input slot with any of the comma-delimited types in {@link type}. + * + * If no slots are free, falls back in order to: + * - The first free wildcard slot + * - The first occupied slot + * - The first occupied wildcard slot + * @param type The {@link ISlotType type} of slot to find + * @returns The index and slot if found, otherwise `undefined`. + */ + findInputByType( + type: ISlotType + ): { index: number; slot: INodeInputSlot } | undefined { + return findFreeSlotOfType( + this.inputs, + type, + (input) => + input.link == null || !!this.graph?.getLink(input.link)?._dragging + ) + } + + /** + * connect this node output to the input of another node BY TYPE + * @param slot (could be the number of the slot or the string with the name of the slot) + * @param target_node the target node + * @param target_slotType the input slot type of the target node + * @returns the link_info is created, otherwise null + */ + connectByType( + slot: number | string, + target_node: LGraphNode, + target_slotType: ISlotType, + optsIn?: ConnectByTypeOptions + ): LLink | null { + const slotIndex = this.findConnectByTypeSlot( + true, + target_node, + target_slotType, + optsIn + ) + if (slotIndex !== undefined) + return this.connect(slot, target_node, slotIndex, optsIn?.afterRerouteId) + + // No compatible slot found - connection not possible + return null + } + + /** + * connect this node input to the output of another node BY TYPE + * @param slot (could be the number of the slot or the string with the name of the slot) + * @param source_node the target node + * @param source_slotType the output slot type of the target node + * @returns the link_info is created, otherwise null + */ + connectByTypeOutput( + slot: number | string, + source_node: LGraphNode, + source_slotType: ISlotType, + optsIn?: ConnectByTypeOptions + ): LLink | null { + // LEGACY: Old options names + if (typeof optsIn === 'object') { + if ('firstFreeIfInputGeneralInCase' in optsIn) + optsIn.wildcardToTyped = !!optsIn.firstFreeIfInputGeneralInCase + if ('generalTypeInCase' in optsIn) + optsIn.typedToWildcard = !!optsIn.generalTypeInCase + } + const slotIndex = this.findConnectByTypeSlot( + false, + source_node, + source_slotType, + optsIn + ) + if (slotIndex !== undefined) + return source_node.connect(slotIndex, this, slot, optsIn?.afterRerouteId) + + console.error( + '[connectByType]: no way to connect type:', + source_slotType, + 'to node:', + source_node + ) + return null + } + + canConnectTo( + node: NodeLike, + toSlot: INodeInputSlot | SubgraphIO, + fromSlot: INodeOutputSlot | SubgraphIO + ) { + return ( + this.id !== node.id && + LiteGraph.isValidConnection(fromSlot.type, toSlot.type) + ) + } + + /** + * Connect an output of this node to an input of another node + * @param slot (could be the number of the slot or the string with the name of the slot) + * @param target_node the target node + * @param target_slot the input slot of the target node (could be the number of the slot or the string with the name of the slot, or -1 to connect a trigger) + * @returns the link_info is created, otherwise null + */ + connect( + slot: number | string, + target_node: LGraphNode, + target_slot: ISlotType, + afterRerouteId?: RerouteId + ): LLink | null { + // Allow legacy API support for searching target_slot by string, without mutating the input variables + let targetIndex: number | null + + const { graph, outputs } = this + if (!graph) { + // could be connected before adding it to a graph + // due to link ids being associated with graphs + console.error( + "Connect: Error, node doesn't belong to any graph. Nodes must be added first to a graph before connecting them." + ) + return null + } + + // seek for the output slot + if (typeof slot === 'string') { + slot = this.findOutputSlot(slot) + if (slot == -1) { + if (LiteGraph.debug) + console.error(`Connect: Error, no slot of name ${slot}`) + return null + } + } else if (!outputs || slot >= outputs.length) { + if (LiteGraph.debug) + console.error('Connect: Error, slot number not found') + return null + } + + if (target_node && typeof target_node === 'number') { + const nodeById = graph.getNodeById(target_node) + if (!nodeById) throw 'target node is null' + + target_node = nodeById + } + if (!target_node) throw 'target node is null' + + // avoid loopback + if (target_node == this) return null + + // you can specify the slot by name + if (typeof target_slot === 'string') { + targetIndex = target_node.findInputSlot(target_slot) + if (targetIndex == -1) { + if (LiteGraph.debug) + console.error(`Connect: Error, no slot of name ${targetIndex}`) + return null + } + } else if (target_slot === LiteGraph.EVENT) { + // TODO: Events + if (LiteGraph.do_add_triggers_slots) { + target_node.changeMode(LGraphEventMode.ON_TRIGGER) + targetIndex = target_node.findInputSlot('onTrigger') + } else { + return null + } + } else if (typeof target_slot === 'number') { + targetIndex = target_slot + } else { + targetIndex = 0 + } + + // Allow target node to change slot + if (target_node.onBeforeConnectInput) { + // This way node can choose another slot (or make a new one?) + const requestedIndex = target_node.onBeforeConnectInput( + targetIndex, + target_slot + ) + targetIndex = typeof requestedIndex === 'number' ? requestedIndex : null + } + + if ( + targetIndex === null || + !target_node.inputs || + targetIndex >= target_node.inputs.length + ) { + if (LiteGraph.debug) + console.error('Connect: Error, slot number not found') + return null + } + + const input = target_node.inputs[targetIndex] + const output = outputs[slot] + + if (!output) return null + + if (output.links?.length) { + if ( + output.type === LiteGraph.EVENT && + !LiteGraph.allow_multi_output_for_events + ) { + graph.beforeChange() + this.disconnectOutput(slot) + } + } + + const link = this.connectSlots(output, target_node, input, afterRerouteId) + return link ?? null + } + + /** + * Connect two slots between two nodes + * @param output The output slot to connect + * @param inputNode The node that the input slot is on + * @param input The input slot to connect + * @param afterRerouteId The reroute ID to use for the link + * @returns The link that was created, or null if the connection was blocked + */ + connectSlots( + output: INodeOutputSlot, + inputNode: LGraphNode, + input: INodeInputSlot, + afterRerouteId: RerouteId | undefined + ): LLink | null | undefined { + const { graph } = this + if (!graph) throw new NullGraphError() + + const layoutMutations = useLayoutMutations() + + const outputIndex = this.outputs.indexOf(output) + if (outputIndex === -1) { + console.warn('connectSlots: output not found') + return + } + const inputIndex = inputNode.inputs.indexOf(input) + if (inputIndex === -1) { + console.warn('connectSlots: input not found') + return + } + + // check targetSlot and check connection types + if (!LiteGraph.isValidConnection(output.type, input.type)) { + this.setDirtyCanvas(false, true) + return null + } + + // Allow nodes to block connection + if ( + inputNode.onConnectInput?.( + inputIndex, + output.type, + output, + this, + outputIndex + ) === false + ) + return null + if ( + this.onConnectOutput?.( + outputIndex, + input.type, + input, + inputNode, + inputIndex + ) === false + ) + return null + + // if there is something already plugged there, disconnect + if (inputNode.inputs[inputIndex]?.link != null) { + graph.beforeChange() + inputNode.disconnectInput(inputIndex, true) + } + + const maybeCommonType = + input.type && output.type && commonType(input.type, output.type) + + const link = new LLink( + ++graph.state.lastLinkId, + maybeCommonType || input.type || output.type, + this.id, + outputIndex, + inputNode.id, + inputIndex, + afterRerouteId + ) + + // add to graph links list + graph._links.set(link.id, link) + + // Register link in Layout Store for spatial tracking + layoutMutations.setSource(LayoutSource.Canvas) + layoutMutations.createLink( + link.id, + this.id, + outputIndex, + inputNode.id, + inputIndex + ) + + // connect in output + output.links ??= [] + output.links.push(link.id) + // connect in input + const targetInput = inputNode.inputs[inputIndex] + targetInput.link = link.id + if (targetInput.widget) { + graph.trigger('node:slot-links:changed', { + nodeId: inputNode.id, + slotType: NodeSlotType.INPUT, + slotIndex: inputIndex, + connected: true, + linkId: link.id + }) + } + + // Reroutes + const reroutes = LLink.getReroutes(graph, link) + for (const reroute of reroutes) { + reroute.linkIds.add(link.id) + if (reroute.floating) reroute.floating = undefined + reroute._dragging = undefined + } + + // If this is the terminus of a floating link, remove it + const lastReroute = reroutes.at(-1) + if (lastReroute) { + for (const linkId of lastReroute.floatingLinkIds) { + const link = graph.floatingLinks.get(linkId) + if (link?.parentId === lastReroute.id) { + graph.removeFloatingLink(link) + } + } + } + graph._version++ + + // link has been created now, so its updated + this.onConnectionsChange?.( + NodeSlotType.OUTPUT, + outputIndex, + true, + link, + output + ) + + inputNode.onConnectionsChange?.( + NodeSlotType.INPUT, + inputIndex, + true, + link, + input + ) + + this.setDirtyCanvas(false, true) + graph.afterChange() + + return link + } + + connectFloatingReroute( + pos: Point, + slot: INodeInputSlot | INodeOutputSlot, + afterRerouteId?: RerouteId + ): Reroute { + const { graph, id } = this + if (!graph) throw new NullGraphError() + + // Assertion: It's either there or it isn't. + const inputIndex = this.inputs.indexOf(slot as INodeInputSlot) + const outputIndex = this.outputs.indexOf(slot as INodeOutputSlot) + if (inputIndex === -1 && outputIndex === -1) throw new Error('Invalid slot') + + const slotType = outputIndex === -1 ? 'input' : 'output' + + const reroute = graph.setReroute({ + pos, + parentId: afterRerouteId, + linkIds: [], + floating: { slotType } + }) + + const parentReroute = graph.getReroute(afterRerouteId) + const fromLastFloatingReroute = + parentReroute?.floating?.slotType === 'output' + + // Adding from an output, or a floating reroute that is NOT the tip of an existing floating chain + if (afterRerouteId == null || !fromLastFloatingReroute) { + const link = new LLink( + -1, + slot.type, + outputIndex === -1 ? -1 : id, + outputIndex, + inputIndex === -1 ? -1 : id, + inputIndex + ) + link.parentId = reroute.id + graph.addFloatingLink(link) + return reroute + } + + // Adding a new floating reroute from the tip of a floating chain. + if (!parentReroute) + throw new Error('[connectFloatingReroute] Parent reroute not found') + + const link = parentReroute.getFloatingLinks('output')?.[0] + if (!link) + throw new Error('[connectFloatingReroute] Floating link not found') + + reroute.floatingLinkIds.add(link.id) + link.parentId = reroute.id + parentReroute.floating = undefined + return reroute + } + + /** + * disconnect one output to an specific node + * @param slot (could be the number of the slot or the string with the name of the slot) + * @param target_node the target node to which this slot is connected [Optional, + * if not target_node is specified all nodes will be disconnected] + * @returns if it was disconnected successfully + */ + disconnectOutput(slot: string | number, target_node?: LGraphNode): boolean { + if (typeof slot === 'string') { + slot = this.findOutputSlot(slot) + if (slot == -1) { + if (LiteGraph.debug) + console.error(`Connect: Error, no slot of name ${slot}`) + return false + } + } else if (!this.outputs || slot >= this.outputs.length) { + if (LiteGraph.debug) + console.error('Connect: Error, slot number not found') + return false + } + + // get output slot + const output = this.outputs[slot] + if (!output) return false + + if (output._floatingLinks) { + for (const link of output._floatingLinks) { + if (link.hasOrigin(this.id, slot)) { + this.graph?.removeFloatingLink(link) + } + } + } + + if (!output.links || output.links.length == 0) return false + const { links } = output + + // one of the output links in this slot + const graph = this.graph + if (!graph) throw new NullGraphError() + + if (target_node) { + const target = + typeof target_node === 'number' + ? graph.getNodeById(target_node) + : target_node + if (!target) throw 'Target Node not found' + + for (const [i, link_id] of links.entries()) { + const link_info = graph._links.get(link_id) + if (link_info?.target_id != target.id) continue + + // is the link we are searching for... + // remove here + links.splice(i, 1) + const input = target.inputs[link_info.target_slot] + // remove there + input.link = null + if (input.widget) { + graph.trigger('node:slot-links:changed', { + nodeId: target.id, + slotType: NodeSlotType.INPUT, + slotIndex: link_info.target_slot, + connected: false, + linkId: link_info.id + }) + } + + // remove the link from the links pool + link_info.disconnect(graph, 'input') + graph._version++ + + // link_info hasn't been modified so its ok + target.onConnectionsChange?.( + NodeSlotType.INPUT, + link_info.target_slot, + false, + link_info, + input + ) + this.onConnectionsChange?.( + NodeSlotType.OUTPUT, + slot, + false, + link_info, + output + ) + + break + } + } else { + // all the links in this output slot + for (const link_id of links) { + const link_info = graph._links.get(link_id) + if (!link_info) continue + if ( + link_info.target_id === SUBGRAPH_OUTPUT_ID && + graph instanceof Subgraph + ) { + const targetSlot = graph.outputNode.slots[link_info.target_slot] + if (targetSlot) { + targetSlot.linkIds.length = 0 + } else { + console.error('Missing subgraphOutput slot when disconnecting link') + } + } + + const target = graph.getNodeById(link_info.target_id) + graph._version++ + + if (target) { + const input = target.inputs[link_info.target_slot] + // remove other side link + input.link = null + if (input.widget) { + graph.trigger('node:slot-links:changed', { + nodeId: target.id, + slotType: NodeSlotType.INPUT, + slotIndex: link_info.target_slot, + connected: false, + linkId: link_info.id + }) + } + + // link_info hasn't been modified so its ok + target.onConnectionsChange?.( + NodeSlotType.INPUT, + link_info.target_slot, + false, + link_info, + input + ) + } + // remove the link from the links pool + link_info.disconnect(graph, 'input') + + this.onConnectionsChange?.( + NodeSlotType.OUTPUT, + slot, + false, + link_info, + output + ) + } + output.links = null + } + + this.setDirtyCanvas(false, true) + return true + } + + /** + * Disconnect one input + * @param slot Input slot index, or the name of the slot + * @param keepReroutes If `true`, reroutes will not be garbage collected. + * @returns true if disconnected successfully or already disconnected, otherwise false + */ + disconnectInput(slot: number | string, keepReroutes?: boolean): boolean { + // Allow search by string + if (typeof slot === 'string') { + slot = this.findInputSlot(slot) + if (slot == -1) { + if (LiteGraph.debug) + console.error(`Connect: Error, no slot of name ${slot}`) + return false + } + } else if (!this.inputs || slot >= this.inputs.length) { + if (LiteGraph.debug) { + console.error('Connect: Error, slot number not found') + } + return false + } + + const input = this.inputs[slot] + if (!input) { + console.error('disconnectInput: input not found', slot, this.inputs) + return false + } + + const { graph } = this + if (!graph) throw new NullGraphError() + + // Break floating links + if (input._floatingLinks?.size) { + for (const link of input._floatingLinks) { + graph.removeFloatingLink(link) + } + } + + const link_id = this.inputs[slot].link + if (link_id != null) { + this.inputs[slot].link = null + if (input.widget) { + graph.trigger('node:slot-links:changed', { + nodeId: this.id, + slotType: NodeSlotType.INPUT, + slotIndex: slot, + connected: false, + linkId: link_id + }) + } + + // remove other side + const link_info = graph._links.get(link_id) + if (link_info) { + // Let SubgraphInput do the disconnect. + if (link_info.origin_id === -10 && 'inputNode' in graph) { + graph.inputNode._disconnectNodeInput(this, input, link_info) + return true + } + + const target_node = graph.getNodeById(link_info.origin_id) + if (!target_node) { + console.error( + 'disconnectInput: output not found', + link_info.origin_slot + ) + return false + } + + const output = target_node.outputs[link_info.origin_slot] + if (!output?.links?.length) { + // Output not found - may have been removed + return false + } + + // search in the inputs list for this link + let i = 0 + for (const l = output.links.length; i < l; i++) { + if (output.links[i] == link_id) { + output.links.splice(i, 1) + break + } + } + + link_info.disconnect(graph, keepReroutes ? 'output' : undefined) + if (graph) graph._version++ + + this.onConnectionsChange?.( + NodeSlotType.INPUT, + slot, + false, + link_info, + input + ) + target_node.onConnectionsChange?.( + NodeSlotType.OUTPUT, + i, + false, + link_info, + output + ) + } + } + + this.setDirtyCanvas(false, true) + return true + } + + /** + * @deprecated Use {@link getInputPos} or {@link getOutputPos} instead. + * returns the center of a connection point in canvas coords + * @param is_input true if if a input slot, false if it is an output + * @param slot_number (could be the number of the slot or the string with the name of the slot) + * @param out [optional] a place to store the output, to free garbage + * @returns the position + */ + getConnectionPos(is_input: boolean, slot_number: number, out?: Point): Point { + out ||= [0, 0] + + const { + pos: [nodeX, nodeY], + inputs, + outputs + } = this + + if (this.flags.collapsed) { + const w = this._collapsed_width || LiteGraph.NODE_COLLAPSED_WIDTH + out[0] = is_input ? nodeX : nodeX + w + out[1] = nodeY - LiteGraph.NODE_TITLE_HEIGHT * 0.5 + return out + } + + // weird feature that never got finished + if (is_input && slot_number == -1) { + out[0] = nodeX + LiteGraph.NODE_TITLE_HEIGHT * 0.5 + out[1] = nodeY + LiteGraph.NODE_TITLE_HEIGHT * 0.5 + return out + } + + // hard-coded pos + const inputPos = inputs?.[slot_number]?.pos + const outputPos = outputs?.[slot_number]?.pos + + if (is_input && inputPos) { + out[0] = nodeX + inputPos[0] + out[1] = nodeY + inputPos[1] + return out + } else if (!is_input && outputPos) { + out[0] = nodeX + outputPos[0] + out[1] = nodeY + outputPos[1] + return out + } + + // default vertical slots + const offset = LiteGraph.NODE_SLOT_HEIGHT * 0.5 + const slotIndex = is_input + ? this._defaultVerticalInputs.indexOf(this.inputs[slot_number]) + : this._defaultVerticalOutputs.indexOf(this.outputs[slot_number]) + + out[0] = is_input ? nodeX + offset : nodeX + this.size[0] + 1 - offset + out[1] = + nodeY + + (slotIndex + 0.7) * LiteGraph.NODE_SLOT_HEIGHT + + (this.constructor.slot_start_y || 0) + return out + } + + /** + * @internal The inputs that are not positioned with absolute coordinates. + */ + private get _defaultVerticalInputs() { + return this.inputs.filter( + (slot) => !slot.pos && !(this.widgets?.length && isWidgetInputSlot(slot)) + ) + } + + /** + * @internal The outputs that are not positioned with absolute coordinates. + */ + private get _defaultVerticalOutputs() { + return this.outputs.filter((slot: INodeOutputSlot) => !slot.pos) + } + + /** + * Get the context needed for slot position calculations + * @internal + */ + private _getSlotPositionContext(): SlotPositionContext { + return { + nodeX: this.pos[0], + nodeY: this.pos[1], + nodeWidth: this.size[0], + nodeHeight: this.size[1], + collapsed: this.flags.collapsed ?? false, + collapsedWidth: this._collapsed_width, + slotStartY: this.constructor.slot_start_y, + inputs: this.inputs, + outputs: this.outputs, + widgets: this.widgets + } + } + + /** + * Gets the position of an input slot, in graph co-ordinates. + * + * This method is preferred over the legacy {@link getConnectionPos} method. + * @param slot Input slot index + * @returns Position of the input slot + */ + getInputPos(slot: number): Point { + return getSlotPosition(this, slot, true) + } + + /** + * Gets the position of an input slot, in graph co-ordinates. + * @param input The actual node input object + * @returns Position of the centre of the input slot in graph co-ordinates. + */ + getInputSlotPos(input: INodeInputSlot): Point { + return calculateInputSlotPosFromSlot(this._getSlotPositionContext(), input) + } + + /** + * Gets the position of an output slot, in graph co-ordinates. + * + * This method is preferred over the legacy {@link getConnectionPos} method. + * @param outputSlotIndex Output slot index + * @returns Position of the output slot + */ + getOutputPos(outputSlotIndex: number): Point { + return getSlotPosition(this, outputSlotIndex, false) + } + + /** + * Get slot position using layout tree if available, fallback to node's position * Unified implementation used by both LitegraphLinkAdapter and useLinkLayoutSync + * @param slotIndex The slot index + * @param isInput Whether this is an input slot + * @returns Position of the slot center in graph coordinates + */ + getSlotPosition(slotIndex: number, isInput: boolean): Point { + return getSlotPosition(this, slotIndex, isInput) + } + + /** @inheritdoc */ + snapToGrid(snapTo: number): boolean { + return this.pinned ? false : snapPoint(this.pos, snapTo) + } + + /** @see {@link snapToGrid} */ + alignToGrid(): void { + this.snapToGrid(LiteGraph.CANVAS_GRID_SIZE) + } + + /* Console output */ + trace(msg: string): void { + this.console ||= [] + this.console.push(msg) + // @ts-expect-error deprecated + if (this.console.length > LGraphNode.MAX_CONSOLE) this.console.shift() + } + + /* Forces to redraw or the main canvas (LGraphNode) or the bg canvas (links) */ + setDirtyCanvas(dirty_foreground: boolean, dirty_background?: boolean): void { + this.graph?.canvasAction((c) => + c.setDirty(dirty_foreground, dirty_background) + ) + } + + loadImage(url: string): HTMLImageElement { + interface AsyncImageElement extends HTMLImageElement { + ready?: boolean + } + + const img: AsyncImageElement = new Image() + img.src = LiteGraph.node_images_path + url + img.ready = false + + const dirty = () => this.setDirtyCanvas(true) + img.addEventListener('load', function (this: AsyncImageElement) { + this.ready = true + dirty() + }) + return img + } + + /** + * Allows to get onMouseMove and onMouseUp events even if the mouse is out of focus + * @deprecated Use {@link LGraphCanvas.pointer} instead. + */ + captureInput(v: boolean): void { + warnDeprecated( + '[DEPRECATED] captureInput will be removed in a future version. Please use LGraphCanvas.pointer (CanvasPointer) instead.' + ) + if (!this.graph || !this.graph.list_of_graphcanvas) return + + const list = this.graph.list_of_graphcanvas + + for (const c of list) { + // releasing somebody elses capture?! + if (!v && c.node_capturing_input != this) continue + + // change + c.node_capturing_input = v ? this : null + } + } + + get collapsed() { + return !!this.flags.collapsed + } + + get collapsible() { + return !this.pinned && this.constructor.collapsable !== false + } + + /** + * Toggle node collapse (makes it smaller on the canvas) + */ + collapse(force?: boolean): void { + if (!this.collapsible && !force) return + if (!this.graph) throw new NullGraphError() + this.graph._version++ + this.flags.collapsed = !this.flags.collapsed + this.setDirtyCanvas(true, true) + } + + /** + * Toggles advanced mode of the node, showing advanced widgets + */ + toggleAdvanced() { + if (!this.widgets?.some((w) => w.advanced)) return + if (!this.graph) throw new NullGraphError() + this.graph._version++ + this.showAdvanced = !this.showAdvanced + this.expandToFitContent() + this.setDirtyCanvas(true, true) + } + + get pinned() { + return !!this.flags.pinned + } + + /** + * Prevents the node being accidentally moved or resized by mouse interaction. + * Toggles pinned state if no value is provided. + */ + pin(v?: boolean): void { + if (!this.graph) throw new NullGraphError() + + this.graph._version++ + this.flags.pinned = v ?? !this.flags.pinned + this.resizable = !this.pinned + if (!this.pinned) this.flags.pinned = undefined + } + + unpin(): void { + this.pin(false) + } + + localToScreen(x: number, y: number, dragAndScale: DragAndScale): Point { + return [ + (x + this.pos[0]) * dragAndScale.scale + dragAndScale.offset[0], + (y + this.pos[1]) * dragAndScale.scale + dragAndScale.offset[1] + ] + } + + get width() { + return this.collapsed + ? this._collapsed_width || LiteGraph.NODE_COLLAPSED_WIDTH + : this.size[0] + } + + /** + * Returns the height of the node, including the title bar. + */ + get height() { + return LiteGraph.NODE_TITLE_HEIGHT + this.bodyHeight + } + + /** + * Returns the height of the node, excluding the title bar. + */ + get bodyHeight() { + return this.collapsed ? 0 : this.size[1] + } + + drawBadges(ctx: CanvasRenderingContext2D, { gap = 2 } = {}): void { + const badgeInstances = this.badges.map((badge) => + badge instanceof LGraphBadge ? badge : badge() + ) + const isLeftAligned = this.badgePosition === BadgePosition.TopLeft + + let currentX = isLeftAligned + ? 0 + : this.width - + badgeInstances.reduce( + (acc, badge) => acc + badge.getWidth(ctx) + gap, + 0 + ) + const y = -(LiteGraph.NODE_TITLE_HEIGHT + gap) + + for (const badge of badgeInstances) { + badge.draw(ctx, currentX, y - badge.height) + currentX += badge.getWidth(ctx) + gap + } + } + + /** + * Renders the node's title bar background + */ + drawTitleBarBackground( + ctx: CanvasRenderingContext2D, + { + scale, + title_height = LiteGraph.NODE_TITLE_HEIGHT, + low_quality = false + }: DrawTitleOptions + ): void { + const fgcolor = this.renderingColor + const shape = this.renderingShape + const size = this.renderingSize + + if (this.onDrawTitleBar) { + this.onDrawTitleBar(ctx, title_height, size, scale, fgcolor) + return + } + + if (this.title_mode === TitleMode.TRANSPARENT_TITLE) { + return + } + + if (this.collapsed) { + ctx.shadowColor = LiteGraph.DEFAULT_SHADOW_COLOR + } + + ctx.fillStyle = this.constructor.title_color || fgcolor + ctx.beginPath() + + if (shape == RenderShape.BOX || low_quality) { + ctx.rect(0, -title_height, size[0], title_height) + } else if (shape == RenderShape.ROUND || shape == RenderShape.CARD) { + ctx.roundRect( + 0, + -title_height, + size[0], + title_height, + this.collapsed + ? [LiteGraph.ROUND_RADIUS] + : [LiteGraph.ROUND_RADIUS, LiteGraph.ROUND_RADIUS, 0, 0] + ) + } + ctx.fill() + ctx.shadowColor = 'transparent' + } + + /** + * Renders the node's title box, i.e. the dot in front of the title text that + * when clicked toggles the node's collapsed state. The term `title box` comes + * from the original LiteGraph implementation. + */ + drawTitleBox( + ctx: CanvasRenderingContext2D, + { + scale, + low_quality = false, + title_height = LiteGraph.NODE_TITLE_HEIGHT, + box_size = 10 + }: DrawTitleBoxOptions + ): void { + const size = this.renderingSize + const shape = this.renderingShape + + if (this.onDrawTitleBox) { + this.onDrawTitleBox(ctx, title_height, size, scale) + return + } + + if ( + [RenderShape.ROUND, RenderShape.CIRCLE, RenderShape.CARD].includes(shape) + ) { + if (low_quality) { + ctx.fillStyle = 'black' + ctx.beginPath() + ctx.arc( + title_height * 0.5, + title_height * -0.5, + box_size * 0.5 + 1, + 0, + Math.PI * 2 + ) + ctx.fill() + } + + ctx.fillStyle = this.renderingBoxColor + if (low_quality) { + ctx.fillRect( + title_height * 0.5 - box_size * 0.5, + title_height * -0.5 - box_size * 0.5, + box_size, + box_size + ) + } else { + ctx.beginPath() + ctx.arc( + title_height * 0.5, + title_height * -0.5, + box_size * 0.5, + 0, + Math.PI * 2 + ) + ctx.fill() + } + } else { + if (low_quality) { + ctx.fillStyle = 'black' + ctx.fillRect( + (title_height - box_size) * 0.5 - 1, + (title_height + box_size) * -0.5 - 1, + box_size + 2, + box_size + 2 + ) + } + ctx.fillStyle = this.renderingBoxColor + ctx.fillRect( + (title_height - box_size) * 0.5, + (title_height + box_size) * -0.5, + box_size, + box_size + ) + } + } + + /** + * Renders the node's title text. + */ + drawTitleText( + ctx: CanvasRenderingContext2D, + { + scale, + default_title_color, + low_quality = false, + title_height = LiteGraph.NODE_TITLE_HEIGHT + }: DrawTitleTextOptions + ): void { + const size = this.renderingSize + const selected = this.selected + + if (this.onDrawTitleText) { + this.onDrawTitleText( + ctx, + title_height, + size, + scale, + this.titleFontStyle, + selected + ) + return + } + + // Don't render title text if low quality + if (low_quality) { + return + } + + ctx.font = this.titleFontStyle + const rawTitle = this.getTitle() ?? `❌ ${this.type}` + const title = String(rawTitle) + (this.pinned ? '📌' : '') + if (title) { + if (selected) { + ctx.fillStyle = LiteGraph.NODE_SELECTED_TITLE_COLOR + } else { + ctx.fillStyle = this.constructor.title_text_color || default_title_color + } + + // Calculate available width for title + let availableWidth = size[0] - title_height * 2 // Basic margins + + // Subtract space for title buttons + if (this.title_buttons?.length > 0) { + let buttonsWidth = 0 + const savedFont = ctx.font // Save current font + for (const button of this.title_buttons) { + if (button.visible) { + buttonsWidth += button.getWidth(ctx) + 2 // button width + gap + } + } + ctx.font = savedFont // Restore font after button measurements + if (buttonsWidth > 0) { + buttonsWidth -= 20 // Reduce by empty padding + availableWidth -= buttonsWidth + } + } + + // Truncate title if needed + let displayTitle = title + + if (this.collapsed) { + // For collapsed nodes, limit to 20 chars as before + displayTitle = title.substr(0, 20) + } else if (availableWidth > 0) { + // For regular nodes, truncate based on available width + displayTitle = truncateText(ctx, title, availableWidth) + } + + ctx.textAlign = 'left' + ctx.fillText( + displayTitle, + title_height, + LiteGraph.NODE_TITLE_TEXT_Y - title_height + ) + } + } + + /** + * Attempts to gracefully bypass this node in all of its connections by reconnecting all links. + * + * Each input is checked against each output. This is done on a matching index basis, i.e. input 3 -> output 3. + * If there are any input links remaining, + * and {@link flags}.{@link INodeFlags.keepAllLinksOnBypass keepAllLinksOnBypass} is `true`, + * each input will check for outputs that match, and take the first one that matches + * `true`: Try the index matching first, then every input to every output. + * `false`: Only matches indexes, e.g. input 3 to output 3. + * + * If {@link flags}.{@link INodeFlags.keepAllLinksOnBypass keepAllLinksOnBypass} is `undefined`, it will fall back to + * the static {@link keepAllLinksOnBypass}. + * @returns `true` if any new links were established, otherwise `false`. + * @todo Decision: Change API to return array of new links instead? + */ + connectInputToOutput(): boolean | undefined { + const { inputs, outputs, graph } = this + if (!inputs || !outputs) return + if (!graph) throw new NullGraphError() + + const { _links } = graph + let madeAnyConnections = false + + // First pass: only match exactly index-to-index + for (const [index, input] of inputs.entries()) { + if (input.link == null) continue + + const output = outputs[index] + if (!output || !LiteGraph.isValidConnection(input.type, output.type)) + continue + + const inLink = _links.get(input.link) + if (!inLink) continue + const inNode = graph.getNodeById(inLink?.origin_id) + if (!inNode) continue + + bypassAllLinks(output, inNode, inLink, graph) + } + // Configured to only use index-to-index matching + if (!(this.flags.keepAllLinksOnBypass ?? LGraphNode.keepAllLinksOnBypass)) + return madeAnyConnections + + // Second pass: match any remaining links + for (const input of inputs) { + if (input.link == null) continue + + const inLink = _links.get(input.link) + if (!inLink) continue + const inNode = graph.getNodeById(inLink?.origin_id) + if (!inNode) continue + + for (const output of outputs) { + if (!LiteGraph.isValidConnection(input.type, output.type)) continue + + bypassAllLinks(output, inNode, inLink, graph) + break + } + } + return madeAnyConnections + + function bypassAllLinks( + output: INodeOutputSlot, + inNode: LGraphNode, + inLink: LLink, + graph: LGraph + ) { + const outLinks = output.links + ?.map((x) => _links.get(x)) + .filter((x) => !!x) + if (!outLinks?.length) return + + for (const outLink of outLinks) { + const outNode = graph.getNodeById(outLink.target_id) + if (!outNode) continue + + const result = inNode.connect( + inLink.origin_slot, + outNode, + outLink.target_slot, + inLink.parentId + ) + madeAnyConnections ||= !!result + } + } + } + + /** + * Returns `true` if the widget is visible, otherwise `false`. + */ + isWidgetVisible(widget: IBaseWidget): boolean { + const isHidden = + this.collapsed || widget.hidden || (widget.advanced && !this.showAdvanced) + return !isHidden + } + + updateComputedDisabled() { + if (!this.widgets) return + for (const widget of this.widgets) + widget.computedDisabled = + widget.disabled || this.getSlotFromWidget(widget)?.link != null + } + + drawWidgets( + ctx: CanvasRenderingContext2D, + { lowQuality = false, editorAlpha = 1 }: DrawWidgetsOptions + ): void { + if (!this.widgets) return + + const nodeWidth = this.size[0] + const { widgets } = this + const H = LiteGraph.NODE_WIDGET_HEIGHT + const showText = !lowQuality + ctx.save() + ctx.globalAlpha = editorAlpha + + this.updateComputedDisabled() + for (const widget of widgets) { + if (!this.isWidgetVisible(widget)) continue + + const { y } = widget + const outlineColour = widget.advanced + ? LiteGraph.WIDGET_ADVANCED_OUTLINE_COLOR + : LiteGraph.WIDGET_OUTLINE_COLOR + + widget.last_y = y + + ctx.strokeStyle = outlineColour + ctx.fillStyle = '#222' + ctx.textAlign = 'left' + if (widget.computedDisabled) ctx.globalAlpha *= 0.5 + const width = widget.width || nodeWidth + + if (typeof widget.draw === 'function') { + widget.draw(ctx, this, width, y, H, lowQuality) + } else { + toConcreteWidget(widget, this, false)?.drawWidget(ctx, { + width, + showText + }) + } + ctx.globalAlpha = editorAlpha + } + ctx.restore() + } + + /** + * When {@link LGraphNode.collapsed} is `true`, this method draws the node's collapsed slots. + */ + drawCollapsedSlots(ctx: CanvasRenderingContext2D): void { + // Render the first connected slot only. + for (const slot of this._concreteInputs) { + if (slot.link != null) { + slot.drawCollapsed(ctx) + break + } + } + for (const slot of this._concreteOutputs) { + if (slot.links?.length) { + slot.drawCollapsed(ctx) + break + } + } + } + + get slots(): (INodeInputSlot | INodeOutputSlot)[] { + return [...this.inputs, ...this.outputs] + } + + private _measureSlot( + slot: NodeInputSlot | NodeOutputSlot, + slotIndex: number, + isInput: boolean + ): void { + const pos = isInput + ? this.getInputPos(slotIndex) + : this.getOutputPos(slotIndex) + + slot.boundingRect[0] = pos[0] - LiteGraph.NODE_SLOT_HEIGHT * 0.5 + slot.boundingRect[1] = pos[1] - LiteGraph.NODE_SLOT_HEIGHT * 0.5 + slot.boundingRect[2] = slot.isWidgetInputSlot + ? BaseWidget.margin + : LiteGraph.NODE_SLOT_HEIGHT + slot.boundingRect[3] = LiteGraph.NODE_SLOT_HEIGHT + } + + private _measureSlots(): ReadOnlyRect | null { + const slots: (NodeInputSlot | NodeOutputSlot)[] = [] + + for (const [slotIndex, slot] of this._concreteInputs.entries()) { + // Unrecognized nodes (Nodes with error) has inputs but no widgets. Treat + // converted inputs as normal inputs. + /** Widget input slots are handled in {@link layoutWidgetInputSlots} */ + if (this.widgets?.length && isWidgetInputSlot(slot)) continue + + this._measureSlot(slot, slotIndex, true) + slots.push(slot) + } + for (const [slotIndex, slot] of this._concreteOutputs.entries()) { + this._measureSlot(slot, slotIndex, false) + slots.push(slot) + } + + return slots.length ? createBounds(slots, 0) : null + } + + private _getMouseOverSlot(slot: INodeSlot): INodeSlot | null { + const isInput = isINodeInputSlot(slot) + const mouseOverId = this.mouseOver?.[isInput ? 'inputId' : 'outputId'] ?? -1 + if (mouseOverId === -1) { + return null + } + return isInput ? this.inputs[mouseOverId] : this.outputs[mouseOverId] + } + + private _isMouseOverSlot(slot: INodeSlot): boolean { + return this._getMouseOverSlot(slot) === slot + } + + private _isMouseOverWidget(widget: IBaseWidget | undefined): boolean { + if (!widget) return false + return this.mouseOver?.overWidget === widget + } + + /** + * Returns the input slot that is associated with the given widget. + */ + getSlotFromWidget( + widget: IBaseWidget | undefined + ): INodeInputSlot | undefined { + if (widget) + return this.inputs.find( + (slot) => isWidgetInputSlot(slot) && slot.widget.name === widget.name + ) + } + + /** + * Returns the widget that is associated with the given input slot. + */ + getWidgetFromSlot(slot: INodeInputSlot): IBaseWidget | undefined { + if (!isWidgetInputSlot(slot)) return + return this.widgets?.find((w) => w.name === slot.widget.name) + } + + /** + * Draws the node's input and output slots. + */ + drawSlots( + ctx: CanvasRenderingContext2D, + { fromSlot, colorContext, editorAlpha, lowQuality }: DrawSlotsOptions + ) { + for (const slot of [...this._concreteInputs, ...this._concreteOutputs]) { + const isValidTarget = fromSlot && slot.isValidTarget(fromSlot) + const isMouseOverSlot = this._isMouseOverSlot(slot) + + // change opacity of incompatible slots when dragging a connection + const isValid = !fromSlot || isValidTarget + const highlight = isValid && isMouseOverSlot + + // Show slot if it's not a widget input slot + // or if it's a widget input slot and satisfies one of the following: + // - the mouse is over the widget + // - the slot is valid during link drop + // - the slot is connected + if ( + isMouseOverSlot || + isValidTarget || + !slot.isWidgetInputSlot || + this._isMouseOverWidget(this.getWidgetFromSlot(slot)) || + slot.isConnected || + slot.alwaysVisible + ) { + ctx.globalAlpha = isValid ? editorAlpha : 0.4 * editorAlpha + slot.draw(ctx, { + colorContext, + lowQuality, + highlight + }) + } + } + } + + /** + * Arranges the node's widgets vertically. + * Sets following properties on each widget: + * - {@link IBaseWidget.computedHeight} + * - {@link IBaseWidget.y} + * @param widgetStartY The y-coordinate of the first widget + */ + private _arrangeWidgets(widgetStartY: number): void { + if (!this.widgets || !this.widgets.length) return + + const bodyHeight = this.bodyHeight + const startY = + this.widgets_start_y ?? (this.widgets_up ? 0 : widgetStartY) + 2 + + let freeSpace = bodyHeight - startY + + // Collect fixed height widgets first + let fixedWidgetHeight = 0 + const growableWidgets: { + minHeight: number + prefHeight?: number + w: IBaseWidget + }[] = [] + + const visibleWidgets = this.widgets.filter((w) => !w.hidden) + + for (const w of visibleWidgets) { + if (w.computeSize) { + const height = w.computeSize()[1] + 4 + w.computedHeight = height + fixedWidgetHeight += height + } else if (w.computeLayoutSize) { + const { minHeight, maxHeight } = w.computeLayoutSize(this) + growableWidgets.push({ + minHeight, + prefHeight: maxHeight, + w + }) + } else { + const height = LiteGraph.NODE_WIDGET_HEIGHT + 4 + w.computedHeight = height + fixedWidgetHeight += height + } + } + + // Calculate remaining space for DOM widgets + freeSpace -= fixedWidgetHeight + this.freeWidgetSpace = freeSpace + + // Prepare space requests for distribution + const spaceRequests = growableWidgets.map((d) => ({ + minSize: d.minHeight, + maxSize: d.prefHeight + })) + + // Distribute space among DOM widgets + const allocations = distributeSpace(Math.max(0, freeSpace), spaceRequests) + + // Apply computed heights + for (const [i, d] of growableWidgets.entries()) { + d.w.computedHeight = allocations[i] + } + + // Position widgets + let y = startY + for (const w of visibleWidgets) { + w.y = y + y += w.computedHeight ?? 0 + } + + if (!this.graph) throw new NullGraphError() + + // Grow the node if necessary. + // Ref: https://github.com/Comfy-Org/ComfyUI_frontend/issues/2652 + // TODO: Move the layout logic before drawing of the node shape, so we don't + // need to trigger extra round of rendering. + if (y > bodyHeight) { + this.setSize([this.size[0], y]) + this.graph.setDirtyCanvas(false, true) + } + } + + /** + * Arranges the layout of the node's widget input slots. + */ + private _arrangeWidgetInputSlots(): void { + if (!this.widgets) return + + const slotByWidgetName = new Map< + string, + INodeInputSlot & { index: number } + >() + + for (const [i, slot] of this.inputs.entries()) { + if (!isWidgetInputSlot(slot)) continue + + slotByWidgetName.set(slot.widget.name, { ...slot, index: i }) + } + if (!slotByWidgetName.size) return + + // Only set custom pos if not using Vue positioning + // Vue positioning calculates widget slot positions dynamically + if (!LiteGraph.vueNodesMode) { + for (const widget of this.widgets) { + const slot = slotByWidgetName.get(widget.name) + if (!slot) continue + + const actualSlot = this._concreteInputs[slot.index] + const offset = LiteGraph.NODE_SLOT_HEIGHT * 0.5 + actualSlot.pos = [offset, widget.y + offset] + this._measureSlot(actualSlot, slot.index, true) + } + } else { + // For Vue positioning, just measure the slots without setting pos + for (const widget of this.widgets) { + const slot = slotByWidgetName.get(widget.name) + if (!slot) continue + + this._measureSlot(this._concreteInputs[slot.index], slot.index, true) + } + } + } + + /** + * @internal Sets the internal concrete slot arrays, ensuring they are instances of + * {@link NodeInputSlot} or {@link NodeOutputSlot}. + * + * A temporary workaround until duck-typed inputs and outputs + * have been removed from the ecosystem. + */ + _setConcreteSlots(): void { + this._concreteInputs = this.inputs.map((slot) => + toClass(NodeInputSlot, slot, this) + ) + this._concreteOutputs = this.outputs.map((slot) => + toClass(NodeOutputSlot, slot, this) + ) + } + + /** + * Arranges node elements in preparation for rendering (slots & widgets). + */ + arrange(): void { + const slotsBounds = this._measureSlots() + const widgetStartY = slotsBounds + ? slotsBounds[1] + slotsBounds[3] - this.pos[1] + : 0 + this._arrangeWidgets(widgetStartY) + this._arrangeWidgetInputSlots() + } + + /** + * Draws a progress bar on the node. + * @param ctx The canvas context to draw on + */ + drawProgressBar(ctx: CanvasRenderingContext2D): void { + if (!this.progress) return + + const originalFillStyle = ctx.fillStyle + ctx.fillStyle = 'green' + ctx.fillRect(0, 0, this.width * this.progress, 6) + ctx.fillStyle = originalFillStyle + } +} diff --git a/docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts b/docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts new file mode 100644 index 00000000..7d5a64f1 --- /dev/null +++ b/docs/hel-892/rtx-video-reference/frontend__src__scripts__app.ts @@ -0,0 +1,1789 @@ +import { useEventListener, useResizeObserver } from '@vueuse/core' +import _ from 'es-toolkit/compat' +import type { ToastMessageOptions } from 'primevue/toast' +import { reactive, unref } from 'vue' +import { shallowRef } from 'vue' + +import { useCanvasPositionConversion } from '@/composables/element/useCanvasPositionConversion' +import { layoutStore } from '@/renderer/core/layout/store/layoutStore' +import { flushScheduledSlotLayoutSync } from '@/renderer/extensions/vueNodes/composables/useSlotElementTracking' +import { registerProxyWidgets } from '@/core/graph/subgraph/proxyWidget' +import { st, t } from '@/i18n' +import type { IContextMenuValue } from '@/lib/litegraph/src/interfaces' +import { + LGraph, + LGraphCanvas, + LGraphNode, + LiteGraph +} from '@/lib/litegraph/src/litegraph' +import type { Vector2 } from '@/lib/litegraph/src/litegraph' +import type { IBaseWidget } from '@/lib/litegraph/src/types/widgets' +import { isCloud } from '@/platform/distribution/types' +import { useSettingStore } from '@/platform/settings/settingStore' +import { useTelemetry } from '@/platform/telemetry' +import type { WorkflowOpenSource } from '@/platform/telemetry/types' +import { useToastStore } from '@/platform/updates/common/toastStore' +import { useWorkflowService } from '@/platform/workflow/core/services/workflowService' +import { ComfyWorkflow } from '@/platform/workflow/management/stores/workflowStore' +import { useWorkflowValidation } from '@/platform/workflow/validation/composables/useWorkflowValidation' +import { + type ComfyApiWorkflow, + type ComfyWorkflowJSON, + type ModelFile, + type NodeId, + isSubgraphDefinition +} from '@/platform/workflow/validation/schemas/workflowSchema' +import type { + ExecutionErrorWsMessage, + NodeError, + NodeExecutionOutput, + ResultItem +} from '@/schemas/apiSchema' +import { + type ComfyNodeDef as ComfyNodeDefV1, + isComboInputSpecV1, + isComboInputSpecV2 +} from '@/schemas/nodeDefSchema' +import { + type BaseDOMWidget, + ComponentWidgetImpl, + DOMWidgetImpl +} from '@/scripts/domWidget' +import { useDialogService } from '@/services/dialogService' +import { useBillingContext } from '@/composables/billing/useBillingContext' +import { useExtensionService } from '@/services/extensionService' +import { useLitegraphService } from '@/services/litegraphService' +import { useSubgraphService } from '@/services/subgraphService' +import { useApiKeyAuthStore } from '@/stores/apiKeyAuthStore' +import { useCommandStore } from '@/stores/commandStore' +import { useDomWidgetStore } from '@/stores/domWidgetStore' +import { useExecutionStore } from '@/stores/executionStore' +import { useExtensionStore } from '@/stores/extensionStore' +import { useFirebaseAuthStore } from '@/stores/firebaseAuthStore' +import { useNodeOutputStore } from '@/stores/imagePreviewStore' +import { useJobPreviewStore } from '@/stores/jobPreviewStore' +import { KeyComboImpl } from '@/platform/keybindings/keyCombo' +import { useKeybindingStore } from '@/platform/keybindings/keybindingStore' +import { useModelStore } from '@/stores/modelStore' +import { SYSTEM_NODE_DEFS, useNodeDefStore } from '@/stores/nodeDefStore' +import { useNodeReplacementStore } from '@/platform/nodeReplacement/nodeReplacementStore' +import { useSubgraphStore } from '@/stores/subgraphStore' +import { useWidgetStore } from '@/stores/widgetStore' +import { useWorkspaceStore } from '@/stores/workspaceStore' +import type { ComfyExtension, MissingNodeType } from '@/types/comfy' +import type { ExtensionManager } from '@/types/extensionTypes' +import type { NodeExecutionId } from '@/types/nodeIdentification' +import { graphToPrompt } from '@/utils/executionUtil' +import type { MissingNodeTypeExtraInfo } from '@/workbench/extensions/manager/types/missingNodeErrorTypes' +import { createMissingNodeTypeFromError } from '@/workbench/extensions/manager/utils/missingNodeErrorUtil' +import { anyItemOverlapsRect } from '@/utils/mathUtil' +import { collectAllNodes, forEachNode } from '@/utils/graphTraversalUtil' +import { + getNodeByExecutionId, + triggerCallbackOnAllNodes +} from '@/utils/graphTraversalUtil' +import { + executeWidgetsCallback, + fixLinkInputSlots, + isImageNode +} from '@/utils/litegraphUtil' +import { + createSharedObjectUrl, + releaseSharedObjectUrl +} from '@/utils/objectUrlUtil' +import { + findLegacyRerouteNodes, + noNativeReroutes +} from '@/utils/migration/migrateReroute' +import { getSelectedModelsMetadata } from '@/workbench/utils/modelMetadataUtil' +import { deserialiseAndCreate } from '@/utils/vintageClipboard' + +import { type ComfyApi, PromptExecutionError, api } from './api' +import { defaultGraph } from './defaultGraph' +import { importA1111 } from './pnginfo' +import { $el, ComfyUI } from './ui' +import { ComfyAppMenu } from './ui/menu/index' +import { clone } from './utils' +import { type ComfyWidgetConstructor } from './widgets' +import { ensureCorrectLayoutScale } from '@/renderer/extensions/vueNodes/layout/ensureCorrectLayoutScale' +import { extractFileFromDragEvent } from '@/utils/eventUtils' +import { getWorkflowDataFromFile } from '@/scripts/metadata/parser' +import { pasteImageNode } from '@/composables/usePaste' + +export const ANIM_PREVIEW_WIDGET = '$$comfy_animation_preview' + +export function sanitizeNodeName(string: string) { + let entityMap = { + '&': '', + '<': '', + '>': '', + '"': '', + "'": '', + '`': '', + '=': '' + } + return String(string).replace(/[&<>"'`=]/g, function fromEntityMap(s) { + return entityMap[s as keyof typeof entityMap] + }) +} + +type Clipspace = { + widgets?: Pick[] | null + imgs?: HTMLImageElement[] | null + original_imgs?: HTMLImageElement[] | null + images?: ResultItem[] | null + selectedIndex: number + img_paste_mode: string + paintedIndex: number + combinedIndex: number +} + +export class ComfyApp { + /** + * List of entries to queue + */ + private queueItems: { + number: number + batchCount: number + queueNodeIds?: NodeExecutionId[] + }[] = [] + /** + * If the queue is currently being processed + */ + private processingQueue: boolean = false + + /** + * Content Clipboard + * @type {serialized node object} + */ + static clipspace: Clipspace | null = null + static clipspace_invalidate_handler: (() => void) | null = null + static open_maskeditor: (() => void) | null = null + static maskeditor_is_opended: (() => void) | null = null + static clipspace_return_node = null + + vueAppReady: boolean + api: ComfyApi + ui: ComfyUI + extensionManager!: ExtensionManager + private _nodeOutputs!: Record + nodePreviewImages: Record + + private rootGraphInternal: LGraph | undefined + + // TODO: Migrate internal usage to the + /** @deprecated Use {@link rootGraph} instead */ + get graph() { + return this.rootGraphInternal! + } + + get rootGraph(): LGraph { + if (!this.rootGraphInternal) { + console.error('ComfyApp graph accessed before initialization') + } + return this.rootGraphInternal! + } + + canvas!: LGraphCanvas + dragOverNode: LGraphNode | null = null + readonly canvasElRef = shallowRef() + get canvasEl() { + // TODO: Fix possibly undefined reference + return unref(this.canvasElRef)! + } + + private configuringGraphLevel: number = 0 + get configuringGraph() { + return this.configuringGraphLevel > 0 + } + ctx!: CanvasRenderingContext2D + bodyTop: HTMLElement + bodyLeft: HTMLElement + bodyRight: HTMLElement + bodyBottom: HTMLElement + canvasContainer: HTMLElement + menu: ComfyAppMenu + // Set by Comfy.Clipspace extension + openClipspace: () => void = () => {} + + private positionConversion?: { + clientPosToCanvasPos: (pos: Vector2) => Vector2 + canvasPosToClientPos: (pos: Vector2) => Vector2 + } + + /** + * The node errors from the previous execution. + * @deprecated Use useExecutionStore().lastNodeErrors instead + */ + get lastNodeErrors(): Record | null { + return useExecutionStore().lastNodeErrors + } + + /** + * The error from the previous execution. + * @deprecated Use useExecutionStore().lastExecutionError instead + */ + get lastExecutionError(): ExecutionErrorWsMessage | null { + return useExecutionStore().lastExecutionError + } + + /** + * @deprecated Use useExecutionStore().executingNodeId instead + * TODO: Update to support multiple executing nodes. This getter returns only the first executing node. + * Consider updating consumers to handle multiple nodes or use executingNodeIds array. + */ + get runningNodeId(): NodeId | null { + return useExecutionStore().executingNodeId + } + + /** + * @deprecated Use useWorkspaceStore().shiftDown instead + */ + get shiftDown(): boolean { + return useWorkspaceStore().shiftDown + } + + /** + * @deprecated Use useWidgetStore().widgets instead + */ + get widgets(): Record { + return Object.fromEntries(useWidgetStore().widgets.entries()) + } + + /** + * @deprecated storageLocation is always 'server' since + * https://github.com/comfyanonymous/ComfyUI/commit/53c8a99e6c00b5e20425100f6680cd9ea2652218 + */ + get storageLocation() { + return 'server' + } + + /** + * @deprecated storage migration is no longer needed. + */ + get isNewUserSession() { + return false + } + + /** + * @deprecated Use useExtensionStore().extensions instead + */ + get extensions(): ComfyExtension[] { + return useExtensionStore().extensions + } + + /** + * The progress on the current executing node, if the node reports any. + * @deprecated Use useExecutionStore().executingNodeProgress instead + */ + get progress() { + return useExecutionStore()._executingNodeProgress + } + + /** + * @deprecated Use {@link isImageNode} from @/utils/litegraphUtil instead + */ + static isImageNode(node: LGraphNode) { + return isImageNode(node) + } + + /** + * Resets the canvas view to the default + * @deprecated Use {@link useLitegraphService().resetView} instead + */ + resetView() { + useLitegraphService().resetView() + } + + constructor() { + this.vueAppReady = false + this.ui = new ComfyUI(this) + this.api = api + // Dummy placeholder elements before GraphCanvas is mounted. + this.bodyTop = $el('div.comfyui-body-top') + this.bodyLeft = $el('div.comfyui-body-left') + this.bodyRight = $el('div.comfyui-body-right') + this.bodyBottom = $el('div.comfyui-body-bottom') + this.canvasContainer = $el('div.graph-canvas-container') + + this.menu = new ComfyAppMenu(this) + + /** + * Stores the execution output data for each node + * @type {Record} + */ + this.nodeOutputs = {} + + /** + * Stores the preview image data for each node + * @type {Record} + */ + this.nodePreviewImages = {} + } + + get nodeOutputs() { + return this._nodeOutputs + } + + set nodeOutputs(value) { + this._nodeOutputs = value + if (this.vueAppReady) + useExtensionService().invokeExtensions('onNodeOutputsUpdated', value) + } + + /** + * If the user has specified a preferred format to receive preview images in, + * this function will return that format as a url query param. + * If the node's outputs are not images, this param should not be used, as it will + * force the server to load the output file as an image. + */ + getPreviewFormatParam() { + let preview_format = useSettingStore().get('Comfy.PreviewFormat') + if (preview_format) return `&preview=${preview_format}` + else return '' + } + + getRandParam() { + if (isCloud) return '' + return '&rand=' + Math.random() + } + + static onClipspaceEditorSave() { + if (ComfyApp.clipspace_return_node) { + ComfyApp.pasteFromClipspace(ComfyApp.clipspace_return_node) + } + } + + static onClipspaceEditorClosed() { + ComfyApp.clipspace_return_node = null + } + + static copyToClipspace(node: LGraphNode) { + var widgets = null + if (node.widgets) { + widgets = node.widgets.map(({ type, name, value }) => ({ + type, + name, + value + })) + } + + var imgs = undefined + var orig_imgs = undefined + if (node.imgs != undefined) { + imgs = [] + orig_imgs = [] + + for (let i = 0; i < node.imgs.length; i++) { + imgs[i] = new Image() + imgs[i].src = node.imgs[i].src + orig_imgs[i] = imgs[i] + } + } + + var selectedIndex = 0 + if (node.imageIndex) { + selectedIndex = node.imageIndex + } + + const paintedIndex = imgs ? imgs.length + 1 : 1 + const combinedIndex = imgs ? imgs.length + 2 : 2 + + // for vueNodes mode + const images = + node.images ?? useNodeOutputStore().getNodeOutputs(node)?.images + + ComfyApp.clipspace = { + widgets: widgets, + imgs: imgs, + original_imgs: orig_imgs, + images: images, + selectedIndex: selectedIndex, + img_paste_mode: 'selected', // reset to default im_paste_mode state on copy action + paintedIndex: paintedIndex, + combinedIndex: combinedIndex + } + + ComfyApp.clipspace_return_node = null + + if (ComfyApp.clipspace_invalidate_handler) { + ComfyApp.clipspace_invalidate_handler() + } + } + + static pasteFromClipspace(node: LGraphNode) { + if (ComfyApp.clipspace) { + // image paste + let combinedImgSrc: string | undefined + if ( + ComfyApp.clipspace.combinedIndex !== undefined && + ComfyApp.clipspace.imgs && + ComfyApp.clipspace.combinedIndex < ComfyApp.clipspace.imgs.length + ) { + combinedImgSrc = + ComfyApp.clipspace.imgs[ComfyApp.clipspace.combinedIndex].src + } + if (ComfyApp.clipspace.imgs && node.imgs) { + // Update node.images even if it's initially undefined (vueNodes mode) + if (ComfyApp.clipspace.images) { + if (ComfyApp.clipspace['img_paste_mode'] == 'selected') { + node.images = [ + ComfyApp.clipspace.images[ComfyApp.clipspace['selectedIndex']] + ] + } else { + node.images = ComfyApp.clipspace.images + } + + if (app.nodeOutputs[node.id + '']) + app.nodeOutputs[node.id + ''].images = node.images + } + + if (ComfyApp.clipspace.imgs) { + // deep-copy to cut link with clipspace + if (ComfyApp.clipspace['img_paste_mode'] == 'selected') { + const img = new Image() + img.src = + ComfyApp.clipspace.imgs[ComfyApp.clipspace['selectedIndex']].src + node.imgs = [img] + node.imageIndex = 0 + } else { + const imgs = [] + for (let i = 0; i < ComfyApp.clipspace.imgs.length; i++) { + imgs[i] = new Image() + imgs[i].src = ComfyApp.clipspace.imgs[i].src + node.imgs = imgs + } + } + } + } + + // Paste the RGB canvas if paintedindex exists + if ( + ComfyApp.clipspace.imgs?.[ComfyApp.clipspace.paintedIndex] && + node.imgs + ) { + const paintedImg = new Image() + paintedImg.src = + ComfyApp.clipspace.imgs[ComfyApp.clipspace.paintedIndex].src + node.imgs.push(paintedImg) // Add the RGB canvas to the node's images + } + + // Store only combined image inside the node if it exists + if ( + ComfyApp.clipspace.imgs?.[ComfyApp.clipspace.combinedIndex] && + node.imgs && + combinedImgSrc + ) { + const combinedImg = new Image() + combinedImg.src = combinedImgSrc + node.imgs = [combinedImg] + } + + if (node.widgets) { + if (ComfyApp.clipspace.images) { + const clip_image = + ComfyApp.clipspace.images[ComfyApp.clipspace['selectedIndex']] + const index = node.widgets.findIndex((obj) => obj.name === 'image') + if (index >= 0) { + if ( + node.widgets[index].type != 'image' && + typeof node.widgets[index].value == 'string' && + clip_image.filename + ) { + node.widgets[index].value = + (clip_image.subfolder ? clip_image.subfolder + '/' : '') + + clip_image.filename + + (clip_image.type ? ` [${clip_image.type}]` : '') + } else { + node.widgets[index].value = clip_image + } + } + } + if (ComfyApp.clipspace.widgets && node.widgets) { + ComfyApp.clipspace.widgets.forEach(({ type, name, value }) => { + const prop = node.widgets?.find( + (obj) => obj.type === type && obj.name === name + ) + if (prop && prop.type != 'button') { + const valueObj = value as Record | undefined + if ( + prop.type != 'image' && + typeof prop.value == 'string' && + valueObj?.filename + ) { + const resultItem = value as ResultItem + prop.value = + (resultItem.subfolder ? resultItem.subfolder + '/' : '') + + resultItem.filename + + (resultItem.type ? ` [${resultItem.type}]` : '') + } else { + prop.value = value + prop.callback?.(value) + } + } + }) + } + } + + app.canvas.setDirty(true) + + useNodeOutputStore().updateNodeImages(node) + } + } + + /** + * Adds a handler allowing drag+drop of files onto the window to load workflows + */ + private addDropHandler() { + // Get prompt from dropped PNG or json + useEventListener(document, 'drop', async (event: DragEvent) => { + try { + event.preventDefault() + event.stopPropagation() + + const n = this.dragOverNode + this.dragOverNode = null + // Node handles file drop, we dont use the built in onDropFile handler as its buggy + // If you drag multiple files it will call it multiple times with the same file + if (await n?.onDragDrop?.(event)) return + + const fileMaybe = await extractFileFromDragEvent(event) + if (!fileMaybe) return + + const workspace = useWorkspaceStore() + try { + workspace.spinner = true + await this.handleFile(fileMaybe, 'file_drop') + } finally { + workspace.spinner = false + } + } catch (error: unknown) { + useToastStore().addAlert(t('toastMessages.dropFileError', { error })) + } + }) + + // Always clear over node on drag leave + useEventListener(this.canvasElRef, 'dragleave', async () => { + if (!this.dragOverNode) return + this.dragOverNode = null + this.canvas.setDirty(false, true) + }) + + // Add handler for dropping onto a specific node + useEventListener( + this.canvasElRef, + 'dragover', + (event: DragEvent) => { + this.canvas.adjustMouseEvent(event) + const node = this.canvas.graph?.getNodeOnPos( + event.canvasX, + event.canvasY + ) + + if (!node?.onDragOver?.(event)) { + this.dragOverNode = null + return + } + + this.dragOverNode = node + + // dragover event is fired very frequently, run this on an animation frame + requestAnimationFrame(() => { + this.canvas.setDirty(false, true) + }) + }, + false + ) + } + + /** + * Handle keypress + */ + private addProcessKeyHandler() { + const origProcessKey = LGraphCanvas.prototype.processKey + LGraphCanvas.prototype.processKey = function (e: KeyboardEvent) { + if (!this.graph) return + + if (e.target instanceof Element && e.target.localName == 'input') { + return + } + + if (e.type == 'keydown' && !e.repeat) { + const keyCombo = KeyComboImpl.fromEvent(e) + const keybindingStore = useKeybindingStore() + const keybinding = keybindingStore.getKeybinding(keyCombo) + + if ( + keybinding && + keybinding.targetElementId === 'graph-canvas-container' + ) { + useCommandStore().execute(keybinding.commandId) + + this.graph.change() + e.preventDefault() + e.stopImmediatePropagation() + return + } + + // Ctrl+C Copy + if (e.key === 'c' && (e.metaKey || e.ctrlKey)) { + return + } + + // Ctrl+V Paste + if ( + (e.key === 'v' || e.key == 'V') && + (e.metaKey || e.ctrlKey) && + !e.shiftKey + ) { + return + } + } + + // Fall through to Litegraph defaults + return origProcessKey.apply(this, [e]) + } + } + + /** + * Handles updates from the API socket + */ + private addApiUpdateHandlers() { + api.addEventListener('status', ({ detail }) => { + this.ui.setStatus(detail) + }) + + api.addEventListener('progress', () => { + this.canvas.setDirty(true, false) + }) + + api.addEventListener('executing', () => { + this.canvas.setDirty(true, false) + }) + + api.addEventListener('executed', ({ detail }) => { + const nodeOutputStore = useNodeOutputStore() + const executionId = String(detail.display_node || detail.node) + + nodeOutputStore.setNodeOutputsByExecutionId(executionId, detail.output, { + merge: detail.merge + }) + + const node = getNodeByExecutionId(this.rootGraph, executionId) + if (node && node.onExecuted) { + node.onExecuted(detail.output) + } + }) + + api.addEventListener('execution_start', () => { + triggerCallbackOnAllNodes(this.rootGraph, 'onExecutionStart') + }) + + api.addEventListener('execution_error', ({ detail }) => { + // Check if this is an auth-related error or credits-related error + if ( + detail.exception_message?.includes( + 'Unauthorized: Please login first to use this node.' + ) + ) { + useDialogService().showApiNodesSignInDialog([detail.node_type]) + } else if ( + detail.exception_message?.includes( + 'Payment Required: Please add credits to your account to use this node.' + ) + ) { + const { isActiveSubscription } = useBillingContext() + if (isActiveSubscription.value) { + useDialogService().showTopUpCreditsDialog({ + isInsufficientCredits: true + }) + } + } else { + useDialogService().showExecutionErrorDialog(detail) + } + this.canvas.draw(true, true) + }) + + api.addEventListener('b_preview_with_metadata', ({ detail }) => { + // Enhanced preview with explicit node context + const { blob, displayNodeId, promptId } = detail + const { setNodePreviewsByExecutionId, revokePreviewsByExecutionId } = + useNodeOutputStore() + const blobUrl = createSharedObjectUrl(blob) + useJobPreviewStore().setPreviewUrl(promptId, blobUrl) + // Ensure clean up if `executing` event is missed. + revokePreviewsByExecutionId(displayNodeId) + // Preview cleanup is handled in progress_state event to support multiple concurrent previews + const nodeParents = displayNodeId.split(':') + for (let i = 1; i <= nodeParents.length; i++) { + setNodePreviewsByExecutionId(nodeParents.slice(0, i).join(':'), [ + blobUrl + ]) + } + releaseSharedObjectUrl(blobUrl) + }) + + api.addEventListener('feature_flags', () => { + void useNodeReplacementStore().load() + }) + + api.init() + } + + /** Flag that the graph is configuring to prevent nodes from running checks while its still loading */ + private addConfigureHandler() { + const app = this + const configure = LGraph.prototype.configure + LGraph.prototype.configure = function (...args) { + app.configuringGraphLevel++ + try { + return configure.apply(this, args) + } finally { + app.configuringGraphLevel-- + } + } + } + + private addAfterConfigureHandler(graph: LGraph) { + const { onConfigure } = graph + graph.onConfigure = function (...args) { + // Set pending sync flag to suppress link rendering until slots are synced + if (LiteGraph.vueNodesMode) { + layoutStore.setPendingSlotSync(true) + } + + try { + fixLinkInputSlots(this) + + // Fire callbacks before the onConfigure, this is used by widget inputs to setup the config + triggerCallbackOnAllNodes(this, 'onGraphConfigured') + + const r = onConfigure?.apply(this, args) + + // Fire after onConfigure, used by primitives to generate widget using input nodes config + triggerCallbackOnAllNodes(this, 'onAfterGraphConfigured') + + return r + } finally { + // Flush pending slot layout syncs to fix link alignment after undo/redo + // Using finally ensures links aren't permanently suppressed if an error occurs + if (LiteGraph.vueNodesMode) { + flushScheduledSlotLayoutSync() + app.canvas?.setDirty(true, true) + } + } + } + } + + /** + * Set up the app on the page + */ + async setup(canvasEl: HTMLCanvasElement) { + this.bodyTop = document.getElementById('comfyui-body-top')! + this.bodyLeft = document.getElementById('comfyui-body-left')! + this.bodyRight = document.getElementById('comfyui-body-right')! + this.bodyBottom = document.getElementById('comfyui-body-bottom')! + this.canvasContainer = document.getElementById('graph-canvas-container')! + + this.canvasElRef.value = canvasEl + + await useWorkspaceStore().workflow.syncWorkflows() + //Doesn't need to block. Blueprints will load async + void useSubgraphStore().fetchSubgraphs() + await useExtensionService().loadExtensions() + + this.addProcessKeyHandler() + this.addConfigureHandler() + this.addApiUpdateHandlers() + + const graph = new LGraph() + + // Register the subgraph - adds type wrapper for Litegraph's `createNode` factory + graph.events.addEventListener('subgraph-created', (e) => { + try { + const { subgraph, data } = e.detail + useSubgraphService().registerNewSubgraph(subgraph, data) + } catch (err) { + console.error('Failed to register subgraph', err) + useToastStore().add({ + severity: 'error', + summary: 'Failed to register subgraph', + detail: err instanceof Error ? err.message : String(err) + }) + } + }) + + this.addAfterConfigureHandler(graph) + + this.rootGraphInternal = graph + this.canvas = new LGraphCanvas(canvasEl, graph) + // Make canvas states reactive so we can observe changes on them. + this.canvas.state = reactive(this.canvas.state) + + this.ctx = canvasEl.getContext('2d')! + + LiteGraph.alt_drag_do_clone_nodes = true + LiteGraph.macGesturesRequireMac = false + + this.canvas.canvas.addEventListener<'litegraph:set-graph'>( + 'litegraph:set-graph', + (e) => { + const { newGraph } = e.detail + + const widgetStore = useDomWidgetStore() + + const activeWidgets: Record< + string, + BaseDOMWidget + > = Object.fromEntries( + newGraph.nodes + .flatMap((node) => node.widgets ?? []) + .filter( + (w) => + w instanceof DOMWidgetImpl || w instanceof ComponentWidgetImpl + ) + .map((w) => [w.id, w]) + ) + + for (const [ + widgetId, + widgetState + ] of widgetStore.widgetStates.entries()) { + if (widgetId in activeWidgets) { + widgetState.active = true + widgetState.widget = activeWidgets[widgetId] + } else { + widgetState.active = false + } + } + } + ) + + // Ensure subgraphs are scaled when entering them + this.canvas.canvas.addEventListener<'litegraph:set-graph'>( + 'litegraph:set-graph', + (e) => { + const { newGraph, oldGraph } = e.detail + // Only scale when switching between graphs (not during initial setup) + // oldGraph is null/undefined during initial setup, so skip scaling then + if (oldGraph) { + ensureCorrectLayoutScale( + newGraph.extra.workflowRendererVersion, + newGraph + ) + } + } + ) + + registerProxyWidgets(this.canvas) + + this.rootGraph.start() + + // Ensure the canvas fills the window + useResizeObserver(this.canvasElRef, ([canvasEl]) => { + if (canvasEl.target instanceof HTMLCanvasElement) { + this.resizeCanvas(canvasEl.target) + } + }) + + await useExtensionService().invokeExtensionsAsync('init') + await this.registerNodes() + + this.addDropHandler() + + await useExtensionService().invokeExtensionsAsync('setup') + + this.positionConversion = useCanvasPositionConversion( + this.canvasContainer, + this.canvas + ) + } + + private resizeCanvas(canvas: HTMLCanvasElement) { + // Limit minimal scale to 1, see https://github.com/comfyanonymous/ComfyUI/pull/845 + const scale = Math.max(window.devicePixelRatio, 1) + + // Clear fixed width and height while calculating rect so it uses 100% instead + canvas.height = canvas.width = NaN + const { width, height } = canvas.getBoundingClientRect() + canvas.width = Math.round(width * scale) + canvas.height = Math.round(height * scale) + canvas.getContext('2d')?.scale(scale, scale) + this.canvas?.draw(true, true) + } + + private updateVueAppNodeDefs(defs: Record) { + // Frontend only nodes registered by custom nodes. + // Example: https://github.com/rgthree/rgthree-comfy/blob/dd534e5384be8cf0c0fa35865afe2126ba75ac55/src_web/comfyui/fast_groups_bypasser.ts#L10 + + // Only create frontend_only definitions for nodes that don't have backend definitions + const frontendOnlyDefs: Record = {} + for (const [name, node] of Object.entries( + LiteGraph.registered_node_types + )) { + // Skip if we already have a backend definition or system definition + if (name in defs || name in SYSTEM_NODE_DEFS || node.skip_list) { + continue + } + + frontendOnlyDefs[name] = { + name, + display_name: name, + category: node.category || '__frontend_only__', + input: { required: {}, optional: {} }, + output: [], + output_name: [], + output_is_list: [], + output_node: false, + python_module: 'custom_nodes.frontend_only', + description: node.description ?? `Frontend only node for ${name}` + } as ComfyNodeDefV1 + } + + const allNodeDefs = { + ...frontendOnlyDefs, + ...defs, + ...SYSTEM_NODE_DEFS + } + + const nodeDefStore = useNodeDefStore() + const nodeDefArray: ComfyNodeDefV1[] = Object.values(allNodeDefs) + useExtensionService().invokeExtensions( + 'beforeRegisterVueAppNodeDefs', + nodeDefArray + ) + nodeDefStore.updateNodeDefs(nodeDefArray) + } + + async getNodeDefs(): Promise> { + const translateNodeDef = (def: ComfyNodeDefV1): ComfyNodeDefV1 => ({ + ...def, + display_name: st( + `nodeDefs.${def.name}.display_name`, + def.display_name ?? def.name + ), + description: def.description + ? st(`nodeDefs.${def.name}.description`, def.description) + : '', + category: def.category + .split('/') + .map((category: string) => st(`nodeCategories.${category}`, category)) + .join('/') + }) + + return _.mapValues(await api.getNodeDefs(), (def) => translateNodeDef(def)) + } + + /** + * Registers nodes with the graph + */ + async registerNodes() { + // Load node definitions from the backend + const defs = await this.getNodeDefs() + await this.registerNodesFromDefs(defs) + await useExtensionService().invokeExtensionsAsync('registerCustomNodes') + if (this.vueAppReady) { + this.updateVueAppNodeDefs(defs) + } + } + + async registerNodeDef(nodeId: string, nodeDef: ComfyNodeDefV1) { + return await useLitegraphService().registerNodeDef(nodeId, nodeDef) + } + + async registerNodesFromDefs(defs: Record) { + await useExtensionService().invokeExtensionsAsync('addCustomNodeDefs', defs) + + // Register a node for each definition + await Promise.all( + Object.keys(defs).map((nodeId) => + this.registerNodeDef(nodeId, defs[nodeId]) + ) + ) + } + + loadTemplateData(templateData: { + templates?: { name?: string; data?: string }[] + }): void { + if (!templateData?.templates) { + return + } + + const old = localStorage.getItem('litegrapheditor_clipboard') + + for (const template of templateData.templates) { + if (!template?.data) { + continue + } + + // Check for old clipboard format + const data = JSON.parse(template.data) + if (!data.reroutes) { + deserialiseAndCreate(template.data, app.canvas) + } else { + localStorage.setItem('litegrapheditor_clipboard', template.data) + app.canvas.pasteFromClipboard() + } + + // Move mouse position down to paste the next template below + let maxY: number | undefined + + for (const i in app.canvas.selected_nodes) { + const node = app.canvas.selected_nodes[i] + const nodeBottom = node.pos[1] + node.size[1] + if (maxY === undefined || nodeBottom > maxY) { + maxY = nodeBottom + } + } + + if (maxY !== undefined) { + app.canvas.graph_mouse[1] = maxY + 50 + } + } + + if (old !== null) { + localStorage.setItem('litegrapheditor_clipboard', old) + } + } + + private showMissingNodesError(missingNodeTypes: MissingNodeType[]) { + if (useSettingStore().get('Comfy.Workflow.ShowMissingNodesWarning')) { + useDialogService().showLoadWorkflowWarning({ missingNodeTypes }) + } + } + + private showMissingModelsError( + missingModels: ModelFile[], + paths: Record + ): void { + if (useSettingStore().get('Comfy.Workflow.ShowMissingModelsWarning')) { + useDialogService().showMissingModelsWarning({ + missingModels, + paths + }) + } + } + + async loadGraphData( + graphData?: ComfyWorkflowJSON, + clean: boolean = true, + restore_view: boolean = true, + workflow: string | null | ComfyWorkflow = null, + options: { + showMissingNodesDialog?: boolean + showMissingModelsDialog?: boolean + checkForRerouteMigration?: boolean + openSource?: WorkflowOpenSource + } = {} + ) { + const { + showMissingNodesDialog = true, + showMissingModelsDialog = true, + checkForRerouteMigration = false, + openSource + } = options + useWorkflowService().beforeLoadNewGraph() + + if (clean !== false) { + this.clean() + } + + let reset_invalid_values = false + // Use explicit validation instead of falsy check to avoid replacing + // valid but falsy values (empty objects, 0, false, etc.) + if ( + !graphData || + typeof graphData !== 'object' || + Array.isArray(graphData) + ) { + graphData = defaultGraph + reset_invalid_values = true + } + + graphData = clone(graphData) + + if (useSettingStore().get('Comfy.Validation.Workflows')) { + const { graphData: validatedGraphData } = + await useWorkflowValidation().validateWorkflow(graphData) + + // If the validation failed, use the original graph data. + // Ideally we should not block users from loading the workflow. + graphData = validatedGraphData ?? graphData + } + // Only show the reroute migration warning if the workflow does not have native + // reroutes. Merging reroute network has great complexity, and it is not supported + // for now. + // See: https://github.com/Comfy-Org/ComfyUI_frontend/issues/3317 + if ( + checkForRerouteMigration && + graphData.version === 0.4 && + findLegacyRerouteNodes(graphData).length && + noNativeReroutes(graphData) + ) { + useToastStore().add({ + group: 'reroute-migration', + severity: 'warn' + }) + } + useSubgraphService().loadSubgraphs(graphData) + + const missingNodeTypes: MissingNodeType[] = [] + const missingModels: ModelFile[] = [] + await useExtensionService().invokeExtensionsAsync( + 'beforeConfigureGraph', + graphData, + missingNodeTypes + ) + + const embeddedModels: ModelFile[] = [] + + const nodeReplacementStore = useNodeReplacementStore() + + const collectMissingNodesAndModels = ( + nodes: ComfyWorkflowJSON['nodes'], + path: string = '' + ) => { + if (!Array.isArray(nodes)) { + console.warn( + 'Workflow nodes data is missing or invalid, skipping node processing', + { nodes, path } + ) + return + } + for (let n of nodes) { + // Find missing node types + if (!(n.type in LiteGraph.registered_node_types)) { + const replacement = nodeReplacementStore.getReplacementFor(n.type) + + missingNodeTypes.push({ + type: n.type, + ...(path && { hint: `in subgraph '${path}'` }), + isReplaceable: replacement !== null, + replacement: replacement ?? undefined + }) + + n.type = sanitizeNodeName(n.type) + } + + // Collect models metadata from node + const selectedModels = getSelectedModelsMetadata(n) + if (selectedModels?.length) { + embeddedModels.push(...selectedModels) + } + } + } + + // Process nodes at the top level + collectMissingNodesAndModels(graphData.nodes) + + // Process nodes in subgraphs + if (graphData.definitions?.subgraphs) { + for (const subgraph of graphData.definitions.subgraphs) { + if (isSubgraphDefinition(subgraph)) { + collectMissingNodesAndModels( + subgraph.nodes, + subgraph.name || subgraph.id + ) + } + } + } + + // Merge models from the workflow's root-level 'models' field + const workflowSchemaV1Models = graphData.models + if (workflowSchemaV1Models?.length) + embeddedModels.push(...workflowSchemaV1Models) + + const getModelKey = (model: ModelFile) => model.url || model.hash + const validModels = embeddedModels.filter(getModelKey) + const uniqueModels = _.uniqBy(validModels, getModelKey) + + if ( + uniqueModels.length && + useSettingStore().get('Comfy.Workflow.ShowMissingModelsWarning') + ) { + const modelStore = useModelStore() + await modelStore.loadModelFolders() + for (const m of uniqueModels) { + const modelFolder = await modelStore.getLoadedModelFolder(m.directory) + if (!modelFolder) + (m as ModelFile & { directory_invalid?: boolean }).directory_invalid = + true + + const modelsAvailable = modelFolder?.models + const modelExists = + modelsAvailable && + Object.values(modelsAvailable).some( + (model) => model.file_name === m.name + ) + if (!modelExists) missingModels.push(m) + } + } + + try { + // @ts-expect-error Discrepancies between zod and litegraph - in progress + this.rootGraph.configure(graphData) + + // Save original renderer version before scaling (it gets modified during scaling) + const originalMainGraphRenderer = + this.rootGraph.extra.workflowRendererVersion + + // Scale main graph + ensureCorrectLayoutScale(originalMainGraphRenderer) + + // Scale all subgraphs that were loaded with the workflow + // Use original main graph renderer as fallback (not the modified one) + for (const subgraph of this.rootGraph.subgraphs.values()) { + ensureCorrectLayoutScale( + subgraph.extra.workflowRendererVersion || originalMainGraphRenderer, + subgraph + ) + } + + if ( + restore_view && + useSettingStore().get('Comfy.EnableWorkflowViewRestore') + ) { + if (graphData.extra?.ds) { + this.canvas.ds.offset = graphData.extra.ds.offset + this.canvas.ds.scale = graphData.extra.ds.scale + + // Fit view if no nodes visible in restored viewport + this.canvas.ds.computeVisibleArea(this.canvas.viewport) + if ( + this.canvas.visible_area.width && + this.canvas.visible_area.height && + !anyItemOverlapsRect( + this.rootGraph._nodes, + this.canvas.visible_area + ) + ) { + requestAnimationFrame(() => useLitegraphService().fitView()) + } + } else { + useLitegraphService().fitView() + } + } + } catch (error) { + useDialogService().showErrorDialog(error, { + title: t('errorDialog.loadWorkflowTitle'), + reportType: 'loadWorkflowError' + }) + console.error(error) + return + } + forEachNode(this.rootGraph, (node) => { + const size = node.computeSize() + size[0] = Math.max(node.size[0], size[0]) + size[1] = Math.max(node.size[1], size[1]) + node.setSize(size) + if (node.widgets) { + // If you break something in the backend and want to patch workflows in the frontend + // This is the place to do this + for (let widget of node.widgets) { + if (node.type == 'KSampler' || node.type == 'KSamplerAdvanced') { + if (widget.name == 'sampler_name') { + if ( + typeof widget.value === 'string' && + widget.value.startsWith('sample_') + ) { + widget.value = widget.value.slice(7) + } + } + } + if ( + node.type == 'KSampler' || + node.type == 'KSamplerAdvanced' || + node.type == 'PrimitiveNode' + ) { + if (widget.name == 'control_after_generate') { + if (widget.value === true) { + widget.value = 'randomize' + } else if (widget.value === false) { + widget.value = 'fixed' + } + } + } + if (reset_invalid_values) { + if (widget.type == 'combo') { + const values = widget.options.values as + | (string | number | boolean)[] + | undefined + if ( + values && + values.length > 0 && + !values.includes(widget.value as string | number | boolean) + ) { + widget.value = values[0] + } + } + } + } + } + + useExtensionService().invokeExtensions('loadedGraphNode', node) + }) + + if (missingNodeTypes.length && showMissingNodesDialog) { + this.showMissingNodesError(missingNodeTypes) + } + if (missingModels.length && showMissingModelsDialog) { + const paths = await api.getFolderPaths() + this.showMissingModelsError(missingModels, paths) + } + await useExtensionService().invokeExtensionsAsync( + 'afterConfigureGraph', + missingNodeTypes + ) + + const telemetryPayload = { + missing_node_count: missingNodeTypes.length, + missing_node_types: missingNodeTypes.map((node) => + typeof node === 'string' ? node : node.type + ), + open_source: openSource ?? 'unknown' + } + useTelemetry()?.trackWorkflowOpened(telemetryPayload) + useTelemetry()?.trackWorkflowImported(telemetryPayload) + await useWorkflowService().afterLoadNewGraph( + workflow, + this.rootGraph.serialize() as unknown as ComfyWorkflowJSON + ) + requestAnimationFrame(() => { + this.canvas.setDirty(true, true) + }) + } + + async graphToPrompt(graph = this.rootGraph) { + return graphToPrompt(graph, { + sortNodes: useSettingStore().get('Comfy.Workflow.SortNodeIdOnSave') + }) + } + + async queuePrompt( + number: number, + batchCount: number = 1, + queueNodeIds?: NodeExecutionId[] + ): Promise { + this.queueItems.push({ number, batchCount, queueNodeIds }) + + // Only have one action process the items so each one gets a unique seed correctly + if (this.processingQueue) { + return false + } + + this.processingQueue = true + const executionStore = useExecutionStore() + executionStore.lastNodeErrors = null + + // Get auth token for backend nodes - uses workspace token if enabled, otherwise Firebase token + const comfyOrgAuthToken = await useFirebaseAuthStore().getAuthToken() + const comfyOrgApiKey = useApiKeyAuthStore().getApiKey() + + try { + while (this.queueItems.length) { + const { number, batchCount, queueNodeIds } = this.queueItems.pop()! + const previewMethod = useSettingStore().get( + 'Comfy.Execution.PreviewMethod' + ) + + const isPartialExecution = !!queueNodeIds?.length + for (let i = 0; i < batchCount; i++) { + // Allow widgets to run callbacks before a prompt has been queued + // e.g. random seed before every gen + forEachNode(this.rootGraph, (node) => { + for (const widget of node.widgets ?? []) { + widget.beforeQueued?.({ isPartialExecution }) + } + }) + + const p = await this.graphToPrompt(this.rootGraph) + const queuedNodes = collectAllNodes(this.rootGraph) + try { + api.authToken = comfyOrgAuthToken + api.apiKey = comfyOrgApiKey ?? undefined + const res = await api.queuePrompt(number, p, { + partialExecutionTargets: queueNodeIds, + previewMethod + }) + delete api.authToken + delete api.apiKey + executionStore.lastNodeErrors = res.node_errors ?? null + if (executionStore.lastNodeErrors?.length) { + this.canvas.draw(true, true) + } else { + try { + if (res.prompt_id) { + executionStore.storePrompt({ + id: res.prompt_id, + nodes: Object.keys(p.output), + workflow: useWorkspaceStore().workflow + .activeWorkflow as ComfyWorkflow + }) + } + } catch (error) {} + } + } catch (error: unknown) { + if ( + error instanceof PromptExecutionError && + typeof error.response.error === 'object' && + error.response.error?.type === 'missing_node_type' + ) { + const extraInfo = (error.response.error.extra_info ?? + {}) as MissingNodeTypeExtraInfo + const missingNodeType = createMissingNodeTypeFromError(extraInfo) + this.showMissingNodesError([missingNodeType]) + } else { + useDialogService().showErrorDialog(error, { + title: t('errorDialog.promptExecutionError'), + reportType: 'promptExecutionError' + }) + } + console.error(error) + + if (error instanceof PromptExecutionError) { + executionStore.lastNodeErrors = error.response.node_errors ?? null + this.canvas.draw(true, true) + } + break + } + + // Allow widgets to run callbacks after a prompt has been queued + // e.g. random seed after every gen + executeWidgetsCallback(queuedNodes, 'afterQueued', { + isPartialExecution + }) + this.canvas.draw(true, true) + await this.ui.queue.update() + } + } + } finally { + this.processingQueue = false + } + api.dispatchCustomEvent('promptQueued', { number, batchCount }) + return !executionStore.lastNodeErrors + } + + showErrorOnFileLoad(file: File) { + useToastStore().addAlert( + t('toastMessages.fileLoadError', { fileName: file.name }) + ) + } + + /** + * Loads workflow data from the specified file + * @param {File} file + */ + async handleFile(file: File, openSource?: WorkflowOpenSource) { + const fileName = file.name.replace(/\.\w+$/, '') // Strip file extension + const workflowData = await getWorkflowDataFromFile(file) + if (_.isEmpty(workflowData)) { + if (file.type.startsWith('image')) { + const transfer = new DataTransfer() + transfer.items.add(file) + pasteImageNode(this.canvas, transfer.items) + return + } + + this.showErrorOnFileLoad(file) + return + } + + const { workflow, prompt, parameters, templates } = workflowData + + if ( + templates && + typeof templates === 'object' && + Array.isArray(templates) + ) { + this.loadTemplateData({ + templates: templates as { name?: string; data?: string }[] + }) + } + + // Check workflow first - it should take priority over parameters + // when both are present (e.g., in ComfyUI-generated PNGs) + if (workflow) { + let workflowObj: ComfyWorkflowJSON | undefined = undefined + try { + workflowObj = + typeof workflow === 'string' ? JSON.parse(workflow) : workflow + + // Only load workflow if parsing succeeded AND validation passed + if ( + workflowObj && + typeof workflowObj === 'object' && + !Array.isArray(workflowObj) + ) { + await this.loadGraphData(workflowObj, true, true, fileName, { + openSource + }) + return + } else { + console.error( + 'Invalid workflow structure, trying parameters fallback' + ) + this.showErrorOnFileLoad(file) + } + } catch (err) { + console.error('Failed to parse workflow:', err) + this.showErrorOnFileLoad(file) + // Fall through to check parameters as fallback + } + } + + if (prompt) { + try { + const promptObj = + typeof prompt === 'string' ? JSON.parse(prompt) : prompt + if (this.isApiJson(promptObj)) { + this.loadApiJson(promptObj, fileName) + return + } + } catch (err) { + console.error('Failed to parse prompt:', err) + } + // Fall through to parameters as a last resort + } + + // Use parameters strictly as the final fallback + if (parameters && typeof parameters === 'string') { + useWorkflowService().beforeLoadNewGraph() + importA1111(this.rootGraph, parameters) + useWorkflowService().afterLoadNewGraph( + fileName, + this.rootGraph.serialize() as unknown as ComfyWorkflowJSON + ) + return + } + + this.showErrorOnFileLoad(file) + } + + // @deprecated + isApiJson(data: unknown): data is ComfyApiWorkflow { + if (!_.isObject(data) || Array.isArray(data)) { + return false + } + if (Object.keys(data).length === 0) return false + + return Object.values(data).every((node) => { + if (!node || typeof node !== 'object' || Array.isArray(node)) { + return false + } + + const { class_type: classType, inputs } = node as Record + const inputsIsRecord = _.isObject(inputs) && !Array.isArray(inputs) + return typeof classType === 'string' && inputsIsRecord + }) + } + + loadApiJson(apiData: ComfyApiWorkflow, fileName: string) { + useWorkflowService().beforeLoadNewGraph() + + const missingNodeTypes = Object.values(apiData).filter( + (n) => !LiteGraph.registered_node_types[n.class_type] + ) + if (missingNodeTypes.length) { + this.showMissingNodesError(missingNodeTypes.map((t) => t.class_type)) + return + } + + const ids = Object.keys(apiData) + app.rootGraph.clear() + for (const id of ids) { + const data = apiData[id] + const node = LiteGraph.createNode(data.class_type) + if (!node) continue + node.id = isNaN(+id) ? id : +id + node.title = data._meta?.title ?? node.title + app.rootGraph.add(node) + } + + const processNodeInputs = (id: string) => { + const data = apiData[id] + const node = app.rootGraph.getNodeById(id) + if (!node) return + + for (const input in data.inputs ?? {}) { + const value = data.inputs[input] + if (value instanceof Array) { + const [fromId, fromSlot] = value + const fromNode = app.rootGraph.getNodeById(fromId) + if (!fromNode) continue + + let toSlot = node.inputs?.findIndex((inp) => inp.name === input) ?? -1 + if (toSlot === -1) { + try { + const widget = node.widgets?.find((w) => w.name === input) + const convertFn = ( + node as LGraphNode & { + convertWidgetToInput?: (w: IBaseWidget) => boolean + } + ).convertWidgetToInput + if (widget && convertFn?.(widget)) { + // Re-find the target slot by name after conversion + toSlot = + node.inputs?.findIndex((inp) => inp.name === input) ?? -1 + } + } catch (_error) { + // Ignore conversion errors + } + } + if (toSlot !== -1) { + fromNode.connect(fromSlot, node, toSlot) + } + } else { + const widget = node.widgets?.find((w) => w.name === input) + if (widget) { + widget.value = value + widget.callback?.(value) + } + } + } + } + + for (const id of ids) processNodeInputs(id) + app.rootGraph.arrange() + for (const id of ids) processNodeInputs(id) + app.rootGraph.arrange() + + useWorkflowService().afterLoadNewGraph( + fileName, + this.rootGraph.serialize() as unknown as ComfyWorkflowJSON + ) + } + + /** + * Registers a Comfy web extension with the app + * @param {ComfyExtension} extension + */ + registerExtension(extension: ComfyExtension) { + useExtensionService().registerExtension(extension) + } + + /** + * Collects context menu items from all extensions for canvas menus + * @param canvas The canvas instance + * @returns Array of context menu items from all extensions + */ + collectCanvasMenuItems(canvas: LGraphCanvas): IContextMenuValue[] { + return useExtensionService() + .invokeExtensions('getCanvasMenuItems', canvas) + .flat() as IContextMenuValue[] + } + + /** + * Collects context menu items from all extensions for node menus + * @param node The node being right-clicked + * @returns Array of context menu items from all extensions + */ + collectNodeMenuItems(node: LGraphNode): IContextMenuValue[] { + return useExtensionService() + .invokeExtensions('getNodeMenuItems', node) + .flat() as IContextMenuValue[] + } + + /** + * Refresh combo list on whole nodes + */ + async refreshComboInNodes() { + const requestToastMessage: ToastMessageOptions = { + severity: 'info', + summary: t('g.update'), + detail: t('toastMessages.updateRequested') + } + if (this.vueAppReady) { + useToastStore().add(requestToastMessage) + } + + const defs = await this.getNodeDefs() + for (const nodeId in defs) { + this.registerNodeDef(nodeId, defs[nodeId]) + } + // Refresh combo widgets in all nodes including those in subgraphs + forEachNode(this.rootGraph, (node) => { + const def = defs[node.type] + // Allow primitive nodes to handle refresh + node.refreshComboInNode?.(defs) + + if (!def?.input) return + + if (node.widgets) { + const nodeInputs = def.input + for (const widget of node.widgets) { + if (widget.type === 'combo') { + let inputType: 'required' | 'optional' | undefined + if (nodeInputs.required?.[widget.name] !== undefined) { + inputType = 'required' + } else if (nodeInputs.optional?.[widget.name] !== undefined) { + inputType = 'optional' + } + if (inputType !== undefined) { + // Get the input spec associated with the widget + const inputSpec = nodeInputs[inputType]?.[widget.name] + if (inputSpec) { + // Refresh the combo widget's options with the values from the input spec + if (isComboInputSpecV2(inputSpec)) { + widget.options.values = inputSpec[1]?.options + } else if (isComboInputSpecV1(inputSpec)) { + widget.options.values = inputSpec[0] + } + } + } + } + } + } + }) + + await useExtensionService().invokeExtensionsAsync( + 'refreshComboInNodes', + defs + ) + + if (this.vueAppReady) { + this.updateVueAppNodeDefs(defs) + useToastStore().remove(requestToastMessage) + useToastStore().add({ + severity: 'success', + summary: t('g.updated'), + detail: t('toastMessages.nodeDefinitionsUpdated'), + life: 1000 + }) + } + } + + /** + * Clean current state + */ + clean() { + const nodeOutputStore = useNodeOutputStore() + nodeOutputStore.resetAllOutputsAndPreviews() + const executionStore = useExecutionStore() + executionStore.lastNodeErrors = null + executionStore.lastExecutionError = null + + useDomWidgetStore().clear() + + // Subgraph does not properly implement `clear` and the parent class's + // (`LGraph`) `clear` breaks the subgraph structure. + if (this.rootGraph && !this.canvas.subgraph) { + this.rootGraph.clear() + } + } + + clientPosToCanvasPos(pos: Vector2): Vector2 { + if (!this.positionConversion) { + throw new Error('clientPosToCanvasPos called before setup') + } + return this.positionConversion.clientPosToCanvasPos(pos) + } + + canvasPosToClientPos(pos: Vector2): Vector2 { + if (!this.positionConversion) { + throw new Error('canvasPosToClientPos called before setup') + } + return this.positionConversion.canvasPosToClientPos(pos) + } +} + +export const app = new ComfyApp() diff --git a/docs/hel-892/rtx-video-reference/sources.json b/docs/hel-892/rtx-video-reference/sources.json new file mode 100644 index 00000000..c24f9d2b --- /dev/null +++ b/docs/hel-892/rtx-video-reference/sources.json @@ -0,0 +1,248 @@ +{ + "sources": [ + { + "id": "core", + "file": "nodes.py", + "local_file": "../rtx-reference/core__nodes.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/nodes.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "bd6a3ba78328fd8ee88bed781d3c18a6abee83ee4097feb9922d6e2bf11a444b", + "git_blob_sha1": "0ef23b6405216cd6a4d1852ff42bd18c9ee0f218", + "reused": true + }, + { + "id": "core", + "file": "folder_paths.py", + "local_file": "../rtx-reference/core__folder_paths.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/folder_paths.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112", + "git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8", + "reused": true + }, + { + "id": "core", + "file": "comfy_api/latest/_io.py", + "local_file": "../rtx-reference/core__comfy_api__latest___io.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_io.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2c4d245f9c8c1856ecf44c6569e13925afd47d9e233125f096c35ce8a19ebc5d", + "git_blob_sha1": "050031dc05468578b475323eb494915276dcde8a", + "reused": true + }, + { + "id": "core", + "file": "LICENSE", + "local_file": "../rtx-reference/core__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/LICENSE", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true + }, + { + "id": "frontend", + "file": "src/core/graph/widgets/dynamicWidgets.ts", + "local_file": "../rtx-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/core/graph/widgets/dynamicWidgets.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "f7dbc6697582194ffdeef1010fd7510a444e563f43ebc85920be096a5dffd53e", + "git_blob_sha1": "3058e8131066eb797a4a1228eb643e388335a9ee", + "reused": true + }, + { + "id": "frontend", + "file": "src/scripts/widgets.ts", + "local_file": "../rtx-reference/frontend__src__scripts__widgets.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/widgets.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "a538a4d4dd033b4b336abc6ac68b19eb31dee600294f9eba8e57e0802322fafd", + "git_blob_sha1": "071ebff3ee4a41d4ef719f60603b9e0bca7353d7", + "reused": true + }, + { + "id": "frontend", + "file": "src/extensions/core/uploadImage.ts", + "local_file": "../rtx-reference/frontend__src__extensions__core__uploadImage.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/extensions/core/uploadImage.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04", + "git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095", + "reused": true + }, + { + "id": "frontend", + "file": "LICENSE", + "local_file": "../rtx-reference/frontend__LICENSE", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/LICENSE", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986", + "git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7", + "reused": true + }, + { + "id": "rtx", + "file": "__init__.py", + "local_file": "../rtx-reference/rtx____init__.py", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f79d7b99efa48d55e813f645f09c4c7cbeebd2a87e4403b63fb539848953bfd9", + "reused": true + }, + { + "id": "rtx", + "file": "pyproject.toml", + "local_file": "../rtx-reference/rtx__pyproject.toml", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "f8e9dbe9879157fa9c87671f1e4dd5ad66a94120f0c6f8ed1948a5c4c37cc042", + "reused": true + }, + { + "id": "rtx", + "file": "README.md", + "local_file": "../rtx-reference/rtx__README.md", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "101a431194f67624b63f78b819b1a6bf1f5571e90351e10c440ae5e0560011f0", + "reused": true + }, + { + "id": "rtx", + "file": "LICENSE", + "local_file": "../rtx-reference/rtx__LICENSE", + "url": "https://cdn.comfy.org/comfyui/comfyui_nvidia_rtx_nodes/0.1.0/node.zip", + "commit": "发布包SHA256:90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "git_commit_binding": "unknown", + "package_sha256": "90563d63d95bc6c5893f9107e048549b158223f1c4ab5615921db32e423ad8ba", + "sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4", + "reused": true + }, + { + "id": "core", + "file": "comfy_extras/nodes_video.py", + "local_file": "core__comfy_extras__nodes_video.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_extras/nodes_video.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "1dc7e77804692e66446b4b70e1fd83b99dbaa197d1a25d621ea6f1a139dbc575", + "git_blob_sha1": "5c096c232e1bcdd8a797085db110cb931b44e951", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_input/video_types.py", + "local_file": "core__comfy_api__latest___input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "6a4cdb3085ed8a4289e63168536e9a530c95aad94c7e2de1eddf8738af11f5a7", + "git_blob_sha1": "451e9526e86d21b966d938f722cce6f21f00ba4f", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/video_types.py", + "local_file": "core__comfy_api__latest___input_impl__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c7f513794aa45b140f0c71f79c891ac747074ebbf816d23c1d9575f8a11a2e92", + "git_blob_sha1": "58a37c9e8506128fd821ef2d968aef2849904139", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_util/video_types.py", + "local_file": "core__comfy_api__latest___util__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_util/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "b20939f97928f634bedbb39dd003c8b04e560118807cda57dbb5ed3b8ac71a02", + "git_blob_sha1": "fd3b5a510df4d1bd0b65141bd3d27953ec9cfc9a", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_input/__init__.py", + "local_file": "core__comfy_api__latest___input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2ce34537b981cdb0b8643795e3387cbc291a3a971a834d7fc2d0c49680bdddc5", + "git_blob_sha1": "14f0e72f46bfb079e85a1c0e56993b5a99425ffe", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_input_impl/__init__.py", + "local_file": "core__comfy_api__latest___input_impl____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input_impl/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c", + "git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/input/__init__.py", + "local_file": "core__comfy_api__input____init__.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/__init__.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "2abb56f7ad62d2fa794182e50e2d1609f75226e1e0a5ea5e8de4ec1779ecc7bc", + "git_blob_sha1": "68ff782706e8ab4f8d40917f8ff5b8aea54c7f51", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/input/video_types.py", + "local_file": "core__comfy_api__input__video_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/input/video_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "76ef537120fdab8077412ff1cb3c5739f3748dd818fa6bbc07829af5001b20d7", + "git_blob_sha1": "9ace78cbc039eb0de063ea1ec080134a2b44cac6", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_ui.py", + "local_file": "core__comfy_api__latest___ui.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_ui.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f", + "git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa", + "reused": false + }, + { + "id": "core", + "file": "comfy_api/latest/_input/basic_types.py", + "local_file": "core__comfy_api__latest___input__basic_types.py", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/a7a6335be538f55faa2abf7404c9b8e970847d1f/comfy_api/latest/_input/basic_types.py", + "commit": "a7a6335be538f55faa2abf7404c9b8e970847d1f", + "sha256": "99251ecb404c881f28a413d4c0829fdf5345a1897dfac76ed6199863601098b1", + "git_blob_sha1": "d73deabd2e6c300112c487f89f30cf534a5a39b1", + "reused": false + }, + { + "id": "frontend", + "file": "src/lib/litegraph/src/LGraphNode.ts", + "local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/lib/litegraph/src/LGraphNode.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "24e48e7d8886a968cd825042bd4d5eb075bc24731dcca266ebb8f8ef1a75f033", + "git_blob_sha1": "baf6a4419022cbc6a9ae9f8bb964d3acde173d43", + "reused": false + }, + { + "id": "frontend", + "file": "src/scripts/app.ts", + "local_file": "frontend__src__scripts__app.ts", + "url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d91c283b7b758787b4d29126c1a9ac39dc14d6a7/src/scripts/app.ts", + "commit": "d91c283b7b758787b4d29126c1a9ac39dc14d6a7", + "sha256": "112283e1f2293be9159a51fea4b7261da611d75e9150109e877d97da88464ac1", + "git_blob_sha1": "7d5a64f19eb50dbbc6c4e9aa1f92723818e7bdad", + "reused": false + } + ] +} diff --git a/e2e/rtx-video-document.mjs b/e2e/rtx-video-document.mjs new file mode 100644 index 00000000..61a7978f --- /dev/null +++ b/e2e/rtx-video-document.mjs @@ -0,0 +1,102 @@ +// Local GET-only: 9 RTX video positions, no notes, and 29 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/rtx-video-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=['RTX_video_upscale','RTX_image_upscale','手动按分镜视频截取','sam3_图像视频-提示词遮罩分割','多视频合成分屏展示','图像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===30&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===904,'30图904保存位置'); + check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===21,'30图21源注释'); + 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_rtx_video':'old_twenty_nine';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[2],{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==='resize_type.scale'&&f.node_id==='1')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,'迟到RTX响应不覆盖旧RTX图片摘要/7字段');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();} diff --git a/e2e/run-rtx-video-document.py b/e2e/run-rtx-video-document.py new file mode 100644 index 00000000..43adc59c --- /dev/null +++ b/e2e/run-rtx-video-document.py @@ -0,0 +1,92 @@ +"""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/rtx-video-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 = ["rtx-video"] + 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() + import json + + released = [] + 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)) + released.append(port) + (OUT / "service-stop.json").write_text( + json.dumps( + dict(ports_released=released, child_exit_codes=[p.returncode for p in processes]) + ) + + "\n" + ) + print("All owned browser services stopped; ports released.") + + +if __name__ == "__main__": + main()