HEL-892: document pinned ACE Step music workflow references

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-31 04:31:41 +08:00
co-authored by multica-agent
parent 92af1b77f3
commit 08c907e160
88 changed files with 60969 additions and 1 deletions
File diff suppressed because it is too large Load Diff
@@ -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,58 @@
{
"fixed_count": 137,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/40": 4,
"/api/workflows/39": 4,
"/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": 11,
"polling_paths": {
"/api/jobs": 11
},
"readiness_in_fixed_count": 1,
"source": "final service-0.log; GET middleware, local isolated library; worker absent"
}
@@ -0,0 +1,728 @@
{
"base": "92af1b77f3fafea589f0cf35a1210b1af9379e6a",
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
},
{
"path": "docs/hel-892/h3-chain-evidence/library.json",
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
},
{
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
}
],
"originals": 163,
"old_forty_two_blocks_unchanged": true,
"drawer_css_unchanged": true,
"drawer_whole_file_unchanged": true,
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
"conversion_rerun": false,
"profiles_28_candidates_9_diffs_6": "unchanged"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -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,700 @@
"Static Chinese ACE notes; no upstream execution."
from __future__ import annotations
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "ace-reference"
PATHS = [
("example_ComfyUI_workflows/2-音乐" + "生成/ace_step1_5_xl_turbo_8Step极" + "速音乐生成.json")
]
def canonical(value):
return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
def cite(file, claim, first=1, last=None):
e = next(e for e in manifest if e["local_file"] == file)
data = (REF / file).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
last = last or len(data.decode().splitlines())
assert 1 <= first <= last <= len(data.decode().splitlines())
row = dict(e, local_file="../ace-reference/" + file, lines=[first, last], claim=claim)
if row not in sources:
sources.append(row)
return sources.index(row)
ace = cite(
"core__comfy_extras__nodes_ace.py",
(
"准确0.11.1仅注册旧TextEncodeAceStepA"
+ "udio/EmptyAceStepLatentAudio,缺"
+ "两种带1.5源类;不套旧类默认/公式"
),
)
loader = cite(
"core__nodes.py",
"准确0.11.1 VAE/UNET/DualCLIP加载器及注册;DualCLIP type枚举没有ace",
725,
1040,
)
sampler = cite(
"core__nodes.py",
"准确KSampler schema/common_ksampler调用;种子/steps/cfg/算法/调度/denoise分列",
1523,
1591,
)
zero = cite(
"core__nodes.py",
(
"ConditioningZeroOut复制条件字典并清零主张"
+ "量/pooled_output/conditioning_l"
+ "yrics;不是全部元数据清空"
),
250,
273,
)
model = cite(
"core__comfy_extras__nodes_model_advanced.py",
"AuraFlow继承SD3 patch,clone并设shift、multiplier=1,不证明模型类别或最佳值",
114,
153,
)
audio = cite(
"core__comfy_extras__nodes_audio.py",
"准确VAEDecodeAudio/SaveAudioMP3 schema与调用;不执行解码或保存",
96,
172,
)
audio_reg = cite("core__comfy_extras__nodes_audio.py", "准确音频扩展注册及入口")
save = cite(
"core__comfy_api__latest___ui.py",
"SavedResult/音频UI和MP3 helper:output、元数据、libmp3lame、qscale、描述符;不执行",
)
paths = cite(
"core__folder_paths.py", "动态模型目录和正式output路径/计数helper,目标资源/目录存在未知"
)
prim = cite(
"primitive__comfy_extras__nodes_primitive.py",
(
"独立0.18.1 PrimitiveInt:value无显式default、±s"
"ys.maxsize、control_after_generate=True、原"
"值返回和注册"
),
)
prim_io = cite(
"primitive__comfy_api__latest___io.py",
"独立0.18.1 IO.Int.Input default=None构造,未把保存0冒充后端默认",
267,
300,
)
virtual = cite(
"frontend__src__extensions__core__widgetInputs.ts",
(
"准确1.44.0 PrimitiveNode注册/虚拟身份、"
+ "首目标控件构造、fixed辅助、恢复及applyToGrap"
+ "h复制值;不执行"
),
)
int_front = cite(
(
"frontend__src__renderer__exten"
+ "sions__vueNodes__widgets__comp"
+ "osables__useIntWidget.ts"
),
(
"准确INT控件无default回退0;seed/noise_"
+ "seed或显式control_after_generate添"
+ "加辅助控件"
),
)
float_front = cite(
(
"frontend__src__renderer__exten"
+ "sions__vueNodes__widgets__comp"
+ "osables__useFloatWidget.ts"
),
"准确FLOAT控件构造/默认/精度;FLOAT schema与源JSON int分列",
)
widgets = cite(
"frontend__src__scripts__widgets.ts",
(
"准确数值构造适配与fixed/increment/decre"
+ "ment/randomize队列控制;serialize=f"
+ "alse不入prompt,不执行"
),
)
litegraph = cite(
"frontend__src__lib__litegraph__src__LGraphNode.ts",
"准确同树LiteGraph:保存按原索引、恢复跳serialize=false后顺序,缺键/null/[]分开",
829,
997,
)
app = cite(
"frontend__src__scripts__app.ts",
"准确前端节点构造/恢复/virtual与边线处理;不运行graphToPrompt或队列钩子",
)
cite(
"frontend__src__extensions__core__uploadAudio.ts",
"准确音频UI/上传扩展,不把audioUI口当新增后端保存值",
)
cite(
"frontend__src__schemas__nodeDef__migration.ts",
"准确前端V1/V2 input spec构造适配,不按端口位置制造具名保存",
)
cite("frontend__package.json", "准确1.44.0版本与许可;LiteGraph为同树源码")
cite("frontend__pnpm-lock.yaml", "准确锁文件原字节,LiteGraph为同树内置,无单独外部包版本套用")
cite(
"core__nodes.py",
"核心扩展注册清单含nodes_ace/nodes_audio/nodes_primitive及模型采样扩展",
2350,
2430,
)
for key in ["core", "primitive", "frontend"]:
cite(key + "__LICENSE", "准确提交许可正文;不证明模型/素材授权或目标安装")
# Position labels do not certify serialization or executable input mappings.
names = {
106: ["vae_name"],
99: ["value", "fixed"],
98: ["seconds", "batch_size"],
47: [],
3: ["seed", "fixed", "steps", "cfg", "sampler_name", "scheduler", "denoise"],
78: ["shift"],
18: [],
105: ["clip_name1", "clip_name2", "type", "device"],
109: ["value", "fixed"],
107: ["filename_prefix", "quality"],
94: [
"tags",
"lyrics",
"seed",
"fixed",
"bpm",
"duration",
"timesignature",
"language",
"keyscale",
"generate_audio_codes",
"cfg_scale",
"temperature",
"top_p",
"top_k",
"min_p",
],
104: ["unet_name", "weight_dtype"],
}
labels = {
"vae_name": "音频解码器文件",
"value": "共享数值",
"fixed": "生成前后数值控制",
"seconds": "空音频时长意图",
"batch_size": "生成批量意图",
"seed": "随机种子入口",
"steps": "采样步数",
"cfg": "采样阶段引导",
"sampler_name": "采样算法",
"scheduler": "噪声调度",
"denoise": "降噪比例",
"shift": "采样时间偏移",
"clip_name1": "第一个文本编码器文件",
"clip_name2": "第二个文本编码器文件",
"type": "双编码器类别",
"device": "加载设备选项",
"filename_prefix": "MP3保存前缀",
"quality": "MP3质量选项",
"tags": "曲风与声音描述",
"lyrics": "歌词正文",
"bpm": "每分钟节拍意图",
"duration": "音乐时长意图",
"timesignature": "拍号标签",
"language": "语言标签",
"keyscale": "调式标签",
"generate_audio_codes": "音频代码生成意图",
"cfg_scale": "代码阶段引导意图",
"temperature": "代码采样温度意图",
"top_p": "代码采样概率入口",
"top_k": "代码采样候选数入口",
"min_p": "代码采样最小概率入口",
"unet_name": "扩散模型文件",
"weight_dtype": "模型权重精度选项",
}
sampler_specs = {
"seed": (
"0",
"整数种子",
"0..18446744073709551615;control_after_generate=True",
(
"common_ksampler把seed交噪声准备与采样;该"
+ "缓存被109.INT连线覆盖,不执行RNG,不保证两个阶段的"
+ "seed对声音具有相同作用。"
),
),
"steps": (
"20",
"步",
"1..10000",
"保存8步进入采样流程;8Step极速只是标题和保存设置,不是耗时、质量或采样完成证明。",
),
"cfg": (
"8.0",
"无量纲引导入口",
"0.0..100.0;step0.1/round0.01",
(
"保存JSON int1,schema为FLOAT;这是KSa"
+ "mpler引导入口,不是94.cfg_scale的代码阶段引"
+ "导,不保证实际效果。"
),
),
"sampler_name": (
"动态枚举首项由前端决定,不写死后端默认",
"算法枚举",
"准确samplers.SAMPLER_NAMES含euler",
"保存euler,选择算法分支;实际模型兼容、声音和速度未知。",
),
"scheduler": (
"动态枚举首项由前端决定,不写死后端默认",
"调度枚举",
"准确SCHEDULER_HANDLERS含simple",
"保存simple,选择噪声步序调度;不与shift或模型名混同。",
),
"denoise": (
"1.0",
"比例入口",
"0.0..1.0;step0.01",
(
"保存JSON int1,schema为FLOAT;传comm"
+ "on_ksampler,可影响调度截取,本图实际兼容/效果未"
+ "知。"
),
),
}
cite("core__comfy__samplers.py", "准确KSampler算法/调度枚举及denoise分支,不执行任何采样")
cite("core__comfy__sample.py", "准确prepare_noise/采样调用,seed仅静态追踪,不执行RNG")
fields, comments, empty = [], [], []
for ni, n in enumerate(g["nodes"]):
nid = n["id"]
if n["type"] == "MarkdownNote":
comments.append(
dict(
node_id=str(nid),
scope="root",
pointer=f"/nodes/{ni}/widgets_values/0",
text=n["widgets_values"][0],
meaning=(
"完整指南、推荐权重与路径树原文保留:diffusion_models/vae/t"
"ext_encoders分别放扩散模型/解码器/文本编码器;这是作者建议,不是下"
"载授权、安装或运行证明。链接仅文本,不自动打开;源UNET实际还带AceStep"
"反斜杠子目录,与示意树分列。更新建议不是本轮改配置指令。"
),
)
)
continue
assert len(names[nid]) == len(n["widgets_values"])
if not n["widgets_values"]:
empty.append(
dict(
node_id=str(nid),
class_type=n["type"],
effect="源widgets_values为[],非null或缺键;仅通过连线接收数据,不虚构保存参数。"
+ (
(
"ConditioningZeroOut清零条件张量/可得po"
+ "oled和lyrics,不保证全部元数据清空。"
)
if nid == 47
else (
"VAEDecodeAudio解码后按std*5且下限1归一,返回waveform"
"及samples.sample_rate或44100默认,不保证本次音频时长/采"
"样率或模型兼容。"
)
),
evidence=[zero if nid == 47 else audio],
)
)
for k, (name, value) in enumerate(zip(names[nid], n["widgets_values"], strict=True)):
inp = next((i for i, p in enumerate(n.get("inputs", [])) if p["name"] == name), None)
default, unit, limits = (
"未知:准确声明类缺失",
"未知,不推断单位",
"未知,不套旧类/新版同名默认、范围或算法",
)
effect = ""
ev, role = [ace], "unmatched_declared_schema"
if nid in [94, 98]:
effect = (
"准确core0.11.1无本源带1.5节点类。此位置标签只说明保存意图及可得同名"
"输入口;后端默认/单位/范围/分支/生效与参数优先级未知。"
)
if name == "tags":
effect += "英文244字符曲风/人声描述原样保留,不自动翻译或当已遵循风格。"
if name == "lyrics":
effect += (
"英文825字符歌词完整保存,与language=zh并列,不改语言/歌词;歌词内"
"CFG七步数二十二是正文,不覆盖KSampler保存设置。"
)
if name in ["seconds", "duration"]:
effect += (
"缓存JSON int120被99的FLOAT物理线覆盖;FL"
+ "OAT端口不是源JSON浮点,不求值或据此保证成品2分钟。"
)
if name == "seed":
effect += (
"缓存0被109的INT线覆盖;不执行随机、不保证与KSampler共享种子等价控制声音。"
)
if name == "timesignature":
effect += "保存字符串4而不是整数4,不转换类型。"
if name == "language":
effect += "保存zh但歌词英文,保留冲突意图,不据标签保证中文输出。"
if name == "cfg_scale":
effect += "JSON int2保留,与3.cfg int1分属代码意图和采样阶段,不合并。"
if name in ["generate_audio_codes", "top_k", "min_p"]:
effect += "true/零值的分支、停用/回退条件未证,不套通用LLM解释。"
if name in ["bpm", "keyscale"]:
effect += "95/E minor是标签意图,节拍/调性是否遵循未知。"
elif nid == 3:
ev, role = [sampler], "saved_layout_reference"
if name != "fixed":
default, unit, limits, effect = sampler_specs[name]
elif nid == 99:
ev, role = (
[virtual, float_front, widgets, litegraph, app],
"frontend_virtual_reference",
)
default, unit, limits = (
"由首目标控件定义,准确目标类缺失,不补默认",
"FLOAT schema;JSON int分列",
"目标seconds范围未知,不能套旧EmptyAceStepLatentAudio",
)
effect = (
"准确1.44.0前端注册PrimitiveNode为isVirtualNode,"
"按首连接目标控件构造、恢复保存值,applyToGraph把首控件值复制至目标w"
"idget;不构造后端PrimitiveNode调用。源没有节点提供方/版本,不"
"补core身份。保存120与fixed分开,FLOAT出口seconds声明分别"
"接98.seconds和94.duration;目标类缺失和UE组合恢复未知,不"
"执行复制/回调或文本替换。"
)
elif nid == 109:
ev, role = [prim, prim_io, int_front, widgets, litegraph], "saved_layout_reference"
default, unit, limits = (
"后端Input default=None;前端INT无default回退0分列",
"整数",
(
"-sys.maxsize..sys.maxsize(运行宿主"
+ "宽度未知);control_after_generate=T"
+ "rue"
),
)
effect = (
"独立core0.18.1 PrimitiveInt准确execute原值返回IN"
"T;源保存0和fixed分列,出口分别接94.seed与3.seed。0.11."
"1其它节点不得覆盖其版本;前端恢复/UE未知,不执行种子/队列钩子。"
)
elif nid == 78:
ev, role = [model], "saved_layout_reference"
default, unit, limits = "1.73", "无已证物理单位的采样偏移", "0.0..100.0;step0.01"
effect = (
"保存JSON int3;准确AuraFlow clone模型后使用继承patch"
"设shift=3、multiplier=1.0,再替换model_samplin"
"g;不是模型类别/最佳参数/质量保证。"
)
elif nid in [104, 105, 106]:
ev, role = [loader, paths], "saved_layout_reference"
default, unit, limits = (
"动态目录/枚举;无显式静态默认",
"文件引用或枚举文本",
"动态模型列表/目标文件/安装匹配/显存未知",
)
effect = (
"保留源文件名/路径和JSON类型;"
+ "仅静态解释加载入口,不读取权重或探测目标目录,"
+ "不下载素材。"
)
if nid == 106:
effect += (
"VAELoader从vae/vae_approx目录构造选项并加载;本图引用ac"
"e_1.5_vae.safetensors不证明0.11.1支持实际ACE1.5"
"解码。"
)
if nid == 104 and name == "unet_name":
effect += (
"原AceStep\\acestep_v1.5_xl_turbo_bf16.safe"
"tensors反斜杠路径完整保留;不规范化,不因文件名bf16推断实际精度/设备"
"。"
)
if name == "weight_dtype":
limits = "default/fp8_e4m3fn/fp8_e4m3fn_fast/fp8_e5m2"
effect += (
"default分支不在model_options中强设dtype;实际加载结果/设备/显存未知。"
)
if nid == 105:
effect += "两个qwen_0.6b_ace15/qwen_4b_ace15引用分别保留。"
if name == "type":
limits = (
"准确DualCLIP type枚举不含ace;不因单CLIP"
+ "Loader含ace就冒充双加载器支持"
)
effect += (
"源ace与准确DualCLIP枚举冲突,虽函数用getatt"
+ "r解析类型,不绕过schema或拿新版证明可运行。"
)
if name == "device":
default, limits = "可选函数缺省default;schema未另设默认", "default/cpu"
effect += (
"cpu时显式设置load/offload设备;default" + "不显式强设,实际设备未知。"
)
elif nid == 107:
ev, role = [audio, save, paths, audio_reg], "saved_layout_reference"
if name == "filename_prefix":
default, unit, limits = (
"audio/ComfyUI(schema);方法缺省ComfyUI分列",
"output相对保存前缀",
"get_save_image_path解析目录/递增计数;目标可写/最终文件未知",
)
effect = (
"保存audio/ACE_Step1.5_xl_turbo;准确helper用正式"
"output目录,按batch替换%batch_num%并加计数及.mp3,非t"
"emp试听。元数据未禁用且hidden可得时加入prompt/extra_png"
"info JSON;返回ui.audio列表filename/subfolder"
"/type=output,无数据输出槽。未保存或请求媒体。"
)
else:
default, unit, limits = (
"V0(schema);execute方法缺省128k分列",
"编码器质量枚举,不是固定码率",
"V0/128k/320k",
)
effect = (
"准确MP3分支使用libmp3lame;V0仅设codec_context.qs"
"cale=1,128k/320k分别设bit_rate。不能将V0称固定码率、数"
"值质量零或质量保证;实际PyAV/编码器/目标媒体未知,未执行。"
)
if name == "fixed":
role = "frontend_reference_only"
default, unit, limits = (
(
"Primitive数值无control_after_gene"
+ "rate时回退fixed;INT seed/显式控制通常ra"
+ "ndomize分列"
),
"前端控制字符串",
"fixed/increment/decrement/randomize",
)
effect = (
"源fixed辅助字符串与保存整数分开。准确1.44.0构造辅助控件并标optio"
"ns.serialize=false以避免进入prompt;fixed回调分支不"
"增减/随机。控件配置before/after、源恢复与UE顺序未知;不是新后端输"
"入,未执行队列钩子。"
)
ev = list(dict.fromkeys(ev + [virtual, int_front, widgets, litegraph]))
inp = None
linked = (nid, name) in [(98, "seconds"), (94, "duration"), (94, "seed"), (3, "seed")]
if linked:
role = "linked_saved_cache"
effect += " 原保存缓存与外部物理边分列,不把缓存直接当最终执行输入。"
fields.append(
dict(
node_id=str(nid),
definition_node_id=str(nid),
scope="root",
class_type=n["type"],
field=name,
label=labels[name],
pointer=f"/nodes/{ni}/widgets_values/{k}",
value=value,
json_type=type(value).__name__,
named_pointer="源缺widgets_values_named,不制造具名保存指针",
input_pointer=f"/nodes/{ni}/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=role,
schema_default=default,
unit=unit,
limits=limits,
effect="位置标签不等于已认证控件映射。" + effect,
execution_note=(
"原mode0仅为保存模式;准确版本冲突/前端1.44.0及UE7.8组合恢复、目"
"标模型/素材/设备和实际效果未知;转换关闭、未实跑。"
),
evidence=ev,
)
)
assert len(fields) == 38 and len(comments) == 1 and len(empty) == 2
overview = (
"这张图保存了用曲风描述和歌词制作音乐、再导出MP3的方案。共享时长与种子连接到多"
"个节点,采样保存8步;核心声明版本缺少ACE1.5节点,双编码器类别也有冲突,目"
"前可阅读参数与连线参考,尚不能保证运行、两分钟成品或音乐效果。"
)
flow = [
(
"独立原字节盘点:根13节点/14物理边、全mode0、无子图;38非注释保存位置"
"+1完整MarkdownNote(1649字符)。47.Conditioning"
"ZeroOut/18.VAEDecodeAudio明确[],无缺键/null混同"
";全部无widgets_values_named。"
),
(
"准确core0.11.1仅注册TextEncodeAceStepAudio与Em"
"ptyAceStepLatentAudio,没有TextEncodeAceSte"
"pAudio1.5/EmptyAceStep1.5LatentAudio;不套旧"
"类或新版同名类默认、范围、时长公式或代码生成逻辑。98/94含点号类名完整保留,"
"未新增API候选。"
),
(
"准确DualCLIPLoader的type枚举没有ace;单CLIPLoader"
"存在ace不是双加载器支持证据。两个Qwen文件的ACE1.5兼容、模型目录/文"
"件/显存、实际dtype设备仍未知。"
),
(
"104.UNETLoader→78.ModelSamplingAuraFlow("
"shift3)→3.KSampler.model;105.DualCLIPLoa"
"der→94.TextEncodeAceStepAudio1.5,94条件→3."
"positive并→47.ConditioningZeroOut→3.negat"
"ive。ZeroOut清主条件及可得pooled/lyrics张量,不保证其它元"
"数据全部清空。"
),
(
"98.EmptyAceStep1.5LatentAudio→3.latent_i"
"mage;3.LATENT→18.VAEDecodeAudio.samples、"
"106.VAE→18.vae,18.AUDIO→107.SaveAudioMP3"
"。准确解码器归一并返回waveform/sample_rate;类缺口阻断整体解"
"释,不冒充已经发声。"
),
(
"99.PrimitiveNode源无提供方/版本,准确前端1.44.0仅作虚拟身"
"份/构造参考。保存JSON int120与fixed;FLOAT出口的secon"
"ds widget声明分别覆盖98.seconds和94.duration的缓存"
"int120。按首目标控件恢复再复制各目标的规则有限参考,目标类缺失/UE组合未"
"知,不求值或保证成品两分钟。"
),
(
"109.PrimitiveInt独立core0.18.1保存0/fixed,IN"
"T出口同时覆盖94.seed及3.seed缓存0;94和3另各存fixed。源整"
"数、连线覆盖和前端控制分列,不执行随机/增减/队列钩子,不保证多个seed等价控"
"制声音。"
),
(
"3.KSampler保存steps8/cfg1/euler/simple/den"
"oise1。8Step极速只是名称/设置,不是耗时/质量或真实采样完成证据;94"
".cfg_scale int2是另一代码阶段意图,不与3.cfg int1合并。"
"shift3不是模型类别/最佳值保证。"
),
(
"94共15位置完整保留:英文tags244字符/lyrics825字符、seed"
"0/fixed、bpm95/duration120、timesignature字"
"符串4、language zh、keyscale E minor、generat"
"e_audio_codes=true、cfg_scale int2、temper"
"ature0.85/top_p0.9/top_k0/min_p0。英文歌词与zh"
"标签并列,不翻译或修图。准确类缺失,节拍/调性/时长遵循、代码生成分支/采样零值"
"/优先级未知,不套通用LLM含义。"
),
(
"104原AceStep反斜杠子目录和default精度、105两个qwen文件/"
"ace/default、106 VAE文件均原样保留;不规范化路径、不从bf16"
"文件名推断设备精度。没有参考音频/声纹输入,不虚构素材依赖。"
),
(
"107前缀audio/ACE_Step1.5_xl_turbo、quality "
"V0:准确0.11.1正式output MP3/libmp3lame,V0设qs"
"cale=1而非固定码率,schema默认V0与方法缺省128k分列。按batc"
"h/计数命名、可选元数据,ui.audio文件描述符不是本次产物,未请求/api"
"/view或媒体。"
),
(
"Note完整指南/推荐权重/路径树及更新建议保留原文并中文解释;所有链接仅文本,"
"不当下载授权、安装或运行证明。源frontendVersion=1.44.0,L"
"G仅renderer;同树LiteGraph/锁文件/Primitive/数值/"
"序列化/seed/fixed与边线恢复固定,UE7.8和额外tab/宿主恢复未知"
",不套其它图1.34.8或1.52.7。"
),
(
"常见问题:缺1.5类或双编码器类别冲突不能用后版补图;保存120不保证两分钟,f"
"ixed不保证底层可复现;歌词里的操作数字是正文;V0不是固定码率;模型推荐不证"
"明已安装;mode0不是实跑成功。155全量保持停用/未检查/空时间戳,完整定稿"
"0/实跑0/新增转换0。"
),
]
flow += ["原物理边 " + json.dumps(e, ensure_ascii=False) for e in g["links"]]
flow += ["原分组 " + json.dumps(e, ensure_ascii=False) for e in g.get("groups", [])]
versions = []
for key, version in [("core", "0.11.1"), ("primitive", "0.18.1"), ("frontend", "1.44.0")]:
rev = json.loads((REF / (key + "-tag.json")).read_bytes())["object"]["sha"]
versions.append(
f"{key}准确tag v{version}→{rev};"
+ "完整commit/tree/blob/SHA/许可/获取时间分列,"
+ "不证明目标安装或发布包绑定。"
)
versions += [
(
"PrimitiveNode源无节点提供方/版本;前端1.44.0虚拟身份仅有限参"
"考,不继承旧转换profile。LG只是renderer;UE7.8/额外tab"
"属性/宿主恢复未知。"
),
(
"来源local_file以docs/hel-892/ace-document-e"
"vidence为基准,sources.json以ace-reference为基准"
";原件字节不格式化,链接仅文本,不下载模型/素材。"
),
]
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=(
"准确0.11.1缺两种ACE1.5类且DualCLIP类别冲"
+ "突;仅参考,目标环境与前端组合恢复未知,转换关闭、未实跑。"
),
user_overview=overview,
versions=versions,
counts=dict(
saved_fields=38,
root_saved_fields=38,
internal_saved_fields=0,
linked_saved_fields=4,
frontend_only=4,
source_nodes=13,
root_nodes=13,
internal_nodes=0,
physical_edges=14,
internal_edge_records=0,
source_notes=1,
history_objects=0,
history_strings=0,
final_scalars=0,
final_prompt_constructed=False,
),
fields=fields,
sources=sources,
comments=comments,
flow=flow,
flow_evidence=list(range(len(sources))),
zero_saved_nodes=empty,
boundaries=[],
steps=[
overview,
(
"操作1:阅读原歌词/曲风、模型引用、共享时长/种子及完整指南"
+ ",保留英文正文与zh标签,不构造prompt或读取/下载权重"
+ "素材。"
),
"操作2:分开核对准确版本缺类/类别冲突、前端与UE恢复、目标资源和许可;不按位置猜参数,不用后版同名节点补证。",
(
"操作3:155全量审核后才发布;当前保持停用,不启Comfy"
+ "UI、不执行模型/GPU/音频/SDK/种子/缓存或任何生成"
+ "保存。"
),
],
)
@@ -0,0 +1,40 @@
"Offline batch evidence tooling; no upstream execution."
import json
import subprocess
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
FILES = [
("calliope-backend/src/calliope/co" + "mfyui/fixed_document.py"),
"calliope-backend/tests/test_ace_fixed_document.py",
"e2e/run-ace-document.py",
] + [str(p.relative_to(ROOT)) for p in sorted(OUT.glob("*.py"))]
def main():
for command in [["check"], ["format", "--check"]]:
subprocess.run(
[
"uv",
"run",
"--project",
"calliope-backend",
"--offline",
"ruff",
*command,
"--config",
"calliope-backend/pyproject.toml",
*FILES,
],
cwd=ROOT,
check=True,
)
subprocess.run(["node", "--check", "e2e/ace-document.mjs"], cwd=ROOT, check=True)
(OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n")
print("PASS", len(FILES), (("authored Python files and one " + "JS") + " syntax check"))
if __name__ == "__main__":
main()
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,530 @@
{
"base": "92af1b77f3fafea589f0cf35a1210b1af9379e6a",
"entries": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"purpose": "仅新增本图43rd代码拥有定义摘要;保持失败关闭逻辑",
"sha256": "c240afdf699a8d9bc21959ee5bc4e07c0b023986d62c2ad6fbfbe308996ab20d",
"bytes": 11985
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"purpose": "仅为ACE单图新增中文fixed_version_document;旧42块逐对象冻结",
"sha256": "0493de252ca6bfa9db74ff63cf94b9d2905e0c86fc01c21298be2f325206a07a",
"bytes": 5426757
},
{
"path": "calliope-backend/tests/test_ace_fixed_document.py",
"purpose": "183专项:逐38位置类型/原值/证据、调用方重算拒绝、全图绑定与缺类/类别/缓存/空数组边界",
"sha256": "399ffcbb403b4545e20bddeb2b40526114b06d56c6f62d75bd6d2d7dbf57afae",
"bytes": 6575
},
{
"path": "docs/hel-892/ACE极速音乐固定参考中文说明.md",
"purpose": "逐位置完整中文说明报告,含准确来源和完整原文Note",
"sha256": "a8c79c934da63be0e73e2d7a94a76319b5bdc295ec41d37de4945744c67e70b4",
"bytes": 88716
},
{
"path": "docs/hel-892/ace-document-evidence/actual-ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"purpose": "从真实旧库升级导出的本图实际doc_json;非手写展示夹具",
"sha256": "af7936d1e96585d3302cc316a1b2f8abd2ff21b39ea612b875b144d894f69a5c",
"bytes": 122651
},
{
"path": "docs/hel-892/ace-document-evidence/audit-summary.json",
"purpose": "本批实际验证产物:audit-summary;与复现命令和summary对应,不沿用旧批结果",
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
"bytes": 797
},
{
"path": "docs/hel-892/ace-document-evidence/backend-request-counts.json",
"purpose": "本批实际验证产物:backend-request-counts;与复现命令和summary对应,不沿用旧批结果",
"sha256": "4c62ed0cd2e6f14632d01f97fc0ce97bf607b73efa3bf2645682a404bcecf982",
"bytes": 1542
},
{
"path": "docs/hel-892/ace-document-evidence/boundaries.json",
"purpose": "本批实际验证产物:boundaries;与复现命令和summary对应,不沿用旧批结果",
"sha256": "1e2142e8699effc453a7214917790714d4e6d3a252ea2e9e1499ad7ecc0e3e13",
"bytes": 38631
},
{
"path": "docs/hel-892/ace-document-evidence/browser-results.json",
"purpose": "本批实际验证产物:browser-results;与复现命令和summary对应,不沿用旧批结果",
"sha256": "9e2039a883e55fd1bf88a51c44b9091cec8e593b608aa6a1d730ae4dd7847e08",
"bytes": 105665
},
{
"path": "docs/hel-892/ace-document-evidence/browser.txt",
"purpose": "本批实际验证产物:browser;与复现命令和summary对应,不沿用旧批结果",
"sha256": "8e5fbe4ec8bebfa0cb82c3b2c5733831148696f2eff5f9b1e7d6ab086b246b9f",
"bytes": 86076
},
{
"path": "docs/hel-892/ace-document-evidence/build.txt",
"purpose": "本批实际验证产物:build;与复现命令和summary对应,不沿用旧批结果",
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
"bytes": 211
},
{
"path": "docs/hel-892/ace-document-evidence/build_definition.py",
"purpose": "按准确版本和独立原件构造38位置/完整Note中文参考块,不执行上游",
"sha256": "ed1265a60736ea7fe304d763686737264c6b230c8652a57f12c6c01ec1be3dc8",
"bytes": 32433
},
{
"path": "docs/hel-892/ace-document-evidence/check_code.py",
"purpose": "自写Python范围Ruff/format和JS语法检查入口",
"sha256": "479a2b0ac3e2d816e0144fb4e896fdd12c5a7ba528ad61f29cef22322fff4190",
"bytes": 1202
},
{
"path": "docs/hel-892/ace-document-evidence/definition-0.json",
"purpose": "实际完整参考定义:38位置/1全文Note/版本来源/流程/用途和步骤",
"sha256": "b0638b68b1083369635c6918c196c533619d90078d90fe3e91d84ce0417d09f3",
"bytes": 92485
},
{
"path": "docs/hel-892/ace-document-evidence/delivery-summary.md",
"purpose": "本批实现、验证、范围、未确认事实与剩余目标",
"sha256": "ffd179dd02fb0be863494cd43ae6cbdb51e6cc93916981885c05df9535aeeaa4",
"bytes": 3886
},
{
"path": "docs/hel-892/ace-document-evidence/development-notes.json",
"purpose": "开发校正与最终计数口径;不累加重跑",
"sha256": "ef8f052c80cecf0f91ecd8791cef38944c3ced405c341655893041e655f6aaab",
"bytes": 817
},
{
"path": "docs/hel-892/ace-document-evidence/fetch_sources.py",
"purpose": "有界准确tag/commit/tree/blob文本取证入口,保持原字节",
"sha256": "f6a6b07b9a622144b38c5385c3471e453aa15a2701e6aa247ac48a85ffe5cf2f",
"bytes": 5684
},
{
"path": "docs/hel-892/ace-document-evidence/finally-stop.json",
"purpose": "本批实际验证产物:finally-stop;与复现命令和summary对应,不沿用旧批结果",
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
"bytes": 65
},
{
"path": "docs/hel-892/ace-document-evidence/fixed-source-index.json",
"purpose": "本批实际验证产物:fixed-source-index;与复现命令和summary对应,不沿用旧批结果",
"sha256": "9c9c09ad68405366b02076a774a854fce2d15715bc619b6c31de4c500d0d75c6",
"bytes": 34769
},
{
"path": "docs/hel-892/ace-document-evidence/frozen-resource-check.json",
"purpose": "本批实际验证产物:frozen-resource-check;与复现命令和summary对应,不沿用旧批结果",
"sha256": "21ea8a562f3aed39daa8ece6d286edabfe0043f55f2d5c9b5ab36017afda801b",
"bytes": 40348
},
{
"path": "docs/hel-892/ace-document-evidence/import-protection.json",
"purpose": "本批实际验证产物:import-protection;与复现命令和summary对应,不沿用旧批结果",
"sha256": "9f1108f02eec35c57487431b63f87d433bce097f25206a60c22aa9680b960da5",
"bytes": 1270
},
{
"path": "docs/hel-892/ace-document-evidence/independent-inventory.json",
"purpose": "本批实际验证产物:independent-inventory;与复现命令和summary对应,不沿用旧批结果",
"sha256": "9297dc7b89a1a5bd8bce442b0449a799f3a2b2c829254d14e7a54e808484a0a5",
"bytes": 10182
},
{
"path": "docs/hel-892/ace-document-evidence/inventory.py",
"purpose": "独立盘点源节点、边、mode、保存值类型/指针及空数组",
"sha256": "174b5f839612e4871d6133eb0ad178e01d75bffaed960646113e5762cd47f1ce",
"bytes": 2311
},
{
"path": "docs/hel-892/ace-document-evidence/lint.txt",
"purpose": "本批实际验证产物:lint;与复现命令和summary对应,不沿用旧批结果",
"sha256": "ba3ad488d916696d5b35456e7287d7d18bf5b5b11a65c8345c7fc47948bddea9",
"bytes": 100
},
{
"path": "docs/hel-892/ace-document-evidence/npm-ci.txt",
"purpose": "本批实际验证产物:npm-ci;与复现命令和summary对应,不沿用旧批结果",
"sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b",
"bytes": 143
},
{
"path": "docs/hel-892/ace-document-evidence/package-check.json",
"purpose": "本批实际验证产物:package-check;与复现命令和summary对应,不沿用旧批结果",
"sha256": "30e076d474e89ea9426d8445ec9a666fec4818359ac3267415239fc323b41a7f",
"bytes": 550
},
{
"path": "docs/hel-892/ace-document-evidence/pins.json",
"purpose": "本批实际验证产物:pins;与复现命令和summary对应,不沿用旧批结果",
"sha256": "f1a24dcc6ea0a237419a2d89a580c8b91461c8aee62a2d1e0bdebe50e27039eb",
"bytes": 167
},
{
"path": "docs/hel-892/ace-document-evidence/ports-independent.json",
"purpose": "本批实际验证产物:ports-independent;与复现命令和summary对应,不沿用旧批结果",
"sha256": "615719d9e85d982b436a880f047b9d96d47bf7b0a33fdbe716f234d3f33c9f1e",
"bytes": 62
},
{
"path": "docs/hel-892/ace-document-evidence/pr-before.json",
"purpose": "开工前提供方实际PR25 head/base/open未合并快照",
"sha256": "e37912392fe56f479b9a9607b90cbef5ce014d2ce5b0b7ffed4f058c68bafc44",
"bytes": 308
},
{
"path": "docs/hel-892/ace-document-evidence/python-check-files.json",
"purpose": "12自写Python检查范围",
"sha256": "366eb21ae6f68cce6ad3dc66585d2d0e0a45303825638de378dd2d008c11aa35",
"bytes": 641
},
{
"path": "docs/hel-892/ace-document-evidence/raw-whitespace.json",
"purpose": "自写差分空白检查及上游原字节保护",
"sha256": "747b5e209a8a9786519f9c18af22a5ef5576167d1c043d8c3304c8c18cf77a3a",
"bytes": 3057
},
{
"path": "docs/hel-892/ace-document-evidence/rebuild.py",
"purpose": "基线旧42块冻结,只新增单图参考块和代码拥有摘要",
"sha256": "bf53a8ebda606bd166025eed4b75a20933fa722baca53ad9dec96b1d55b32b16",
"bytes": 2539
},
{
"path": "docs/hel-892/ace-document-evidence/recompute.py",
"purpose": "真实92af1b7旧代码隔离库升级/冲突/回退保护及包字节/边界核验",
"sha256": "dd047cebc5936d49c808c1184ae161e0f37cb92daa8a2d804068939356d0b50e",
"bytes": 12928
},
{
"path": "docs/hel-892/ace-document-evidence/recompute.txt",
"purpose": "本批实际验证产物:recompute;与复现命令和summary对应,不沿用旧批结果",
"sha256": "832d01326f9745928c9f064227152de3f8f727c79e898c599b5310c4bcce16b2",
"bytes": 255
},
{
"path": "docs/hel-892/ace-document-evidence/render_report.py",
"purpose": "从实际定义渲染完整中文报告及来源索引",
"sha256": "9ad39d65d3c768cdc46106cb09eea81a2445d3820eded5ce714f2351d8b4c1f5",
"bytes": 4670
},
{
"path": "docs/hel-892/ace-document-evidence/repeat.py",
"purpose": "双次重建/渲染确定性核验",
"sha256": "7d93cf1a0ae3e8f2522660c063e3956fd0864ef703b6f5bece35d61de1d30150",
"bytes": 1345
},
{
"path": "docs/hel-892/ace-document-evidence/repeatability.json",
"purpose": "本批实际验证产物:repeatability;与复现命令和summary对应,不沿用旧批结果",
"sha256": "78e83669174b4877255f6ffe4a71549e44e91cc44bc9daf94f023b47d3929a32",
"bytes": 416
},
{
"path": "docs/hel-892/ace-document-evidence/review-delta.json",
"purpose": "本批实际验证产物:review-delta;与复现命令和summary对应,不沿用旧批结果",
"sha256": "666bf1475b0ddb7e8aee8901649826353c104d09053798ba67909fef77c28e23",
"bytes": 390
},
{
"path": "docs/hel-892/ace-document-evidence/screenshots.json",
"purpose": "本批实际验证产物:screenshots;与复现命令和summary对应,不沿用旧批结果",
"sha256": "70f7a5a888cab00228d3aadf7ddc0c34732455760bcfda846e3de88faa80e534",
"bytes": 823
},
{
"path": "docs/hel-892/ace-document-evidence/service-0.log",
"purpose": "本批实际验证产物:service-0;与复现命令和summary对应,不沿用旧批结果",
"sha256": "d6c27b5dded5684e473a2f9ab94e3135cdcbac2c2ada9c372fe69eb2c5adce3f",
"bytes": 10487
},
{
"path": "docs/hel-892/ace-document-evidence/service-1.log",
"purpose": "本批实际验证产物:service-1;与复现命令和summary对应,不沿用旧批结果",
"sha256": "b048b126e2f8192bc58b554f2590dc981965ef0f8e39aa4ce8a46637e88a1dbc",
"bytes": 72
},
{
"path": "docs/hel-892/ace-document-evidence/service-stop.json",
"purpose": "本批实际验证产物:service-stop;与复现命令和summary对应,不沿用旧批结果",
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
"bytes": 65
},
{
"path": "docs/hel-892/ace-document-evidence/source-check.json",
"purpose": "本批实际验证产物:source-check;与复现命令和summary对应,不沿用旧批结果",
"sha256": "4f58aa4d4365b199908634aa000c72e0a382c113c7762ba0d95b7da6b0df13c3",
"bytes": 777
},
{
"path": "docs/hel-892/ace-document-evidence/tests.txt",
"purpose": "本批实际验证产物:tests;与复现命令和summary对应,不沿用旧批结果",
"sha256": "3608a94a664abc35007b28a7a42f05f7e4ea2db36799c4cdc74688cea2605d6e",
"bytes": 880
},
{
"path": "docs/hel-892/ace-document-evidence/validation-commands.txt",
"purpose": "实际复现命令与验证口径/适用边界",
"sha256": "c7daae2a98d4e687ddc4dbbe55abfc956d071a3ead5f986ac36dd67b67d466be",
"bytes": 3432
},
{
"path": "docs/hel-892/ace-document-evidence/verify_sources.py",
"purpose": "准确来源blob/tag/commit/tree与独立源字段逐项核验",
"sha256": "62fe2d91fc8124c681f20a1af170d6e0349f0ba268abbac12408fafd5aaf32e6",
"bytes": 3744
},
{
"path": "docs/hel-892/ace-document-evidence/visual-inspection.json",
"purpose": "双屏代表截图目验记录,截图不入仓",
"sha256": "e0aa0aba13d21bdd220a4294729921e66c29094917561cb409040c84599ffb7b",
"bytes": 492
},
{
"path": "docs/hel-892/ace-reference/core-commit.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "08f8f5636538f1e71161f7dbb97cdd53ed3cd8038364a2c07cdb02346f980980",
"bytes": 1117
},
{
"path": "docs/hel-892/ace-reference/core-tag.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "4ba60c24f35d218e42fb972dd3949fe5820db4466c3560ba30cafb9e1d3a307a",
"bytes": 339
},
{
"path": "docs/hel-892/ace-reference/core-tree.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "bbf364f1829bc3328da9782510e7c7e870016b73151b1dbdeed43786c1b5c120",
"bytes": 185089
},
{
"path": "docs/hel-892/ace-reference/core__LICENSE",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节LICENSE;仅静态调查/许可和必要引用",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"bytes": 35149
},
{
"path": "docs/hel-892/ace-reference/core__comfy__model_sampling.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy/model_sampling.py;仅静态调查/许可和必要引用",
"sha256": "127dd382157084b35d7500c83552bb40c0b9287ed09096ee699dd3695aa7c04a",
"bytes": 13485
},
{
"path": "docs/hel-892/ace-reference/core__comfy__sample.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy/sample.py;仅静态调查/许可和必要引用",
"sha256": "7123f89ac74e6bef191b8686aa71d11d6f6041b8689dce6a1757e8dcd4cc11c3",
"bytes": 4151
},
{
"path": "docs/hel-892/ace-reference/core__comfy__samplers.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy/samplers.py;仅静态调查/许可和必要引用",
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"bytes": 49683
},
{
"path": "docs/hel-892/ace-reference/core__comfy__sd.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy/sd.py;仅静态调查/许可和必要引用",
"sha256": "9376efb33348885d89bd414274f092aa7f01f61afc049fc5cf19dbb878cf8758",
"bytes": 91640
},
{
"path": "docs/hel-892/ace-reference/core__comfy__text_encoders__ace.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy/text_encoders/ace.py;仅静态调查/许可和必要引用",
"sha256": "f200d0a8579b43e4e9994bdba7298063c5fc8aa5f06fe0c377f704341a5f4bb4",
"bytes": 6323
},
{
"path": "docs/hel-892/ace-reference/core__comfy_api__latest___ui.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy_api/latest/_ui.py;仅静态调查/许可和必要引用",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"bytes": 17849
},
{
"path": "docs/hel-892/ace-reference/core__comfy_api__latest___ui_public.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy_api/latest/_ui_public.py;仅静态调查/许可和必要引用",
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"bytes": 33
},
{
"path": "docs/hel-892/ace-reference/core__comfy_extras__nodes_ace.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy_extras/nodes_ace.py;仅静态调查/许可和必要引用",
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"bytes": 2238
},
{
"path": "docs/hel-892/ace-reference/core__comfy_extras__nodes_audio.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy_extras/nodes_audio.py;仅静态调查/许可和必要引用",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"bytes": 24618
},
{
"path": "docs/hel-892/ace-reference/core__comfy_extras__nodes_model_advanced.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节comfy_extras/nodes_model_advanced.py;仅静态调查/许可和必要引用",
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"bytes": 12292
},
{
"path": "docs/hel-892/ace-reference/core__folder_paths.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节folder_paths.py;仅静态调查/许可和必要引用",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"bytes": 18573
},
{
"path": "docs/hel-892/ace-reference/core__nodes.py",
"purpose": "准确core@b0d9708974f50fce7d2448ac84e9260c87f7ade3原字节nodes.py;仅静态调查/许可和必要引用",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"bytes": 102870
},
{
"path": "docs/hel-892/ace-reference/frontend-commit.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "d8f5f701ec3498610d77cd73868c362be41a061424e3499e9596846f6ee191f3",
"bytes": 2975
},
{
"path": "docs/hel-892/ace-reference/frontend-tag.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "d33a08a74c21fb04bb75aa30cfd709fc536c8bb2612519a85c127e16a1f21c6c",
"bytes": 357
},
{
"path": "docs/hel-892/ace-reference/frontend-tree.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "99c57c2b5d7218a539e6fa1bc9c0a7f28798e7c54b238d5bc6bbeb017c659751",
"bytes": 1017867
},
{
"path": "docs/hel-892/ace-reference/frontend__LICENSE",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节LICENSE;仅静态调查/许可和必要引用",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"bytes": 35149
},
{
"path": "docs/hel-892/ace-reference/frontend__package.json",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节package.json;仅静态调查/许可和必要引用",
"sha256": "efd589fe829f83fa7a773c30fcca0645e9e60f1f5f5164651c49bc9560f6aa39",
"bytes": 8519
},
{
"path": "docs/hel-892/ace-reference/frontend__pnpm-lock.yaml",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节pnpm-lock.yaml;仅静态调查/许可和必要引用",
"sha256": "320fcae30af04ade578fc90b49c811c2990ccbafa81c53fe96bd1cadb547dcbf",
"bytes": 688438
},
{
"path": "docs/hel-892/ace-reference/frontend__src__extensions__core__uploadAudio.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/extensions/core/uploadAudio.ts;仅静态调查/许可和必要引用",
"sha256": "5ba5f67f9d3666c7b730ddd350faee939537e94e11ec6df05c5bd86db5d56178",
"bytes": 14286
},
{
"path": "docs/hel-892/ace-reference/frontend__src__extensions__core__widgetInputs.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/extensions/core/widgetInputs.ts;仅静态调查/许可和必要引用",
"sha256": "e37bdb998b863483f51d07d31ae193dc2aa1657d4c450cc3b1640af51be5caea",
"bytes": 19181
},
{
"path": "docs/hel-892/ace-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/lib/litegraph/src/LGraphNode.ts;仅静态调查/许可和必要引用",
"sha256": "eeeea23bef7fc0cf30384c23458c1b0517498daf019d1728c27dbca27724bbad",
"bytes": 127506
},
{
"path": "docs/hel-892/ace-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useFloatWidget.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts;仅静态调查/许可和必要引用",
"sha256": "8485d1edc17e911e65e38055e704045245f2de8310a54b87d429e7ed111accef",
"bytes": 3058
},
{
"path": "docs/hel-892/ace-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts;仅静态调查/许可和必要引用",
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
"bytes": 2887
},
{
"path": "docs/hel-892/ace-reference/frontend__src__schemas__nodeDef__migration.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/schemas/nodeDef/migration.ts;仅静态调查/许可和必要引用",
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533",
"bytes": 3739
},
{
"path": "docs/hel-892/ace-reference/frontend__src__scripts__app.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/scripts/app.ts;仅静态调查/许可和必要引用",
"sha256": "ca0e018a73b4d27e9ef17a823a87d903ebd728944ffffbcea583ce5b33fdf4f0",
"bytes": 72473
},
{
"path": "docs/hel-892/ace-reference/frontend__src__scripts__widgets.ts",
"purpose": "准确frontend@1720aa028645cb2b0a942f20c9b2290aacd13703原字节src/scripts/widgets.ts;仅静态调查/许可和必要引用",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"bytes": 11745
},
{
"path": "docs/hel-892/ace-reference/primitive-commit.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "4738bef2a158577e11e9ce23c47f8fba46f83a7b39fdebfd551ddc4b81f9ab52",
"bytes": 1117
},
{
"path": "docs/hel-892/ace-reference/primitive-tag.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "19ea4fadb6f62b281fc27182344e1cd5645c24bee3e473469c777cfb1501b4dd",
"bytes": 339
},
{
"path": "docs/hel-892/ace-reference/primitive-tree.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "5cba88bc10203fa54203e9e5dfb1ff5ff3892480b0e59fbd4631bf388ffc1365",
"bytes": 217914
},
{
"path": "docs/hel-892/ace-reference/primitive__LICENSE",
"purpose": "准确primitive@ebf6b52e322664af91fcdc8b8848d31d5fb98f66原字节LICENSE;仅静态调查/许可和必要引用",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"bytes": 35149
},
{
"path": "docs/hel-892/ace-reference/primitive__comfy_api__latest___io.py",
"purpose": "准确primitive@ebf6b52e322664af91fcdc8b8848d31d5fb98f66原字节comfy_api/latest/_io.py;仅静态调查/许可和必要引用",
"sha256": "7a2af992330d562fad6ef6d7acb15a41e7f934b11e45c6ade01636b6cea275e9",
"bytes": 85403
},
{
"path": "docs/hel-892/ace-reference/primitive__comfy_extras__nodes_primitive.py",
"purpose": "准确primitive@ebf6b52e322664af91fcdc8b8848d31d5fb98f66原字节comfy_extras/nodes_primitive.py;仅静态调查/许可和必要引用",
"sha256": "3d89e428cb9259cee76f53932d9e6d53de8053cee98696072863190337b60a1b",
"bytes": 2876
},
{
"path": "docs/hel-892/ace-reference/primitive__nodes.py",
"purpose": "准确primitive@ebf6b52e322664af91fcdc8b8848d31d5fb98f66原字节nodes.py;仅静态调查/许可和必要引用",
"sha256": "9e6d8d84d3a66d5f7b8ee121d0905800297322446d7a673357c41451b66920f8",
"bytes": 104096
},
{
"path": "docs/hel-892/ace-reference/sources.json",
"purpose": "准确tag/commit/tree或完整来源元数据索引;固定原件身份/许可/获取与复核时间",
"sha256": "ba08dc44221285ea59879b4377cd7f655b4f54bd4b31a5c20b16e63c1bc93528",
"bytes": 29542
},
{
"path": "e2e/ace-document.mjs",
"purpose": "1440/390实际GET抽屉浏览:本图逐位置全文+42旧图摘要及回退/焦点/重试",
"sha256": "6bfb7bc1da3fd3849bf1dcb8c6f024c26bbe928742855cd8908cbf38ee54d557",
"bytes": 15313
},
{
"path": "e2e/run-ace-document.py",
"purpose": "前台启动本地GET隔离服务和Vite,finally停止本轮子进程并核端口释放",
"sha256": "3b1b954859b814e9beb1021b441f9970f634a31914758da6c371b7c7a1f33062",
"bytes": 3169
}
],
"listed_files": 87,
"self": "delivery-files.json为本清单;自身不递归计算SHA",
"screenshots": "12张仅附卡不入仓"
}
@@ -0,0 +1,16 @@
第62批只完成ACE Step极速音乐单图参考说明,待HEL-893功能+界面审核。155全量目标未完成,不合并、不部署。
- 原PR25/main,分支agent/agent/a64a969a6a44,基线92af1b77f3fafea589f0cf35a1210b1af9379e6a;最终提交由交付附件final-head.json记录。
- 原件独立盘点13节点/14物理边,全mode0、无子图;38保存位置、1完整MarkdownNote(1649字符)。零位置47/18均明确[]。原英文tags/歌词、zh、字符串4、JSON int/float/bool、反斜杠路径和4处外线覆盖/4个fixed辅助分列保留。
- 实际source_reviews.json新增本图fixed_version_document;fixed_document.py只加代码拥有的全定义摘要。实际doc_json/GET及既有Drawer显示用途、逐位置解释、资源/连线/步骤/常见问题/Note指南;不改Drawer整文件或转换执行链,不构造prompt。
- 准确core0.11.1仅注册旧TextEncodeAceStepAudio/EmptyAceStepLatentAudio,没有两种源1.5类;准确DualCLIPLoader枚举不含ace。缺类/类别冲突不以新版补证。94/98默认、单位、范围、代码生成分支/采样零值与优先级均未知;保存120/8Step不保证时长/性能。
- PrimitiveInt准确core0.18.1单独固定;前端准确1.44.0、同树LiteGraph和锁文件,PrimitiveNode虚拟构造、数值/控件恢复/seed/fixed/边线静态参考,源无提供方不补core身份。UE7.8/tab/宿主组合恢复未知,未继承旧profile。
- SaveAudioMP3准确core0.11.1+UI/helper:正式output MP3/libmp3lame、V0只设qscale=1,schema默认V0与方法缺省128k分列;元数据/描述符/批次命名不当本次产物。28份准确源码/许可原件、23被引文本/27引用核tag/完整commit/tree/blob/SHA;获取时间为下载后原件缓存写入观测,HTTP接收时间未另记录,verified_at为独立blob复核时间。
- 最终196后台通过(183专项+13库)、1588浏览断言通过(本图564+旧42图1008+汇总2+共享14)。12自写Python Ruff/format与JS语法通过;离线wheel/sdist三资源字节一致;双次定义重建/报告渲染确定性通过。未重跑无关全套,不称全仓绿,开发期重跑不累加。
- 真实92af1b7旧代码隔离库仅1更新/154跳过,其余154整行不变;幂等、精确回退/再升级、升级前后用户修改各1冲突/29列整行保护通过。旧42块1583位置+45注释逐对象不变,现43图1621+46仅参考;尚112图无本类参考块。
- 155/排除1、16/139、1217/3660/294及全停用未检查/空时间戳保持;163原件、191资源、28profile/9候选/六差分/转换执行资格冻结,完整定稿0/实跑0/新增转换0。
- 两屏1440/390逐位置、全文、来源、默认折叠、旧/空/错绑定回退、迟到响应、失败重试、焦点/无横溢检查通过;12截图仅附卡,6代表图目验。浏览固定本地GET142/轮询11,后端固定137含就绪1/轮询11,6详情拦截夹具/字体CSS拦截另列,禁止请求0;finally停本轮服务,独立确认8247/5173连接拒绝,无新增pyc。
逐文件用途/SHA见delivery-files.json;复现入口validation-commands.txt;独立源盘点independent-inventory.json;定义/来源source-check.json;真实旧库保护import-protection.json;旧块差分review-delta.json;保护边界boundaries.json和frozen-resource-check.json;浏览及请求明细browser-results.json/backend-request-counts.json;实际说明actual-*.json及相邻完整中文报告。
剩余:准确缺类/类别冲突、前端UE/宿主组合恢复、目标模型/文件/设备/授权与实际效果尚未核实。没有连接目标、停TTS、启ComfyUI、执行上游/模型/GPU/音频/SDK/随机种子/缓存或媒体请求;没有权重/素材/字体下载、新依赖、在线写库或界面修改。当前无需材料或机器窗口;本批参考通过不代表155全量完成。
@@ -0,0 +1,14 @@
{
"final_test_count_only": true,
"development_runs_not_accumulated": true,
"development_adjustments": [
"准确0.11.1树无ace15.py;改为静态核对该树实际nodes_ace.py/ace.py,确认带1.5类未注册,未借新版补证",
"独立盘点脚本的mode计数复制断言及自写长中文行format/lint已修正,非产品回归失败",
"原件获取时间补为下载后缓存写入观测,HTTP接收未另记录,verified_at单独保留;最终定义/GET/包均按此元数据验证",
"浏览脚本迟到响应标签修为ACE→旧IndexTTS;按实际94字段断言,不沿用旧38字段文字"
],
"unrelated_full_suite_rerun": false,
"prior_5_baseline_failures": "历史记录,不声称本轮复测或修复",
"upstream_execution": false,
"new_dependencies": false
}
@@ -0,0 +1,162 @@
"""Fetch only pinned upstream text; never import upstream code."""
import datetime
import hashlib
import json
import urllib.request
from pathlib import Path
OUT = Path(__file__).resolve().parents[1] / "ace-reference"
SPECS = {}
def get(url):
with urllib.request.urlopen(
urllib.request.Request(url, headers={"User-Agent": "offline-source-review"}), timeout=40
) as r:
return r.read()
def fetch(spec):
key, (repo, rev, files) = spec
base = f"https://api.github.com/repos/{repo}/git/"
tree_path = OUT / (key + "-tree.json")
tree = (
tree_path.read_bytes()
if tree_path.exists()
else get(base + f"trees/{rev}?recursive=1&review=hel892ace")
)
t = json.loads(tree)
assert not t["truncated"]
(OUT / (key + "-tree.json")).write_bytes(tree)
commit_path = OUT / (key + "-commit.json")
commit = (
commit_path.read_bytes()
if commit_path.exists()
else get(base + f"commits/{rev}?review=hel892ace")
)
(OUT / (key + "-commit.json")).write_bytes(commit)
rows = []
previous = (
json.loads((OUT / "sources.json").read_bytes())["sources"]
if (OUT / "sources.json").exists()
else []
)
for f in files:
url = f"https://raw.githubusercontent.com/{repo}/{rev}/{f}"
prior = next((e for e in previous if e["id"] == key and e["file"] == f), None)
name = prior["local_file"] if prior else key + "__" + f.replace("/", "__")
cached = OUT / name
raw = cached.read_bytes() if cached.exists() else get(url)
blob = next(e["sha"] for e in t["tree"] if e["path"] == f)
assert hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() == blob
if not cached.exists():
cached.write_bytes(raw)
rows.append(
dict(
id=key,
repo=repo,
file=f,
local_file=name,
commit=rev,
tree=json.loads(commit)["tree"]["sha"],
url=url,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=blob,
verified_at=datetime.datetime.now(datetime.timezone.utc).isoformat(),
acquisition_time=(
prior["acquisition_time"]
if prior
else datetime.datetime.fromtimestamp(
cached.stat().st_mtime, datetime.timezone.utc
).isoformat()
),
acquisition_time_basis=(
"local raw-cache write immediately after acquisition; "
"HTTP receipt time not separately recorded"
),
cached_bytes_reverified=True,
license_file=next(
(
e["local_file"]
for e in previous
if e["id"] == key and e["file"] == "LICENSE"
),
key + "__LICENSE"
if any(x["path"] == "LICENSE" for x in t["tree"])
else "unknown: pyproject declares LICENSE but exact tree has no such file",
),
applicability="源声明准确提交;发布包/目标安装绑定未知",
transport="GitHub pinned raw text; blob verified",
)
)
return rows
def main():
OUT.mkdir(parents=True, exist_ok=True)
definitions = {
"core": (
"Comfy-Org/ComfyUI",
"0.11.1",
[
"nodes.py",
"folder_paths.py",
"comfy_extras/nodes_ace.py",
"comfy_extras/nodes_audio.py",
"comfy_extras/nodes_model_advanced.py",
"comfy/sd.py",
"comfy/samplers.py",
"comfy/sample.py",
"comfy/model_sampling.py",
"comfy/text_encoders/ace.py",
"comfy_api/latest/_ui.py",
"comfy_api/latest/_ui_public.py",
"LICENSE",
],
),
"primitive": (
"Comfy-Org/ComfyUI",
"0.18.1",
["comfy_extras/nodes_primitive.py", "comfy_api/latest/_io.py", "nodes.py", "LICENSE"],
),
"frontend": (
"Comfy-Org/ComfyUI_frontend",
"1.44.0",
[
"package.json",
"pnpm-lock.yaml",
"src/scripts/widgets.ts",
"src/scripts/app.ts",
"src/extensions/core/widgetInputs.ts",
"src/extensions/core/uploadAudio.ts",
"src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"src/schemas/nodeDef/migration.ts",
"src/lib/litegraph/src/LGraphNode.ts",
"LICENSE",
],
),
}
for key, (repo, tag, files) in definitions.items():
p = OUT / (key + "-tag.json")
raw = (
p.read_bytes()
if p.exists()
else get(f"https://api.github.com/repos/{repo}/git/ref/tags/v{tag}")
)
p.write_bytes(raw)
obj = json.loads(raw)["object"]
assert obj["type"] == "commit", obj
SPECS[key] = (repo, obj["sha"], files)
rows = []
for spec in SPECS.items():
rows += fetch(spec)
(OUT / "sources.json").write_text(
json.dumps({"sources": rows}, ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,650 @@
[
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_ace.py",
"local_file": "../ace-reference/core__comfy_extras__nodes_ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_ace.py",
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"git_blob_sha1": "1409233c924f6828c4d8467a57605318b810b5d0",
"verified_at": "2026-10-30T20:22:48.543899+00:00",
"acquisition_time": "2026-10-30T20:21:48.332968+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
63
],
"claim": "准确0.11.1仅注册旧TextEncodeAceStepAudio/EmptyAceStepLatentAudio,缺两种带1.5源类;不套旧类默认/公式"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
725,
1040
],
"claim": "准确0.11.1 VAE/UNET/DualCLIP加载器及注册;DualCLIP type枚举没有ace"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1523,
1591
],
"claim": "准确KSampler schema/common_ksampler调用;种子/steps/cfg/算法/调度/denoise分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
250,
273
],
"claim": "ConditioningZeroOut复制条件字典并清零主张量/pooled_output/conditioning_lyrics;不是全部元数据清空"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_model_advanced.py",
"local_file": "../ace-reference/core__comfy_extras__nodes_model_advanced.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_model_advanced.py",
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"git_blob_sha1": "f22b333fce9e1e28be5635006c958deaa30d81ed",
"verified_at": "2026-10-30T20:22:48.543994+00:00",
"acquisition_time": "2026-10-30T20:21:49.253023+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
114,
153
],
"claim": "AuraFlow继承SD3 patch,clone并设shift、multiplier=1,不证明模型类别或最佳值"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "../ace-reference/core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
96,
172
],
"claim": "准确VAEDecodeAudio/SaveAudioMP3 schema与调用;不执行解码或保存"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "../ace-reference/core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
693
],
"claim": "准确音频扩展注册及入口"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui.py",
"local_file": "../ace-reference/core__comfy_api__latest___ui.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
"verified_at": "2026-10-30T20:22:48.544322+00:00",
"acquisition_time": "2026-10-30T20:22:31.807545+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
475
],
"claim": "SavedResult/音频UI和MP3 helper:output、元数据、libmp3lame、qscale、描述符;不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "../ace-reference/core__folder_paths.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"verified_at": "2026-10-30T20:22:48.543862+00:00",
"acquisition_time": "2026-10-30T20:21:47.876941+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
496
],
"claim": "动态模型目录和正式output路径/计数helper,目标资源/目录存在未知"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_primitive.py",
"local_file": "../ace-reference/primitive__comfy_extras__nodes_primitive.py",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/comfy_extras/nodes_primitive.py",
"sha256": "3d89e428cb9259cee76f53932d9e6d53de8053cee98696072863190337b60a1b",
"git_blob_sha1": "9c2e98758ea35aa8e4be98fa0c1a6c5a6bf0d568",
"verified_at": "2026-10-30T20:22:48.545321+00:00",
"acquisition_time": "2026-10-30T20:22:03.841888+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
110
],
"claim": "独立0.18.1 PrimitiveInt:value无显式default、±sys.maxsize、control_after_generate=True、原值返回和注册"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_io.py",
"local_file": "../ace-reference/primitive__comfy_api__latest___io.py",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/comfy_api/latest/_io.py",
"sha256": "7a2af992330d562fad6ef6d7acb15a41e7f934b11e45c6ade01636b6cea275e9",
"git_blob_sha1": "7ca8f4e0cb053b0235fdb0e1013665d1bf055964",
"verified_at": "2026-10-30T20:22:48.545455+00:00",
"acquisition_time": "2026-10-30T20:22:32.755601+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
267,
300
],
"claim": "独立0.18.1 IO.Int.Input default=None构造,未把保存0冒充后端默认"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "../ace-reference/frontend__src__extensions__core__widgetInputs.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/extensions/core/widgetInputs.ts",
"sha256": "e37bdb998b863483f51d07d31ae193dc2aa1657d4c450cc3b1640af51be5caea",
"git_blob_sha1": "b4a69a3e4a2b10ac2a07fc952b050da499564c3e",
"verified_at": "2026-10-30T20:22:48.550452+00:00",
"acquisition_time": "2026-10-30T20:22:08.322154+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
661
],
"claim": "准确1.44.0 PrimitiveNode注册/虚拟身份、首目标控件构造、fixed辅助、恢复及applyToGraph复制值;不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"local_file": "../ace-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
"git_blob_sha1": "f307aa0e14b5440f505e3f488cc6c415f45f7879",
"verified_at": "2026-10-30T20:22:48.550637+00:00",
"acquisition_time": "2026-10-30T20:22:09.142203+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
93
],
"claim": "准确INT控件无default回退0;seed/noise_seed或显式control_after_generate添加辅助控件"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"local_file": "../ace-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useFloatWidget.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"sha256": "8485d1edc17e911e65e38055e704045245f2de8310a54b87d429e7ed111accef",
"git_blob_sha1": "0d5ee3a9594c4bdb6524399c22224ed76ea60ac7",
"verified_at": "2026-10-30T20:22:48.952294+00:00",
"acquisition_time": "2026-10-30T20:22:48.948558+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
100
],
"claim": "准确FLOAT控件构造/默认/精度;FLOAT schema与源JSON int分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "../ace-reference/frontend__src__scripts__widgets.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/scripts/widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"git_blob_sha1": "517e6f0e836f01df6c2ab08f3fe71d096d54aad6",
"verified_at": "2026-10-30T20:22:48.550181+00:00",
"acquisition_time": "2026-10-30T20:22:07.522107+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
320
],
"claim": "准确数值构造适配与fixed/increment/decrement/randomize队列控制;serialize=false不入prompt,不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../ace-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "eeeea23bef7fc0cf30384c23458c1b0517498daf019d1728c27dbca27724bbad",
"git_blob_sha1": "b62ecc7d1a9bf6fd4f48c07d0437b0a78a78c8a2",
"verified_at": "2026-10-30T20:22:49.360238+00:00",
"acquisition_time": "2026-10-30T20:22:09.550227+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
829,
997
],
"claim": "准确同树LiteGraph:保存按原索引、恢复跳serialize=false后顺序,缺键/null/[]分开"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "../ace-reference/frontend__src__scripts__app.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/scripts/app.ts",
"sha256": "ca0e018a73b4d27e9ef17a823a87d903ebd728944ffffbcea583ce5b33fdf4f0",
"git_blob_sha1": "2ea301e4fc183bf366a567143722db97d7586138",
"verified_at": "2026-10-30T20:22:48.550358+00:00",
"acquisition_time": "2026-10-30T20:22:07.930131+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
2227
],
"claim": "准确前端节点构造/恢复/virtual与边线处理;不运行graphToPrompt或队列钩子"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/uploadAudio.ts",
"local_file": "../ace-reference/frontend__src__extensions__core__uploadAudio.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/extensions/core/uploadAudio.ts",
"sha256": "5ba5f67f9d3666c7b730ddd350faee939537e94e11ec6df05c5bd86db5d56178",
"git_blob_sha1": "8b6f65ab26c5f68f52aebb644a09157ad78a447f",
"verified_at": "2026-10-30T20:22:48.550539+00:00",
"acquisition_time": "2026-10-30T20:22:08.730178+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
452
],
"claim": "准确音频UI/上传扩展,不把audioUI口当新增后端保存值"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/schemas/nodeDef/migration.ts",
"local_file": "../ace-reference/frontend__src__schemas__nodeDef__migration.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/schemas/nodeDef/migration.ts",
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533",
"git_blob_sha1": "22d91c16e70b0edce921de60d1cecd727b998372",
"verified_at": "2026-10-30T20:22:49.359559+00:00",
"acquisition_time": "2026-10-30T20:22:49.356582+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
143
],
"claim": "准确前端V1/V2 input spec构造适配,不按端口位置制造具名保存"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "../ace-reference/frontend__package.json",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/package.json",
"sha256": "efd589fe829f83fa7a773c30fcca0645e9e60f1f5f5164651c49bc9560f6aa39",
"git_blob_sha1": "995863ff198133cc74e927ebae6b00cefa7258dc",
"verified_at": "2026-10-30T20:22:48.549097+00:00",
"acquisition_time": "2026-10-30T20:22:06.414041+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
224
],
"claim": "准确1.44.0版本与许可;LiteGraph为同树源码"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "../ace-reference/frontend__pnpm-lock.yaml",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/pnpm-lock.yaml",
"sha256": "320fcae30af04ade578fc90b49c811c2990ccbafa81c53fe96bd1cadb547dcbf",
"git_blob_sha1": "4302e898777a914ff955eb67e1488b04eb457f55",
"verified_at": "2026-10-30T20:22:48.550035+00:00",
"acquisition_time": "2026-10-30T20:22:07.122083+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
20253
],
"claim": "准确锁文件原字节,LiteGraph为同树内置,无单独外部包版本套用"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
2350,
2430
],
"claim": "核心扩展注册清单含nodes_ace/nodes_audio/nodes_primitive及模型采样扩展"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../ace-reference/core__LICENSE",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.544400+00:00",
"acquisition_time": "2026-10-30T20:22:02.397803+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
674
],
"claim": "准确提交许可正文;不证明模型/素材授权或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../ace-reference/primitive__LICENSE",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.545678+00:00",
"acquisition_time": "2026-10-30T20:22:04.725941+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
674
],
"claim": "准确提交许可正文;不证明模型/素材授权或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "../ace-reference/frontend__LICENSE",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:49.360460+00:00",
"acquisition_time": "2026-10-30T20:22:09.950251+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
674
],
"claim": "准确提交许可正文;不证明模型/素材授权或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/samplers.py",
"local_file": "../ace-reference/core__comfy__samplers.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/samplers.py",
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"git_blob_sha1": "1989ef107adca2e5c560caa623ce746afe27d312",
"verified_at": "2026-10-30T20:22:48.544183+00:00",
"acquisition_time": "2026-10-30T20:21:50.545099+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
1178
],
"claim": "准确KSampler算法/调度枚举及denoise分支,不执行任何采样"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sample.py",
"local_file": "../ace-reference/core__comfy__sample.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/sample.py",
"sha256": "7123f89ac74e6bef191b8686aa71d11d6f6041b8689dce6a1757e8dcd4cc11c3",
"git_blob_sha1": "a2a39b527a41355d2a9eba9345a3668d72aaa5a8",
"verified_at": "2026-10-30T20:22:48.544212+00:00",
"acquisition_time": "2026-10-30T20:21:50.985126+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
73
],
"claim": "准确prepare_noise/采样调用,seed仅静态追踪,不执行RNG"
}
]
@@ -0,0 +1,771 @@
{
"base": "92af1b77f3fafea589f0cf35a1210b1af9379e6a",
"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,69 @@
{
"base": "92af1b77f3fafea589f0cf35a1210b1af9379e6a",
"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": 38,
"new_notes": 1,
"old_saved": 1583,
"old_notes": 45,
"overviews": 43,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1,357 @@
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef",
"fields": [
{
"scope": "root",
"node": 106,
"pointer": "/nodes/0/widgets_values/0",
"json_type": "str",
"value": "ace_1.5_vae.safetensors"
},
{
"scope": "root",
"node": 99,
"pointer": "/nodes/1/widgets_values/0",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 99,
"pointer": "/nodes/1/widgets_values/1",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 98,
"pointer": "/nodes/2/widgets_values/0",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 98,
"pointer": "/nodes/2/widgets_values/1",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/0",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/1",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/2",
"json_type": "int",
"value": 8
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/3",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/4",
"json_type": "str",
"value": "euler"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/5",
"json_type": "str",
"value": "simple"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/4/widgets_values/6",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 78,
"pointer": "/nodes/5/widgets_values/0",
"json_type": "int",
"value": 3
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/7/widgets_values/0",
"json_type": "str",
"value": "qwen_0.6b_ace15.safetensors"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/7/widgets_values/1",
"json_type": "str",
"value": "qwen_4b_ace15.safetensors"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/7/widgets_values/2",
"json_type": "str",
"value": "ace"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/7/widgets_values/3",
"json_type": "str",
"value": "default"
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/8/widgets_values/0",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/8/widgets_values/1",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 107,
"pointer": "/nodes/10/widgets_values/0",
"json_type": "str",
"value": "audio/ACE_Step1.5_xl_turbo"
},
{
"scope": "root",
"node": 107,
"pointer": "/nodes/10/widgets_values/1",
"json_type": "str",
"value": "V0"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/0",
"json_type": "str",
"value": "Late Night Trap, 95 BPM, Heavy 808 Bass, Wet Synths, Female Background Vocals, Male Rap Vocals + Seductive Female Vocals, Dark Bedroom Production, Atmospheric Club Vibes, Breathy Whispers, Slap Bass, Deep Sub Bass, Cinematic R&B Soundtrack Feel"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/1",
"json_type": "str",
"value": "[Verse 1]\nOpen up the canvas, blank slate on my screen\nDrag a checkpoint loader, you know what I mean\nKSampler in the middle, VAE on the right\nClip text encode, yeah I'm building tonight\n[Chorus]\nConnect the nodes, run the queue\nWatch the latent flow right through\nGreen dot to green dot, link it up\nPositive prompt in my cup\n[Verse 2]\nEmpty latent image, set the width and height\nPlug it to the sampler, get the settings right\nCFG at seven, steps at twenty-two\nHit that Queue Prompt button, render coming through\n[Bridge]\nUpscale node, ControlNet in the chain\nLora stacked on Lora driving me insane\nSave image at the end of every single flow\nRed wire means broken — fix it, let it go\n[Outro]\nNodes connected, workflow clean\nBest AI pipeline you ever seen\nComfyUI, yeah we building art\nOne node at a time right from the start"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/2",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/3",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/4",
"json_type": "int",
"value": 95
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/5",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/6",
"json_type": "str",
"value": "4"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/7",
"json_type": "str",
"value": "zh"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/8",
"json_type": "str",
"value": "E minor"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/9",
"json_type": "bool",
"value": true
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/10",
"json_type": "int",
"value": 2
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/11",
"json_type": "float",
"value": 0.85
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/12",
"json_type": "float",
"value": 0.9
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/13",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/11/widgets_values/14",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 104,
"pointer": "/nodes/12/widgets_values/0",
"json_type": "str",
"value": "AceStep\\acestep_v1.5_xl_turbo_bf16.safetensors"
},
{
"scope": "root",
"node": 104,
"pointer": "/nodes/12/widgets_values/1",
"json_type": "str",
"value": "default"
}
],
"notes": [
{
"scope": "root",
"node": 110,
"pointer": "/nodes/9/widgets_values/0",
"json_type": "str",
"value": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**diffusion_models**\n\n- [acestep_v1.5_xl_turbo_bf16.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/diffusion_models/acestep_v1.5_xl_turbo_bf16.safetensors)\n\n**vae**\n\n- [ace_1.5_vae.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/vae/ace_1.5_vae.safetensors)\n\n**text_encoders**\n\n- [qwen_0.6b_ace15.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/text_encoders/qwen_0.6b_ace15.safetensors)\n- [qwen_4b_ace15.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/text_encoders/qwen_4b_ace15.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── acestep_v1.5_xl_turbo_bf16.safetensors\n│ ├── 📂 vae/\n│ │ └── ace_1.5_vae.safetensors\n│ └── 📂 text_encoders/\n│ ├── qwen_0.6b_ace15.safetensors\n│ └── qwen_4b_ace15.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
}
],
"empty": [
{
"scope": "root",
"node": 47,
"state": "list",
"value": []
},
{
"scope": "root",
"node": 18,
"state": "list",
"value": []
}
],
"scopes": [
{
"scope": "root",
"nodes": 13,
"edges": 14,
"canonical_sha256": "97c6e57b744a49da479049f90489dc019b7c5ba07f7b4caa97f6f7b43463ed26",
"modes": [
{
"node": 106,
"mode": 0
},
{
"node": 99,
"mode": 0
},
{
"node": 98,
"mode": 0
},
{
"node": 47,
"mode": 0
},
{
"node": 3,
"mode": 0
},
{
"node": 78,
"mode": 0
},
{
"node": 18,
"mode": 0
},
{
"node": 105,
"mode": 0
},
{
"node": 109,
"mode": 0
},
{
"node": 110,
"mode": 0
},
{
"node": 107,
"mode": 0
},
{
"node": 94,
"mode": 0
},
{
"node": 104,
"mode": 0
}
]
}
]
}
@@ -0,0 +1,70 @@
"Offline batch evidence tooling; no upstream execution."
import hashlib
import json
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
def inventory():
p = next(
(ROOT / "example_ComfyUI_workflows").rglob("ace_step1_5_xl_turbo_8Step极速音乐生成.json")
)
raw = p.read_bytes()
g = json.loads(raw)
fields = []
notes = []
empty = []
scopes = [("root", "", g)]
for scope, base, graph in scopes:
for i, n in enumerate(graph["nodes"]):
ptr = f"{base}/nodes/{i}/widgets_values"
if "widgets_values" not in n:
empty.append({"scope": scope, "node": n["id"], "state": "missing"})
continue
w = n["widgets_values"]
if not w:
empty.append(
{"scope": scope, "node": n["id"], "state": type(w).__name__, "value": w}
)
for k in w if isinstance(w, dict) else range(len(w)):
v = w[k]
e = {
"scope": scope,
"node": n["id"],
"pointer": ptr + "/" + str(k),
"json_type": type(v).__name__,
"value": v,
}
(notes if n["type"] in ["Note", "MarkdownNote"] else fields).append(e)
return {
"path": str(p.relative_to(ROOT)),
"sha256": hashlib.sha256(raw).hexdigest(),
"fields": fields,
"notes": notes,
"empty": empty,
"scopes": [
{
"scope": s,
"nodes": len(gr["nodes"]),
"edges": len(gr["links"]),
"canonical_sha256": hashlib.sha256(
json.dumps(
gr, ensure_ascii=False, sort_keys=True, separators=(",", ":")
).encode()
).hexdigest(),
"modes": [{"node": n["id"], "mode": n["mode"]} for n in gr["nodes"]],
}
for s, _, gr in scopes
],
}
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print(len(x["fields"]), len(x["notes"]), x["scopes"])
@@ -0,0 +1,3 @@
All checks passed!
12 files already formatted
PASS 12 authored Python files and one JS syntax check
@@ -0,0 +1,7 @@
added 255 packages, and audited 256 packages in 1s
59 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
@@ -0,0 +1,23 @@
[
{
"file": "fixed_document.py",
"sha256": "c240afdf699a8d9bc21959ee5bc4e07c0b023986d62c2ad6fbfbe308996ab20d",
"wheel": true,
"sdist": true,
"definitions": 43
},
{
"file": "source_reviews.json",
"sha256": "0493de252ca6bfa9db74ff63cf94b9d2905e0c86fc01c21298be2f325206a07a",
"wheel": true,
"sdist": true,
"definitions": 43
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 43
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json": "b47d1431f13993629a2cc0a9a6f1ce0bc1b1374906dec294222a87447b8802e3"
}
@@ -0,0 +1,6 @@
{
"independent_connect_refused": [
8247,
5173
]
}
@@ -0,0 +1,11 @@
{
"state": "open",
"merged": false,
"url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
"head": {
"ref": "agent/agent/a64a969a6a44",
"sha": "92af1b77f3fafea589f0cf35a1210b1af9379e6a"
},
"base": "main",
"multica_link_table": "empty; read-only provider API confirms existing PR25"
}
@@ -0,0 +1,14 @@
[
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/tests/test_ace_fixed_document.py",
"e2e/run-ace-document.py",
"docs/hel-892/ace-document-evidence/build_definition.py",
"docs/hel-892/ace-document-evidence/check_code.py",
"docs/hel-892/ace-document-evidence/fetch_sources.py",
"docs/hel-892/ace-document-evidence/inventory.py",
"docs/hel-892/ace-document-evidence/rebuild.py",
"docs/hel-892/ace-document-evidence/recompute.py",
"docs/hel-892/ace-document-evidence/render_report.py",
"docs/hel-892/ace-document-evidence/repeat.py",
"docs/hel-892/ace-document-evidence/verify_sources.py"
]
@@ -0,0 +1,55 @@
{
"self_authored_files_checked": [
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/src/calliope/comfyui/source_reviews.json",
"calliope-backend/tests/test_ace_fixed_document.py",
"docs/hel-892/ACE极速音乐固定参考中文说明.md",
"docs/hel-892/ace-document-evidence/actual-ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"docs/hel-892/ace-document-evidence/audit-summary.json",
"docs/hel-892/ace-document-evidence/backend-request-counts.json",
"docs/hel-892/ace-document-evidence/boundaries.json",
"docs/hel-892/ace-document-evidence/browser-results.json",
"docs/hel-892/ace-document-evidence/browser.txt",
"docs/hel-892/ace-document-evidence/build.txt",
"docs/hel-892/ace-document-evidence/build_definition.py",
"docs/hel-892/ace-document-evidence/check_code.py",
"docs/hel-892/ace-document-evidence/definition-0.json",
"docs/hel-892/ace-document-evidence/delivery-summary.md",
"docs/hel-892/ace-document-evidence/development-notes.json",
"docs/hel-892/ace-document-evidence/fetch_sources.py",
"docs/hel-892/ace-document-evidence/finally-stop.json",
"docs/hel-892/ace-document-evidence/fixed-source-index.json",
"docs/hel-892/ace-document-evidence/frozen-resource-check.json",
"docs/hel-892/ace-document-evidence/import-protection.json",
"docs/hel-892/ace-document-evidence/independent-inventory.json",
"docs/hel-892/ace-document-evidence/inventory.py",
"docs/hel-892/ace-document-evidence/lint.txt",
"docs/hel-892/ace-document-evidence/npm-ci.txt",
"docs/hel-892/ace-document-evidence/package-check.json",
"docs/hel-892/ace-document-evidence/pins.json",
"docs/hel-892/ace-document-evidence/ports-independent.json",
"docs/hel-892/ace-document-evidence/pr-before.json",
"docs/hel-892/ace-document-evidence/python-check-files.json",
"docs/hel-892/ace-document-evidence/rebuild.py",
"docs/hel-892/ace-document-evidence/recompute.py",
"docs/hel-892/ace-document-evidence/recompute.txt",
"docs/hel-892/ace-document-evidence/render_report.py",
"docs/hel-892/ace-document-evidence/repeat.py",
"docs/hel-892/ace-document-evidence/repeatability.json",
"docs/hel-892/ace-document-evidence/review-delta.json",
"docs/hel-892/ace-document-evidence/screenshots.json",
"docs/hel-892/ace-document-evidence/service-0.log",
"docs/hel-892/ace-document-evidence/service-1.log",
"docs/hel-892/ace-document-evidence/service-stop.json",
"docs/hel-892/ace-document-evidence/source-check.json",
"docs/hel-892/ace-document-evidence/tests.txt",
"docs/hel-892/ace-document-evidence/validation-commands.txt",
"docs/hel-892/ace-document-evidence/verify_sources.py",
"docs/hel-892/ace-document-evidence/visual-inspection.json",
"e2e/ace-document.mjs",
"e2e/run-ace-document.py"
],
"self_authored_new_whitespace_errors": 0,
"upstream_raw_excluded_from_reformat": true,
"upstream_bytes_verified_by": "source-check.json commit/tree/blob/SHA256"
}
@@ -0,0 +1,70 @@
"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 = "92af1b77f3fafea589f0cf35a1210b1af9379e6a"
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"
)
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
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 definition; other 155" + " r")
+ ("eviews and old 42 blocks uncha" + "ng")
+ "ed"
)
)
if __name__ == "__main__":
main()
@@ -0,0 +1,343 @@
"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) == 42
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()) == 1583
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": 42,
"old_saved": 1583,
"old_notes": 45,
"new_saved": 38,
"new_notes": 1,
"total_documents": 43,
"total_saved": 1621,
"total_notes": 46,
},
)
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")
replaced_steps = len(old_doc.get("fixed_version", {}).get("steps", [])) or 3
assert without["steps"] == old_doc["steps"][:-replaced_steps] + fixed["steps"]
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": 38,
"new_notes": 1,
"old_saved": 1583,
"old_notes": 45,
"overviews": 43,
"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": 163,
"old_forty_two_blocks_unchanged": True,
"drawer_css_unchanged": True,
"drawer_whole_file_unchanged": True,
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
"conversion_rerun": False,
"profiles_28_candidates_9_diffs_6": "unchanged",
},
)
tracked = (
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
.decode()
.rstrip("\0")
.split("\0")
)
frozen = [
p
for p in tracked
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
or p.startswith((("calliope-backend/src/calliope/" + "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": 43,
}
)
write("package-check.json", packages)
print(
f"PASS actual {BASE} upgrade1/skip154, repe"
"at155, rollback1, edits1/29cols, fresh155,"
" 1217/3660/294, 43 definitions, frozen bou"
"ndaries, wheel/sdist"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
PASS exact commit/tree/blob/tag, 38 raw positions, Note, 14 physical edges
PASS actual 92af1b77f3fafea589f0cf35a1210b1af9379e6a upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 43 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,130 @@
"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 = [
"# ACE极速音乐固定参考中文说明",
"",
"新增38保存位置/1注释;旧42块1583位置+45注释逐对象不变,43图1621+46仅参考;155定稿0/实跑0/新增转换0。",
"",
(
"来源local_file以docs/hel-892/ace-document"
+ (
("-evidence为基准;源SHA/全图摘要/定义摘要绑" + "定;不加")
+ "载上游代码、媒体或链接。"
)
),
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
*[v + "\n" for v in b["flow"]],
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
"",
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
"",
"具名保存位置:`" + f["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']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};SHA256 {e['sha256']};{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"],
"",
"```text",
n["text"],
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "ACE极速音乐固定参考中文说明.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,48 @@
"""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 / "ACE极速音乐固定参考中文说明.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": 43,
"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,10 @@
{
"definitions": 43,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "bc1261e2781454c82d52a2baf35f9a36939807401575668f86ea09f98f76ba52",
"artifacts": {
"fixed-source-index.json": "9c9c09ad68405366b02076a774a854fce2d15715bc619b6c31de4c500d0d75c6",
"ACE极速音乐固定参考中文说明.md": "a8c79c934da63be0e73e2d7a94a76319b5bdc295ec41d37de4945744c67e70b4"
}
}
@@ -0,0 +1,15 @@
{
"base": "92af1b77f3fafea589f0cf35a1210b1af9379e6a",
"changed_paths": [
"example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 42,
"old_saved": 1583,
"old_notes": 45,
"new_saved": 38,
"new_notes": 1,
"total_documents": 43,
"total_saved": 1621,
"total_notes": 46
}
@@ -0,0 +1,50 @@
[
{
"file": "1440-40-94-lyrics.png",
"bytes": 337237
},
{
"file": "1440-40-94-tags.png",
"bytes": 353593
},
{
"file": "1440-40-branch-flow.png",
"bytes": 397573
},
{
"file": "1440-40-default.png",
"bytes": 287089
},
{
"file": "1440-40-fixed-sources-corrected.png",
"bytes": 316025
},
{
"file": "1440-40-source-citations.png",
"bytes": 369302
},
{
"file": "390-40-110-note.png",
"bytes": 114039
},
{
"file": "390-40-94-lyrics.png",
"bytes": 120479
},
{
"file": "390-40-94-tags.png",
"bytes": 128230
},
{
"file": "390-40-default.png",
"bytes": 88813
},
{
"file": "390-40-fixed-sources-corrected.png",
"bytes": 127599
},
{
"file": "390-40-source-citations.png",
"bytes": 136176
}
]
@@ -0,0 +1,157 @@
INFO: Started server process [859183]
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:44792 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56336 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56346 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56360 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56354 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:56364 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:56380 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56382 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:56392 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56394 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56396 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56398 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56412 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56418 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56430 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56434 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:56450 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44586 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44590 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44596 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44612 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44622 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44632 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44644 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44652 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44668 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44670 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44682 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44690 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44696 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44706 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44710 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44716 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44732 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44746 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44760 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44768 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44774 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44776 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44784 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44794 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44808 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44824 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44830 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44842 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44856 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52374 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52388 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52404 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52412 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52422 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52438 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52442 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52450 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52456 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52458 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52466 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52472 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52486 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52502 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52506 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52522 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52528 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52544 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38324 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38334 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38350 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38364 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38380 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38382 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38386 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38392 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38408 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38414 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38420 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38426 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38438 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38444 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38452 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38462 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38466 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38474 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38480 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38482 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38488 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38504 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38516 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38524 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38536 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38552 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38562 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38572 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38046 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38062 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38076 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38086 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38102 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38106 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38120 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38132 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38138 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38154 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38166 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38176 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38188 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38196 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [859183]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 271 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,29 @@
{
"all_pass": true,
"source_files": 28,
"cited_texts": 23,
"citations": 27,
"counts": {
"saved_fields": 38,
"root_saved_fields": 38,
"internal_saved_fields": 0,
"linked_saved_fields": 4,
"frontend_only": 4,
"source_nodes": 13,
"root_nodes": 13,
"internal_nodes": 0,
"physical_edges": 14,
"internal_edge_records": 0,
"source_notes": 1,
"history_objects": 0,
"history_strings": 0,
"final_scalars": 0,
"final_prompt_constructed": false
},
"local_file_base": "docs/hel-892/ace-document-evidence",
"upstream_executed": false,
"source_frontend": "1.44.0",
"ace15_missing_and_dual_clip_enum_conflict_preserved": true,
"licenses": "all exact GPL text pinned",
"sdk_semantics": "unknown; not loaded"
}
@@ -0,0 +1,10 @@
........................................................................ [ 36%]
........................................................................ [ 73%]
.................................................... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8954f5c7606a/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
196 passed, 1 warning in 4.39s
@@ -0,0 +1,27 @@
# 仓库根;第62批只ACE极速音乐单图;原PR25/main,基线92af1b77f3fafea589f0cf35a1210b1af9379e6a。
uv sync --project calliope-backend --offline --extra dev
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-document-evidence/rebuild.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-document-evidence/repeat.py
# rebuild后按仓库规范格式化代码拥有的allowlist,不改上游原件。
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_ace_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-document-evidence/check_code.py
uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/ace-document-evidence/recompute.py
npm ci --offline --ignore-scripts --prefix calliope-web
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-ace-document.py
# 最终196后台通过(183专项+13库);只计最终重跑一次,不累加开发期执行,不称全仓绿。
# 浏览仅本地生产GET路由/隔离SQLite,不运行worker;两屏1440/390,finally终止本轮子服务并独立核8247/5173连接拒绝。
# browser-results.json列浏览固定/轮询/拦截夹具;backend-request-counts.json另列后端固定(含就绪)/轮询。
# .local-evidence/ace-document/browser的截图只附卡不入仓;未改Drawer/CSS/依赖或转换执行器。
# source-check.json:准确0.11.1缺两种带1.5类、DualCLIP枚举无ace;PrimitiveInt独立0.18.1,frontend准确1.44.0同树LiteGraph。
# sources.json的local_file以ace-reference为基准;definition-0.json和固定报告以ace-document-evidence为基准。
# 获取时间是原件下载后本地缓存写入观测;HTTP接收时间未另记录,verified_at为本次blob复核时间,二者不冒充提交时间。
# fetch_sources.py仅可选准确文本/许可/元数据取证;不导入上游/SDK,不下载权重/素材,不自动扩大信任。
# review-delta.json:旧42块1583位置+45注释逐对象冻结,新增38+1,现43图1621+46仅参考。
# import-protection.json:真实92af1b7隔离库1更新154跳过,幂等/精确回退/再升级/前后修改各1冲突29列整行保护。
# boundaries.json/frozen-resource-check.json:163原件(156源+7配套)、191资源、28profile/9候选/六差分/转换执行链/Drawer整文件不变。
# 155/排除1,16/139,1217/3660/294,全停用未检查/空时间戳,155完整定稿0/实跑0/新增转换0。
# 准确类缺口、前端/UE/宿主恢复和目标模型/素材/设备及真实效果未知;没有连接目标/停TTS/启ComfyUI/构造prompt或执行模型媒体。
@@ -0,0 +1,85 @@
"Check exact Git text/tag identity and independent raw-source inventory."
import hashlib
import json
from build_definition import OUT, REF, REPO, build, canonical
from inventory import inventory
def main():
block = build()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert blob == e["git_blob_sha1"]
t = json.loads((REF / (e["id"] + "-tree.json")).read_bytes())
c = json.loads((REF / (e["id"] + "-commit.json")).read_bytes())
assert c["sha"] == t["sha"] == e["commit"] and not t["truncated"]
assert c["tree"]["sha"] == e["tree"]
assert next(x["sha"] for x in t["tree"] if x["path"] == e["file"]) == blob
for key in ["core", "primitive", "frontend"]:
tag = json.loads((REF / (key + "-tag.json")).read_bytes())
commits = {r["commit"] for r in rows if r["id"] == key}
assert commits == {tag["object"]["sha"]} and tag["object"]["type"] == "commit"
inv = inventory()
assert len(inv["fields"]) == 38 and len(inv["notes"]) == 1
for a, f in zip(inv["fields"], block["fields"], strict=True):
assert (a["pointer"], a["scope"], a["json_type"], canonical(a["value"])) == (
f["pointer"],
f["scope"],
f["json_type"],
canonical(f["value"]),
)
assert inv["notes"][0]["value"] == block["comments"][0]["text"]
texts = set()
for e in block["sources"]:
raw = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
texts.add(e["local_file"])
g = json.loads((REPO / block["source_path"]).read_bytes())
ns = {n["id"]: n for n in g["nodes"]}
assert g["extra"]["frontendVersion"] == "1.44.0"
assert not g.get("definitions") and all("widgets_values_named" not in n for n in g["nodes"])
assert sum(n["mode"] == 0 for n in g["nodes"]) == 13
for eid, src, slot, dst, inp, _ in g["links"]:
assert eid in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == eid
ace = (REF / "core__comfy_extras__nodes_ace.py").read_text()
assert "TextEncodeAceStepAudio1.5" not in ace and "EmptyAceStep1.5LatentAudio" not in ace
loader = (
(REF / "core__nodes.py")
.read_text()
.split("class DualCLIPLoader:")[1]
.split("class CLIPVisionLoader:")[0]
)
assert '"ace"' not in loader.split("def load_clip")[0]
assert {n["id"] for n in g["nodes"] if n.get("widgets_values") == []} == {47, 18}
assert all("widgets_values" in n and n["widgets_values"] is not None for n in g["nodes"])
(OUT / "source-check.json").write_text(
json.dumps(
dict(
all_pass=True,
source_files=len(rows),
cited_texts=len(texts),
citations=len(block["sources"]),
counts=block["counts"],
local_file_base=str(OUT.relative_to(REPO)),
upstream_executed=False,
source_frontend="1.44.0",
ace15_missing_and_dual_clip_enum_conflict_preserved=True,
licenses="all exact GPL text pinned",
sdk_semantics="unknown; not loaded",
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print(("PASS exact commit/tree/blob/tag, 38 raw positions, Note, 14 physical edges"))
if __name__ == "__main__":
main()
@@ -0,0 +1,17 @@
{
"viewports": [
1440,
390
],
"inspected": [
"1440-40-default.png",
"390-40-default.png",
"390-40-source-citations.png",
"390-40-94-lyrics.png",
"390-40-110-note.png",
"1440-40-branch-flow.png"
],
"result": "默认用途/状态可读,来源/英文歌词/完整Note/流程展开可读;未见横向溢出。Note沿用JSON原文展示与系统字体,未改Drawer或下载字体。",
"final_capture_count": 12,
"screenshots_committed": false
}
@@ -0,0 +1 @@
{"sha":"b0d9708974f50fce7d2448ac84e9260c87f7ade3","node_id":"C_kwDOIygeJtoAKGIwZDk3MDg5NzRmNTBmY2U3ZDI0NDhhYzg0ZTkyNjBjODdmN2FkZTM","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/b0d9708974f50fce7d2448ac84e9260c87f7ade3","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/b0d9708974f50fce7d2448ac84e9260c87f7ade3","author":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-01-29T05:27:23Z"},"committer":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-01-29T05:27:23Z"},"tree":{"sha":"d45aa53a1ae1a288a50f8e323cf6696dd21046e1","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d45aa53a1ae1a288a50f8e323cf6696dd21046e1"},"message":"ComfyUI v0.11.1","parents":[{"sha":"c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b"}],"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}}
+1
View File
@@ -0,0 +1 @@
{"ref":"refs/tags/v0.11.1","node_id":"REF_kwDOIygeJrFyZWZzL3RhZ3MvdjAuMTEuMQ","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.11.1","object":{"sha":"b0d9708974f50fce7d2448ac84e9260c87f7ade3","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/b0d9708974f50fce7d2448ac84e9260c87f7ade3"}}
File diff suppressed because one or more lines are too long
+674
View File
@@ -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,389 @@
import torch
from comfy.ldm.modules.diffusionmodules.util import make_beta_schedule
import math
def rescale_zero_terminal_snr_sigmas(sigmas):
alphas_cumprod = 1 / ((sigmas * sigmas) + 1)
alphas_bar_sqrt = alphas_cumprod.sqrt()
# Store old values.
alphas_bar_sqrt_0 = alphas_bar_sqrt[0].clone()
alphas_bar_sqrt_T = alphas_bar_sqrt[-1].clone()
# Shift so the last timestep is zero.
alphas_bar_sqrt -= (alphas_bar_sqrt_T)
# Scale so the first timestep is back to the old value.
alphas_bar_sqrt *= alphas_bar_sqrt_0 / (alphas_bar_sqrt_0 - alphas_bar_sqrt_T)
# Convert alphas_bar_sqrt to betas
alphas_bar = alphas_bar_sqrt**2 # Revert sqrt
alphas_bar[-1] = 4.8973451890853435e-08
return ((1 - alphas_bar) / alphas_bar) ** 0.5
def reshape_sigma(sigma, noise_dim):
if sigma.nelement() == 1:
return sigma.view(())
else:
return sigma.view(sigma.shape[:1] + (1,) * (noise_dim - 1))
class EPS:
def calculate_input(self, sigma, noise):
sigma = reshape_sigma(sigma, noise.ndim)
return noise / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
if max_denoise:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else:
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class V_PREDICTION(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) - model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class EDM(V_PREDICTION):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) + model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class CONST:
def calculate_input(self, sigma, noise):
return noise
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
return sigma * noise + (1.0 - sigma) * latent_image
def inverse_noise_scaling(self, sigma, latent):
sigma = reshape_sigma(sigma, latent.ndim)
return latent / (1.0 - sigma)
class X0(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
return model_output
class IMG_TO_IMG(X0):
def calculate_input(self, sigma, noise):
return noise
class COSMOS_RFLOW:
def calculate_input(self, sigma, noise):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, noise.ndim)
return noise * (1.0 - sigma)
def calculate_denoised(self, sigma, model_output, model_input):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * (1.0 - sigma) - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class ModelSamplingDiscrete(torch.nn.Module):
def __init__(self, model_config=None, zsnr=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
beta_schedule = sampling_settings.get("beta_schedule", "linear")
linear_start = sampling_settings.get("linear_start", 0.00085)
linear_end = sampling_settings.get("linear_end", 0.012)
timesteps = sampling_settings.get("timesteps", 1000)
if zsnr is None:
zsnr = sampling_settings.get("zsnr", False)
self._register_schedule(given_betas=None, beta_schedule=beta_schedule, timesteps=timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=8e-3, zsnr=zsnr)
self.sigma_data = 1.0
def _register_schedule(self, given_betas=None, beta_schedule="linear", timesteps=1000,
linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3, zsnr=False):
if given_betas is not None:
betas = given_betas
else:
betas = make_beta_schedule(beta_schedule, timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=cosine_s)
alphas = 1. - betas
alphas_cumprod = torch.cumprod(alphas, dim=0)
timesteps, = betas.shape
self.num_timesteps = int(timesteps)
self.linear_start = linear_start
self.linear_end = linear_end
self.zsnr = zsnr
# self.register_buffer('betas', torch.tensor(betas, dtype=torch.float32))
# self.register_buffer('alphas_cumprod', torch.tensor(alphas_cumprod, dtype=torch.float32))
# self.register_buffer('alphas_cumprod_prev', torch.tensor(alphas_cumprod_prev, dtype=torch.float32))
sigmas = ((1 - alphas_cumprod) / alphas_cumprod) ** 0.5
if self.zsnr:
sigmas = rescale_zero_terminal_snr_sigmas(sigmas)
self.set_sigmas(sigmas)
def set_sigmas(self, sigmas):
self.register_buffer('sigmas', sigmas.float())
self.register_buffer('log_sigmas', sigmas.log().float())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return dists.abs().argmin(dim=0).view(sigma.shape).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(timestep.float().to(self.log_sigmas.device), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent * 999.0)).item()
class ModelSamplingDiscreteEDM(ModelSamplingDiscrete):
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
class ModelSamplingContinuousEDM(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
sigma_min = sampling_settings.get("sigma_min", 0.002)
sigma_max = sampling_settings.get("sigma_max", 120.0)
sigma_data = sampling_settings.get("sigma_data", 1.0)
self.set_parameters(sigma_min, sigma_max, sigma_data)
def set_parameters(self, sigma_min, sigma_max, sigma_data):
self.sigma_data = sigma_data
sigmas = torch.linspace(math.log(sigma_min), math.log(sigma_max), 1000).exp()
self.register_buffer('sigmas', sigmas) #for compatibility with some schedulers
self.register_buffer('log_sigmas', sigmas.log())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
log_sigma_min = math.log(self.sigma_min)
return math.exp((math.log(self.sigma_max) - log_sigma_min) * percent + log_sigma_min)
class ModelSamplingContinuousV(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma.atan() / math.pi * 2
def sigma(self, timestep):
return (timestep * math.pi / 2).tan()
def time_snr_shift(alpha, t):
if alpha == 1.0:
return t
return alpha * t / (1 + (alpha - 1) * t)
class ModelSamplingDiscreteFlow(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(shift=sampling_settings.get("shift", 1.0), multiplier=sampling_settings.get("multiplier", 1000))
def set_parameters(self, shift=1.0, timesteps=1000, multiplier=1000):
self.shift = shift
self.multiplier = multiplier
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps) * multiplier)
self.register_buffer('sigmas', ts)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma * self.multiplier
def sigma(self, timestep):
return time_snr_shift(self.shift, timestep / self.multiplier)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return time_snr_shift(self.shift, 1.0 - percent)
class StableCascadeSampling(ModelSamplingDiscrete):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(sampling_settings.get("shift", 1.0))
def set_parameters(self, shift=1.0, cosine_s=8e-3):
self.shift = shift
self.cosine_s = torch.tensor(cosine_s)
self._init_alpha_cumprod = torch.cos(self.cosine_s / (1 + self.cosine_s) * torch.pi * 0.5) ** 2
#This part is just for compatibility with some schedulers in the codebase
self.num_timesteps = 10000
sigmas = torch.empty((self.num_timesteps), dtype=torch.float32)
for x in range(self.num_timesteps):
t = (x + 1) / self.num_timesteps
sigmas[x] = self.sigma(t)
self.set_sigmas(sigmas)
def sigma(self, timestep):
alpha_cumprod = (torch.cos((timestep + self.cosine_s) / (1 + self.cosine_s) * torch.pi * 0.5) ** 2 / self._init_alpha_cumprod)
if self.shift != 1.0:
var = alpha_cumprod
logSNR = (var/(1-var)).log()
logSNR += 2 * torch.log(1.0 / torch.tensor(self.shift))
alpha_cumprod = logSNR.sigmoid()
alpha_cumprod = alpha_cumprod.clamp(0.0001, 0.9999)
return ((1 - alpha_cumprod) / alpha_cumprod) ** 0.5
def timestep(self, sigma):
var = 1 / ((sigma * sigma) + 1)
var = var.clamp(0, 1.0)
s, min_var = self.cosine_s.to(var.device), self._init_alpha_cumprod.to(var.device)
t = (((var * min_var) ** 0.5).acos() / (torch.pi * 0.5)) * (1 + s) - s
return t
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent))
def flux_time_shift(mu: float, sigma: float, t):
return math.exp(mu) / (math.exp(mu) + (1 / t - 1) ** sigma)
class ModelSamplingFlux(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(shift=sampling_settings.get("shift", 1.15))
def set_parameters(self, shift=1.15, timesteps=10000):
self.shift = shift
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps))
self.register_buffer('sigmas', ts)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma
def sigma(self, timestep):
return flux_time_shift(self.shift, 1.0, timestep)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return flux_time_shift(self.shift, 1.0, 1.0 - percent)
class ModelSamplingCosmosRFlow(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma / (sigma + 1)
def sigma(self, timestep):
sigma_max = self.sigma_max
if timestep >= (sigma_max / (sigma_max + 1)):
return sigma_max
return timestep / (1 - timestep)
@@ -0,0 +1,73 @@
import torch
import comfy.model_management
import comfy.samplers
import comfy.utils
import numpy as np
import logging
import comfy.nested_tensor
def prepare_noise_inner(latent_image, generator, noise_inds=None):
if noise_inds is None:
return torch.randn(latent_image.size(), dtype=latent_image.dtype, layout=latent_image.layout, generator=generator, device="cpu")
unique_inds, inverse = np.unique(noise_inds, return_inverse=True)
noises = []
for i in range(unique_inds[-1]+1):
noise = torch.randn([1] + list(latent_image.size())[1:], dtype=latent_image.dtype, layout=latent_image.layout, generator=generator, device="cpu")
if i in unique_inds:
noises.append(noise)
noises = [noises[i] for i in inverse]
return torch.cat(noises, axis=0)
def prepare_noise(latent_image, seed, noise_inds=None):
"""
creates random noise given a latent image and a seed.
optional arg skip can be used to skip and discard x number of noise generations for a given seed
"""
generator = torch.manual_seed(seed)
if latent_image.is_nested:
tensors = latent_image.unbind()
noises = []
for t in tensors:
noises.append(prepare_noise_inner(t, generator, noise_inds))
noises = comfy.nested_tensor.NestedTensor(noises)
else:
noises = prepare_noise_inner(latent_image, generator, noise_inds)
return noises
def fix_empty_latent_channels(model, latent_image, downscale_ratio_spacial=None):
if latent_image.is_nested:
return latent_image
latent_format = model.get_model_object("latent_format") #Resize the empty latent image so it has the right number of channels
if torch.count_nonzero(latent_image) == 0:
if latent_format.latent_channels != latent_image.shape[1]:
latent_image = comfy.utils.repeat_to_batch_size(latent_image, latent_format.latent_channels, dim=1)
if downscale_ratio_spacial is not None:
if downscale_ratio_spacial != latent_format.spacial_downscale_ratio:
ratio = downscale_ratio_spacial / latent_format.spacial_downscale_ratio
latent_image = comfy.utils.common_upscale(latent_image, round(latent_image.shape[-1] * ratio), round(latent_image.shape[-2] * ratio), "nearest-exact", crop="disabled")
if latent_format.latent_dimensions == 3 and latent_image.ndim == 4:
latent_image = latent_image.unsqueeze(2)
return latent_image
def prepare_sampling(model, noise_shape, positive, negative, noise_mask):
logging.warning("Warning: comfy.sample.prepare_sampling isn't used anymore and can be removed")
return model, positive, negative, noise_mask, []
def cleanup_additional_models(models):
logging.warning("Warning: comfy.sample.cleanup_additional_models isn't used anymore and can be removed")
def sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, noise_mask=None, sigmas=None, callback=None, disable_pbar=False, seed=None):
sampler = comfy.samplers.KSampler(model, steps=steps, device=model.load_device, sampler=sampler_name, scheduler=scheduler, denoise=denoise, model_options=model.model_options)
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
samples = samples.to(comfy.model_management.intermediate_device())
return samples
def sample_custom(model, noise, cfg, sampler, sigmas, positive, negative, latent_image, noise_mask=None, callback=None, disable_pbar=False, seed=None):
samples = comfy.samplers.sample(model, noise, positive, negative, cfg, model.load_device, sampler, sigmas, model_options=model.model_options, latent_image=latent_image, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
samples = samples.to(comfy.model_management.intermediate_device())
return samples
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,153 @@
from comfy import sd1_clip
from .spiece_tokenizer import SPieceTokenizer
import comfy.text_encoders.t5
import os
import re
import torch
import logging
from tokenizers import Tokenizer
from .ace_text_cleaners import multilingual_cleaners, japanese_to_romaji
SUPPORT_LANGUAGES = {
"en": 259, "de": 260, "fr": 262, "es": 284, "it": 285,
"pt": 286, "pl": 294, "tr": 295, "ru": 267, "cs": 293,
"nl": 297, "ar": 5022, "zh": 5023, "ja": 5412, "hu": 5753,
"ko": 6152, "hi": 6680
}
structure_pattern = re.compile(r"\[.*?\]")
DEFAULT_VOCAB_FILE = os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), "ace_lyrics_tokenizer"), "vocab.json")
class VoiceBpeTokenizer:
def __init__(self, vocab_file=DEFAULT_VOCAB_FILE):
self.tokenizer = None
if vocab_file is not None:
self.tokenizer = Tokenizer.from_file(vocab_file)
def preprocess_text(self, txt, lang):
txt = multilingual_cleaners(txt, lang)
return txt
def encode(self, txt, lang='en'):
# lang = lang.split("-")[0] # remove the region
# self.check_input_length(txt, lang)
txt = self.preprocess_text(txt, lang)
lang = "zh-cn" if lang == "zh" else lang
txt = f"[{lang}]{txt}"
txt = txt.replace(" ", "[SPACE]")
return self.tokenizer.encode(txt).ids
def get_lang(self, line):
if line.startswith("[") and line[3:4] == ']':
lang = line[1:3].lower()
if lang in SUPPORT_LANGUAGES:
return lang, line[4:]
return "en", line
def __call__(self, string):
lines = string.split("\n")
lyric_token_idx = [261]
for line in lines:
line = line.strip()
if not line:
lyric_token_idx += [2]
continue
lang, line = self.get_lang(line)
if lang not in SUPPORT_LANGUAGES:
lang = "en"
if "zh" in lang:
lang = "zh"
if "spa" in lang:
lang = "es"
try:
line_out = japanese_to_romaji(line)
if line_out != line:
lang = "ja"
line = line_out
except:
pass
try:
if structure_pattern.match(line):
token_idx = self.encode(line, "en")
else:
token_idx = self.encode(line, lang)
lyric_token_idx = lyric_token_idx + token_idx + [2]
except Exception as e:
logging.warning("tokenize error {} for line {} major_language {}".format(e, line, lang))
return {"input_ids": lyric_token_idx}
@staticmethod
def from_pretrained(path, **kwargs):
return VoiceBpeTokenizer(path, **kwargs)
def get_vocab(self):
return {}
class UMT5BaseModel(sd1_clip.SDClipModel):
def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, model_options={}):
textmodel_json_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), "umt5_config_base.json")
super().__init__(device=device, layer=layer, layer_idx=layer_idx, textmodel_json_config=textmodel_json_config, dtype=dtype, special_tokens={"end": 1, "pad": 0}, model_class=comfy.text_encoders.t5.T5, enable_attention_masks=True, zero_out_masked=False, model_options=model_options)
class UMT5BaseTokenizer(sd1_clip.SDTokenizer):
def __init__(self, embedding_directory=None, tokenizer_data={}):
tokenizer = tokenizer_data.get("spiece_model", None)
super().__init__(tokenizer, pad_with_end=False, embedding_size=768, embedding_key='umt5base', tokenizer_class=SPieceTokenizer, has_start_token=False, pad_to_max_length=False, max_length=99999999, min_length=1, pad_token=0, tokenizer_data=tokenizer_data)
def state_dict(self):
return {"spiece_model": self.tokenizer.serialize_model()}
class LyricsTokenizer(sd1_clip.SDTokenizer):
def __init__(self, embedding_directory=None, tokenizer_data={}):
tokenizer = os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), "ace_lyrics_tokenizer"), "vocab.json")
super().__init__(tokenizer, pad_with_end=False, embedding_size=1024, embedding_key='lyrics', tokenizer_class=VoiceBpeTokenizer, has_start_token=True, pad_to_max_length=False, max_length=99999999, min_length=1, pad_token=2, has_end_token=False, tokenizer_data=tokenizer_data)
class AceT5Tokenizer:
def __init__(self, embedding_directory=None, tokenizer_data={}):
self.voicebpe = LyricsTokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data)
self.umt5base = UMT5BaseTokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data)
def tokenize_with_weights(self, text:str, return_word_ids=False, **kwargs):
out = {}
out["lyrics"] = self.voicebpe.tokenize_with_weights(kwargs.get("lyrics", ""), return_word_ids, **kwargs)
out["umt5base"] = self.umt5base.tokenize_with_weights(text, return_word_ids, **kwargs)
return out
def untokenize(self, token_weight_pair):
return self.umt5base.untokenize(token_weight_pair)
def state_dict(self):
return self.umt5base.state_dict()
class AceT5Model(torch.nn.Module):
def __init__(self, device="cpu", dtype=None, model_options={}, **kwargs):
super().__init__()
self.umt5base = UMT5BaseModel(device=device, dtype=dtype, model_options=model_options)
self.dtypes = set()
if dtype is not None:
self.dtypes.add(dtype)
def set_clip_options(self, options):
self.umt5base.set_clip_options(options)
def reset_clip_options(self):
self.umt5base.reset_clip_options()
def encode_token_weights(self, token_weight_pairs):
token_weight_pairs_umt5base = token_weight_pairs["umt5base"]
token_weight_pairs_lyrics = token_weight_pairs["lyrics"]
t5_out, t5_pooled = self.umt5base.encode_token_weights(token_weight_pairs_umt5base)
lyrics_embeds = torch.tensor(list(map(lambda a: a[0], token_weight_pairs_lyrics[0]))).unsqueeze(0)
return t5_out, None, {"conditioning_lyrics": lyrics_embeds}
def load_sd(self, sd):
return self.umt5base.load_sd(sd)
@@ -0,0 +1,475 @@
from __future__ import annotations
import json
import os
import random
import uuid
from io import BytesIO
import av
import numpy as np
import torch
try:
import torchaudio
TORCH_AUDIO_AVAILABLE = True
except:
TORCH_AUDIO_AVAILABLE = False
from PIL import Image as PILImage
from PIL.PngImagePlugin import PngInfo
import folder_paths
# used for image preview
from comfy.cli_args import args
from ._io import ComfyNode, FolderType, Image, _UIOutput
class SavedResult(dict):
def __init__(self, filename: str, subfolder: str, type: FolderType):
super().__init__(filename=filename, subfolder=subfolder,type=type.value)
@property
def filename(self) -> str:
return self["filename"]
@property
def subfolder(self) -> str:
return self["subfolder"]
@property
def type(self) -> FolderType:
return FolderType(self["type"])
class SavedImages(_UIOutput):
"""A UI output class to represent one or more saved images, potentially animated."""
def __init__(self, results: list[SavedResult], is_animated: bool = False):
super().__init__()
self.results = results
self.is_animated = is_animated
def as_dict(self) -> dict:
data = {"images": self.results}
if self.is_animated:
data["animated"] = (True,)
return data
class SavedAudios(_UIOutput):
"""UI wrapper around one or more audio files on disk (FLAC / MP3 / Opus)."""
def __init__(self, results: list[SavedResult]):
super().__init__()
self.results = results
def as_dict(self) -> dict:
return {"audio": self.results}
def _get_directory_by_folder_type(folder_type: FolderType) -> str:
if folder_type == FolderType.input:
return folder_paths.get_input_directory()
if folder_type == FolderType.output:
return folder_paths.get_output_directory()
return folder_paths.get_temp_directory()
class ImageSaveHelper:
"""A helper class with static methods to handle image saving and metadata."""
@staticmethod
def _convert_tensor_to_pil(image_tensor: torch.Tensor) -> PILImage.Image:
"""Converts a single torch tensor to a PIL Image."""
return PILImage.fromarray(np.clip(255.0 * image_tensor.cpu().numpy(), 0, 255).astype(np.uint8))
@staticmethod
def _create_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add_text("prompt", json.dumps(cls.hidden.prompt))
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add_text(x, json.dumps(cls.hidden.extra_pnginfo[x]))
return metadata
@staticmethod
def _create_animated_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo for animated PNGs (APNG)."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add(
b"comf",
"prompt".encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.prompt).encode("latin-1", "strict"),
after_idat=True,
)
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add(
b"comf",
x.encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.extra_pnginfo[x]).encode("latin-1", "strict"),
after_idat=True,
)
return metadata
@staticmethod
def _create_webp_metadata(pil_image: PILImage.Image, cls: type[ComfyNode] | None) -> PILImage.Exif:
"""Creates EXIF metadata bytes for WebP images."""
exif_data = pil_image.getexif()
if args.disable_metadata or cls is None or cls.hidden is None:
return exif_data
if cls.hidden.prompt is not None:
exif_data[0x0110] = "prompt:{}".format(json.dumps(cls.hidden.prompt)) # EXIF 0x0110 = Model
if cls.hidden.extra_pnginfo is not None:
inital_exif_tag = 0x010F # EXIF 0x010f = Make
for key, value in cls.hidden.extra_pnginfo.items():
exif_data[inital_exif_tag] = "{}:{}".format(key, json.dumps(value))
inital_exif_tag -= 1
return exif_data
@staticmethod
def save_images(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, compress_level = 4,
) -> list[SavedResult]:
"""Saves a batch of images as individual PNG files."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
results = []
metadata = ImageSaveHelper._create_png_metadata(cls)
for batch_number, image_tensor in enumerate(images):
img = ImageSaveHelper._convert_tensor_to_pil(image_tensor)
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.png"
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=compress_level)
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_images_ui(images, filename_prefix: str, cls: type[ComfyNode] | None, compress_level=4) -> SavedImages:
"""Saves a batch of images and returns a UI object for the node output."""
return SavedImages(
ImageSaveHelper.save_images(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
compress_level=compress_level,
)
)
@staticmethod
def save_animated_png(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedResult:
"""Saves a batch of images as a single animated PNG."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
metadata = ImageSaveHelper._create_animated_png_metadata(cls)
file = f"{filename}_{counter:05}_.png"
save_path = os.path.join(full_output_folder, file)
pil_images[0].save(
save_path,
pnginfo=metadata,
compress_level=compress_level,
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_png_ui(
images, filename_prefix: str, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedImages:
"""Saves an animated PNG and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_png(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
compress_level=compress_level,
)
return SavedImages([result], is_animated=len(images) > 1)
@staticmethod
def save_animated_webp(
images,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedResult:
"""Saves a batch of images as a single animated WebP."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
pil_exif = ImageSaveHelper._create_webp_metadata(pil_images[0], cls)
file = f"{filename}_{counter:05}_.webp"
pil_images[0].save(
os.path.join(full_output_folder, file),
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
exif=pil_exif,
lossless=lossless,
quality=quality,
method=method,
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_webp_ui(
images,
filename_prefix: str,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedImages:
"""Saves an animated WebP and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_webp(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
lossless=lossless,
quality=quality,
method=method,
)
return SavedImages([result], is_animated=len(images) > 1)
class AudioSaveHelper:
"""A helper class with static methods to handle audio saving and metadata."""
_OPUS_RATES = [8000, 12000, 16000, 24000, 48000]
@staticmethod
def save_audio(
audio: dict,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
format: str = "flac",
quality: str = "128k",
) -> list[SavedResult]:
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type)
)
metadata = {}
if not args.disable_metadata and cls is not None:
if cls.hidden.prompt is not None:
metadata["prompt"] = json.dumps(cls.hidden.prompt)
if cls.hidden.extra_pnginfo is not None:
for x in cls.hidden.extra_pnginfo:
metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
results = []
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.{format}"
output_path = os.path.join(full_output_folder, file)
# Use original sample rate initially
sample_rate = audio["sample_rate"]
# Handle Opus sample rate requirements
if format == "opus":
if sample_rate > 48000:
sample_rate = 48000
elif sample_rate not in AudioSaveHelper._OPUS_RATES:
# Find the next highest supported rate
for rate in sorted(AudioSaveHelper._OPUS_RATES):
if rate > sample_rate:
sample_rate = rate
break
if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported
sample_rate = 48000
# Resample if necessary
if sample_rate != audio["sample_rate"]:
if not TORCH_AUDIO_AVAILABLE:
raise Exception("torchaudio is not available; cannot resample audio.")
waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate)
# Create output with specified format
output_buffer = BytesIO()
output_container = av.open(output_buffer, mode="w", format=format)
# Set metadata on the container
for key, value in metadata.items():
output_container.metadata[key] = value
layout = "mono" if waveform.shape[0] == 1 else "stereo"
# Set up the output stream with appropriate properties
if format == "opus":
out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout)
if quality == "64k":
out_stream.bit_rate = 64000
elif quality == "96k":
out_stream.bit_rate = 96000
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "192k":
out_stream.bit_rate = 192000
elif quality == "320k":
out_stream.bit_rate = 320000
elif format == "mp3":
out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout)
if quality == "V0":
# TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool
out_stream.codec_context.qscale = 1
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "320k":
out_stream.bit_rate = 320000
else: # format == "flac":
out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout)
frame = av.AudioFrame.from_ndarray(
waveform.movedim(0, 1).reshape(1, -1).float().numpy(),
format="flt",
layout=layout,
)
frame.sample_rate = sample_rate
frame.pts = 0
output_container.mux(out_stream.encode(frame))
# Flush encoder
output_container.mux(out_stream.encode(None))
# Close containers
output_container.close()
# Write the output to file
output_buffer.seek(0)
with open(output_path, "wb") as f:
f.write(output_buffer.getbuffer())
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_audio_ui(
audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k",
) -> SavedAudios:
"""Save and instantly wrap for UI."""
return SavedAudios(
AudioSaveHelper.save_audio(
audio,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
format=format,
quality=quality,
)
)
class PreviewImage(_UIOutput):
def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs):
self.values = ImageSaveHelper.save_images(
image,
filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
compress_level=1,
)
self.animated = animated
def as_dict(self):
return {
"images": self.values,
"animated": (self.animated,)
}
class PreviewMask(PreviewImage):
def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs):
preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
super().__init__(preview, animated, cls, **kwargs)
class PreviewAudio(_UIOutput):
def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs):
self.values = AudioSaveHelper.save_audio(
audio,
filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
format="flac",
quality="128k",
)
def as_dict(self) -> dict:
return {"audio": self.values}
class PreviewVideo(_UIOutput):
def __init__(self, values: list[SavedResult | dict], **kwargs):
self.values = values
def as_dict(self):
return {"images": self.values, "animated": (True,)}
class PreviewUI3D(_UIOutput):
def __init__(self, model_file, camera_info, **kwargs):
self.model_file = model_file
self.camera_info = camera_info
self.bg_image_path = None
bg_image = kwargs.get("bg_image", None)
if bg_image is not None:
img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8)
img = PILImage.fromarray(img_array)
temp_dir = folder_paths.get_temp_directory()
filename = f"bg_{uuid.uuid4().hex}.png"
bg_image_path = os.path.join(temp_dir, filename)
img.save(bg_image_path, compress_level=1)
self.bg_image_path = f"temp/{filename}"
def as_dict(self):
return {"result": [self.model_file, self.camera_info, self.bg_image_path]}
class PreviewText(_UIOutput):
def __init__(self, value: str, **kwargs):
self.value = value
def as_dict(self):
return {"text": (self.value,)}
__all__ = [
"SavedResult",
"SavedImages",
"SavedAudios",
"ImageSaveHelper",
"AudioSaveHelper",
"PreviewImage",
"PreviewMask",
"PreviewAudio",
"PreviewVideo",
"PreviewUI3D",
"PreviewText",
]
@@ -0,0 +1 @@
from ._ui import * # noqa: F403
@@ -0,0 +1,63 @@
import torch
from typing_extensions import override
import comfy.model_management
import node_helpers
from comfy_api.latest import ComfyExtension, io
class TextEncodeAceStepAudio(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="TextEncodeAceStepAudio",
category="conditioning",
inputs=[
io.Clip.Input("clip"),
io.String.Input("tags", multiline=True, dynamic_prompts=True),
io.String.Input("lyrics", multiline=True, dynamic_prompts=True),
io.Float.Input("lyrics_strength", default=1.0, min=0.0, max=10.0, step=0.01),
],
outputs=[io.Conditioning.Output()],
)
@classmethod
def execute(cls, clip, tags, lyrics, lyrics_strength) -> io.NodeOutput:
tokens = clip.tokenize(tags, lyrics=lyrics)
conditioning = clip.encode_from_tokens_scheduled(tokens)
conditioning = node_helpers.conditioning_set_values(conditioning, {"lyrics_strength": lyrics_strength})
return io.NodeOutput(conditioning)
class EmptyAceStepLatentAudio(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="EmptyAceStepLatentAudio",
category="latent/audio",
inputs=[
io.Float.Input("seconds", default=120.0, min=1.0, max=1000.0, step=0.1),
io.Int.Input(
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch."
),
],
outputs=[io.Latent.Output()],
)
@classmethod
def execute(cls, seconds, batch_size) -> io.NodeOutput:
length = int(seconds * 44100 / 512 / 8)
latent = torch.zeros([batch_size, 8, 16, length], device=comfy.model_management.intermediate_device())
return io.NodeOutput({"samples": latent, "type": "audio"})
class AceExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
TextEncodeAceStepAudio,
EmptyAceStepLatentAudio,
]
async def comfy_entrypoint() -> AceExtension:
return AceExtension()
@@ -0,0 +1,693 @@
from __future__ import annotations
import av
import torchaudio
import torch
import comfy.model_management
import folder_paths
import os
import hashlib
import node_helpers
import logging
from typing_extensions import override
from comfy_api.latest import ComfyExtension, IO, UI
class EmptyLatentAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyLatentAudio",
display_name="Empty Latent Audio",
category="latent/audio",
inputs=[
IO.Float.Input("seconds", default=47.6, min=1.0, max=1000.0, step=0.1),
IO.Int.Input(
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch."
),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, seconds, batch_size) -> IO.NodeOutput:
length = round((seconds * 44100 / 2048) / 2) * 2
latent = torch.zeros([batch_size, 64, length], device=comfy.model_management.intermediate_device())
return IO.NodeOutput({"samples":latent, "type": "audio"})
generate = execute # TODO: remove
class ConditioningStableAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="ConditioningStableAudio",
category="conditioning",
inputs=[
IO.Conditioning.Input("positive"),
IO.Conditioning.Input("negative"),
IO.Float.Input("seconds_start", default=0.0, min=0.0, max=1000.0, step=0.1),
IO.Float.Input("seconds_total", default=47.0, min=0.0, max=1000.0, step=0.1),
],
outputs=[
IO.Conditioning.Output(display_name="positive"),
IO.Conditioning.Output(display_name="negative"),
],
)
@classmethod
def execute(cls, positive, negative, seconds_start, seconds_total) -> IO.NodeOutput:
positive = node_helpers.conditioning_set_values(positive, {"seconds_start": seconds_start, "seconds_total": seconds_total})
negative = node_helpers.conditioning_set_values(negative, {"seconds_start": seconds_start, "seconds_total": seconds_total})
return IO.NodeOutput(positive, negative)
append = execute # TODO: remove
class VAEEncodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEEncodeAudio",
search_aliases=["audio to latent"],
display_name="VAE Encode Audio",
category="latent/audio",
inputs=[
IO.Audio.Input("audio"),
IO.Vae.Input("vae"),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, vae, audio) -> IO.NodeOutput:
sample_rate = audio["sample_rate"]
if 44100 != sample_rate:
waveform = torchaudio.functional.resample(audio["waveform"], sample_rate, 44100)
else:
waveform = audio["waveform"]
t = vae.encode(waveform.movedim(1, -1))
return IO.NodeOutput({"samples":t})
encode = execute # TODO: remove
class VAEDecodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEDecodeAudio",
search_aliases=["latent to audio"],
display_name="VAE Decode Audio",
category="latent/audio",
inputs=[
IO.Latent.Input("samples"),
IO.Vae.Input("vae"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, vae, samples) -> IO.NodeOutput:
audio = vae.decode(samples["samples"]).movedim(-1, 1)
std = torch.std(audio, dim=[1,2], keepdim=True) * 5.0
std[std < 1.0] = 1.0
audio /= std
return IO.NodeOutput({"waveform": audio, "sample_rate": 44100 if "sample_rate" not in samples else samples["sample_rate"]})
decode = execute # TODO: remove
class SaveAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudio",
search_aliases=["export flac"],
display_name="Save Audio (FLAC)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="flac") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=format)
)
save_flac = execute # TODO: remove
class SaveAudioMP3(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioMP3",
search_aliases=["export mp3"],
display_name="Save Audio (MP3)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="mp3", quality="128k") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
save_mp3 = execute # TODO: remove
class SaveAudioOpus(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioOpus",
search_aliases=["export opus"],
display_name="Save Audio (Opus)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="opus", quality="V3") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
save_opus = execute # TODO: remove
class PreviewAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="PreviewAudio",
search_aliases=["play audio"],
display_name="Preview Audio",
category="audio",
inputs=[
IO.Audio.Input("audio"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
return IO.NodeOutput(ui=UI.PreviewAudio(audio, cls=cls))
save_flac = execute # TODO: remove
def f32_pcm(wav: torch.Tensor) -> torch.Tensor:
"""Convert audio to float 32 bits PCM format."""
if wav.dtype.is_floating_point:
return wav
elif wav.dtype == torch.int16:
return wav.float() / (2 ** 15)
elif wav.dtype == torch.int32:
return wav.float() / (2 ** 31)
raise ValueError(f"Unsupported wav dtype: {wav.dtype}")
def load(filepath: str) -> tuple[torch.Tensor, int]:
with av.open(filepath) as af:
if not af.streams.audio:
raise ValueError("No audio stream found in the file.")
stream = af.streams.audio[0]
sr = stream.codec_context.sample_rate
n_channels = stream.channels
frames = []
length = 0
for frame in af.decode(streams=stream.index):
buf = torch.from_numpy(frame.to_ndarray())
if buf.shape[0] != n_channels:
buf = buf.view(-1, n_channels).t()
frames.append(buf)
length += buf.shape[1]
if not frames:
raise ValueError("No audio frames decoded.")
wav = torch.cat(frames, dim=1)
wav = f32_pcm(wav)
return wav, sr
class LoadAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
input_dir = folder_paths.get_input_directory()
files = folder_paths.filter_files_content_types(os.listdir(input_dir), ["audio", "video"])
return IO.Schema(
node_id="LoadAudio",
search_aliases=["import audio", "open audio", "audio file"],
display_name="Load Audio",
category="audio",
inputs=[
IO.Combo.Input("audio", upload=IO.UploadType.audio, options=sorted(files)),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
@classmethod
def fingerprint_inputs(cls, audio):
image_path = folder_paths.get_annotated_filepath(audio)
m = hashlib.sha256()
with open(image_path, 'rb') as f:
m.update(f.read())
return m.digest().hex()
@classmethod
def validate_inputs(cls, audio):
if not folder_paths.exists_annotated_filepath(audio):
return "Invalid audio file: {}".format(audio)
return True
load = execute # TODO: remove
class RecordAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="RecordAudio",
search_aliases=["microphone input", "audio capture", "voice input"],
display_name="Record Audio",
category="audio",
inputs=[
IO.Custom("AUDIO_RECORD").Input("audio"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
load = execute # TODO: remove
class TrimAudioDuration(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="TrimAudioDuration",
search_aliases=["cut audio", "audio clip", "shorten audio"],
display_name="Trim Audio Duration",
description="Trim audio tensor into chosen time range.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.Float.Input(
"start_index",
default=0.0,
min=-0xffffffffffffffff,
max=0xffffffffffffffff,
step=0.01,
tooltip="Start time in seconds, can be negative to count from the end (supports sub-seconds).",
),
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
step=0.01,
tooltip="Duration in seconds",
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, start_index, duration) -> IO.NodeOutput:
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
audio_length = waveform.shape[-1]
if start_index < 0:
start_frame = audio_length + int(round(start_index * sample_rate))
else:
start_frame = int(round(start_index * sample_rate))
start_frame = max(0, min(start_frame, audio_length - 1))
end_frame = start_frame + int(round(duration * sample_rate))
end_frame = max(0, min(end_frame, audio_length))
if start_frame >= end_frame:
raise ValueError("AudioTrim: Start time must be less than end time and be within the audio length.")
return IO.NodeOutput({"waveform": waveform[..., start_frame:end_frame], "sample_rate": sample_rate})
trim = execute # TODO: remove
class SplitAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SplitAudioChannels",
search_aliases=["stereo to mono"],
display_name="Split Audio Channels",
description="Separates the audio into left and right channels.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
],
outputs=[
IO.Audio.Output(display_name="left"),
IO.Audio.Output(display_name="right"),
],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
if waveform.shape[1] != 2:
raise ValueError("AudioSplit: Input audio has only one channel.")
left_channel = waveform[..., 0:1, :]
right_channel = waveform[..., 1:2, :]
return IO.NodeOutput({"waveform": left_channel, "sample_rate": sample_rate}, {"waveform": right_channel, "sample_rate": sample_rate})
separate = execute # TODO: remove
class JoinAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="JoinAudioChannels",
display_name="Join Audio Channels",
description="Joins left and right mono audio channels into a stereo audio.",
category="audio",
inputs=[
IO.Audio.Input("audio_left"),
IO.Audio.Input("audio_right"),
],
outputs=[
IO.Audio.Output(display_name="audio"),
],
)
@classmethod
def execute(cls, audio_left, audio_right) -> IO.NodeOutput:
waveform_left = audio_left["waveform"]
sample_rate_left = audio_left["sample_rate"]
waveform_right = audio_right["waveform"]
sample_rate_right = audio_right["sample_rate"]
if waveform_left.shape[1] != 1 or waveform_right.shape[1] != 1:
raise ValueError("AudioJoin: Both input audios must be mono.")
# Handle different sample rates by resampling to the higher rate
waveform_left, waveform_right, output_sample_rate = match_audio_sample_rates(
waveform_left, sample_rate_left, waveform_right, sample_rate_right
)
# Handle different lengths by trimming to the shorter length
length_left = waveform_left.shape[-1]
length_right = waveform_right.shape[-1]
if length_left != length_right:
min_length = min(length_left, length_right)
if length_left > min_length:
logging.info(f"JoinAudioChannels: Trimming left channel from {length_left} to {min_length} samples.")
waveform_left = waveform_left[..., :min_length]
if length_right > min_length:
logging.info(f"JoinAudioChannels: Trimming right channel from {length_right} to {min_length} samples.")
waveform_right = waveform_right[..., :min_length]
# Join the channels into stereo
left_channel = waveform_left[..., 0:1, :]
right_channel = waveform_right[..., 0:1, :]
stereo_waveform = torch.cat([left_channel, right_channel], dim=1)
return IO.NodeOutput({"waveform": stereo_waveform, "sample_rate": output_sample_rate})
def match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2):
if sample_rate_1 != sample_rate_2:
if sample_rate_1 > sample_rate_2:
waveform_2 = torchaudio.functional.resample(waveform_2, sample_rate_2, sample_rate_1)
output_sample_rate = sample_rate_1
logging.info(f"Resampling audio2 from {sample_rate_2}Hz to {sample_rate_1}Hz for merging.")
else:
waveform_1 = torchaudio.functional.resample(waveform_1, sample_rate_1, sample_rate_2)
output_sample_rate = sample_rate_2
logging.info(f"Resampling audio1 from {sample_rate_1}Hz to {sample_rate_2}Hz for merging.")
else:
output_sample_rate = sample_rate_1
return waveform_1, waveform_2, output_sample_rate
class AudioConcat(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioConcat",
search_aliases=["join audio", "combine audio", "append audio"],
display_name="Audio Concat",
description="Concatenates the audio1 to audio2 in the specified direction.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"direction",
options=['after', 'before'],
default="after",
tooltip="Whether to append audio2 after or before audio1.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, direction) -> IO.NodeOutput:
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
if waveform_1.shape[1] == 1:
waveform_1 = waveform_1.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio1 to stereo by duplicating the channel.")
if waveform_2.shape[1] == 1:
waveform_2 = waveform_2.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio2 to stereo by duplicating the channel.")
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
if direction == 'after':
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
elif direction == 'before':
concatenated_audio = torch.cat((waveform_2, waveform_1), dim=2)
return IO.NodeOutput({"waveform": concatenated_audio, "sample_rate": output_sample_rate})
concat = execute # TODO: remove
class AudioMerge(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioMerge",
search_aliases=["mix audio", "overlay audio", "layer audio"],
display_name="Audio Merge",
description="Combine two audio tracks by overlaying their waveforms.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"merge_method",
options=["add", "mean", "subtract", "multiply"],
tooltip="The method used to combine the audio waveforms.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, merge_method) -> IO.NodeOutput:
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
length_1 = waveform_1.shape[-1]
length_2 = waveform_2.shape[-1]
if length_2 > length_1:
logging.info(f"AudioMerge: Trimming audio2 from {length_2} to {length_1} samples to match audio1 length.")
waveform_2 = waveform_2[..., :length_1]
elif length_2 < length_1:
logging.info(f"AudioMerge: Padding audio2 from {length_2} to {length_1} samples to match audio1 length.")
pad_shape = list(waveform_2.shape)
pad_shape[-1] = length_1 - length_2
pad_tensor = torch.zeros(pad_shape, dtype=waveform_2.dtype, device=waveform_2.device)
waveform_2 = torch.cat((waveform_2, pad_tensor), dim=-1)
if merge_method == "add":
waveform = waveform_1 + waveform_2
elif merge_method == "subtract":
waveform = waveform_1 - waveform_2
elif merge_method == "multiply":
waveform = waveform_1 * waveform_2
elif merge_method == "mean":
waveform = (waveform_1 + waveform_2) / 2
max_val = waveform.abs().max()
if max_val > 1.0:
waveform = waveform / max_val
return IO.NodeOutput({"waveform": waveform, "sample_rate": output_sample_rate})
merge = execute # TODO: remove
class AudioAdjustVolume(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioAdjustVolume",
search_aliases=["audio gain", "loudness", "audio level"],
display_name="Audio Adjust Volume",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.Int.Input(
"volume",
default=1,
min=-100,
max=100,
tooltip="Volume adjustment in decibels (dB). 0 = no change, +6 = double, -6 = half, etc",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, volume) -> IO.NodeOutput:
if volume == 0:
return IO.NodeOutput(audio)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
gain = 10 ** (volume / 20)
waveform = waveform * gain
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
adjust_volume = execute # TODO: remove
class EmptyAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyAudio",
search_aliases=["blank audio"],
display_name="Empty Audio",
category="audio",
inputs=[
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
max=0xffffffffffffffff,
step=0.01,
tooltip="Duration of the empty audio clip in seconds",
),
IO.Int.Input(
"sample_rate",
default=44100,
tooltip="Sample rate of the empty audio clip.",
min=1,
max=192000,
),
IO.Int.Input(
"channels",
default=2,
min=1,
max=2,
tooltip="Number of audio channels (1 for mono, 2 for stereo).",
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, duration, sample_rate, channels) -> IO.NodeOutput:
num_samples = int(round(duration * sample_rate))
waveform = torch.zeros((1, channels, num_samples), dtype=torch.float32)
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
create_empty_audio = execute # TODO: remove
class AudioExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[IO.ComfyNode]]:
return [
EmptyLatentAudio,
VAEEncodeAudio,
VAEDecodeAudio,
SaveAudio,
SaveAudioMP3,
SaveAudioOpus,
LoadAudio,
PreviewAudio,
ConditioningStableAudio,
RecordAudio,
TrimAudioDuration,
SplitAudioChannels,
JoinAudioChannels,
AudioConcat,
AudioMerge,
AudioAdjustVolume,
EmptyAudio,
]
async def comfy_entrypoint() -> AudioExtension:
return AudioExtension()
@@ -0,0 +1,330 @@
import comfy.sd
import comfy.model_sampling
import comfy.latent_formats
import nodes
import torch
import node_helpers
class LCM(comfy.model_sampling.EPS):
def calculate_denoised(self, sigma, model_output, model_input):
timestep = self.timestep(sigma).view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
sigma = sigma.view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
x0 = model_input - model_output * sigma
sigma_data = 0.5
scaled_timestep = timestep * 10.0 #timestep_scaling
c_skip = sigma_data**2 / (scaled_timestep**2 + sigma_data**2)
c_out = scaled_timestep / (scaled_timestep**2 + sigma_data**2) ** 0.5
return c_out * x0 + c_skip * model_input
class ModelSamplingDiscreteDistilled(comfy.model_sampling.ModelSamplingDiscrete):
original_timesteps = 50
def __init__(self, model_config=None, zsnr=None):
super().__init__(model_config, zsnr=zsnr)
self.skip_steps = self.num_timesteps // self.original_timesteps
sigmas_valid = torch.zeros((self.original_timesteps), dtype=torch.float32)
for x in range(self.original_timesteps):
sigmas_valid[self.original_timesteps - 1 - x] = self.sigmas[self.num_timesteps - 1 - x * self.skip_steps]
self.set_sigmas(sigmas_valid)
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return (dists.abs().argmin(dim=0).view(sigma.shape) * self.skip_steps + (self.skip_steps - 1)).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(((timestep.float().to(self.log_sigmas.device) - (self.skip_steps - 1)) / self.skip_steps).float(), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
class ModelSamplingDiscrete:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["eps", "v_prediction", "lcm", "x0", "img_to_img"],),
"zsnr": ("BOOLEAN", {"default": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, zsnr):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscrete
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "lcm":
sampling_type = LCM
sampling_base = ModelSamplingDiscreteDistilled
elif sampling == "x0":
sampling_type = comfy.model_sampling.X0
elif sampling == "img_to_img":
sampling_type = comfy.model_sampling.IMG_TO_IMG
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config, zsnr=zsnr)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingStableCascade:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 2.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, shift):
m = model.clone()
sampling_base = comfy.model_sampling.StableCascadeSampling
sampling_type = comfy.model_sampling.EPS
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingSD3:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 3.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, shift, multiplier=1000):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscreteFlow
sampling_type = comfy.model_sampling.CONST
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift, multiplier=multiplier)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingAuraFlow(ModelSamplingSD3):
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 1.73, "min": 0.0, "max": 100.0, "step":0.01}),
}}
FUNCTION = "patch_aura"
def patch_aura(self, model, shift):
return self.patch(model, shift, multiplier=1.0)
class ModelSamplingFlux:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"max_shift": ("FLOAT", {"default": 1.15, "min": 0.0, "max": 100.0, "step":0.01}),
"base_shift": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 100.0, "step":0.01}),
"width": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
"height": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, max_shift, base_shift, width, height):
m = model.clone()
x1 = 256
x2 = 4096
mm = (max_shift - base_shift) / (x2 - x1)
b = base_shift - mm * x1
shift = (width * height / (8 * 8 * 2 * 2)) * mm + b
sampling_base = comfy.model_sampling.ModelSamplingFlux
sampling_type = comfy.model_sampling.CONST
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingContinuousEDM:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction", "edm", "edm_playground_v2.5", "eps", "cosmos_rflow"],),
"sigma_max": ("FLOAT", {"default": 120.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
"sigma_min": ("FLOAT", {"default": 0.002, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingContinuousEDM
latent_format = None
sigma_data = 1.0
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "edm":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "edm_playground_v2.5":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
latent_format = comfy.latent_formats.SDXL_Playground_2_5()
elif sampling == "cosmos_rflow":
sampling_type = comfy.model_sampling.COSMOS_RFLOW
sampling_base = comfy.model_sampling.ModelSamplingCosmosRFlow
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
if latent_format is not None:
m.add_object_patch("latent_format", latent_format)
return (m, )
class ModelSamplingContinuousV:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction"],),
"sigma_max": ("FLOAT", {"default": 500.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
"sigma_min": ("FLOAT", {"default": 0.03, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sigma_data = 1.0
if sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingContinuousV, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class RescaleCFG:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"multiplier": ("FLOAT", {"default": 0.7, "min": 0.0, "max": 1.0, "step": 0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, multiplier):
def rescale_cfg(args):
cond = args["cond"]
uncond = args["uncond"]
cond_scale = args["cond_scale"]
sigma = args["sigma"]
sigma = sigma.view(sigma.shape[:1] + (1,) * (cond.ndim - 1))
x_orig = args["input"]
#rescale cfg has to be done on v-pred model output
x = x_orig / (sigma * sigma + 1.0)
cond = ((x - (x_orig - cond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
uncond = ((x - (x_orig - uncond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
#rescalecfg
x_cfg = uncond + cond_scale * (cond - uncond)
ro_pos = torch.std(cond, dim=(1,2,3), keepdim=True)
ro_cfg = torch.std(x_cfg, dim=(1,2,3), keepdim=True)
x_rescaled = x_cfg * (ro_pos / ro_cfg)
x_final = multiplier * x_rescaled + (1.0 - multiplier) * x_cfg
return x_orig - (x - x_final * sigma / (sigma * sigma + 1.0) ** 0.5)
m = model.clone()
m.set_model_sampler_cfg_function(rescale_cfg)
return (m, )
class ModelComputeDtype:
SEARCH_ALIASES = ["model precision", "change dtype"]
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"dtype": (["default", "fp32", "fp16", "bf16"],),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/debug/model"
def patch(self, model, dtype):
m = model.clone()
m.set_model_compute_dtype(node_helpers.string_to_torch_dtype(dtype))
return (m, )
NODE_CLASS_MAPPINGS = {
"ModelSamplingDiscrete": ModelSamplingDiscrete,
"ModelSamplingContinuousEDM": ModelSamplingContinuousEDM,
"ModelSamplingContinuousV": ModelSamplingContinuousV,
"ModelSamplingStableCascade": ModelSamplingStableCascade,
"ModelSamplingSD3": ModelSamplingSD3,
"ModelSamplingAuraFlow": ModelSamplingAuraFlow,
"ModelSamplingFlux": ModelSamplingFlux,
"RescaleCFG": RescaleCFG,
"ModelComputeDtype": ModelComputeDtype,
}
@@ -0,0 +1,496 @@
from __future__ import annotations
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__))
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["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)
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
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
return os.path.join(base_dir, name)
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.join(base_dir, name)
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:
digits = int(filename[prefix_len + 1:].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 os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
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 + \
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
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 @@
{"sha":"1720aa028645cb2b0a942f20c9b2290aacd13703","node_id":"C_kwDOMIrOxtoAKDE3MjBhYTAyODY0NWNiMmIwYTk0MmYyMGM5YjIyOTBhYWNkMTM3MDM","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/commits/1720aa028645cb2b0a942f20c9b2290aacd13703","html_url":"https://github.com/Comfy-Org/ComfyUI_frontend/commit/1720aa028645cb2b0a942f20c9b2290aacd13703","author":{"name":"Comfy Org PR Bot","email":"snomiao+comfy-pr@gmail.com","date":"2026-04-09T01:13:31Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2026-04-09T01:13:31Z"},"tree":{"sha":"357782b406b9c64689e7bbaad0291fe629fc6067","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/trees/357782b406b9c64689e7bbaad0291fe629fc6067"},"message":"1.44.0 (#10974)\n\nMinor version increment to 1.44.0\n\n**Base branch:** `main`\n\n┆Issue is synchronized with this [Notion\npage](https://www.notion.so/PR-10974-1-44-0-33c6d73d365081d98a3bd646d3374b3b)\nby [Unito](https://www.unito.io)\n\n---------\n\nCo-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com>\nCo-authored-by: github-actions <github-actions@github.com>","parents":[{"sha":"c671a3318268c3ba0d8fd30580b238e0ab1ff5fe","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/commits/c671a3318268c3ba0d8fd30580b238e0ab1ff5fe","html_url":"https://github.com/Comfy-Org/ComfyUI_frontend/commit/c671a3318268c3ba0d8fd30580b238e0ab1ff5fe"}],"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJp1v07CRC1aQ7uu5UhlAAAzFoQADX88SIMOpHXq2QTMDlJXUYp\ndSZQrmNDBBIDF3yTZm7sfJglvcjQ8gWeD1NmU6Txjv/xPWeqR+ztCHhdGQripC+7\nean79tFiDLyr0nAHxGgR1h+6+NqUbUzYYoDurq0yJ82vxcugECT6iM9c12SNQTjI\nQ5428sUj+gOFkbtqM9UtIvHJxF9sHYA6YTH2oyYNAnp5bQfSRMpa8TWwxkmke9ng\nqyvs04TH5MwxyQqgG13T/KwPrzEdIW89eygbWvUUeXsrjfaOQO6vGVgB1aPGt98B\nyZoGfBHeyjzrwPjzgO+ycNFR0/+TjMqhUGRUg4QHNpsZX4Sc4ADocOrRQtcUC6l7\n2+QTeuN6ElJhYDk8c61SqYIzNLUijFk3n8FwJyMsW3G4VquIz1DTdbRHMW+WWqav\niz0C+jrpWoVNNpzyY9phm058h3Ed6FvGIe2mZV5ybbdAlsXpVk45M4KawjeZ/ZhS\nm8Vo19ijVKV/SzKCSJNWpMlqHZOTy7H3mWFps1ghZqchCaKYlWSi2Mzh+UXujfkI\nNtBnukU4NrzTPh/ho8oo54bBq5wGwh4r80qf9wiERetpfcWRJe5OclpvahI8bsow\nnHRLkMONdFJ4+IrOwcMcmnfZMdndPkWwla8mPapUaLzqciTvO0etFnKewZ+HJ0OF\nMCUuRZ8erD5iYPSoPGOa\n=2Ez3\n-----END PGP SIGNATURE-----\n","payload":"tree 357782b406b9c64689e7bbaad0291fe629fc6067\nparent c671a3318268c3ba0d8fd30580b238e0ab1ff5fe\nauthor Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1775697211 +0900\ncommitter GitHub <noreply@github.com> 1775697211 -0700\n\n1.44.0 (#10974)\n\nMinor version increment to 1.44.0\n\n**Base branch:** `main`\n\n┆Issue is synchronized with this [Notion\npage](https://www.notion.so/PR-10974-1-44-0-33c6d73d365081d98a3bd646d3374b3b)\nby [Unito](https://www.unito.io)\n\n---------\n\nCo-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com>\nCo-authored-by: github-actions <github-actions@github.com>","verified_at":"2026-04-09T01:13:31Z"}}
@@ -0,0 +1 @@
{"ref":"refs/tags/v1.44.0","node_id":"REF_kwDOMIrOxrFyZWZzL3RhZ3MvdjEuNDQuMA","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/refs/tags/v1.44.0","object":{"sha":"1720aa028645cb2b0a942f20c9b2290aacd13703","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/commits/1720aa028645cb2b0a942f20c9b2290aacd13703"}}
File diff suppressed because one or more lines are too long
@@ -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,224 @@
{
"name": "@comfyorg/comfyui-frontend",
"version": "1.44.0",
"private": true,
"description": "Official front-end implementation of ComfyUI",
"homepage": "https://comfy.org",
"license": "GPL-3.0-only",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"type": "module",
"scripts": {
"build:cloud": "cross-env DISTRIBUTION=cloud NODE_OPTIONS='--max-old-space-size=8192' nx build",
"build:desktop": "nx build @comfyorg/desktop-ui",
"build-storybook": "storybook build",
"build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js",
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' pnpm typecheck && nx build",
"size:collect": "node scripts/size-collect.js",
"size:report": "node scripts/size-report.js",
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
"dev:cloud": "cross-env DEV_SERVER_COMFYUI_URL='https://testcloud.comfy.org/' nx serve",
"dev:desktop": "nx dev @comfyorg/desktop-ui",
"dev:electron": "cross-env DISTRIBUTION=desktop nx serve --config vite.electron.config.mts",
"dev:no-vue": "cross-env DISABLE_VUE_PLUGINS=true nx serve",
"dev": "nx serve",
"devtools:pycheck": "python3 -m compileall -q tools/devtools",
"format:check": "oxfmt --check",
"format": "oxfmt --write",
"json-schema": "tsx scripts/generate-json-schema.ts",
"knip:no-cache": "knip",
"knip": "knip --cache",
"lint:fix:no-cache": "oxlint src --type-aware --fix && eslint src --fix",
"lint:fix": "oxlint src --type-aware --fix && eslint src --cache --fix",
"lint:no-cache": "pnpm exec stylelint '{apps,packages,src}/**/*.{css,vue}' && oxlint src --type-aware && eslint src",
"lint:unstaged:fix": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache --fix",
"lint:unstaged": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache",
"lint": "pnpm stylelint && oxlint src --type-aware && eslint src --cache",
"lint:desktop": "nx run @comfyorg/desktop-ui:lint",
"locale": "lobe-i18n locale",
"oxlint": "oxlint src --type-aware",
"prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
"preview": "nx preview",
"storybook": "nx storybook",
"storybook:desktop": "nx run @comfyorg/desktop-ui:storybook",
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
"test:browser": "pnpm exec nx e2e",
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm test:browser",
"test:coverage": "vitest run --coverage",
"test:unit": "nx run test",
"typecheck": "vue-tsc --noEmit",
"typecheck:browser": "vue-tsc --project browser_tests/tsconfig.json",
"typecheck:desktop": "nx run @comfyorg/desktop-ui:typecheck",
"zipdist": "node scripts/zipdist.js",
"clean": "nx reset"
},
"dependencies": {
"@alloc/quick-lru": "catalog:",
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
"@comfyorg/comfyui-electron-types": "catalog:",
"@comfyorg/design-system": "workspace:*",
"@comfyorg/registry-types": "workspace:*",
"@comfyorg/shared-frontend-utils": "workspace:*",
"@comfyorg/tailwind-utils": "workspace:*",
"@formkit/auto-animate": "catalog:",
"@iconify/json": "catalog:",
"@primeuix/forms": "catalog:",
"@primeuix/styled": "catalog:",
"@primeuix/utils": "catalog:",
"@primevue/core": "catalog:",
"@primevue/forms": "catalog:",
"@primevue/icons": "catalog:",
"@primevue/themes": "catalog:",
"@sentry/vue": "catalog:",
"@sparkjsdev/spark": "catalog:",
"@tanstack/vue-virtual": "catalog:",
"@tiptap/core": "catalog:",
"@tiptap/extension-link": "catalog:",
"@tiptap/extension-table": "catalog:",
"@tiptap/extension-table-cell": "catalog:",
"@tiptap/extension-table-header": "catalog:",
"@tiptap/extension-table-row": "catalog:",
"@tiptap/pm": "catalog:",
"@tiptap/starter-kit": "catalog:",
"@vueuse/core": "catalog:",
"@vueuse/integrations": "catalog:",
"@vueuse/router": "^14.2.0",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/xterm": "^5.5.0",
"algoliasearch": "catalog:",
"axios": "catalog:",
"chart.js": "^4.5.0",
"cva": "catalog:",
"dompurify": "^3.2.5",
"dotenv": "catalog:",
"es-toolkit": "^1.39.9",
"extendable-media-recorder": "^9.2.27",
"extendable-media-recorder-wav-encoder": "^7.0.129",
"firebase": "catalog:",
"fuse.js": "^7.0.0",
"glob": "catalog:",
"jsonata": "catalog:",
"jsondiffpatch": "catalog:",
"loglevel": "^1.9.2",
"marked": "^15.0.11",
"pinia": "catalog:",
"posthog-js": "catalog:",
"primeicons": "catalog:",
"primevue": "catalog:",
"reka-ui": "catalog:",
"semver": "^7.7.2",
"three": "^0.170.0",
"tiptap-markdown": "^0.8.10",
"typegpu": "catalog:",
"vue": "catalog:",
"vue-i18n": "catalog:",
"vue-router": "catalog:",
"vuefire": "catalog:",
"wwobjloader2": "catalog:",
"yjs": "catalog:",
"zod": "catalog:",
"zod-validation-error": "catalog:"
},
"devDependencies": {
"@comfyorg/ingest-types": "workspace:*",
"@eslint/js": "catalog:",
"@intlify/eslint-plugin-vue-i18n": "catalog:",
"@lobehub/i18n-cli": "catalog:",
"@nx/eslint": "catalog:",
"@nx/playwright": "catalog:",
"@nx/storybook": "catalog:",
"@nx/vite": "catalog:",
"@pinia/testing": "catalog:",
"@playwright/test": "catalog:",
"@sentry/vite-plugin": "catalog:",
"@storybook/addon-docs": "catalog:",
"@storybook/addon-mcp": "catalog:",
"@storybook/vue3": "catalog:",
"@storybook/vue3-vite": "catalog:",
"@tailwindcss/vite": "catalog:",
"@testing-library/jest-dom": "catalog:",
"@testing-library/user-event": "catalog:",
"@testing-library/vue": "catalog:",
"@total-typescript/shoehorn": "catalog:",
"@types/fs-extra": "catalog:",
"@types/jsdom": "catalog:",
"@types/node": "catalog:",
"@types/semver": "catalog:",
"@types/three": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
"@vue/test-utils": "catalog:",
"@webgpu/types": "catalog:",
"cross-env": "catalog:",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-import-resolver-typescript": "catalog:",
"eslint-plugin-better-tailwindcss": "catalog:",
"eslint-plugin-import-x": "catalog:",
"eslint-plugin-oxlint": "catalog:",
"eslint-plugin-storybook": "catalog:",
"eslint-plugin-testing-library": "catalog:",
"eslint-plugin-unused-imports": "catalog:",
"eslint-plugin-vue": "catalog:",
"fast-check": "catalog:",
"fs-extra": "^11.2.0",
"globals": "catalog:",
"happy-dom": "catalog:",
"husky": "catalog:",
"jiti": "catalog:",
"jsdom": "catalog:",
"knip": "catalog:",
"lint-staged": "catalog:",
"markdown-table": "catalog:",
"mixpanel-browser": "catalog:",
"nx": "catalog:",
"oxfmt": "catalog:",
"oxlint": "catalog:",
"oxlint-tsgolint": "catalog:",
"picocolors": "catalog:",
"postcss-html": "catalog:",
"pretty-bytes": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"storybook": "catalog:",
"stylelint": "catalog:",
"tailwindcss": "catalog:",
"tsx": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "catalog:",
"unplugin-icons": "catalog:",
"unplugin-typegpu": "catalog:",
"unplugin-vue-components": "catalog:",
"uuid": "^11.1.0",
"vite": "catalog:",
"vite-plugin-dts": "catalog:",
"vite-plugin-html": "catalog:",
"vite-plugin-vue-devtools": "catalog:",
"vitest": "catalog:",
"vue-component-type-helpers": "catalog:",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:",
"zip-dir": "^2.0.0",
"zod-to-json-schema": "catalog:"
},
"engines": {
"node": "24.x",
"pnpm": ">=10"
},
"packageManager": "pnpm@10.33.0",
"pnpm": {
"overrides": {
"vite": "catalog:"
},
"ignoredBuiltDependencies": [
"@firebase/util",
"core-js",
"protobufjs",
"sharp",
"unrs-resolver",
"vue-demi"
]
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,452 @@
import { MediaRecorder as ExtendableMediaRecorder } from 'extendable-media-recorder'
import { useNodeDragAndDrop } from '@/composables/node/useNodeDragAndDrop'
import { useNodeFileInput } from '@/composables/node/useNodeFileInput'
import { useNodePaste } from '@/composables/node/useNodePaste'
import { t } from '@/i18n'
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import { resolveNodeRootGraphId } from '@/lib/litegraph/src/litegraph'
import type {
IBaseWidget,
IStringWidget
} from '@/lib/litegraph/src/types/widgets'
import { useToastStore } from '@/platform/updates/common/toastStore'
import {
getResourceURL,
splitFilePath
} from '@/renderer/extensions/vueNodes/widgets/utils/audioUtils'
import type { NodeExecutionOutput } from '@/schemas/apiSchema'
import type { ComfyNodeDef } from '@/schemas/nodeDefSchema'
import type { DOMWidget } from '@/scripts/domWidget'
import { useAudioService } from '@/services/audioService'
import { type NodeLocatorId } from '@/types'
import { getNodeByLocatorId } from '@/utils/graphTraversalUtil'
import { api } from '../../scripts/api'
import { app } from '../../scripts/app'
import { useWidgetValueStore } from '@/stores/widgetValueStore'
function updateUIWidget(
audioUIWidget: DOMWidget<HTMLAudioElement, string>,
url: string = ''
) {
audioUIWidget.element.src = url
audioUIWidget.value = url
audioUIWidget.callback?.(url)
if (url) audioUIWidget.element.classList.remove('empty-audio-widget')
else audioUIWidget.element.classList.add('empty-audio-widget')
}
async function uploadFile(
audioWidget: IStringWidget,
audioUIWidget: DOMWidget<HTMLAudioElement, string>,
file: File,
updateNode: boolean,
pasted: boolean = false
): Promise<boolean> {
try {
// Wrap file in formdata so it includes filename
const body = new FormData()
body.append('image', file)
if (pasted) body.append('subfolder', 'pasted')
const resp = await api.fetchApi('/upload/image', {
method: 'POST',
body
})
if (resp.status === 200) {
const data = await resp.json()
// Add the file to the dropdown list and update the widget value
let path = data.name
if (data.subfolder) path = data.subfolder + '/' + path
// @ts-expect-error fixme ts strict error
if (!audioWidget.options.values.includes(path)) {
// @ts-expect-error fixme ts strict error
audioWidget.options.values.push(path)
}
if (updateNode) {
updateUIWidget(
audioUIWidget,
api.apiURL(getResourceURL(...splitFilePath(path)))
)
audioWidget.value = path
// Manually trigger the callback to update VueNodes
audioWidget.callback?.(path)
}
return true
} else {
useToastStore().addAlert(resp.status + ' - ' + resp.statusText)
return false
}
} catch (error) {
// @ts-expect-error fixme ts strict error
useToastStore().addAlert(error)
return false
}
}
// AudioWidget MUST be registered first, as AUDIOUPLOAD depends on AUDIO_UI to be
// present.
app.registerExtension({
name: 'Comfy.AudioWidget',
async beforeRegisterNodeDef(
nodeType: typeof LGraphNode,
nodeData: ComfyNodeDef
) {
if (
[
'LoadAudio',
'SaveAudio',
'PreviewAudio',
'SaveAudioMP3',
'SaveAudioOpus'
].includes(
// @ts-expect-error fixme ts strict error
nodeType.prototype.comfyClass
)
) {
// @ts-expect-error fixme ts strict error
nodeData.input.required.audioUI = ['AUDIO_UI', {}]
}
},
getCustomWidgets() {
return {
AUDIO_UI(node: LGraphNode, inputName: string) {
const audio = document.createElement('audio')
audio.controls = true
audio.classList.add('comfy-audio')
audio.setAttribute('name', 'media')
const audioUIWidget: DOMWidget<HTMLAudioElement, string> =
node.addDOMWidget(inputName, /* name=*/ 'audioUI', audio)
audioUIWidget.serialize = false
const { nodeData } = node.constructor
if (nodeData == null) throw new TypeError('nodeData is null')
const isOutputNode = nodeData.output_node
if (isOutputNode) {
// Hide the audio widget when there is no audio initially.
audioUIWidget.element.classList.add('empty-audio-widget')
// Populate the audio widget UI on node execution.
const onExecuted = node.onExecuted
node.onExecuted = function (output: NodeExecutionOutput) {
onExecuted?.call(this, output)
const audios = output.audio
if (!audios?.length) return
const audio = audios[0]
const resourceUrl = getResourceURL(
audio.subfolder ?? '',
audio.filename ?? '',
audio.type
)
updateUIWidget(audioUIWidget, api.apiURL(resourceUrl))
}
}
audioUIWidget.options.getValue = () =>
(useWidgetValueStore().getWidget(
resolveNodeRootGraphId(node, app.rootGraph.id),
node.id,
inputName
)?.value as string) ?? ''
audioUIWidget.options.setValue = (v) => {
const graphId = resolveNodeRootGraphId(node, app.rootGraph.id)
const widgetState = useWidgetValueStore().getWidget(
graphId,
node.id,
inputName
)
if (widgetState) widgetState.value = v
}
return { widget: audioUIWidget }
}
}
},
onNodeOutputsUpdated(
nodeOutputs: Record<NodeLocatorId, NodeExecutionOutput>
) {
for (const [nodeLocatorId, output] of Object.entries(nodeOutputs)) {
if (!output.audio?.length) continue
const node = getNodeByLocatorId(app.rootGraph, nodeLocatorId)
if (!node) continue
const audioUIWidget = node.widgets?.find(
(w) => w.name === 'audioUI'
) as unknown as DOMWidget<HTMLAudioElement, string>
const audio = output.audio[0]
const resourceUrl = getResourceURL(
audio.subfolder ?? '',
audio.filename ?? '',
audio.type
)
updateUIWidget(audioUIWidget, api.apiURL(resourceUrl))
}
}
})
app.registerExtension({
name: 'Comfy.UploadAudio',
async beforeRegisterNodeDef(
_nodeType: typeof LGraphNode,
nodeData: ComfyNodeDef
) {
if (nodeData?.input?.required?.audio?.[1]?.audio_upload === true) {
nodeData.input.required.upload = ['AUDIOUPLOAD', {}]
}
},
getCustomWidgets() {
return {
AUDIOUPLOAD(node, inputName: string) {
// The widget that allows user to select file.
// @ts-expect-error fixme ts strict error
const audioWidget = node.widgets.find(
(w) => w.name === 'audio'
) as IStringWidget
// @ts-expect-error fixme ts strict error
const audioUIWidget = node.widgets.find(
(w) => w.name === 'audioUI'
) as unknown as DOMWidget<HTMLAudioElement, string>
const onAudioWidgetUpdate = () => {
updateUIWidget(
audioUIWidget,
api.apiURL(
getResourceURL(...splitFilePath(audioWidget.value ?? ''))
)
)
}
// Initially load default audio file to audioUIWidget.
onAudioWidgetUpdate()
audioWidget.callback = onAudioWidgetUpdate
// Load saved audio file widget values if restoring from workflow
const onGraphConfigured = node.onGraphConfigured
node.onGraphConfigured = function () {
// @ts-expect-error fixme ts strict error
onGraphConfigured?.apply(this, arguments)
onAudioWidgetUpdate()
}
const handleUpload = async (files: File[]) => {
if (files?.length) {
const previousValue = audioWidget.value
audioWidget.value = files[0].name
const success = await uploadFile(
audioWidget,
audioUIWidget,
files[0],
true
)
if (!success) {
audioWidget.value = previousValue
}
}
return files
}
const isAudioFile = (file: File) => file.type.startsWith('audio/')
const { openFileSelection } = useNodeFileInput(node, {
accept: 'audio/*',
onSelect: handleUpload
})
// The widget to pop up the upload dialog.
const uploadWidget = node.addWidget(
'button',
inputName,
'',
openFileSelection,
{ serialize: false, canvasOnly: true }
)
uploadWidget.label = t('g.choose_file_to_upload')
useNodeDragAndDrop(node, {
fileFilter: isAudioFile,
onDrop: handleUpload
})
useNodePaste(node, {
fileFilter: isAudioFile,
onPaste: handleUpload
})
node.previewMediaType = 'audio'
return { widget: uploadWidget }
}
}
}
})
app.registerExtension({
name: 'Comfy.RecordAudio',
getCustomWidgets() {
return {
AUDIO_RECORD(node, inputName: string) {
const audio = document.createElement('audio')
audio.controls = true
audio.classList.add('comfy-audio')
audio.setAttribute('name', 'media')
const audioUIWidget: DOMWidget<HTMLAudioElement, string> =
node.addDOMWidget(inputName, /* name=*/ 'audioUI', audio)
audioUIWidget.options.canvasOnly = false
let mediaRecorder: MediaRecorder | null = null
let isRecording = false
let audioChunks: Blob[] = []
let currentStream: MediaStream | null = null
let recordWidget: IBaseWidget | null = null
let stopPromise: Promise<void> | null = null
let stopResolve: (() => void) | null = null
audioUIWidget.serializeValue = async () => {
if (isRecording && mediaRecorder) {
stopPromise = new Promise((resolve) => {
stopResolve = resolve
})
mediaRecorder.stop()
await stopPromise
}
const audioSrc = audioUIWidget.element.src
if (!audioSrc) {
useToastStore().addAlert(t('g.noAudioRecorded'))
return ''
}
const blob = await fetch(audioSrc).then((r) => r.blob())
return await useAudioService().convertBlobToFileAndSubmit(blob)
}
recordWidget = node.addWidget(
'button',
inputName,
'',
async () => {
if (!isRecording) {
try {
currentStream = await navigator.mediaDevices.getUserMedia({
audio: true
})
mediaRecorder = new ExtendableMediaRecorder(currentStream, {
mimeType: 'audio/wav'
}) as unknown as MediaRecorder
audioChunks = []
mediaRecorder.ondataavailable = (event) => {
audioChunks.push(event.data)
}
mediaRecorder.onstop = async () => {
const audioBlob = new Blob(audioChunks, { type: 'audio/wav' })
useAudioService().stopAllTracks(currentStream)
if (
audioUIWidget.element.src &&
audioUIWidget.element.src.startsWith('blob:')
) {
URL.revokeObjectURL(audioUIWidget.element.src)
}
updateUIWidget(audioUIWidget, URL.createObjectURL(audioBlob))
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
if (stopResolve) {
stopResolve()
stopResolve = null
stopPromise = null
}
}
mediaRecorder.onerror = (event) => {
console.error('MediaRecorder error:', event)
useAudioService().stopAllTracks(currentStream)
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
if (stopResolve) {
stopResolve()
stopResolve = null
stopPromise = null
}
}
mediaRecorder.start()
isRecording = true
if (recordWidget) {
recordWidget.label = t('g.stopRecording')
}
} catch (err) {
console.error('Error accessing microphone:', err)
useToastStore().addAlert(t('g.micPermissionDenied'))
if (mediaRecorder) {
try {
mediaRecorder.stop()
} catch {}
}
useAudioService().stopAllTracks(currentStream)
currentStream = null
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
}
} else if (mediaRecorder && isRecording) {
mediaRecorder.stop()
}
},
{ serialize: false, canvasOnly: false }
)
recordWidget.label = t('g.startRecording')
// Override the type for Vue rendering while keeping 'button' for LiteGraph
recordWidget.type = 'audiorecord'
const originalOnRemoved = node.onRemoved
node.onRemoved = function () {
if (isRecording && mediaRecorder) {
mediaRecorder.stop()
}
useAudioService().stopAllTracks(currentStream)
if (audioUIWidget.element.src?.startsWith('blob:')) {
URL.revokeObjectURL(audioUIWidget.element.src)
}
originalOnRemoved?.call(this)
}
return { widget: recordWidget }
}
}
},
async nodeCreated(node: LGraphNode) {
if (node.constructor.comfyClass !== 'RecordAudio') return
await useAudioService().registerWavEncoder()
}
})
@@ -0,0 +1,661 @@
import { useChainCallback } from '@/composables/functional/useChainCallback'
import { LGraphNode, LiteGraph } from '@/lib/litegraph/src/litegraph'
import type {
INodeInputSlot,
INodeOutputSlot,
ISlotType,
LLink
} from '@/lib/litegraph/src/litegraph'
import { NodeSlot } from '@/lib/litegraph/src/node/NodeSlot'
import type { CanvasPointerEvent } from '@/lib/litegraph/src/types/events'
import type {
IBaseWidget,
TWidgetValue
} from '@/lib/litegraph/src/types/widgets'
import { assetService } from '@/platform/assets/services/assetService'
import { createAssetWidget } from '@/platform/assets/utils/createAssetWidget'
import type { ComfyNodeDef, InputSpec } from '@/schemas/nodeDefSchema'
import { app } from '@/scripts/app'
import {
ComfyWidgets,
addValueControlWidgets,
isValidWidgetType
} from '@/scripts/widgets'
import { isPrimitiveNode } from '@/renderer/utils/nodeTypeGuards'
import { CONFIG, GET_CONFIG } from '@/services/litegraphService'
import { mergeInputSpec } from '@/utils/nodeDefUtil'
import { applyTextReplacements } from '@/utils/searchAndReplace'
const replacePropertyName = 'Run widget replace on values'
export class PrimitiveNode extends LGraphNode {
controlValues?: TWidgetValue[]
lastType?: string
static override category: string
constructor(title: string) {
super(title)
this.addOutput('connect to widget input', '*')
this.serialize_widgets = true
this.isVirtualNode = true
if (!this.properties || !(replacePropertyName in this.properties)) {
this.addProperty(replacePropertyName, false, 'boolean')
}
}
override applyToGraph(extraLinks: LLink[] = []) {
if (!this.outputs[0].links?.length || !this.graph) return
const links = [
...this.outputs[0].links.map((l) => this.graph!.links[l]),
...extraLinks
]
let v = this.widgets?.[0].value
if (v && this.properties[replacePropertyName]) {
v = applyTextReplacements(this.graph, v as string)
}
// For each output link copy our value over the original widget value
for (const linkInfo of links) {
const node = this.graph?.getNodeById(linkInfo.target_id)
const input = node?.inputs[linkInfo.target_slot]
if (!input) {
console.warn('Unable to resolve node or input for link', linkInfo)
continue
}
const widgetName = input.widget?.name
if (!widgetName) {
console.warn('Invalid widget or widget name', input.widget)
continue
}
const widget = node.widgets?.find((w) => w.name === widgetName)
if (!widget) {
console.warn(
`Unable to find widget "${widgetName}" on node [${node.id}]`
)
continue
}
widget.value = v
widget.callback?.(
widget.value,
app.canvas,
node,
app.canvas.graph_mouse,
{} as CanvasPointerEvent
)
}
}
override refreshComboInNode() {
const widget = this.widgets?.[0]
if (widget?.type === 'combo') {
// @ts-expect-error fixme ts strict error
widget.options.values = this.outputs[0].widget[GET_CONFIG]()[0]
// @ts-expect-error fixme ts strict error
if (!widget.options.values.includes(widget.value as string)) {
// @ts-expect-error fixme ts strict error
widget.value = widget.options.values[0]
;(widget.callback as Function)(widget.value)
}
}
}
override onAfterGraphConfigured() {
if (this.outputs[0].links?.length && !this.widgets?.length) {
this._onFirstConnection()
// Populate widget values from config data
if (this.widgets && this.widgets_values) {
for (let i = 0; i < this.widgets_values.length; i++) {
const w = this.widgets[i]
if (w) {
w.value = this.widgets_values[i]
}
}
}
// Merge values if required
this._mergeWidgetConfig()
}
}
override onConnectionsChange(
_type: ISlotType,
_index: number,
connected: boolean
) {
if (app.configuringGraph) {
// Dont run while the graph is still setting up
return
}
const links = this.outputs[0].links
if (connected) {
if (links?.length && !this.widgets?.length) {
this._onFirstConnection()
}
} else {
// We may have removed a link that caused the constraints to change
this._mergeWidgetConfig()
if (!links?.length) {
this.onLastDisconnect()
}
}
}
override onConnectOutput(
slot: number,
_type: string,
input: INodeInputSlot,
target_node: LGraphNode,
target_slot: number
) {
// Fires before the link is made allowing us to reject it if it isn't valid
// No widget, we can't connect
if (!input.widget && !(input.type in ComfyWidgets)) {
return false
}
if (this.outputs[slot].links?.length) {
const valid = this._isValidConnection(input)
if (valid) {
// On connect of additional outputs, copy our value to their widget
this.applyToGraph([{ target_id: target_node.id, target_slot } as LLink])
}
return valid
}
return true
}
private _onFirstConnection(recreating?: boolean) {
// First connection can fire before the graph is ready on initial load so random things can be missing
if (!this.outputs[0].links || !this.graph) {
this.onLastDisconnect()
return
}
const linkId = this.outputs[0].links[0]
const link = this.graph.links[linkId]
if (!link) return
const theirNode = this.graph.getNodeById(link.target_id)
if (!theirNode || !theirNode.inputs) return
const input = theirNode.inputs[link.target_slot]
if (!input) return
let widget
if (!input.widget) {
if (!(input.type in ComfyWidgets)) return
widget = { name: input.name, [GET_CONFIG]: () => [input.type, {}] } //fake widget
} else {
widget = input.widget
}
// @ts-expect-error fixme ts strict error
const config = widget[GET_CONFIG]?.()
if (!config) return
const { type } = getWidgetType(config)
// Update our output to restrict to the widget type
this.outputs[0].type = type
this.outputs[0].name = type
this.outputs[0].widget = widget
this._createWidget(
widget[CONFIG] ?? config,
theirNode,
widget.name,
// @ts-expect-error fixme ts strict error
recreating
)
}
private _createWidget(
inputData: InputSpec,
node: LGraphNode,
widgetName: string,
recreating: boolean
) {
let type = inputData[0]
if (type instanceof Array) {
type = 'COMBO'
}
// Store current size as addWidget resizes the node
const [oldWidth, oldHeight] = this.size
let widget: IBaseWidget
if (
type === 'COMBO' &&
assetService.shouldUseAssetBrowser(node.comfyClass, widgetName)
) {
widget = this._createAssetWidget(node, widgetName, inputData)
const theirWidget = node.widgets?.find((w) => w.name === widgetName)
if (theirWidget) widget.value = theirWidget.value
this._finalizeWidget(widget, oldWidth, oldHeight, recreating)
return
}
if (isValidWidgetType(type)) {
widget = (ComfyWidgets[type](this, 'value', inputData, app) || {}).widget
} else {
// @ts-expect-error InputSpec is not typed correctly
widget = this.addWidget(type, 'value', null, () => {}, {})
}
if (node?.widgets && widget) {
const theirWidget = node.widgets.find((w) => w.name === widgetName)
if (theirWidget) {
widget.value = theirWidget.value
}
}
if (
!inputData?.[1]?.control_after_generate &&
(widget.type === 'number' || widget.type === 'combo')
) {
let control_value = this.widgets_values?.[1]
if (!control_value) {
control_value = 'fixed'
}
addValueControlWidgets(
this,
widget,
control_value as string,
undefined,
inputData
)
if (this.widgets?.[1]) widget.linkedWidgets = [this.widgets[1]]
let filter = this.widgets_values?.[2]
if (filter && this.widgets && this.widgets.length === 3) {
this.widgets[2].value = filter
}
}
// Restore any saved control values
const controlValues = this.controlValues
if (
this.widgets &&
this.lastType === this.widgets[0]?.type &&
controlValues?.length === this.widgets.length - 1
) {
for (let i = 0; i < controlValues.length; i++) {
this.widgets[i + 1].value = controlValues[i]
}
}
this._finalizeWidget(widget, oldWidth, oldHeight, recreating)
}
private _createAssetWidget(
targetNode: LGraphNode,
targetInputName: string,
inputData: InputSpec
): IBaseWidget {
const defaultValue = inputData[1]?.default as string | undefined
return createAssetWidget({
node: this,
widgetName: 'value',
nodeTypeForBrowser: targetNode.comfyClass ?? '',
inputNameForBrowser: targetInputName,
defaultValue,
onValueChange: (widget, newValue, oldValue) => {
widget.callback?.(
widget.value,
app.canvas,
this,
app.canvas.graph_mouse,
{} as CanvasPointerEvent
)
this.onWidgetChanged?.(widget.name, newValue, oldValue, widget)
}
})
}
private _finalizeWidget(
widget: IBaseWidget,
oldWidth: number,
oldHeight: number,
recreating: boolean
) {
widget.callback = useChainCallback(widget.callback, () => {
this.applyToGraph()
})
this.setSize([
Math.max(this.size[0], oldWidth),
Math.max(this.size[1], oldHeight)
])
if (!recreating) {
const sz = this.computeSize()
if (this.size[0] < sz[0]) {
this.size[0] = sz[0]
}
if (this.size[1] < sz[1]) {
this.size[1] = sz[1]
}
requestAnimationFrame(() => {
this.onResize?.(this.size)
})
}
}
recreateWidget() {
const values = this.widgets?.map((w) => w.value)
this._removeWidgets()
this._onFirstConnection(true)
if (values?.length && this.widgets) {
for (let i = 0; i < this.widgets.length; i++)
this.widgets[i].value = values[i]
}
return this.widgets?.[0]
}
private _mergeWidgetConfig() {
// Merge widget configs if the node has multiple outputs
const output = this.outputs[0]
const links = output.links ?? []
const hasConfig = !!output.widget?.[CONFIG]
if (hasConfig) {
delete output.widget?.[CONFIG]
}
if (links?.length < 2 && hasConfig) {
// Copy the widget options from the source
if (links.length) {
this.recreateWidget()
}
return
}
const config1 = (output.widget?.[GET_CONFIG] as () => InputSpec)?.()
if (!config1) return
const isNumber = config1[0] === 'INT' || config1[0] === 'FLOAT'
if (!isNumber || !this.graph) return
for (const linkId of links) {
const link = this.graph.links[linkId]
if (!link) continue // Can be null when removing a node
const theirNode = this.graph.getNodeById(link.target_id)
if (!theirNode) continue
const theirInput = theirNode.inputs[link.target_slot]
// Call is valid connection so it can merge the configs when validating
this._isValidConnection(theirInput, hasConfig)
}
}
private _isValidConnection(input: INodeInputSlot, forceUpdate?: boolean) {
// Only allow connections where the configs match
const output = this.outputs?.[0]
const config2 = (input.widget?.[GET_CONFIG] as () => InputSpec)?.()
if (!config2) return false
return !!mergeIfValid.call(
this,
output,
config2,
forceUpdate,
this.recreateWidget
)
}
private _removeWidgets() {
if (this.widgets) {
// Allow widgets to cleanup
for (const w of this.widgets) {
if (w.onRemove) {
w.onRemove()
}
}
// Temporarily store the current values in case the node is being recreated
// e.g. by group node conversion
this.controlValues = []
this.lastType = this.widgets[0]?.type
for (let i = 1; i < this.widgets.length; i++) {
this.controlValues.push(this.widgets[i].value)
}
setTimeout(() => {
delete this.lastType
delete this.controlValues
}, 15)
this.widgets.length = 0
}
}
onLastDisconnect() {
// We can't remove + re-add the output here as if you drag a link over the same link
// it removes, then re-adds, causing it to break
this.outputs[0].type = '*'
this.outputs[0].name = 'connect to widget input'
delete this.outputs[0].widget
this._removeWidgets()
}
}
export function getWidgetConfig(
slot: INodeInputSlot | INodeOutputSlot
): InputSpec {
return (slot.widget?.[CONFIG] ??
(slot.widget?.[GET_CONFIG] as () => InputSpec)?.() ?? [
'*',
{}
]) as InputSpec
}
function getConfig(this: LGraphNode, widgetName: string) {
const { nodeData } = this.constructor
return (
nodeData?.input?.required?.[widgetName] ??
nodeData?.input?.optional?.[widgetName]
)
}
/**
* Convert a widget to an input slot.
* @deprecated Widget to socket conversion is no longer necessary, as they co-exist now.
* @param node The node to convert the widget to an input slot for.
* @param widget The widget to convert to an input slot.
* @returns The input slot that was converted from the widget or undefined if the widget is not found.
* @knipIgnoreUnusedButUsedByCustomNodes
*/
export function convertToInput(
node: LGraphNode,
widget: IBaseWidget
): INodeInputSlot | undefined {
console.warn(
'Please remove call to convertToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
)
return node.inputs.find((slot) => slot.widget?.name === widget.name)
}
function getWidgetType(config: InputSpec) {
// Special handling for COMBO so we restrict links based on the entries
let type = config[0]
if (type instanceof Array) {
type = 'COMBO'
}
return { type }
}
export function setWidgetConfig(slot: INodeInputSlot, config?: InputSpec) {
if (!slot.widget) return
if (config) {
slot.widget[GET_CONFIG] = () => config
} else {
delete slot.widget
}
if (!(slot instanceof NodeSlot)) return
const graph = slot.node.graph
if (!graph) return
const link = graph.links[slot.link ?? -1]
if (!link) return
const originNode = graph.getNodeById(link.origin_id)
if (!originNode || !isPrimitiveNode(originNode)) return
if (config) {
originNode.recreateWidget()
} else if (!app.configuringGraph) {
originNode.disconnectOutput(0)
originNode.onLastDisconnect()
}
}
export function mergeIfValid(
output: INodeOutputSlot | INodeInputSlot,
config2: InputSpec,
forceUpdate?: boolean,
recreateWidget?: () => void,
config1?: InputSpec
): { customConfig: InputSpec[1] } {
if (!config1) {
config1 = getWidgetConfig(output)
}
const customSpec = mergeInputSpec(config1, config2)
if (customSpec || forceUpdate) {
if (customSpec) {
// @ts-expect-error fixme ts strict error
output.widget[CONFIG] = customSpec
}
// @ts-expect-error fixme ts strict error
const widget = recreateWidget?.call(this)
// When deleting a node this can be null
if (widget) {
// @ts-expect-error fixme ts strict error
const min = widget.options.min
// @ts-expect-error fixme ts strict error
const max = widget.options.max
// @ts-expect-error fixme ts strict error
if (min != null && widget.value < min) widget.value = min
// @ts-expect-error fixme ts strict error
if (max != null && widget.value > max) widget.value = max
// @ts-expect-error fixme ts strict error
widget.callback(widget.value)
}
}
return { customConfig: customSpec?.[1] ?? {} }
}
app.registerExtension({
name: 'Comfy.WidgetInputs',
async beforeRegisterNodeDef(
nodeType: typeof LGraphNode,
_nodeData: ComfyNodeDef
) {
// @ts-expect-error adding extra property
nodeType.prototype.convertWidgetToInput = function (this: LGraphNode) {
console.warn(
'Please remove call to convertWidgetToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
)
return false
}
nodeType.prototype.onGraphConfigured = useChainCallback(
nodeType.prototype.onGraphConfigured,
function (this: LGraphNode) {
if (!this.inputs) return
this.widgets ??= []
for (const input of this.inputs) {
if (input.widget) {
const name = input.widget.name
if (!input.widget[GET_CONFIG]) {
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
}
const w = this.widgets?.find((w) => w.name === name)
if (!w) {
this.removeInput(this.inputs.findIndex((i) => i === input))
}
}
}
}
)
nodeType.prototype.onConfigure = useChainCallback(
nodeType.prototype.onConfigure,
function (this: LGraphNode) {
if (!app.configuringGraph && this.inputs) {
// On copy + paste of nodes, ensure that widget configs are set up
for (const input of this.inputs) {
if (input.widget && !input.widget[GET_CONFIG]) {
const name = input.widget.name
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
}
}
}
}
)
// Double click a widget input to automatically attach a primitive
const origOnInputDblClick = nodeType.prototype.onInputDblClick
nodeType.prototype.onInputDblClick = function (
this: LGraphNode,
...[slot, ...args]: Parameters<NonNullable<typeof origOnInputDblClick>>
) {
const r = origOnInputDblClick?.apply(this, [slot, ...args])
const input = this.inputs[slot]
if (!input.widget) {
// Not a widget input or already handled input
if (
!(input.type in ComfyWidgets) &&
!(
(
input.widget?.[GET_CONFIG] as (() => InputSpec) | undefined
)?.()?.[0] instanceof Array
)
) {
return r //also Not a ComfyWidgets input or combo (do nothing)
}
}
// Create a primitive node
const node = LiteGraph.createNode('PrimitiveNode')
const graph = app.canvas.graph
if (!node || !graph) return r
graph?.add(node)
// Calculate a position that won't directly overlap another node
const pos: [number, number] = [
this.pos[0] - node.size[0] - 30,
this.pos[1]
]
while (graph.getNodeOnPos(pos[0], pos[1], graph.nodes))
pos[1] += LiteGraph.NODE_TITLE_HEIGHT
node.pos = pos
node.connect(0, this, slot)
node.title = input.name
return r
}
},
registerCustomNodes() {
LiteGraph.registerNodeType(
'PrimitiveNode',
Object.assign(PrimitiveNode, {
title: 'Primitive'
})
)
PrimitiveNode.category = 'utils'
}
})
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,100 @@
import { clamp } from 'es-toolkit/compat'
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import type { INumericWidget } from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import { isFloatInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { InputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { ComfyWidgetConstructorV2 } from '@/scripts/widgets'
import { addValueControlWidget } from '@/scripts/widgets'
import { transformInputSpecV2ToV1 } from '@/schemas/nodeDef/migration'
function onFloatValueChange(this: INumericWidget, v: number) {
const round = this.options.round
if (round) {
const precision =
this.options.precision ?? Math.max(0, -Math.floor(Math.log10(round)))
const rounded = Math.round(v / round) * round
this.value = clamp(
Number(rounded.toFixed(precision)),
this.options.min ?? -Infinity,
this.options.max ?? Infinity
)
} else {
this.value = v
}
}
export const _for_testing = {
onFloatValueChange
}
export const useFloatWidget = () => {
const widgetConstructor: ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpec
) => {
if (!isFloatInputSpec(inputSpec)) {
throw new Error(`Invalid input data: ${inputSpec}`)
}
const settingStore = useSettingStore()
const sliderEnabled = !settingStore.get('Comfy.DisableSliders')
const display_type = inputSpec.display
const widgetType =
display_type == 'gradientslider'
? 'gradientslider'
: sliderEnabled && display_type == 'slider'
? 'slider'
: display_type == 'knob'
? 'knob'
: 'number'
const step = inputSpec.step ?? 0.5
const precision =
settingStore.get('Comfy.FloatRoundingPrecision') ||
Math.max(0, -Math.floor(Math.log10(step)))
const enableRounding = !settingStore.get('Comfy.DisableFloatRounding')
/** Assertion {@link inputSpec.default} */
const defaultValue = (inputSpec.default as number | undefined) ?? 0
const widget = node.addWidget(
widgetType,
inputSpec.name,
defaultValue,
onFloatValueChange,
{
min: inputSpec.min ?? 0,
max: inputSpec.max ?? 2048,
round:
enableRounding && precision && !inputSpec.round
? Math.pow(10, -precision)
: (inputSpec.round as number),
/** @deprecated Use step2 instead. The 10x value is a legacy implementation. */
step: step * 10.0,
step2: step,
precision,
...(inputSpec.gradient_stops
? { gradient_stops: inputSpec.gradient_stops }
: {})
}
)
if (inputSpec.control_after_generate) {
const controlWidget = addValueControlWidget(
node,
widget,
'fixed',
undefined,
undefined,
transformInputSpecV2ToV1(inputSpec)
)
widget.linkedWidgets = [controlWidget]
}
return widget
}
return widgetConstructor
}
@@ -0,0 +1,93 @@
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import type { INumericWidget } from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import type { InputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import { isIntInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { ComfyWidgetConstructorV2 } from '@/scripts/widgets'
import { addValueControlWidget } from '@/scripts/widgets'
import { transformInputSpecV2ToV1 } from '@/schemas/nodeDef/migration'
function onValueChange(this: INumericWidget, v: number) {
// For integers, always round to the nearest step
// step === 0 is invalid, assign 1 if options.step is 0
const step = this.options.step2 || 1
if (step === 1) {
// Simple case: round to nearest integer
this.value = Math.round(v)
} else {
// Round to nearest multiple of step
// First, determine if min value creates an offset
const min = this.options.min ?? 0
const offset = min % step
// Round to nearest step, accounting for offset
this.value = Math.round((v - offset) / step) * step + offset
}
}
export const _for_testing = {
onValueChange
}
export const useIntWidget = () => {
const widgetConstructor: ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpec
) => {
if (!isIntInputSpec(inputSpec)) {
throw new Error(`Invalid input data: ${inputSpec}`)
}
const settingStore = useSettingStore()
const sliderEnabled = !settingStore.get('Comfy.DisableSliders')
const display_type = inputSpec.display
const widgetType =
sliderEnabled && display_type == 'slider'
? 'slider'
: display_type == 'knob'
? 'knob'
: 'number'
const step = inputSpec.step ?? 1
/** Assertion {@link inputSpec.default} */
const defaultValue = (inputSpec.default as number | undefined) ?? 0
const widget = node.addWidget(
widgetType,
inputSpec.name,
defaultValue,
onValueChange,
{
min: inputSpec.min ?? 0,
max: inputSpec.max ?? 2048,
/** @deprecated Use step2 instead. The 10x value is a legacy implementation. */
step: step * 10,
step2: step,
precision: 0
}
)
const controlAfterGenerate =
inputSpec.control_after_generate ??
['seed', 'noise_seed'].includes(inputSpec.name)
if (controlAfterGenerate) {
const defaultType =
typeof inputSpec.control_after_generate === 'string'
? inputSpec.control_after_generate
: 'randomize'
const controlWidget = addValueControlWidget(
node,
widget,
defaultType,
undefined,
undefined,
transformInputSpecV2ToV1(inputSpec)
)
widget.linkedWidgets = [controlWidget]
}
return widget
}
return widgetConstructor
}
@@ -0,0 +1,143 @@
import type {
ComfyNodeDef as ComfyNodeDefV2,
InputSpec as InputSpecV2,
OutputSpec as OutputSpecV2
} from '@/schemas/nodeDef/nodeDefSchemaV2'
import type {
ComfyNodeDef as ComfyNodeDefV1,
InputSpec as InputSpecV1
} from '@/schemas/nodeDefSchema'
import {
getComboSpecComboOptions,
isComboInputSpec,
isComboInputSpecV1
} from '@/schemas/nodeDefSchema'
/**
* Transforms a V1 node definition to V2 format
* @param nodeDefV1 The V1 node definition to transform
* @returns The transformed V2 node definition
*/
export function transformNodeDefV1ToV2(
nodeDefV1: ComfyNodeDefV1
): ComfyNodeDefV2 {
// Transform inputs
const inputs: Record<string, InputSpecV2> = {}
// Process required inputs
if (nodeDefV1.input?.required) {
Object.entries(nodeDefV1.input.required).forEach(([name, inputSpecV1]) => {
inputs[name] = transformInputSpecV1ToV2(inputSpecV1, {
name,
isOptional: false
})
})
}
// Process optional inputs
if (nodeDefV1.input?.optional) {
Object.entries(nodeDefV1.input.optional).forEach(([name, inputSpecV1]) => {
inputs[name] = transformInputSpecV1ToV2(inputSpecV1, {
name,
isOptional: true
})
})
}
// Transform outputs
const outputs: OutputSpecV2[] = []
if (nodeDefV1.output) {
if (Array.isArray(nodeDefV1.output)) {
nodeDefV1.output.forEach((outputType, index) => {
const outputSpec: OutputSpecV2 = {
index,
name: nodeDefV1.output_name?.[index] || `output_${index}`,
type: Array.isArray(outputType) ? 'COMBO' : outputType,
is_list: nodeDefV1.output_is_list?.[index] || false,
tooltip: nodeDefV1.output_tooltips?.[index]
}
// Add options for combo outputs
if (Array.isArray(outputType)) {
outputSpec.options = outputType
}
outputs.push(outputSpec)
})
} else {
console.warn('nodeDefV1.output is not an array:', nodeDefV1.output)
}
}
// Create the V2 node definition
return {
inputs,
outputs,
hidden: nodeDefV1.input?.hidden,
name: nodeDefV1.name,
display_name: nodeDefV1.display_name,
description: nodeDefV1.description,
category: nodeDefV1.category,
output_node: nodeDefV1.output_node,
python_module: nodeDefV1.python_module,
deprecated: nodeDefV1.deprecated,
experimental: nodeDefV1.experimental
}
}
/**
* Transforms a V1 input specification to V2 format
* @param inputSpecV1 The V1 input specification to transform
* @param name The name of the input
* @param isOptional Whether the input is optional
* @returns The transformed V2 input specification
*/
export function transformInputSpecV1ToV2(
inputSpecV1: InputSpecV1,
kwargs: {
name: string
isOptional?: boolean
}
): InputSpecV2 {
const { name, isOptional = false } = kwargs
// Extract options from the input spec
const options = inputSpecV1[1] || {}
// Base properties for all input types
const baseProps = {
name,
isOptional,
...options
}
// Handle different input types
if (isComboInputSpec(inputSpecV1)) {
return {
type: 'COMBO',
...baseProps,
options: isComboInputSpecV1(inputSpecV1)
? inputSpecV1[0]
: getComboSpecComboOptions(inputSpecV1)
}
} else if (typeof inputSpecV1[0] === 'string') {
// Handle standard types (INT, FLOAT, BOOLEAN, STRING) and custom types
return {
type: inputSpecV1[0],
...baseProps
}
}
// Fallback for any unhandled cases
return {
type: 'UNKNOWN',
...baseProps
}
}
export function transformInputSpecV2ToV1(
inputSpecV2: InputSpecV2
): InputSpecV1 {
return [inputSpecV2.type, inputSpecV2]
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,320 @@
import { t } from '@/i18n'
import { type LGraphNode, isComboWidget } from '@/lib/litegraph/src/litegraph'
import type {
IBaseWidget,
IComboWidget,
IStringWidget
} from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import { dynamicWidgets } from '@/core/graph/widgets/dynamicWidgets'
import { useBooleanWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget'
import { useBoundingBoxWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useBoundingBoxWidget'
import { useCurveWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useCurveWidget'
import { useChartWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useChartWidget'
import { useColorWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useColorWidget'
import { useComboWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useComboWidget'
import { useFloatWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useFloatWidget'
import { useGalleriaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget'
import { useImageCompareWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget'
import { useImageUploadWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget'
import { useIntWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useIntWidget'
import { useMarkdownWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget'
import { usePainterWidget } from '@/renderer/extensions/vueNodes/widgets/composables/usePainterWidget'
import { useStringWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useStringWidget'
import { useTextareaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget'
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { InputSpec } from '@/schemas/nodeDefSchema'
import type { ComfyApp } from './app'
import './domWidget'
import './errorNodeWidgets'
export type ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpecV2
) => IBaseWidget
export type ComfyWidgetConstructor = (
node: LGraphNode,
inputName: string,
inputData: InputSpec,
app: ComfyApp,
widgetName?: string
) => { widget: IBaseWidget; minWidth?: number; minHeight?: number }
/**
* Transforms a V2 widget constructor to a V1 widget constructor.
* @param widgetConstructorV2 The V2 widget constructor to transform.
* @returns The transformed V1 widget constructor.
*/
const transformWidgetConstructorV2ToV1 = (
widgetConstructorV2: ComfyWidgetConstructorV2
): ComfyWidgetConstructor => {
return (node, inputName, inputData) => {
const inputSpec = transformInputSpecV1ToV2(inputData, {
name: inputName
})
const widget = widgetConstructorV2(node, inputSpec)
return {
widget,
minWidth: widget.options.minNodeSize?.[0],
minHeight: widget.options.minNodeSize?.[1]
}
}
}
function controlValueRunBefore() {
return useSettingStore().get('Comfy.WidgetControlMode') === 'before'
}
export function updateControlWidgetLabel(widget: IBaseWidget) {
if (controlValueRunBefore()) {
widget.label = t('g.control_before_generate')
} else {
widget.label = t('g.control_after_generate')
}
}
export const IS_CONTROL_WIDGET = Symbol()
const HAS_EXECUTED = Symbol()
export function addValueControlWidget(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
_values?: unknown,
widgetName?: string,
inputData?: InputSpec
): IComboWidget {
let name = inputData?.[1]?.control_after_generate
if (typeof name !== 'string') {
name = widgetName
}
const widgets = addValueControlWidgets(
node,
targetWidget,
defaultValue ?? 'randomize',
{
addFilterList: false,
controlAfterGenerateName: name
},
inputData
)
return widgets[0]
}
export function addValueControlWidgets(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
options?: Record<string, any>,
inputData?: InputSpec
): [IComboWidget, ...IStringWidget[]] {
if (!defaultValue) defaultValue = 'randomize'
if (!options) options = {}
const getName = (defaultName: string, optionName: string) => {
let name = defaultName
if (options[optionName]) {
name = options[optionName]
} else if (typeof inputData?.[1]?.[defaultName] === 'string') {
name = inputData?.[1]?.[defaultName]
} else if (inputData?.[1]?.control_prefix) {
name = inputData?.[1]?.control_prefix + ' ' + name
}
return name
}
const valueControl = node.addWidget(
'combo',
getName('control_after_generate', 'controlAfterGenerateName'),
defaultValue,
function () {},
{
values: ['fixed', 'increment', 'decrement', 'randomize'],
serialize: false, // Don't include this in prompt.
canvasOnly: true
}
) as IComboWidget
valueControl.tooltip =
'Allows the linked widget to be changed automatically, for example randomizing the noise seed.'
valueControl[IS_CONTROL_WIDGET] = true
updateControlWidgetLabel(valueControl)
Object.defineProperty(valueControl, 'disabled', {
get: () => targetWidget.computedDisabled
})
const widgets: [IComboWidget, ...IStringWidget[]] = [valueControl]
const isCombo = isComboWidget(targetWidget)
let comboFilter: IStringWidget
if (isCombo && valueControl.options.values) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
valueControl.options.values.push('increment-wrap')
}
if (isCombo && options.addFilterList !== false) {
comboFilter = node.addWidget(
'string',
getName('control_filter_list', 'controlFilterListName'),
'',
function () {},
{
serialize: false // Don't include this in prompt.
}
) as IStringWidget
updateControlWidgetLabel(comboFilter)
comboFilter.tooltip =
"Allows for filtering the list of values when changing the value via the control generate mode. Allows for RegEx matches in the format /abc/ to only filter to values containing 'abc'."
Object.defineProperty(comboFilter, 'disabled', {
get: () => targetWidget.computedDisabled
})
widgets.push(comboFilter)
}
const applyWidgetControl = () => {
var v = valueControl.value
if (isCombo && v !== 'fixed') {
let values = targetWidget.options.values ?? []
const filter = comboFilter?.value
if (filter) {
let check
if (filter.startsWith('/') && filter.endsWith('/')) {
try {
const regex = new RegExp(filter.substring(1, filter.length - 1))
check = (item: string) => regex.test(item)
} catch (error) {
console.error(
'Error constructing RegExp filter for node ' + node.id,
filter,
error
)
}
}
if (!check) {
const lower = filter.toLocaleLowerCase()
check = (item: string) => item.toLocaleLowerCase().includes(lower)
}
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
values = values.filter((item: string) => check(item))
if (!values.length && targetWidget.options.values?.length) {
console.warn(
'Filter for node ' + node.id + ' has filtered out all items',
filter
)
}
}
// @ts-expect-error targetWidget.value can be number or string
let current_index = values.indexOf(targetWidget.value)
let current_length = values.length
switch (v) {
case 'increment':
current_index += 1
break
case 'increment-wrap':
current_index += 1
if (current_index >= current_length) {
current_index = 0
}
break
case 'decrement':
current_index -= 1
break
case 'randomize':
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.floor(Math.random() * current_length)
break
default:
break
}
current_index = Math.max(0, current_index)
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.min(current_length - 1, current_index)
if (current_index >= 0) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
let value = values[current_index]
targetWidget.value = value
targetWidget.callback?.(value)
}
} else {
//number
let { min = 0, max = 1, step2 = 1 } = targetWidget.options
// limit to something that javascript can handle
max = Math.min(1125899906842624, max)
min = Math.max(-1125899906842624, min)
let range = (max - min) / step2
//adjust values based on valueControl Behaviour
switch (v) {
case 'fixed':
break
case 'increment':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value += step2
break
case 'decrement':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value -= step2
break
case 'randomize':
targetWidget.value = Math.floor(Math.random() * range) * step2 + min
break
default:
break
}
/*check if values are over or under their respective
* ranges and set them to min or max.*/
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value < min) targetWidget.value = min
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value > max) targetWidget.value = max
targetWidget.callback?.(targetWidget.value)
}
}
valueControl.beforeQueued = ({ isPartialExecution } = {}) => {
if (!isPartialExecution && controlValueRunBefore()) {
// Don't run on first execution
if (valueControl[HAS_EXECUTED]) {
applyWidgetControl()
}
}
valueControl[HAS_EXECUTED] = true
}
valueControl.afterQueued = ({ isPartialExecution } = {}) => {
if (!isPartialExecution && !controlValueRunBefore()) {
applyWidgetControl()
}
}
return widgets
}
export const ComfyWidgets = {
INT: transformWidgetConstructorV2ToV1(useIntWidget()),
FLOAT: transformWidgetConstructorV2ToV1(useFloatWidget()),
BOOLEAN: transformWidgetConstructorV2ToV1(useBooleanWidget()),
STRING: transformWidgetConstructorV2ToV1(useStringWidget()),
MARKDOWN: transformWidgetConstructorV2ToV1(useMarkdownWidget()),
COMBO: transformWidgetConstructorV2ToV1(useComboWidget()),
IMAGEUPLOAD: useImageUploadWidget(),
COLOR: transformWidgetConstructorV2ToV1(useColorWidget()),
IMAGECOMPARE: transformWidgetConstructorV2ToV1(useImageCompareWidget()),
BOUNDING_BOX: transformWidgetConstructorV2ToV1(useBoundingBoxWidget()),
CHART: transformWidgetConstructorV2ToV1(useChartWidget()),
GALLERIA: transformWidgetConstructorV2ToV1(useGalleriaWidget()),
PAINTER: transformWidgetConstructorV2ToV1(usePainterWidget()),
TEXTAREA: transformWidgetConstructorV2ToV1(useTextareaWidget()),
CURVE: transformWidgetConstructorV2ToV1(useCurveWidget()),
...dynamicWidgets
} as const
export function isValidWidgetType(
key: unknown
): key is keyof typeof ComfyWidgets {
return ComfyWidgets[key as keyof typeof ComfyWidgets] !== undefined
}
@@ -0,0 +1 @@
{"sha":"ebf6b52e322664af91fcdc8b8848d31d5fb98f66","node_id":"C_kwDOIygeJtoAKGViZjZiNTJlMzIyNjY0YWY5MWZjZGM4Yjg4NDhkMzFkNWZiOThmNjY","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/ebf6b52e322664af91fcdc8b8848d31d5fb98f66","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/ebf6b52e322664af91fcdc8b8848d31d5fb98f66","author":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-03-22T02:32:16Z"},"committer":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-03-22T02:32:16Z"},"tree":{"sha":"bc9388fb76c541276adc10b0217f20822e4bd1f1","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/bc9388fb76c541276adc10b0217f20822e4bd1f1"},"message":"ComfyUI v0.18.1","parents":[{"sha":"25b6d1d6298c380c1d4de90ff9f38484a84ada19","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/25b6d1d6298c380c1d4de90ff9f38484a84ada19","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/25b6d1d6298c380c1d4de90ff9f38484a84ada19"}],"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}}
@@ -0,0 +1 @@
{"ref":"refs/tags/v0.18.1","node_id":"REF_kwDOIygeJrFyZWZzL3RhZ3MvdjAuMTguMQ","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.18.1","object":{"sha":"ebf6b52e322664af91fcdc8b8848d31d5fb98f66","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/ebf6b52e322664af91fcdc8b8848d31d5fb98f66"}}
File diff suppressed because one or more lines are too long
@@ -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>.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,110 @@
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",
display_name="String",
category="utils/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",
display_name="String (Multiline)",
category="utils/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="utils/primitive",
inputs=[
io.Int.Input("value", min=-sys.maxsize, max=sys.maxsize, control_after_generate=True),
],
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="utils/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="utils/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()
File diff suppressed because it is too large Load Diff
+508
View File
@@ -0,0 +1,508 @@
{
"sources": [
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "core__folder_paths.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"verified_at": "2026-10-30T20:22:48.543862+00:00",
"acquisition_time": "2026-10-30T20:21:47.876941+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_ace.py",
"local_file": "core__comfy_extras__nodes_ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_ace.py",
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"git_blob_sha1": "1409233c924f6828c4d8467a57605318b810b5d0",
"verified_at": "2026-10-30T20:22:48.543899+00:00",
"acquisition_time": "2026-10-30T20:21:48.332968+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_model_advanced.py",
"local_file": "core__comfy_extras__nodes_model_advanced.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_model_advanced.py",
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"git_blob_sha1": "f22b333fce9e1e28be5635006c958deaa30d81ed",
"verified_at": "2026-10-30T20:22:48.543994+00:00",
"acquisition_time": "2026-10-30T20:21:49.253023+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sd.py",
"local_file": "core__comfy__sd.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/sd.py",
"sha256": "9376efb33348885d89bd414274f092aa7f01f61afc049fc5cf19dbb878cf8758",
"git_blob_sha1": "f627f7d55780dad90adf15d04349deff6af3d2cf",
"verified_at": "2026-10-30T20:22:48.544108+00:00",
"acquisition_time": "2026-10-30T20:21:50.077072+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/samplers.py",
"local_file": "core__comfy__samplers.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/samplers.py",
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"git_blob_sha1": "1989ef107adca2e5c560caa623ce746afe27d312",
"verified_at": "2026-10-30T20:22:48.544183+00:00",
"acquisition_time": "2026-10-30T20:21:50.545099+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sample.py",
"local_file": "core__comfy__sample.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/sample.py",
"sha256": "7123f89ac74e6bef191b8686aa71d11d6f6041b8689dce6a1757e8dcd4cc11c3",
"git_blob_sha1": "a2a39b527a41355d2a9eba9345a3668d72aaa5a8",
"verified_at": "2026-10-30T20:22:48.544212+00:00",
"acquisition_time": "2026-10-30T20:21:50.985126+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/model_sampling.py",
"local_file": "core__comfy__model_sampling.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/model_sampling.py",
"sha256": "127dd382157084b35d7500c83552bb40c0b9287ed09096ee699dd3695aa7c04a",
"git_blob_sha1": "2a00ed8192f4243de12c44131e77e5b9849af038",
"verified_at": "2026-10-30T20:22:48.544249+00:00",
"acquisition_time": "2026-10-30T20:21:51.409151+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/text_encoders/ace.py",
"local_file": "core__comfy__text_encoders__ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/text_encoders/ace.py",
"sha256": "f200d0a8579b43e4e9994bdba7298063c5fc8aa5f06fe0c377f704341a5f4bb4",
"git_blob_sha1": "d650bb10d5d5bfdd485f18095e4a99ed7b06b6b7",
"verified_at": "2026-10-30T20:22:48.544280+00:00",
"acquisition_time": "2026-10-30T20:22:01.945776+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui.py",
"local_file": "core__comfy_api__latest___ui.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
"verified_at": "2026-10-30T20:22:48.544322+00:00",
"acquisition_time": "2026-10-30T20:22:31.807545+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui_public.py",
"local_file": "core__comfy_api__latest___ui_public.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui_public.py",
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"git_blob_sha1": "85b11d78b61eb75fd71ccefea5caf9cb70239c58",
"verified_at": "2026-10-30T20:22:48.544348+00:00",
"acquisition_time": "2026-10-30T20:22:32.227570+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "core__LICENSE",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.544400+00:00",
"acquisition_time": "2026-10-30T20:22:02.397803+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_primitive.py",
"local_file": "primitive__comfy_extras__nodes_primitive.py",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/comfy_extras/nodes_primitive.py",
"sha256": "3d89e428cb9259cee76f53932d9e6d53de8053cee98696072863190337b60a1b",
"git_blob_sha1": "9c2e98758ea35aa8e4be98fa0c1a6c5a6bf0d568",
"verified_at": "2026-10-30T20:22:48.545321+00:00",
"acquisition_time": "2026-10-30T20:22:03.841888+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_io.py",
"local_file": "primitive__comfy_api__latest___io.py",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/comfy_api/latest/_io.py",
"sha256": "7a2af992330d562fad6ef6d7acb15a41e7f934b11e45c6ade01636b6cea275e9",
"git_blob_sha1": "7ca8f4e0cb053b0235fdb0e1013665d1bf055964",
"verified_at": "2026-10-30T20:22:48.545455+00:00",
"acquisition_time": "2026-10-30T20:22:32.755601+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "primitive__nodes.py",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/nodes.py",
"sha256": "9e6d8d84d3a66d5f7b8ee121d0905800297322446d7a673357c41451b66920f8",
"git_blob_sha1": "2c4650a204dae0ebfcd8b0bc49bc17f1fa4d0f0f",
"verified_at": "2026-10-30T20:22:48.545622+00:00",
"acquisition_time": "2026-10-30T20:22:04.281914+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "primitive",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "primitive__LICENSE",
"commit": "ebf6b52e322664af91fcdc8b8848d31d5fb98f66",
"tree": "bc9388fb76c541276adc10b0217f20822e4bd1f1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/ebf6b52e322664af91fcdc8b8848d31d5fb98f66/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.545678+00:00",
"acquisition_time": "2026-10-30T20:22:04.725941+00:00",
"cached_bytes_reverified": true,
"license_file": "primitive__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "frontend__package.json",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/package.json",
"sha256": "efd589fe829f83fa7a773c30fcca0645e9e60f1f5f5164651c49bc9560f6aa39",
"git_blob_sha1": "995863ff198133cc74e927ebae6b00cefa7258dc",
"verified_at": "2026-10-30T20:22:48.549097+00:00",
"acquisition_time": "2026-10-30T20:22:06.414041+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "frontend__pnpm-lock.yaml",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/pnpm-lock.yaml",
"sha256": "320fcae30af04ade578fc90b49c811c2990ccbafa81c53fe96bd1cadb547dcbf",
"git_blob_sha1": "4302e898777a914ff955eb67e1488b04eb457f55",
"verified_at": "2026-10-30T20:22:48.550035+00:00",
"acquisition_time": "2026-10-30T20:22:07.122083+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "frontend__src__scripts__widgets.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/scripts/widgets.ts",
"sha256": "43e1551ebcf9753e8a3ee47afc0b647eacbecebd2303bab7f155dd3f311c820d",
"git_blob_sha1": "517e6f0e836f01df6c2ab08f3fe71d096d54aad6",
"verified_at": "2026-10-30T20:22:48.550181+00:00",
"acquisition_time": "2026-10-30T20:22:07.522107+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "frontend__src__scripts__app.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/scripts/app.ts",
"sha256": "ca0e018a73b4d27e9ef17a823a87d903ebd728944ffffbcea583ce5b33fdf4f0",
"git_blob_sha1": "2ea301e4fc183bf366a567143722db97d7586138",
"verified_at": "2026-10-30T20:22:48.550358+00:00",
"acquisition_time": "2026-10-30T20:22:07.930131+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "frontend__src__extensions__core__widgetInputs.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/extensions/core/widgetInputs.ts",
"sha256": "e37bdb998b863483f51d07d31ae193dc2aa1657d4c450cc3b1640af51be5caea",
"git_blob_sha1": "b4a69a3e4a2b10ac2a07fc952b050da499564c3e",
"verified_at": "2026-10-30T20:22:48.550452+00:00",
"acquisition_time": "2026-10-30T20:22:08.322154+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/uploadAudio.ts",
"local_file": "frontend__src__extensions__core__uploadAudio.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/extensions/core/uploadAudio.ts",
"sha256": "5ba5f67f9d3666c7b730ddd350faee939537e94e11ec6df05c5bd86db5d56178",
"git_blob_sha1": "8b6f65ab26c5f68f52aebb644a09157ad78a447f",
"verified_at": "2026-10-30T20:22:48.550539+00:00",
"acquisition_time": "2026-10-30T20:22:08.730178+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"local_file": "frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"sha256": "8720d5a8194c9987eddbb42d0e925bcbb20e96e94f52c5f21750ba90b2113e02",
"git_blob_sha1": "f307aa0e14b5440f505e3f488cc6c415f45f7879",
"verified_at": "2026-10-30T20:22:48.550637+00:00",
"acquisition_time": "2026-10-30T20:22:09.142203+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"local_file": "frontend__src__renderer__extensions__vueNodes__widgets__composables__useFloatWidget.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"sha256": "8485d1edc17e911e65e38055e704045245f2de8310a54b87d429e7ed111accef",
"git_blob_sha1": "0d5ee3a9594c4bdb6524399c22224ed76ea60ac7",
"verified_at": "2026-10-30T20:22:48.952294+00:00",
"acquisition_time": "2026-10-30T20:22:48.948558+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/schemas/nodeDef/migration.ts",
"local_file": "frontend__src__schemas__nodeDef__migration.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/schemas/nodeDef/migration.ts",
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533",
"git_blob_sha1": "22d91c16e70b0edce921de60d1cecd727b998372",
"verified_at": "2026-10-30T20:22:49.359559+00:00",
"acquisition_time": "2026-10-30T20:22:49.356582+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "eeeea23bef7fc0cf30384c23458c1b0517498daf019d1728c27dbca27724bbad",
"git_blob_sha1": "b62ecc7d1a9bf6fd4f48c07d0437b0a78a78c8a2",
"verified_at": "2026-10-30T20:22:49.360238+00:00",
"acquisition_time": "2026-10-30T20:22:09.550227+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "frontend__LICENSE",
"commit": "1720aa028645cb2b0a942f20c9b2290aacd13703",
"tree": "357782b406b9c64689e7bbaad0291fe629fc6067",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/1720aa028645cb2b0a942f20c9b2290aacd13703/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:49.360460+00:00",
"acquisition_time": "2026-10-30T20:22:09.950251+00:00",
"cached_bytes_reverified": true,
"license_file": "frontend__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
}
]
}