HEL-892: add batch119 Qwen21 editing character sheet reference
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
File diff suppressed because one or more lines are too long
+8515
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -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": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1,121 @@
|
||||
{
|
||||
"fixed_count": 308,
|
||||
"fixed_paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/66": 4,
|
||||
"/api/workflows/71": 4,
|
||||
"/api/workflows/69": 3,
|
||||
"/api/workflows/68": 3,
|
||||
"/api/workflows/67": 3,
|
||||
"/api/workflows/43": 3,
|
||||
"/api/workflows/95": 3,
|
||||
"/api/workflows/88": 3,
|
||||
"/api/workflows/89": 3,
|
||||
"/api/workflows/90": 3,
|
||||
"/api/workflows/96": 3,
|
||||
"/api/workflows/91": 3,
|
||||
"/api/workflows/92": 3,
|
||||
"/api/workflows/102": 3,
|
||||
"/api/workflows/93": 3,
|
||||
"/api/workflows/100": 3,
|
||||
"/api/workflows/98": 3,
|
||||
"/api/workflows/99": 3,
|
||||
"/api/workflows/97": 3,
|
||||
"/api/workflows/101": 3,
|
||||
"/api/workflows/105": 3,
|
||||
"/api/workflows/104": 3,
|
||||
"/api/workflows/103": 3,
|
||||
"/api/workflows/94": 3,
|
||||
"/api/workflows/87": 3,
|
||||
"/api/workflows/86": 3,
|
||||
"/api/workflows/85": 3,
|
||||
"/api/workflows/84": 3,
|
||||
"/api/workflows/74": 3,
|
||||
"/api/workflows/73": 3,
|
||||
"/api/workflows/72": 3,
|
||||
"/api/workflows/83": 3,
|
||||
"/api/workflows/82": 3,
|
||||
"/api/workflows/81": 3,
|
||||
"/api/workflows/80": 3,
|
||||
"/api/workflows/79": 3,
|
||||
"/api/workflows/78": 3,
|
||||
"/api/workflows/77": 3,
|
||||
"/api/workflows/76": 3,
|
||||
"/api/workflows/75": 3,
|
||||
"/api/workflows/54": 3,
|
||||
"/api/workflows/55": 3,
|
||||
"/api/workflows/56": 3,
|
||||
"/api/workflows/58": 3,
|
||||
"/api/workflows/57": 3,
|
||||
"/api/workflows/44": 3,
|
||||
"/api/workflows/53": 3,
|
||||
"/api/workflows/52": 3,
|
||||
"/api/workflows/51": 3,
|
||||
"/api/workflows/50": 3,
|
||||
"/api/workflows/49": 3,
|
||||
"/api/workflows/47": 3,
|
||||
"/api/workflows/48": 3,
|
||||
"/api/workflows/46": 3,
|
||||
"/api/workflows/45": 3,
|
||||
"/api/workflows/42": 3,
|
||||
"/api/workflows/41": 3,
|
||||
"/api/workflows/40": 3,
|
||||
"/api/workflows/39": 3,
|
||||
"/api/workflows/38": 3,
|
||||
"/api/workflows/37": 3,
|
||||
"/api/workflows/18": 3,
|
||||
"/api/workflows/20": 3,
|
||||
"/api/workflows/30": 3,
|
||||
"/api/workflows/32": 3,
|
||||
"/api/workflows/34": 3,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/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/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"polling_count": 28,
|
||||
"polling_paths": {
|
||||
"/api/jobs": 28
|
||||
},
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": 6,
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
|
||||
"polling_snapshot_delta": {
|
||||
"/api/jobs": 0,
|
||||
"/api/events": 0
|
||||
},
|
||||
"polling_snapshot_tolerance": 1
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
........................................................................ [ 20%]
|
||||
........................................................................ [ 41%]
|
||||
........................................................................ [ 62%]
|
||||
........................................................................ [ 83%]
|
||||
....................................................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/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
|
||||
343 passed, 1 warning in 6.92s
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"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": 156,
|
||||
"old_blocks_unchanged": 99,
|
||||
"drawer_css_unchanged": true,
|
||||
"drawer_whole_file_unchanged": true,
|
||||
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"command": "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 calliope-backend/.venv/bin/python e2e/run-qwen21-editviews-document.py",
|
||||
"exit_code": 0,
|
||||
"log": "browser-run-log.txt"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
PASS one new definition; other 155 reviews and old 99 blocks unchanged
|
||||
@@ -0,0 +1 @@
|
||||
PASS one new definition; other 155 reviews and old 99 blocks unchanged
|
||||
@@ -0,0 +1,796 @@
|
||||
"Pinned Qwen Image2.1 static reference; no upstream import, prompt construction or execution."
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "qwen21-editviews-reference"
|
||||
PATHS = [
|
||||
"example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json"
|
||||
]
|
||||
HOST = "bc1c967a-7f6a-4be9-a372-dad16e4f28e3"
|
||||
LAYOUTS = {
|
||||
"LoadImage": ["image", "upload"],
|
||||
"CLIPLoader": ["clip_name", "type", "device"],
|
||||
"VAELoader": ["vae_name"],
|
||||
"UNETLoader": ["unet_name", "weight_dtype"],
|
||||
"GoohaiRouteBlocker": ["是否阻断", "阻断模式"],
|
||||
"TextEncodeQwenImage21GH": [
|
||||
"prompt",
|
||||
"negative_prompt",
|
||||
"latent_width",
|
||||
"latent_height",
|
||||
"mode",
|
||||
"ref_image_size",
|
||||
],
|
||||
"GoohaiRatioAndResolution": [
|
||||
"比例",
|
||||
"模式",
|
||||
"固定边像素",
|
||||
"百万像素",
|
||||
"长边最小",
|
||||
"长边最大",
|
||||
"自定宽度",
|
||||
"自定高度",
|
||||
"倍数取整",
|
||||
],
|
||||
"忽略多组孤海": ["guhai_ig"],
|
||||
"GetNode": ["Constant"],
|
||||
"SetNode": ["Constant"],
|
||||
"KSampler": [
|
||||
"seed",
|
||||
"seed_control_candidate",
|
||||
"steps",
|
||||
"cfg",
|
||||
"sampler_name",
|
||||
"scheduler",
|
||||
"denoise",
|
||||
],
|
||||
"ShowText|pysssss": ["text_0"],
|
||||
"Image Comparer (rgthree)": ["rgthree_comparer"],
|
||||
"QwenImagePromptOptimizer": [
|
||||
"用户提示词",
|
||||
"文生图模型",
|
||||
"图生图模型",
|
||||
"视觉模型",
|
||||
"输出语言",
|
||||
"透明背景",
|
||||
"种子值",
|
||||
"种子模式",
|
||||
"卸载模型",
|
||||
],
|
||||
"SaveImage": ["filename_prefix"],
|
||||
"QwenImage21Cache": ["device", "dtype"],
|
||||
"PrimitiveStringMultiline": ["value"],
|
||||
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
|
||||
}
|
||||
LABELS = {
|
||||
"filename_prefix": "正式保存前缀",
|
||||
"aspect_ratio": "宽高比保存选择",
|
||||
"megapixels": "目标MP保存值",
|
||||
"multiple": "像素对齐倍数",
|
||||
"value": "完整文本/布尔保存值",
|
||||
"value_1": "宿主提示增强缓存",
|
||||
"max_length": "最大文本长度保存值",
|
||||
"width": "宽度缓存",
|
||||
"height": "高度缓存",
|
||||
"seed": "种子缓存",
|
||||
"value_2": "宿主LoRA启用缓存",
|
||||
"lora_name": "LoRA文件引用",
|
||||
"strength_model": "LoRA强度",
|
||||
"string_b": "完整字符串B缓存/触发词",
|
||||
"unet_name": "扩散模型文件引用",
|
||||
"clip_name": "文本模型文件引用",
|
||||
"vae_name": "VAE文件引用",
|
||||
"text": "完整文本/历史保存值",
|
||||
"batch_size": "latent批量",
|
||||
"seed_control_candidate": "前端种子控制辅助",
|
||||
"steps": "采样步数",
|
||||
"cfg": "引导系数",
|
||||
"sampler_name": "采样器",
|
||||
"scheduler": "调度器",
|
||||
"denoise": "降噪系数",
|
||||
"weight_dtype": "权重类型",
|
||||
"type": "编码器类型(枚举冲突)",
|
||||
"device": "设备选择",
|
||||
"prompt": "完整生成文本缓存",
|
||||
"sampling_mode": "动态采样模式保存分支",
|
||||
"sampling_mode.temperature": "on分支温度",
|
||||
"sampling_mode.top_k": "on分支Top K",
|
||||
"sampling_mode.top_p": "on分支Top P",
|
||||
"sampling_mode.min_p": "on分支Min P",
|
||||
"sampling_mode.repetition_penalty": "on分支重复惩罚",
|
||||
"sampling_mode.seed": "on分支文本生成种子",
|
||||
"sampling_mode.presence_penalty": "on分支presence penalty",
|
||||
"thinking": "思考模式保存值",
|
||||
"use_default_template": "默认模板保存值",
|
||||
"switch": "布尔选择缓存",
|
||||
"string_a": "完整字符串A缓存",
|
||||
"delimiter": "完整分隔符",
|
||||
}
|
||||
|
||||
|
||||
LABELS.update(
|
||||
{
|
||||
"thinking": "思考模式保存值",
|
||||
"value_3": "宿主LoRA开关缓存",
|
||||
"width_1": "宿主宽度缓存",
|
||||
"height_1": "宿主高度缓存",
|
||||
"seed_1": "宿主种子缓存",
|
||||
"lora_name_1": "宿主LoRA文件引用",
|
||||
"strength_model_1": "宿主LoRA强度",
|
||||
"string_b_1": "宿主追加串缓存",
|
||||
"unet_name_1": "宿主扩散模型引用",
|
||||
"clip_name_1": "宿主文本模型引用",
|
||||
"vae_name_1": "宿主VAE引用",
|
||||
"Constant": "完整名称保存参考",
|
||||
"prefix": "前缀选择保存值",
|
||||
"subject": "主体选择保存值",
|
||||
"action": "动作选择保存值",
|
||||
"clothes": "衣着选择保存值",
|
||||
"environment": "光照选择保存值",
|
||||
"background": "背景选择保存值",
|
||||
"nsfw": "内容类别选择保存值",
|
||||
"styles": "风格分类引用",
|
||||
"select_styles": "风格选择保存值",
|
||||
"Select to add LoRA": "LoRA添加控件保存值",
|
||||
"Select to add Wildcard": "外卡添加控件保存值",
|
||||
"multiline_mode": "多行模式选择",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
LABELS.update(
|
||||
{
|
||||
"inputcount": "动态输入数量",
|
||||
"return_list": "返回列表选择",
|
||||
"frontend_update_null": "前端末尾null保存",
|
||||
"history_images": "完整空历史列表",
|
||||
"Constant": "保存名称参考",
|
||||
"use_custom_resolution": "自定义尺寸选择",
|
||||
"resolution": "尺寸预设",
|
||||
"custom_width": "自定义宽度缓存",
|
||||
"custom_height": "自定义高度缓存",
|
||||
"noise_seed": "噪声种子缓存",
|
||||
"frontend_last_seed": "前端辅助空串1",
|
||||
"frontend_new_seed": "前端辅助空串2",
|
||||
"frontend_control": "前端辅助空串3",
|
||||
"aspect_ratio": "比例选择",
|
||||
"proportional_width": "自定义比例宽",
|
||||
"proportional_height": "自定义比例高",
|
||||
"fit": "图像适配模式",
|
||||
"method": "缩放插值选择",
|
||||
"round_to_multiple": "倍数选择(字符串)",
|
||||
"scale_to_side": "缩放边选择",
|
||||
"scale_to_length": "目标边长度缓存",
|
||||
"background_color": "背景色",
|
||||
"purge_cache": "清理缓存选择",
|
||||
"purge_models": "清理模型选择",
|
||||
"reserved": "预留显存接口值",
|
||||
"auto_max_reserved": "自动预留上限",
|
||||
"clean_gpu_before": "前置清理选择",
|
||||
"cleanup_threshold": "最小空闲RAM接口值",
|
||||
"model": "宿主/内部模型引用",
|
||||
"mmproj": "投影文件引用",
|
||||
"chat_handler": "聊天处理器保存",
|
||||
"max_tokens": "最大输出token缓存",
|
||||
"preset_prompt": "预设提示选择",
|
||||
"custom_prompt": "完整自定义提示缓存",
|
||||
"system_prompt": "完整系统指南缓存",
|
||||
"inference_mode": "推理输入模式",
|
||||
"n_ctx": "上下文保存值",
|
||||
"vram_limit": "显存限制保存值",
|
||||
"image_min_tokens": "最小图像token保存",
|
||||
"image_max_tokens": "最大图像token保存",
|
||||
"present_penalty": "原拼present_penalty保存",
|
||||
"top_k": "Top K保存",
|
||||
"top_p": "Top P保存",
|
||||
"min_p": "Min P保存",
|
||||
"typical_p": "Typical P保存",
|
||||
"temperature": "温度保存",
|
||||
"repeat_penalty": "重复惩罚保存",
|
||||
"frequency_penalty": "频率惩罚保存",
|
||||
"mirostat_mode": "Mirostat模式保存",
|
||||
"mirostat_eta": "Mirostat eta保存",
|
||||
"mirostat_tau": "Mirostat tau保存",
|
||||
"state_uid": "状态标识保存",
|
||||
"max_frames": "最大帧保存",
|
||||
"max_size": "最大尺寸保存",
|
||||
"force_offload": "强制卸载保存",
|
||||
"save_states": "状态保存选择",
|
||||
"text": "完整文本保存值",
|
||||
"type": "编码器类型保存",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
LABELS.update(
|
||||
{
|
||||
"image": "图像文件保存引用",
|
||||
"upload": "前端上传控件状态",
|
||||
"text_0": "完整历史显示文本",
|
||||
"rgthree_comparer": "位置历史与具名完整形态",
|
||||
"是否阻断": "是否阻断保存缓存",
|
||||
"阻断模式": "阻断模式保存",
|
||||
"latent_width": "latent宽度缓存",
|
||||
"latent_height": "latent高度缓存",
|
||||
"negative_prompt": "完整负向保存",
|
||||
"ref_image_size": "参考图尺寸选择保存",
|
||||
"比例": "比例保存选择",
|
||||
"模式": "尺寸模式保存",
|
||||
"固定边像素": "固定边保存值",
|
||||
"百万像素": "MP保存值",
|
||||
"长边最小": "长边下限保存",
|
||||
"长边最大": "长边上限保存",
|
||||
"自定宽度": "自定义宽度保存",
|
||||
"自定高度": "自定义高度保存",
|
||||
"倍数取整": "倍数选择保存",
|
||||
"guhai_ig": "组控制前端空串保存",
|
||||
"用户提示词": "用户提示词缓存",
|
||||
"文生图模型": "文生模型保存引用",
|
||||
"图生图模型": "图生模型保存引用",
|
||||
"视觉模型": "视觉投影保存引用",
|
||||
"输出语言": "输出语言保存",
|
||||
"透明背景": "透明背景保存",
|
||||
"种子值": "优化器种子保存",
|
||||
"种子模式": "优化器种子模式保存",
|
||||
"卸载模型": "模型卸载保存选择",
|
||||
"dtype": "缓存dtype选择",
|
||||
"device": "设备选择",
|
||||
"value": "完整中文提示保存",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
LAYOUTS.update(
|
||||
{
|
||||
HOST: [
|
||||
"resolution",
|
||||
"prompt",
|
||||
"negative_prompt",
|
||||
"cfg",
|
||||
"steps",
|
||||
"switch",
|
||||
"width",
|
||||
"height",
|
||||
"scheduler",
|
||||
"scheduler_1",
|
||||
"seed",
|
||||
"unet_name",
|
||||
"clip_name",
|
||||
"vae_name",
|
||||
],
|
||||
"StringConcatenate": ["string_a", "string_b", "delimiter"],
|
||||
"ResolutionSelector": ["aspect_ratio", "megapixels", "multiple"],
|
||||
"SaveImageAdvanced": [
|
||||
"filename_prefix",
|
||||
"format",
|
||||
"format.bit_depth",
|
||||
"format.input_color_space",
|
||||
],
|
||||
"VOSR2ModelLoader": ["model", "dtype"],
|
||||
"VOSR2Upscale": [
|
||||
"upscale",
|
||||
"seed",
|
||||
"fixed",
|
||||
"color_alignment",
|
||||
"tile_size",
|
||||
"tile_overlap",
|
||||
"vae_tile_size",
|
||||
"vae_tile_overlap",
|
||||
],
|
||||
"GH_ImageVideoComparer": ["gh_image_video_comparer"],
|
||||
"TextEncodeQwenImage21": ["prompt", "negative_prompt", "resolution"],
|
||||
"EmptyLatentImage": ["width", "height", "batch_size"],
|
||||
"TextGenerate": [
|
||||
"prompt",
|
||||
"max_length",
|
||||
"sampling_mode",
|
||||
"sampling_mode.temperature",
|
||||
"sampling_mode.top_k",
|
||||
"sampling_mode.top_p",
|
||||
"sampling_mode.min_p",
|
||||
"sampling_mode.repetition_penalty",
|
||||
"sampling_mode.seed",
|
||||
"sampling_mode.presence_penalty",
|
||||
"thinking",
|
||||
"use_default_template",
|
||||
"mtp",
|
||||
],
|
||||
"PreviewAny": [],
|
||||
"ComfySwitchNode": ["switch"],
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
editorial = json.loads((OUT / "editorial.json").read_bytes())
|
||||
scopes = [("", "", g), ("459", "/definitions/subgraphs/0", g["definitions"]["subgraphs"][0])]
|
||||
nodes = [
|
||||
((pre + ":" if pre else "") + str(n["id"]), ptr + f"/nodes/{i}", pre or "root", n)
|
||||
for (pre, ptr, graph) in scopes
|
||||
for (i, n) in enumerate(graph["nodes"])
|
||||
]
|
||||
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
sources = []
|
||||
trees = {}
|
||||
for e in manifest:
|
||||
data = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
sources.append(
|
||||
dict(
|
||||
e,
|
||||
local_file="../qwen21-editviews-reference/" + e["local_file"],
|
||||
lines=[1, len(data.decode().splitlines())],
|
||||
claim="本图准确tag/commit原文与许可;静态读取未执行,源码许可不等于模型许可",
|
||||
)
|
||||
)
|
||||
if e["file"].endswith(".py"):
|
||||
trees[e["local_file"]] = ast.parse(data)
|
||||
bindings = []
|
||||
prose = json.loads((OUT / "prose.json").read_bytes())
|
||||
refs = {}
|
||||
schemas = {}
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
continue
|
||||
symbol = {
|
||||
"PrimitiveStringMultiline": "StringMultiline",
|
||||
"ShowText|pysssss": "ShowText",
|
||||
"Image Comparer (rgthree)": "RgthreeImageComparer",
|
||||
"ComfySwitchNode": "SwitchNode",
|
||||
"Images to RGB": "WAS_Images_To_RGB",
|
||||
"忽略多组孤海": "IgnoreGroupsGuHai",
|
||||
"GH_ImageVideoComparer": "GHImageVideoComparer",
|
||||
}.get(cls, cls)
|
||||
version = n.get("properties", {}).get("ver", "未知")
|
||||
core_id = {
|
||||
"0.37.0": "core0370",
|
||||
"0.25.0": "core0250",
|
||||
"0.36.0": "core0360",
|
||||
"0.37.4": "core0374",
|
||||
"61425dc193e3714492d840150e30926d16e567f0": "ghcompare",
|
||||
"537382d8198aa9bd03a614587fac1f239f71ba06": "ghgroup",
|
||||
}.get(version, "unknown")
|
||||
if cls == HOST:
|
||||
core_id = "subgraph-definition"
|
||||
candidates = []
|
||||
rs = []
|
||||
for i, e in enumerate(manifest):
|
||||
if e["id"] != core_id or not e["file"].endswith(".py"):
|
||||
continue
|
||||
for c in trees[e["local_file"]].body:
|
||||
if not isinstance(c, ast.ClassDef) or c.name != symbol:
|
||||
continue
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[c.lineno, c.end_lineno],
|
||||
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
|
||||
)
|
||||
)
|
||||
rs += [i, len(sources) - 1]
|
||||
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
|
||||
if cls == "LoraLoaderModelOnly":
|
||||
parent = next(
|
||||
p
|
||||
for p in trees[e["local_file"]].body
|
||||
if isinstance(p, ast.ClassDef) and p.name == "LoraLoader"
|
||||
)
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[parent.lineno, parent.end_lineno],
|
||||
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
|
||||
)
|
||||
)
|
||||
rs.append(len(sources) - 1)
|
||||
for d in ast.walk(c):
|
||||
if isinstance(d, ast.Dict):
|
||||
for k, v in zip(d.keys, d.values, strict=True):
|
||||
if (
|
||||
isinstance(k, ast.Constant)
|
||||
and isinstance(k.value, str)
|
||||
and isinstance(v, ast.Tuple)
|
||||
):
|
||||
default = "无显式default;动态枚举/方法条件只作参考"
|
||||
for opts in v.elts[1:]:
|
||||
if isinstance(opts, ast.Dict):
|
||||
for dk, dv in zip(opts.keys, opts.values, strict=True):
|
||||
if (
|
||||
isinstance(dk, ast.Constant)
|
||||
and dk.value == "default"
|
||||
):
|
||||
default = ast.unparse(dv)
|
||||
schemas[nid, k.value] = (default, ast.unparse(v))
|
||||
if (
|
||||
isinstance(d, ast.Call)
|
||||
and isinstance(d.func, ast.Attribute)
|
||||
and (d.func.attr == "Input")
|
||||
):
|
||||
arg = (
|
||||
d.args[0]
|
||||
if d.args
|
||||
else next((k.value for k in d.keywords if k.arg == "id"), None)
|
||||
)
|
||||
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
|
||||
continue
|
||||
name = arg.value
|
||||
if cls == "TextGenerate" and name in [
|
||||
"temperature",
|
||||
"top_k",
|
||||
"top_p",
|
||||
"min_p",
|
||||
"repetition_penalty",
|
||||
"seed",
|
||||
"presence_penalty",
|
||||
]:
|
||||
name = "sampling_mode." + name
|
||||
default = next(
|
||||
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
|
||||
"无显式default,不从execute函数缺省补值",
|
||||
)
|
||||
if cls == "SaveImageAdvanced" and name in [
|
||||
"bit_depth",
|
||||
"input_color_space",
|
||||
]:
|
||||
# Keep the first exact PNG DynamicCombo branch.
|
||||
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
|
||||
else:
|
||||
schemas[nid, name] = (default, ast.unparse(d))
|
||||
assert len(candidates) <= 1, (nid, candidates)
|
||||
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
|
||||
core_id = "unresolved-" + core_id
|
||||
bindings.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
source_version=version,
|
||||
source_id=core_id,
|
||||
candidates=candidates,
|
||||
)
|
||||
)
|
||||
if core_id.replace("unresolved-", "") in [
|
||||
"goohai",
|
||||
"rgthree",
|
||||
"showtext",
|
||||
"ghgroup",
|
||||
"ghcompare",
|
||||
"was",
|
||||
"vosr",
|
||||
]:
|
||||
rs += [
|
||||
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
|
||||
]
|
||||
if cls == "KSampler":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
|
||||
]
|
||||
if cls in [
|
||||
"KSampler",
|
||||
"LoadImage",
|
||||
"ShowText|pysssss",
|
||||
"Image Comparer (rgthree)",
|
||||
"忽略多组孤海",
|
||||
]:
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
|
||||
if cls == "QwenImage21Cache":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id
|
||||
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
|
||||
]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
|
||||
refs[nid] = list(dict.fromkeys(rs))
|
||||
fields = []
|
||||
comments = []
|
||||
flow = []
|
||||
empty = []
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
pointer=ptr + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
meaning=prose["notes"][nid],
|
||||
named_pointer=ptr + "/widgets_values_named/text",
|
||||
named_value=n["widgets_values_named"]["text"],
|
||||
evidence=[],
|
||||
)
|
||||
)
|
||||
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
|
||||
continue
|
||||
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
|
||||
effect = (
|
||||
editorial[nid]
|
||||
+ " 原mode="
|
||||
+ str(n["mode"])
|
||||
+ (
|
||||
"(旁路保存态,不模拟穿透或执行)。"
|
||||
if n["mode"] == 4
|
||||
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
|
||||
if n["mode"] == 2
|
||||
else "(活动保存态,不认证执行)。"
|
||||
)
|
||||
)
|
||||
flow += [
|
||||
effect,
|
||||
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原输入/输出 "
|
||||
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
|
||||
nid
|
||||
+ " 原具名保存 "
|
||||
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原其它属性 "
|
||||
+ json.dumps(
|
||||
{
|
||||
k: v
|
||||
for k, v in n.items()
|
||||
if k
|
||||
not in [
|
||||
"inputs",
|
||||
"outputs",
|
||||
"properties",
|
||||
"widgets_values",
|
||||
"widgets_values_named",
|
||||
]
|
||||
},
|
||||
ensure_ascii=False,
|
||||
),
|
||||
]
|
||||
if not n.get("widgets_values"):
|
||||
empty.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
pointer=ptr,
|
||||
scope=scope,
|
||||
state="missing" if "widgets_values" not in n else "empty_list",
|
||||
effect=effect,
|
||||
named_state="empty_object"
|
||||
if n.get("widgets_values_named") == {}
|
||||
else "missing",
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, (name, value) in enumerate(zip(LAYOUTS[cls], n["widgets_values"], strict=True)):
|
||||
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
|
||||
inp = found[0] if len(found) == 1 else None
|
||||
linked = inp is not None and n["inputs"][inp].get("link") is not None
|
||||
boundary = cls == HOST
|
||||
aux = name in [
|
||||
"seed_control_candidate",
|
||||
"fixed",
|
||||
"upload",
|
||||
"text_0",
|
||||
"rgthree_comparer",
|
||||
"guhai_ig",
|
||||
]
|
||||
(default, limits) = schemas.get(
|
||||
(nid, name),
|
||||
(
|
||||
"无准确独立宿主/前端widget默认",
|
||||
"宿主保存位置/声明边界,不认证promoted或后端执行映射",
|
||||
),
|
||||
)
|
||||
unit = "无物理单位;文本/枚举/标识/布尔接口参考,实际环境未核"
|
||||
if core_id == "unknown" or core_id.startswith("unresolved-"):
|
||||
default = "未知:未核准本声明准确类/schema,不由保存值或其它版本推定"
|
||||
limits = "仅源位置/具名保存/声明输入候选;准确默认、范围、算法、恢复和副作用未知"
|
||||
unit = "未知:准确类/schema未核,不推定单位或实际效果"
|
||||
if name in ["seed", "steps"]:
|
||||
unit = "整数数量/种子索引;不执行时序或保证效果"
|
||||
if name in ["cfg", "denoise", "strength_model"]:
|
||||
unit = "无物理单位的接口系数,准确范围见源码,不保证效果"
|
||||
if name in ["seed_control_candidate", "fixed"]:
|
||||
default = "准确frontend1.53.6辅助缺省randomize,非后端seed参数"
|
||||
limits = "fixed/increment/decrement/randomize;不执行种子控制或认证恢复"
|
||||
if name == "upload":
|
||||
default = "前端上传控件状态,不是后端图像数据默认"
|
||||
limits = "保存image状态与后端image文件选择分列;不上传、打开或读取媒体"
|
||||
if name == "text_0":
|
||||
default = "前端保存历史显示,无text_0后端默认,不是本次优化结果"
|
||||
limits = (
|
||||
"准确ShowText发布成员/前端写回参考;完整1425文本和具名text_0保留,不当本次输出"
|
||||
)
|
||||
if name == "rgthree_comparer":
|
||||
default = "前端完整历史列表,非当前产物或后端输入默认"
|
||||
limits = (
|
||||
"位置列表与具名images/额外img对象分别全文保留;"
|
||||
"源出口声明与准确UI/data返回分列;不请求历史媒体"
|
||||
)
|
||||
if cls in ["SetNode", "GetNode"]:
|
||||
limits += ";无cnr/ver,仅aux/名称/previousName/物理口,不认证全局别名或配对恢复"
|
||||
if cls == "QwenImage21Cache":
|
||||
limits += ";是否注册/模型patch及设备dtype条件只按本版源码,不借新版或执行缓存"
|
||||
if cls == "SaveImageAdvanced" and name in [
|
||||
"format.bit_depth",
|
||||
"format.input_color_space",
|
||||
]:
|
||||
default = "'8-bit'" if name.endswith("bit_depth") else "'sRGB'"
|
||||
limits = (
|
||||
"准确PNG分支:bit_depth枚举8-bit/16-bit默认8-bit,"
|
||||
"input_color_space仅sRGB默认sRGB;与EXR/AVIF分支分列,不保证真实通道/色彩。"
|
||||
)
|
||||
if cls == HOST:
|
||||
default = "无独立宿主schema默认,不把缓存或内部默认等同最终输入"
|
||||
limits = (
|
||||
"本图14保存缓存与24声明输入/定义边界分列;"
|
||||
"准确前端1.53.6静态参考,UE/宿主恢复未认证"
|
||||
)
|
||||
if cls == "VOSR2Upscale" and name == "fixed":
|
||||
default = "准确VOSR2 seed声明control_after_generate=io.ControlAfterGenerate.fixed"
|
||||
limits = "源码seed辅助缺省fixed,与seed整数参数分列;不执行前端种子时序或随机"
|
||||
unit = "前端种子控制枚举,无物理单位"
|
||||
if name in [
|
||||
"width",
|
||||
"height",
|
||||
"tile_size",
|
||||
"tile_overlap",
|
||||
"vae_tile_size",
|
||||
"vae_tile_overlap",
|
||||
]:
|
||||
unit = "像素尺寸/重叠长度;保存缓存与连线覆盖分列,不计算实际尺寸"
|
||||
if cls == "TextEncodeQwenImage21" and name == "resolution":
|
||||
unit = "参考图预处理像素标尺;不是EmptyLatentImage宽高,不认证实际处理"
|
||||
if cls == "ResolutionSelector" and name == "megapixels":
|
||||
unit = "MP,准确实现以1024×1024为基数;源float1.5与默认1.0分列,不试算尺寸"
|
||||
if cls == "ResolutionSelector" and name == "multiple":
|
||||
unit = "像素对齐倍数;准确实现round到最近倍数,不计算最终像素"
|
||||
if name == "upscale":
|
||||
unit = "无量纲放大倍率;源JSON int2与准确默认4分列,不保证质量/效果"
|
||||
if name == "max_length":
|
||||
unit = "文本生成最大token数接口;保存4096与默认512分列,不执行生成"
|
||||
if name.startswith("sampling_mode."):
|
||||
unit = "无物理单位的采样参数/计数/种子索引;准确默认范围见源码,不执行随机"
|
||||
if name == "format.bit_depth":
|
||||
unit = "PNG每通道位深枚举;8-bit/16-bit分支,不证明实际目标色深"
|
||||
if core_id == "unknown" or core_id.startswith("unresolved-"):
|
||||
default = "未知:准确声明版本未核准本类/schema,不借后版或保存值推定"
|
||||
limits = (
|
||||
"仅源保存位置/具名/输入口与作者建议;"
|
||||
"准确默认、范围、0特殊条件、算法和副作用未知"
|
||||
)
|
||||
unit = "未知:准确类/schema未核,不推定单位或实际效果"
|
||||
named_key = "control_after_generate" if name == "seed_control_candidate" else name
|
||||
named = n["widgets_values_named"][named_key]
|
||||
display_effect = effect
|
||||
if canonical(value) != canonical(named):
|
||||
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
|
||||
named, ensure_ascii=False, indent=2
|
||||
)
|
||||
fields.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
definition_node_id=str(n["id"]),
|
||||
scope=scope,
|
||||
class_type=cls,
|
||||
field=name,
|
||||
label=LABELS.get(name, name + "完整保存值"),
|
||||
pointer=f"{ptr}/widgets_values/{j}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
named_pointer=ptr
|
||||
+ "/widgets_values_named/"
|
||||
+ ("control_after_generate" if name == "seed_control_candidate" else name)
|
||||
.replace("~", "~0")
|
||||
.replace("/", "~1"),
|
||||
named_value=n["widgets_values_named"][
|
||||
"control_after_generate" if name == "seed_control_candidate" else name
|
||||
],
|
||||
input_pointer=f"{ptr}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无可靠独立输入映射:前端控制辅助",
|
||||
input_name=n["inputs"][inp]["name"] if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
|
||||
role="frontend_reference_only"
|
||||
if aux
|
||||
else "boundary_saved_cache"
|
||||
if boundary
|
||||
else "linked_saved_cache"
|
||||
if linked
|
||||
else "saved_reference",
|
||||
schema_default=default,
|
||||
limits=limits,
|
||||
unit=unit,
|
||||
effect=display_effect,
|
||||
evidence=refs[nid],
|
||||
execution_note=(
|
||||
"仅静态参考;所有中英文提示/指南均作数据,不"
|
||||
"执行指令、构造prompt、调用LLM/SD"
|
||||
"K/模型/GPU/媒体/随机/恢复/表达式/"
|
||||
"缓存清理。转换执行资格不变。"
|
||||
),
|
||||
)
|
||||
)
|
||||
for (nid, name), (default, limits) in schemas.items():
|
||||
flow.append(
|
||||
(
|
||||
f"节点{nid}准确schema {name}:default={default};"
|
||||
f"{limits}。仅接口参考,不认证运行恢复。"
|
||||
)
|
||||
)
|
||||
for pre, ptr, graph in scopes:
|
||||
flow.extend(
|
||||
(
|
||||
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
|
||||
for e in graph["links"]
|
||||
)
|
||||
)
|
||||
boundaries = [
|
||||
dict(
|
||||
host_node_id="459",
|
||||
definition_id=HOST,
|
||||
definition_widgets=g["definitions"]["subgraphs"][0]["widgets"],
|
||||
proxy_widgets_present="proxyWidgets" in next(n for n in g["nodes"] if n["id"] == 459),
|
||||
inputs=g["definitions"]["subgraphs"][0]["inputs"],
|
||||
outputs=g["definitions"]["subgraphs"][0]["outputs"],
|
||||
links=g["definitions"]["subgraphs"][0]["links"],
|
||||
notice="14缓存/24声明输入/24定义边界分别保留;无proxyWidgets不认证promoted恢复",
|
||||
)
|
||||
]
|
||||
flow += ["根附加保存属性 " + json.dumps(g["extra"], ensure_ascii=False)]
|
||||
flow += prose["steps"]
|
||||
flow += ["注释" + n["node_id"] + " 中文核对:" + n["meaning"] for n in comments]
|
||||
overview = json.loads((OUT / "prose.json").read_bytes())["overview"]
|
||||
assert len(fields) == 70 and len(comments) == 3
|
||||
assert all("widgets_values_named" in n for _, _, _, n in nodes if n.get("widgets_values"))
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
|
||||
notice="仅固定参考:角色表布局不保证四张文件/一致性;宿主恢复、目标模型/设备与效果未核,本图全mode0不认证执行,转换执行资格不变。",
|
||||
user_overview=overview,
|
||||
versions=[
|
||||
(f"{e['id']} {e['tag']} commit {e['commit']} tree {e['tree']};许可{e['license_file']}")
|
||||
for e in {e["id"]: e for e in manifest}.values()
|
||||
]
|
||||
+ [
|
||||
"旧99块5331位置/165注释冻结;新增70位置/三标准Note,总100图5401位置/168注释仅参考。local_file以docs/hel-892/qwen21-editviews-document-evidence为基准。"
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=70,
|
||||
root_saved_fields=46,
|
||||
internal_saved_fields=24,
|
||||
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
|
||||
boundary_saved_fields=sum(f["role"] == "boundary_saved_cache" for f in fields),
|
||||
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
|
||||
source_nodes=25,
|
||||
root_nodes=15,
|
||||
internal_nodes=10,
|
||||
physical_edges=50,
|
||||
source_notes=3,
|
||||
saved_objects=0,
|
||||
history_objects=0,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
node_bindings=bindings,
|
||||
fields=fields,
|
||||
sources=sources,
|
||||
comments=comments,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(sources))),
|
||||
zero_saved_nodes=empty,
|
||||
boundaries=boundaries,
|
||||
steps=[overview] + json.loads((OUT / "prose.json").read_bytes())["steps"],
|
||||
)
|
||||
@@ -0,0 +1,75 @@
|
||||
"""Collect final completed browser evidence and independently verify port release."""
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
LOCAL = ROOT / ".local-evidence/qwen21-editviews-document/browser"
|
||||
|
||||
|
||||
def main():
|
||||
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
|
||||
assert stopped["ports_released"] == [8247, 5173]
|
||||
ports = []
|
||||
for port in [8247, 5173]:
|
||||
with socket.socket() as s:
|
||||
s.settimeout(1)
|
||||
result = s.connect_ex(("127.0.0.1", port))
|
||||
assert result != 0
|
||||
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
|
||||
data = json.loads((LOCAL / "browser-results.json").read_bytes())
|
||||
assert not data["errors"] and data["viewports"] == [1440, 390]
|
||||
backend = collections.Counter(
|
||||
re.findall('"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
|
||||
)
|
||||
polling = {p: n for (p, n) in backend.items() if p in ["/api/events", "/api/jobs"]}
|
||||
fixed = {p: n for (p, n) in backend.items() if p not in polling}
|
||||
browser = collections.Counter((urlsplit(r["url"]).path for r in data["requests"]))
|
||||
intercepted = collections.Counter((urlsplit(r["url"]).path for r in data["interceptions"]))
|
||||
expected = browser.copy()
|
||||
for p, n in intercepted.items():
|
||||
expected[p] -= n
|
||||
expected["/api/workflows"] += 1
|
||||
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
|
||||
assert all((abs(n) <= 1 for n in polling_delta.values()))
|
||||
assert {p: n for (p, n) in expected.items() if p not in polling_delta} == fixed
|
||||
counts = {
|
||||
"fixed_count": sum(fixed.values()),
|
||||
"fixed_paths": fixed,
|
||||
"polling_count": sum(polling.values()),
|
||||
"polling_paths": polling,
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": len(data["interceptions"]),
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": True,
|
||||
"polling_snapshot_delta": polling_delta,
|
||||
"polling_snapshot_tolerance": 1,
|
||||
}
|
||||
(OUT / "backend-request-counts.json").write_text(
|
||||
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
|
||||
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
|
||||
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
|
||||
print(
|
||||
"PASS browser",
|
||||
data["assertion_count"],
|
||||
data["assertionGroups"],
|
||||
"fixed/polling/fixture",
|
||||
data["request_accounting"]["fixed_count"],
|
||||
data["request_accounting"]["polling_count"],
|
||||
len(data["interceptions"]),
|
||||
"backend",
|
||||
counts["fixed_count"],
|
||||
counts["polling_count"],
|
||||
"readiness1; independently refused8247/5173",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,79 @@
|
||||
{
|
||||
"batch": 119,
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"branch": "agent/agent/a64a969a6a44",
|
||||
"pr": "https://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"pr_base": "main",
|
||||
"new_saved": 70,
|
||||
"scalars": 70,
|
||||
"history_list_positions": 0,
|
||||
"root_saved": 46,
|
||||
"internal_saved": 24,
|
||||
"new_notes": 3,
|
||||
"named_nodes": 24,
|
||||
"named_positions": 70,
|
||||
"comparer_named_extra_img_preserved": true,
|
||||
"old_definitions_frozen": 99,
|
||||
"old_saved": 5331,
|
||||
"old_notes": 165,
|
||||
"total_reference_documents": 100,
|
||||
"total_saved": 5401,
|
||||
"total_notes": 168,
|
||||
"other_review_objects_frozen": 155,
|
||||
"baseline_files_frozen": 10629,
|
||||
"source_manifest_rows": 57,
|
||||
"source_closure_files": 92,
|
||||
"backend_tests": 343,
|
||||
"backend_warnings": 1,
|
||||
"formal_entries_pass": true,
|
||||
"frontend_build_pass": true,
|
||||
"backend_build_pass": true,
|
||||
"package_resources_equal": 3,
|
||||
"double_build_render_deterministic": true,
|
||||
"browser_assertions": 3966,
|
||||
"browser_groups": {
|
||||
"aggregate": 2,
|
||||
"new_qwen21_editviews": 1574,
|
||||
"old_ninety_nine": 2376,
|
||||
"shared_regressions": 14
|
||||
},
|
||||
"screenshots": 59,
|
||||
"actual_viewed": 14,
|
||||
"browser_fixed_gets": 313,
|
||||
"backend_fixed_gets": 308,
|
||||
"browser_polling_gets": 28,
|
||||
"backend_polling_gets": 28,
|
||||
"fixture_intercepts": 6,
|
||||
"readiness_gets": 1,
|
||||
"forbidden_requests": 0,
|
||||
"ports_released": [
|
||||
8247,
|
||||
5173
|
||||
],
|
||||
"independent_get_doc_equal": true,
|
||||
"originals_frozen": 163,
|
||||
"resources_frozen": 191,
|
||||
"profiles_frozen": 28,
|
||||
"candidates_frozen": 9,
|
||||
"differences_frozen": 6,
|
||||
"final_documents": 0,
|
||||
"new_conversions": 0,
|
||||
"real_executions": 0,
|
||||
"limitations": "准确core0.36.0两Qwen类未核准,有界调查不是全仓无类证明;aux_id候选registry404非源码不存在。角色布局不保证四文件/一致性/mask,目标安装/许可适用/设备/UE宿主恢复/history/真实效果未核;155最终定稿/可靠转换/环境核对/实跑未完成",
|
||||
"history_objects": 0,
|
||||
"modes": {
|
||||
"root0": 15,
|
||||
"internal0": 10
|
||||
},
|
||||
"host_saved": 14,
|
||||
"host_boundary_inputs": 24,
|
||||
"subgraph_boundary_records": 37,
|
||||
"proxy_widgets_present": false,
|
||||
"pre_read_correction": "准确core0.36.0未核准本图TextEncodeQwenImage21/QwenImage21Cache,保存/连线不变,准确0.37.4独立Cache已核,不能借后版填实",
|
||||
"system_characters": 17709,
|
||||
"system_actual_LF": 205,
|
||||
"system_literal_backslash_n": 1,
|
||||
"system_trailing_LF": true,
|
||||
"system_sha256": "e378fea686a1431581ba4c654d332ae96adad633f144ae738ec8ce9c4fd66439",
|
||||
"registry_goohai_candidate_status": 404
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
本轮定义构建和准确来源核对通过,未造失败记录。发现准确core0.36.0两Qwen类未核准,按版本缺口保留,并有界核另一个cache文件;0.37.4独立Cache不传播到0.36.0。初次正式pytest343通过、Ruff发现本轮工具一处长行和一个未使用变量;initial-*保留原日志。修正仅拆分同值字符串和移除未使用变量,未改变产品数据;最终三正式入口343通过、Ruff/format通过,不累计或称全仓绿。前后端build本轮实际执行,先构建再包/隔离检查,没有为无产品变化机械重跑构建。
|
||||
|
||||
原预读数量与混合换行经独立核准,无需修改原数据。不存在VOSR/WAS/mode4放大支路;14缓存/24边界不补十图控件;作者建议、旧牛仔衬衫缓存、系统/示例/链接都只数据。不打开素材、不执行LLM/插件/随机/图像/组/旁路/缓存、不访问API模型目录或下载Input Assets。获取/复核时间分列,历史SeedVR越界及删除事实保留。
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"486": "阅读1:本图是图像编辑角色参考卡的单幅布局意图:左特写+右全身正面/侧面/背面。标题不保证四文件、四次生成、自动拆图、三维或一致性;布局文字中的椭圆遮脸不是mask物理链。486完整19码点中文经738覆盖485 StringConcatenate独立core0.25.0的旧20字符photorealistic style;另399码点布局和字面/n分隔符原样,不改成真实LF或反斜杠n。准确拼接是string_a+delimiter+string_b,只静态说明,不构造完整prompt。",
|
||||
"485": "阅读1:本图是图像编辑角色参考卡的单幅布局意图:左特写+右全身正面/侧面/背面。标题不保证四文件、四次生成、自动拆图、三维或一致性;布局文字中的椭圆遮脸不是mask物理链。486完整19码点中文经738覆盖485 StringConcatenate独立core0.25.0的旧20字符photorealistic style;另399码点布局和字面/n分隔符原样,不改成真实LF或反斜杠n。准确拼接是string_a+delimiter+string_b,只静态说明,不构造完整prompt。",
|
||||
"470": "阅读2:470 LoadImage独立core0.36.0保存1.png/image。IMAGE704给459第一参考、734给478视觉输入、730给476比较A;MASK出口未接,不造遮罩或第二图。准确本版有文件路径/hash、EXIF/帧/模式条件、alpha反转和无alpha64×64占位等,输出IMAGE/MASK;实际文件、alpha、帧和目标目录未知,不打开图片、访问Input Assets或请求资源链接。宿主image_2..10均未接,旧prompt中的image1/image2牛仔衬衫只是旧缓存,不能作当前用户要求。",
|
||||
"480": "阅读3:480 CLIPLoader和478 TextGenerate各独立core0.37.4。480保存完整Qwen-Image目录/qwen3.5_qwen_image_2.1_pe_i2i.int8_convrot、stable_diffusion/default,经732给478。481系统733到system_prompt,485文本739到源user_prompt口,470图734到image;准确TextGenerate参数名为prompt,与源user_prompt口不同,不据位置认证映射/恢复。CLIP准确枚举/设备按本版,只保存模型引用不认证安装、兼容或许可适用。",
|
||||
"481": "阅读4:481完整系统17709码点,真实LF205、字面反斜杠+n恰1、尾LF有;UTF8 SHA256 e378fea686a1431581ba4c654d332ae96adad633f144ae738ec8ce9c4fd66439。真实LF与那一处字面序列分开,不概括为全真实或全字面换行;原文、空白和尾LF全部保存,系统/指南/链接/示例仅源数据,不执行或下载资产。",
|
||||
"478": "阅读5:478十三位置:prompt空、max_length4096、sampling_mode on、temperature0.7/top_k64/top_p0.95/min_p0.05/repetition_penalty1.05/seed0/presence0、thinking false、use_default_template true、mtp auto。准确core0.37.4默认和范围逐动态字段分列;use_default_template true时系统参数按tokenize模板条件传入,不能沿用前图false时忽略的结论;thinking/mtp依模型支持,生成、tokenize、加载等只静态说明,不执行LLM/SDK或保证无副作用。",
|
||||
"484": "阅读6:478.STRING736直接覆盖459旧prompt,另737到484 PreviewAny;本图PreviewAny不是宿主prompt的中转链。484准确core0.37.4保存真实widgets=[],与内部457缺widgets分开;本版PreviewAny设置并恢复torch打印选项,字符串/数值/JSON/str按条件转文本,返回ui.text和STRING result,不当无副作用任意类型透传。",
|
||||
"459": "阅读7:459宿主定义bc1c967a-7f6a-4be9-a372-dad16e4f28e3,只有14缓存却有24输入/边界。definition.widgets=[]且无proxyWidgets,不造promoted映射或给十图边界编造保存控件。14缓存为resolution JSON int0、完整旧中文prompt、negative空、cfg int1、steps25、switch/custom_size true、1024/1024、euler/simple、seed473747024882653、UNET/CLIP/VAE引用。prompt736、width670、height671、image1的704分别于缓存。UNET宿主bf16目录与内部int8裸名、CLIP宿主int8与内部bf16裸名不归一化、不认证兼容。",
|
||||
"13": "阅读8:13 ResolutionSelector独立core0.36.0保存4:3 (Standard)、JSON float1.5 MP、int32。准确默认MP1.0、multiple8,MP基数1024×1024,比例sqrt并round到最近倍数,仅静态不试算。670/671覆盖宿主两1024,再660/661到456 EmptyLatentImage两1024;四尺寸保存缓存分列。464作者custom_size关闭跟图比例、resolution0保留经32取整等建议与当前switch true分列,不当本次实际尺寸/效果。",
|
||||
"459:474": "阅读9:474 TextEncodeQwenImage21声明core0.36.0,保存prompt空、negative空、resolution1024;宿主resolution0经725到474.resolution,prompt726/negative727、CLIP453经721、VAE454经720。准确v0.36.0 nodes_qwen.py及QwenExtension列表未核准该准确类,默认/单位/0特殊条件/参考缩放算法及返回语义仍未知,不借0.37.4/0.38.0同名类或普通Edit节点补实。作者建议和源端口名字不是准确schema;目标安装、动态恢复未核,不能按resolution0保证保留原尺寸。",
|
||||
"459:468": "阅读11:474正负722/723到458;其latent724进468第0口,456 EmptyLatent的684进468第1口,468输出682才是458真正latent入口。custom_size边界703给468.switch,内部false与宿主true分列。468准确core0.36.0 SwitchNode注册ComfySwitchNode,源off/on与准确on_false/on_true命名差异保留;lazy只请求选中缺失支路,execute返回选中或None。仅物理两latent路径和静态条件,不模拟选择或保证关闭无加载/清理副作用。",
|
||||
"459:490": "阅读12:内部451 UNET经745给490 Cache独立core0.37.4,再744给469 Cache独立core0.36.0,再689到458。两处auto/default分别保存:490准确QwenExtension注册、schema auto/gpu/cpu/off及default/int8/int4、clone patch transformer_options缓存及预算回退仅本版静态;469准确0.36.0选定文件/注册表未核准该类,默认/单位/设备dtype/缓存算法和副作用未知,不借490实现传播或把串联当效果叠加。",
|
||||
"459:469": "阅读12:内部451 UNET经745给490 Cache独立core0.37.4,再744给469 Cache独立core0.36.0,再689到458。两处auto/default分别保存:490准确QwenExtension注册、schema auto/gpu/cpu/off及default/int8/int4、clone patch transformer_options缓存及预算回退仅本版静态;469准确0.36.0选定文件/注册表未核准该类,默认/单位/设备dtype/缓存算法和副作用未知,不借490实现传播或把串联当效果叠加。",
|
||||
"459:451": "阅读12:内部451 UNET经745给490 Cache独立core0.37.4,再744给469 Cache独立core0.36.0,再689到458。两处auto/default分别保存:490准确QwenExtension注册、schema auto/gpu/cpu/off及default/int8/int4、clone patch transformer_options缓存及预算回退仅本版静态;469准确0.36.0选定文件/注册表未核准该类,默认/单位/设备dtype/缓存算法和副作用未知,不借490实现传播或把串联当效果叠加。",
|
||||
"459:453": "阅读13:453 CLIP/454 VAE/456 EmptyLatent/458 KSampler/457 VAEDecode各独立core0.36.0;宿主0.36.0不传播到490。458保存seed0/randomize、25步、cfg JSON int1、euler/simple、denoise JSON int1,宿主seed另经667覆盖,种子辅助与后端seed分开,不执行随机或保证复现。458→457的651、454→457的649,解码650到定义IMAGE,经459→461正式保存672。",
|
||||
"459:454": "阅读13:453 CLIP/454 VAE/456 EmptyLatent/458 KSampler/457 VAEDecode各独立core0.36.0;宿主0.36.0不传播到490。458保存seed0/randomize、25步、cfg JSON int1、euler/simple、denoise JSON int1,宿主seed另经667覆盖,种子辅助与后端seed分开,不执行随机或保证复现。458→457的651、454→457的649,解码650到定义IMAGE,经459→461正式保存672。",
|
||||
"459:456": "阅读8:13 ResolutionSelector独立core0.36.0保存4:3 (Standard)、JSON float1.5 MP、int32。准确默认MP1.0、multiple8,MP基数1024×1024,比例sqrt并round到最近倍数,仅静态不试算。670/671覆盖宿主两1024,再660/661到456 EmptyLatentImage两1024;四尺寸保存缓存分列。464作者custom_size关闭跟图比例、resolution0保留经32取整等建议与当前switch true分列,不当本次实际尺寸/效果。",
|
||||
"459:458": "阅读13:453 CLIP/454 VAE/456 EmptyLatent/458 KSampler/457 VAEDecode各独立core0.36.0;宿主0.36.0不传播到490。458保存seed0/randomize、25步、cfg JSON int1、euler/simple、denoise JSON int1,宿主seed另经667覆盖,种子辅助与后端seed分开,不执行随机或保证复现。458→457的651、454→457的649,解码650到定义IMAGE,经459→461正式保存672。",
|
||||
"459:457": "阅读13:453 CLIP/454 VAE/456 EmptyLatent/458 KSampler/457 VAEDecode各独立core0.36.0;宿主0.36.0不传播到490。458保存seed0/randomize、25步、cfg JSON int1、euler/simple、denoise JSON int1,宿主seed另经667覆盖,种子辅助与后端seed分开,不执行随机或保证复现。458→457的651、454→457的649,解码650到定义IMAGE,经459→461正式保存672。",
|
||||
"461": "阅读14:461 SaveImageAdvanced独立core0.36.0保存image/Qwen_image_2.1/png/8-bit/sRGB。准确PNG分支bit_depth8/16-bit默认8-bit、input_color_space仅sRGB默认sRGB,按本版格式分支/hidden metadata/disable_metadata条件处理,返回IO.NodeOutput(images,ui.images);本版也声明EXR/AVIF,按准确源码保留,不套0.38新增格式或认证实际落盘、色深和色彩。输出729给476比较B,A直接470的730,连线不证明已生成配对产物。",
|
||||
"476": "阅读15:476 GH_ImageVideoComparer准确Goohai61425,与前图4985分开。准确注册GHImageVideoComparer,RETURN_TYPES=()、OUTPUT_NODE true、IS_CHANGED NaN,仅UI gh_compare;双None保留预览,双有须同图像/视频类型,按条件读文件/写temp/处理预览。原保存空串、A/B unknown、slide/position0.013002510179628992/speed1/audio none/sync true完整properties只保存,不请求媒体或当当前结果,不借后版方法填证。",
|
||||
"491": "阅读16:491忽略多组孤海准确Goohai537382,mode0。准确IgnoreGroupsGuHai后端required={}、RETURN_TYPES=()、OUTPUT_NODE true、execute返回();空串是前端保存控件不是后端入参。准确nodes pass.js与完整properties的filter提示词增强、mode default、active null、active_set两标题、disable false/sort/颜色/ui_scale分列;前端按条件设置/恢复组内mode,不执行组控制,不从保存态保证已恢复或无副作用。"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_qwen21_editviews_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
|
||||
"exit_code": 0,
|
||||
"log": "backend-tests.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "ruff-entry.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,722 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"self_excluded": true,
|
||||
"self_path": "docs/hel-892/qwen21-editviews-document-evidence/file-purpose-sha256.json",
|
||||
"reason": "清单不递归摘要自身;最终head/完整补丁另在提交后交付包中",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 22590,
|
||||
"sha256": "9de314befcd8b48fe020dcf33225bd60b176577568134c343dc8df6ed9900817"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 24817984,
|
||||
"sha256": "3ebccf449d1d8df126f145afb7b34df3bc72cba4c6c255eccac304705ca34a16"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_qwen21_editviews_fixed_document.py",
|
||||
"purpose": "本图逐标量/完整原文/全图和调用方重哈希失败关闭测试",
|
||||
"bytes": 9515,
|
||||
"sha256": "bc8b9342d5cf0d4a371091cb8340e286ecab48da884d311a879bdb9d158a2889"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/Qwen21图像编辑角色表四视图固定参考中文说明.md",
|
||||
"purpose": "70位置和三标准Note/自定义原属性完整中文固定参考说明",
|
||||
"bytes": 874991,
|
||||
"sha256": "a9f423db687ff98273d651f3ce1725d8ea89ca4228ddcfbf6bf3d8ebc9db4d4c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/actual-Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 513903,
|
||||
"sha256": "a5ffd5b3f7fe36b761ea18bc05fc98f8aae167c84154d32c755f59fd6a038238"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/actual-get.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 534207,
|
||||
"sha256": "1e9d352d0043614f6f0902bde2cb28ebe3490f7f6f64538206b848d45b76b4a9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/audit-summary.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 797,
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/backend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 211,
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/backend-request-counts.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3266,
|
||||
"sha256": "0d761c60d2966976788c321b401325d50d34a8a8d9b0f6513d0113f5ea6c115e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/backend-tests.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1040,
|
||||
"sha256": "cf03a1fbe3c2b6c6b9c72d19d8539d4a9e0f84807587c84d94c7f54302d4bca4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/baseline-frozen-files.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2552918,
|
||||
"sha256": "4537f6c78c4a89de37b170eb8b5c478b4fcc410185872c21ff15b3d3a6104d8d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/boundaries.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 38619,
|
||||
"sha256": "a6a99ca67024bd90e97f1923a80a7a16e8910e3deb51d2075ec18a40b3b3b2c2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/browser-entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 464,
|
||||
"sha256": "8ed9dbd8d115c8aff1e2cbdfeda27a2621eccb749b39cdf9f9fb05ba5cafc804"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/browser-results.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 283529,
|
||||
"sha256": "baa510db8040953e3bc22c937026da953d9d66019dad0609b65842f82b84af48"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/browser-run-log.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 240650,
|
||||
"sha256": "a8d51b376503b871fa492ce49c20c545aab0ee51647d521e3d0133d148fe0cb0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/build-final.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 71,
|
||||
"sha256": "9e1e2e51690c27a465fe1273378c126fcb885032f2e00bbe44ed94aa06b8bd87"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/build-initial.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 71,
|
||||
"sha256": "9e1e2e51690c27a465fe1273378c126fcb885032f2e00bbe44ed94aa06b8bd87"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/build_definition.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 34133,
|
||||
"sha256": "258ef9cf2fd28fcfe060f8863f8b08f3da4860315e2ad57969ef1b787fc5fb11"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/collect_browser.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3028,
|
||||
"sha256": "e73686e96d059894486c9c8de886332bcea68d570dbbb47077db8abffa2a70e7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/definition-0.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 418919,
|
||||
"sha256": "941af2e0e51c3066ed0274553f7c93c084abcb9d0e3c34bfdb16d0bb64ca4103"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/delivery-summary.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2563,
|
||||
"sha256": "5761ed92ec326ae0fb05b42f83c49810ebe15f7258646dd60be9ee381f501639"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/development-record.md",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1015,
|
||||
"sha256": "eb554e8faa3c1fdbfbaffbd698f83c50c21775094912a3273868e004881a9410"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/editorial.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 10456,
|
||||
"sha256": "b45682e5a1cdac4052f71bee497dac21cc64d4af55e8591bb99bed3b7f7d31c9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1043,
|
||||
"sha256": "d0ca92324c1b7d95eb7b15de1c19e214ba63abfc53163371b7e638a52e8972fe"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/fixed-source-index.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 101230,
|
||||
"sha256": "a8531d40efa84bc374afbc795de6511bd349f1d559667fcaa01934914299697c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/format-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 27,
|
||||
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/format-final.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 43,
|
||||
"sha256": "cbdb543094c76017142f70d7b276b79a38e8dcc7b4af47bad9dd46b33ba5e296"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/format-initial.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 44,
|
||||
"sha256": "72ecf736fb2bec04b4de4b35d2f6b7d6e97f7675ccff59a154fc638685e00e6e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/freeze.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2452,
|
||||
"sha256": "2da492ffeaa22c26981c55b47455df88b5eb903f93c0c8ca1d139c29b9b6cb9b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/frontend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 24100,
|
||||
"sha256": "acda12349736b894b8d81c76304db4ebc901a016b2b30eb54109da15ca207e7f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/frozen-resource-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 40348,
|
||||
"sha256": "e6532fbd66dad79235121630b26e5ed9f4f2942954c8d0352a1853a900c5b964"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/get-binding.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 304,
|
||||
"sha256": "53cdffd0b80c30d621b9d94b42d810705964495717dd27873b377b553f6b7f46"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/import-protection.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1272,
|
||||
"sha256": "fb76d34498541dd0c964eddc76981ebf9f5cfae3b14498458d7c0b5d616e12d2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/independent-inventory.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 93097,
|
||||
"sha256": "118e74b9b7af751a5619b4659b37ef8dc94d64a67e5a57cd85a15a54fc5ca748"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/initial-backend-tests.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1040,
|
||||
"sha256": "bfd619c6e33c7f61a3d349bdb63ba99c5df761aa17b189c468bae73f47bbbc02"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/initial-entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1043,
|
||||
"sha256": "6fbd2b5edeca00480e1bf5ae941c02b2a66a7bb49d058a90020f8412df3b356a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/initial-format-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 27,
|
||||
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/initial-ruff-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1329,
|
||||
"sha256": "41de04bc25f91556dd1985421bfe3241d4c4340349906376da0ce253b7939e84"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/inventory.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3516,
|
||||
"sha256": "9eaf660378c18329450ca02398a8523a187f19117a9292fa6a4ead31735f527b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/inventory.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 270,
|
||||
"sha256": "ee5ff2acdffd1a853beb980d9a549e1cb1f466e2e94b0cfa054bc2b06fefd9d5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/js-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/json-pointer-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 472,
|
||||
"sha256": "7ef93c44d5c779ec05eace99e79d3b16b1c7268a7fe3b9f180cb16aab57e1d43"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/long-text-sha256.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1364,
|
||||
"sha256": "bfb9ac058293d3455c91738e08ebff96ee6aeaa3003903c8e4b4b7426bccb4fc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/node-version-bindings.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 6036,
|
||||
"sha256": "e765a884c3169e4b6c7d42a8610a19d781a1c4952beeebd2a987278f1cb94920"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/originals-163-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 46597,
|
||||
"sha256": "576be1d517352ebe5472922fee63367dddca23ba0339c7550838899fa34012fa"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/package-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 553,
|
||||
"sha256": "cc8c25cc2aea683ee7be1d03f9ed87745c04b268165df99f40d9b440bd22c597"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/pin-format.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 22,
|
||||
"sha256": "d807f3580f2470a7fe15ad89e1a6c08e4166ffe1e33d94152d605f0c46d21bfa"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/pins.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 183,
|
||||
"sha256": "f2b4a7fc512358358f1794511126340e1c49a1d70720e454726119be8a77eb4d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/ports-independent.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 165,
|
||||
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/prose.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 9540,
|
||||
"sha256": "fd14598dae7ada95805e6f073dbda39e93a842495e0de3d6f193b0d26b73799b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/rebuild.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2371,
|
||||
"sha256": "459e4bcffe62de1f495f1dc6bc598ccd7957a35580d6f231f118b2021b53820f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/recompute.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 13532,
|
||||
"sha256": "81b8b55bb5ba7dd84b5c3e56610c239346ddd9c70f0ebb779979b1b9310215e6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/recompute.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 259,
|
||||
"sha256": "88705a69f7055dfcd461f095c54db78ea23d2518dbc21d775da5984030d1e0bb"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/render_report.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 4914,
|
||||
"sha256": "c0cc8cb92dab699ba8f13f653a52688bf4865527d918a20df5baea0ec0cd13d1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/repeat.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1345,
|
||||
"sha256": "04d0c8bc82247c7b8a87b9a7f6002de7680ba9f38c0523cf1ccf943bc912cfd2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/repeat.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 71,
|
||||
"sha256": "1c4de890cacc8abbcb119c86e6ebbea50780922b17bc7883685bfe4e0b261a96"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/repeatability.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 438,
|
||||
"sha256": "c6ea9770e2efdfec8b86bd5746d7944687da2a271130628b2e60a7401e39dbbf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/review-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 409,
|
||||
"sha256": "6dd8c9268a8afa2c507f32de7f2327e336a0ddc9aac613f22804fe2a3e21d654"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/ruff-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 19,
|
||||
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/scoped-diff-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 404,
|
||||
"sha256": "83969626fc78466436837eaa4c6933846cc2b0b3f3f65b3e954e7322ba7493fe"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/scoped-diff-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/screenshot-review.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2280,
|
||||
"sha256": "e5ff0e98f9dce2b588f7ef6434f421ef5cd368ab24a880155de703a865e51ddc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/service-0.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 23274,
|
||||
"sha256": "0eaec76b18cf0798f4f7340f89ad81c9b1c445ed4fed03aacc4d293644e690c2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/service-1.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 72,
|
||||
"sha256": "7b3945f37c2f552533c2fa6ad8c890364c5a865789b4f64f504418cf503aa228"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/service-stop.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 65,
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-acquisition-recipe.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 4345,
|
||||
"sha256": "34f5e6b5ba8b2bc3de5bb11351efa02eb0cb9603b897a13f3c07027135cf26b3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 15770,
|
||||
"sha256": "7a2d0c224100991fe1e19536d12e6300388da833a83fca5d442e4ac15b781c56"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-closure.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 25197,
|
||||
"sha256": "3d4603d03c867389b571ee1358f876c33df954380f9a3b5cdee5068e423451c7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-final.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 79,
|
||||
"sha256": "c984c96a4e9100d7c6e7a76c867217cf6ff23ebe9e9fcfc73379d3717309e311"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-initial.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 79,
|
||||
"sha256": "c984c96a4e9100d7c6e7a76c867217cf6ff23ebe9e9fcfc73379d3717309e311"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-investigation.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 7035,
|
||||
"sha256": "23895a2fd490a6beca5504b980e312c95a828cea86dc109d16402f68641bb7ed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source-reproduction.md",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2532,
|
||||
"sha256": "fb94177ae02de5ab7933e1bc6eebf72cbcad6113e15dd709a495813e8263dec3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/source_closure.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2545,
|
||||
"sha256": "8f6bf4aa484ce21a12846092f58c6898e9ab6776033d40b2906c16d31727de4c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/validation-commands.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2798,
|
||||
"sha256": "b74cc5a37db855055497c09d85bea5a34b506f35386132fa6591c9cc75489b50"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-document-evidence/verify_sources.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 10161,
|
||||
"sha256": "455f51c30fae6755d1ee5befc1d54304c9cf248e2701d14c3354f18d42be47e4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360-bounded-investigation.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 1195,
|
||||
"sha256": "84834012571f38b5793cc0980c5ddbe76e2ee1e7afbad621c70df49cef8ff7a0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest____init__.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 6356,
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest___io.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 97948,
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest___io_public.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 33,
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_easycache.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 27146,
|
||||
"sha256": "746fd299918efff7f2abe919fb8a0c20abd384be1e28a0f122c0d321a69ce174"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_images.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 79479,
|
||||
"sha256": "5bc0a44ee22469506d5c86fccde5f4973d156b2356e0ced6a779d1299b0f1acf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_logic.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 12601,
|
||||
"sha256": "6a146d3a814e37c65c9e749c2fde6d8f0ea8c1fc3f215cb249009e87303908bf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_qwen.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 6020,
|
||||
"sha256": "b8d18d9f897c4bd5a4b2651b30643bed277f1808e033c9c376dc21025fed00a5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__folder_paths.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 23156,
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__nodes.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 108668,
|
||||
"sha256": "34a483b59eed6bc407e74cd860cba7cae542f494fdff29bb15138369f78387a7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-commit.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 284,
|
||||
"sha256": "0616bb30b0dd5d7ebc78c7db3d5b2b42bbd1ffc24fcfb68d3b90f6c985240a8d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-fetch.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 88,
|
||||
"sha256": "04297bb9711cbfc3dc922012129dcb57ff3310b3dab9b2d17ebb8b4122439ee7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tag.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 135,
|
||||
"sha256": "d6fae8afa785da4ef70109ac1fd5815a92ceb61ef400a2e456ec8405e5f59408"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tag.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 284,
|
||||
"sha256": "0616bb30b0dd5d7ebc78c7db3d5b2b42bbd1ffc24fcfb68d3b90f6c985240a8d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tree.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 205462,
|
||||
"sha256": "a364d9bf2857bcb09ad162b1dfc8cef7dc4648844fbaa0dc57182a4c307d2014"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__LICENSE",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy__ldm__qwen_image21__model.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 19825,
|
||||
"sha256": "81a43c55e2292889d8b77d79cf4cb56fd3dfb717baf5e40f1d31f7700100c039"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest____init__.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 6356,
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest___io.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 97948,
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest___io_public.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 33,
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_preview_any.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 1495,
|
||||
"sha256": "48cffa3b2ddd08c311af609642da8703abc9bac9e624c400c3dc41f6edcea930"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_primitive.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 2992,
|
||||
"sha256": "329963dd20fbf8985539b7b990780291f4b82ee9cfd42b96b571288b77eaa47a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_qwen.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 11872,
|
||||
"sha256": "54ce02aa9e167c0b497ce026ac6b558f539427d2d1ed4fc1fcc2ec8e6bc529da"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_textgen.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 24508,
|
||||
"sha256": "ce41b40babe829cf8773aee3c3e43079f91205db921f6d964685e5fb0e5d7f54"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__nodes.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 108670,
|
||||
"sha256": "1af4a41e1d844550a836cf1d1b00fad85d3d0aefaf435743431a8f1598643e22"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__requirements.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 531,
|
||||
"sha256": "6dcb36b7fed5a9ad2f3380571f223951a48dde637a278380e9a601ee75e41856"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghcompare__nodes__图像对比 视频对比.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 14748,
|
||||
"sha256": "9dbfbf10e29dda4ee2c2a26b12bc3939f632471f1594cac81e7b15ddc8a5f660"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghcompare__web__js__gh_image_video_comparer.js",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 118714,
|
||||
"sha256": "32b23af4f705d5c9e898ca9a69cdf0213ad1a631372abfaa01085b8b111ce3b5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-commit.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 225,
|
||||
"sha256": "615621320dff342d80e0e385c6408172fe8b332e087a8c54524e0e16be82abe3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-fetch.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 127,
|
||||
"sha256": "474e60d51ea4655e74f03032b7298b89a637853c6f927d6ed2f302f3bbe97e87"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tag.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 168,
|
||||
"sha256": "9202d82c29a4c3fb2218db9c3a51c93a6850118df2c8e13c411ec57ed6653dde"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tag.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 225,
|
||||
"sha256": "615621320dff342d80e0e385c6408172fe8b332e087a8c54524e0e16be82abe3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tree.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 73287,
|
||||
"sha256": "bdd84dbed8db0454d89724a1c4393f737223ebfdec22d019716c437c8dae4cd5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__LICENSE",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup____init__.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 1600,
|
||||
"sha256": "d1cdc5dce665f9f52aaab69a1742cacabaf2d9617a380b517f8387b4b662d164"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__extension.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 1021,
|
||||
"sha256": "720bd511ce3d0a2ada06eefdbea34689deaf7385f5dd60631628efbd4b14b788"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__nodes__忽略多组.py",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 499,
|
||||
"sha256": "4350ab38acf4b1e555dbeaf27afe5427223d91b5e9ac4c7a2d4ce25c2931f450"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__requirements.txt",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 125,
|
||||
"sha256": "6d441fe1327fa35e31eee99e8bcaa478d59ae21472dab999374cb4462fbb594d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__web__js__nodes pass.js",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 49500,
|
||||
"sha256": "2466edb72013fc93e1685e430042c79bf089b38237bbfab65199d4903e7a3f5f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-check.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 290,
|
||||
"sha256": "3c8601ef6ca2ee55dffd5e88a93340c48b7cab20d3065a6f08d35b00d7c930dc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-response.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 40,
|
||||
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/sources.json",
|
||||
"purpose": "已审必要来源复用清单与官方registry,获取/复核时间分列",
|
||||
"bytes": 61002,
|
||||
"sha256": "513bcd4f69e0aaab34af578629189b261424526533c2cba4bcd42ecf9f6c9769"
|
||||
},
|
||||
{
|
||||
"path": "e2e/qwen21-editviews-document.mjs",
|
||||
"purpose": "本图及旧99摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 20958,
|
||||
"sha256": "2c56ee3060819daed4a3673ca9cb31c164e5bda3bef99444f2b2e0fd844ead88"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-qwen21-editviews-document.py",
|
||||
"purpose": "本图及旧99摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 3195,
|
||||
"sha256": "94bfddf4f92c25b5d074a7baccd214a229baa690036ea1d4c1667eedeef715cb"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
13 files already formatted
|
||||
@@ -0,0 +1 @@
|
||||
1 file reformatted, 9 files left unchanged
|
||||
@@ -0,0 +1 @@
|
||||
5 files reformatted, 8 files left unchanged
|
||||
@@ -0,0 +1,65 @@
|
||||
"""Rehash every baseline blob except the two authorized product resources."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, REPO
|
||||
from rebuild import BASE, RESOURCE
|
||||
|
||||
|
||||
def main():
|
||||
allowed = {RESOURCE, "calliope-backend/src/calliope/comfyui/fixed_document.py"}
|
||||
entries = subprocess.check_output(["git", "ls-tree", "-rz", BASE], cwd=REPO)
|
||||
frozen = []
|
||||
originals = []
|
||||
for entry in entries.rstrip(b"\0").split(b"\0"):
|
||||
meta, path = entry.split(b"\t", 1)
|
||||
name = path.decode()
|
||||
if name in allowed:
|
||||
continue
|
||||
mode, kind, digest = meta.decode().split()
|
||||
assert kind == "blob"
|
||||
raw = (REPO / name).read_bytes()
|
||||
actual = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert actual == digest, name
|
||||
item = dict(path=name, git_blob_sha1=digest, sha256=hashlib.sha256(raw).hexdigest())
|
||||
frozen.append(item)
|
||||
if name.startswith("example_ComfyUI_workflows/") or (
|
||||
name.startswith("docs/hel-892/supplied-api/") and name.endswith(".api.json")
|
||||
):
|
||||
originals.append(item)
|
||||
assert len(originals) == 163
|
||||
for filename, data in [
|
||||
("baseline-frozen-files.json", dict(base=BASE, count=len(frozen), files=frozen)),
|
||||
("originals-163-check.json", dict(base=BASE, count=163, files=originals)),
|
||||
]:
|
||||
(OUT / filename).write_text(json.dumps(data, ensure_ascii=False, indent=2) + "\n")
|
||||
previous = json.loads(subprocess.check_output(["git", "show", BASE + ":" + RESOURCE]))
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
changed = [p for p in previous if previous[p] != current[p]]
|
||||
assert len(changed) == 1
|
||||
target = changed[0]
|
||||
added = dict(current[target])
|
||||
added.pop("fixed_version_document")
|
||||
assert added == previous[target]
|
||||
(OUT / "json-pointer-delta.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
base=BASE,
|
||||
path=target,
|
||||
only_added_key="fixed_version_document",
|
||||
other_review_objects_unchanged=155,
|
||||
other_baseline_blobs_unchanged=len(frozen),
|
||||
allowed_product_resources=sorted(allowed),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS baseline blobs", len(frozen), "originals", len(originals))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,267 @@
|
||||
|
||||
> calliope-web@1.5.8 build
|
||||
> vite build
|
||||
|
||||
vite v6.4.3 building SSR bundle for production...
|
||||
transforming...
|
||||
3:28:48 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
3:28:48 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
|
||||
✓ 521 modules transformed.
|
||||
rendering chunks...
|
||||
vite v6.4.3 building for production...
|
||||
transforming...
|
||||
3:28:51 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
3:28:51 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
✓ 763 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
|
||||
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.23 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/start.BaS0TLId.js 0.12 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0XwC4Ot.js 0.15 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/17.ChNz_pTG.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.CUUiahip.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsCRBkET.js 0.18 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/PLPYKeY9.js 0.19 kB │ gzip: 0.17 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CI9jXNKC.js 0.19 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CpptLIq9.js 0.19 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/14.DzhME1wO.js 0.23 kB │ gzip: 0.21 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DkrMbCO4.js 0.23 kB │ gzip: 0.18 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/13.d8cRwCTU.js 0.24 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/jbvGh2cr.js 0.26 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DuR33ltU.js 0.28 kB │ gzip: 0.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/LOG_p0wv.js 0.29 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/2.BPNeHL2Q.js 0.37 kB │ gzip: 0.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BqqYkBFO.js 0.37 kB │ gzip: 0.26 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/1.DY1Pl6BU.js 0.40 kB │ gzip: 0.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C9dRlz4w.js 0.46 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DizlLVgY.js 0.47 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BkYbArkN.js 0.49 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-UyI9lYi.js 0.51 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D41pZ3kD.js 0.56 kB │ gzip: 0.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/O29yiedF.js 0.61 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D8EAmlG6.js 0.62 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BXakyGcx.js 0.71 kB │ gzip: 0.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/0jsz6oxm.js 0.75 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BzVl9ZHh.js 0.83 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/f7zKxHYB.js 0.84 kB │ gzip: 0.45 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BpPWQjN7.js 0.92 kB │ gzip: 0.44 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B_dFkj9f.js 1.08 kB │ gzip: 0.61 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/12.C2lnHoN4.js 1.18 kB │ gzip: 0.71 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/6.D_T5oJlE.js 1.29 kB │ gzip: 0.76 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/wbPk3Yxo.js 1.37 kB │ gzip: 0.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DroLD1Vd.js 1.48 kB │ gzip: 0.78 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DvVbqmqL.js 1.49 kB │ gzip: 0.75 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C2FB8ozn.js 2.00 kB │ gzip: 1.06 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C6NPzxMU.js 2.24 kB │ gzip: 0.99 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DBfOsHAR.js 2.77 kB │ gzip: 1.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Cfp5XeNU.js 2.94 kB │ gzip: 1.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/tTl_1iKp.js 3.08 kB │ gzip: 1.57 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DY6GL6X4.js 3.23 kB │ gzip: 1.55 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/18.ByTs9hAa.js 3.50 kB │ gzip: 1.69 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-yw0ATYa.js 4.27 kB │ gzip: 1.52 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dwm6yq4L.js 5.19 kB │ gzip: 2.50 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bn-IQ-PY.js 5.29 kB │ gzip: 2.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C-0t0SFe.js 6.86 kB │ gzip: 3.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/16.BK0HjtOc.js 10.26 kB │ gzip: 3.94 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dq0gzhJg.js 10.98 kB │ gzip: 4.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/app.ByEeOecT.js 11.97 kB │ gzip: 4.00 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/10.FDWdBSK6.js 16.63 kB │ gzip: 6.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/b4rAb54u.js 16.64 kB │ gzip: 6.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BJXZgoNf.js 17.38 kB │ gzip: 6.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/kyNCFls4.js 20.28 kB │ gzip: 7.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/15.r3ND0jVO.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DtZsZI3f.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.Bf4t2pxs.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.B_7fLW0F.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.DJZowdLW.js 29.61 kB │ gzip: 10.00 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/SBMx5f2U.js 33.93 kB │ gzip: 13.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DL9hzn8C.js 38.54 kB │ gzip: 13.85 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/19.c4aZKnOo.js 52.59 kB │ gzip: 14.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BbmTSwTk.js 71.50 kB │ gzip: 26.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CsJV-Jm1.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.BqNQlNci.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.uf8A5hfc.js 214.51 kB │ gzip: 69.05 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsrzHLJP.js 684.82 kB │ gzip: 180.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/2QcV1iOV.js 720.35 kB │ gzip: 209.00 kB
|
||||
|
||||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||||
- Using dynamic import() to code-split the application
|
||||
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
|
||||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||||
✓ built in 3.72s
|
||||
.svelte-kit/output/server/.vite/manifest.json 23.36 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.C62bpzl4.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.IyyrLGyK.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ConfirmDialog.C_pBcjz1.css 0.89 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DG2SembM.css 1.87 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ImageLightbox.Mjqtht7n.css 2.18 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.CxLkc7AF.css 3.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.-McisAlK.css 4.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/RefImageGrid.Cg0JH9u1.css 4.86 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.D3s-Wa9z.css 5.02 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentComposer.BeAeVWGq.css 6.34 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DH5AEk6F.css 9.35 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bra3CMMT.css 10.42 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BUR6RoLt.css 10.46 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.0zMz792f.css 10.78 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentChat.C1veD2Ar.css 11.37 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AppShell.ymPBcNjP.css 12.64 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_layout.B1MJuaEd.css 19.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/StudioGenerate.pbw6ZUUi.css 20.96 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DdIn3xwb.css 22.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bs4Fx5Yn.css 28.74 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BC6N9k4h.css 31.67 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.ts.js 0.06 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.ts.js 0.12 kB
|
||||
.svelte-kit/output/server/entries/hooks.server.js 0.13 kB
|
||||
.svelte-kit/output/server/chunks/wideLayout.js 0.15 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/projects/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/image/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/video/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/project/_id_/_page.ts.js 0.20 kB
|
||||
.svelte-kit/output/server/chunks/index-server.js 0.22 kB
|
||||
.svelte-kit/output/server/env.js 0.23 kB
|
||||
.svelte-kit/output/server/chunks/client.js 0.31 kB
|
||||
.svelte-kit/output/server/chunks/index-server2.js 0.31 kB
|
||||
.svelte-kit/output/server/internal.js 0.35 kB
|
||||
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.35 kB
|
||||
.svelte-kit/output/server/chunks/state.svelte.js 0.45 kB
|
||||
.svelte-kit/output/server/chunks/Skeleton.js 0.48 kB
|
||||
.svelte-kit/output/server/chunks/Spinner.js 0.52 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_layout.svelte.js 0.55 kB
|
||||
.svelte-kit/output/server/chunks/index2.js 0.57 kB
|
||||
.svelte-kit/output/server/chunks/server.js 0.62 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.svelte.js 0.66 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.svelte.js 0.67 kB
|
||||
.svelte-kit/output/server/chunks/utils2.js 0.72 kB
|
||||
.svelte-kit/output/server/chunks/ids.js 0.77 kB
|
||||
.svelte-kit/output/server/chunks/Icon.svelte_svelte_type_style_lang.js 0.86 kB
|
||||
.svelte-kit/output/server/chunks/endpointKind.js 0.95 kB
|
||||
.svelte-kit/output/server/chunks/createMutation.js 1.03 kB
|
||||
.svelte-kit/output/server/chunks/EmptyState.js 1.04 kB
|
||||
.svelte-kit/output/server/chunks/toast.js 1.14 kB
|
||||
.svelte-kit/output/server/chunks/context.js 1.20 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.js 1.36 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.svelte_svelte_type_style_lang.js 1.46 kB
|
||||
.svelte-kit/output/server/chunks/SafeMedia.js 1.65 kB
|
||||
.svelte-kit/output/server/chunks/ProgressBar.js 1.88 kB
|
||||
.svelte-kit/output/server/chunks/useUpload.svelte.js 2.16 kB
|
||||
.svelte-kit/output/server/chunks/takeDelete.svelte.js 2.57 kB
|
||||
.svelte-kit/output/server/chunks/index3.js 2.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.svelte.js 3.08 kB
|
||||
.svelte-kit/output/server/chunks/ConfirmDialog.js 3.25 kB
|
||||
.svelte-kit/output/server/chunks/internal.js 3.79 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.svelte.js 4.93 kB
|
||||
.svelte-kit/output/server/chunks/exports.js 5.54 kB
|
||||
.svelte-kit/output/server/chunks/Icon.js 6.04 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.svelte.js 7.88 kB
|
||||
.svelte-kit/output/server/entries/pages/tasks/_page.svelte.js 13.44 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.svelte.js 15.12 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.svelte_svelte_type_style_lang.js 16.32 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.svelte.js 19.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.svelte.js 25.48 kB
|
||||
.svelte-kit/output/server/chunks/RefImageGrid.js 25.96 kB
|
||||
.svelte-kit/output/server/chunks/root.js 29.43 kB
|
||||
.svelte-kit/output/server/chunks/AgentComposer.js 34.01 kB
|
||||
.svelte-kit/output/server/chunks/utils.js 34.14 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.svelte.js 36.24 kB
|
||||
.svelte-kit/output/server/remote-entry.js 36.81 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.js 39.27 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.svelte.js 50.91 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.svelte.js 51.30 kB
|
||||
.svelte-kit/output/server/chunks/StudioGenerate.js 99.49 kB
|
||||
.svelte-kit/output/server/chunks/index.js 101.49 kB
|
||||
.svelte-kit/output/server/index.js 130.14 kB
|
||||
.svelte-kit/output/server/entries/pages/connections/_page.svelte.js 132.44 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.svelte.js 145.51 kB
|
||||
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
|
||||
✓ built in 6.94s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"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
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"id": 66,
|
||||
"name": "Qwen_image2.1_图像编辑_角色表四视图",
|
||||
"get_utf8_sha256": "1e9d352d0043614f6f0902bde2cb28ebe3490f7f6f64538206b848d45b76b4a9",
|
||||
"doc_canonical_sha256": "fa7850513ec7569a16bffa5196d7979c3cae077dbcce3636e47d2a7a931eae1f",
|
||||
"doc_json_equal_to_isolated_database": true
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"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": 70,
|
||||
"new_notes": 3,
|
||||
"old_saved": 5331,
|
||||
"old_notes": 165,
|
||||
"overviews": 100,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,12 @@
|
||||
........................................................................ [ 20%]
|
||||
........................................................................ [ 41%]
|
||||
........................................................................ [ 62%]
|
||||
........................................................................ [ 83%]
|
||||
....................................................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/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
|
||||
343 passed, 1 warning in 7.21s
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_qwen21_editviews_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
|
||||
"exit_code": 0,
|
||||
"log": "backend-tests.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 1,
|
||||
"log": "ruff-entry.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
13 files already formatted
|
||||
@@ -0,0 +1,25 @@
|
||||
E501 Line too long (106 > 100)
|
||||
--> docs/hel-892/qwen21-editviews-document-evidence/build_definition.py:668:66
|
||||
|
|
||||
666 | if core_id == "unknown" or core_id.startswith("unresolved-"):
|
||||
667 | default = "未知:准确声明版本未核准本类/schema,不借后版或保存值推定"
|
||||
668 | limits = "仅源保存位置/具名/输入口与作者建议;准确默认、范围、0特殊条件、算法和副作用未知"
|
||||
| ^^^^^
|
||||
669 | unit = "未知:准确类/schema未核,不推定单位或实际效果"
|
||||
670 | named_key = "control_after_generate" if name == "seed_control_candidate" else name
|
||||
|
|
||||
|
||||
F841 Local variable `ins` is assigned to but never used
|
||||
--> docs/hel-892/qwen21-editviews-document-evidence/verify_sources.py:172:5
|
||||
|
|
||||
170 | assert eid in graph["outputs"][zi]["linkIds"]
|
||||
171 | ns = {n["id"]: n for n in g["nodes"]}
|
||||
172 | ins = {n["id"]: n for n in d["nodes"]}
|
||||
| ^^^
|
||||
173 | assert (
|
||||
174 | len(ns[459]["widgets_values"]) == 14
|
||||
|
|
||||
help: Remove assignment to unused variable `ins`
|
||||
|
||||
Found 2 errors.
|
||||
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
|
||||
@@ -0,0 +1,93 @@
|
||||
"Independent original bytes and every physical boundary; no layout mapping."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PATH = (
|
||||
"example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json"
|
||||
)
|
||||
|
||||
|
||||
def inventory():
|
||||
raw = (ROOT / PATH).read_bytes()
|
||||
g = json.loads(raw)
|
||||
(fields, empty, notes, scopes) = ([], [], [], [])
|
||||
graphs = [("", g)] + [
|
||||
(f"/definitions/subgraphs/{i}", s)
|
||||
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
|
||||
]
|
||||
for prefix, graph in graphs:
|
||||
scopes.append(
|
||||
dict(
|
||||
pointer=prefix or "/",
|
||||
nodes=len(graph["nodes"]),
|
||||
edges=len(graph["links"]),
|
||||
modes=[n["mode"] for n in graph["nodes"]],
|
||||
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
|
||||
)
|
||||
)
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
p = f"{prefix}/nodes/{i}"
|
||||
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
|
||||
empty.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p,
|
||||
state="missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list",
|
||||
)
|
||||
)
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
notes.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
characters=len(n["widgets_values"][0]),
|
||||
lf_count=n["widgets_values"][0].count("\n"),
|
||||
literal_backslash_n=n["widgets_values"][0].count("\\n"),
|
||||
ends_with_lf=n["widgets_values"][0].endswith("\n"),
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, v in enumerate(n.get("widgets_values") or []):
|
||||
fields.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=f"{p}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
scope="root" if not prefix else prefix,
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
path=PATH,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
|
||||
fields=fields,
|
||||
empty=empty,
|
||||
notes=notes,
|
||||
scopes=scopes,
|
||||
extra=g["extra"],
|
||||
hosts=[n for n in g["nodes"] if n["id"] in []],
|
||||
definition_boundary=[
|
||||
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
|
||||
for s in g.get("definitions", {}).get("subgraphs", [])
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
|
||||
@@ -0,0 +1 @@
|
||||
Saved 70 notes 3 scopes [{'pointer': '/', 'nodes': 15, 'edges': 13, 'modes': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'named_nodes': 15}, {'pointer': '/definitions/subgraphs/0', 'nodes': 10, 'edges': 37, 'modes': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'named_nodes': 9}]
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"only_added_key": "fixed_version_document",
|
||||
"other_review_objects_unchanged": 155,
|
||||
"other_baseline_blobs_unchanged": 10629,
|
||||
"allowed_product_resources": [
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"source_sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf",
|
||||
"texts": [
|
||||
{
|
||||
"node": "477",
|
||||
"pointer": "/nodes/0/widgets_values/0",
|
||||
"characters": 13,
|
||||
"actual_LF": 0,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_LF": false,
|
||||
"sha256": "3a90e426ca99c77059b377a6eee0746c4e867c1c8e859db42316fa8551898fd1"
|
||||
},
|
||||
{
|
||||
"node": "463",
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"characters": 1917,
|
||||
"actual_LF": 45,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_LF": true,
|
||||
"sha256": "a71787a66c71a73b9d6c94cb9f21eeb3b1ba3db52aa8c48e6ec846b235be7a16"
|
||||
},
|
||||
{
|
||||
"node": "464",
|
||||
"pointer": "/nodes/12/widgets_values/0",
|
||||
"characters": 255,
|
||||
"actual_LF": 7,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_LF": true,
|
||||
"sha256": "6ca22736751b6f034558b0c96136e1b4722bf07ce367f6b201aeb332e505956c"
|
||||
},
|
||||
{
|
||||
"node": "481",
|
||||
"characters": 17709,
|
||||
"actual_LF": 205,
|
||||
"literal_backslash_n": 1,
|
||||
"trailing_LF": true,
|
||||
"sha256": "e378fea686a1431581ba4c654d332ae96adad633f144ae738ec8ce9c4fd66439"
|
||||
}
|
||||
],
|
||||
"source_text_executed": false,
|
||||
"delimiter_literal_slash_n": true,
|
||||
"pre_read_correction": "准确core0.36.0选定Qwen文件/注册及cache候选未核准TextEncodeQwenImage21/QwenImage21Cache,不借0.37.4补实"
|
||||
}
|
||||
@@ -0,0 +1,327 @@
|
||||
[
|
||||
{
|
||||
"node_id": "476",
|
||||
"class_type": "GH_ImageVideoComparer",
|
||||
"source_version": "61425dc193e3714492d840150e30926d16e567f0",
|
||||
"source_id": "ghcompare",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 55,
|
||||
"symbol": "GHImageVideoComparer",
|
||||
"lines": [
|
||||
365,
|
||||
408
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "480",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 30,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
1008,
|
||||
1033
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "484",
|
||||
"class_type": "PreviewAny",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 33,
|
||||
"symbol": "PreviewAny",
|
||||
"lines": [
|
||||
8,
|
||||
40
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "481",
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 32,
|
||||
"symbol": "StringMultiline",
|
||||
"lines": [
|
||||
24,
|
||||
39
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "485",
|
||||
"class_type": "StringConcatenate",
|
||||
"source_version": "0.25.0",
|
||||
"source_id": "core0250",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 7,
|
||||
"symbol": "StringConcatenate",
|
||||
"lines": [
|
||||
39,
|
||||
59
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "470",
|
||||
"class_type": "LoadImage",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "LoadImage",
|
||||
"lines": [
|
||||
1738,
|
||||
1812
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "478",
|
||||
"class_type": "TextGenerate",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 31,
|
||||
"symbol": "TextGenerate",
|
||||
"lines": [
|
||||
4,
|
||||
89
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459",
|
||||
"class_type": "bc1c967a-7f6a-4be9-a372-dad16e4f28e3",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "subgraph-definition",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "491",
|
||||
"class_type": "忽略多组孤海",
|
||||
"source_version": "537382d8198aa9bd03a614587fac1f239f71ba06",
|
||||
"source_id": "ghgroup",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 42,
|
||||
"symbol": "IgnoreGroupsGuHai",
|
||||
"lines": [
|
||||
1,
|
||||
14
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "13",
|
||||
"class_type": "ResolutionSelector",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "ResolutionSelector",
|
||||
"lines": [
|
||||
30,
|
||||
86
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "486",
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"source_version": "0.37.0",
|
||||
"source_id": "core0370",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 6,
|
||||
"symbol": "StringMultiline",
|
||||
"lines": [
|
||||
24,
|
||||
39
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "461",
|
||||
"class_type": "SaveImageAdvanced",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 49,
|
||||
"symbol": "SaveImageAdvanced",
|
||||
"lines": [
|
||||
1725,
|
||||
1881
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:453",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
1008,
|
||||
1033
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:454",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
771,
|
||||
864
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:456",
|
||||
"class_type": "EmptyLatentImage",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "EmptyLatentImage",
|
||||
"lines": [
|
||||
1246,
|
||||
1266
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:457",
|
||||
"class_type": "VAEDecode",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "VAEDecode",
|
||||
"lines": [
|
||||
316,
|
||||
341
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:458",
|
||||
"class_type": "KSampler",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "KSampler",
|
||||
"lines": [
|
||||
1597,
|
||||
1624
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:468",
|
||||
"class_type": "ComfySwitchNode",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 50,
|
||||
"symbol": "SwitchNode",
|
||||
"lines": [
|
||||
86,
|
||||
116
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:469",
|
||||
"class_type": "QwenImage21Cache",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "unresolved-core0360",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "459:474",
|
||||
"class_type": "TextEncodeQwenImage21",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "unresolved-core0360",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "459:451",
|
||||
"class_type": "UNETLoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "UNETLoader",
|
||||
"lines": [
|
||||
983,
|
||||
1006
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:490",
|
||||
"class_type": "QwenImage21Cache",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 34,
|
||||
"symbol": "QwenImage21Cache",
|
||||
"lines": [
|
||||
185,
|
||||
210
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,821 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"count": 163,
|
||||
"files": [
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/01.api.json",
|
||||
"git_blob_sha1": "d9aa335ccc84908747673632b75304347bb57aef",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/02.api.json",
|
||||
"git_blob_sha1": "c15d785a7a4301dc2228dda3a31440df8f3b3853",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/03.api.json",
|
||||
"git_blob_sha1": "926937b3938400e3ca049e32555909bedd27fe19",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/04.api.json",
|
||||
"git_blob_sha1": "c810796d8bf41878614ec95735499bad377f0327",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/05.api.json",
|
||||
"git_blob_sha1": "94ec86088483c6c99cc677022a97bb278c404b65",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/06.api.json",
|
||||
"git_blob_sha1": "b0bc0e69f2f188a5b1521612593e75b3ff7c0bb7",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/07.api.json",
|
||||
"git_blob_sha1": "9c1b4417b8e43d1c13868f4eb4222fbf83cd4188",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"git_blob_sha1": "e31f6e589546264095425f3cf0adf5431220036e",
|
||||
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"git_blob_sha1": "876d62f7123a5858c69f97d4a0e225b121968cd5",
|
||||
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"git_blob_sha1": "b11aff5284ddaf5c1f2396bfdb86abf43bafaa98",
|
||||
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
|
||||
"git_blob_sha1": "ffb30ad882f1eba45821e03c39d42441fda4f2cb",
|
||||
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
|
||||
"git_blob_sha1": "4b3829097135b907d5682aaea44c12f6c99d0732",
|
||||
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
|
||||
"git_blob_sha1": "2553845a4432ef50cb695888ea69500b2d7b85e7",
|
||||
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
|
||||
"git_blob_sha1": "804708ea4a12f989da88d6cfdbbc55c74e62c113",
|
||||
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
|
||||
"git_blob_sha1": "b54acc28b31af6140bd1d11fae34419b0028841a",
|
||||
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
|
||||
"git_blob_sha1": "cb2de9b19e68400412d2a589b7a538fe42e7085b",
|
||||
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"git_blob_sha1": "b1797f5627c81fa0ea8af6e5ab2ab436683cf60a",
|
||||
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
|
||||
"git_blob_sha1": "a8a435ae452b8edee887cca5d47f1271577bd9f7",
|
||||
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"git_blob_sha1": "16eba66f72993efe960b7738aa77a60509cb0e69",
|
||||
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"git_blob_sha1": "7beb3d4d245f8a003700ea93927173048244073f",
|
||||
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
|
||||
"git_blob_sha1": "aba196c81bd1ee68cc7655dc4360ad8e221f2176",
|
||||
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
|
||||
"git_blob_sha1": "5dd39556ebb3207cd1899fa20fc4b0ba1b8de484",
|
||||
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"git_blob_sha1": "ae555547bf30b1e9fdb5be7154401389d8eaecaa",
|
||||
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"git_blob_sha1": "1db8cb408a731d5ca4e47509bfa46b671a79ecce",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"git_blob_sha1": "252e78d61c95bc41071e3b80cabfa9db03132f49",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"git_blob_sha1": "aaa2a222800bdc51da7285504d072a539fca3778",
|
||||
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
|
||||
"git_blob_sha1": "ac6689a1fb40632dd8259519ef4b4321c0a9fd2b",
|
||||
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
|
||||
"git_blob_sha1": "8953a9b2e6e878d1552d328c6c52c320c76a86c7",
|
||||
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
|
||||
"git_blob_sha1": "047a0574be89e5af860c999cced3a65a895b54fc",
|
||||
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
|
||||
"git_blob_sha1": "b9c2c08a668778192e14062492f2747e05f66c25",
|
||||
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"git_blob_sha1": "80f41829a6b46d827b20206c8d9811e4cd6b4fcd",
|
||||
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
|
||||
"git_blob_sha1": "6ec06d969a615801ca56bfc8e6fd4ff32e2b91ea",
|
||||
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"git_blob_sha1": "921e3ab0932a7272960fb3c643a67d9e79bce20f",
|
||||
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"git_blob_sha1": "a2d677e3cb4c9fc5600f2f0235dd499260f0cd3d",
|
||||
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
|
||||
"git_blob_sha1": "f2f898fff3aac49bdea6ecb77bedbce119f844cd",
|
||||
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
|
||||
"git_blob_sha1": "14e833876b69d86a7181178f47960633f2921e05",
|
||||
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
|
||||
"git_blob_sha1": "40da02c5845509759b3001260f60c816cfd162bb",
|
||||
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
|
||||
"git_blob_sha1": "7d9039d049444a5e6dda74fc6afd5c8c2a405022",
|
||||
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"git_blob_sha1": "399637bbbc446c034a9b758610d2fbe078fec671",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
|
||||
"git_blob_sha1": "fd733f43bf6b351793edb556d3bd0fc01f5c357d",
|
||||
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"git_blob_sha1": "702c704b9eb265ba70a26ae64b286c9e214b5309",
|
||||
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"git_blob_sha1": "65052793b127c4f172a439ba9414b8e5dd4407d6",
|
||||
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
|
||||
"git_blob_sha1": "380593b7dee9693d302d022d04be41e07d7590f4",
|
||||
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
|
||||
"git_blob_sha1": "4d157e3b02041a18d9a6b963e87236d0b8d48af6",
|
||||
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
|
||||
"git_blob_sha1": "83ce324ce781fb572b8bd38730a2bf61bed028aa",
|
||||
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
|
||||
"git_blob_sha1": "268c60b0415536bdd003e5d14c579dc8be1200af",
|
||||
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
|
||||
"git_blob_sha1": "b08904ef82808eac903c7fc7cd1f660f10b49206",
|
||||
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
|
||||
"git_blob_sha1": "b2b918392308b7fa1ccff5d5a2c9ae7226603141",
|
||||
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"git_blob_sha1": "b4b8265f470d9e901b34e5dc767960cc896c9cd8",
|
||||
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
|
||||
"git_blob_sha1": "d2269043797c917412229c2bc2978e316fcfdc14",
|
||||
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
|
||||
"git_blob_sha1": "c9c50fd97d0fad06ad2e8ba05bd8c9211a804b0d",
|
||||
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
|
||||
"git_blob_sha1": "6814dbb64ba5b60aa4a0d568c8f0a0c5aa049001",
|
||||
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
|
||||
"git_blob_sha1": "d603c64b9f633dd678437e1cd6fe517489d1609d",
|
||||
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
|
||||
"git_blob_sha1": "cc49eff2991dcd2717c043e9aee0a2cbc83fe8b3",
|
||||
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
|
||||
"git_blob_sha1": "b30b4cf41f85867ebf125820c4d4e9c84299dc71",
|
||||
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"git_blob_sha1": "86614fdf732b0457d10ac562d722b1b0eec57c1e",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
||||
"git_blob_sha1": "07ae9e389967bdc5f21dda21b707dec2f2ce967a",
|
||||
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
|
||||
"git_blob_sha1": "3426237570145f305bfb1cacfc03782f4aa1ba58",
|
||||
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
|
||||
"git_blob_sha1": "9f6c7ba1b07bce3cb4b5121d1b6d08fa17b34627",
|
||||
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
|
||||
"git_blob_sha1": "f6be8b3b244c4c870d185883da5c8e38833a204b",
|
||||
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
|
||||
"git_blob_sha1": "37567b73738ed4f74321bab9b9cfdcf247cfb64b",
|
||||
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
||||
"git_blob_sha1": "52c33ad3a062aa3d7b394d268672ad8cc7b50a63",
|
||||
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
|
||||
"git_blob_sha1": "2788f24c4c3beedccbdc464e296dfd343c23a572",
|
||||
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
|
||||
"git_blob_sha1": "11f78b6370a4380d523df54e6e4d0dcbf05b642a",
|
||||
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
|
||||
"git_blob_sha1": "91e5b6f95361526ee26200a3b71be12846145bb5",
|
||||
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
|
||||
"git_blob_sha1": "6cd89669d53f91817c21d93e4c9d73c030dc5856",
|
||||
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
|
||||
"git_blob_sha1": "83a3300937243e6b6363df401de265346f5752c7",
|
||||
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
|
||||
"git_blob_sha1": "aa4ebf9554470eaf2a2435738496f673a0f032a9",
|
||||
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
|
||||
"git_blob_sha1": "6ff2078caf00227ee9b764732d9b874e9c94a808",
|
||||
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
|
||||
"git_blob_sha1": "399484350ceb614e703ca70cda7d8677ecc909f6",
|
||||
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
|
||||
"git_blob_sha1": "1733c9f8f4c2353f1e879de5b29eb828d101ad66",
|
||||
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
|
||||
"git_blob_sha1": "459851077ab2d1605123fb1f008b6c5b594e205b",
|
||||
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"git_blob_sha1": "ec985152035a6a5ba0922e2ac15549629c6fe32a",
|
||||
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
|
||||
"git_blob_sha1": "2acba1f8dc5b6d44821b3af6f4e8a3da866686dd",
|
||||
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
|
||||
"git_blob_sha1": "f0516f46778d165004fc5c33290ad6ab247b97f7",
|
||||
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
|
||||
"git_blob_sha1": "0c9a3b2372d2bbc0910a30284ec8ca61cba7fe57",
|
||||
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"git_blob_sha1": "b194a4471ab013dd8300408c5938270e77de391a",
|
||||
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
|
||||
"git_blob_sha1": "5a0ccb4c38e11505fc5cfa85b5fafad24fced8bd",
|
||||
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
|
||||
"git_blob_sha1": "2da435704577258f405dc889158a0e521e4920be",
|
||||
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||||
"git_blob_sha1": "56c34f9ccb7498c3f63940b760aacd5523e4b448",
|
||||
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
|
||||
"git_blob_sha1": "a02e16b02ae8182c5d3afeaee76918fe5927df89",
|
||||
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"git_blob_sha1": "f24014d5271de641b6508288034f26364b756019",
|
||||
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
|
||||
"git_blob_sha1": "5be698e6cee151220bcd6e7f325d165cfc982a10",
|
||||
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
|
||||
"git_blob_sha1": "b025181ea468749edcd80da7c8d13486a655ae1c",
|
||||
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
|
||||
"git_blob_sha1": "cc7530a19e80ecd44ff34593d892b25689a022b0",
|
||||
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
|
||||
"git_blob_sha1": "69ad92e8b195e5b1edc09f2bd6c831fc7be95e66",
|
||||
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
|
||||
"git_blob_sha1": "6341462e83cf0b8063c259e5b07f7453728fdf7c",
|
||||
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
|
||||
"git_blob_sha1": "aa247412d52f607d41ad04b601a57ded80b06c3c",
|
||||
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
|
||||
"git_blob_sha1": "0eee17206dbb02745382b6fefc5c2cc759b401b3",
|
||||
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
|
||||
"git_blob_sha1": "42cc21020468c769b866343fe44e97455e157a15",
|
||||
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
|
||||
"git_blob_sha1": "70658354310362200ac1f255df59a307f51a47d2",
|
||||
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
|
||||
"git_blob_sha1": "e40930fc49a67c958e9ffa5c2679d87c19880bd5",
|
||||
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
|
||||
"git_blob_sha1": "c2bcda91873271e0d967b50a7d099aaff51a7580",
|
||||
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
|
||||
"git_blob_sha1": "e88d92165d777a7bfe27f25aa658c0f0aa0dcf86",
|
||||
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
|
||||
"git_blob_sha1": "3a4f891bc9cf06e47c7dc06c8c69f3b8862e2e64",
|
||||
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
|
||||
"git_blob_sha1": "f1856a8172b27009db54f35f7c7dea42b6695ef5",
|
||||
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
|
||||
"git_blob_sha1": "e0c27abb30c8b334818353a2b34ac96493a62fda",
|
||||
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
|
||||
"git_blob_sha1": "ee87553ab6bd77931dbeee18ea4382bc24abd5f1",
|
||||
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||||
"git_blob_sha1": "fde3b7159aca50756b5f9da424c46211e0177191",
|
||||
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
|
||||
"git_blob_sha1": "cf1c6e578263af16079514b756bda3de6fcdb21c",
|
||||
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||||
"git_blob_sha1": "7236a321ad7d225c5400a167bc20221d36357079",
|
||||
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
|
||||
"git_blob_sha1": "b87c0e18923e9c3ce0965e70476740d731acc4ab",
|
||||
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
|
||||
"git_blob_sha1": "375998176c51f10bb12c2d185389585435bc2437",
|
||||
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"git_blob_sha1": "613de66d7c7c5592d8308cb7b0708066ed5aefdf",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
|
||||
"git_blob_sha1": "cc4c248639fbca3b87425cdc2b421ae2934acd79",
|
||||
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
|
||||
"git_blob_sha1": "60645825360b8eb8699085dc332cfdfea6ab9c90",
|
||||
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
|
||||
"git_blob_sha1": "694e9be1b6882d617f435fcf6c5dc67722ff1f25",
|
||||
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
|
||||
"git_blob_sha1": "849b9d2772bb17d1d59f2aeb532428ba6f36d08a",
|
||||
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
|
||||
"git_blob_sha1": "1def9d0e259c0a46c23285439bb512b1b01e627a",
|
||||
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
|
||||
"git_blob_sha1": "bf96637bceaad71ef6e9ac8f0141b823cd34c0d0",
|
||||
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
|
||||
"git_blob_sha1": "f1134ff4f454bc99181a48a45bb6a799712ca61c",
|
||||
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
|
||||
"git_blob_sha1": "759d14e161e6ff6a0dd6b333ef8b3ba5b64dcb3d",
|
||||
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
|
||||
"git_blob_sha1": "461a35a1d93079d17a1460b8a62229c4ec4eb7b8",
|
||||
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
|
||||
"git_blob_sha1": "3c26c4d3b669dc08ef2f4104926adf74b0efe571",
|
||||
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
|
||||
"git_blob_sha1": "0994df75aa4a089f924c12ea892805a2d96ec631",
|
||||
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
|
||||
"git_blob_sha1": "46930a40f7fa9eab1e0d2f25db5f7a5f115eafac",
|
||||
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
|
||||
"git_blob_sha1": "e75f2156a724b291b7849e4be30932fde9745778",
|
||||
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
|
||||
"git_blob_sha1": "20b2d8ace87f06dc7be0874b07b7795b04e10aed",
|
||||
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
|
||||
"git_blob_sha1": "831784b56d3ff4860af6fc6942f1fc8b68447e89",
|
||||
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
|
||||
"git_blob_sha1": "2d874dd6f98673dc3239fb325cb9da2976fd3985",
|
||||
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
|
||||
"git_blob_sha1": "cb9d142e6921219554ae8f4a648dcb393e9f0517",
|
||||
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
|
||||
"git_blob_sha1": "ed06ffb7ac68779f71d44c099d007aa867d77bac",
|
||||
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
|
||||
"git_blob_sha1": "90352226be5b233f8efcfed44e23473e025b24b3",
|
||||
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
|
||||
"git_blob_sha1": "3c0a16a883ca03974e31361d8adbc0b9c1eeb54b",
|
||||
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
|
||||
"git_blob_sha1": "1ade0467c7499ab273d8ec1f3f6bc083cbdee0f5",
|
||||
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
|
||||
"git_blob_sha1": "fe31f3eea780d1032724e3f72ed3aaadc2d22bfc",
|
||||
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"git_blob_sha1": "df94e399718b6dbeec7e328c7dfafac654760436",
|
||||
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"git_blob_sha1": "4f8f6f4a78ca3fc61618af4e72a04006afaf6419",
|
||||
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"git_blob_sha1": "422ef2867152a38d300803542501ddc2d589579d",
|
||||
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
|
||||
"git_blob_sha1": "db6467bafe95dcf758341cac1121f9a65680aff3",
|
||||
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
|
||||
"git_blob_sha1": "b9e940b687404280ded5444aa55b31a782ab83a3",
|
||||
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
|
||||
"git_blob_sha1": "340694a8595d0e1bf5aaec88a9da11c85260de65",
|
||||
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
|
||||
"git_blob_sha1": "c21024c7897c44750065b418dba839c0adf5342c",
|
||||
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
|
||||
"git_blob_sha1": "53009435a17cbd5a1c5450118e4aefb828af5aa6",
|
||||
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
|
||||
"git_blob_sha1": "50c9bffe71bfd6973e6e5504d68141d200aae729",
|
||||
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"git_blob_sha1": "2e57cda048947b24b58e28f8c2961eef1ab26972",
|
||||
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
|
||||
"git_blob_sha1": "94e412330b5673015d025a522846eea1539e5d27",
|
||||
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
|
||||
"git_blob_sha1": "f59624c3318eff6b258d3e8d845bacd4709baf73",
|
||||
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
|
||||
"git_blob_sha1": "42c6ab51460e438c9e95cb1c18403e6a1f60e78f",
|
||||
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"git_blob_sha1": "eb4797e20baf14c23389b8c14d13b75bf1927f12",
|
||||
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
|
||||
"git_blob_sha1": "fc9be27ba5bd93dc0ea71a8199760afec65072ae",
|
||||
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
|
||||
"git_blob_sha1": "9537162375710b54a22e453f89233dfa06d680c7",
|
||||
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"git_blob_sha1": "a14c8e7c48eaf11ac670bd7c0a3e81be9a4d419f",
|
||||
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"git_blob_sha1": "0dd89138b17824a4155325997f4963437bbc85dc",
|
||||
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
|
||||
"git_blob_sha1": "0c6b22d1c936bef2b80599f932e9f2775f31f351",
|
||||
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
|
||||
"git_blob_sha1": "ebff883553a517f0b4ed35e88b62188023a6abbc",
|
||||
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
|
||||
"git_blob_sha1": "26e0aa010a810cbeb4b1fdae1ea03d18a8c737a1",
|
||||
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
|
||||
"git_blob_sha1": "19306d89e6a52cb5e19591ee27bd3dbe0e7ffd27",
|
||||
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
|
||||
"git_blob_sha1": "76861275797cfdde0c032f73272d213d0085243a",
|
||||
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
|
||||
"git_blob_sha1": "cdf4b6b42615673f59cee385e41a3e17be8745e8",
|
||||
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
|
||||
"git_blob_sha1": "ea464e0a81d3169e3481c3460d14676e47ff9c50",
|
||||
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
|
||||
"git_blob_sha1": "73faa318cb0792cc57926211125e668f4dd651c2",
|
||||
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"git_blob_sha1": "a428cf6bca668783e56029fd69e32ec4291a647f",
|
||||
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
|
||||
"git_blob_sha1": "55b58d7977cb8534f688ad709fa9eaf9bd99cbb1",
|
||||
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
|
||||
"git_blob_sha1": "8f63d27cc854b4e4be45f16b314a8c7d433f2b9d",
|
||||
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
|
||||
"git_blob_sha1": "125e298586f8d3e9f371da3a10b8349eaa965907",
|
||||
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
|
||||
"git_blob_sha1": "0e001d55d2e12919fbbba9d2f12dc49be21704d4",
|
||||
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
|
||||
"git_blob_sha1": "0917678ae4620cd49f8badef68390d0353230977",
|
||||
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
|
||||
"git_blob_sha1": "9861bafbc6f93a1cc971c0ed570cb74b130861d7",
|
||||
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
|
||||
"git_blob_sha1": "bb27a0fc9246591172cf0eae81b0b7f5aa3ec47b",
|
||||
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
|
||||
"git_blob_sha1": "ef6ad57319a7c46aefefbd6663b11310d20421c9",
|
||||
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
|
||||
"git_blob_sha1": "82a1d62ec433df151d8fc9fdd9b09c378b1d1f04",
|
||||
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
|
||||
"git_blob_sha1": "ed70823b16254f261d91561ae37c8ed34a74c35c",
|
||||
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "9de314befcd8b48fe020dcf33225bd60b176577568134c343dc8df6ed9900817",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 100
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "3ebccf449d1d8df126f145afb7b34df3bc72cba4c6c255eccac304705ca34a16",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 100
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 100
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
1 file left unchanged
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json": "ab04098d53cd5b346bb20a721df014e33a0294f1e499aa80120cfe2a7cc1599b"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"port": 8247,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
},
|
||||
{
|
||||
"port": 5173,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"overview": "本图为图像编辑角色参考卡布局:单张参考图和中文布局进入可选文本生成链,生成文本直接覆盖14缓存/24边界宿主的旧prompt,PreviewAny另作预览。子图双latent经过开关后进25步采样,双Cache声明版本不同,正式保存后与原图比较。四视图仅单幅布局意图,不保证四文件、自动拆图、一致性或mask。70标量、三完整注释和17709码点混合换行系统原样保留。准确core0.36.0的编码/Cache两类未核准,宿主恢复、模型兼容与实际效果未核,尚未实跑。",
|
||||
"steps": [
|
||||
"阅读1:本图是图像编辑角色参考卡的单幅布局意图:左特写+右全身正面/侧面/背面。标题不保证四文件、四次生成、自动拆图、三维或一致性;布局文字中的椭圆遮脸不是mask物理链。486完整19码点中文经738覆盖485 StringConcatenate独立core0.25.0的旧20字符photorealistic style;另399码点布局和字面/n分隔符原样,不改成真实LF或反斜杠n。准确拼接是string_a+delimiter+string_b,只静态说明,不构造完整prompt。",
|
||||
"阅读2:470 LoadImage独立core0.36.0保存1.png/image。IMAGE704给459第一参考、734给478视觉输入、730给476比较A;MASK出口未接,不造遮罩或第二图。准确本版有文件路径/hash、EXIF/帧/模式条件、alpha反转和无alpha64×64占位等,输出IMAGE/MASK;实际文件、alpha、帧和目标目录未知,不打开图片、访问Input Assets或请求资源链接。宿主image_2..10均未接,旧prompt中的image1/image2牛仔衬衫只是旧缓存,不能作当前用户要求。",
|
||||
"阅读3:480 CLIPLoader和478 TextGenerate各独立core0.37.4。480保存完整Qwen-Image目录/qwen3.5_qwen_image_2.1_pe_i2i.int8_convrot、stable_diffusion/default,经732给478。481系统733到system_prompt,485文本739到源user_prompt口,470图734到image;准确TextGenerate参数名为prompt,与源user_prompt口不同,不据位置认证映射/恢复。CLIP准确枚举/设备按本版,只保存模型引用不认证安装、兼容或许可适用。",
|
||||
"阅读4:481完整系统17709码点,真实LF205、字面反斜杠+n恰1、尾LF有;UTF8 SHA256 e378fea686a1431581ba4c654d332ae96adad633f144ae738ec8ce9c4fd66439。真实LF与那一处字面序列分开,不概括为全真实或全字面换行;原文、空白和尾LF全部保存,系统/指南/链接/示例仅源数据,不执行或下载资产。",
|
||||
"阅读5:478十三位置:prompt空、max_length4096、sampling_mode on、temperature0.7/top_k64/top_p0.95/min_p0.05/repetition_penalty1.05/seed0/presence0、thinking false、use_default_template true、mtp auto。准确core0.37.4默认和范围逐动态字段分列;use_default_template true时系统参数按tokenize模板条件传入,不能沿用前图false时忽略的结论;thinking/mtp依模型支持,生成、tokenize、加载等只静态说明,不执行LLM/SDK或保证无副作用。",
|
||||
"阅读6:478.STRING736直接覆盖459旧prompt,另737到484 PreviewAny;本图PreviewAny不是宿主prompt的中转链。484准确core0.37.4保存真实widgets=[],与内部457缺widgets分开;本版PreviewAny设置并恢复torch打印选项,字符串/数值/JSON/str按条件转文本,返回ui.text和STRING result,不当无副作用任意类型透传。",
|
||||
"阅读7:459宿主定义bc1c967a-7f6a-4be9-a372-dad16e4f28e3,只有14缓存却有24输入/边界。definition.widgets=[]且无proxyWidgets,不造promoted映射或给十图边界编造保存控件。14缓存为resolution JSON int0、完整旧中文prompt、negative空、cfg int1、steps25、switch/custom_size true、1024/1024、euler/simple、seed473747024882653、UNET/CLIP/VAE引用。prompt736、width670、height671、image1的704分别于缓存。UNET宿主bf16目录与内部int8裸名、CLIP宿主int8与内部bf16裸名不归一化、不认证兼容。",
|
||||
"阅读8:13 ResolutionSelector独立core0.36.0保存4:3 (Standard)、JSON float1.5 MP、int32。准确默认MP1.0、multiple8,MP基数1024×1024,比例sqrt并round到最近倍数,仅静态不试算。670/671覆盖宿主两1024,再660/661到456 EmptyLatentImage两1024;四尺寸保存缓存分列。464作者custom_size关闭跟图比例、resolution0保留经32取整等建议与当前switch true分列,不当本次实际尺寸/效果。",
|
||||
"阅读9:474 TextEncodeQwenImage21声明core0.36.0,保存prompt空、negative空、resolution1024;宿主resolution0经725到474.resolution,prompt726/negative727、CLIP453经721、VAE454经720。准确v0.36.0 nodes_qwen.py及QwenExtension列表未核准该准确类,默认/单位/0特殊条件/参考缩放算法及返回语义仍未知,不借0.37.4/0.38.0同名类或普通Edit节点补实。作者建议和源端口名字不是准确schema;目标安装、动态恢复未核,不能按resolution0保证保留原尺寸。",
|
||||
"阅读10:十图边界按原件保留:image1的710到474 slot1;image10的719到slot7,image2..9的711..718到slots9..16。边界原拼images.image_5_1、动态口名/顺序与输入类型另列,不补线、不归一化或认证恢复。只有宿主image1接根470,其余九口未接;参考图条数不等于控件数量或当前实际图像数。",
|
||||
"阅读11:474正负722/723到458;其latent724进468第0口,456 EmptyLatent的684进468第1口,468输出682才是458真正latent入口。custom_size边界703给468.switch,内部false与宿主true分列。468准确core0.36.0 SwitchNode注册ComfySwitchNode,源off/on与准确on_false/on_true命名差异保留;lazy只请求选中缺失支路,execute返回选中或None。仅物理两latent路径和静态条件,不模拟选择或保证关闭无加载/清理副作用。",
|
||||
"阅读12:内部451 UNET经745给490 Cache独立core0.37.4,再744给469 Cache独立core0.36.0,再689到458。两处auto/default分别保存:490准确QwenExtension注册、schema auto/gpu/cpu/off及default/int8/int4、clone patch transformer_options缓存及预算回退仅本版静态;469准确0.36.0选定文件/注册表未核准该类,默认/单位/设备dtype/缓存算法和副作用未知,不借490实现传播或把串联当效果叠加。",
|
||||
"阅读13:453 CLIP/454 VAE/456 EmptyLatent/458 KSampler/457 VAEDecode各独立core0.36.0;宿主0.36.0不传播到490。458保存seed0/randomize、25步、cfg JSON int1、euler/simple、denoise JSON int1,宿主seed另经667覆盖,种子辅助与后端seed分开,不执行随机或保证复现。458→457的651、454→457的649,解码650到定义IMAGE,经459→461正式保存672。",
|
||||
"阅读14:461 SaveImageAdvanced独立core0.36.0保存image/Qwen_image_2.1/png/8-bit/sRGB。准确PNG分支bit_depth8/16-bit默认8-bit、input_color_space仅sRGB默认sRGB,按本版格式分支/hidden metadata/disable_metadata条件处理,返回IO.NodeOutput(images,ui.images);本版也声明EXR/AVIF,按准确源码保留,不套0.38新增格式或认证实际落盘、色深和色彩。输出729给476比较B,A直接470的730,连线不证明已生成配对产物。",
|
||||
"阅读15:476 GH_ImageVideoComparer准确Goohai61425,与前图4985分开。准确注册GHImageVideoComparer,RETURN_TYPES=()、OUTPUT_NODE true、IS_CHANGED NaN,仅UI gh_compare;双None保留预览,双有须同图像/视频类型,按条件读文件/写temp/处理预览。原保存空串、A/B unknown、slide/position0.013002510179628992/speed1/audio none/sync true完整properties只保存,不请求媒体或当当前结果,不借后版方法填证。",
|
||||
"阅读16:491忽略多组孤海准确Goohai537382,mode0。准确IgnoreGroupsGuHai后端required={}、RETURN_TYPES=()、OUTPUT_NODE true、execute返回();空串是前端保存控件不是后端入参。准确nodes pass.js与完整properties的filter提示词增强、mode default、active null、active_set两标题、disable false/sort/颜色/ui_scale分列;前端按条件设置/恢复组内mode,不执行组控制,不从保存态保证已恢复或无副作用。",
|
||||
"阅读17:三标准注释完整保留原拼setps:477 Note13码点/LF0/无尾LF,463 MarkdownNote1917码点/LF45/尾LF有,464 Note255码点/LF7/尾LF有,三者字面反斜杠n均0。作者25-50步建议与当前25保存值分列;文本/资源链接不是安装、像素、许可或效果证明,不执行。frontend准确1.53.6与同树vendored LiteGraph/pnpm锁依赖逐本图绑定,原获取和本图复核时间分列。",
|
||||
"阅读18:FAQ:根15节点13边、内部10节点37含边界记录,25节点全mode0,70标量=根46/内部24。没有WAS/VOSR或mode4支路。旧99块5331位置/165注释与其它155对象冻结,累计100参考5401位置/168注释。原路径/原SHA/全图/代码拥有pin失败关闭,调用方重算不扩信任。准确0.36.0两Qwen类缺口、目标设备/安装/模型素材许可适用/UE宿主恢复/目录history和真实效果未知;155最终定稿/新增转换/实跑均0,当前无需材料窗口,不合并部署。"
|
||||
],
|
||||
"notes": {
|
||||
"477": "作者步数建议原拼setps保留,与当前25步保存分列,不保证效果。",
|
||||
"463": "作者模型说明/资源链接/步骤全文保留,非安装或许可证明,不访问Input Assets。",
|
||||
"464": "作者比例/尺寸/resolution0与custom_size建议;当前custom_size true、准确0.36.0编码类未核准,不据此认证实际尺寸。"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
"""Offline batch evidence tooling; no upstream execution."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "a2d2457da5ddd2f36ddfb323c238de7e2a82c630"
|
||||
RESOURCE = "calliope-backend/src/calliope/" + "co" + "mfyui/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"
|
||||
)
|
||||
module = REPO / ("calliope-backend/src/calliope/" + "co" + "mfyui/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 + 41]) + "\n" for i in range(0, len(path), 41))
|
||||
)
|
||||
+ " ): "
|
||||
+ repr(digest)
|
||||
+ ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print("PASS one new definition; other 155 reviews and old 99 blocks unchanged")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,357 @@
|
||||
"""Offline batch evidence tooling; no upstream execution."""
|
||||
|
||||
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
|
||||
|
||||
BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
|
||||
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 bui"
|
||||
+ "ld --project calliope-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) == 99
|
||||
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())) == 5331
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
write(
|
||||
"review-delta.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"changed_paths": PATHS,
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 99,
|
||||
"old_saved": 5331,
|
||||
"old_notes": 165,
|
||||
"new_saved": 70,
|
||||
"new_notes": 3,
|
||||
"total_documents": 100,
|
||||
"total_saved": 5401,
|
||||
"total_notes": 168,
|
||||
},
|
||||
)
|
||||
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/mani" + "fe" + "st.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" in json.loads(before[p]["doc_json"])
|
||||
if BASE.startswith("3c307e0")
|
||||
else "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 descripti" + "on" + "=? 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({"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")
|
||||
generic = [
|
||||
f"打开源工作流 {p},逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。",
|
||||
]
|
||||
offset = old_doc["steps"].index(generic[0])
|
||||
assert old_doc["steps"][offset : offset + 3] == generic
|
||||
assert (
|
||||
without["steps"]
|
||||
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
|
||||
)
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
old_doc.pop("fixed_version", None)
|
||||
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",
|
||||
{
|
||||
"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": 70,
|
||||
"new_notes": 3,
|
||||
"old_saved": 5331,
|
||||
"old_notes": 165,
|
||||
"overviews": 100,
|
||||
"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")
|
||||
old_reviews[p].pop("fixed_version_document", None)
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(
|
||||
REPO / ("docs/hel-892/h3-document-evide" + "nc" + "e/unchanged-boundaries.json")
|
||||
).read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ ["calliope-backend/src/calliope/co" + "mfyui/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({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
|
||||
ui = "calliope-web/src/lib/component" + "s/" + "WorkflowDocumentDrawer.svelte"
|
||||
drawer_bytes = (REPO / ui).read_bytes()
|
||||
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
|
||||
write(
|
||||
"boundaries.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": kept,
|
||||
"originals": 156,
|
||||
"old_blocks_unchanged": 99,
|
||||
"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("\x00")
|
||||
.split("\x00")
|
||||
)
|
||||
frozen = [
|
||||
p
|
||||
for p in tracked
|
||||
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
|
||||
or (
|
||||
p.startswith("calliope-backend/src/calliope/" + "co" + "mfyui/")
|
||||
and p
|
||||
not in [RESOURCE, "calliope-backend/src/calliope/" + "co" + "mfyui/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",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": [
|
||||
{"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/" + "co" + "mfyui") / 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(
|
||||
{
|
||||
"file": name,
|
||||
"sha256": hashlib.sha256(raw).hexdigest(),
|
||||
"wheel": True,
|
||||
"sdist": True,
|
||||
"definitions": 100,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
|
||||
print("fresh155, 1217/3660/294, 100 definitions, frozen boundaries, wheel/sdist")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS exact sources,70 positional/named values,3 notes,50 edge/boundary records
|
||||
PASS actual a2d2457da5ddd2f36ddfb323c238de7e2a82c630 upgrade1/skip154, repeat155, rollback1, edits1/29cols
|
||||
fresh155, 1217/3660/294, 100 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,134 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# Qwen21图像编辑角色表四视图固定参考中文说明",
|
||||
"",
|
||||
"新增70标量位置(根46/内部24)及三完整注释。旧99块5331位置/165注释冻结。",
|
||||
"总100图5401位置/168源注释仅参考,155定稿0/实跑0/新增转换0。",
|
||||
"",
|
||||
"local_file以docs/hel-892/qwen21-editviews-document-evidence为基准。",
|
||||
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
|
||||
"",
|
||||
]
|
||||
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["named_pointer"] + "`;作用域:" + f["scope"],
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
(
|
||||
f"- [{k}] {e['claim']};"
|
||||
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
)
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
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"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(n["text"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
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']};"
|
||||
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index.append(dict(document=b["source_path"], **e))
|
||||
(OUT.parent / "Qwen21图像编辑角色表四视图固定参考中文说明.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()
|
||||
@@ -0,0 +1,47 @@
|
||||
"""Compare deterministic definitions and rendered artifacts."""
|
||||
|
||||
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 / "Qwen21图像编辑角色表四视图固定参考中文说明.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(
|
||||
{
|
||||
"definitions": 100,
|
||||
"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"
|
||||
+ " a"
|
||||
+ ("nd rendered artifacts: zero di" + "ff")
|
||||
+ "erence"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1 @@
|
||||
PASS deterministic definitions and rendered artifacts: zero difference
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"definitions": 100,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "ef47d8441da41dfce564db230d721ede8143d689f796f386982453521eca1aa7",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "a8531d40efa84bc374afbc795de6511bd349f1d559667fcaa01934914299697c",
|
||||
"Qwen21图像编辑角色表四视图固定参考中文说明.md": "a9f423db687ff98273d651f3ce1725d8ea89ca4228ddcfbf6bf3d8ebc9db4d4c"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "a2d2457da5ddd2f36ddfb323c238de7e2a82c630",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 99,
|
||||
"old_saved": 5331,
|
||||
"old_notes": 165,
|
||||
"new_saved": 70,
|
||||
"new_notes": 3,
|
||||
"total_documents": 100,
|
||||
"total_saved": 5401,
|
||||
"total_notes": 168
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
All checks passed!
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"command": [
|
||||
"git",
|
||||
"diff",
|
||||
"--cached",
|
||||
"--check",
|
||||
"--",
|
||||
".",
|
||||
":(exclude)docs/hel-892/qwen21-editviews-reference",
|
||||
":(exclude)docs/hel-892/qwen21-editviews-document-evidence/*.txt"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
|
||||
"new_png_or_pyc": 0
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"total_screenshots": 59,
|
||||
"viewed": [
|
||||
{
|
||||
"file": "1440-66-default.png",
|
||||
"sha256": "57b7137d8765ac9e147c5431be9e9e763c1c23549c40ef09e30a8771779606d1"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-boundary-chain.png",
|
||||
"sha256": "a65533d47c13ec04b657e085368f1b908bc850d4470caa49e42653d99c4a339b"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-481-value.png",
|
||||
"sha256": "e23311f500cb33cb3eca8c16c33ac6ac5cbffbdc9ade4b97c7792e23dfede3dd"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-459:469-device.png",
|
||||
"sha256": "5e00d18cbe33ad330fa0fa09f88a888cd2298d4b2c2f2734f38e19b0822bdf1e"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-459:490-device.png",
|
||||
"sha256": "5c9515a77102357f17a0e7557b4939385494c3be27a1520e2d084a12e020a6cd"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-478-use_default_template.png",
|
||||
"sha256": "458e88ecb78d1e91a0bced6088616861328f80c634a038862009bfdc6cc41bc4"
|
||||
},
|
||||
{
|
||||
"file": "1440-66-485-delimiter.png",
|
||||
"sha256": "f18de61ad7b0f52bb0bb18f29653bd223ee56d9446375e755a2fc6c9bf309b2e"
|
||||
},
|
||||
{
|
||||
"file": "390-66-default.png",
|
||||
"sha256": "770fea5415b3f034a85dee2235833dacedb467eae0b889b1236183f65235b9c1"
|
||||
},
|
||||
{
|
||||
"file": "390-66-477-note.png",
|
||||
"sha256": "12fd9851977dba8d73d8d8ba4bd00504ac9064593eb222aa86ba0b34b22cce77"
|
||||
},
|
||||
{
|
||||
"file": "390-66-463-note.png",
|
||||
"sha256": "3020bf76202655942784e9f9a3df29358ad76f730bafecb369774b1f5612a7b9"
|
||||
},
|
||||
{
|
||||
"file": "390-66-464-note.png",
|
||||
"sha256": "ebd0e3e3fbf00c4472436526632ae4f8e2ab4905584ef5d6d54d9e654e868748"
|
||||
},
|
||||
{
|
||||
"file": "390-66-459:474-resolution.png",
|
||||
"sha256": "aade60c0549fbb84d3ec412501a49288a0176b5af6c1b55df1e8ed895fe9eb42"
|
||||
},
|
||||
{
|
||||
"file": "390-66-459:468-switch.png",
|
||||
"sha256": "bbda67adf95dd6c097e11c6ba3b1fcc54088db88ae96bf6352b46060e42a4a8a"
|
||||
},
|
||||
{
|
||||
"file": "390-66-461-format.bit_depth.png",
|
||||
"sha256": "bba481cfb02f74bfa59b0d1582369ff10120c339d96dc70c3fde3e46c8f5158a"
|
||||
}
|
||||
],
|
||||
"method": "实际调用view_image逐张查看最终14张截图",
|
||||
"result": "1440/390默认用途、关闭按钮、双Cache独立版本与编码类未知、17709系统、模板true、字面/n、三注释、双latent开关和PNG分支显示通过;长文全文/空白由DOM精确断言核对"
|
||||
}
|
||||
@@ -0,0 +1,345 @@
|
||||
INFO: Started server process [1490055]
|
||||
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:41064 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41094 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41078 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41112 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41096 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41116 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41128 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41140 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45910 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45912 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51954 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51964 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51970 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51982 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51992 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51994 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52004 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52018 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52026 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52036 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52050 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52052 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52064 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52066 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52076 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52080 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36884 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36886 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36888 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:36890 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36900 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36910 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36916 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:36920 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36932 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36948 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36962 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36974 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36978 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36984 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36986 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36990 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:36994 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37002 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37004 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37018 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37022 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37028 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37036 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37050 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48712 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48728 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48740 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48748 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48754 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48768 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48780 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48784 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48792 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48802 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48816 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48818 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48828 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48834 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48838 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48850 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48856 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48862 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48876 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48882 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48892 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48896 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48910 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48922 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48934 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48940 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48948 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41770 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41784 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41788 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41794 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41798 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41814 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41826 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41832 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41848 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41852 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41868 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41878 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41892 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41902 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41918 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41920 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41922 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41930 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41936 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41950 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41964 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41968 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41978 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41980 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41994 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41998 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42010 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42016 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58482 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58498 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58506 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58518 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58530 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58536 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58548 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58560 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58576 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58592 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58598 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58612 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58624 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58638 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58642 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58658 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:58668 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56000 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56016 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44670 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44680 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44696 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44710 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44720 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44734 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44746 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44760 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44766 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44778 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44790 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44794 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44806 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44820 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44828 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44844 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44846 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53180 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53188 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53194 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53206 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53218 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53226 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53240 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53254 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53266 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53268 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53282 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53288 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53304 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53312 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53322 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53332 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53342 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53354 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53362 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53378 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53394 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53410 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53420 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53426 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46594 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46610 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46618 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46628 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46636 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46652 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46668 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46672 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46680 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46692 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46704 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46720 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46724 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46740 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46744 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46754 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46758 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46770 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46774 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46790 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46796 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46810 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46826 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46842 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46848 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46862 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46864 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58542 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58550 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58556 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58572 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58580 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58596 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58604 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:58614 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58618 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58634 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58650 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:58664 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58676 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58686 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58694 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58706 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58710 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58718 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58722 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58738 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58752 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58764 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58770 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58774 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58784 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58792 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:58808 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51922 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51936 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51952 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51968 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51970 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51984 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51986 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51998 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:52000 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52006 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52016 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52022 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52038 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52050 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52064 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52078 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52094 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52108 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [1490055]
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
VITE v6.4.3 ready in 288 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,47 @@
|
||||
本轮实际获取/复用脚本及原日志;只本地编排,不执行上游。另一个cache候选只取准确Git必要文本,身份/SHA/许可/时间见core0360-bounded-investigation.json;registry候选404原响应另存。
|
||||
|
||||
--- setup-qwen21-editviews-sources.py ---
|
||||
from pathlib import Path
|
||||
import json,hashlib,os,datetime,subprocess,concurrent.futures
|
||||
R=Path.cwd();REF=R/'docs/hel-892/qwen21-editviews-reference';OUT=R/'docs/hel-892/qwen21-editviews-document-evidence';REF.mkdir(exist_ok=True);OUT.mkdir(exist_ok=True);now=datetime.datetime.now(datetime.timezone.utc).isoformat();rows=[]
|
||||
def reuse(key,newkey=None):
|
||||
p=R/'docs/hel-892/qwen21-views-reference/sources.json'
|
||||
for e in json.loads(p.read_bytes())['sources']:
|
||||
if e['id']!=key:continue
|
||||
e=dict(e,id=newkey or key,reverified_at=now,applicability='本图逐节点准确版本静态参考;原获取时间保留,不认证目标安装/执行/宿主恢复')
|
||||
for k in ['local_file','license_file','identity_root']:
|
||||
if k in e and not e[k].startswith('未知'):e[k]=os.path.relpath((p.parent/e[k]).resolve(),REF)
|
||||
assert hashlib.sha256((REF/e['local_file']).read_bytes()).hexdigest()==e['sha256'];rows.append(e)
|
||||
for key in ['core0360','core0370','core0250','frontend']:reuse(key)
|
||||
reuse('ghgroup','ghcompare')
|
||||
s=Path('.local-evidence/setup-anima.py').read_text();s=s[s.index('def fetch(spec):'):s.index('with concurrent.futures.ThreadPoolExecutor')];s=s.replace('anima-','qwen21-editviews-').replace("['git','-C',str(cache),*args]","['git','-c','core.quotepath=false','-C',str(cache),*args]");exec(s)
|
||||
specs=[('core0374','Comfy-Org/ComfyUI','v0.37.4',['nodes.py','comfy_extras/nodes_textgen.py','comfy_extras/nodes_primitive.py','comfy_extras/nodes_preview_any.py','comfy_extras/nodes_qwen.py','comfy/ldm/qwen_image21/model.py','comfy_api/latest/_io.py','comfy_api/latest/_io_public.py','comfy_api/latest/__init__.py','LICENSE','requirements.txt']),('ghgroup','goohai/Goohaitools-comfyui','537382d8198aa9bd03a614587fac1f239f71ba06',['__init__.py','nodes/忽略多组.py','web/js/nodes pass.js','extension.json','requirements.txt','LICENSE'])]
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=2) as pool:
|
||||
for result in pool.map(fetch,specs):rows+=result
|
||||
(REF/'sources.json').write_text(json.dumps(dict(sources=rows),ensure_ascii=False,indent=2)+'\n')
|
||||
def add(key,files,cache_name):
|
||||
e=next(x for x in rows if x['id']==key);tree=json.loads((REF/e['identity_root']/(e['identity_key']+'-tree.json')).read_bytes());cache=R/('.local-evidence/'+cache_name)
|
||||
for f in files:
|
||||
if any(x['id']==key and x['file']==f for x in rows):continue
|
||||
ent=next((x for x in tree['tree'] if x['path']==f),None)
|
||||
if not ent:print('MISSING',key,f,flush=True);continue
|
||||
raw=subprocess.check_output(['git','-C',str(cache),'show',e['commit']+':'+f],timeout=60);assert len(raw)<3000000;name=key+'__'+f.replace('/','__');(REF/name).write_bytes(raw);rows.append(dict(e,file=f,local_file=name,sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=ent['sha'],acquisition_time=now,reverified_at=now,url=f"https://raw.githubusercontent.com/{e['repo']}/{e['commit']}/{f}"));print('ADD',key,f,len(raw),flush=True)
|
||||
add('core0360',['nodes.py','comfy_extras/nodes_qwen.py','comfy_extras/nodes_images.py','comfy_extras/nodes_logic.py','comfy/ldm/qwen_image21/model.py','comfy_api/latest/_io.py','comfy_api/latest/_io_public.py','comfy_api/latest/__init__.py','folder_paths.py'],'qwen21-views-core0360-git')
|
||||
add('ghcompare',['nodes/图像对比 视频对比.py','web/js/gh_image_video_comparer.js'],'qwen21-views-ghgroup-git')
|
||||
(REF/'sources.json').write_text(json.dumps(dict(sources=rows),ensure_ascii=False,indent=2)+'\n');print('ROWS',len(rows),flush=True)
|
||||
|
||||
--- 实际日志 ---
|
||||
FETCH ghgroup 537382d8198aa9bd03a614587fac1f239f71ba06 6
|
||||
FETCH core0374 8ff6dc384ba5c410266b40e137799e049459d4f2 11
|
||||
ADD core0360 nodes.py 108668
|
||||
ADD core0360 comfy_extras/nodes_qwen.py 6020
|
||||
ADD core0360 comfy_extras/nodes_images.py 79479
|
||||
ADD core0360 comfy_extras/nodes_logic.py 12601
|
||||
MISSING core0360 comfy/ldm/qwen_image21/model.py
|
||||
ADD core0360 comfy_api/latest/_io.py 97948
|
||||
ADD core0360 comfy_api/latest/_io_public.py 33
|
||||
ADD core0360 comfy_api/latest/__init__.py 6356
|
||||
ADD core0360 folder_paths.py 23156
|
||||
ADD ghcompare nodes/图像对比 视频对比.py 14748
|
||||
ADD ghcompare web/js/gh_image_video_comparer.js 118714
|
||||
ROWS 57
|
||||
@@ -0,0 +1,393 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_extras/nodes_resolution.py",
|
||||
"sha256": "3fe5c3f9aeceed343725a91c6feaa13377b5ebad2c95fd633e3806d69d10bcc8",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "245cca752fd50c0d8af244d987a3fa3c363c0c48174f225293942923c755c79d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0370",
|
||||
"file": "nodes.py",
|
||||
"sha256": "1af4a41e1d844550a836cf1d1b00fad85d3d0aefaf435743431a8f1598643e22",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0370",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0370",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "b2e58dfb5cbe868ec291ce02d2bc8fd57914656bb5d6c41d6b659bd13a14344d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0370",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"sha256": "329963dd20fbf8985539b7b990780291f4b82ee9cfd42b96b571288b77eaa47a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_string.py",
|
||||
"sha256": "3a335dab4b6fb09c9de0eba1e6f14de49e998726c58da7e350b56f9c5e878c95",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"sha256": "f9013708017164c2a0f1af0bdb9650a37f28c5560034446c35d91b2a89a999b0",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "package.json",
|
||||
"sha256": "eae31028c9875fe5ab2ea926a2fa8bf09f5b9509c62c1dfdb7c74303f86e5bdc",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"sha256": "932a143a1a48c93aa3bee43b6dc3f932cd7f9a946802530650b4acdd41d36bd5",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"sha256": "ba650ea75b14affbdd1fbf4d821679d29dde59bd09986666a4734c8a160f7027",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/extensions/core/widgetInputs.ts",
|
||||
"sha256": "f6b3d33b9ffdf4f68136ee0f72d03dabf4affa3292721d1f221b47de792e0daf",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||||
"sha256": "0c0ca487822a9f86324925c2fb4ea59c6c032ad5d042a83ac367cb15196454fe",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/Subgraph.ts",
|
||||
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"sha256": "29f2da27396bcc426180d819549f654278d65de973ade651d57c4905e319fb9c",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LLink.ts",
|
||||
"sha256": "562694d5bccb5682222c500a7e7069501eeb94e69eeb1b9a534d1e511902ef57",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "01f7e784e32acef112a4b91d94f33253d7a898acc4796c8ab014500c1cd8d682",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/widgets/BooleanWidget.ts",
|
||||
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/widgets/NumberWidget.ts",
|
||||
"sha256": "26e36aad66d293f1c566222fd1bf1cac62762bc1a5008f925582d02a33a59779",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"sha256": "9401949c3d5616fb110fac44701d8f27b79656f699e9a1a70dc5ea718c65357a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "__init__.py",
|
||||
"sha256": "d1cdc5dce665f9f52aaab69a1742cacabaf2d9617a380b517f8387b4b662d164",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "6d441fe1327fa35e31eee99e8bcaa478d59ae21472dab999374cb4462fbb594d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "extension.json",
|
||||
"sha256": "720bd511ce3d0a2ada06eefdbea34689deaf7385f5dd60631628efbd4b14b788",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "nodes/忽略多组.py",
|
||||
"sha256": "4350ab38acf4b1e555dbeaf27afe5427223d91b5e9ac4c7a2d4ce25c2931f450",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "web/js/colorWidget.js",
|
||||
"sha256": "7e1e02baa9ab773bdbb9247925fec87a07b5309ce1ef35dfdfdec15c5b2eef26",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "web/js/nodes pass.js",
|
||||
"sha256": "2466edb72013fc93e1685e430042c79bf089b38237bbfab65199d4903e7a3f5f",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "nodes.py",
|
||||
"sha256": "1af4a41e1d844550a836cf1d1b00fad85d3d0aefaf435743431a8f1598643e22",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_extras/nodes_textgen.py",
|
||||
"sha256": "ce41b40babe829cf8773aee3c3e43079f91205db921f6d964685e5fb0e5d7f54",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"sha256": "329963dd20fbf8985539b7b990780291f4b82ee9cfd42b96b571288b77eaa47a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_extras/nodes_preview_any.py",
|
||||
"sha256": "48cffa3b2ddd08c311af609642da8703abc9bac9e624c400c3dc41f6edcea930",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_extras/nodes_qwen.py",
|
||||
"sha256": "54ce02aa9e167c0b497ce026ac6b558f539427d2d1ed4fc1fcc2ec8e6bc529da",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy/ldm/qwen_image21/model.py",
|
||||
"sha256": "81a43c55e2292889d8b77d79cf4cb56fd3dfb717baf5e40f1d31f7700100c039",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "comfy_api/latest/__init__.py",
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0374",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "6dcb36b7fed5a9ad2f3380571f223951a48dde637a278380e9a601ee75e41856",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "__init__.py",
|
||||
"sha256": "d1cdc5dce665f9f52aaab69a1742cacabaf2d9617a380b517f8387b4b662d164",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "nodes/忽略多组.py",
|
||||
"sha256": "4350ab38acf4b1e555dbeaf27afe5427223d91b5e9ac4c7a2d4ce25c2931f450",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "web/js/nodes pass.js",
|
||||
"sha256": "2466edb72013fc93e1685e430042c79bf089b38237bbfab65199d4903e7a3f5f",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "extension.json",
|
||||
"sha256": "720bd511ce3d0a2ada06eefdbea34689deaf7385f5dd60631628efbd4b14b788",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "6d441fe1327fa35e31eee99e8bcaa478d59ae21472dab999374cb4462fbb594d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghgroup",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "nodes.py",
|
||||
"sha256": "34a483b59eed6bc407e74cd860cba7cae542f494fdff29bb15138369f78387a7",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_extras/nodes_qwen.py",
|
||||
"sha256": "b8d18d9f897c4bd5a4b2651b30643bed277f1808e033c9c376dc21025fed00a5",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_extras/nodes_images.py",
|
||||
"sha256": "5bc0a44ee22469506d5c86fccde5f4973d156b2356e0ced6a779d1299b0f1acf",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_extras/nodes_logic.py",
|
||||
"sha256": "6a146d3a814e37c65c9e749c2fde6d8f0ea8c1fc3f215cb249009e87303908bf",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "comfy_api/latest/__init__.py",
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0360",
|
||||
"file": "folder_paths.py",
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "nodes/图像对比 视频对比.py",
|
||||
"sha256": "9dbfbf10e29dda4ee2c2a26b12bc3939f632471f1594cac81e7b15ddc8a5f660",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "ghcompare",
|
||||
"file": "web/js/gh_image_video_comparer.js",
|
||||
"sha256": "32b23af4f705d5c9e898ca9a69cdf0213ad1a631372abfaa01085b8b111ce3b5",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
}
|
||||
],
|
||||
"positions": 70,
|
||||
"standard_notes": 3,
|
||||
"scopes": [
|
||||
{
|
||||
"pointer": "/",
|
||||
"nodes": 15,
|
||||
"edges": 13,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 15
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0",
|
||||
"nodes": 10,
|
||||
"edges": 37,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 9
|
||||
}
|
||||
],
|
||||
"source_edges_verified": 50,
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -0,0 +1,467 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-commit.txt",
|
||||
"sha256": "b79eb27b792315af9b5a80d7e435c6bb1f3e8670da9e63c4c7a461a7e5c90da6",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tag.json",
|
||||
"sha256": "f9bb1a77f16fb49ee4c0a891355985f2e236fd5ae4cdf21da8f89afcc8f7d612",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tag.txt",
|
||||
"sha256": "b79eb27b792315af9b5a80d7e435c6bb1f3e8670da9e63c4c7a461a7e5c90da6",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tree.json",
|
||||
"sha256": "8537e892baf6d8730d07386184e319238669426a796add416e43a657289d3f66",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_api__latest___io.py",
|
||||
"sha256": "f9013708017164c2a0f1af0bdb9650a37f28c5560034446c35d91b2a89a999b0",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_string.py",
|
||||
"sha256": "3a335dab4b6fb09c9de0eba1e6f14de49e998726c58da7e350b56f9c5e878c95",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360-bounded-investigation.json",
|
||||
"sha256": "84834012571f38b5793cc0980c5ddbe76e2ee1e7afbad621c70df49cef8ff7a0",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest____init__.py",
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest___io.py",
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_api__latest___io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_easycache.py",
|
||||
"sha256": "746fd299918efff7f2abe919fb8a0c20abd384be1e28a0f122c0d321a69ce174",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_images.py",
|
||||
"sha256": "5bc0a44ee22469506d5c86fccde5f4973d156b2356e0ced6a779d1299b0f1acf",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_logic.py",
|
||||
"sha256": "6a146d3a814e37c65c9e749c2fde6d8f0ea8c1fc3f215cb249009e87303908bf",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__comfy_extras__nodes_qwen.py",
|
||||
"sha256": "b8d18d9f897c4bd5a4b2651b30643bed277f1808e033c9c376dc21025fed00a5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__folder_paths.py",
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0360__nodes.py",
|
||||
"sha256": "34a483b59eed6bc407e74cd860cba7cae542f494fdff29bb15138369f78387a7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-commit.txt",
|
||||
"sha256": "0616bb30b0dd5d7ebc78c7db3d5b2b42bbd1ffc24fcfb68d3b90f6c985240a8d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-fetch.txt",
|
||||
"sha256": "04297bb9711cbfc3dc922012129dcb57ff3310b3dab9b2d17ebb8b4122439ee7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tag.json",
|
||||
"sha256": "d6fae8afa785da4ef70109ac1fd5815a92ceb61ef400a2e456ec8405e5f59408",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tag.txt",
|
||||
"sha256": "0616bb30b0dd5d7ebc78c7db3d5b2b42bbd1ffc24fcfb68d3b90f6c985240a8d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374-tree.json",
|
||||
"sha256": "a364d9bf2857bcb09ad162b1dfc8cef7dc4648844fbaa0dc57182a4c307d2014",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy__ldm__qwen_image21__model.py",
|
||||
"sha256": "81a43c55e2292889d8b77d79cf4cb56fd3dfb717baf5e40f1d31f7700100c039",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest____init__.py",
|
||||
"sha256": "777d180cc6a07b22425d579c5cf03c2ebfe30d4ea78799339471af0ff2691d69",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest___io.py",
|
||||
"sha256": "e697ed00732deffb46d7a017d82dae48ee2504a8d356f911a1447ec6146294f7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_api__latest___io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_preview_any.py",
|
||||
"sha256": "48cffa3b2ddd08c311af609642da8703abc9bac9e624c400c3dc41f6edcea930",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_primitive.py",
|
||||
"sha256": "329963dd20fbf8985539b7b990780291f4b82ee9cfd42b96b571288b77eaa47a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_qwen.py",
|
||||
"sha256": "54ce02aa9e167c0b497ce026ac6b558f539427d2d1ed4fc1fcc2ec8e6bc529da",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__comfy_extras__nodes_textgen.py",
|
||||
"sha256": "ce41b40babe829cf8773aee3c3e43079f91205db921f6d964685e5fb0e5d7f54",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__nodes.py",
|
||||
"sha256": "1af4a41e1d844550a836cf1d1b00fad85d3d0aefaf435743431a8f1598643e22",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/core0374__requirements.txt",
|
||||
"sha256": "6dcb36b7fed5a9ad2f3380571f223951a48dde637a278380e9a601ee75e41856",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghcompare__nodes__图像对比 视频对比.py",
|
||||
"sha256": "9dbfbf10e29dda4ee2c2a26b12bc3939f632471f1594cac81e7b15ddc8a5f660",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghcompare__web__js__gh_image_video_comparer.js",
|
||||
"sha256": "32b23af4f705d5c9e898ca9a69cdf0213ad1a631372abfaa01085b8b111ce3b5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-commit.txt",
|
||||
"sha256": "615621320dff342d80e0e385c6408172fe8b332e087a8c54524e0e16be82abe3",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-fetch.txt",
|
||||
"sha256": "474e60d51ea4655e74f03032b7298b89a637853c6f927d6ed2f302f3bbe97e87",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tag.json",
|
||||
"sha256": "9202d82c29a4c3fb2218db9c3a51c93a6850118df2c8e13c411ec57ed6653dde",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tag.txt",
|
||||
"sha256": "615621320dff342d80e0e385c6408172fe8b332e087a8c54524e0e16be82abe3",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup-tree.json",
|
||||
"sha256": "bdd84dbed8db0454d89724a1c4393f737223ebfdec22d019716c437c8dae4cd5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup____init__.py",
|
||||
"sha256": "d1cdc5dce665f9f52aaab69a1742cacabaf2d9617a380b517f8387b4b662d164",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__extension.json",
|
||||
"sha256": "720bd511ce3d0a2ada06eefdbea34689deaf7385f5dd60631628efbd4b14b788",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__nodes__忽略多组.py",
|
||||
"sha256": "4350ab38acf4b1e555dbeaf27afe5427223d91b5e9ac4c7a2d4ce25c2931f450",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__requirements.txt",
|
||||
"sha256": "6d441fe1327fa35e31eee99e8bcaa478d59ae21472dab999374cb4462fbb594d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/ghgroup__web__js__nodes pass.js",
|
||||
"sha256": "2466edb72013fc93e1685e430042c79bf089b38237bbfab65199d4903e7a3f5f",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-check.json",
|
||||
"sha256": "3c8601ef6ca2ee55dffd5e88a93340c48b7cab20d3065a6f08d35b00d7c930dc",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-response.json",
|
||||
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/sources.json",
|
||||
"sha256": "513bcd4f69e0aaab34af578629189b261424526533c2cba4bcd42ecf9f6c9769",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370-commit.txt",
|
||||
"sha256": "afc35dd4b91656de3bdb36fcbaf680ba255623b3db36ade875263e868f7fbf64",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370-tag.json",
|
||||
"sha256": "382cf10d3e7499dfd5a8deda33056cf7165e09ae9e9dd72e0b92065f826dcc59",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370-tag.txt",
|
||||
"sha256": "afc35dd4b91656de3bdb36fcbaf680ba255623b3db36ade875263e868f7fbf64",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370-tree.json",
|
||||
"sha256": "48550f8d2fb71c7cf708d5d18088b546f6a00906f26d3e209f6ae4703a42049a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370__nodes.py",
|
||||
"sha256": "1af4a41e1d844550a836cf1d1b00fad85d3d0aefaf435743431a8f1598643e22",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-multi-reference/core0370__requirements.txt",
|
||||
"sha256": "b2e58dfb5cbe868ec291ce02d2bc8fd57914656bb5d6c41d6b659bd13a14344d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360-commit.txt",
|
||||
"sha256": "e42d54e4fe274cfe4868a803ada41ad289add6209b00b1a12776758f07a78aac",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360-tag.json",
|
||||
"sha256": "96def532dfb4724d7fd264fdd1dc1ac49c81df6de07584a4cd4cafd9401598da",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360-tag.txt",
|
||||
"sha256": "e42d54e4fe274cfe4868a803ada41ad289add6209b00b1a12776758f07a78aac",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360-tree.json",
|
||||
"sha256": "b348e5199331e6f4ad3009610e54259df774cf320a8d5222c27a7624d7756e52",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360__comfy_extras__nodes_resolution.py",
|
||||
"sha256": "3fe5c3f9aeceed343725a91c6feaa13377b5ebad2c95fd633e3806d69d10bcc8",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0360__requirements.txt",
|
||||
"sha256": "245cca752fd50c0d8af244d987a3fa3c363c0c48174f225293942923c755c79d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/core0370__comfy_extras__nodes_primitive.py",
|
||||
"sha256": "329963dd20fbf8985539b7b990780291f4b82ee9cfd42b96b571288b77eaa47a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend-commit.txt",
|
||||
"sha256": "911a3e83d87fff1684d6b24c2605d4fe1b948699cad07a6064bf0c641007292a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend-tag.json",
|
||||
"sha256": "3f4080ae73a57fb51d750a5f137530a1f02f11b043ab1ea73d95531e946baba7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend-tag.txt",
|
||||
"sha256": "911a3e83d87fff1684d6b24c2605d4fe1b948699cad07a6064bf0c641007292a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend-tree.json",
|
||||
"sha256": "8ca20cdbfc55c171a2994065285d01c995cc8736c2cd814a4b6c72c957034bbf",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__package.json",
|
||||
"sha256": "eae31028c9875fe5ab2ea926a2fa8bf09f5b9509c62c1dfdb7c74303f86e5bdc",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__pnpm-lock.yaml",
|
||||
"sha256": "9401949c3d5616fb110fac44701d8f27b79656f699e9a1a70dc5ea718c65357a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"sha256": "f6b3d33b9ffdf4f68136ee0f72d03dabf4affa3292721d1f221b47de792e0daf",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"sha256": "01f7e784e32acef112a4b91d94f33253d7a898acc4796c8ab014500c1cd8d682",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__LLink.ts",
|
||||
"sha256": "562694d5bccb5682222c500a7e7069501eeb94e69eeb1b9a534d1e511902ef57",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
|
||||
"sha256": "0c0ca487822a9f86324925c2fb4ea59c6c032ad5d042a83ac367cb15196454fe",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
|
||||
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"sha256": "29f2da27396bcc426180d819549f654278d65de973ade651d57c4905e319fb9c",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__widgets__BooleanWidget.ts",
|
||||
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__lib__litegraph__src__widgets__NumberWidget.ts",
|
||||
"sha256": "26e36aad66d293f1c566222fd1bf1cac62762bc1a5008f925582d02a33a59779",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__scripts__app.ts",
|
||||
"sha256": "ba650ea75b14affbdd1fbf4d821679d29dde59bd09986666a4734c8a160f7027",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/frontend__src__scripts__widgets.ts",
|
||||
"sha256": "932a143a1a48c93aa3bee43b6dc3f932cd7f9a946802530650b4acdd41d36bd5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup-commit.txt",
|
||||
"sha256": "82165b18e7c9963479674bfc23b079c3ad4b5d2bbca91d13abb0051b5c60654c",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup-tag.json",
|
||||
"sha256": "f93a8aec759f6dc6f872b3065ed45380900ba9a356796965c11b74e28d8264a5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup-tag.txt",
|
||||
"sha256": "82165b18e7c9963479674bfc23b079c3ad4b5d2bbca91d13abb0051b5c60654c",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup-tree.json",
|
||||
"sha256": "0458f2b4ba96295a8be89c705cfa1283d6773d34cb10594861d28955c83a6b3a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup____init__.py",
|
||||
"sha256": "d1cdc5dce665f9f52aaab69a1742cacabaf2d9617a380b517f8387b4b662d164",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__extension.json",
|
||||
"sha256": "720bd511ce3d0a2ada06eefdbea34689deaf7385f5dd60631628efbd4b14b788",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__nodes__忽略多组.py",
|
||||
"sha256": "4350ab38acf4b1e555dbeaf27afe5427223d91b5e9ac4c7a2d4ce25c2931f450",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__requirements.txt",
|
||||
"sha256": "6d441fe1327fa35e31eee99e8bcaa478d59ae21472dab999374cb4462fbb594d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__web__js__colorWidget.js",
|
||||
"sha256": "7e1e02baa9ab773bdbb9247925fec87a07b5309ce1ef35dfdfdec15c5b2eef26",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-views-reference/ghgroup__web__js__nodes pass.js",
|
||||
"sha256": "2466edb72013fc93e1685e430042c79bf089b38237bbfab65199d4903e7a3f5f",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
}
|
||||
],
|
||||
"count": 92,
|
||||
"upstream_executed": false,
|
||||
"note": "commit/tag字节和选定blob已重算,完整tree列表非完整tree对象重哈希。本批必要Git文本及旧发布成员复用,没有新发布包/资产获取或安装。历史发布成员SHA/CRC不冒充整包SHA/Git绑定,旧SeedVR越界及删除记录保留。"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
PASS exact sources,70 positional/named values,3 notes,50 edge/boundary records
|
||||
@@ -0,0 +1 @@
|
||||
PASS exact sources,70 positional/named values,3 notes,50 edge/boundary records
|
||||
@@ -0,0 +1,335 @@
|
||||
{
|
||||
"node_bindings": [
|
||||
{
|
||||
"node_id": "476",
|
||||
"class_type": "GH_ImageVideoComparer",
|
||||
"source_version": "61425dc193e3714492d840150e30926d16e567f0",
|
||||
"source_id": "ghcompare",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 55,
|
||||
"symbol": "GHImageVideoComparer",
|
||||
"lines": [
|
||||
365,
|
||||
408
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "480",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 30,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
1008,
|
||||
1033
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "484",
|
||||
"class_type": "PreviewAny",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 33,
|
||||
"symbol": "PreviewAny",
|
||||
"lines": [
|
||||
8,
|
||||
40
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "481",
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 32,
|
||||
"symbol": "StringMultiline",
|
||||
"lines": [
|
||||
24,
|
||||
39
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "485",
|
||||
"class_type": "StringConcatenate",
|
||||
"source_version": "0.25.0",
|
||||
"source_id": "core0250",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 7,
|
||||
"symbol": "StringConcatenate",
|
||||
"lines": [
|
||||
39,
|
||||
59
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "470",
|
||||
"class_type": "LoadImage",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "LoadImage",
|
||||
"lines": [
|
||||
1738,
|
||||
1812
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "478",
|
||||
"class_type": "TextGenerate",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 31,
|
||||
"symbol": "TextGenerate",
|
||||
"lines": [
|
||||
4,
|
||||
89
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459",
|
||||
"class_type": "bc1c967a-7f6a-4be9-a372-dad16e4f28e3",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "subgraph-definition",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "491",
|
||||
"class_type": "忽略多组孤海",
|
||||
"source_version": "537382d8198aa9bd03a614587fac1f239f71ba06",
|
||||
"source_id": "ghgroup",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 42,
|
||||
"symbol": "IgnoreGroupsGuHai",
|
||||
"lines": [
|
||||
1,
|
||||
14
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "13",
|
||||
"class_type": "ResolutionSelector",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "ResolutionSelector",
|
||||
"lines": [
|
||||
30,
|
||||
86
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "486",
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"source_version": "0.37.0",
|
||||
"source_id": "core0370",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 6,
|
||||
"symbol": "StringMultiline",
|
||||
"lines": [
|
||||
24,
|
||||
39
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "461",
|
||||
"class_type": "SaveImageAdvanced",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 49,
|
||||
"symbol": "SaveImageAdvanced",
|
||||
"lines": [
|
||||
1725,
|
||||
1881
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:453",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
1008,
|
||||
1033
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:454",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
771,
|
||||
864
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:456",
|
||||
"class_type": "EmptyLatentImage",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "EmptyLatentImage",
|
||||
"lines": [
|
||||
1246,
|
||||
1266
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:457",
|
||||
"class_type": "VAEDecode",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "VAEDecode",
|
||||
"lines": [
|
||||
316,
|
||||
341
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:458",
|
||||
"class_type": "KSampler",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "KSampler",
|
||||
"lines": [
|
||||
1597,
|
||||
1624
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:468",
|
||||
"class_type": "ComfySwitchNode",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 50,
|
||||
"symbol": "SwitchNode",
|
||||
"lines": [
|
||||
86,
|
||||
116
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:469",
|
||||
"class_type": "QwenImage21Cache",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "unresolved-core0360",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "459:474",
|
||||
"class_type": "TextEncodeQwenImage21",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "unresolved-core0360",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "459:451",
|
||||
"class_type": "UNETLoader",
|
||||
"source_version": "0.36.0",
|
||||
"source_id": "core0360",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "UNETLoader",
|
||||
"lines": [
|
||||
983,
|
||||
1006
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "459:490",
|
||||
"class_type": "QwenImage21Cache",
|
||||
"source_version": "0.37.4",
|
||||
"source_id": "core0374",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 34,
|
||||
"symbol": "QwenImage21Cache",
|
||||
"lines": [
|
||||
185,
|
||||
210
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"source_rows": 57,
|
||||
"bounded_core0360_record": "../qwen21-editviews-reference/core0360-bounded-investigation.json",
|
||||
"registry_check": "../qwen21-editviews-reference/goohai-registry-check.json",
|
||||
"host_is_subgraph_not_registered_core_class": true,
|
||||
"target_installation_verified": false,
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
第119批仅图像编辑角色表四视图,基线a2d2457da5ddd2f36ddfb323c238de7e2a82c630,原分支PR25/base main。准确core0.36.0/0.37.4/0.37.0/0.25.0逐节点分开;frontend1.53.6同树vendored LiteGraph/pnpm锁文件复用已审必要字节,原获取时间保留、逐图复核时间更新。Goohai比较61425与组537382分别准确注册/实现/必要前端/许可,不能传播宿主身份。源只有aux_id;官方registry对此候选ID返回404,只是身份线索缺口,不证明源码/节点不存在。准确仓与Git提交按aux和原文独立核准。
|
||||
|
||||
准确v0.36.0 nodes_qwen.py/QwenExtension列表未核准TextEncodeQwenImage21/QwenImage21Cache;另外cache候选nodes_easycache.py仅Easy/Lazy类,独立blob/SHA、获取时间与许可绑定见core0360-bounded-investigation.json。该有界调查不是全仓无类证明,不借0.37.4/0.38.0目标实现填默认、单位、0特殊条件、算法或副作用。490 Cache独立0.37.4准确实现可得,469 Cache与474编码声明0.36.0保持未知,源保存/作者建议和物理连线仍完整。core0.36.0 tree缺qwen_image21/model.py的原记录保留。
|
||||
|
||||
来源清单57行,另有必要候选及有界记录,完整闭包见source-closure.json。只filtered Git准确必要源码/许可/依赖声明/官方registry元数据,无整包、模型、素材、字体或运行库获取,不导入上游。commit/tag与选定blob重哈希,完整tree列表不是完整tree对象重哈希。历史SeedVR整包越界与删除事实保留。来源复现见source-acquisition-recipe.txt和原fetch记录。
|
||||
|
||||
70标量为根46/内部24;14宿主缓存、24输入/边界、definition.widgets=[]/无proxyWidgets独立。三Note原拼setps与13/1917/255码点、LF0/45/7及尾LF完整核准;17709系统含205真实LF、一字面反斜杠n并以LF结尾,完整值/空白/SHA原样,报告用可逆JSON。当前模板true不沿用前批false结论;PreviewAny不是宿主中转链,双latent/双Cache/比较A-B按实际线记录,不执行系统/指南/链接或下载Input Assets。
|
||||
|
||||
三正式入口选本图专项,JS、前后端build、双次定义/渲染、先构建后wheel/sdist资源核对及真实基线旧库保护,浏览从validation-commands提取完整原行执行。旧99块5331位置/165注释与其它155对象冻结,累计100参考5401位置/168注释;资格/转换器/执行器/Drawer/CSS/依赖保持。155最终定稿/可靠转换/目标环境核对及必要实跑未完成,无需材料/窗口,不合并部署。
|
||||
@@ -0,0 +1,73 @@
|
||||
"""List source texts and their identity/permission evidence, without self hashing."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, REPO
|
||||
|
||||
|
||||
def main():
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
|
||||
for e in rows:
|
||||
paths.add((REF / e["local_file"]).resolve())
|
||||
if not e["license_file"].startswith("未知"):
|
||||
paths.add((REF / e["license_file"]).resolve())
|
||||
if e["id"] in ["litegraph", "llama-unavailable"]:
|
||||
continue
|
||||
if "package_record" in e:
|
||||
paths.add((REF / e["package_record"]).resolve())
|
||||
paths.add((REF / e["registry_record"]).resolve())
|
||||
continue
|
||||
if "member_crc32" in e:
|
||||
paths.update(
|
||||
(
|
||||
(REF / e["identity_root"] / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-registry.json", "-members.json", "-range-proof.json"]
|
||||
)
|
||||
)
|
||||
continue
|
||||
base = REF / e["identity_root"]
|
||||
paths.update(
|
||||
(
|
||||
(base / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
|
||||
)
|
||||
)
|
||||
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
|
||||
|
||||
result = []
|
||||
for p in sorted(paths):
|
||||
raw = p.read_bytes()
|
||||
result.append(
|
||||
dict(
|
||||
path=str(p.relative_to(REPO)),
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
|
||||
)
|
||||
)
|
||||
(OUT / "source-closure.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=result,
|
||||
count=len(result),
|
||||
upstream_executed=False,
|
||||
note=(
|
||||
"commit/tag字节和选定blob已重算"
|
||||
",完整tree列表非完整tree对象重哈希。"
|
||||
"本批必要Git文本及旧发布成员复用,没有新发布包/"
|
||||
"资产获取或安装。历史发布成员SHA/CRC不"
|
||||
"冒充整包SHA/Git绑定,旧SeedVR越"
|
||||
"界及删除记录保留。"
|
||||
),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS source closure", len(result))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,21 @@
|
||||
# 第119批,仅Qwen21图像编辑角色表四视图参考;原PR25/main,基线a2d2457da5ddd2f36ddfb323c238de7e2a82c630。
|
||||
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
|
||||
# 既有依赖离线恢复,不增依赖。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/rebuild.py
|
||||
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_qwen21_editviews_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/qwen21-editviews-document-evidence/*.py calliope-backend/tests/test_qwen21_editviews_fixed_document.py e2e/run-qwen21-editviews-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
node --check e2e/qwen21-editviews-document.mjs
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/qwen21-editviews-document-evidence/recompute.py
|
||||
npm run build --prefix calliope-web
|
||||
# 前端build完成后再浏览,不与vite并发写生成目录。
|
||||
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 calliope-backend/.venv/bin/python e2e/run-qwen21-editviews-document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/collect_browser.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/source_closure.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/qwen21-editviews-document-evidence/freeze.py
|
||||
# 70新增位置/三标准Note;旧99块冻结。100图5401位置/168注释仅参考,155定稿0/实跑0/新增转换0。
|
||||
@@ -0,0 +1,239 @@
|
||||
"Verify exact text, Git/package provenance and source graph without upstream imports."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import zlib
|
||||
|
||||
from build_definition import OUT, REF, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def object_hash(kind, raw):
|
||||
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
|
||||
|
||||
def main():
|
||||
block, inv = build(), inventory()
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
checks = []
|
||||
for e in rows:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e["id"] == "litegraph":
|
||||
root = REF / e["identity_root"]
|
||||
assert (
|
||||
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
|
||||
== "0.15.15"
|
||||
)
|
||||
front = next(
|
||||
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
|
||||
)
|
||||
lock = json.loads((REF / front["local_file"]).read_bytes())
|
||||
assert (
|
||||
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
|
||||
== "sha512-" + e["artifact_sha512_base64"]
|
||||
)
|
||||
proof = (
|
||||
"Pinned frontend1.23.0 lock, exact0.15."
|
||||
"15 member SHA; whole artifact digest r"
|
||||
"eused, Git unknown"
|
||||
)
|
||||
elif "package_record" in e:
|
||||
package = json.loads((REF / e["package_record"]).read_bytes())
|
||||
reg = json.loads((REF / e["registry_record"]).read_bytes())
|
||||
member = next(x for x in package["members"] if x["path"] == e["file"])
|
||||
assert member["saved"] and member["sha256"] == e["sha256"]
|
||||
assert reg["version"] == e["tag"] == "1.0.0"
|
||||
assert package["sha256"] == e["artifact_sha256"]
|
||||
proof = (
|
||||
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
|
||||
)
|
||||
elif e["id"] == "llama-unavailable":
|
||||
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
|
||||
elif "member_crc32" in e:
|
||||
root = REF / e["identity_root"]
|
||||
m = json.loads((root / (e["id"] + "-registry.json")).read_bytes())
|
||||
members = json.loads((root / (e["id"] + "-members.json")).read_bytes())
|
||||
member = next(x for x in members if x["name"] == e["file"])
|
||||
assert m["version"] == e["tag"]
|
||||
assert member["crc"] == e["member_crc32"] == zlib.crc32(raw)
|
||||
assert e["package_sha256"].startswith("unknown")
|
||||
proof = "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
|
||||
else:
|
||||
root = REF / e["identity_root"]
|
||||
key = e["identity_key"]
|
||||
commit = (root / (key + "-commit.txt")).read_bytes()
|
||||
tree = json.loads((root / (key + "-tree.json")).read_bytes())
|
||||
assert object_hash("commit", commit) == e["commit"]
|
||||
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
|
||||
assert not tree["truncated"]
|
||||
assert (
|
||||
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
|
||||
== e["git_blob_sha1"]
|
||||
== object_hash("blob", raw)
|
||||
)
|
||||
tag = json.loads((root / (key + "-tag.json")).read_bytes())
|
||||
tag_raw = (root / (key + "-tag.txt")).read_bytes()
|
||||
assert tag["commit"] == e["commit"]
|
||||
if tag["object"] == e["commit"]:
|
||||
assert tag_raw == commit
|
||||
else:
|
||||
assert object_hash("tag", tag_raw) == tag["object"]
|
||||
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
|
||||
proof = (
|
||||
"Rehashed commit/tag/selected blo"
|
||||
"b; complete tree listing, not fu"
|
||||
"ll tree-object rehash"
|
||||
)
|
||||
if not e["license_file"].startswith("未知"):
|
||||
license_row = next(
|
||||
x
|
||||
for x in rows
|
||||
if x["id"] == e["id"]
|
||||
and (
|
||||
(REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve()
|
||||
or x["file"] == "LICENSE"
|
||||
)
|
||||
)
|
||||
assert (
|
||||
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
|
||||
== license_row["sha256"]
|
||||
)
|
||||
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
|
||||
assert len(inv["fields"]) == 70 and len(inv["notes"]) == 3
|
||||
assert [(v["nodes"], v["edges"], v["named_nodes"]) for v in inv["scopes"]] == [
|
||||
(15, 13, 15),
|
||||
(10, 37, 9),
|
||||
]
|
||||
assert all(set(v["modes"]) == {0} for v in inv["scopes"])
|
||||
assert [(v["node"], v["state"]) for v in inv["empty"]] == [
|
||||
(484, "empty_list"),
|
||||
(457, "missing"),
|
||||
]
|
||||
assert all(f["json_type"] not in ["list", "dict"] for f in inv["fields"])
|
||||
from build_definition import PATHS, REPO
|
||||
|
||||
raw = (REPO / PATHS[0]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
d = g["definitions"]["subgraphs"][0]
|
||||
assert (
|
||||
hashlib.sha256(raw).hexdigest()
|
||||
== "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
)
|
||||
|
||||
def pointer(obj, p):
|
||||
for bit in p.strip("/").split("/"):
|
||||
bit = bit.replace("~1", "/").replace("~0", "~")
|
||||
obj = obj[int(bit)] if isinstance(obj, list) else obj[bit]
|
||||
return obj
|
||||
|
||||
for a, f in zip(inv["fields"], block["fields"], strict=True):
|
||||
assert (a["pointer"], a["json_type"], canonical(a["value"])) == (
|
||||
f["pointer"],
|
||||
f["json_type"],
|
||||
canonical(f["value"]),
|
||||
)
|
||||
assert (
|
||||
canonical(pointer(g, f["named_pointer"]))
|
||||
== canonical(f["named_value"])
|
||||
== canonical(f["value"])
|
||||
)
|
||||
for prefix, graph in [("", g), ("/definitions/subgraphs/0", d)]:
|
||||
ns = {n["id"]: n for n in graph["nodes"]}
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
continue
|
||||
expected = {
|
||||
f"{prefix}/nodes/{i}/widgets_values_named/"
|
||||
+ k.replace("~", "~0").replace("/", "~1")
|
||||
for k in n.get("widgets_values_named", {})
|
||||
}
|
||||
assert expected == {
|
||||
f["named_pointer"]
|
||||
for f in block["fields"]
|
||||
if f["pointer"].startswith(f"{prefix}/nodes/{i}/")
|
||||
}
|
||||
for edge in graph["links"]:
|
||||
if isinstance(edge, list):
|
||||
eid, a, ao, z, zi, _ = edge
|
||||
else:
|
||||
eid, a, ao, z, zi = [
|
||||
edge[k] for k in ["id", "origin_id", "origin_slot", "target_id", "target_slot"]
|
||||
]
|
||||
if a >= 0:
|
||||
assert eid in ns[a]["outputs"][ao]["links"]
|
||||
else:
|
||||
assert eid in graph["inputs"][ao]["linkIds"]
|
||||
if z >= 0:
|
||||
assert ns[z]["inputs"][zi]["link"] == eid
|
||||
else:
|
||||
assert eid in graph["outputs"][zi]["linkIds"]
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
assert (
|
||||
len(ns[459]["widgets_values"]) == 14
|
||||
and len(ns[459]["inputs"]) == len(d["inputs"]) == 24
|
||||
and d["widgets"] == []
|
||||
)
|
||||
assert "proxyWidgets" not in ns[459] and "proxyWidgets" not in d
|
||||
assert ns[485]["widgets_values"][2] == "/n" and len(ns[485]["widgets_values"][1]) == 399
|
||||
assert len(ns[486]["widgets_values"][0]) == 19
|
||||
assert ns[13]["widgets_values"] == ["4:3 (Standard)", 1.5, 32]
|
||||
assert ns[478]["widgets_values_named"]["use_default_template"] is True
|
||||
assert ns[478]["widgets_values_named"]["thinking"] is False
|
||||
assert ns[478]["widgets_values_named"]["sampling_mode"] == "on"
|
||||
assert ns[476]["inputs"][0]["link"] == 730 and ns[476]["inputs"][1]["link"] == 729
|
||||
assert ns[461]["widgets_values"] == ["image/Qwen_image_2.1", "png", "8-bit", "sRGB"]
|
||||
assert ns[470]["outputs"][1]["links"] in [None, []]
|
||||
text = ns[481]["widgets_values"][0]
|
||||
assert (len(text), text.count("\n"), text.count("\\n"), text.endswith("\n")) == (
|
||||
17709,
|
||||
205,
|
||||
1,
|
||||
True,
|
||||
)
|
||||
assert (
|
||||
hashlib.sha256(text.encode()).hexdigest()
|
||||
== "e378fea686a1431581ba4c654d332ae96adad633f144ae738ec8ce9c4fd66439"
|
||||
)
|
||||
assert [
|
||||
(n["characters"], n["lf_count"], n["literal_backslash_n"], n["ends_with_lf"])
|
||||
for n in inv["notes"]
|
||||
] == [(13, 0, 0, False), (1917, 45, 0, True), (255, 7, 0, True)]
|
||||
bind = {n["node_id"]: n for n in block["node_bindings"]}
|
||||
assert all(
|
||||
len(n["candidates"]) == 1
|
||||
for n in block["node_bindings"]
|
||||
if n["node_id"] not in ["459", "459:474", "459:469"]
|
||||
)
|
||||
assert bind["459"]["source_id"] == "subgraph-definition"
|
||||
assert bind["459:474"]["source_id"] == bind["459:469"]["source_id"] == "unresolved-core0360"
|
||||
assert bind["459:490"]["source_id"] == "core0374" and len(bind["459:490"]["candidates"]) == 1
|
||||
assert bind["491"]["source_id"] == "ghgroup" and bind["476"]["source_id"] == "ghcompare"
|
||||
assert all(
|
||||
f["schema_default"].startswith("未知") and f["unit"].startswith("未知")
|
||||
for f in block["fields"]
|
||||
if f["node_id"] in ["459:469", "459:474"]
|
||||
)
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=checks,
|
||||
positions=70,
|
||||
standard_notes=3,
|
||||
scopes=inv["scopes"],
|
||||
source_edges_verified=50,
|
||||
upstream_executed=False,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
(OUT / "node-version-bindings.json").write_text(
|
||||
json.dumps(block["node_bindings"], ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("PASS exact sources,70 positional/named values,3 notes,50 edge/boundary records")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"requested_commit": "ee71d5c4993f29086b27fde1629a945ae48425bf",
|
||||
"tree": "07d05b1df1e6c1ddebf15abad147fa90276f2621",
|
||||
"candidate_file": "comfy_extras/nodes_easycache.py",
|
||||
"git_blob_sha1": "9e907d371c56cab1793b28232b241327527af44e",
|
||||
"sha256": "746fd299918efff7f2abe919fb8a0c20abd384be1e28a0f122c0d321a69ce174",
|
||||
"classes": [
|
||||
"EasyCacheHolder",
|
||||
"EasyCacheNode",
|
||||
"LazyCacheHolder",
|
||||
"LazyCacheNode",
|
||||
"EasyCacheExtension"
|
||||
],
|
||||
"targets": [
|
||||
"TextEncodeQwenImage21",
|
||||
"QwenImage21Cache"
|
||||
],
|
||||
"targets_found_in_candidate": false,
|
||||
"scope": "准确nodes_qwen.py及其注册表、另一个cache路径候选nodes_easycache.py有界核对,未核准两目标类;不是全仓无类证明,不用其它提交补实",
|
||||
"registry_aux_id_only": true,
|
||||
"registry_lookup_status": 404,
|
||||
"upstream_executed": false,
|
||||
"acquisition_time": "2026-10-31T19:32:32.466605+00:00",
|
||||
"reverified_at": "2026-10-31T19:32:32.466619+00:00",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"local_file": "core0360__comfy_extras__nodes_easycache.py",
|
||||
"identity_root": "../qwen21-views-reference",
|
||||
"identity_key": "core0360",
|
||||
"license_file": "../qwen21-views-reference/core0360__LICENSE"
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
from comfy_api.internal import ComfyAPIBase
|
||||
from comfy_api.internal.singleton import ProxiedSingleton
|
||||
from comfy_api.internal.async_to_sync import create_sync_class
|
||||
from ._input import ImageInput, AudioInput, MaskInput, LatentInput, VideoInput
|
||||
from ._input_impl import VideoFromFile, VideoFromComponents, VideoFromList
|
||||
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL, SPLAT, File3D
|
||||
from . import _io_public as io
|
||||
from . import _ui_public as ui
|
||||
from comfy_execution.utils import get_executing_context
|
||||
from comfy_execution.progress import get_progress_state, PreviewImageTuple
|
||||
from PIL import Image
|
||||
from comfy.cli_args import args
|
||||
import numpy as np
|
||||
|
||||
|
||||
class ComfyAPI_latest(ComfyAPIBase):
|
||||
VERSION = "latest"
|
||||
STABLE = False
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.node_replacement = self.NodeReplacement()
|
||||
self.execution = self.Execution()
|
||||
self.caching = self.Caching()
|
||||
|
||||
class NodeReplacement(ProxiedSingleton):
|
||||
async def register(self, node_replace: io.NodeReplace) -> None:
|
||||
"""Register a node replacement mapping."""
|
||||
from server import PromptServer
|
||||
PromptServer.instance.node_replace_manager.register(node_replace)
|
||||
|
||||
class Execution(ProxiedSingleton):
|
||||
async def set_progress(
|
||||
self,
|
||||
value: float,
|
||||
max_value: float,
|
||||
node_id: str | None = None,
|
||||
preview_image: Image.Image | ImageInput | None = None,
|
||||
ignore_size_limit: bool = False,
|
||||
) -> None:
|
||||
"""
|
||||
Update the progress bar displayed in the ComfyUI interface.
|
||||
|
||||
This function allows custom nodes and API calls to report their progress
|
||||
back to the user interface, providing visual feedback during long operations.
|
||||
|
||||
Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK
|
||||
"""
|
||||
executing_context = get_executing_context()
|
||||
if node_id is None and executing_context is not None:
|
||||
node_id = executing_context.node_id
|
||||
if node_id is None:
|
||||
raise ValueError("node_id must be provided if not in executing context")
|
||||
|
||||
# Convert preview_image to PreviewImageTuple if needed
|
||||
to_display: PreviewImageTuple | Image.Image | ImageInput | None = preview_image
|
||||
if to_display is not None:
|
||||
# First convert to PIL Image if needed
|
||||
if isinstance(to_display, ImageInput):
|
||||
# Convert ImageInput (torch.Tensor) to PIL Image
|
||||
# Handle tensor shape [B, H, W, C] -> get first image if batch
|
||||
tensor = to_display
|
||||
if len(tensor.shape) == 4:
|
||||
tensor = tensor[0]
|
||||
|
||||
# Convert to numpy array and scale to 0-255
|
||||
image_np = (tensor.cpu().numpy() * 255).astype(np.uint8)
|
||||
to_display = Image.fromarray(image_np)
|
||||
|
||||
if isinstance(to_display, Image.Image):
|
||||
# Detect image format from PIL Image
|
||||
image_format = to_display.format if to_display.format else "JPEG"
|
||||
# Use None for preview_size if ignore_size_limit is True
|
||||
preview_size = None if ignore_size_limit else args.preview_size
|
||||
to_display = (image_format, to_display, preview_size)
|
||||
|
||||
get_progress_state().update_progress(
|
||||
node_id=node_id,
|
||||
value=value,
|
||||
max_value=max_value,
|
||||
image=to_display,
|
||||
)
|
||||
|
||||
class Caching(ProxiedSingleton):
|
||||
"""
|
||||
External cache provider API for sharing cached node outputs
|
||||
across ComfyUI instances.
|
||||
|
||||
Example::
|
||||
|
||||
from comfy_api.latest import Caching
|
||||
|
||||
class MyCacheProvider(Caching.CacheProvider):
|
||||
async def on_lookup(self, context):
|
||||
... # check external storage
|
||||
|
||||
async def on_store(self, context, value):
|
||||
... # store to external storage
|
||||
|
||||
Caching.register_provider(MyCacheProvider())
|
||||
"""
|
||||
from ._caching import CacheProvider, CacheContext, CacheValue
|
||||
|
||||
async def register_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Register an external cache provider. Providers are called in registration order."""
|
||||
from comfy_execution.cache_provider import register_cache_provider
|
||||
register_cache_provider(provider)
|
||||
|
||||
async def unregister_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Unregister a previously registered cache provider."""
|
||||
from comfy_execution.cache_provider import unregister_cache_provider
|
||||
unregister_cache_provider(provider)
|
||||
|
||||
class ComfyExtension(ABC):
|
||||
async def on_load(self) -> None:
|
||||
"""
|
||||
Called when an extension is loaded.
|
||||
This should be used to initialize any global resources needed by the extension.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
"""
|
||||
Returns a list of nodes that this extension provides.
|
||||
"""
|
||||
|
||||
class Input:
|
||||
Image = ImageInput
|
||||
Audio = AudioInput
|
||||
Mask = MaskInput
|
||||
Latent = LatentInput
|
||||
Video = VideoInput
|
||||
|
||||
class InputImpl:
|
||||
VideoFromFile = VideoFromFile
|
||||
VideoFromComponents = VideoFromComponents
|
||||
VideoFromList = VideoFromList
|
||||
|
||||
class Types:
|
||||
VideoCodec = VideoCodec
|
||||
VideoContainer = VideoContainer
|
||||
VideoComponents = VideoComponents
|
||||
MESH = MESH
|
||||
VOXEL = VOXEL
|
||||
SPLAT = SPLAT
|
||||
File3D = File3D
|
||||
|
||||
|
||||
Caching = ComfyAPI_latest.Caching
|
||||
|
||||
ComfyAPI = ComfyAPI_latest
|
||||
|
||||
# Create a synchronous version of the API
|
||||
if TYPE_CHECKING:
|
||||
import comfy_api.latest.generated.ComfyAPISyncStub # type: ignore
|
||||
|
||||
ComfyAPISync: type[comfy_api.latest.generated.ComfyAPISyncStub.ComfyAPISyncStub]
|
||||
ComfyAPISync = create_sync_class(ComfyAPI_latest)
|
||||
|
||||
# create new aliases for io and ui
|
||||
IO = io
|
||||
UI = ui
|
||||
|
||||
__all__ = [
|
||||
"ComfyAPI",
|
||||
"ComfyAPISync",
|
||||
"Input",
|
||||
"InputImpl",
|
||||
"Types",
|
||||
"Caching",
|
||||
"ComfyExtension",
|
||||
"io",
|
||||
"IO",
|
||||
"ui",
|
||||
"UI",
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
from ._io import * # noqa: F403
|
||||
@@ -0,0 +1,530 @@
|
||||
from __future__ import annotations
|
||||
from typing import TYPE_CHECKING, Union
|
||||
from comfy_api.latest import io, ComfyExtension
|
||||
import comfy.patcher_extension
|
||||
import logging
|
||||
import torch
|
||||
import comfy.model_patcher
|
||||
if TYPE_CHECKING:
|
||||
from uuid import UUID
|
||||
|
||||
|
||||
def _extract_tensor(data, output_channels):
|
||||
"""Extract tensor from data, handling both single tensors and lists."""
|
||||
if isinstance(data, list):
|
||||
# LTX2 AV tensors: [video, audio]
|
||||
return data[0][:, :output_channels], data[1][:, :output_channels]
|
||||
return data[:, :output_channels], None
|
||||
|
||||
|
||||
def easycache_forward_wrapper(executor, *args, **kwargs):
|
||||
# get values from args
|
||||
transformer_options: dict[str] = args[-1]
|
||||
if not isinstance(transformer_options, dict):
|
||||
transformer_options = kwargs.get("transformer_options")
|
||||
if not transformer_options:
|
||||
transformer_options = args[-2]
|
||||
easycache: EasyCacheHolder = transformer_options["easycache"]
|
||||
x, ax = _extract_tensor(args[0], easycache.output_channels)
|
||||
sigmas = transformer_options["sigmas"]
|
||||
uuids = transformer_options["uuids"]
|
||||
if sigmas is not None and easycache.is_past_end_timestep(sigmas):
|
||||
return executor(*args, **kwargs)
|
||||
# prepare next x_prev
|
||||
has_first_cond_uuid = easycache.has_first_cond_uuid(uuids)
|
||||
next_x_prev = x
|
||||
input_change = None
|
||||
do_easycache = easycache.should_do_easycache(sigmas)
|
||||
if do_easycache:
|
||||
easycache.check_metadata(x)
|
||||
# if there isn't a cache diff for current conds, we cannot skip this step
|
||||
can_apply_cache_diff = easycache.can_apply_cache_diff(uuids)
|
||||
# if first cond marked this step for skipping, skip it and use appropriate cached values
|
||||
if easycache.skip_current_step and can_apply_cache_diff:
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - was marked to skip this step by {easycache.first_cond_uuid}. Present uuids: {uuids}")
|
||||
result = easycache.apply_cache_diff(x, uuids)
|
||||
if ax is not None:
|
||||
result_audio = easycache.apply_cache_diff(ax, uuids, is_audio=True)
|
||||
return [result, result_audio]
|
||||
return result
|
||||
if easycache.initial_step:
|
||||
easycache.first_cond_uuid = uuids[0]
|
||||
has_first_cond_uuid = easycache.has_first_cond_uuid(uuids)
|
||||
easycache.initial_step = False
|
||||
if has_first_cond_uuid:
|
||||
if easycache.has_x_prev_subsampled():
|
||||
input_change = (easycache.subsample(x, uuids, clone=False) - easycache.x_prev_subsampled).flatten().abs().mean()
|
||||
if easycache.has_output_prev_norm() and easycache.has_relative_transformation_rate():
|
||||
approx_output_change_rate = (easycache.relative_transformation_rate * input_change) / easycache.output_prev_norm
|
||||
easycache.cumulative_change_rate += approx_output_change_rate
|
||||
if easycache.cumulative_change_rate < easycache.reuse_threshold and can_apply_cache_diff:
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - skipping step; cumulative_change_rate: {easycache.cumulative_change_rate}, reuse_threshold: {easycache.reuse_threshold}")
|
||||
# other conds should also skip this step, and instead use their cached values
|
||||
easycache.skip_current_step = True
|
||||
result = easycache.apply_cache_diff(x, uuids)
|
||||
if ax is not None:
|
||||
result_audio = easycache.apply_cache_diff(ax, uuids, is_audio=True)
|
||||
return [result, result_audio]
|
||||
return result
|
||||
else:
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - NOT skipping step; cumulative_change_rate: {easycache.cumulative_change_rate}, reuse_threshold: {easycache.reuse_threshold}")
|
||||
easycache.cumulative_change_rate = 0.0
|
||||
|
||||
full_output: torch.Tensor = executor(*args, **kwargs)
|
||||
output, audio_output = _extract_tensor(full_output, easycache.output_channels)
|
||||
if has_first_cond_uuid and easycache.has_output_prev_norm():
|
||||
output_change = (easycache.subsample(output, uuids, clone=False) - easycache.output_prev_subsampled).flatten().abs().mean()
|
||||
if easycache.verbose:
|
||||
output_change_rate = output_change / easycache.output_prev_norm
|
||||
easycache.output_change_rates.append(output_change_rate.item())
|
||||
if easycache.has_relative_transformation_rate():
|
||||
approx_output_change_rate = (easycache.relative_transformation_rate * input_change) / easycache.output_prev_norm
|
||||
easycache.approx_output_change_rates.append(approx_output_change_rate.item())
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - approx_output_change_rate: {approx_output_change_rate}")
|
||||
if input_change is not None:
|
||||
easycache.relative_transformation_rate = output_change / input_change
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - output_change_rate: {output_change_rate}")
|
||||
# TODO: allow cache_diff to be offloaded
|
||||
easycache.update_cache_diff(output, next_x_prev, uuids)
|
||||
if audio_output is not None:
|
||||
easycache.update_cache_diff(audio_output, ax, uuids, is_audio=True)
|
||||
if has_first_cond_uuid:
|
||||
easycache.x_prev_subsampled = easycache.subsample(next_x_prev, uuids)
|
||||
easycache.output_prev_subsampled = easycache.subsample(output, uuids)
|
||||
easycache.output_prev_norm = output.flatten().abs().mean()
|
||||
if easycache.verbose:
|
||||
logging.info(f"EasyCache [verbose] - x_prev_subsampled: {easycache.x_prev_subsampled.shape}")
|
||||
return full_output
|
||||
|
||||
def lazycache_predict_noise_wrapper(executor, *args, **kwargs):
|
||||
# get values from args
|
||||
timestep: float = args[1]
|
||||
model_options: dict[str] = args[2]
|
||||
easycache: LazyCacheHolder = model_options["transformer_options"]["easycache"]
|
||||
if easycache.is_past_end_timestep(timestep):
|
||||
return executor(*args, **kwargs)
|
||||
x: torch.Tensor = args[0][:, :easycache.output_channels]
|
||||
# prepare next x_prev
|
||||
next_x_prev = x
|
||||
input_change = None
|
||||
do_easycache = easycache.should_do_easycache(timestep)
|
||||
if do_easycache:
|
||||
easycache.check_metadata(x)
|
||||
if easycache.has_x_prev_subsampled():
|
||||
if easycache.has_x_prev_subsampled():
|
||||
input_change = (easycache.subsample(x, clone=False) - easycache.x_prev_subsampled).flatten().abs().mean()
|
||||
if easycache.has_output_prev_norm() and easycache.has_relative_transformation_rate():
|
||||
approx_output_change_rate = (easycache.relative_transformation_rate * input_change) / easycache.output_prev_norm
|
||||
easycache.cumulative_change_rate += approx_output_change_rate
|
||||
if easycache.cumulative_change_rate < easycache.reuse_threshold:
|
||||
if easycache.verbose:
|
||||
logging.info(f"LazyCache [verbose] - skipping step; cumulative_change_rate: {easycache.cumulative_change_rate}, reuse_threshold: {easycache.reuse_threshold}")
|
||||
# other conds should also skip this step, and instead use their cached values
|
||||
easycache.skip_current_step = True
|
||||
return easycache.apply_cache_diff(x)
|
||||
else:
|
||||
if easycache.verbose:
|
||||
logging.info(f"LazyCache [verbose] - NOT skipping step; cumulative_change_rate: {easycache.cumulative_change_rate}, reuse_threshold: {easycache.reuse_threshold}")
|
||||
easycache.cumulative_change_rate = 0.0
|
||||
output: torch.Tensor = executor(*args, **kwargs)
|
||||
if easycache.has_output_prev_norm():
|
||||
output_change = (easycache.subsample(output, clone=False) - easycache.output_prev_subsampled).flatten().abs().mean()
|
||||
if easycache.verbose:
|
||||
output_change_rate = output_change / easycache.output_prev_norm
|
||||
easycache.output_change_rates.append(output_change_rate.item())
|
||||
if easycache.has_relative_transformation_rate():
|
||||
approx_output_change_rate = (easycache.relative_transformation_rate * input_change) / easycache.output_prev_norm
|
||||
easycache.approx_output_change_rates.append(approx_output_change_rate.item())
|
||||
if easycache.verbose:
|
||||
logging.info(f"LazyCache [verbose] - approx_output_change_rate: {approx_output_change_rate}")
|
||||
if input_change is not None:
|
||||
easycache.relative_transformation_rate = output_change / input_change
|
||||
if easycache.verbose:
|
||||
logging.info(f"LazyCache [verbose] - output_change_rate: {output_change_rate}")
|
||||
# TODO: allow cache_diff to be offloaded
|
||||
easycache.update_cache_diff(output, next_x_prev)
|
||||
easycache.x_prev_subsampled = easycache.subsample(next_x_prev)
|
||||
easycache.output_prev_subsampled = easycache.subsample(output)
|
||||
easycache.output_prev_norm = output.flatten().abs().mean()
|
||||
if easycache.verbose:
|
||||
logging.info(f"LazyCache [verbose] - x_prev_subsampled: {easycache.x_prev_subsampled.shape}")
|
||||
return output
|
||||
|
||||
def easycache_calc_cond_batch_wrapper(executor, *args, **kwargs):
|
||||
model_options = args[-1]
|
||||
easycache: EasyCacheHolder = model_options["transformer_options"]["easycache"]
|
||||
easycache.skip_current_step = False
|
||||
# TODO: check if first_cond_uuid is active at this timestep; otherwise, EasyCache needs to be partially reset
|
||||
return executor(*args, **kwargs)
|
||||
|
||||
def easycache_sample_wrapper(executor, *args, **kwargs):
|
||||
"""
|
||||
This OUTER_SAMPLE wrapper makes sure easycache is prepped for current run, and all memory usage is cleared at the end.
|
||||
"""
|
||||
try:
|
||||
guider = executor.class_obj
|
||||
orig_model_options = guider.model_options
|
||||
guider.model_options = comfy.model_patcher.create_model_options_clone(orig_model_options)
|
||||
# clone and prepare timesteps
|
||||
guider.model_options["transformer_options"]["easycache"] = guider.model_options["transformer_options"]["easycache"].clone().prepare_timesteps(guider.model_patcher.model.model_sampling)
|
||||
easycache: Union[EasyCacheHolder, LazyCacheHolder] = guider.model_options['transformer_options']['easycache']
|
||||
logging.info(f"{easycache.name} enabled - threshold: {easycache.reuse_threshold}, start_percent: {easycache.start_percent}, end_percent: {easycache.end_percent}")
|
||||
return executor(*args, **kwargs)
|
||||
finally:
|
||||
easycache = guider.model_options['transformer_options']['easycache']
|
||||
output_change_rates = easycache.output_change_rates
|
||||
approx_output_change_rates = easycache.approx_output_change_rates
|
||||
if easycache.verbose:
|
||||
logging.info(f"{easycache.name} [verbose] - output_change_rates {len(output_change_rates)}: {output_change_rates}")
|
||||
logging.info(f"{easycache.name} [verbose] - approx_output_change_rates {len(approx_output_change_rates)}: {approx_output_change_rates}")
|
||||
total_steps = len(args[3])-1
|
||||
# catch division by zero for log statement; sucks to crash after all sampling is done
|
||||
try:
|
||||
speedup = total_steps/(total_steps-easycache.total_steps_skipped)
|
||||
except ZeroDivisionError:
|
||||
speedup = 1.0
|
||||
logging.info(f"{easycache.name} - skipped {easycache.total_steps_skipped}/{total_steps} steps ({speedup:.2f}x speedup).")
|
||||
easycache.reset()
|
||||
guider.model_options = orig_model_options
|
||||
|
||||
|
||||
class EasyCacheHolder:
|
||||
def __init__(self, reuse_threshold: float, start_percent: float, end_percent: float, subsample_factor: int, offload_cache_diff: bool, verbose: bool=False, output_channels: int=None):
|
||||
self.name = "EasyCache"
|
||||
self.reuse_threshold = reuse_threshold
|
||||
self.start_percent = start_percent
|
||||
self.end_percent = end_percent
|
||||
self.subsample_factor = subsample_factor
|
||||
self.offload_cache_diff = offload_cache_diff
|
||||
self.verbose = verbose
|
||||
# timestep values
|
||||
self.start_t = 0.0
|
||||
self.end_t = 0.0
|
||||
# control values
|
||||
self.relative_transformation_rate: float = None
|
||||
self.cumulative_change_rate = 0.0
|
||||
self.initial_step = True
|
||||
self.skip_current_step = False
|
||||
# cache values
|
||||
self.first_cond_uuid = None
|
||||
self.x_prev_subsampled: torch.Tensor = None
|
||||
self.output_prev_subsampled: torch.Tensor = None
|
||||
self.output_prev_norm: torch.Tensor = None
|
||||
self.uuid_cache_diffs: dict[UUID, torch.Tensor] = {}
|
||||
self.uuid_cache_diffs_audio: dict[UUID, torch.Tensor] = {}
|
||||
self.output_change_rates = []
|
||||
self.approx_output_change_rates = []
|
||||
self.total_steps_skipped = 0
|
||||
# how to deal with mismatched dims
|
||||
self.allow_mismatch = True
|
||||
self.cut_from_start = True
|
||||
self.state_metadata = None
|
||||
self.output_channels = output_channels
|
||||
|
||||
def is_past_end_timestep(self, timestep: float) -> bool:
|
||||
return not (timestep[0] > self.end_t).item()
|
||||
|
||||
def should_do_easycache(self, timestep: float) -> bool:
|
||||
return (timestep[0] <= self.start_t).item()
|
||||
|
||||
def has_x_prev_subsampled(self) -> bool:
|
||||
return self.x_prev_subsampled is not None
|
||||
|
||||
def has_output_prev_subsampled(self) -> bool:
|
||||
return self.output_prev_subsampled is not None
|
||||
|
||||
def has_output_prev_norm(self) -> bool:
|
||||
return self.output_prev_norm is not None
|
||||
|
||||
def has_relative_transformation_rate(self) -> bool:
|
||||
return self.relative_transformation_rate is not None
|
||||
|
||||
def prepare_timesteps(self, model_sampling):
|
||||
self.start_t = model_sampling.percent_to_sigma(self.start_percent)
|
||||
self.end_t = model_sampling.percent_to_sigma(self.end_percent)
|
||||
return self
|
||||
|
||||
def subsample(self, x: torch.Tensor, uuids: list[UUID], clone: bool = True) -> torch.Tensor:
|
||||
batch_offset = x.shape[0] // len(uuids)
|
||||
uuid_idx = uuids.index(self.first_cond_uuid)
|
||||
if self.subsample_factor > 1:
|
||||
to_return = x[uuid_idx*batch_offset:(uuid_idx+1)*batch_offset, ..., ::self.subsample_factor, ::self.subsample_factor]
|
||||
if clone:
|
||||
return to_return.clone()
|
||||
return to_return
|
||||
to_return = x[uuid_idx*batch_offset:(uuid_idx+1)*batch_offset, ...]
|
||||
if clone:
|
||||
return to_return.clone()
|
||||
return to_return
|
||||
|
||||
def can_apply_cache_diff(self, uuids: list[UUID]) -> bool:
|
||||
return all(uuid in self.uuid_cache_diffs for uuid in uuids)
|
||||
|
||||
def apply_cache_diff(self, x: torch.Tensor, uuids: list[UUID], is_audio: bool = False):
|
||||
if self.first_cond_uuid in uuids and not is_audio:
|
||||
self.total_steps_skipped += 1
|
||||
cache_diffs = self.uuid_cache_diffs_audio if is_audio else self.uuid_cache_diffs
|
||||
batch_offset = x.shape[0] // len(uuids)
|
||||
for i, uuid in enumerate(uuids):
|
||||
# slice out only what is relevant to this cond
|
||||
batch_slice = [slice(i*batch_offset,(i+1)*batch_offset)]
|
||||
# if cached dims don't match x dims, cut off excess and hope for the best (cosmos world2video)
|
||||
if x.shape[1:] != cache_diffs[uuid].shape[1:]:
|
||||
if not self.allow_mismatch:
|
||||
raise ValueError(f"Cached dims {self.uuid_cache_diffs[uuid].shape} don't match x dims {x.shape} - this is no good")
|
||||
slicing = []
|
||||
skip_this_dim = True
|
||||
for dim_u, dim_x in zip(cache_diffs[uuid].shape, x.shape):
|
||||
if skip_this_dim:
|
||||
skip_this_dim = False
|
||||
continue
|
||||
if dim_u != dim_x:
|
||||
if self.cut_from_start:
|
||||
slicing.append(slice(dim_x-dim_u, None))
|
||||
else:
|
||||
slicing.append(slice(None, dim_u))
|
||||
else:
|
||||
slicing.append(slice(None))
|
||||
batch_slice = batch_slice + slicing
|
||||
x[tuple(batch_slice)] += cache_diffs[uuid].to(x.device)
|
||||
return x
|
||||
|
||||
def update_cache_diff(self, output: torch.Tensor, x: torch.Tensor, uuids: list[UUID], is_audio: bool = False):
|
||||
cache_diffs = self.uuid_cache_diffs_audio if is_audio else self.uuid_cache_diffs
|
||||
# if output dims don't match x dims, cut off excess and hope for the best (cosmos world2video)
|
||||
if output.shape[1:] != x.shape[1:]:
|
||||
if not self.allow_mismatch:
|
||||
raise ValueError(f"Output dims {output.shape} don't match x dims {x.shape} - this is no good")
|
||||
slicing = []
|
||||
skip_dim = True
|
||||
for dim_o, dim_x in zip(output.shape, x.shape):
|
||||
if not skip_dim and dim_o != dim_x:
|
||||
if self.cut_from_start:
|
||||
slicing.append(slice(dim_x-dim_o, None))
|
||||
else:
|
||||
slicing.append(slice(None, dim_o))
|
||||
else:
|
||||
slicing.append(slice(None))
|
||||
skip_dim = False
|
||||
x = x[tuple(slicing)]
|
||||
diff = output - x
|
||||
batch_offset = diff.shape[0] // len(uuids)
|
||||
for i, uuid in enumerate(uuids):
|
||||
cache_diffs[uuid] = diff[i*batch_offset:(i+1)*batch_offset, ...]
|
||||
|
||||
def has_first_cond_uuid(self, uuids: list[UUID]) -> bool:
|
||||
return self.first_cond_uuid in uuids
|
||||
|
||||
def check_metadata(self, x: torch.Tensor) -> bool:
|
||||
metadata = (x.device, x.dtype, x.shape[1:])
|
||||
if self.state_metadata is None:
|
||||
self.state_metadata = metadata
|
||||
return True
|
||||
if metadata == self.state_metadata:
|
||||
return True
|
||||
logging.warn(f"{self.name} - Tensor shape, dtype or device changed, resetting state")
|
||||
self.reset()
|
||||
return False
|
||||
|
||||
def reset(self):
|
||||
self.relative_transformation_rate = 0.0
|
||||
self.cumulative_change_rate = 0.0
|
||||
self.initial_step = True
|
||||
self.skip_current_step = False
|
||||
self.output_change_rates = []
|
||||
self.first_cond_uuid = None
|
||||
del self.x_prev_subsampled
|
||||
self.x_prev_subsampled = None
|
||||
del self.output_prev_subsampled
|
||||
self.output_prev_subsampled = None
|
||||
del self.output_prev_norm
|
||||
self.output_prev_norm = None
|
||||
del self.uuid_cache_diffs
|
||||
self.uuid_cache_diffs = {}
|
||||
del self.uuid_cache_diffs_audio
|
||||
self.uuid_cache_diffs_audio = {}
|
||||
self.total_steps_skipped = 0
|
||||
self.state_metadata = None
|
||||
return self
|
||||
|
||||
def clone(self):
|
||||
return EasyCacheHolder(self.reuse_threshold, self.start_percent, self.end_percent, self.subsample_factor, self.offload_cache_diff, self.verbose, output_channels=self.output_channels)
|
||||
|
||||
|
||||
class EasyCacheNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls) -> io.Schema:
|
||||
return io.Schema(
|
||||
node_id="EasyCache",
|
||||
display_name="EasyCache",
|
||||
description="Native EasyCache implementation.",
|
||||
category="advanced/debug",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Model.Input("model", tooltip="The model to add EasyCache to."),
|
||||
io.Float.Input("reuse_threshold", min=0.0, default=0.2, max=3.0, step=0.01, tooltip="The threshold for reusing cached steps.", advanced=True),
|
||||
io.Float.Input("start_percent", min=0.0, default=0.15, max=1.0, step=0.01, tooltip="The relative sampling step to begin use of EasyCache.", advanced=True),
|
||||
io.Float.Input("end_percent", min=0.0, default=0.95, max=1.0, step=0.01, tooltip="The relative sampling step to end use of EasyCache.", advanced=True),
|
||||
io.Boolean.Input("verbose", default=False, tooltip="Whether to log verbose information.", advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Model.Output(tooltip="The model with EasyCache."),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, model: io.Model.Type, reuse_threshold: float, start_percent: float, end_percent: float, verbose: bool) -> io.NodeOutput:
|
||||
model = model.clone()
|
||||
model.model_options["transformer_options"]["easycache"] = EasyCacheHolder(reuse_threshold, start_percent, end_percent, subsample_factor=8, offload_cache_diff=False, verbose=verbose, output_channels=model.model.latent_format.latent_channels)
|
||||
model.add_wrapper_with_key(comfy.patcher_extension.WrappersMP.OUTER_SAMPLE, "easycache", easycache_sample_wrapper)
|
||||
model.add_wrapper_with_key(comfy.patcher_extension.WrappersMP.CALC_COND_BATCH, "easycache", easycache_calc_cond_batch_wrapper)
|
||||
model.add_wrapper_with_key(comfy.patcher_extension.WrappersMP.DIFFUSION_MODEL, "easycache", easycache_forward_wrapper)
|
||||
return io.NodeOutput(model)
|
||||
|
||||
|
||||
class LazyCacheHolder:
|
||||
def __init__(self, reuse_threshold: float, start_percent: float, end_percent: float, subsample_factor: int, offload_cache_diff: bool, verbose: bool=False, output_channels: int=None):
|
||||
self.name = "LazyCache"
|
||||
self.reuse_threshold = reuse_threshold
|
||||
self.start_percent = start_percent
|
||||
self.end_percent = end_percent
|
||||
self.subsample_factor = subsample_factor
|
||||
self.offload_cache_diff = offload_cache_diff
|
||||
self.verbose = verbose
|
||||
# timestep values
|
||||
self.start_t = 0.0
|
||||
self.end_t = 0.0
|
||||
# control values
|
||||
self.relative_transformation_rate: float = None
|
||||
self.cumulative_change_rate = 0.0
|
||||
self.initial_step = True
|
||||
# cache values
|
||||
self.x_prev_subsampled: torch.Tensor = None
|
||||
self.output_prev_subsampled: torch.Tensor = None
|
||||
self.output_prev_norm: torch.Tensor = None
|
||||
self.cache_diff: torch.Tensor = None
|
||||
self.output_change_rates = []
|
||||
self.approx_output_change_rates = []
|
||||
self.total_steps_skipped = 0
|
||||
self.state_metadata = None
|
||||
self.output_channels = output_channels
|
||||
|
||||
def has_cache_diff(self) -> bool:
|
||||
return self.cache_diff is not None
|
||||
|
||||
def is_past_end_timestep(self, timestep: float) -> bool:
|
||||
return not (timestep[0] > self.end_t).item()
|
||||
|
||||
def should_do_easycache(self, timestep: float) -> bool:
|
||||
return (timestep[0] <= self.start_t).item()
|
||||
|
||||
def has_x_prev_subsampled(self) -> bool:
|
||||
return self.x_prev_subsampled is not None
|
||||
|
||||
def has_output_prev_subsampled(self) -> bool:
|
||||
return self.output_prev_subsampled is not None
|
||||
|
||||
def has_output_prev_norm(self) -> bool:
|
||||
return self.output_prev_norm is not None
|
||||
|
||||
def has_relative_transformation_rate(self) -> bool:
|
||||
return self.relative_transformation_rate is not None
|
||||
|
||||
def prepare_timesteps(self, model_sampling):
|
||||
self.start_t = model_sampling.percent_to_sigma(self.start_percent)
|
||||
self.end_t = model_sampling.percent_to_sigma(self.end_percent)
|
||||
return self
|
||||
|
||||
def subsample(self, x: torch.Tensor, clone: bool = True) -> torch.Tensor:
|
||||
if self.subsample_factor > 1:
|
||||
to_return = x[..., ::self.subsample_factor, ::self.subsample_factor]
|
||||
if clone:
|
||||
return to_return.clone()
|
||||
return to_return
|
||||
if clone:
|
||||
return x.clone()
|
||||
return x
|
||||
|
||||
def apply_cache_diff(self, x: torch.Tensor):
|
||||
self.total_steps_skipped += 1
|
||||
return x + self.cache_diff.to(x.device)
|
||||
|
||||
def update_cache_diff(self, output: torch.Tensor, x: torch.Tensor):
|
||||
self.cache_diff = output - x
|
||||
|
||||
def check_metadata(self, x: torch.Tensor) -> bool:
|
||||
metadata = (x.device, x.dtype, x.shape)
|
||||
if self.state_metadata is None:
|
||||
self.state_metadata = metadata
|
||||
return True
|
||||
if metadata == self.state_metadata:
|
||||
return True
|
||||
logging.warn(f"{self.name} - Tensor shape, dtype or device changed, resetting state")
|
||||
self.reset()
|
||||
return False
|
||||
|
||||
def reset(self):
|
||||
self.relative_transformation_rate = 0.0
|
||||
self.cumulative_change_rate = 0.0
|
||||
self.initial_step = True
|
||||
self.output_change_rates = []
|
||||
self.approx_output_change_rates = []
|
||||
del self.cache_diff
|
||||
self.cache_diff = None
|
||||
del self.x_prev_subsampled
|
||||
self.x_prev_subsampled = None
|
||||
del self.output_prev_subsampled
|
||||
self.output_prev_subsampled = None
|
||||
del self.output_prev_norm
|
||||
self.output_prev_norm = None
|
||||
self.total_steps_skipped = 0
|
||||
self.state_metadata = None
|
||||
return self
|
||||
|
||||
def clone(self):
|
||||
return LazyCacheHolder(self.reuse_threshold, self.start_percent, self.end_percent, self.subsample_factor, self.offload_cache_diff, self.verbose, output_channels=self.output_channels)
|
||||
|
||||
class LazyCacheNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls) -> io.Schema:
|
||||
return io.Schema(
|
||||
node_id="LazyCache",
|
||||
display_name="LazyCache",
|
||||
description="A homebrew version of EasyCache - even 'easier' version of EasyCache to implement. Overall works worse than EasyCache, but better in some rare cases AND universal compatibility with everything in ComfyUI.",
|
||||
category="advanced/debug",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Model.Input("model", tooltip="The model to add LazyCache to."),
|
||||
io.Float.Input("reuse_threshold", min=0.0, default=0.2, max=3.0, step=0.01, tooltip="The threshold for reusing cached steps.", advanced=True),
|
||||
io.Float.Input("start_percent", min=0.0, default=0.15, max=1.0, step=0.01, tooltip="The relative sampling step to begin use of LazyCache.", advanced=True),
|
||||
io.Float.Input("end_percent", min=0.0, default=0.95, max=1.0, step=0.01, tooltip="The relative sampling step to end use of LazyCache.", advanced=True),
|
||||
io.Boolean.Input("verbose", default=False, tooltip="Whether to log verbose information.", advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Model.Output(tooltip="The model with LazyCache."),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, model: io.Model.Type, reuse_threshold: float, start_percent: float, end_percent: float, verbose: bool) -> io.NodeOutput:
|
||||
model = model.clone()
|
||||
model.model_options["transformer_options"]["easycache"] = LazyCacheHolder(reuse_threshold, start_percent, end_percent, subsample_factor=8, offload_cache_diff=False, verbose=verbose, output_channels=model.model.latent_format.latent_channels)
|
||||
model.add_wrapper_with_key(comfy.patcher_extension.WrappersMP.OUTER_SAMPLE, "lazycache", easycache_sample_wrapper)
|
||||
model.add_wrapper_with_key(comfy.patcher_extension.WrappersMP.PREDICT_NOISE, "lazycache", lazycache_predict_noise_wrapper)
|
||||
return io.NodeOutput(model)
|
||||
|
||||
|
||||
class EasyCacheExtension(ComfyExtension):
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
EasyCacheNode,
|
||||
LazyCacheNode,
|
||||
]
|
||||
|
||||
def comfy_entrypoint():
|
||||
return EasyCacheExtension()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,354 @@
|
||||
from typing import TypedDict
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
from comfy_api.latest import _io
|
||||
|
||||
# sentinel for missing inputs
|
||||
MISSING = object()
|
||||
|
||||
|
||||
class NotNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComfyNotNode",
|
||||
display_name="Not",
|
||||
category="utilities/logic",
|
||||
description="Logical NOT operation. Returns true if the value is falsy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["invert", "toggle", "negate", "flip boolean"],
|
||||
inputs=[
|
||||
io.AnyType.Input("value"),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value) -> io.NodeOutput:
|
||||
return io.NodeOutput(not value)
|
||||
|
||||
|
||||
class AndNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyAndNode",
|
||||
display_name="And",
|
||||
category="utilities/logic",
|
||||
description="Logical AND operation. Returns true if all of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["all", "every"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(all(values.values()))
|
||||
|
||||
|
||||
class OrNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyOrNode",
|
||||
display_name="Or",
|
||||
category="utilities/logic",
|
||||
description="Logical OR operation. Returns true if any of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["any", "some"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(any(values.values()))
|
||||
|
||||
|
||||
class SwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySwitchNode",
|
||||
search_aliases=["if", "then", "switch", "conditional", "branch"],
|
||||
display_name="If/Else Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True, optional=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True, optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true=MISSING, on_false=MISSING) -> io.NodeOutput:
|
||||
selected = on_true if switch else on_false
|
||||
return io.NodeOutput(None if selected is MISSING else selected)
|
||||
|
||||
|
||||
class SoftSwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySoftSwitchNode",
|
||||
display_name="Soft Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True, optional=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True, optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# We use MISSING instead of None, as None is passed for connected-but-unevaluated inputs.
|
||||
# This trick allows us to ignore the value of the switch and still be able to run execute().
|
||||
|
||||
# One of the inputs may be missing, in which case we need to evaluate the other input
|
||||
if on_false is MISSING:
|
||||
return ["on_true"]
|
||||
if on_true is MISSING:
|
||||
return ["on_false"]
|
||||
# Normal lazy switch operation
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# This check happens before check_lazy_status(), so we can eliminate the case where
|
||||
# both inputs are missing.
|
||||
if on_false is MISSING and on_true is MISSING:
|
||||
return "At least one of on_false or on_true must be connected to Switch node"
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true=MISSING, on_false=MISSING) -> io.NodeOutput:
|
||||
if on_true is MISSING:
|
||||
return io.NodeOutput(on_false)
|
||||
if on_false is MISSING:
|
||||
return io.NodeOutput(on_true)
|
||||
return io.NodeOutput(on_true if switch else on_false)
|
||||
|
||||
|
||||
class CustomComboNode(io.ComfyNode):
|
||||
"""
|
||||
Frontend node that allows user to write their own options for a combo.
|
||||
This is here to make sure the node has a backend-representation to avoid some annoyances.
|
||||
"""
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CustomCombo",
|
||||
display_name="Custom Combo",
|
||||
category="utilities",
|
||||
is_experimental=True,
|
||||
inputs=[io.Combo.Input("choice", options=[])],
|
||||
outputs=[
|
||||
io.String.Output(display_name="STRING"),
|
||||
io.Int.Output(display_name="INDEX"),
|
||||
],
|
||||
accept_all_inputs=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> bool:
|
||||
# NOTE: DO NOT DO THIS unless you want to skip validation entirely on the node's inputs.
|
||||
# I am doing that here because the widgets (besides the combo dropdown) on this node are fully frontend defined.
|
||||
# I need to skip checking that the chosen combo option is in the options list, since those are defined by the user.
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> io.NodeOutput:
|
||||
return io.NodeOutput(choice, index)
|
||||
|
||||
|
||||
class DCTestNode(io.ComfyNode):
|
||||
class DCValues(TypedDict):
|
||||
combo: str
|
||||
string: str
|
||||
integer: int
|
||||
image: io.Image.Type
|
||||
subcombo: dict[str]
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DCTestNode",
|
||||
display_name="DCTest",
|
||||
category="utilities/logic",
|
||||
is_output_node=True,
|
||||
inputs=[io.DynamicCombo.Input("combo", options=[
|
||||
io.DynamicCombo.Option("option1", [io.String.Input("string")]),
|
||||
io.DynamicCombo.Option("option2", [io.Int.Input("integer")]),
|
||||
io.DynamicCombo.Option("option3", [io.Image.Input("image")]),
|
||||
io.DynamicCombo.Option("option4", [
|
||||
io.DynamicCombo.Input("subcombo", options=[
|
||||
io.DynamicCombo.Option("opt1", [io.Float.Input("float_x"), io.Float.Input("float_y")]),
|
||||
io.DynamicCombo.Option("opt2", [io.Mask.Input("mask1", optional=True)]),
|
||||
])
|
||||
])]
|
||||
)],
|
||||
outputs=[io.AnyType.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: DCValues) -> io.NodeOutput:
|
||||
combo_val = combo["combo"]
|
||||
if combo_val == "option1":
|
||||
return io.NodeOutput(combo["string"])
|
||||
elif combo_val == "option2":
|
||||
return io.NodeOutput(combo["integer"])
|
||||
elif combo_val == "option3":
|
||||
return io.NodeOutput(combo["image"])
|
||||
elif combo_val == "option4":
|
||||
return io.NodeOutput(f"{combo['subcombo']}")
|
||||
else:
|
||||
raise ValueError(f"Invalid combo: {combo_val}")
|
||||
|
||||
|
||||
class AutogrowNamesTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplateNames(input=io.Float.Input("float"), names=["a", "b", "c"])
|
||||
return io.Schema(
|
||||
node_id="AutogrowNamesTestNode",
|
||||
display_name="AutogrowNamesTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class AutogrowPrefixTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplatePrefix(input=io.Float.Input("float"), prefix="float", min=1, max=10)
|
||||
return io.Schema(
|
||||
node_id="AutogrowPrefixTestNode",
|
||||
display_name="AutogrowPrefixTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class ComboOutputTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComboOptionTestNode",
|
||||
display_name="ComboOptionTest",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Combo.Input("combo", options=["option1", "option2", "option3"]),
|
||||
io.Combo.Input("combo2", options=["option4", "option5", "option6"])],
|
||||
outputs=[io.Combo.Output(), io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: io.Combo.Type, combo2: io.Combo.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(combo, combo2)
|
||||
|
||||
class ConvertStringToComboNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ConvertStringToComboNode",
|
||||
search_aliases=["string to dropdown", "text to combo"],
|
||||
display_name="Convert String to Combo",
|
||||
category="utilities/logic",
|
||||
inputs=[io.String.Input("string")],
|
||||
outputs=[io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(string)
|
||||
|
||||
class InvertBooleanNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="InvertBooleanNode",
|
||||
search_aliases=["not", "toggle", "negate", "flip boolean"],
|
||||
display_name="Invert Boolean",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Boolean.Input("boolean")],
|
||||
outputs=[io.Boolean.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, boolean: bool) -> io.NodeOutput:
|
||||
return io.NodeOutput(not boolean)
|
||||
|
||||
class LogicExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
SwitchNode,
|
||||
CustomComboNode,
|
||||
NotNode,
|
||||
AndNode,
|
||||
OrNode,
|
||||
# SoftSwitchNode,
|
||||
# ConvertStringToComboNode,
|
||||
# DCTestNode,
|
||||
# AutogrowNamesTestNode,
|
||||
# AutogrowPrefixTestNode,
|
||||
# ComboOutputTestNode,
|
||||
# InvertBooleanNode,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> LogicExtension:
|
||||
return LogicExtension()
|
||||
@@ -0,0 +1,144 @@
|
||||
import node_helpers
|
||||
import comfy.utils
|
||||
import math
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
import comfy.model_management
|
||||
import torch
|
||||
import nodes
|
||||
|
||||
class TextEncodeQwenImageEdit(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="TextEncodeQwenImageEdit",
|
||||
category="model/conditioning/qwen image",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Vae.Input("vae", optional=True),
|
||||
io.Image.Input("image", optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Conditioning.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, vae=None, image=None) -> io.NodeOutput:
|
||||
ref_latent = None
|
||||
if image is None:
|
||||
images = []
|
||||
else:
|
||||
samples = image.movedim(-1, 1)
|
||||
total = int(1024 * 1024)
|
||||
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by)
|
||||
height = round(samples.shape[2] * scale_by)
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
image = s.movedim(1, -1)
|
||||
images = [image[:, :, :, :3]]
|
||||
if vae is not None:
|
||||
ref_latent = vae.encode(image[:, :, :, :3])
|
||||
|
||||
tokens = clip.tokenize(prompt, images=images)
|
||||
conditioning = clip.encode_from_tokens_scheduled(tokens)
|
||||
if ref_latent is not None:
|
||||
conditioning = node_helpers.conditioning_set_values(conditioning, {"reference_latents": [ref_latent]}, append=True)
|
||||
return io.NodeOutput(conditioning)
|
||||
|
||||
|
||||
class TextEncodeQwenImageEditPlus(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="TextEncodeQwenImageEditPlus",
|
||||
category="model/conditioning/qwen image",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Vae.Input("vae", optional=True),
|
||||
io.Image.Input("image1", optional=True),
|
||||
io.Image.Input("image2", optional=True),
|
||||
io.Image.Input("image3", optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Conditioning.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, vae=None, image1=None, image2=None, image3=None) -> io.NodeOutput:
|
||||
ref_latents = []
|
||||
images = [image1, image2, image3]
|
||||
images_vl = []
|
||||
llama_template = "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n{}<|im_end|>\n<|im_start|>assistant\n"
|
||||
image_prompt = ""
|
||||
|
||||
for i, image in enumerate(images):
|
||||
if image is not None:
|
||||
samples = image.movedim(-1, 1)
|
||||
total = int(384 * 384)
|
||||
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by)
|
||||
height = round(samples.shape[2] * scale_by)
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
images_vl.append(s.movedim(1, -1))
|
||||
if vae is not None:
|
||||
total = int(1024 * 1024)
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by / 8.0) * 8
|
||||
height = round(samples.shape[2] * scale_by / 8.0) * 8
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
ref_latents.append(vae.encode(s.movedim(1, -1)[:, :, :, :3]))
|
||||
|
||||
image_prompt += "Picture {}: <|vision_start|><|image_pad|><|vision_end|>".format(i + 1)
|
||||
|
||||
tokens = clip.tokenize(image_prompt + prompt, images=images_vl, llama_template=llama_template)
|
||||
conditioning = clip.encode_from_tokens_scheduled(tokens)
|
||||
if len(ref_latents) > 0:
|
||||
conditioning = node_helpers.conditioning_set_values(conditioning, {"reference_latents": ref_latents}, append=True)
|
||||
return io.NodeOutput(conditioning)
|
||||
|
||||
|
||||
class EmptyQwenImageLayeredLatentImage(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="EmptyQwenImageLayeredLatentImage",
|
||||
display_name="Empty Qwen Image Layered Latent",
|
||||
category="model/latent/qwen",
|
||||
inputs=[
|
||||
io.Int.Input("width", default=640, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
||||
io.Int.Input("height", default=640, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
||||
io.Int.Input("layers", default=3, min=0, max=nodes.MAX_RESOLUTION, step=1),
|
||||
io.Int.Input("batch_size", default=1, min=1, max=4096),
|
||||
],
|
||||
outputs=[
|
||||
io.Latent.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, width, height, layers, batch_size=1) -> io.NodeOutput:
|
||||
latent = torch.zeros([batch_size, 16, layers + 1, height // 8, width // 8], device=comfy.model_management.intermediate_device())
|
||||
return io.NodeOutput({"samples": latent})
|
||||
|
||||
|
||||
class QwenExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
TextEncodeQwenImageEdit,
|
||||
TextEncodeQwenImageEditPlus,
|
||||
EmptyQwenImageLayeredLatentImage,
|
||||
]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> QwenExtension:
|
||||
return QwenExtension()
|
||||
@@ -0,0 +1,589 @@
|
||||
import os
|
||||
import time
|
||||
import mimetypes
|
||||
import logging
|
||||
from typing import Literal, List
|
||||
from collections.abc import Collection
|
||||
|
||||
from comfy.cli_args import args
|
||||
|
||||
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
||||
|
||||
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
|
||||
|
||||
# --base-directory - Resets all default paths configured in folder_paths with a new base path
|
||||
if args.base_directory:
|
||||
base_path = os.path.abspath(args.base_directory)
|
||||
else:
|
||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
if args.models_directory:
|
||||
models_dir = os.path.abspath(args.models_directory)
|
||||
else:
|
||||
models_dir = os.path.join(base_path, "models")
|
||||
|
||||
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
||||
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
||||
|
||||
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
|
||||
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
|
||||
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
|
||||
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
|
||||
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
|
||||
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
||||
|
||||
folder_names_and_paths["datasets"] = ([os.path.join(base_path, "datasets")], set())
|
||||
|
||||
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
||||
|
||||
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["background_removal"] = ([os.path.join(models_dir, "background_removal")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["frame_interpolation"] = ([os.path.join(models_dir, "frame_interpolation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["geometry_estimation"] = ([os.path.join(models_dir, "geometry_estimation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["optical_flow"] = ([os.path.join(models_dir, "optical_flow")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["detection"] = ([os.path.join(models_dir, "detection")], supported_pt_extensions)
|
||||
|
||||
output_directory = os.path.join(base_path, "output")
|
||||
temp_directory = os.path.join(base_path, "temp")
|
||||
input_directory = os.path.join(base_path, "input")
|
||||
user_directory = os.path.join(base_path, "user")
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
Helper class for managing file list cache data.
|
||||
"""
|
||||
def __init__(self):
|
||||
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
self.active = False
|
||||
|
||||
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
|
||||
if not self.active:
|
||||
return default
|
||||
return self.cache.get(key, default)
|
||||
|
||||
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
|
||||
if self.active:
|
||||
self.cache[key] = value
|
||||
|
||||
def clear(self):
|
||||
self.cache.clear()
|
||||
|
||||
def __enter__(self):
|
||||
self.active = True
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.active = False
|
||||
self.clear()
|
||||
|
||||
cache_helper = CacheHelper()
|
||||
|
||||
extension_mimetypes_cache = {
|
||||
"webp" : "image",
|
||||
"fbx" : "model",
|
||||
}
|
||||
|
||||
def map_legacy(folder_name: str) -> str:
|
||||
legacy = {"unet": "diffusion_models",
|
||||
"clip": "text_encoders"}
|
||||
return legacy.get(folder_name, folder_name)
|
||||
|
||||
if not os.path.exists(input_directory):
|
||||
try:
|
||||
os.makedirs(input_directory)
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
def set_temp_directory(temp_dir: str) -> None:
|
||||
global temp_directory
|
||||
temp_directory = temp_dir
|
||||
|
||||
def set_input_directory(input_dir: str) -> None:
|
||||
global input_directory
|
||||
input_directory = input_dir
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
return output_directory
|
||||
|
||||
def get_temp_directory() -> str:
|
||||
global temp_directory
|
||||
return temp_directory
|
||||
|
||||
def get_input_directory() -> str:
|
||||
global input_directory
|
||||
return input_directory
|
||||
|
||||
def get_user_directory() -> str:
|
||||
return user_directory
|
||||
|
||||
def set_user_directory(user_dir: str) -> None:
|
||||
global user_directory
|
||||
user_directory = user_dir
|
||||
|
||||
|
||||
# System User Protection - Protects system directories from HTTP endpoint access
|
||||
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
|
||||
# They use the '__' prefix convention (similar to Python's private member convention).
|
||||
SYSTEM_USER_PREFIX = "__"
|
||||
|
||||
|
||||
def get_system_user_directory(name: str = "system") -> str:
|
||||
"""
|
||||
Get the path to a System User directory.
|
||||
|
||||
System User directories (prefixed with '__') are only accessible via internal API,
|
||||
not through HTTP endpoints. Use this for storing system-internal data that
|
||||
should not be exposed to users.
|
||||
|
||||
Args:
|
||||
name: System user name (e.g., "system", "cache"). Must be alphanumeric
|
||||
with underscores allowed, but cannot start with underscore.
|
||||
|
||||
Returns:
|
||||
Absolute path to the system user directory.
|
||||
|
||||
Raises:
|
||||
ValueError: If name is empty, invalid, or starts with underscore.
|
||||
|
||||
Example:
|
||||
>>> get_system_user_directory("cache")
|
||||
'/path/to/user/__cache'
|
||||
"""
|
||||
if not name or not isinstance(name, str):
|
||||
raise ValueError("System user name cannot be empty")
|
||||
if not name.replace("_", "").isalnum():
|
||||
raise ValueError(f"Invalid system user name: '{name}'")
|
||||
if name.startswith("_"):
|
||||
raise ValueError("System user name should not start with underscore")
|
||||
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
|
||||
|
||||
|
||||
def get_public_user_directory(user_id: str) -> str | None:
|
||||
"""
|
||||
Get the path to a Public User directory for HTTP endpoint access.
|
||||
|
||||
This function provides structural security by returning None for any
|
||||
System User (prefixed with '__'). All HTTP endpoints should use this
|
||||
function instead of directly constructing user paths.
|
||||
|
||||
Args:
|
||||
user_id: User identifier from HTTP request.
|
||||
|
||||
Returns:
|
||||
Absolute path to the user directory, or None if user_id is invalid
|
||||
or refers to a System User.
|
||||
|
||||
Example:
|
||||
>>> get_public_user_directory("default")
|
||||
'/path/to/user/default'
|
||||
>>> get_public_user_directory("__system")
|
||||
None
|
||||
"""
|
||||
if not user_id or not isinstance(user_id, str):
|
||||
return None
|
||||
if user_id.startswith(SYSTEM_USER_PREFIX):
|
||||
return None
|
||||
return os.path.join(get_user_directory(), user_id)
|
||||
|
||||
|
||||
#NOTE: used in http server so don't put folders that should not be accessed remotely
|
||||
def get_directory_by_type(type_name: str) -> str | None:
|
||||
if type_name == "output":
|
||||
return get_output_directory()
|
||||
if type_name == "temp":
|
||||
return get_temp_directory()
|
||||
if type_name == "input":
|
||||
return get_input_directory()
|
||||
return None
|
||||
|
||||
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
|
||||
"""
|
||||
Example:
|
||||
files = os.listdir(folder_paths.get_input_directory())
|
||||
videos = filter_files_content_types(files, ["video"])
|
||||
|
||||
Note:
|
||||
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
|
||||
"""
|
||||
global extension_mimetypes_cache
|
||||
result = []
|
||||
for file in files:
|
||||
extension = file.split('.')[-1]
|
||||
if extension not in extension_mimetypes_cache:
|
||||
mime_type, _ = mimetypes.guess_type(file, strict=False)
|
||||
if not mime_type:
|
||||
continue
|
||||
content_type = mime_type.split('/')[0]
|
||||
extension_mimetypes_cache[extension] = content_type
|
||||
else:
|
||||
content_type = extension_mimetypes_cache[extension]
|
||||
|
||||
if content_type in content_types:
|
||||
result.append(file)
|
||||
return result
|
||||
|
||||
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
|
||||
# otherwise use default_path as base_dir
|
||||
def annotated_filepath(name: str) -> tuple[str, str | None]:
|
||||
if name.endswith("[output]"):
|
||||
base_dir = get_output_directory()
|
||||
name = name[:-9]
|
||||
elif name.endswith("[input]"):
|
||||
base_dir = get_input_directory()
|
||||
name = name[:-8]
|
||||
elif name.endswith("[temp]"):
|
||||
base_dir = get_temp_directory()
|
||||
name = name[:-7]
|
||||
else:
|
||||
return name, None
|
||||
|
||||
return name, base_dir
|
||||
|
||||
|
||||
# Content types a browser may execute or render inline. File endpoints that
|
||||
# serve user-controlled content must force these to download (and ideally set
|
||||
# Content-Disposition: attachment) to avoid stored XSS. Centralised here so the
|
||||
# /view and /userdata handlers can't drift apart. mimetypes.guess_type may
|
||||
# return either the text/* or application/* spelling depending on platform, so
|
||||
# both are listed.
|
||||
DANGEROUS_CONTENT_TYPES = {
|
||||
'text/html', 'text/html-sandboxed', 'application/xhtml+xml',
|
||||
'text/javascript', 'application/javascript', 'application/x-javascript',
|
||||
'application/ecmascript', 'text/css',
|
||||
'image/svg+xml', 'application/xml', 'text/xml',
|
||||
# message/rfc822 (.mht/.mhtml) can carry script in some browsers.
|
||||
'message/rfc822',
|
||||
}
|
||||
|
||||
|
||||
def is_dangerous_content_type(content_type: str | None) -> bool:
|
||||
"""Return True if a browser may execute or render `content_type` inline.
|
||||
|
||||
Normalises before matching so the check can't be slipped past with a
|
||||
charset/boundary parameter (``text/html; charset=utf-8``) or casing
|
||||
(``TEXT/HTML``). Any XML dialect (``*+xml`` or ``*/xml``) is treated as
|
||||
dangerous because XML can carry inline script via stylesheet/entity tricks,
|
||||
which also covers the ``application/{xslt,rss,atom,rdf}+xml`` family without
|
||||
enumerating each one. Endpoints serving user-controlled content should route
|
||||
a dangerous type to ``application/octet-stream`` + ``Content-Disposition:
|
||||
attachment`` + ``X-Content-Type-Options: nosniff``.
|
||||
"""
|
||||
if not content_type:
|
||||
return False
|
||||
normalized = content_type.split(';', 1)[0].strip().lower()
|
||||
if normalized in DANGEROUS_CONTENT_TYPES:
|
||||
return True
|
||||
return normalized.endswith('+xml') or normalized.endswith('/xml')
|
||||
|
||||
|
||||
def renders_safely_as_image(content_type: str | None, sec_fetch_dest: str | None) -> bool:
|
||||
"""Return True if a dangerous `content_type` is safe to serve inline anyway.
|
||||
|
||||
An SVG referenced by an ``<img>`` is loaded in secure static mode: scripts
|
||||
and external references are disabled, so the stored XSS that
|
||||
``is_dangerous_content_type`` guards against cannot fire. The attack needs
|
||||
the SVG to become a document, which is a separate ``Sec-Fetch-Dest``.
|
||||
Browsers set that header themselves and script cannot override it (the
|
||||
``Sec-`` prefix makes it a forbidden header name), so it is trustworthy for
|
||||
this decision. Anything else, including a missing header from a non-browser
|
||||
client or a proxy that strips it, fails closed.
|
||||
"""
|
||||
if sec_fetch_dest != 'image':
|
||||
return False
|
||||
return (content_type or '').split(';', 1)[0].strip().lower() == 'image/svg+xml'
|
||||
|
||||
|
||||
def is_within_directory(directory: str, target: str) -> bool:
|
||||
"""Return True if `target` resolves to a path inside `directory`.
|
||||
|
||||
Uses realpath on both operands so that a symlink placed inside `directory`
|
||||
that points elsewhere cannot escape the containment check at open time.
|
||||
"""
|
||||
try:
|
||||
directory = os.path.realpath(directory)
|
||||
target = os.path.realpath(target)
|
||||
return os.path.commonpath((directory, target)) == directory
|
||||
except ValueError:
|
||||
# ValueError is raised by realpath() on a path with an embedded null
|
||||
# byte, and by commonpath() on Windows when the paths are on different
|
||||
# drives. In either case the target is not safely within the directory.
|
||||
return False
|
||||
|
||||
|
||||
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
if default_dir is not None:
|
||||
base_dir = default_dir
|
||||
else:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.abspath(os.path.join(base_dir, name))
|
||||
# Prevent path traversal: the resolved path must stay within base_dir.
|
||||
# repr() the name in the message so a crafted value can't inject log lines.
|
||||
if not is_within_directory(base_dir, filepath):
|
||||
raise ValueError("Invalid file path: {!r}".format(name))
|
||||
return filepath
|
||||
|
||||
|
||||
def exists_annotated_filepath(name) -> bool:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.abspath(os.path.join(base_dir, name))
|
||||
# Treat traversal attempts as non-existent rather than probing the filesystem.
|
||||
if not is_within_directory(base_dir, filepath):
|
||||
return False
|
||||
return os.path.exists(filepath)
|
||||
|
||||
|
||||
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name in folder_names_and_paths:
|
||||
paths, _exts = folder_names_and_paths[folder_name]
|
||||
if full_folder_path in paths:
|
||||
if is_default and paths[0] != full_folder_path:
|
||||
# If the path to the folder is not the first in the list, move it to the beginning.
|
||||
paths.remove(full_folder_path)
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
if is_default:
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
paths.append(full_folder_path)
|
||||
else:
|
||||
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
||||
|
||||
def get_folder_paths(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
return folder_names_and_paths[folder_name][0][:]
|
||||
|
||||
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
|
||||
if not os.path.isdir(directory):
|
||||
return [], {}
|
||||
|
||||
if excluded_dir_names is None:
|
||||
excluded_dir_names = []
|
||||
|
||||
result = []
|
||||
dirs = {}
|
||||
|
||||
# Attempt to add the initial directory to dirs with error handling
|
||||
try:
|
||||
dirs[directory] = os.path.getmtime(directory)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
|
||||
|
||||
logging.debug("recursive file list on directory {}".format(directory))
|
||||
dirpath: str
|
||||
subdirs: list[str]
|
||||
filenames: list[str]
|
||||
|
||||
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
|
||||
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
|
||||
for file_name in filenames:
|
||||
try:
|
||||
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
|
||||
result.append(relative_path)
|
||||
except:
|
||||
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
|
||||
continue
|
||||
|
||||
for d in subdirs:
|
||||
path: str = os.path.join(dirpath, d)
|
||||
try:
|
||||
dirs[path] = os.path.getmtime(path)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
|
||||
continue
|
||||
logging.debug("found {} files".format(len(result)))
|
||||
return result, dirs
|
||||
|
||||
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
|
||||
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
|
||||
|
||||
|
||||
|
||||
def get_full_path(folder_name: str, filename: str) -> str | None:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in folder_names_and_paths:
|
||||
return None
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
filename = os.path.relpath(os.path.join("/", filename), "/")
|
||||
for x in folders[0]:
|
||||
full_path = os.path.join(x, filename)
|
||||
if os.path.isfile(full_path):
|
||||
return full_path
|
||||
elif os.path.islink(full_path):
|
||||
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
full_path = get_full_path(folder_name, filename)
|
||||
if full_path is None:
|
||||
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
|
||||
return full_path
|
||||
|
||||
|
||||
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
global folder_names_and_paths
|
||||
output_list = set()
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
output_folders = {}
|
||||
for x in folders[0]:
|
||||
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
|
||||
output_list.update(filter_files_extensions(files, folders[1]))
|
||||
output_folders = {**output_folders, **folders_all}
|
||||
|
||||
return sorted(list(output_list)), output_folders, time.perf_counter()
|
||||
|
||||
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
|
||||
strong_cache = cache_helper.get(folder_name)
|
||||
if strong_cache is not None:
|
||||
return strong_cache
|
||||
|
||||
global filename_list_cache
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in filename_list_cache:
|
||||
return None
|
||||
out = filename_list_cache[folder_name]
|
||||
|
||||
for x in out[1]:
|
||||
time_modified = out[1][x]
|
||||
folder = x
|
||||
if os.path.getmtime(folder) != time_modified:
|
||||
return None
|
||||
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
for x in folders[0]:
|
||||
if os.path.isdir(x):
|
||||
if x not in out[1]:
|
||||
return None
|
||||
|
||||
return out
|
||||
|
||||
def get_filename_list(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
out = cached_filename_list_(folder_name)
|
||||
if out is None:
|
||||
out = get_filename_list_(folder_name)
|
||||
global filename_list_cache
|
||||
filename_list_cache[folder_name] = out
|
||||
cache_helper.set(folder_name, out)
|
||||
return list(out[0])
|
||||
|
||||
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
|
||||
def map_filename(filename: str) -> tuple[int, str]:
|
||||
prefix_len = len(os.path.basename(filename_prefix))
|
||||
prefix = filename[:prefix_len + 1]
|
||||
try:
|
||||
remainder = filename[prefix_len + 1:]
|
||||
base_remainder = remainder.split('.')[0]
|
||||
digits = int(base_remainder.split('_')[0])
|
||||
except:
|
||||
digits = 0
|
||||
return digits, prefix
|
||||
|
||||
def compute_vars(input: str, image_width: int, image_height: int) -> str:
|
||||
input = input.replace("%width%", str(image_width))
|
||||
input = input.replace("%height%", str(image_height))
|
||||
now = time.localtime()
|
||||
input = input.replace("%year%", str(now.tm_year))
|
||||
input = input.replace("%month%", str(now.tm_mon).zfill(2))
|
||||
input = input.replace("%day%", str(now.tm_mday).zfill(2))
|
||||
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
|
||||
input = input.replace("%minute%", str(now.tm_min).zfill(2))
|
||||
input = input.replace("%second%", str(now.tm_sec).zfill(2))
|
||||
return input
|
||||
|
||||
if "%" in filename_prefix:
|
||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(output_dir, subfolder)
|
||||
|
||||
if not is_within_directory(output_dir, full_output_folder):
|
||||
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
|
||||
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
|
||||
"\n output_dir: " + output_dir
|
||||
logging.error(err)
|
||||
raise Exception(err)
|
||||
|
||||
try:
|
||||
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
|
||||
except ValueError:
|
||||
counter = 1
|
||||
except FileNotFoundError:
|
||||
os.makedirs(full_output_folder, exist_ok=True)
|
||||
counter = 1
|
||||
return full_output_folder, filename, counter, subfolder, filename_prefix
|
||||
|
||||
def get_input_subfolders() -> list[str]:
|
||||
"""Returns a list of all subfolder paths in the input directory, recursively.
|
||||
|
||||
Returns:
|
||||
List of folder paths relative to the input directory, excluding the root directory
|
||||
"""
|
||||
input_dir = get_input_directory()
|
||||
folders = []
|
||||
|
||||
try:
|
||||
if not os.path.exists(input_dir):
|
||||
return []
|
||||
|
||||
for root, dirs, _ in os.walk(input_dir):
|
||||
rel_path = os.path.relpath(root, input_dir)
|
||||
if rel_path != ".": # Only include non-root directories
|
||||
# Normalize path separators to forward slashes
|
||||
folders.append(rel_path.replace(os.sep, '/'))
|
||||
|
||||
return sorted(folders)
|
||||
except FileNotFoundError:
|
||||
return []
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,6 @@
|
||||
tree 3df3bd1e738c7f77512778651f68cc5d3d28c523
|
||||
parent a5e4e216c77fa7c3546b76abb1d2eadf2621496a
|
||||
author fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1790374137 +0000
|
||||
committer fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1790374137 +0000
|
||||
|
||||
ComfyUI v0.37.4
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/Comfy-Org/ComfyUI
|
||||
* tag v0.37.4 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "8ff6dc384ba5c410266b40e137799e049459d4f2",
|
||||
"commit": "8ff6dc384ba5c410266b40e137799e049459d4f2",
|
||||
"tag": "v0.37.4"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 3df3bd1e738c7f77512778651f68cc5d3d28c523
|
||||
parent a5e4e216c77fa7c3546b76abb1d2eadf2621496a
|
||||
author fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1790374137 +0000
|
||||
committer fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1790374137 +0000
|
||||
|
||||
ComfyUI v0.37.4
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,353 @@
|
||||
# https://github.com/huggingface/diffusers (Apache 2.0) Qwen-Image 2.1
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
import comfy.model_management
|
||||
import comfy.ops
|
||||
import comfy.patcher_extension
|
||||
import comfy.quant_ops
|
||||
import comfy.rmsnorm
|
||||
from comfy.ldm.flux.layers import EmbedND, timestep_embedding
|
||||
from comfy.ldm.flux.math import apply_rope1
|
||||
from comfy.ldm.lightricks.model import TimestepEmbedding
|
||||
from comfy.ldm.modules.attention import optimized_attention
|
||||
from comfy.ldm.wan.model_animate2 import PoseBranchCache
|
||||
|
||||
|
||||
class ZeroCenteredRMSNorm(nn.Module):
|
||||
# stored weight is scale - 1, applied in fp32
|
||||
def __init__(self, dim, eps=1e-6, dtype=None, device=None):
|
||||
super().__init__()
|
||||
self.weight = nn.Parameter(torch.empty(dim, dtype=dtype, device=device))
|
||||
self.eps = eps
|
||||
|
||||
def forward(self, x):
|
||||
w = comfy.model_management.cast_to(self.weight, dtype=torch.float32, device=x.device) + 1.0
|
||||
return comfy.rmsnorm.rms_norm(x.float(), w, self.eps).to(x.dtype)
|
||||
|
||||
|
||||
class TextProjection(nn.Module):
|
||||
def __init__(self, in_dim, hidden_size, eps=1e-6, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.text_norm = ZeroCenteredRMSNorm(in_dim, eps=eps, dtype=dtype, device=device)
|
||||
self.in_layer = operations.Linear(in_dim, hidden_size, bias=False, dtype=dtype, device=device)
|
||||
self.out_layer = operations.Linear(hidden_size, hidden_size, bias=False, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x):
|
||||
return self.out_layer(F.gelu(self.in_layer(self.text_norm(x)), approximate="tanh"))
|
||||
|
||||
|
||||
class TimestepProjEmbeddings(nn.Module):
|
||||
def __init__(self, embedding_dim, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.timestep_embedder = TimestepEmbedding(in_channels=256, time_embed_dim=embedding_dim, sample_proj_bias=False, dtype=dtype, device=device, operations=operations)
|
||||
|
||||
def forward(self, timestep, dtype):
|
||||
return self.timestep_embedder(timestep_embedding(timestep.float(), 256).to(dtype))
|
||||
|
||||
|
||||
class SwiGLUFeedForward(nn.Module):
|
||||
def __init__(self, dim, hidden_dim, fused=True, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.fused = fused
|
||||
if fused:
|
||||
# [gate; up] in one GEMM, the SiLU-gate folded into the down projection's input quantizer
|
||||
self.gate_up = operations.Linear(dim, 2 * hidden_dim, bias=False, dtype=dtype, device=device)
|
||||
else:
|
||||
self.proj = operations.Linear(dim, hidden_dim, bias=False, dtype=dtype, device=device)
|
||||
self.gate_layer = operations.Linear(dim, hidden_dim, bias=False, dtype=dtype, device=device)
|
||||
self.out = operations.Linear(hidden_dim, dim, bias=False, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x):
|
||||
if self.fused:
|
||||
return comfy.ops.linear_input_act(self.out, self.gate_up(x), "swiglu")
|
||||
return self.out(F.silu(self.gate_layer(x)) * self.proj(x))
|
||||
|
||||
|
||||
class Attention(nn.Module):
|
||||
def __init__(self, dim, heads, dim_head, eps=1e-6, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.heads = heads
|
||||
inner_dim = heads * dim_head
|
||||
self.to_q = operations.Linear(dim, inner_dim, bias=False, dtype=dtype, device=device)
|
||||
self.to_k = operations.Linear(dim, inner_dim, bias=False, dtype=dtype, device=device)
|
||||
self.to_v = operations.Linear(dim, inner_dim, bias=False, dtype=dtype, device=device)
|
||||
self.to_out = nn.ModuleList([operations.Linear(inner_dim, dim, bias=False, dtype=dtype, device=device)])
|
||||
self.norm_q = operations.RMSNorm(dim_head, eps=eps, dtype=dtype, device=device)
|
||||
self.norm_k = operations.RMSNorm(dim_head, eps=eps, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x, pe, attn_fn, prefix_len, transformer_options={}):
|
||||
# (B, N, H, D) throughout: no transposes, the rope table is laid out to match
|
||||
B, N, _ = x.shape
|
||||
q = self.to_q(x).view(B, N, self.heads, -1)
|
||||
k = self.to_k(x).view(B, N, self.heads, -1)
|
||||
v = self.to_v(x).view(B, N, self.heads, -1)
|
||||
patches = transformer_options.get("patches", {}).get("attn1_patch", [])
|
||||
if comfy.model_management.in_training or patches:
|
||||
q, k = self.norm_q(q), self.norm_k(k)
|
||||
if patches:
|
||||
# patches see the Qwen-Image convention: (B, H, N, D) before rope, rope table (1, 1, N, ...), target image rows in img_slice
|
||||
q, k, v, pe = q.transpose(1, 2), k.transpose(1, 2), v.transpose(1, 2), pe.transpose(1, 2)
|
||||
extra_options = {**transformer_options, "img_slice": [prefix_len, N]}
|
||||
for p in patches:
|
||||
out = p(q, k, v, pe=pe, attn_mask=None, extra_options=extra_options)
|
||||
q, k, v, pe = out.get("q", q), out.get("k", k), out.get("v", v), out.get("pe", pe)
|
||||
q, k, v, pe = q.transpose(1, 2).contiguous(), k.transpose(1, 2).contiguous(), v.transpose(1, 2).contiguous(), pe.transpose(1, 2).contiguous()
|
||||
q = apply_rope1(q, pe)
|
||||
k = apply_rope1(k, pe)
|
||||
else:
|
||||
q_scale, _, q_stream = comfy.ops.cast_bias_weight(self.norm_q, q, offloadable=True)
|
||||
k_scale, _, k_stream = comfy.ops.cast_bias_weight(self.norm_k, k, offloadable=True)
|
||||
q, k = comfy.quant_ops.ck.rms_rope(q, k, pe, q_scale, k_scale, self.norm_q.eps)
|
||||
comfy.ops.uncast_bias_weight(self.norm_q, q_scale, None, q_stream)
|
||||
comfy.ops.uncast_bias_weight(self.norm_k, k_scale, None, k_stream)
|
||||
return self.to_out[0](attn_fn(q, k, v, self.heads))
|
||||
|
||||
|
||||
def _split_rows(p):
|
||||
# shared modulation rows: (t = 0 row for text and references, sampled-t rows for the target)
|
||||
return p[-1:].unsqueeze(1), p[:-1].unsqueeze(1)
|
||||
|
||||
|
||||
def _modulated_norm(norm, x, scale, prefix_len, zero):
|
||||
# LayerNorm * (1 + scale), fused over every row with the target scale; the prefix rows are then redone with the t = 0 scale
|
||||
s_prefix, s_target = scale
|
||||
if comfy.model_management.in_training:
|
||||
out = norm(x)
|
||||
return torch.cat([out[:, :prefix_len] * (1 + s_prefix), out[:, prefix_len:] * (1 + s_target)], dim=1)
|
||||
out = comfy.quant_ops.ck.adaln(x, s_target, zero, norm.eps)
|
||||
if prefix_len:
|
||||
out[:, :prefix_len] = comfy.quant_ops.ck.adaln(x[:, :prefix_len], s_prefix, zero, norm.eps)
|
||||
return out
|
||||
|
||||
|
||||
def _gated_residual(x, y, gate, prefix_len):
|
||||
g_prefix, g_target = gate
|
||||
out = torch.addcmul(x, y, g_target)
|
||||
if prefix_len:
|
||||
out[:, :prefix_len] = torch.addcmul(x[:, :prefix_len], y[:, :prefix_len], g_prefix)
|
||||
return out
|
||||
|
||||
|
||||
class QwenImage21TransformerBlock(nn.Module):
|
||||
def __init__(self, dim, num_attention_heads, attention_head_dim, mlp_ratio=3, eps=1e-6, fused_mlp=True, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.img_norm1 = operations.LayerNorm(dim, elementwise_affine=False, eps=eps, dtype=dtype, device=device)
|
||||
self.attn = Attention(dim, num_attention_heads, attention_head_dim, eps=eps, dtype=dtype, device=device, operations=operations)
|
||||
self.img_norm2 = operations.LayerNorm(dim, elementwise_affine=False, eps=eps, dtype=dtype, device=device)
|
||||
self.img_mlp = SwiGLUFeedForward(dim, dim * mlp_ratio, fused=fused_mlp, dtype=dtype, device=device, operations=operations)
|
||||
|
||||
def forward(self, x, mod, pe, attn_fn, prefix_len, transformer_options={}):
|
||||
scale1, gate1, scale2, gate2, zero = mod
|
||||
x = _gated_residual(x, self.attn(_modulated_norm(self.img_norm1, x, scale1, prefix_len, zero), pe, attn_fn, prefix_len, transformer_options), gate1, prefix_len)
|
||||
x = _gated_residual(x, self.img_mlp(_modulated_norm(self.img_norm2, x, scale2, prefix_len, zero)), gate2, prefix_len)
|
||||
if x.dtype == torch.float16:
|
||||
x = x.clip(-65504, 65504)
|
||||
return x
|
||||
|
||||
|
||||
class LastLayer(nn.Module):
|
||||
# scale only, no shift
|
||||
def __init__(self, dim, eps=1e-6, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.linear = operations.Linear(dim, dim, bias=False, dtype=dtype, device=device)
|
||||
self.norm = operations.LayerNorm(dim, eps, elementwise_affine=False, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x, temb):
|
||||
scale = self.linear(F.silu(temb)).unsqueeze(1)
|
||||
if comfy.model_management.in_training:
|
||||
return self.norm(x) * (1 + scale)
|
||||
return comfy.quant_ops.ck.adaln(x, scale, torch.zeros_like(scale[:1]), self.norm.eps)
|
||||
|
||||
|
||||
def block_causal_attention(segments, transformer_options={}, cache=None, block_index=0, prefix_len=0):
|
||||
# segments: (start, end, mask); text segments get a causal mask, image blocks attend to everything before their end
|
||||
def attn(q, k, v, heads):
|
||||
if cache is not None:
|
||||
# K and V stacked on dim 1 so batch stays first and quantized rows are per token and head
|
||||
cache.put(block_index, torch.stack([k[:, :prefix_len], v[:, :prefix_len]], dim=1))
|
||||
outs = [optimized_attention(q[:, start:end].flatten(2), k[:, :end].flatten(2), v[:, :end].flatten(2), heads, mask=mask, transformer_options=transformer_options)
|
||||
for start, end, mask in segments]
|
||||
return torch.cat(outs, dim=1) if len(outs) > 1 else outs[0]
|
||||
return attn
|
||||
|
||||
|
||||
def prefix_cached_attention(prefix_k, prefix_v, transformer_options={}):
|
||||
# target-only queries: block-causal reduces to full attention over [cached prefix, target]
|
||||
def attn(q, k, v, heads):
|
||||
return optimized_attention(q.flatten(2), torch.cat([prefix_k, k], dim=1).flatten(2), torch.cat([prefix_v, v], dim=1).flatten(2), heads, transformer_options=transformer_options)
|
||||
return attn
|
||||
|
||||
|
||||
def prefix_cache_key(x, context, refs, slots):
|
||||
# one fp32 tensor per batch row: lengths and slots, then the prompt embedding and reference latents
|
||||
# the target shape is part of it because reference rope ids are centred on the target
|
||||
header = [context.shape[1], len(refs)] + list(x.shape[-2:]) + list(slots) + [s for r in refs for s in r.shape[-2:]]
|
||||
header = torch.tensor(header, dtype=torch.float32, device=context.device).expand(context.shape[0], -1)
|
||||
return torch.cat([header, context.float().flatten(1)] + [r.float().flatten(1) for r in refs], dim=1)
|
||||
|
||||
|
||||
class QwenImage21Transformer2DModel(nn.Module):
|
||||
def __init__(
|
||||
self,
|
||||
in_channels=64,
|
||||
out_channels=64,
|
||||
num_layers=32,
|
||||
attention_head_dim=128,
|
||||
num_attention_heads=32,
|
||||
context_in_dim=4096,
|
||||
mlp_ratio=3,
|
||||
axes_dims_rope=(16, 56, 56),
|
||||
eps=1e-6,
|
||||
fused_mlp=True,
|
||||
image_model=None,
|
||||
dtype=None,
|
||||
device=None,
|
||||
operations=None,
|
||||
):
|
||||
super().__init__()
|
||||
self.dtype = dtype
|
||||
self.out_channels = out_channels
|
||||
self.inner_dim = num_attention_heads * attention_head_dim
|
||||
|
||||
self.pe_embedder = EmbedND(dim=attention_head_dim, theta=10000, axes_dim=list(axes_dims_rope))
|
||||
self.time_text_embed = TimestepProjEmbeddings(self.inner_dim, dtype=dtype, device=device, operations=operations)
|
||||
self.txt_in = TextProjection(context_in_dim, self.inner_dim, eps=eps, dtype=dtype, device=device, operations=operations)
|
||||
self.img_in = operations.Linear(in_channels, self.inner_dim, bias=False, dtype=dtype, device=device)
|
||||
|
||||
# one modulation shared by every block
|
||||
self.modulation = nn.Sequential(nn.SiLU(), operations.Linear(self.inner_dim, 4 * self.inner_dim, bias=False, dtype=dtype, device=device))
|
||||
|
||||
self.transformer_blocks = nn.ModuleList([
|
||||
QwenImage21TransformerBlock(self.inner_dim, num_attention_heads, attention_head_dim, mlp_ratio=mlp_ratio, eps=eps, fused_mlp=fused_mlp, dtype=dtype, device=device, operations=operations)
|
||||
for _ in range(num_layers)
|
||||
])
|
||||
|
||||
self.norm_out = LastLayer(self.inner_dim, eps=eps, dtype=dtype, device=device, operations=operations)
|
||||
self.proj_out = operations.Linear(self.inner_dim, out_channels, bias=False, dtype=dtype, device=device)
|
||||
|
||||
# text + reference K/V are step-independent (t = 0 modulation, causal prefix), cached for one sampling run
|
||||
self.prefix_cache = None
|
||||
self.prefix_cache_enabled = False
|
||||
|
||||
def reset_prefix_cache(self, enabled):
|
||||
if self.prefix_cache is not None:
|
||||
self.prefix_cache.free()
|
||||
self.prefix_cache = None
|
||||
self.prefix_cache_enabled = enabled
|
||||
|
||||
def select_prefix_cache(self, key, cache_bytes, device, options):
|
||||
# returns (cache with the slot to read or fill selected, whether the slot is filled), or (None, False) to recompute
|
||||
if options.get("device") == "off":
|
||||
return None, False
|
||||
cache = self.prefix_cache
|
||||
if cache is not None and cache.select(key, create=False):
|
||||
return cache, cache.filled(len(self.transformer_blocks))
|
||||
dtype = options.get("dtype", "default")
|
||||
cache_bytes //= {"int8": 2, "int4": 4}.get(dtype, 1)
|
||||
if cache is None:
|
||||
store = options.get("device", "auto")
|
||||
if store == "auto":
|
||||
# spare VRAM first, then pinned RAM prefetched behind compute; room for cond and uncond
|
||||
store = next((d for d in (device, torch.device("cpu")) if comfy.model_management.get_free_memory(d) > 4 * cache_bytes), None)
|
||||
if store is None:
|
||||
return None, False
|
||||
else:
|
||||
store = device if store == "gpu" else torch.device("cpu")
|
||||
cache = self.prefix_cache = PoseBranchCache(store_device=store, dtype=dtype)
|
||||
if comfy.model_management.get_free_memory(cache.store_device) < 2 * cache_bytes:
|
||||
# no room for this slot: recompute rather than evict the other cond's slot every step
|
||||
return None, False
|
||||
cache.select(key)
|
||||
return cache, False
|
||||
|
||||
def build_sequence(self, x, context, ref_latents, image_slots):
|
||||
# text with each reference image spliced in at its slot, target image last
|
||||
txt = self.txt_in(context)
|
||||
slots = (image_slots + [txt.shape[1]] * len(ref_latents))[:len(ref_latents)]
|
||||
bounds = [0] + slots + [txt.shape[1]]
|
||||
|
||||
parts, ids, segments = [], [], []
|
||||
pos, length = 0, 0
|
||||
for (start, end), img in zip(zip(bounds[:-1], bounds[1:]), ref_latents + [x]):
|
||||
n = end - start
|
||||
if n > 0:
|
||||
parts.append(txt[:, start:end])
|
||||
ids.append(torch.arange(pos, pos + n, device=x.device, dtype=torch.float32).unsqueeze(1).expand(n, 3))
|
||||
segments.append((length, length + n, torch.ones((n, length + n), dtype=torch.bool, device=x.device).tril(length)))
|
||||
pos += n
|
||||
length += n
|
||||
h, w = img.shape[-2:]
|
||||
parts.append(self.img_in(img.flatten(2).transpose(1, 2)))
|
||||
# half a token where a reference grid has the other parity, so it centres on the target
|
||||
hh = torch.arange(h, device=x.device, dtype=torch.float32) - (h - h // 2) + 0.5 * (h % 2 - x.shape[-2] % 2)
|
||||
ww = torch.arange(w, device=x.device, dtype=torch.float32) - (w - w // 2) + 0.5 * (w % 2 - x.shape[-1] % 2)
|
||||
ids.append(torch.stack([torch.full((h, w), pos, device=x.device, dtype=torch.float32), hh[:, None].expand(h, w), ww[None, :].expand(h, w)], dim=-1).flatten(0, 1))
|
||||
segments.append((length, length + h * w, None))
|
||||
pos += max(h, w)
|
||||
length += h * w
|
||||
|
||||
# (1, N, 1, ...): the layout the fused rms_rope wants for (B, N, H, D) queries
|
||||
pe = self.pe_embedder(torch.cat(ids, dim=0).unsqueeze(0)).transpose(1, 2).contiguous()
|
||||
return torch.cat(parts, dim=1), pe, segments
|
||||
|
||||
def forward(self, x, timestep, context, ref_latents=None, image_slots=None, transformer_options={}, **kwargs):
|
||||
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
|
||||
self._forward,
|
||||
self,
|
||||
comfy.patcher_extension.get_all_wrappers(comfy.patcher_extension.WrappersMP.DIFFUSION_MODEL, transformer_options)
|
||||
).execute(x, timestep, context, ref_latents, image_slots, transformer_options, **kwargs)
|
||||
|
||||
def _forward(self, x, timesteps, context, ref_latents=None, image_slots=None, transformer_options={}, **kwargs):
|
||||
B, C, H, W = x.shape
|
||||
dtype = x.dtype
|
||||
ref_latents = list(ref_latents or [])
|
||||
image_slots = list(image_slots or [])
|
||||
|
||||
hidden_states, pe, segments = self.build_sequence(x, context, ref_latents, image_slots)
|
||||
prefix_len = hidden_states.shape[1] - H * W
|
||||
patches = transformer_options.get("patches", {})
|
||||
for p in patches.get("post_input", []):
|
||||
out = p({"img": hidden_states, "pe": pe, "transformer_options": transformer_options})
|
||||
hidden_states, pe = out["img"], out.get("pe", pe)
|
||||
|
||||
# pipeline rounds t*1000 and t to the compute dtype; text and reference tokens modulate from t = 0
|
||||
t = ((timesteps * 1000).to(dtype) / 1000).to(dtype)
|
||||
temb = self.time_text_embed(torch.cat([t, t.new_zeros(1)]), dtype)
|
||||
scale1, gate1, scale2, gate2 = self.modulation(temb).chunk(4, dim=-1)
|
||||
mod = (_split_rows(scale1), _split_rows(gate1.tanh()), _split_rows(scale2), _split_rows(gate2.tanh()), torch.zeros_like(scale1[:1, None]))
|
||||
|
||||
blocks_replace = transformer_options.get("patches_replace", {}).get("dit", {})
|
||||
cache, cached = None, False
|
||||
# a cached step runs target rows only, so anything hooked into a block would see a different sequence from step 2
|
||||
hooked = blocks_replace or patches.get("post_input") or patches.get("single_block") or patches.get("attn1_patch")
|
||||
if self.prefix_cache_enabled and prefix_len > 0 and not hooked:
|
||||
key = prefix_cache_key(x, context, ref_latents, image_slots)
|
||||
cache_bytes = 2 * len(self.transformer_blocks) * B * prefix_len * self.inner_dim * hidden_states.element_size()
|
||||
cache, cached = self.select_prefix_cache(key, cache_bytes, x.device, transformer_options.get("qwen_image21_cache", {}))
|
||||
if cached:
|
||||
hidden_states, pe, prefix_len = hidden_states[:, prefix_len:], pe[:, prefix_len:], 0
|
||||
|
||||
transformer_options["total_blocks"] = len(self.transformer_blocks)
|
||||
transformer_options["block_type"] = "single"
|
||||
for i, block in enumerate(self.transformer_blocks):
|
||||
transformer_options["block_index"] = i
|
||||
if cached:
|
||||
prefix_k, prefix_v = cache.take(i, x.device, dtype, B).unbind(1)
|
||||
cache.prefetch(i + 1, x.device, dtype) # queue the next block before the compute it should overlap
|
||||
attn_fn = prefix_cached_attention(prefix_k, prefix_v, transformer_options)
|
||||
else:
|
||||
attn_fn = block_causal_attention(segments, transformer_options, cache, i, prefix_len)
|
||||
if ("single_block", i) in blocks_replace:
|
||||
def block_wrap(args):
|
||||
return {"img": block(args["img"], mod, args["pe"], attn_fn, prefix_len, args["transformer_options"])}
|
||||
hidden_states = blocks_replace[("single_block", i)]({"img": hidden_states, "vec": temb, "pe": pe, "transformer_options": transformer_options}, {"original_block": block_wrap})["img"]
|
||||
else:
|
||||
hidden_states = block(hidden_states, mod, pe, attn_fn, prefix_len, transformer_options)
|
||||
for p in patches.get("single_block", []):
|
||||
hidden_states = p({"img": hidden_states, "x": x, "block_index": i, "transformer_options": transformer_options})["img"]
|
||||
|
||||
hidden_states = self.norm_out(hidden_states[:, prefix_len:], temb[:-1])
|
||||
hidden_states = self.proj_out(hidden_states)
|
||||
return hidden_states.transpose(1, 2).reshape(B, self.out_channels, H, W)
|
||||
@@ -0,0 +1,178 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
from comfy_api.internal import ComfyAPIBase
|
||||
from comfy_api.internal.singleton import ProxiedSingleton
|
||||
from comfy_api.internal.async_to_sync import create_sync_class
|
||||
from ._input import ImageInput, AudioInput, MaskInput, LatentInput, VideoInput
|
||||
from ._input_impl import VideoFromFile, VideoFromComponents, VideoFromList
|
||||
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL, SPLAT, File3D
|
||||
from . import _io_public as io
|
||||
from . import _ui_public as ui
|
||||
from comfy_execution.utils import get_executing_context
|
||||
from comfy_execution.progress import get_progress_state, PreviewImageTuple
|
||||
from PIL import Image
|
||||
from comfy.cli_args import args
|
||||
import numpy as np
|
||||
|
||||
|
||||
class ComfyAPI_latest(ComfyAPIBase):
|
||||
VERSION = "latest"
|
||||
STABLE = False
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.node_replacement = self.NodeReplacement()
|
||||
self.execution = self.Execution()
|
||||
self.caching = self.Caching()
|
||||
|
||||
class NodeReplacement(ProxiedSingleton):
|
||||
async def register(self, node_replace: io.NodeReplace) -> None:
|
||||
"""Register a node replacement mapping."""
|
||||
from server import PromptServer
|
||||
PromptServer.instance.node_replace_manager.register(node_replace)
|
||||
|
||||
class Execution(ProxiedSingleton):
|
||||
async def set_progress(
|
||||
self,
|
||||
value: float,
|
||||
max_value: float,
|
||||
node_id: str | None = None,
|
||||
preview_image: Image.Image | ImageInput | None = None,
|
||||
ignore_size_limit: bool = False,
|
||||
) -> None:
|
||||
"""
|
||||
Update the progress bar displayed in the ComfyUI interface.
|
||||
|
||||
This function allows custom nodes and API calls to report their progress
|
||||
back to the user interface, providing visual feedback during long operations.
|
||||
|
||||
Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK
|
||||
"""
|
||||
executing_context = get_executing_context()
|
||||
if node_id is None and executing_context is not None:
|
||||
node_id = executing_context.node_id
|
||||
if node_id is None:
|
||||
raise ValueError("node_id must be provided if not in executing context")
|
||||
|
||||
# Convert preview_image to PreviewImageTuple if needed
|
||||
to_display: PreviewImageTuple | Image.Image | ImageInput | None = preview_image
|
||||
if to_display is not None:
|
||||
# First convert to PIL Image if needed
|
||||
if isinstance(to_display, ImageInput):
|
||||
# Convert ImageInput (torch.Tensor) to PIL Image
|
||||
# Handle tensor shape [B, H, W, C] -> get first image if batch
|
||||
tensor = to_display
|
||||
if len(tensor.shape) == 4:
|
||||
tensor = tensor[0]
|
||||
|
||||
# Convert to numpy array and scale to 0-255
|
||||
image_np = (tensor.cpu().numpy() * 255).astype(np.uint8)
|
||||
to_display = Image.fromarray(image_np)
|
||||
|
||||
if isinstance(to_display, Image.Image):
|
||||
# Detect image format from PIL Image
|
||||
image_format = to_display.format if to_display.format else "JPEG"
|
||||
# Use None for preview_size if ignore_size_limit is True
|
||||
preview_size = None if ignore_size_limit else args.preview_size
|
||||
to_display = (image_format, to_display, preview_size)
|
||||
|
||||
get_progress_state().update_progress(
|
||||
node_id=node_id,
|
||||
value=value,
|
||||
max_value=max_value,
|
||||
image=to_display,
|
||||
)
|
||||
|
||||
class Caching(ProxiedSingleton):
|
||||
"""
|
||||
External cache provider API for sharing cached node outputs
|
||||
across ComfyUI instances.
|
||||
|
||||
Example::
|
||||
|
||||
from comfy_api.latest import Caching
|
||||
|
||||
class MyCacheProvider(Caching.CacheProvider):
|
||||
async def on_lookup(self, context):
|
||||
... # check external storage
|
||||
|
||||
async def on_store(self, context, value):
|
||||
... # store to external storage
|
||||
|
||||
Caching.register_provider(MyCacheProvider())
|
||||
"""
|
||||
from ._caching import CacheProvider, CacheContext, CacheValue
|
||||
|
||||
async def register_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Register an external cache provider. Providers are called in registration order."""
|
||||
from comfy_execution.cache_provider import register_cache_provider
|
||||
register_cache_provider(provider)
|
||||
|
||||
async def unregister_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Unregister a previously registered cache provider."""
|
||||
from comfy_execution.cache_provider import unregister_cache_provider
|
||||
unregister_cache_provider(provider)
|
||||
|
||||
class ComfyExtension(ABC):
|
||||
async def on_load(self) -> None:
|
||||
"""
|
||||
Called when an extension is loaded.
|
||||
This should be used to initialize any global resources needed by the extension.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
"""
|
||||
Returns a list of nodes that this extension provides.
|
||||
"""
|
||||
|
||||
class Input:
|
||||
Image = ImageInput
|
||||
Audio = AudioInput
|
||||
Mask = MaskInput
|
||||
Latent = LatentInput
|
||||
Video = VideoInput
|
||||
|
||||
class InputImpl:
|
||||
VideoFromFile = VideoFromFile
|
||||
VideoFromComponents = VideoFromComponents
|
||||
VideoFromList = VideoFromList
|
||||
|
||||
class Types:
|
||||
VideoCodec = VideoCodec
|
||||
VideoContainer = VideoContainer
|
||||
VideoComponents = VideoComponents
|
||||
MESH = MESH
|
||||
VOXEL = VOXEL
|
||||
SPLAT = SPLAT
|
||||
File3D = File3D
|
||||
|
||||
|
||||
Caching = ComfyAPI_latest.Caching
|
||||
|
||||
ComfyAPI = ComfyAPI_latest
|
||||
|
||||
# Create a synchronous version of the API
|
||||
if TYPE_CHECKING:
|
||||
import comfy_api.latest.generated.ComfyAPISyncStub # type: ignore
|
||||
|
||||
ComfyAPISync: type[comfy_api.latest.generated.ComfyAPISyncStub.ComfyAPISyncStub]
|
||||
ComfyAPISync = create_sync_class(ComfyAPI_latest)
|
||||
|
||||
# create new aliases for io and ui
|
||||
IO = io
|
||||
UI = ui
|
||||
|
||||
__all__ = [
|
||||
"ComfyAPI",
|
||||
"ComfyAPISync",
|
||||
"Input",
|
||||
"InputImpl",
|
||||
"Types",
|
||||
"Caching",
|
||||
"ComfyExtension",
|
||||
"io",
|
||||
"IO",
|
||||
"ui",
|
||||
"UI",
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
from ._io import * # noqa: F403
|
||||
@@ -0,0 +1,48 @@
|
||||
import json
|
||||
from comfy.comfy_types.node_typing import IO
|
||||
import torch
|
||||
|
||||
# Preview Any - original implement from
|
||||
# https://github.com/rgthree/rgthree-comfy/blob/main/py/display_any.py
|
||||
# upstream requested in https://github.com/Kosinkadink/rfcs/blob/main/rfcs/0000-corenodes.md#preview-nodes
|
||||
class PreviewAny():
|
||||
@classmethod
|
||||
def INPUT_TYPES(cls):
|
||||
return {
|
||||
"required": {"source": (IO.ANY, {})},
|
||||
}
|
||||
|
||||
RETURN_TYPES = (IO.STRING,)
|
||||
FUNCTION = "main"
|
||||
OUTPUT_NODE = True
|
||||
|
||||
CATEGORY = "utilities"
|
||||
SEARCH_ALIASES = ["preview", "preview text", "show output", "inspect", "debug", "print value", "show text"]
|
||||
DESCRIPTION = "Preview any input value as text."
|
||||
|
||||
def main(self, source=None):
|
||||
torch.set_printoptions(edgeitems=6)
|
||||
value = 'None'
|
||||
if isinstance(source, str):
|
||||
value = source
|
||||
elif isinstance(source, (int, float, bool)):
|
||||
value = str(source)
|
||||
elif source is not None:
|
||||
try:
|
||||
value = json.dumps(source, indent=4, ensure_ascii=False)
|
||||
except Exception:
|
||||
try:
|
||||
value = str(source)
|
||||
except Exception:
|
||||
value = 'source exists, but could not be serialized.'
|
||||
|
||||
torch.set_printoptions()
|
||||
return {"ui": {"text": (value,)}, "result": (value,)}
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"PreviewAny": PreviewAny,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"PreviewAny": "Preview as Text",
|
||||
}
|
||||
@@ -0,0 +1,108 @@
|
||||
import sys
|
||||
from typing_extensions import override
|
||||
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
|
||||
class String(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveString",
|
||||
search_aliases=["text", "string", "text box", "prompt"],
|
||||
display_name="Text",
|
||||
category="utilities/primitive",
|
||||
inputs=[io.String.Input("value")],
|
||||
outputs=[io.String.Output()]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class StringMultiline(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveStringMultiline",
|
||||
search_aliases=["text", "string", "text box", "prompt"],
|
||||
display_name="Text (Multiline)",
|
||||
category="utilities/primitive",
|
||||
essentials_category="Basics",
|
||||
inputs=[io.String.Input("value", multiline=True)],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Int(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveInt",
|
||||
display_name="Int",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Int.Input("value", min=-sys.maxsize, max=sys.maxsize, control_after_generate=io.ControlAfterGenerate.fixed),
|
||||
],
|
||||
outputs=[io.Int.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: int) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Float(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveFloat",
|
||||
display_name="Float",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Float.Input("value", min=-sys.maxsize, max=sys.maxsize, step=0.1),
|
||||
],
|
||||
outputs=[io.Float.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: float) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Boolean(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveBoolean",
|
||||
display_name="Boolean",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Boolean.Input("value"),
|
||||
],
|
||||
outputs=[io.Boolean.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: bool) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class PrimitivesExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
String,
|
||||
StringMultiline,
|
||||
Int,
|
||||
Float,
|
||||
Boolean,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> PrimitivesExtension:
|
||||
return PrimitivesExtension()
|
||||
@@ -0,0 +1,250 @@
|
||||
import node_helpers
|
||||
import comfy.utils
|
||||
import math
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
import comfy.model_management
|
||||
import torch
|
||||
import nodes
|
||||
|
||||
class TextEncodeQwenImageEdit(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="TextEncodeQwenImageEdit",
|
||||
display_name="Text Encode Qwen Image Edit",
|
||||
category="model/conditioning/qwen image",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Vae.Input("vae", optional=True),
|
||||
io.Image.Input("image", optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Conditioning.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, vae=None, image=None) -> io.NodeOutput:
|
||||
ref_latent = None
|
||||
if image is None:
|
||||
images = []
|
||||
else:
|
||||
samples = image.movedim(-1, 1)
|
||||
total = int(1024 * 1024)
|
||||
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by)
|
||||
height = round(samples.shape[2] * scale_by)
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
image = s.movedim(1, -1)
|
||||
images = [image[:, :, :, :3]]
|
||||
if vae is not None:
|
||||
ref_latent = vae.encode(image[:, :, :, :3])
|
||||
|
||||
tokens = clip.tokenize(prompt, images=images)
|
||||
conditioning = clip.encode_from_tokens_scheduled(tokens)
|
||||
if ref_latent is not None:
|
||||
conditioning = node_helpers.conditioning_set_values(conditioning, {"reference_latents": [ref_latent]}, append=True)
|
||||
return io.NodeOutput(conditioning)
|
||||
|
||||
|
||||
class TextEncodeQwenImageEditPlus(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="TextEncodeQwenImageEditPlus",
|
||||
display_name="Text Encode Qwen Image Edit Plus",
|
||||
category="model/conditioning/qwen image",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Vae.Input("vae", optional=True),
|
||||
io.Image.Input("image1", optional=True),
|
||||
io.Image.Input("image2", optional=True),
|
||||
io.Image.Input("image3", optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Conditioning.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, vae=None, image1=None, image2=None, image3=None) -> io.NodeOutput:
|
||||
ref_latents = []
|
||||
images = [image1, image2, image3]
|
||||
images_vl = []
|
||||
llama_template = "<|im_start|>system\nDescribe the key features of the input image (color, shape, size, texture, objects, background), then explain how the user's text instruction should alter or modify the image. Generate a new image that meets the user's requirements while maintaining consistency with the original input where appropriate.<|im_end|>\n<|im_start|>user\n{}<|im_end|>\n<|im_start|>assistant\n"
|
||||
image_prompt = ""
|
||||
|
||||
for i, image in enumerate(images):
|
||||
if image is not None:
|
||||
samples = image.movedim(-1, 1)
|
||||
total = int(384 * 384)
|
||||
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by)
|
||||
height = round(samples.shape[2] * scale_by)
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
images_vl.append(s.movedim(1, -1))
|
||||
if vae is not None:
|
||||
total = int(1024 * 1024)
|
||||
scale_by = math.sqrt(total / (samples.shape[3] * samples.shape[2]))
|
||||
width = round(samples.shape[3] * scale_by / 8.0) * 8
|
||||
height = round(samples.shape[2] * scale_by / 8.0) * 8
|
||||
|
||||
s = comfy.utils.common_upscale(samples, width, height, "area", "disabled")
|
||||
ref_latents.append(vae.encode(s.movedim(1, -1)[:, :, :, :3]))
|
||||
|
||||
image_prompt += "Picture {}: <|vision_start|><|image_pad|><|vision_end|>".format(i + 1)
|
||||
|
||||
tokens = clip.tokenize(image_prompt + prompt, images=images_vl, llama_template=llama_template)
|
||||
conditioning = clip.encode_from_tokens_scheduled(tokens)
|
||||
if len(ref_latents) > 0:
|
||||
conditioning = node_helpers.conditioning_set_values(conditioning, {"reference_latents": ref_latents}, append=True)
|
||||
return io.NodeOutput(conditioning)
|
||||
|
||||
|
||||
class TextEncodeQwenImage21(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="TextEncodeQwenImage21",
|
||||
display_name="Text Encode Qwen Image 2.1",
|
||||
category="model/conditioning/qwen image",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.String.Input("negative_prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Vae.Input("vae", optional=True),
|
||||
io.Int.Input("resolution", default=1024, min=0, max=4096, step=32,
|
||||
tooltip="Reference images are resized to about resolution x resolution pixels, at multiples of 32, preserving aspect ratio. 0 keeps each reference at its own size, rounded to a multiple of 32. "),
|
||||
io.Autogrow.Input(
|
||||
"images",
|
||||
template=io.Autogrow.TemplateNames(
|
||||
io.Image.Input("image"),
|
||||
names=[f"image_{i}" for i in range(1, 17)],
|
||||
min=0,
|
||||
),
|
||||
tooltip="Reference images, seen by the text encoder and spliced into the sequence as VAE latents.",
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Conditioning.Output(display_name="positive"),
|
||||
io.Conditioning.Output(display_name="negative"),
|
||||
io.Latent.Output(display_name="latent",
|
||||
tooltip="Empty latent on the first reference image's size, to match with sampling as any other size shifts the edit."),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, negative_prompt, vae=None, resolution=1024, images: io.Autogrow.Type = None) -> io.NodeOutput:
|
||||
ref_latents = []
|
||||
images_vl = []
|
||||
images = images or {}
|
||||
latent_w = latent_h = resolution or 1024
|
||||
for name in sorted(images, key=lambda n: int(n.rsplit("_", 1)[-1])):
|
||||
image = images[name]
|
||||
if image is None:
|
||||
continue
|
||||
# same resize for the text encoder and the VAE, so every vision slot covers 2x2 latents; one image per input
|
||||
samples = image[:1].movedim(-1, 1)
|
||||
if resolution > 0:
|
||||
ratio = samples.shape[3] / samples.shape[2]
|
||||
width = round(math.sqrt(resolution * resolution * ratio) / 32) * 32
|
||||
height = round(math.sqrt(resolution * resolution / ratio) / 32) * 32
|
||||
else:
|
||||
width, height = round(samples.shape[3] / 32) * 32, round(samples.shape[2] / 32) * 32
|
||||
width, height = max(32, width), max(32, height)
|
||||
if (width, height) == (samples.shape[3], samples.shape[2]):
|
||||
s = image[:1]
|
||||
else:
|
||||
s = comfy.utils.common_upscale(samples, width, height, "lanczos", "disabled").movedim(1, -1)
|
||||
if not images_vl:
|
||||
latent_w, latent_h = width, height
|
||||
rgb = s[:, :, :, :3]
|
||||
if s.shape[-1] > 3:
|
||||
rgb = rgb * s[:, :, :, 3:] + (1.0 - s[:, :, :, 3:]) # the vision tower sees alpha over white, the vae keeps all four
|
||||
images_vl.append(rgb)
|
||||
if vae is not None:
|
||||
ref_latents.append(vae.encode(s))
|
||||
|
||||
keep_vision = len(ref_latents) == 0
|
||||
positive = clip.encode_from_tokens_scheduled(clip.tokenize(prompt, images=images_vl, keep_vision=keep_vision, prevent_empty_text=True))
|
||||
negative = clip.encode_from_tokens_scheduled(clip.tokenize(negative_prompt, images=images_vl, keep_vision=keep_vision, prevent_empty_text=True))
|
||||
if len(ref_latents) > 0:
|
||||
positive = node_helpers.conditioning_set_values(positive, {"reference_latents": ref_latents}, append=True)
|
||||
negative = node_helpers.conditioning_set_values(negative, {"reference_latents": ref_latents}, append=True)
|
||||
latent = torch.zeros([1, 64, latent_h // 16, latent_w // 16], device=comfy.model_management.intermediate_device())
|
||||
return io.NodeOutput(positive, negative, {"samples": latent})
|
||||
|
||||
|
||||
class QwenImage21Cache(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="QwenImage21Cache",
|
||||
display_name="Qwen Image 2.1 Cache",
|
||||
category="model/conditioning/qwen image",
|
||||
description=(
|
||||
"Allows setting the KV cache device and quantization, by default the model uses the auto -option. Quantization potentially speeds up edit workflows when memory starved "
|
||||
),
|
||||
inputs=[
|
||||
io.Model.Input("model"),
|
||||
io.Combo.Input("device", options=["auto", "gpu", "cpu", "off"], default="auto",
|
||||
tooltip="auto uses spare VRAM, then RAM. cpu (RAM) is prefetched behind compute and costs little speed. off recomputes the prefix every step, which is slower but is the one way to rule the cache out."),
|
||||
io.Combo.Input("dtype", options=["default", "int8", "int4"], default="default",
|
||||
tooltip="Storage precision. default is lossless. int8 halves the cache at about bf16 accuracy, int4 quarters it but roughly doubles the per-step error."),
|
||||
],
|
||||
outputs=[io.Model.Output()],
|
||||
is_experimental=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, model, device, dtype) -> io.NodeOutput:
|
||||
m = model.clone()
|
||||
m.model_options["transformer_options"]["qwen_image21_cache"] = {"device": device, "dtype": dtype}
|
||||
return io.NodeOutput(m)
|
||||
|
||||
|
||||
class EmptyQwenImageLayeredLatentImage(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="EmptyQwenImageLayeredLatentImage",
|
||||
display_name="Empty Qwen Image Layered Latent",
|
||||
category="model/latent/qwen",
|
||||
inputs=[
|
||||
io.Int.Input("width", default=640, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
||||
io.Int.Input("height", default=640, min=16, max=nodes.MAX_RESOLUTION, step=16),
|
||||
io.Int.Input("layers", default=3, min=0, max=nodes.MAX_RESOLUTION, step=1),
|
||||
io.Int.Input("batch_size", default=1, min=1, max=4096),
|
||||
],
|
||||
outputs=[
|
||||
io.Latent.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, width, height, layers, batch_size=1) -> io.NodeOutput:
|
||||
latent = torch.zeros([batch_size, 16, layers + 1, height // 8, width // 8], device=comfy.model_management.intermediate_device())
|
||||
return io.NodeOutput({"samples": latent})
|
||||
|
||||
|
||||
class QwenExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
TextEncodeQwenImageEdit,
|
||||
TextEncodeQwenImageEditPlus,
|
||||
TextEncodeQwenImage21,
|
||||
QwenImage21Cache,
|
||||
EmptyQwenImageLayeredLatentImage,
|
||||
]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> QwenExtension:
|
||||
return QwenExtension()
|
||||
@@ -0,0 +1,282 @@
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
from typing_extensions import override
|
||||
|
||||
class TextGenerate(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
# Define dynamic combo options for sampling mode
|
||||
sampling_options = [
|
||||
io.DynamicCombo.Option(
|
||||
key="on",
|
||||
inputs=[
|
||||
io.Float.Input("temperature", default=0.7, min=0.01, max=2.0, step=0.000001),
|
||||
io.Int.Input("top_k", default=64, min=0, max=1000),
|
||||
io.Float.Input("top_p", default=0.95, min=0.0, max=1.0, step=0.01),
|
||||
io.Float.Input("min_p", default=0.05, min=0.0, max=1.0, step=0.01),
|
||||
io.Float.Input("repetition_penalty", default=1.05, min=0.0, max=5.0, step=0.01),
|
||||
io.Int.Input("seed", default=0, min=0, max=0xffffffffffffffff),
|
||||
io.Float.Input("presence_penalty", optional=True, default=0.0, min=0.0, max=5.0, step=0.01),
|
||||
]
|
||||
),
|
||||
io.DynamicCombo.Option(
|
||||
key="off",
|
||||
inputs=[]
|
||||
),
|
||||
]
|
||||
|
||||
return io.Schema(
|
||||
node_id="TextGenerate",
|
||||
display_name="Generate Text",
|
||||
category="text",
|
||||
search_aliases=["LLM", "gemma"],
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True, default=""),
|
||||
io.Image.Input("image", optional=True),
|
||||
io.Image.Input("video", optional=True, tooltip="Video frames as image batch. Assumed to be 24 FPS; subsampled to 1 FPS internally."),
|
||||
io.Audio.Input("audio", optional=True),
|
||||
io.Int.Input("max_length", default=512, min=1, max=32768),
|
||||
io.DynamicCombo.Input("sampling_mode", options=sampling_options, display_name="Sampling Mode"),
|
||||
io.Boolean.Input("thinking", optional=True, default=False, tooltip="Operate in thinking mode if the model supports it."),
|
||||
io.Boolean.Input("use_default_template", optional=True, default=True, tooltip="Use the built in system prompt/template if the model has one.", advanced=True),
|
||||
io.Combo.Input("mtp", options=["auto", "off", "2", "3", "4", "5"], default="auto", optional=True, tooltip="Speculative decoding with the checkpoint's multi-token-prediction head. No effect without MTP weights. auto adapts the draft depth; 2-5 pins it. Sampled output stays correctly distributed but differs from non-MTP output for the same seed."),
|
||||
io.String.Input("system_prompt", force_input=True, optional=True, tooltip="Replaces the system prompt in the model's chat template. Ignored when the default template is not used."),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(display_name="generated_text"),
|
||||
io.String.Output(display_name="thinking"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, max_length, sampling_mode, image=None, thinking=False, use_default_template=True, video=None, audio=None, mtp="auto", system_prompt="") -> io.NodeOutput:
|
||||
|
||||
mtp = False if mtp == "off" else (True if mtp == "auto" else int(mtp))
|
||||
|
||||
tokens = clip.tokenize(prompt, image=image, skip_template=not use_default_template, min_length=1, thinking=thinking, video=video, audio=audio, system_prompt=system_prompt if use_default_template else "")
|
||||
|
||||
# Get sampling parameters from dynamic combo
|
||||
do_sample = sampling_mode.get("sampling_mode") == "on"
|
||||
temperature = sampling_mode.get("temperature", 1.0)
|
||||
top_k = sampling_mode.get("top_k", 50)
|
||||
top_p = sampling_mode.get("top_p", 1.0)
|
||||
min_p = sampling_mode.get("min_p", 0.0)
|
||||
seed = sampling_mode.get("seed", None)
|
||||
repetition_penalty = sampling_mode.get("repetition_penalty", 1.0)
|
||||
presence_penalty = sampling_mode.get("presence_penalty", 0.0)
|
||||
|
||||
generated_ids = clip.generate(
|
||||
tokens,
|
||||
do_sample=do_sample,
|
||||
max_length=max_length,
|
||||
temperature=temperature,
|
||||
top_k=top_k,
|
||||
top_p=top_p,
|
||||
min_p=min_p,
|
||||
repetition_penalty=repetition_penalty,
|
||||
presence_penalty=presence_penalty,
|
||||
seed=seed,
|
||||
mtp=mtp
|
||||
)
|
||||
|
||||
generated_text = clip.decode(generated_ids)
|
||||
|
||||
# Reasoning opens in the generated text or at the end of a raw prompt, and has no close when max_length cut it short.
|
||||
reasoning, _, text = generated_text.partition("</think>")
|
||||
if not reasoning.lstrip().startswith("<think>") and not prompt.rstrip().endswith("<think>"):
|
||||
reasoning, text = "", generated_text
|
||||
|
||||
return io.NodeOutput(text.strip(), reasoning.replace("<think>", "", 1).strip())
|
||||
|
||||
|
||||
LTX2_T2V_SYSTEM_PROMPT = """You are a Creative Assistant. Given a user's raw input prompt describing a scene or concept, expand it into a detailed video generation prompt with specific visuals and integrated audio to guide a text-to-video model.
|
||||
#### Guidelines
|
||||
- Strictly follow all aspects of the user's raw input: include every element requested (style, visuals, motions, actions, camera movement, audio).
|
||||
- If the input is vague, invent concrete details: lighting, textures, materials, scene settings, etc.
|
||||
- For characters: describe gender, clothing, hair, expressions. DO NOT invent unrequested characters.
|
||||
- Use active language: present-progressive verbs ("is walking," "speaking"). If no action specified, describe natural movements.
|
||||
- Maintain chronological flow: use temporal connectors ("as," "then," "while").
|
||||
- Audio layer: Describe complete soundscape (background audio, ambient sounds, SFX, speech/music when requested). Integrate sounds chronologically alongside actions. Be specific (e.g., "soft footsteps on tile"), not vague (e.g., "ambient sound is present").
|
||||
- Speech (only when requested):
|
||||
- For ANY speech-related input (talking, conversation, singing, etc.), ALWAYS include exact words in quotes with voice characteristics (e.g., "The man says in an excited voice: 'You won't believe what I just saw!'").
|
||||
- Specify language if not English and accent if relevant.
|
||||
- Style: Include visual style at the beginning: "Style: <style>, <rest of prompt>." Default to cinematic-realistic if unspecified. Omit if unclear.
|
||||
- Visual and audio only: NO non-visual/auditory senses (smell, taste, touch).
|
||||
- Restrained language: Avoid dramatic/exaggerated terms. Use mild, natural phrasing.
|
||||
- Colors: Use plain terms ("red dress"), not intensified ("vibrant blue," "bright red").
|
||||
- Lighting: Use neutral descriptions ("soft overhead light"), not harsh ("blinding light").
|
||||
- Facial features: Use delicate modifiers for subtle features (i.e., "subtle freckles").
|
||||
|
||||
#### Important notes:
|
||||
- Analyze the user's raw input carefully. In cases of FPV or POV, exclude the description of the subject whose POV is requested.
|
||||
- Camera motion: DO NOT invent camera motion unless requested by the user.
|
||||
- Speech: DO NOT modify user-provided character dialogue unless it's a typo.
|
||||
- No timestamps or cuts: DO NOT use timestamps or describe scene cuts unless explicitly requested.
|
||||
- Format: DO NOT use phrases like "The scene opens with...". Start directly with Style (optional) and chronological scene description.
|
||||
- Format: DO NOT start your response with special characters.
|
||||
- DO NOT invent dialogue unless the user mentions speech/talking/singing/conversation.
|
||||
- If the user's raw input prompt is highly detailed, chronological and in the requested format: DO NOT make major edits or introduce new elements. Add/enhance audio descriptions if missing.
|
||||
|
||||
#### Output Format (Strict):
|
||||
- Single continuous paragraph in natural language (English).
|
||||
- NO titles, headings, prefaces, code fences, or Markdown.
|
||||
- If unsafe/invalid, return original user prompt. Never ask questions or clarifications.
|
||||
|
||||
Your output quality is CRITICAL. Generate visually rich, dynamic prompts with integrated audio for high-quality video generation.
|
||||
|
||||
#### Example
|
||||
Input: "A woman at a coffee shop talking on the phone"
|
||||
Output:
|
||||
Style: realistic with cinematic lighting. In a medium close-up, a woman in her early 30s with shoulder-length brown hair sits at a small wooden table by the window. She wears a cream-colored turtleneck sweater, holding a white ceramic coffee cup in one hand and a smartphone to her ear with the other. Ambient cafe sounds fill the space—espresso machine hiss, quiet conversations, gentle clinking of cups. The woman listens intently, nodding slightly, then takes a sip of her coffee and sets it down with a soft clink. Her face brightens into a warm smile as she speaks in a clear, friendly voice, 'That sounds perfect! I'd love to meet up this weekend. How about Saturday afternoon?' She laughs softly—a genuine chuckle—and shifts in her chair. Behind her, other patrons move subtly in and out of focus. 'Great, I'll see you then,' she concludes cheerfully, lowering the phone.
|
||||
"""
|
||||
|
||||
LTX2_I2V_SYSTEM_PROMPT = """You are a Creative Assistant. Given a user's raw input prompt describing a scene or concept, expand it into a detailed video generation prompt with specific visuals and integrated audio to guide a text-to-video model.
|
||||
You are a Creative Assistant writing concise, action-focused image-to-video prompts. Given an image (first frame) and user Raw Input Prompt, generate a prompt to guide video generation from that image.
|
||||
|
||||
#### Guidelines:
|
||||
- Analyze the Image: Identify Subject, Setting, Elements, Style and Mood.
|
||||
- Follow user Raw Input Prompt: Include all requested motion, actions, camera movements, audio, and details. If in conflict with the image, prioritize user request while maintaining visual consistency (describe transition from image to user's scene).
|
||||
- Describe only changes from the image: Don't reiterate established visual details. Inaccurate descriptions may cause scene cuts.
|
||||
- Active language: Use present-progressive verbs ("is walking," "speaking"). If no action specified, describe natural movements.
|
||||
- Chronological flow: Use temporal connectors ("as," "then," "while").
|
||||
- Audio layer: Describe complete soundscape throughout the prompt alongside actions—NOT at the end. Align audio intensity with action tempo. Include natural background audio, ambient sounds, effects, speech or music (when requested). Be specific (e.g., "soft footsteps on tile") not vague (e.g., "ambient sound").
|
||||
- Speech (only when requested): Provide exact words in quotes with character's visual/voice characteristics (e.g., "The tall man speaks in a low, gravelly voice"), language if not English and accent if relevant. If general conversation mentioned without text, generate contextual quoted dialogue. (i.e., "The man is talking" input -> the output should include exact spoken words, like: "The man is talking in an excited voice saying: 'You won't believe what I just saw!' His hands gesture expressively as he speaks, eyebrows raised with enthusiasm. The ambient sound of a quiet room underscores his animated speech.")
|
||||
- Style: Include visual style at beginning: "Style: <style>, <rest of prompt>." If unclear, omit to avoid conflicts.
|
||||
- Visual and audio only: Describe only what is seen and heard. NO smell, taste, or tactile sensations.
|
||||
- Restrained language: Avoid dramatic terms. Use mild, natural, understated phrasing.
|
||||
|
||||
#### Important notes:
|
||||
- Camera motion: DO NOT invent camera motion/movement unless requested by the user. Make sure to include camera motion only if specified in the input.
|
||||
- Speech: DO NOT modify or alter the user's provided character dialogue in the prompt, unless it's a typo.
|
||||
- No timestamps or cuts: DO NOT use timestamps or describe scene cuts unless explicitly requested.
|
||||
- Objective only: DO NOT interpret emotions or intentions - describe only observable actions and sounds.
|
||||
- Format: DO NOT use phrases like "The scene opens with..." / "The video starts...". Start directly with Style (optional) and chronological scene description.
|
||||
- Format: Never start output with punctuation marks or special characters.
|
||||
- DO NOT invent dialogue unless the user mentions speech/talking/singing/conversation.
|
||||
- Your performance is CRITICAL. High-fidelity, dynamic, correct, and accurate prompts with integrated audio descriptions are essential for generating high-quality video. Your goal is flawless execution of these rules.
|
||||
|
||||
#### Output Format (Strict):
|
||||
- Single concise paragraph in natural English. NO titles, headings, prefaces, sections, code fences, or Markdown.
|
||||
- If unsafe/invalid, return original user prompt. Never ask questions or clarifications.
|
||||
|
||||
#### Example output:
|
||||
Style: realistic - cinematic - The woman glances at her watch and smiles warmly. She speaks in a cheerful, friendly voice, "I think we're right on time!" In the background, a café barista prepares drinks at the counter. The barista calls out in a clear, upbeat tone, "Two cappuccinos ready!" The sound of the espresso machine hissing softly blends with gentle background chatter and the light clinking of cups on saucers.
|
||||
"""
|
||||
|
||||
LTX24_T2V_SYSTEM_PROMPT = """You are given a user's short text-to-video request. Write a single, highly detailed audio-visual caption describing the video that best fulfills that request, in the EXACT style of the training captions used for this video model. The generated video is scored against the user's ORIGINAL request, so preserve every element the user stated; expand faithfully into the full caption style without contradicting or dropping anything they asked for.
|
||||
|
||||
Match this captioning style precisely:
|
||||
|
||||
1. Begin immediately with the action or visual detail. Do NOT use "The scene opens…", "We see…", "There is…".
|
||||
|
||||
2. Objective, observable description only. Do not infer emotions or intentions — describe what is visible and audible (e.g. not "he looks sad" but "his eyebrows angle downward and his lips are pressed together").
|
||||
|
||||
3. Full visual detail: environment (materials, textures, lighting, colors), character appearance (clothing, posture, facial details), and the spatial positioning of all elements. When a human appears, identify them specifically (gendered terms when clearly implied; differentiate multiple people consistently) and describe visible physical attributes — apparent gender presentation, skin tone, estimated age group, hair color/length/style, build, clothing and accessories. Do not infer ethnicity, nationality, religion, or culture.
|
||||
|
||||
4. Precise motion and cinematic description. For every shot you MUST include, woven naturally into the prose (never as tags or labels):
|
||||
- Shot type (exactly one: extreme wide shot / wide shot / medium shot / medium close-up / close-up / extreme close-up)
|
||||
- Camera motion (always stated; if none, explicitly say the camera remains static). Camera movement is expected and good — match the user if they specified it, otherwise choose the treatment that best presents the requested scene.
|
||||
- Camera viewpoint relative to subject (front-facing / back-facing / side view / over-the-shoulder / top-down / low-angle / high-angle).
|
||||
Express these as flowing prose: "a medium shot frames…, captured from a front-facing angle as the camera slowly pans…". Never as "medium shot, static camera —".
|
||||
|
||||
5. Complete soundscape, integrated naturally: any dialogue (quote it exactly, in the original language), tone of voice, background music (type, mood, volume changes), and environmental sounds (footsteps, wind, traffic, animals). If the request implies sound, describe it plausibly.
|
||||
|
||||
6. Strict chronological, real-time flow using transitions like "Initially…", "A moment later…", "Simultaneously…". Keep every stated action in motion.
|
||||
|
||||
7. One single continuous paragraph. No bullet points, no section headers, no labels like "Audio:" or "Visual:". Exhaustive and lossless — include background elements, subtle movements, lighting, secondary sounds — detailed enough to reconstruct the scene. Aim for a rich, complete paragraph (roughly 150–220 words).
|
||||
|
||||
If the user wrote in another language, produce the English caption of the same content. Output ONLY the caption text — no JSON, no preamble.
|
||||
|
||||
AESTHETIC QUALITY (in addition to the above, without breaking the objective caption style): render the described scene with strong visual production value — cinematic, film-grade color and contrast, beautiful natural lighting, crisp fine detail and texture, pleasing composition and depth. Weave these quality descriptors naturally into the same observable prose (e.g. "warm cinematic lighting", "richly saturated film-grade color", "crisp high-resolution detail") — describe how the exact requested scene LOOKS at its most visually striking, never adding new objects or actions. Keep everything else (framing triple, soundscape, chronological single paragraph, faithfulness) exactly as specified.
|
||||
"""
|
||||
|
||||
|
||||
LTX24_I2V_SYSTEM_PROMPT = """You are given a REFERENCE IMAGE (the exact first frame of the video) and a user's short image-to-video request. Write a single, highly detailed audio-visual caption describing the video that BEGINS from this exact reference image and best fulfills that request, in the EXACT style of the training captions used for this video model. The generated video is scored against the user's ORIGINAL request, so preserve every element the user stated; expand faithfully into the full caption style without contradicting or dropping anything they asked for.
|
||||
|
||||
FIRST-FRAME / IMAGE GROUNDING (do this first): the opening of your caption must match the reference image exactly — same subject(s), identity, appearance, clothing, setting, lighting, and composition as shown. The video starts on this frame; describe it faithfully, then narrate chronologically as the user's requested action unfolds from it. Never contradict, replace, or invent things not consistent with the image. Single continuous take — no hard cuts.
|
||||
|
||||
Match this captioning style precisely:
|
||||
|
||||
1. Begin immediately with the action or visual detail. Do NOT use "The scene opens…", "We see…", "There is…".
|
||||
|
||||
2. Objective, observable description only. Do not infer emotions or intentions — describe what is visible and audible (e.g. not "he looks sad" but "his eyebrows angle downward and his lips are pressed together").
|
||||
|
||||
3. Full visual detail: environment (materials, textures, lighting, colors), character appearance (clothing, posture, facial details), and the spatial positioning of all elements — grounded in and consistent with the reference image. When a human appears, identify them specifically (gendered terms when clearly implied; differentiate multiple people consistently) and describe visible physical attributes — apparent gender presentation, skin tone, estimated age group, hair color/length/style, build, clothing and accessories. Do not infer ethnicity, nationality, religion, or culture.
|
||||
|
||||
4. Precise motion and cinematic description. For every shot you MUST include, woven naturally into the prose (never as tags or labels):
|
||||
- Shot type (exactly one: extreme wide shot / wide shot / medium shot / medium close-up / close-up / extreme close-up) — consistent with how the reference image is framed at the start.
|
||||
- Camera motion (always stated; if none, explicitly say the camera remains static). Camera movement is expected and good — match the user if they specified it, otherwise choose the treatment that best presents the requested scene starting from this frame.
|
||||
- Camera viewpoint relative to subject (front-facing / back-facing / side view / over-the-shoulder / top-down / low-angle / high-angle) — matching the reference image's viewpoint at the opening.
|
||||
Express these as flowing prose: "a medium shot frames…, captured from a front-facing angle as the camera slowly pans…". Never as "medium shot, static camera —".
|
||||
|
||||
5. Complete soundscape, integrated naturally: any dialogue (quote it exactly, in the original language), tone of voice, background music (type, mood, volume changes), and environmental sounds (footsteps, wind, traffic, animals). If the request implies sound, describe it plausibly.
|
||||
|
||||
6. Strict chronological, real-time flow using transitions like "Initially…", "A moment later…", "Simultaneously…". Keep the user's requested motion/action central and in motion throughout.
|
||||
|
||||
7. One single continuous paragraph. No bullet points, no section headers, no labels like "Audio:" or "Visual:". Exhaustive and lossless — include background elements, subtle movements, lighting, secondary sounds — detailed enough to reconstruct the scene. Aim for a rich, complete paragraph (roughly 150–220 words).
|
||||
|
||||
If the user wrote in another language, produce the English caption of the same content. Output ONLY the caption text — no JSON, no preamble.
|
||||
|
||||
AESTHETIC QUALITY (in addition to the above, without breaking the objective caption style or contradicting the reference image): render the described scene with strong visual production value — cinematic, film-grade color and contrast, beautiful natural lighting, crisp fine detail and texture, pleasing composition and depth. Weave these quality descriptors naturally into the same observable prose (e.g. "warm cinematic lighting", "richly saturated film-grade color", "crisp high-resolution detail") — describe how the exact requested scene, starting from this frame, LOOKS at its most visually striking, never adding new objects or actions and never contradicting the first frame. Keep everything else (first-frame grounding, framing triple, soundscape, chronological single paragraph, faithfulness) exactly as specified.
|
||||
"""
|
||||
|
||||
|
||||
class TextGenerateLTX2Prompt(TextGenerate):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
parent_schema = super().define_schema()
|
||||
return io.Schema(
|
||||
node_id="TextGenerateLTX2Prompt",
|
||||
display_name="Generate LTX2 Prompt",
|
||||
category=parent_schema.category,
|
||||
inputs=parent_schema.inputs,
|
||||
outputs=parent_schema.outputs,
|
||||
search_aliases=["prompt enhance", "LLM", "gemma"],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, max_length, sampling_mode, image=None, thinking=False, use_default_template=True, video=None, audio=None, mtp="auto", system_prompt="") -> io.NodeOutput:
|
||||
# Gemma 3 and Gemma 4 use different chat-turn markers and image tokens.
|
||||
# The Gemma 4 text encoder is the LTX 2.4 path; Gemma 3 is LTX 2.0.
|
||||
is_gemma4 = "gemma4" in getattr(clip.tokenizer, "clip_name", "")
|
||||
|
||||
if is_gemma4:
|
||||
if image is not None:
|
||||
system = system_prompt.strip() or LTX24_I2V_SYSTEM_PROMPT.strip()
|
||||
user_text = f"User Raw Input Prompt: {prompt}."
|
||||
else:
|
||||
system = system_prompt.strip() or LTX24_T2V_SYSTEM_PROMPT.strip()
|
||||
user_text = f"user prompt: {prompt}"
|
||||
think_prefix = "<|think|>\n" if thinking else ""
|
||||
model_open = "" if thinking else "<|channel>final\n"
|
||||
media = "<|image><|image|><image|>\n\n" if image is not None else ""
|
||||
formatted_prompt = (
|
||||
f"<|turn>system\n{think_prefix}{system}<turn|>\n"
|
||||
f"<|turn>user\n{media}{user_text}<turn|>\n"
|
||||
f"<|turn>model\n{model_open}"
|
||||
)
|
||||
else:
|
||||
system = system_prompt.strip() or (LTX2_I2V_SYSTEM_PROMPT if image is not None else LTX2_T2V_SYSTEM_PROMPT).strip()
|
||||
media = "\n<image_soft_token>\n" if image is not None else ""
|
||||
formatted_prompt = (
|
||||
f"<start_of_turn>system\n{system}<end_of_turn>\n"
|
||||
f"<start_of_turn>user\n{media}\nUser Raw Input Prompt: {prompt}.<end_of_turn>\n"
|
||||
f"<start_of_turn>model\n"
|
||||
)
|
||||
|
||||
out = super().execute(clip, formatted_prompt, max_length, sampling_mode, image=image, thinking=thinking, use_default_template=use_default_template, video=video, audio=audio, mtp=mtp)
|
||||
|
||||
# Both system prompts ask for the original prompt back when there is nothing to give; empty conditions on nothing.
|
||||
return io.NodeOutput(out.args[0] or prompt, out.args[1])
|
||||
|
||||
|
||||
class TextgenExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
TextGenerate,
|
||||
TextGenerateLTX2Prompt,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> TextgenExtension:
|
||||
return TextgenExtension()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,37 @@
|
||||
comfyui-frontend-package==1.52.7
|
||||
comfyui-workflow-templates==0.11.69
|
||||
comfyui-embedded-docs==0.5.12
|
||||
torch
|
||||
torchsde
|
||||
torchvision
|
||||
torchaudio
|
||||
numpy>=1.25.0
|
||||
einops
|
||||
transformers>=4.50.3
|
||||
tokenizers>=0.13.3
|
||||
sentencepiece
|
||||
safetensors>=0.4.2
|
||||
aiohttp>=3.11.8
|
||||
yarl>=1.18.0
|
||||
pyyaml
|
||||
Pillow
|
||||
scipy
|
||||
tqdm
|
||||
psutil
|
||||
alembic
|
||||
SQLAlchemy>=2.0.0
|
||||
filelock
|
||||
av>=17.0.0
|
||||
comfy-kitchen==0.2.35
|
||||
comfy-aimdo==0.5.5
|
||||
requests
|
||||
simpleeval>=1.0.0
|
||||
blake3
|
||||
|
||||
#non essential dependencies:
|
||||
kornia>=0.7.1
|
||||
spandrel
|
||||
pydantic~=2.0
|
||||
pydantic-settings~=2.0
|
||||
PyOpenGL>=3.1.8
|
||||
comfy-angle
|
||||
@@ -0,0 +1,417 @@
|
||||
import os
|
||||
import uuid
|
||||
from pathlib import Path
|
||||
|
||||
import numpy as np
|
||||
from PIL import Image
|
||||
|
||||
import folder_paths
|
||||
|
||||
|
||||
class AnyType(str):
|
||||
"""A wildcard socket that remains compatible with legacy ComfyUI validation."""
|
||||
|
||||
def __ne__(self, other):
|
||||
return False
|
||||
|
||||
|
||||
ANY = AnyType("*")
|
||||
IMAGE_EXTENSIONS = {".png", ".jpg", ".jpeg", ".webp", ".bmp", ".gif", ".tif", ".tiff", ".avif"}
|
||||
VIDEO_EXTENSIONS = {".mp4", ".webm", ".mkv", ".mov", ".avi", ".m4v", ".gif"}
|
||||
MAX_BATCH_PREVIEWS = 10
|
||||
|
||||
|
||||
def _media_kind(value):
|
||||
if value is None:
|
||||
return "unknown"
|
||||
|
||||
# ComfyUI IMAGE is a torch tensor in NHWC layout.
|
||||
if hasattr(value, "shape") and hasattr(value, "detach"):
|
||||
shape = tuple(value.shape)
|
||||
if len(shape) in (3, 4) and shape[-1] in (1, 3, 4):
|
||||
return "image"
|
||||
|
||||
# Official VIDEO objects expose these methods. Keeping this duck-typed
|
||||
# avoids importing the new API on older ComfyUI releases.
|
||||
video_methods = ("save_to", "get_components", "get_frame_rate", "get_duration")
|
||||
if any(callable(getattr(value, name, None)) for name in video_methods):
|
||||
return "video"
|
||||
|
||||
if isinstance(value, (str, os.PathLike)):
|
||||
suffix = Path(value).suffix.lower()
|
||||
if suffix in VIDEO_EXTENSIONS:
|
||||
return "video"
|
||||
if suffix in IMAGE_EXTENSIONS:
|
||||
return "image"
|
||||
|
||||
if isinstance(value, dict):
|
||||
path = value.get("filename") or value.get("path") or value.get("file")
|
||||
suffix = Path(str(path)).suffix.lower() if path else ""
|
||||
if suffix in VIDEO_EXTENSIONS:
|
||||
return "video"
|
||||
if suffix in IMAGE_EXTENSIONS:
|
||||
return "image"
|
||||
|
||||
return "unknown"
|
||||
|
||||
|
||||
def _image_batch_size(value):
|
||||
if not hasattr(value, "shape"):
|
||||
return 0
|
||||
shape = tuple(value.shape)
|
||||
if len(shape) == 3 and shape[-1] in (1, 3, 4):
|
||||
return 1
|
||||
if len(shape) == 4 and shape[-1] in (1, 3, 4):
|
||||
return int(shape[0])
|
||||
return 0
|
||||
|
||||
|
||||
def _save_image_preview(value, side):
|
||||
tensor = value
|
||||
if len(tensor.shape) == 3:
|
||||
tensor = tensor.unsqueeze(0)
|
||||
previews = []
|
||||
for index, item in enumerate(tensor[:MAX_BATCH_PREVIEWS]):
|
||||
image = item.detach().cpu().float().numpy()
|
||||
image = np.nan_to_num(image, nan=0.0, posinf=1.0, neginf=0.0)
|
||||
image = np.clip(image * 255.0, 0, 255).astype(np.uint8)
|
||||
if image.shape[-1] == 1:
|
||||
image = image[..., 0]
|
||||
|
||||
filename = (
|
||||
f"gh_compare_{side}_{uuid.uuid4().hex}.png"
|
||||
if len(tensor) == 1
|
||||
else f"gh_compare_{side}_{index + 1}_{uuid.uuid4().hex}.png"
|
||||
)
|
||||
full_path = os.path.join(folder_paths.get_temp_directory(), filename)
|
||||
Image.fromarray(image).save(full_path, compress_level=4)
|
||||
previews.append({
|
||||
"kind": "image",
|
||||
"filename": filename,
|
||||
"subfolder": "",
|
||||
"type": "temp",
|
||||
"width": int(image.shape[1]),
|
||||
"height": int(image.shape[0]),
|
||||
})
|
||||
|
||||
if len(previews) <= 1:
|
||||
return previews[0] if previews else {"kind": "unknown"}
|
||||
return {
|
||||
**previews[0],
|
||||
"batch": previews,
|
||||
"batch_size": len(previews),
|
||||
"batch_index": 0,
|
||||
}
|
||||
|
||||
|
||||
def _resolve_existing_media(value):
|
||||
if isinstance(value, (str, os.PathLike)):
|
||||
raw = str(value)
|
||||
filename, base = folder_paths.annotated_filepath(raw)
|
||||
candidates = [Path(base) / filename] if base is not None else [Path(raw)]
|
||||
if base is None and not Path(raw).is_absolute():
|
||||
candidates.extend(Path(folder) / raw for folder in (
|
||||
folder_paths.get_input_directory(),
|
||||
folder_paths.get_output_directory(),
|
||||
folder_paths.get_temp_directory(),
|
||||
))
|
||||
return next((candidate for candidate in candidates if candidate.is_file()), None)
|
||||
if isinstance(value, dict):
|
||||
raw = value.get("path") or value.get("file")
|
||||
else:
|
||||
raw = getattr(value, "path", None) or getattr(value, "file_path", None) or getattr(value, "filename", None)
|
||||
if raw:
|
||||
candidate = _resolve_existing_media(str(raw))
|
||||
if candidate is not None:
|
||||
return candidate
|
||||
if not isinstance(value, dict):
|
||||
return None
|
||||
filename = value.get("filename")
|
||||
if not filename:
|
||||
return None
|
||||
base = folder_paths.get_directory_by_type(value.get("type", "temp"))
|
||||
if base is None:
|
||||
return None
|
||||
candidate = Path(base) / str(value.get("subfolder", "")) / str(filename)
|
||||
return candidate if candidate.is_file() else None
|
||||
|
||||
|
||||
def _media_reference_for_path(path):
|
||||
if path is None:
|
||||
return None
|
||||
source = Path(path).resolve()
|
||||
managed_folders = (
|
||||
("input", Path(folder_paths.get_input_directory())),
|
||||
("output", Path(folder_paths.get_output_directory())),
|
||||
("temp", Path(folder_paths.get_temp_directory())),
|
||||
)
|
||||
# A bare /view reference contains a filename plus a folder type. If the
|
||||
# same basename exists in another managed folder, prefer a private temp
|
||||
# copy rather than risk resolving the wrong asset after workflow replay.
|
||||
same_name = []
|
||||
for _, folder in managed_folders:
|
||||
try:
|
||||
same_name.extend(candidate.resolve() for candidate in folder.rglob(source.name) if candidate.is_file())
|
||||
except OSError:
|
||||
continue
|
||||
if len(set(same_name)) > 1:
|
||||
return None
|
||||
|
||||
for folder_type, folder in managed_folders:
|
||||
try:
|
||||
relative = source.relative_to(folder.resolve())
|
||||
except ValueError:
|
||||
continue
|
||||
return {
|
||||
"filename": relative.name,
|
||||
"subfolder": str(relative.parent).replace(os.sep, "/") if str(relative.parent) != "." else "",
|
||||
"type": folder_type,
|
||||
}
|
||||
return None
|
||||
|
||||
|
||||
def _prompt_image_reference(prompt, unique_id, side):
|
||||
if not isinstance(prompt, dict) or unique_id is None:
|
||||
return None
|
||||
current = prompt.get(str(unique_id), prompt.get(unique_id))
|
||||
if not isinstance(current, dict):
|
||||
return None
|
||||
raw_input = (current.get("inputs") or {}).get(side)
|
||||
if not isinstance(raw_input, (list, tuple)) or not raw_input:
|
||||
return None
|
||||
upstream = prompt.get(str(raw_input[0]), prompt.get(raw_input[0]))
|
||||
if not isinstance(upstream, dict):
|
||||
return None
|
||||
inputs = upstream.get("inputs") or {}
|
||||
preferred = [inputs.get(key) for key in ("image", "file", "filename", "path")]
|
||||
candidates = preferred + list(inputs.values())
|
||||
for candidate in candidates:
|
||||
if not isinstance(candidate, (str, os.PathLike)):
|
||||
continue
|
||||
suffix = Path(str(candidate).split("[")[0]).suffix.lower()
|
||||
if suffix not in IMAGE_EXTENSIONS:
|
||||
continue
|
||||
path = _resolve_existing_media(candidate)
|
||||
if path is not None:
|
||||
return _media_reference_for_path(path)
|
||||
return None
|
||||
|
||||
|
||||
def _video_metadata(value):
|
||||
def safe_call(name, default=0):
|
||||
fn = getattr(value, name, None)
|
||||
if not callable(fn):
|
||||
return default
|
||||
try:
|
||||
return fn()
|
||||
except Exception:
|
||||
return default
|
||||
|
||||
dimensions = safe_call("get_dimensions", (0, 0))
|
||||
try:
|
||||
width, height = int(dimensions[0]), int(dimensions[1])
|
||||
except Exception:
|
||||
width, height = 0, 0
|
||||
try:
|
||||
frame_rate = float(safe_call("get_frame_rate", 0))
|
||||
except Exception:
|
||||
frame_rate = 0.0
|
||||
try:
|
||||
frame_count = int(safe_call("get_frame_count", 0))
|
||||
except Exception:
|
||||
frame_count = 0
|
||||
try:
|
||||
duration = float(safe_call("get_duration", 0))
|
||||
except Exception:
|
||||
duration = 0.0
|
||||
return width, height, frame_count, frame_rate, duration
|
||||
|
||||
|
||||
def _resolve_existing_video(value):
|
||||
if isinstance(value, (str, os.PathLike)):
|
||||
path = Path(value)
|
||||
return path if path.is_file() else None
|
||||
if not isinstance(value, dict):
|
||||
return None
|
||||
raw = value.get("path") or value.get("file")
|
||||
if raw and Path(str(raw)).is_file():
|
||||
return Path(str(raw))
|
||||
filename = value.get("filename")
|
||||
if not filename:
|
||||
return None
|
||||
folder_type = value.get("type", "temp")
|
||||
base = {
|
||||
"input": folder_paths.get_input_directory(),
|
||||
"output": folder_paths.get_output_directory(),
|
||||
"temp": folder_paths.get_temp_directory(),
|
||||
}.get(folder_type, folder_paths.get_temp_directory())
|
||||
path = Path(base) / value.get("subfolder", "") / filename
|
||||
return path if path.is_file() else None
|
||||
|
||||
|
||||
def _video_source_path(value):
|
||||
"""Return a reusable on-disk source when the VIDEO object exposes one."""
|
||||
source = _resolve_existing_video(value)
|
||||
if source is not None:
|
||||
return source
|
||||
get_source = getattr(value, "get_stream_source", None)
|
||||
if not callable(get_source):
|
||||
return None
|
||||
try:
|
||||
source = get_source()
|
||||
except Exception:
|
||||
return None
|
||||
if isinstance(source, (str, os.PathLike)):
|
||||
path = Path(source)
|
||||
return path if path.is_file() else None
|
||||
return None
|
||||
|
||||
|
||||
def _direct_video_reference(value):
|
||||
"""Build a /view reference without copying a complete existing file."""
|
||||
source = _video_source_path(value)
|
||||
if source is None:
|
||||
return None
|
||||
|
||||
# A trimmed VideoFromFile cannot point at the original file because the
|
||||
# browser would show frames outside the requested time window.
|
||||
trim_window = getattr(value, "get_active_trim_window", None)
|
||||
if callable(trim_window):
|
||||
try:
|
||||
start_time, duration = trim_window()
|
||||
if abs(float(start_time)) > 1e-9 or abs(float(duration)) > 1e-9:
|
||||
return None
|
||||
except Exception:
|
||||
return None
|
||||
|
||||
return _media_reference_for_path(source)
|
||||
|
||||
|
||||
def _save_video_preview(value, side):
|
||||
width, height, frame_count, frame_rate, duration = _video_metadata(value)
|
||||
|
||||
direct = _direct_video_reference(value)
|
||||
if direct is not None:
|
||||
return {
|
||||
"kind": "video",
|
||||
**direct,
|
||||
"width": width,
|
||||
"height": height,
|
||||
"frame_count": frame_count,
|
||||
"frame_rate": frame_rate,
|
||||
"duration": duration,
|
||||
}
|
||||
|
||||
filename = f"gh_compare_{side}_{uuid.uuid4().hex}.mp4"
|
||||
full_path = os.path.join(folder_paths.get_temp_directory(), filename)
|
||||
|
||||
source = _video_source_path(value)
|
||||
if source is not None:
|
||||
# Copy through Python so this module stays platform independent.
|
||||
with open(source, "rb") as src, open(full_path, "wb") as dst:
|
||||
while True:
|
||||
chunk = src.read(1024 * 1024)
|
||||
if not chunk:
|
||||
break
|
||||
dst.write(chunk)
|
||||
else:
|
||||
save_to = getattr(value, "save_to", None)
|
||||
if not callable(save_to):
|
||||
raise TypeError("无法将该输入识别或导出为视频")
|
||||
try:
|
||||
# New ComfyUI: explicitly request a browser-friendly MP4/H.264 file.
|
||||
from comfy_api.latest._util.video_types import VideoCodec, VideoContainer
|
||||
|
||||
save_to(full_path, format=VideoContainer.MP4, codec=VideoCodec.H264)
|
||||
except (ImportError, AttributeError, TypeError):
|
||||
# Older/custom VIDEO implementations commonly infer format by suffix.
|
||||
save_to(full_path)
|
||||
|
||||
return {
|
||||
"kind": "video",
|
||||
"filename": filename,
|
||||
"subfolder": "",
|
||||
"type": "temp",
|
||||
"width": width,
|
||||
"height": height,
|
||||
"frame_count": frame_count,
|
||||
"frame_rate": frame_rate,
|
||||
"duration": duration,
|
||||
}
|
||||
|
||||
|
||||
def _make_preview(value, side, source_reference=None):
|
||||
kind = _media_kind(value)
|
||||
if kind == "image":
|
||||
if _image_batch_size(value) > 1:
|
||||
return _save_image_preview(value, side)
|
||||
existing = _resolve_existing_media(value)
|
||||
direct = _media_reference_for_path(existing) if existing is not None else None
|
||||
direct = direct or source_reference
|
||||
if direct is not None:
|
||||
direct_path = Path(folder_paths.get_directory_by_type(direct["type"])) / direct.get("subfolder", "") / direct["filename"]
|
||||
try:
|
||||
with Image.open(direct_path) as image:
|
||||
width, height = image.size
|
||||
except (OSError, ValueError):
|
||||
return _save_image_preview(value, side)
|
||||
return {"kind": "image", **direct, "width": width, "height": height}
|
||||
return _save_image_preview(value, side)
|
||||
if kind == "video":
|
||||
return _save_video_preview(value, side)
|
||||
return {"kind": "unknown"}
|
||||
|
||||
|
||||
class GHImageVideoComparer:
|
||||
@classmethod
|
||||
def INPUT_TYPES(cls):
|
||||
return {
|
||||
"required": {},
|
||||
"optional": {
|
||||
"media_a": (ANY, {"tooltip": "图像或视频 A(可选)"}),
|
||||
"media_b": (ANY, {"tooltip": "图像或视频 B(可选)"}),
|
||||
},
|
||||
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO", "unique_id": "UNIQUE_ID"},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ()
|
||||
RETURN_NAMES = ()
|
||||
FUNCTION = "compare"
|
||||
OUTPUT_NODE = True
|
||||
CATEGORY = "孤海工具箱"
|
||||
DESCRIPTION = "在节点内以滑动、左右双拼或上下双拼方式对比图像/视频。"
|
||||
|
||||
@classmethod
|
||||
def IS_CHANGED(cls, **kwargs):
|
||||
# Preview nodes should refresh after every execution.
|
||||
return float("nan")
|
||||
|
||||
def compare(self, media_a=None, media_b=None, prompt=None, extra_pnginfo=None, unique_id=None):
|
||||
# Running a workflow after both links were removed must not clear the
|
||||
# last successful browser preview stored in the node properties.
|
||||
if media_a is None and media_b is None:
|
||||
return {"ui": {"gh_compare": [{"version": 1, "preserve": True}]}}
|
||||
|
||||
kind_a = _media_kind(media_a)
|
||||
kind_b = _media_kind(media_b)
|
||||
if media_a is not None and media_b is not None:
|
||||
if kind_a not in ("image", "video") or kind_b not in ("image", "video") or kind_a != kind_b:
|
||||
raise TypeError("图像对比 视频对比 GH:A 与 B 必须是同一类型,不允许图像和视频混合输入。")
|
||||
return {
|
||||
"ui": {
|
||||
"gh_compare": [{
|
||||
"version": 1,
|
||||
"a": _make_preview(media_a, "a", _prompt_image_reference(prompt, unique_id, "media_a")) if media_a is not None else {"kind": "unknown"},
|
||||
"b": _make_preview(media_b, "b", _prompt_image_reference(prompt, unique_id, "media_b")) if media_b is not None else {"kind": "unknown"},
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"GH_ImageVideoComparer": GHImageVideoComparer,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"GH_ImageVideoComparer": "图像对比 视频对比 GH",
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user