docs: add pinned Krea2 2.5D semi-real anime reference
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
+5628
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"total": 155,
|
||||
"audit_scope": "current_delivery",
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"user_excluded": 1,
|
||||
"source_structure_purpose_partially_reviewed": 155,
|
||||
"full_documents_completed": 0,
|
||||
"files_with_selected_named_fields_reviewed": 41,
|
||||
"selected_named_fields_reviewed": 1217,
|
||||
"real_executions": 0,
|
||||
"states": {
|
||||
"pending_check": 16,
|
||||
"needs_conversion": 139
|
||||
},
|
||||
"named_values_preserved": 1217,
|
||||
"unnamed_widget_nodes": 3660,
|
||||
"semantic_batch_files": 139,
|
||||
"semantic_batch_without_named_fields": 114,
|
||||
"semantic_batch_named_fields": 490,
|
||||
"named_values_without_manual_field_review": 0,
|
||||
"named_values_without_verified_units_ranges_effects": 1217,
|
||||
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
Building source distribution...
|
||||
Building wheel from source distribution...
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
|
||||
@@ -0,0 +1,103 @@
|
||||
{
|
||||
"fixed_count": 254,
|
||||
"fixed_paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/97": 4,
|
||||
"/api/workflows/101": 4,
|
||||
"/api/workflows/105": 3,
|
||||
"/api/workflows/104": 3,
|
||||
"/api/workflows/103": 3,
|
||||
"/api/workflows/94": 3,
|
||||
"/api/workflows/87": 3,
|
||||
"/api/workflows/86": 3,
|
||||
"/api/workflows/85": 3,
|
||||
"/api/workflows/84": 3,
|
||||
"/api/workflows/74": 3,
|
||||
"/api/workflows/73": 3,
|
||||
"/api/workflows/72": 3,
|
||||
"/api/workflows/83": 3,
|
||||
"/api/workflows/82": 3,
|
||||
"/api/workflows/81": 3,
|
||||
"/api/workflows/80": 3,
|
||||
"/api/workflows/79": 3,
|
||||
"/api/workflows/78": 3,
|
||||
"/api/workflows/77": 3,
|
||||
"/api/workflows/76": 3,
|
||||
"/api/workflows/75": 3,
|
||||
"/api/workflows/54": 3,
|
||||
"/api/workflows/55": 3,
|
||||
"/api/workflows/56": 3,
|
||||
"/api/workflows/58": 3,
|
||||
"/api/workflows/57": 3,
|
||||
"/api/workflows/44": 3,
|
||||
"/api/workflows/53": 3,
|
||||
"/api/workflows/52": 3,
|
||||
"/api/workflows/51": 3,
|
||||
"/api/workflows/50": 3,
|
||||
"/api/workflows/49": 3,
|
||||
"/api/workflows/47": 3,
|
||||
"/api/workflows/48": 3,
|
||||
"/api/workflows/46": 3,
|
||||
"/api/workflows/45": 3,
|
||||
"/api/workflows/42": 3,
|
||||
"/api/workflows/41": 3,
|
||||
"/api/workflows/40": 3,
|
||||
"/api/workflows/39": 3,
|
||||
"/api/workflows/38": 3,
|
||||
"/api/workflows/37": 3,
|
||||
"/api/workflows/18": 3,
|
||||
"/api/workflows/20": 3,
|
||||
"/api/workflows/30": 3,
|
||||
"/api/workflows/32": 3,
|
||||
"/api/workflows/34": 3,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/api/workflows/10": 3,
|
||||
"/api/workflows/23": 3,
|
||||
"/api/workflows/8": 3,
|
||||
"/api/workflows/22": 3,
|
||||
"/api/workflows/5": 3,
|
||||
"/api/workflows/6": 3,
|
||||
"/api/workflows/7": 3,
|
||||
"/api/workflows/19": 3,
|
||||
"/api/workflows/13": 3,
|
||||
"/api/workflows/12": 3,
|
||||
"/api/workflows/64": 3,
|
||||
"/api/workflows/62": 3,
|
||||
"/api/workflows/70": 3,
|
||||
"/api/workflows/1": 3,
|
||||
"/api/workflows/36": 3,
|
||||
"/api/workflows/35": 3,
|
||||
"/api/workflows/2": 3,
|
||||
"/api/workflows/25": 3,
|
||||
"/api/workflows/24": 3,
|
||||
"/api/workflows/21": 3,
|
||||
"/api/workflows/14": 3,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"polling_count": 22,
|
||||
"polling_paths": {
|
||||
"/api/jobs": 22
|
||||
},
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": 6,
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
|
||||
"polling_snapshot_delta": {
|
||||
"/api/jobs": 0,
|
||||
"/api/events": 0
|
||||
},
|
||||
"polling_snapshot_tolerance": 1
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
........................................................................ [ 26%]
|
||||
........................................................................ [ 52%]
|
||||
........................................................................ [ 78%]
|
||||
............................................................ [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
276 passed, 1 warning in 5.64s
|
||||
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "a3e763317497986da0e37d2a65746c238ff8e525",
|
||||
"files": [
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
|
||||
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
|
||||
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
|
||||
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
|
||||
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
|
||||
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
|
||||
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
|
||||
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
|
||||
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
|
||||
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
|
||||
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
|
||||
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
|
||||
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
|
||||
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
|
||||
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
|
||||
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
|
||||
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
|
||||
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
|
||||
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
|
||||
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
|
||||
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
|
||||
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
|
||||
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
|
||||
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
|
||||
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
|
||||
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
|
||||
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
|
||||
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
|
||||
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
|
||||
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
|
||||
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
|
||||
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
|
||||
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
|
||||
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
|
||||
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
|
||||
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
|
||||
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
|
||||
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
|
||||
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
|
||||
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
|
||||
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
|
||||
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
|
||||
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
|
||||
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
|
||||
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
|
||||
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
|
||||
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
|
||||
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
|
||||
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
|
||||
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
|
||||
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
|
||||
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
|
||||
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
|
||||
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
|
||||
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
|
||||
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
|
||||
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
|
||||
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||||
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
|
||||
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
|
||||
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
|
||||
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
|
||||
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
|
||||
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
|
||||
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
|
||||
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
|
||||
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||||
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
|
||||
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
|
||||
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
|
||||
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
|
||||
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
|
||||
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
|
||||
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
|
||||
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
|
||||
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
|
||||
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
|
||||
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
|
||||
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
|
||||
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
|
||||
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||||
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
|
||||
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
|
||||
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
|
||||
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
|
||||
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
|
||||
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
|
||||
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
|
||||
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
|
||||
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
|
||||
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
|
||||
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
|
||||
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
|
||||
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
|
||||
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
|
||||
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
|
||||
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
|
||||
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
|
||||
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
|
||||
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
||||
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
|
||||
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
||||
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
|
||||
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
|
||||
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
|
||||
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
|
||||
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
|
||||
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
|
||||
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
|
||||
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
|
||||
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
|
||||
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
|
||||
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
|
||||
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
|
||||
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
|
||||
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
|
||||
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
|
||||
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
|
||||
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
|
||||
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
|
||||
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
|
||||
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
|
||||
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/02.api.json",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/01.api.json",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/07.api.json",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/06.api.json",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/04.api.json",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/03.api.json",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/05.api.json",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/registry.py",
|
||||
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
|
||||
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/client.py",
|
||||
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
|
||||
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
|
||||
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
|
||||
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/routers/workflows.py",
|
||||
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/queue/worker.py",
|
||||
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-chain-evidence/library.json",
|
||||
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
|
||||
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
|
||||
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
|
||||
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
|
||||
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
|
||||
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
|
||||
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
|
||||
}
|
||||
],
|
||||
"originals": 156,
|
||||
"old_blocks_unchanged": 81,
|
||||
"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,557 @@
|
||||
"Pinned Krea2 static reference; no upstream import, prompt construction or execution."
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "krea-semireal-reference"
|
||||
PATHS = [("example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json")]
|
||||
HOST = "b0e5ca93-2731-42b9-8e0a-d28ea851ff81"
|
||||
LAYOUTS = {
|
||||
"SaveImage": ["filename_prefix"],
|
||||
"ResolutionSelector": ["aspect_ratio", "megapixels", "multiple"],
|
||||
HOST: [
|
||||
"value",
|
||||
"value_1",
|
||||
"max_length",
|
||||
"width",
|
||||
"height",
|
||||
"seed",
|
||||
"value_2",
|
||||
"lora_name",
|
||||
"strength_model",
|
||||
"string_b",
|
||||
"unet_name",
|
||||
"clip_name",
|
||||
"vae_name",
|
||||
],
|
||||
"CLIPTextEncode": ["text"],
|
||||
"EmptyLatentImage": ["width", "height", "batch_size"],
|
||||
"KSampler": [
|
||||
"seed",
|
||||
"seed_control_candidate",
|
||||
"steps",
|
||||
"cfg",
|
||||
"sampler_name",
|
||||
"scheduler",
|
||||
"denoise",
|
||||
],
|
||||
"UNETLoader": ["unet_name", "weight_dtype"],
|
||||
"CLIPLoader": ["clip_name", "type", "device"],
|
||||
"VAELoader": ["vae_name"],
|
||||
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
|
||||
"TextGenerate": [
|
||||
"prompt",
|
||||
"max_length",
|
||||
"sampling_mode",
|
||||
"sampling_mode.temperature",
|
||||
"sampling_mode.top_k",
|
||||
"sampling_mode.top_p",
|
||||
"sampling_mode.min_p",
|
||||
"sampling_mode.repetition_penalty",
|
||||
"sampling_mode.seed",
|
||||
"sampling_mode.presence_penalty",
|
||||
"thinking",
|
||||
"use_default_template",
|
||||
],
|
||||
"PrimitiveStringMultiline": ["value"],
|
||||
"PrimitiveBoolean": ["value"],
|
||||
"ComfySwitchNode": ["switch"],
|
||||
"StringConcatenate": ["string_a", "string_b", "delimiter"],
|
||||
}
|
||||
LABELS = {
|
||||
"filename_prefix": "正式保存前缀",
|
||||
"aspect_ratio": "宽高比保存选择",
|
||||
"megapixels": "目标MP保存值",
|
||||
"multiple": "像素对齐倍数",
|
||||
"value": "完整文本/布尔保存值",
|
||||
"value_1": "宿主提示增强缓存",
|
||||
"max_length": "最大文本长度保存值",
|
||||
"width": "宽度缓存",
|
||||
"height": "高度缓存",
|
||||
"seed": "种子缓存",
|
||||
"value_2": "宿主LoRA启用缓存",
|
||||
"lora_name": "LoRA文件引用",
|
||||
"strength_model": "LoRA强度",
|
||||
"string_b": "完整字符串B缓存/触发词",
|
||||
"unet_name": "扩散模型文件引用",
|
||||
"clip_name": "文本模型文件引用",
|
||||
"vae_name": "VAE文件引用",
|
||||
"text": "完整英文编码缓存",
|
||||
"batch_size": "latent批量",
|
||||
"seed_control_candidate": "前端种子控制辅助",
|
||||
"steps": "采样步数",
|
||||
"cfg": "引导系数",
|
||||
"sampler_name": "采样器",
|
||||
"scheduler": "调度器",
|
||||
"denoise": "降噪系数",
|
||||
"weight_dtype": "权重类型",
|
||||
"type": "编码器类型(枚举冲突)",
|
||||
"device": "设备选择",
|
||||
"prompt": "完整生成文本缓存",
|
||||
"sampling_mode": "动态采样模式保存分支",
|
||||
"sampling_mode.temperature": "on分支温度",
|
||||
"sampling_mode.top_k": "on分支Top K",
|
||||
"sampling_mode.top_p": "on分支Top P",
|
||||
"sampling_mode.min_p": "on分支Min P",
|
||||
"sampling_mode.repetition_penalty": "on分支重复惩罚",
|
||||
"sampling_mode.seed": "on分支文本生成种子",
|
||||
"sampling_mode.presence_penalty": "on分支presence penalty",
|
||||
"thinking": "思考模式保存值",
|
||||
"use_default_template": "默认模板保存值",
|
||||
"switch": "布尔选择缓存",
|
||||
"string_a": "完整字符串A缓存",
|
||||
"delimiter": "完整分隔符",
|
||||
}
|
||||
NOTE_MEANING = {
|
||||
"47": (
|
||||
"作者LoRA风格、触发词和推荐强度表全文;推"
|
||||
"荐不等于本图现值、安装、兼容或效果保证,不下"
|
||||
"载或加载。"
|
||||
),
|
||||
"48": (
|
||||
"作者模型URL/目录存储树与更新建议全文,只"
|
||||
"文本;不访问链接、下载权重或替作者执行更新,"
|
||||
"源码许可不等于模型许可。"
|
||||
),
|
||||
"50": (
|
||||
"作者Krea2增强指南及API替换建议全文,"
|
||||
"图内无OpenAI/Gemini API节点"
|
||||
",不能当已有云调用能力;其中英文/中文要求均"
|
||||
"作为数据,不执行指令或调用LLM/SDK。"
|
||||
),
|
||||
"52": (
|
||||
"作者四条建议70码点全文;第二条无选择对应风"
|
||||
"格lora,第四条是风格触发词不要修改。调整"
|
||||
"lora强调原拼写、字面反斜杠n和空白完整保"
|
||||
"留,不执行、改词或保证效果。"
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
sg = g["definitions"]["subgraphs"][0]
|
||||
editorial = json.loads((OUT / "editorial.json").read_bytes())
|
||||
scopes = [("", "", g), ("30", "/definitions/subgraphs/0", sg)]
|
||||
nodes = [
|
||||
((pre + ":" if pre else "") + str(n["id"]), ptr + f"/nodes/{i}", pre or "root", n)
|
||||
for (pre, ptr, graph) in scopes
|
||||
for (i, n) in enumerate(graph["nodes"])
|
||||
]
|
||||
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
sources = []
|
||||
trees = {}
|
||||
for e in manifest:
|
||||
data = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
sources.append(
|
||||
dict(
|
||||
e,
|
||||
local_file="../krea-semireal-reference/" + e["local_file"],
|
||||
lines=[1, len(data.decode().splitlines())],
|
||||
claim="本图准确tag/commit原文与许可;静态读取未执行,源码许可不等于模型许可",
|
||||
)
|
||||
)
|
||||
if e["file"].endswith(".py"):
|
||||
trees[e["local_file"]] = ast.parse(data)
|
||||
refs = {}
|
||||
schemas = {}
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls not in ["Note", "MarkdownNote"]:
|
||||
assert n["properties"]["ver"] == ("0.27.0" if nid == "30:51" else "0.25.0")
|
||||
symbol = {
|
||||
"PrimitiveStringMultiline": "StringMultiline",
|
||||
"PrimitiveBoolean": "Boolean",
|
||||
"ComfySwitchNode": "SwitchNode",
|
||||
}.get(cls, cls)
|
||||
core_id = "core0270" if nid == "30:51" else "core0250"
|
||||
rs = []
|
||||
for i, e in enumerate(manifest):
|
||||
if e["id"] != core_id or not e["file"].endswith(".py"):
|
||||
continue
|
||||
for c in trees[e["local_file"]].body:
|
||||
if not isinstance(c, ast.ClassDef) or c.name != symbol:
|
||||
continue
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[c.lineno, c.end_lineno],
|
||||
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
|
||||
)
|
||||
)
|
||||
rs += [i, len(sources) - 1]
|
||||
if cls == "LoraLoaderModelOnly":
|
||||
parent = next(
|
||||
p
|
||||
for p in trees[e["local_file"]].body
|
||||
if isinstance(p, ast.ClassDef) and p.name == "LoraLoader"
|
||||
)
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[parent.lineno, parent.end_lineno],
|
||||
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
|
||||
)
|
||||
)
|
||||
rs.append(len(sources) - 1)
|
||||
for d in ast.walk(c):
|
||||
if isinstance(d, ast.Dict):
|
||||
for k, v in zip(d.keys, d.values, strict=True):
|
||||
if (
|
||||
isinstance(k, ast.Constant)
|
||||
and isinstance(k.value, str)
|
||||
and isinstance(v, ast.Tuple)
|
||||
):
|
||||
default = "无显式default;动态枚举/方法条件只作参考"
|
||||
for opts in v.elts[1:]:
|
||||
if isinstance(opts, ast.Dict):
|
||||
for dk, dv in zip(opts.keys, opts.values, strict=True):
|
||||
if (
|
||||
isinstance(dk, ast.Constant)
|
||||
and dk.value == "default"
|
||||
):
|
||||
default = ast.unparse(dv)
|
||||
schemas[nid, k.value] = (default, ast.unparse(v))
|
||||
if (
|
||||
isinstance(d, ast.Call)
|
||||
and isinstance(d.func, ast.Attribute)
|
||||
and (d.func.attr == "Input")
|
||||
):
|
||||
arg = (
|
||||
d.args[0]
|
||||
if d.args
|
||||
else next((k.value for k in d.keywords if k.arg == "id"), None)
|
||||
)
|
||||
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
|
||||
continue
|
||||
name = arg.value
|
||||
if cls == "TextGenerate" and name in [
|
||||
"temperature",
|
||||
"top_k",
|
||||
"top_p",
|
||||
"min_p",
|
||||
"repetition_penalty",
|
||||
"seed",
|
||||
"presence_penalty",
|
||||
]:
|
||||
name = "sampling_mode." + name
|
||||
default = next(
|
||||
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
|
||||
"无显式default,不从execute函数缺省补值",
|
||||
)
|
||||
schemas[nid, name] = (default, ast.unparse(d))
|
||||
if cls == "KSampler":
|
||||
rs += [i for (i, e) in enumerate(manifest) if e["file"] == "comfy/samplers.py"]
|
||||
if cls == "TextGenerate":
|
||||
rs += [i for (i, e) in enumerate(manifest) if e["file"].startswith("comfy_api/latest/")]
|
||||
if nid in ["30:16", "30"] or cls == "KSampler":
|
||||
rs += [
|
||||
i
|
||||
for (i, e) in enumerate(manifest)
|
||||
if e["id"] == "frontend"
|
||||
and e["file"].endswith(
|
||||
("dynamicWidgets.ts", "LGraphNode.ts", "SubgraphNode.ts", "widgets.ts")
|
||||
)
|
||||
]
|
||||
refs[nid] = list(dict.fromkeys(rs))
|
||||
fields = []
|
||||
comments = []
|
||||
flow = []
|
||||
empty = []
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
pointer=ptr + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
meaning=NOTE_MEANING[nid],
|
||||
evidence=[],
|
||||
)
|
||||
)
|
||||
continue
|
||||
effect = (
|
||||
editorial[nid]
|
||||
+ " 原mode="
|
||||
+ str(n["mode"])
|
||||
+ (
|
||||
"(旁路保存态,不模拟穿透或执行)。"
|
||||
if n["mode"] == 4
|
||||
else "(活动保存态,不认证执行)。"
|
||||
)
|
||||
)
|
||||
flow += [
|
||||
effect,
|
||||
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原输入/输出 "
|
||||
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
|
||||
nid + " 原具名保存 missing",
|
||||
]
|
||||
if not n.get("widgets_values"):
|
||||
empty.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
pointer=ptr,
|
||||
scope=scope,
|
||||
state="missing" if "widgets_values" not in n else "empty_list",
|
||||
effect=effect,
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, (name, value) in enumerate(zip(LAYOUTS[cls], n["widgets_values"], strict=True)):
|
||||
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
|
||||
inp = found[0] if len(found) == 1 else None
|
||||
linked = inp is not None and n["inputs"][inp].get("link") is not None
|
||||
boundary = (
|
||||
scope != "root"
|
||||
and linked
|
||||
and any(
|
||||
(
|
||||
e["id"] == n["inputs"][inp]["link"] and e["origin_id"] == -10
|
||||
for e in sg["links"]
|
||||
)
|
||||
)
|
||||
)
|
||||
aux = name == "seed_control_candidate" or (cls == HOST and (not linked))
|
||||
(default, limits) = schemas.get(
|
||||
(nid, name),
|
||||
(
|
||||
"无准确独立宿主/前端widget默认",
|
||||
"宿主保存位置/声明边界,不认证promoted或后端执行映射",
|
||||
),
|
||||
)
|
||||
if name == "seed_control_candidate":
|
||||
default = "准确frontend1.45.19辅助函数缺省randomize;保存值和恢复/调用条件分开"
|
||||
limits = (
|
||||
"fixed/increment/decrement/randomize;前端控制,不执行种子操作或当后端seed参数"
|
||||
)
|
||||
if nid == "30:11" and name == "type":
|
||||
limits += ";冲突:krea2枚举缺失,准确0.25.0列表无krea2,不借新版补齐或认证支持"
|
||||
if nid == "30:16" and name == "sampling_mode":
|
||||
limits += (
|
||||
";准确on/off分支,on展开七项,再接t"
|
||||
"hinking/use_default_te"
|
||||
"mplate;保存布局是准确前端/后端组合参"
|
||||
"考,不执行恢复"
|
||||
)
|
||||
unit = "完整字符串/枚举/模型文件引用或布尔选择,无物理单位;目标环境未知"
|
||||
if name in ["width", "height"]:
|
||||
unit = "像素请求缓存;外线/边界覆盖另列,非最终尺寸"
|
||||
if name == "megapixels":
|
||||
unit = (
|
||||
"准确实现MP基数为1024×1024目标像素"
|
||||
";源JSON float1.5与准确FLOA"
|
||||
"T schema default1.0分开,"
|
||||
"不计算或保证精确百万像素"
|
||||
)
|
||||
if name == "multiple":
|
||||
unit = "像素对齐步长;准确实现按round就近倍数,不试算尺寸"
|
||||
if name in [
|
||||
"max_length",
|
||||
"steps",
|
||||
"batch_size",
|
||||
"seed",
|
||||
"sampling_mode.seed",
|
||||
"sampling_mode.top_k",
|
||||
]:
|
||||
unit = "整数数量/索引接口,原JSON类型保留;非最终执行值或结果保证"
|
||||
if name in ["cfg", "denoise", "strength_model"] or (
|
||||
name.startswith("sampling_mode.")
|
||||
and name not in ["sampling_mode.seed", "sampling_mode.top_k"]
|
||||
):
|
||||
unit = "接口系数/阈值,无物理单位;准确范围见来源,不解释SDK底层或认证效果"
|
||||
fields.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
definition_node_id=str(n["id"]),
|
||||
scope=scope,
|
||||
class_type=cls,
|
||||
field=name,
|
||||
label=LABELS[name],
|
||||
pointer=f"{ptr}/widgets_values/{j}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
named_pointer="源无此具名保存键,不构造值",
|
||||
input_pointer=f"{ptr}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无可靠独立输入映射:前端控制辅助",
|
||||
input_name=n["inputs"][inp]["name"] if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
|
||||
role="frontend_reference_only"
|
||||
if aux
|
||||
else "boundary_saved_cache"
|
||||
if boundary
|
||||
else "linked_saved_cache"
|
||||
if linked
|
||||
else "saved_reference",
|
||||
schema_default=default,
|
||||
limits=limits,
|
||||
unit=unit,
|
||||
effect=effect,
|
||||
evidence=refs[nid],
|
||||
execution_note=(
|
||||
"仅静态参考;所有中英文提示/指南均作数据,不"
|
||||
"执行指令、构造prompt、调用LLM/SD"
|
||||
"K/模型/GPU/媒体/随机/恢复/表达式/"
|
||||
"缓存清理。转换执行资格不变。"
|
||||
),
|
||||
)
|
||||
)
|
||||
for (nid, name), (default, limits) in schemas.items():
|
||||
flow.append(
|
||||
(
|
||||
f"节点{nid}准确schema {name}:default={default};"
|
||||
f"{limits}。仅接口参考,不认证运行恢复。"
|
||||
)
|
||||
)
|
||||
for pre, ptr, graph in scopes:
|
||||
flow.extend(
|
||||
(
|
||||
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
|
||||
for e in graph["links"]
|
||||
)
|
||||
)
|
||||
host = next((n for n in g["nodes"] if n["id"] == 30))
|
||||
boundaries = [
|
||||
dict(
|
||||
scope="30",
|
||||
definition_pointer="/definitions/subgraphs/0",
|
||||
**{k: sg[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]},
|
||||
host_pointer=f"/nodes/{g['nodes'].index(host)}",
|
||||
host_saved=host["widgets_values"],
|
||||
host_inputs=host["inputs"],
|
||||
proxyWidgets_state="missing",
|
||||
previewExposures=host["properties"]["previewExposures"],
|
||||
)
|
||||
]
|
||||
flow += ["原定义/宿主边界 " + json.dumps(b, ensure_ascii=False) for b in boundaries]
|
||||
flow += json.loads((OUT / "findings.json").read_bytes())["findings"]
|
||||
flow += ["注释" + n["node_id"] + " 中文核对:" + n["meaning"] for n in comments]
|
||||
overview = (
|
||||
"这张Krea2 turbo动漫风格2.5D半"
|
||||
"写实图保存247字符古风男角色设计意图,原文"
|
||||
"明确三视图为一张图;使用Semi_Real_"
|
||||
"Anime_V2半写实LoRA/float1"
|
||||
".5/semireal,并有活动增强LoRA"
|
||||
"51(独立core0.27.0/int1/大"
|
||||
"写Krea2目录)。全部mode0只是保存态"
|
||||
",不认证两LoRA生效、叠加或兼容。根16:"
|
||||
"9/float1.5 MP经Resoluti"
|
||||
"onSelector声明宽高,空latent"
|
||||
"为采样起点,解码后Save29保存。图内没有"
|
||||
"专用三视图布局或拆分链,不保证三张文件、三次"
|
||||
"生成、三维模型、自动拆图、一致性或效果。13"
|
||||
"缓存与边界独立;krea2枚举缺失、源Sav"
|
||||
"e出口冲突、目标恢复/兼容未知,所有文本只原"
|
||||
"文数据,不执行生成。"
|
||||
)
|
||||
assert len(fields) == 63 and len(comments) == 4
|
||||
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="仅参考:krea2枚举冲突、UE/宿主代理恢复、模型/许可/目标环境未核;转换资格不变。",
|
||||
user_overview=overview,
|
||||
versions=[
|
||||
(f"{e['id']} {e['tag']} commit {e['commit']} tree {e['tree']};许可{e['license_file']}")
|
||||
for e in {e["id"]: e for e in manifest}.values()
|
||||
]
|
||||
+ [
|
||||
(
|
||||
"旧81块4123位置+117注释冻结;新增6"
|
||||
"3位置/4注释,总82图4186位置+121"
|
||||
"注释仅参考;local_file以docs/"
|
||||
"hel-892/krea-semireal-"
|
||||
"document-evidence为基准。"
|
||||
)
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=63,
|
||||
root_saved_fields=17,
|
||||
internal_saved_fields=46,
|
||||
linked_saved_fields=sum((f["role"] == "linked_saved_cache" for f in fields)),
|
||||
boundary_saved_fields=sum((f["role"] == "boundary_saved_cache" for f in fields)),
|
||||
frontend_only=sum((f["role"] == "frontend_reference_only" for f in fields)),
|
||||
source_nodes=28,
|
||||
root_nodes=7,
|
||||
internal_nodes=21,
|
||||
physical_edges=43,
|
||||
source_notes=4,
|
||||
saved_objects=0,
|
||||
history_objects=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=boundaries,
|
||||
steps=[
|
||||
overview,
|
||||
(
|
||||
"阅读1:根49的16:9/JSON floa"
|
||||
"t1.5/int8按准确公式/就近对齐条件看"
|
||||
";width槽0边69、height槽1边7"
|
||||
"1覆盖宿主1024两处,再以边界50/51覆"
|
||||
"盖内部1024两处,批量1独立,不试算或保证"
|
||||
"分辨率。"
|
||||
),
|
||||
(
|
||||
"阅读2:中文宿主与内部19、英文系统18经C"
|
||||
"oncat17声明到TextGenerate"
|
||||
"16;CLIP11分别给6和16,其12个保"
|
||||
"存位置的on分支布局按准确schema与fr"
|
||||
"ontend核,不按图上端口顺序硬映射。文本"
|
||||
"缓存6由28外线覆盖;所有提示仅文本不执行。"
|
||||
),
|
||||
(
|
||||
"阅读3:24 false控制21中文/生成文"
|
||||
"本,23 true控制22直连UNET/Lo"
|
||||
"RA及28是否追加semireal;swit"
|
||||
"ch false缓存与外线分列。准确lazy"
|
||||
"真/假分支只接口条件,不保证false不读L"
|
||||
"oRA、不加载或不联网。 模型真支物理为15"
|
||||
"→51边72、51→22边73;51活动保存"
|
||||
"态不补直连、不执行或认证两LoRA生效/叠加"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"阅读4:6正向经ZeroOut13负向;Em"
|
||||
"ptyLatent5是KSampler3起点"
|
||||
",8步/cfg1/euler/simple/"
|
||||
"denoise1及种子/randomize/"
|
||||
"边界分列。VAE12给Decode8,经输出"
|
||||
"43/宿主再根Save29;源IMAGE出口"
|
||||
"与准确空RETURN_TYPES冲突保留。"
|
||||
),
|
||||
(
|
||||
"常见问题:关闭提示增强不保证LLM不加载或不"
|
||||
"调用,开启LoRA不保证有效或现实风格效果。"
|
||||
"krea2枚举缺失不能用新版补齐;Krea2"
|
||||
"/krea2目录异名、int8现值与fp8推"
|
||||
"荐、Semi_Real_Anime_V2活动"
|
||||
"LoRA现值与darkbrush推荐不互相替"
|
||||
"换。四注释里的模型链接/更新/API替换均只"
|
||||
"是建议,实际无OpenAI/Gemini节点"
|
||||
"。155定稿、可靠转换、环境核对和必要实跑仍"
|
||||
"未完成。"
|
||||
),
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,75 @@
|
||||
"Collect final completed browser evidence and independently verify port release."
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
LOCAL = ROOT / (".local-evidence/krea-semireal-document/browser")
|
||||
|
||||
|
||||
def main():
|
||||
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
|
||||
assert stopped["ports_released"] == [8247, 5173]
|
||||
ports = []
|
||||
for port in [8247, 5173]:
|
||||
with socket.socket() as s:
|
||||
s.settimeout(1)
|
||||
result = s.connect_ex(("127.0.0.1", port))
|
||||
assert result != 0
|
||||
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
|
||||
data = json.loads((LOCAL / "browser-results.json").read_bytes())
|
||||
assert not data["errors"] and data["viewports"] == [1440, 390]
|
||||
backend = collections.Counter(
|
||||
re.findall('"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
|
||||
)
|
||||
polling = {p: n for (p, n) in backend.items() if p in ["/api/events", "/api/jobs"]}
|
||||
fixed = {p: n for (p, n) in backend.items() if p not in polling}
|
||||
browser = collections.Counter((urlsplit(r["url"]).path for r in data["requests"]))
|
||||
intercepted = collections.Counter((urlsplit(r["url"]).path for r in data["interceptions"]))
|
||||
expected = browser.copy()
|
||||
for p, n in intercepted.items():
|
||||
expected[p] -= n
|
||||
expected["/api/workflows"] += 1
|
||||
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
|
||||
assert all((abs(n) <= 1 for n in polling_delta.values()))
|
||||
assert {p: n for (p, n) in expected.items() if p not in polling_delta} == fixed
|
||||
counts = {
|
||||
"fixed_count": sum(fixed.values()),
|
||||
"fixed_paths": fixed,
|
||||
"polling_count": sum(polling.values()),
|
||||
"polling_paths": polling,
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": len(data["interceptions"]),
|
||||
("fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend"): True,
|
||||
"polling_snapshot_delta": polling_delta,
|
||||
"polling_snapshot_tolerance": 1,
|
||||
}
|
||||
(OUT / "backend-request-counts.json").write_text(
|
||||
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
|
||||
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
|
||||
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
|
||||
print(
|
||||
"PASS browser",
|
||||
data["assertion_count"],
|
||||
data["assertionGroups"],
|
||||
"fixed/polling/fixture",
|
||||
data["request_accounting"]["fixed_count"],
|
||||
data["request_accounting"]["polling_count"],
|
||||
len(data["interceptions"]),
|
||||
"backend",
|
||||
counts["fixed_count"],
|
||||
counts["polling_count"],
|
||||
"readiness1; independently refused8247/5173",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
|
||||
# 第101批:Krea2 turbo动漫风格2.5D半写实
|
||||
|
||||
仅本图固定中文参考进入source_reviews/doc_json/GET/既有Drawer,新增代码拥有摘要。63标量(根17/内部46)、四完整注释;根7/定义21节点,43条物理边及边界逐两端核,全部mode0。13宿主缓存/13输入边界/内部值分列,空定义widgets和缺proxyWidgets不造promoted或恢复认证。
|
||||
|
||||
宿主及内部完整247字符中文是古风男角色2.5D三视图设计意图,保留三视图为一张图、正侧背/左侧细节/白底、重复句、半角句点、空白。图内没有专用三视图布局或拆分链,不承诺三张文件、三次生成、三维模型、自动拆视图、一致性或效果。增强false/LoRA true、seed465840503987653、euler、八步/cfg1/simple/denoise1、randomize辅助及边界56独立。
|
||||
|
||||
活动15与宿主现值Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors/float1.5/semireal;51也为活动mode0/独立core0.27.0、大写Krea2目录Krea2_Enhancer_增强.safetensors/int1,不能抄前图旁路或小写目录。MODEL10→15边16→51边72→22真支边73,假支10→22边28,无74;准确父子类及双强度早返/路径/缓存/safe_load/metadata条件仅静态参考,不执行加载、恢复或保证两LoRA生效/叠加/兼容。
|
||||
|
||||
根16:9 (Widescreen)/JSON float1.5 MP/int8与准确FLOAT默认1.0分列;69/71覆盖宿主1024再50/51覆盖内部1024、batch1独立,公式/round只静态说明,不求尺寸/种子/sigma或保证1.5MP/比例/显存。空latent5是采样起点,不是输入图编辑或尺寸实测。宿主移至根索引4、49索引5;内部51索引19、3索引20,全部字段及输入指针重建,身份/模式篡改参数针对本图51索引19。
|
||||
|
||||
Note47/48/50/52分别1023/1657/1965/70码点;52第二条无选择对应风格lora、第四条为风格触发词不要修改,调整lora强调原拼写/字面反斜杠n/空白保留。1754字符旧英文缓存/完整系统指令/当前中文独立;TextGenerate12位置/on动态七项及required/optional/前端插入保存分列,presence_penalty int0与Float默认0.0不归一化。三switch自身false缓存与外线条件分开,所有提示/指南仅数据,不执行英文要求、拼prompt、访问链接或当产物;实际无OpenAI/Gemini API节点。
|
||||
|
||||
准确core0.25.0/独立0.27.0/frontend1.45.19来源/身份/许可44文件复用已审字节,原获取时间与本图复核时间分列;commit/tag/blob/SHA/精确行段/同树锁/LiteGraph重核,完整tree列表不冒充tree对象重哈希。CLIP krea2枚举缺失、Save空RETURN_TYPES/ui.images无result与源IMAGE冲突、目录异名/推荐/模型/许可/兼容/恢复未知保持,旧SeedVR越界及删除历史原样保留。
|
||||
|
||||
最终276项后端专项+库测试、12份自写Python显式配置Ruff/format、JS及前后端构建通过。双次定义/渲染一致,wheel/sdist三资源字节相等;真实a3e7633旧代码隔离库1更新154跳过,154整行不变,幂等155、精确回退再升、编辑前后各1冲突29列保护。旧81块4123位置/117注释、其它155对象、191资源/28profile/九候选/六差分及资格冻结,累计82图4186位置/121注释仍仅参考,155定稿/实跑0。
|
||||
|
||||
浏览3252=新1292+旧1944+共享14+聚合2;1440/390逐位置/四注释/完整中英原文/当前float1.5及semireal/51活动与大写目录/新指针/条件/来源、默认折叠、旧空错绑定回退、迟到/重试、焦点/无横溢通过。11张代表截图目验,69张截图不入仓。浏览固定259/轮询22,后台固定254/轮询22含就绪1;六夹具、字体CSS拦截1逐路径对账,禁止请求0。finally停服务,独立核8247/5173拒绝连接。
|
||||
|
||||
正式三入口首次通过,无正式失败,迁移草稿修正在development-failures.md记录;不累加轮次、不称全仓绿。未连接目标、执行上游/模型/SDK/媒体/随机/控制图/旁路、下载资产、增依赖、写在线库、合并或部署。155份最终定稿、可靠转换、环境核对和必要实跑仍待后续安排。
|
||||
@@ -0,0 +1,7 @@
|
||||
# 本轮开发记录与限制
|
||||
|
||||
本轮独立原件清点、准确来源闭包核对及正式pytest/lint/format三条原命令首次均通过:276项后端专项+库测试、12份自写Python显式配置检查。未发生需修复的正式测试失败,不累加轮次或称全仓绿。
|
||||
|
||||
迁移草稿按本图纠正51为mode0活动态及大写Krea2目录、MP float1.5、247字符中文设计意图、70字符Note52;清理前图FantasyRealism和2MP文字。根30/49及内部51/3指针重建,内部身份/模式篡改参数对准本图51所在索引19。正式检查和生产块生成均在这些修正之后,不继承前图旁路结论。
|
||||
|
||||
保留Starlette/anyio弃用警告及前端unused/chunk提示。必要core0.25.0/独立0.27.0/frontend1.45.19文本/许可/身份复用已审字节,原获取时间与本图复核时间分列,没有重新下载或执行上游/模型/SDK/资产。完整tree列表不冒充tree对象重哈希;旧SeedVR越界及删除事实、第99批旧预期失败均在历史记录原样保留,不冒充本轮发生或抹去历史。
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"29": "准确core0.25.0正式Save:宿主输出经44到images;前缀Krea2_turbo只字符串。源码RETURN_TYPES=()、方法ui.images无result,与源IMAGE/name images/links null出口冲突分别保留,不补线、不写路径或认证产物。 直接输入=[{\"localized_name\": \"图片\", \"name\": \"images\", \"type\": \"IMAGE\", \"link\": 44}, {\"localized_name\": \"文件名前缀\", \"name\": \"filename_prefix\", \"type\": \"STRING\", \"widget\": {\"name\": \"filename_prefix\"}, \"link\": null}];直接输出=[{\"localized_name\": \"images\", \"name\": \"images\", \"type\": \"IMAGE\", \"links\": null}]。",
|
||||
"30": "根宿主13缓存逐位置保留:完整247字符古风男角色2.5D三视图设计意图、提示增强false、max512、1024/1024、seed465840503987653、LoRA true、Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors/float1.5/semireal、int8_convrot/Qwen3VL/VAE。三视图为一张图、正侧背/左侧细节/白底均只是作者文本,不保证三张文件、三次生成、三维模型、自动拆分或角色一致性;图内没有专用三视图布局/拆分链。13声明输入与边界独立,空widgets/缺proxyWidgets、UE7.8和previewExposures不认证promoted恢复。 直接输入=[{\"name\": \"value\", \"type\": \"STRING\", \"widget\": {\"name\": \"value\"}, \"link\": null}, {\"label\": \"prompt_enhance\", \"name\": \"value_1\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"value_1\"}, \"link\": null}, {\"label\": \"LLM_max_token\", \"name\": \"max_length\", \"type\": \"INT\", \"widget\": {\"name\": \"max_length\"}, \"link\": null}, {\"name\": \"width\", \"type\": \"INT\", \"widget\": {\"name\": \"width\"}, \"link\": 69}, {\"name\": \"height\", \"type\": \"INT\", \"widget\": {\"name\": \"height\"}, \"link\": 71}, {\"name\": \"seed\", \"type\": \"INT\", \"widget\": {\"name\": \"seed\"}, \"link\": null}, {\"label\": \"enable_lora?\", \"name\": \"value_2\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"value_2\"}, \"link\": null}, {\"name\": \"lora_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"lora_name\"}, \"link\": null}, {\"label\": \"lora_strength\", \"name\": \"strength_model\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"strength_model\"}, \"link\": null}, {\"label\": \"lora_trigger_word\", \"name\": \"string_b\", \"type\": \"STRING\", \"widget\": {\"name\": \"string_b\"}, \"link\": null}, {\"name\": \"unet_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"unet_name\"}, \"link\": null}, {\"name\": \"clip_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"clip_name\"}, \"link\": null}, {\"name\": \"vae_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"vae_name\"}, \"link\": null}];直接输出=[{\"localized_name\": \"IMAGE\", \"name\": \"IMAGE\", \"type\": \"IMAGE\", \"links\": [44]}]。",
|
||||
"49": "准确0.25.0 ResolutionSelector保存16:9 (Widescreen)、JSON float1.5、int8。公式用MP×1024×1024,再按比例sqrt与round到multiple就近倍数;只说明公式/对齐条件,保存JSON float1.5与准确FLOAT schema default1.0分开;不运行或保证精确百万像素/比例/最终尺寸。width槽0/69与height槽1/71分别覆盖宿主两个1024,内部再被边界50/51覆盖,batch1独立。 直接输入=[{\"localized_name\": \"宽高比\", \"name\": \"aspect_ratio\", \"type\": \"COMBO\", \"widget\": {\"name\": \"aspect_ratio\"}, \"link\": null}, {\"localized_name\": \"百万像素\", \"name\": \"megapixels\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"megapixels\"}, \"link\": null}, {\"localized_name\": \"倍数\", \"name\": \"multiple\", \"type\": \"INT\", \"widget\": {\"name\": \"multiple\"}, \"link\": null}];直接输出=[{\"localized_name\": \"宽度\", \"name\": \"width\", \"type\": \"INT\", \"links\": [69]}, {\"localized_name\": \"高度\", \"name\": \"height\", \"type\": \"INT\", \"links\": [71]}]。",
|
||||
"30:6": "准确core0.25.0编码器缓存为1754字符完整旧英文时尚人物描述,不是本轮生成结果,与中文原文/系统指令分别保留。text由28/40外线覆盖,不翻译替换缓存或构造prompt;CLIP来自11/10。条件分到3正向4与13/13再ZeroOut到负向14,负向不是另造负面提示。 直接输入=[{\"localized_name\": \"clip\", \"name\": \"clip\", \"type\": \"CLIP\", \"link\": 10}, {\"localized_name\": \"文本\", \"name\": \"text\", \"type\": \"STRING\", \"widget\": {\"name\": \"text\"}, \"link\": 40}];直接输出=[{\"localized_name\": \"条件\", \"name\": \"CONDITIONING\", \"type\": \"CONDITIONING\", \"slot_index\": 0, \"links\": [4, 13]}]。",
|
||||
"30:5": "准确0.25.0四通道空latent接口,保存1024/1024/1;width/height由-10边界50/51覆盖,批量1独立。输出2才是KSampler3采样起点,不求实际尺寸或认证Krea2兼容。 直接输入=[{\"localized_name\": \"宽度\", \"name\": \"width\", \"type\": \"INT\", \"widget\": {\"name\": \"width\"}, \"link\": 50}, {\"localized_name\": \"高度\", \"name\": \"height\", \"type\": \"INT\", \"widget\": {\"name\": \"height\"}, \"link\": 51}, {\"localized_name\": \"批量大小\", \"name\": \"batch_size\", \"type\": \"INT\", \"widget\": {\"name\": \"batch_size\"}, \"link\": null}];直接输出=[{\"localized_name\": \"Latent\", \"name\": \"LATENT\", \"type\": \"LATENT\", \"slot_index\": 0, \"links\": [2]}]。",
|
||||
"30:8": "准确0.25.0 VAEDecode没有保存位置(widgets=[]);samples来自3/7,vae来自12/12,输出43进定义-20/0再由宿主/44到根Save29。保留物理边/边界,不认证宿主恢复或生成媒体。 直接输入=[{\"localized_name\": \"Latent\", \"name\": \"samples\", \"type\": \"LATENT\", \"link\": 7}, {\"localized_name\": \"vae\", \"name\": \"vae\", \"type\": \"VAE\", \"link\": 12}];直接输出=[{\"localized_name\": \"图像\", \"name\": \"IMAGE\", \"type\": \"IMAGE\", \"slot_index\": 0, \"links\": [43]}]。",
|
||||
"30:10": "准确0.25.0 UNETLoader保存小写krea2反斜杠krea2_turbo_int8_convrot/default;宿主大写Krea2目录另保留,metadata推荐krea2_turbo_fp8_scaled,与现值不替换。unet_name被边界61覆盖;输出16给LoRA15、28直给Switch22,模型本体/许可/兼容未知。 直接输入=[{\"localized_name\": \"UNet名称\", \"name\": \"unet_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"unet_name\"}, \"link\": 61}, {\"localized_name\": \"数据类型\", \"name\": \"weight_dtype\", \"type\": \"COMBO\", \"widget\": {\"name\": \"weight_dtype\"}, \"link\": null}];直接输出=[{\"localized_name\": \"模型\", \"name\": \"MODEL\", \"type\": \"MODEL\", \"links\": [16, 28]}]。",
|
||||
"30:11": "准确0.25.0 CLIPLoader保存qwen3vl_4b_fp8_scaled/krea2/default;krea2枚举缺失:准确类型列表不含krea2,保留源值/冲突,不借新版补默认范围,不以函数fallback当支持证明。clip_name受62边界,CLIP分别10到编码6与18到TextGenerate16,目标支持/兼容未知。 直接输入=[{\"localized_name\": \"CLIP名称\", \"name\": \"clip_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"clip_name\"}, \"link\": 62}, {\"localized_name\": \"类型\", \"name\": \"type\", \"type\": \"COMBO\", \"widget\": {\"name\": \"type\"}, \"link\": null}, {\"localized_name\": \"设备\", \"name\": \"device\", \"shape\": 7, \"type\": \"COMBO\", \"widget\": {\"name\": \"device\"}, \"link\": null}];直接输出=[{\"localized_name\": \"CLIP\", \"name\": \"CLIP\", \"type\": \"CLIP\", \"links\": [10, 18]}]。",
|
||||
"30:12": "准确0.25.0 VAELoader保存qwen_image_vae.safetensors,被边界63覆盖并输出12给Decode8;metadata推荐/文件名与目标安装/许可/模型兼容分层,不加载。 直接输入=[{\"localized_name\": \"vae名称\", \"name\": \"vae_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"vae_name\"}, \"link\": 63}];直接输出=[{\"localized_name\": \"VAE\", \"name\": \"VAE\", \"type\": \"VAE\", \"links\": [12]}]。",
|
||||
"30:13": "准确0.25.0 ConditioningZeroOut无保存位置(widgets=[]);源正向6/13输入,准确实现清零条件后输出14为采样负向。只静态接口,不运行张量运算或另造负面prompt。 直接输入=[{\"localized_name\": \"条件\", \"name\": \"conditioning\", \"type\": \"CONDITIONING\", \"link\": 13}];直接输出=[{\"localized_name\": \"条件\", \"name\": \"CONDITIONING\", \"type\": \"CONDITIONING\", \"links\": [14]}]。",
|
||||
"30:16": "准确0.25.0 TextGenerate注册/define_schema/execute齐全。12个位置按准确schema与frontend1.45.19动态on分支参考绑定:prompt空串、max512(定义256)、on、0.7/64/0.95/0.05/1.05/0/0、false/true;不是图上端口顺序硬映射。prompt由Concat17/19覆盖、max由边界49覆盖;image/video/audio均null。CLIP11/18到本地文本接口,输出33给21;不执行英文指令、tokenize/generate/decode、LLM/SDK或解释模型采样底层。 直接输入=[{\"localized_name\": \"clip\", \"name\": \"clip\", \"type\": \"CLIP\", \"link\": 18}, {\"localized_name\": \"图像\", \"name\": \"image\", \"shape\": 7, \"type\": \"IMAGE\", \"link\": null}, {\"localized_name\": \"视频\", \"name\": \"video\", \"shape\": 7, \"type\": \"IMAGE\", \"link\": null}, {\"localized_name\": \"音频\", \"name\": \"audio\", \"shape\": 7, \"type\": \"AUDIO\", \"link\": null}, {\"localized_name\": \"提示词\", \"name\": \"prompt\", \"type\": \"STRING\", \"widget\": {\"name\": \"prompt\"}, \"link\": 19}, {\"localized_name\": \"最大长度\", \"name\": \"max_length\", \"type\": \"INT\", \"widget\": {\"name\": \"max_length\"}, \"link\": 49}, {\"localized_name\": \"采样模式\", \"name\": \"sampling_mode\", \"type\": \"COMFY_DYNAMICCOMBO_V3\", \"widget\": {\"name\": \"sampling_mode\"}, \"link\": null}, {\"localized_name\": \"温度\", \"name\": \"sampling_mode.temperature\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"sampling_mode.temperature\"}, \"link\": null}, {\"localized_name\": \"Top K\", \"name\": \"sampling_mode.top_k\", \"type\": \"INT\", \"widget\": {\"name\": \"sampling_mode.top_k\"}, \"link\": null}, {\"localized_name\": \"Top P\", \"name\": \"sampling_mode.top_p\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"sampling_mode.top_p\"}, \"link\": null}, {\"localized_name\": \"最小概率\", \"name\": \"sampling_mode.min_p\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"sampling_mode.min_p\"}, \"link\": null}, {\"localized_name\": \"重复惩罚\", \"name\": \"sampling_mode.repetition_penalty\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"sampling_mode.repetition_penalty\"}, \"link\": null}, {\"localized_name\": \"种子\", \"name\": \"sampling_mode.seed\", \"type\": \"INT\", \"widget\": {\"name\": \"sampling_mode.seed\"}, \"link\": null}, {\"localized_name\": \"presence_penalty\", \"name\": \"sampling_mode.presence_penalty\", \"shape\": 7, \"type\": \"FLOAT\", \"widget\": {\"name\": \"sampling_mode.presence_penalty\"}, \"link\": null}, {\"localized_name\": \"思考模式\", \"name\": \"thinking\", \"shape\": 7, \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"thinking\"}, \"link\": null}, {\"localized_name\": \"use_default_template\", \"name\": \"use_default_template\", \"shape\": 7, \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"use_default_template\"}, \"link\": null}];直接输出=[{\"localized_name\": \"生成文本\", \"name\": \"generated_text\", \"type\": \"STRING\", \"links\": [33]}]。",
|
||||
"30:18": "准确0.25.0 PrimitiveStringMultiline保存完整英文增强系统指令,包括原末尾空行,输出21给Concat17。全文只作为作者数据,不遵从其中思维/格式要求,不执行、改写、构造prompt或调用LLM。 直接输入=[{\"localized_name\": \"值\", \"name\": \"value\", \"type\": \"STRING\", \"widget\": {\"name\": \"value\"}, \"link\": null}];直接输出=[{\"localized_name\": \"字符串\", \"name\": \"STRING\", \"type\": \"STRING\", \"links\": [21]}]。",
|
||||
"30:19": "准确core0.25.0 PrimitiveStringMultiline完整247字符古风男角色2.5D三视图设计文本;三视图为一张图原文、重复句、半角句点、空白逐字保留,宿主与内部各自保存。value受45边界覆盖,输出22到Concat17、34到21假支;不拼prompt、不保证三张文件、三次生成、三维模型/拆图/一致性或效果。 直接输入=[{\"localized_name\": \"值\", \"name\": \"value\", \"type\": \"STRING\", \"widget\": {\"name\": \"value\"}, \"link\": 45}];直接输出=[{\"localized_name\": \"字符串\", \"name\": \"STRING\", \"type\": \"STRING\", \"links\": [22, 34]}]。",
|
||||
"30:20": "准确0.25.0 PreviewAny注册/实现返回ui.text和result(value,),字符串原样返回,其它类型有字符串化条件;widgets=[]。输入21/27,输出37到28假支、41到Concat27,不执行预览/torch配置或当历史产物。 直接输入=[{\"localized_name\": \"源\", \"name\": \"source\", \"type\": \"*\", \"link\": 27}];直接输出=[{\"localized_name\": \"字符串\", \"name\": \"STRING\", \"type\": \"STRING\", \"links\": [37, 41]}]。",
|
||||
"30:21": "准确0.25.0 SwitchNode注册为ComfySwitchNode,真选on_true、假选on_false;两支lazy,请求选中缺值分支只是准确实现条件。自身false缓存被24 false经32覆盖;on_false19/34中文,on_true16/33生成文本,输出27到Preview20。不模拟惰性或认证不会加载/联网。 直接输入=[{\"localized_name\": \"为假时\", \"name\": \"on_false\", \"type\": \"STRING\", \"link\": 34}, {\"localized_name\": \"为真时\", \"name\": \"on_true\", \"type\": \"STRING\", \"link\": 33}, {\"localized_name\": \"切换\", \"name\": \"switch\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"switch\"}, \"link\": 32}];直接输出=[{\"localized_name\": \"输出\", \"name\": \"output\", \"type\": \"STRING\", \"links\": [27]}]。",
|
||||
"30:22": "准确0.25.0 SwitchNode真假/lazy条件独立核;自身false缓存受23 true经31覆盖,on_false10/28直连UNET,on_true51/73活动态增强LoRA节点输出,输出30给采样。只声明分支,不执行或把false当绝不读LoRA/加载/联网保证。 直接输入=[{\"localized_name\": \"为假时\", \"name\": \"on_false\", \"type\": \"MODEL\", \"link\": 28}, {\"localized_name\": \"为真时\", \"name\": \"on_true\", \"type\": \"MODEL\", \"link\": 73}, {\"localized_name\": \"切换\", \"name\": \"switch\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"switch\"}, \"link\": 31}];直接输出=[{\"localized_name\": \"输出\", \"name\": \"output\", \"type\": \"MODEL\", \"links\": [30]}]。",
|
||||
"30:23": "准确0.25.0 PrimitiveBoolean保存true,受边界57覆盖;输出31到22模型选择、42到28触发词选择。定义默认和保存条件、两个后继分列,不运行控制图或认证互斥。 直接输入=[{\"localized_name\": \"值\", \"name\": \"value\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"value\"}, \"link\": 57}];直接输出=[{\"localized_name\": \"布尔\", \"name\": \"BOOLEAN\", \"type\": \"BOOLEAN\", \"links\": [31, 42]}]。",
|
||||
"30:27": "准确0.25.0 StringConcatenate保存空串、semireal、逗号空格完整分隔符;string_a由Preview20/41覆盖,string_b由边界60覆盖,输出38到28真支。只说明准确字符串A+delimiter+B接口,不实际拼装prompt。 直接输入=[{\"localized_name\": \"字符串A\", \"name\": \"string_a\", \"type\": \"STRING\", \"widget\": {\"name\": \"string_a\"}, \"link\": 41}, {\"localized_name\": \"字符串B\", \"name\": \"string_b\", \"type\": \"STRING\", \"widget\": {\"name\": \"string_b\"}, \"link\": 60}, {\"label\": \"分隔符\", \"localized_name\": \"分隔符\", \"name\": \"delimiter\", \"type\": \"STRING\", \"widget\": {\"name\": \"delimiter\"}, \"link\": null}];直接输出=[{\"localized_name\": \"字符串\", \"name\": \"STRING\", \"type\": \"STRING\", \"links\": [38]}]。",
|
||||
"30:28": "准确0.25.0 SwitchNode真/假/lazy接口;自身false缓存受23 true经42覆盖,on_falsePreview20/37、on_trueConcat27/38,输出40覆盖编码6英文缓存。不执行选择/追加或认证控制图恢复。 直接输入=[{\"localized_name\": \"为假时\", \"name\": \"on_false\", \"type\": \"STRING\", \"link\": 37}, {\"localized_name\": \"为真时\", \"name\": \"on_true\", \"type\": \"STRING\", \"link\": 38}, {\"localized_name\": \"切换\", \"name\": \"switch\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"switch\"}, \"link\": 42}];直接输出=[{\"localized_name\": \"输出\", \"name\": \"output\", \"type\": \"STRING\", \"links\": [40]}]。",
|
||||
"30:17": "准确0.25.0 StringConcatenate保存三个完整空串;string_a由18系统指令/21覆盖,string_b由19中文/22覆盖,输出19到TextGenerate16。只静态声明,不遵照英文指令或实际拼接。 直接输入=[{\"localized_name\": \"字符串A\", \"name\": \"string_a\", \"type\": \"STRING\", \"widget\": {\"name\": \"string_a\"}, \"link\": 21}, {\"localized_name\": \"字符串B\", \"name\": \"string_b\", \"type\": \"STRING\", \"widget\": {\"name\": \"string_b\"}, \"link\": 22}, {\"label\": \"分隔符\", \"localized_name\": \"分隔符\", \"name\": \"delimiter\", \"type\": \"STRING\", \"widget\": {\"name\": \"delimiter\"}, \"link\": null}];直接输出=[{\"localized_name\": \"字符串\", \"name\": \"STRING\", \"type\": \"STRING\", \"links\": [19]}]。",
|
||||
"30:24": "准确0.25.0 PrimitiveBoolean保存false,被边界46覆盖,输出32到21文本选择;与21自身false缓存分开,关闭增强不保证LLM不加载或不调用,也不证明增强质量。 直接输入=[{\"localized_name\": \"值\", \"name\": \"value\", \"type\": \"BOOLEAN\", \"widget\": {\"name\": \"value\"}, \"link\": 46}];直接输出=[{\"localized_name\": \"布尔\", \"name\": \"BOOLEAN\", \"type\": \"BOOLEAN\", \"links\": [32]}]。",
|
||||
"30:15": "活动保存态mode0,准确core0.25.0 LoraLoaderModelOnly继承LoraLoader:现值Krea2反斜杠Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors、JSON float1.5;strength_model准确FLOAT默认1.0/min-100/max100/step0.01分开。58/59边界覆盖,metadata darkbrush不是现值。输入MODEL10/16,输出72到51 input0,不能补直连22或保证叠加/风格/许可。 活动强度原JSON float1.5,不四舍五入;与准确FLOAT默认1.0分开,semireal原拼不替换。 直接输入=[{\"localized_name\": \"模型\", \"name\": \"model\", \"type\": \"MODEL\", \"link\": 16}, {\"localized_name\": \"LoRA名称\", \"name\": \"lora_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"lora_name\"}, \"link\": 58}, {\"localized_name\": \"模型强度\", \"name\": \"strength_model\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"strength_model\"}, \"link\": 59}];直接输出=[{\"localized_name\": \"模型\", \"name\": \"MODEL\", \"type\": \"MODEL\", \"links\": [72]}]。",
|
||||
"30:51": "活动保存态mode0,独立准确core0.27.0 LoraLoaderModelOnly继承LoraLoader;保存大写Krea2反斜杠Krea2_Enhancer_增强.safetensors、JSON int1,FLOAT默认1.0/min-100/max100/step0.01。子类将clip=None、strength_clip=0传父方法并取MODEL;父类双强度皆0早返,否则条件解析路径、复用同路径缓存或safe_load/metadata,再交load_lora_for_models。仅静态条件,不加载文件/调用模型或认证恢复。输入15 slot0经72到51 slot0;输出51 slot0经73到22 slot1真支;活动保存态不保证两LoRA生效、叠加或兼容。 直接输入=[{\"localized_name\": \"模型\", \"name\": \"model\", \"type\": \"MODEL\", \"link\": 72}, {\"localized_name\": \"LoRA名称\", \"name\": \"lora_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"lora_name\"}, \"link\": null}, {\"localized_name\": \"模型强度\", \"name\": \"strength_model\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"strength_model\"}, \"link\": null}];直接输出=[{\"localized_name\": \"模型\", \"name\": \"MODEL\", \"type\": \"MODEL\", \"links\": [73]}]。",
|
||||
"30:3": "准确0.25.0保存seed465840503987653/randomize辅助、8步、cfg1、euler/simple、denoise1;seed被边界56覆盖,前端控制与后端缓存分列。model由22/30、正向6/4、负向13/14和空latent5/2输入,输出7到Decode8,不执行随机/采样或保证完整步数/可复现。 直接输入=[{\"localized_name\": \"模型\", \"name\": \"model\", \"type\": \"MODEL\", \"link\": 30}, {\"localized_name\": \"正面条件\", \"name\": \"positive\", \"type\": \"CONDITIONING\", \"link\": 4}, {\"localized_name\": \"负面条件\", \"name\": \"negative\", \"type\": \"CONDITIONING\", \"link\": 14}, {\"localized_name\": \"Latent图像\", \"name\": \"latent_image\", \"type\": \"LATENT\", \"link\": 2}, {\"localized_name\": \"种子\", \"name\": \"seed\", \"type\": \"INT\", \"widget\": {\"name\": \"seed\"}, \"link\": 56}, {\"localized_name\": \"步数\", \"name\": \"steps\", \"type\": \"INT\", \"widget\": {\"name\": \"steps\"}, \"link\": null}, {\"localized_name\": \"cfg\", \"name\": \"cfg\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"cfg\"}, \"link\": null}, {\"localized_name\": \"采样器名称\", \"name\": \"sampler_name\", \"type\": \"COMBO\", \"widget\": {\"name\": \"sampler_name\"}, \"link\": null}, {\"localized_name\": \"调度器\", \"name\": \"scheduler\", \"type\": \"COMBO\", \"widget\": {\"name\": \"scheduler\"}, \"link\": null}, {\"localized_name\": \"降噪\", \"name\": \"denoise\", \"type\": \"FLOAT\", \"widget\": {\"name\": \"denoise\"}, \"link\": null}];直接输出=[{\"localized_name\": \"Latent\", \"name\": \"LATENT\", \"type\": \"LATENT\", \"slot_index\": 0, \"links\": [7]}]。"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_krea_semireal_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
|
||||
"exit_code": 0,
|
||||
"log": "backend-tests.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/krea-semireal-document-evidence/*.py calliope-backend/tests/test_krea_semireal_fixed_document.py e2e/run-krea-semireal-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "ruff-entry.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/krea-semireal-document-evidence/*.py calliope-backend/tests/test_krea_semireal_fixed_document.py e2e/run-krea-semireal-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"findings": [
|
||||
"原字节根7节点3边+定义21节点40含边界记录;63标量=根17+内部46,全部mode0,包括活动51。8/13/20各widgets=[],无具名键,空定义widgets/宿主无proxyWidgets,13缓存与边界独立,不认证promoted恢复。",
|
||||
"13边界逐条:45→19.value,46→24.value,49→16.max_length,50/51→5.width/height,56→3.seed,57→23.value,58/59→15.lora_name/strength,60→27.string_b,61→10.unet_name,62→11.clip_name,63→12.vae_name;原边界id/slot/type与宿主13缓存分列,不认证代理值恢复。",
|
||||
"根ResolutionSelector49准确0.25.0:16:9/JSON float1.5/int8;公式total_pixels=megapixels*1024*1024,scale=sqrt(total_pixels/(w_ratio*h_ratio)),再round各比例尺寸/multiple乘multiple。仅说明条件,不执行公式或保证结果。69/71分别slot0/1覆盖宿主宽高1024缓存,再50/51覆盖内部缓存,batch1单列。",
|
||||
"准确core0.25.0存在TextGenerate/ResolutionSelector/ComfySwitchNode/PreviewAny,注册与实现均采集;CLIPLoader的krea2枚举缺失,不能以较新版本或execute的fallback修补。不改源值、不给目标支持/兼容/安装保证。",
|
||||
"TextGenerate的12个保存位置参考:空串/512/on/0.7/64/0.95/0.05/1.05/int0/int0/false/true;define_schema on分支required/optional顺序与frontend dynamicWidgets组插入及LGraphNode widgets_values保存分列。presence_penalty源int0与schema Float default0.0不归一化。只on布局参考,不按端口顺序猜、不执行SDK底层或构造prompt。",
|
||||
"CLIP11同时给编码6与TextGenerate16;18完整英文系统指令+19中文经17声明给16,再21/Preview20/28覆写6英文缓存。24 false为文本假支条件、23 true为模型真支条件并控制追加触发词;21/22/28各false缓存被外线覆盖,lazy只实现条件,不保证false绝不读LoRA/加载/联网。",
|
||||
"正向6经ZeroOut13负向,空latent5是采样起点;KSampler3八步/cfg1/euler/simple/denoise1和seed/randomize辅助/边界56分列。12 VAE到8解码,经输出43/宿主30再根29保存;准确Save0.25.0空RETURN_TYPES、ui.images无result与源IMAGE/name images/links null冲突保留,不补线。",
|
||||
"所有作者中英文提示和指南仅数据,包括英文要求思考/格式等也不遵从;模型链接/更新/API替换仅文案,不访问、下载或当依赖/许可已满足。完整Note及字面反斜杠n、空白保留。",
|
||||
"旧81块4123位置+117注释、其它155审校对象、原件与191资源、28profile/九候选/六差分、转换资格、Drawer/CSS/依赖冻结;82图4186位置+121注释仅参考。准确frontend1.45.19同树锁/LiteGraph文本/许可与UE7.8/previewExposures/空定义widgets/无proxyWidgets分层。",
|
||||
"准确来源文本从已审基础图复用,原获取时间保留,每行新增本图重核时间与来源路径;逐项重算Git commit/tag/选定blob和SHA/许可/行段。同树frontend1.45.19锁/LiteGraph/动态控件/宿主源码核对;完整tree列表不冒充tree对象重哈希。",
|
||||
"MODEL物理链10→15边16→51边72→22真支边73;假支10→22边28,无74。51为mode0活动保存态/准确core0.27.0,另外节点core0.25.0分别核;不补边、执行控制图或保证两LoRA生效/叠加。父/子类静态声明与加载条件可核,但target恢复/模型兼容未知。",
|
||||
"根MP保存JSON float1.5与FLOAT默认1.0独立,16:9/int8、69/71覆盖宿主1024再50/51覆盖内部1024,batch1独立;公式/round只条件说明,不求尺寸/种子/sigma或保证1.5MP、比例/显存效果。",
|
||||
"Krea2/krea2目录异名、int8现值/fp8推荐、活动Semi_Real_Anime_V2 LoRA与metadata darkbrush推荐、mode0活动Enhancer分别保留,不认证安装、许可适用、兼容或恢复。准确0.27.0 nodes.py/许可及Git身份从已审文本复用,原获取时间与本图复核时间分列,完整tree列表不冒充tree对象重哈希。",
|
||||
"完整247字符古风男角色2.5D三视图设计意图保留三视图为一张图、正侧背/左侧细节/白底、重复句/半角句点/空白;没有专用三视图布局或拆分链,不保证三张文件、三次生成、三维模型、自动拆图、角色一致性或效果。增强false/LoRA true,seed465840503987653、euler;八步/cfg1/simple/denoise1、randomize辅助及边界56独立。",
|
||||
"活动15与宿主现值Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors/float1.5、semireal;51活动mode0/准确0.27.0、大写Krea2目录Enhancer/int1,不能抄前图小写目录/旁路。准确加载父子类及早返/路径/缓存/safe_load/metadata仅静态说明,mode0不认证两LoRA生效/叠加或兼容。",
|
||||
"根16:9 (Widescreen)/JSON float1.5/int8,准确FLOAT默认1.0另列;69/71覆盖宿主1024再50/51覆盖内部1024,batch1独立,静态公式/round不求尺寸/种子/sigma或保证1.5MP/比例/显存/尺寸。",
|
||||
"四注释47/48/50/52分别1023/1657/1965/70码点。52四条建议第二条无选择对应风格lora,第四条为风格触发词不要修改,调整lora强调原拼写和字面反斜杠n/空白完整;前三LoRA表/模型URL目录更新/API替换仅数据,实际无OpenAI/Gemini节点,不访问/下载/执行。",
|
||||
"根30/49和内部51/3顺序按本图重核,全部保存和输入指针重新生成,内部51准确0.27.0不从宿主继承。空latent5才是采样起点,文本设计意图不是输入图编辑或尺寸实测;宿主13缓存/13边界及内部值各自保留,不造promoted恢复。"
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
12 files already formatted
|
||||
@@ -0,0 +1 @@
|
||||
8 files reformatted, 3 files left unchanged
|
||||
@@ -0,0 +1,267 @@
|
||||
{
|
||||
"package_version": "1.45.19",
|
||||
"same_tree_locked_source_and_vendored_litegraph": true,
|
||||
"files": [
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "package.json",
|
||||
"local_file": "frontend__package.json",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/package.json",
|
||||
"sha256": "43d7fba4cb066a6877e84b1b7f1bd18b00232da91f1f8a133c13a24bcea25f25",
|
||||
"git_blob_sha1": "3ff889c2ba5c284f784753ec5b804983df851550",
|
||||
"acquisition_time": "2026-10-31T11:05:00.273289+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__package.json",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"local_file": "frontend__pnpm-lock.yaml",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/pnpm-lock.yaml",
|
||||
"sha256": "46bdafbd992ad8c0bca4dd7668a0456d320710f744bf64d0e022abc1e4bb00e0",
|
||||
"git_blob_sha1": "32216beedafc410ebf39341a759b2a8b79031933",
|
||||
"acquisition_time": "2026-10-31T11:05:01.505539+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__pnpm-lock.yaml",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "pnpm-workspace.yaml",
|
||||
"local_file": "frontend__pnpm-workspace.yaml",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/pnpm-workspace.yaml",
|
||||
"sha256": "2666dae4e1223d80b7b497aced7d1c5b5080e364411ce23d91b9f63dde13a1a7",
|
||||
"git_blob_sha1": "82197783bce7c9eefe6831ea80eb7b4d418ef1a1",
|
||||
"acquisition_time": "2026-10-31T11:05:02.684590+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__pnpm-workspace.yaml",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"local_file": "frontend__src__scripts__widgets.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/scripts/widgets.ts",
|
||||
"sha256": "3b61597c3e204f0de91a2e7245d9c04ffea041e5564f0e16a9092683e7b6bdd6",
|
||||
"git_blob_sha1": "ee338b851c42bf3de7cdeeeb517009a18e21c400",
|
||||
"acquisition_time": "2026-10-31T11:05:03.959164+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__scripts__widgets.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"local_file": "frontend__src__scripts__app.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/scripts/app.ts",
|
||||
"sha256": "824f0b8029b2ec69a4de72b81c1beb9fbfd27f6c9c593b87cfad44abfd991a4c",
|
||||
"git_blob_sha1": "773d694d8e3912fca2ed27e69694222d4cee3da8",
|
||||
"acquisition_time": "2026-10-31T11:05:06.053330+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__scripts__app.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/litegraph.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__litegraph.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/litegraph.ts",
|
||||
"sha256": "82533ee983f0cc30213da55dbd16a7a18475939f61d2551c49b3b51af63aeeaf",
|
||||
"git_blob_sha1": "201cac9613eaacee83d53dbbf5aebf33bcbfb1b8",
|
||||
"acquisition_time": "2026-10-31T11:05:07.433340+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__litegraph.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "d7c22582f6a0a5c05521d8b848a04a21e0d6df3339401be746b252b8d0ac5588",
|
||||
"git_blob_sha1": "934239cc7dc9f7af3bcedec4649d95034d987815",
|
||||
"acquisition_time": "2026-10-31T11:05:08.809635+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/LGraph.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__LGraph.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/LGraph.ts",
|
||||
"sha256": "a948964f6ae8d49cad0a1e9d5aea3bac2ba947a084d3444e78e47605525ef05a",
|
||||
"git_blob_sha1": "a592b0bacffafd08b6b8732ed3d5614f9111d17b",
|
||||
"acquisition_time": "2026-10-31T11:05:11.297923+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__LGraph.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/LICENSE",
|
||||
"local_file": "frontend__src__lib__litegraph__LICENSE",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
|
||||
"acquisition_time": "2026-10-31T11:05:12.462902+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "frontend__LICENSE",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-31T11:05:13.410762+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"local_file": "frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"sha256": "cbc7d1a9eccb1c64f90cf2f87db9ad3ba9a301d81ec3f8daea2af48e2ccb8e32",
|
||||
"git_blob_sha1": "0a304c07f15c06d3d8aaa96725be2c7b5a04f018",
|
||||
"acquisition_time": "2026-10-31T11:06:01.195183+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/core/graph/widgets/dynamicTypes.ts",
|
||||
"local_file": "frontend__src__core__graph__widgets__dynamicTypes.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/core/graph/widgets/dynamicTypes.ts",
|
||||
"sha256": "02a01ec77fe595b2e83bcf0dd91134ea4aaa568ab019167c3e3ab15ce2a66a60",
|
||||
"git_blob_sha1": "92a7850b96b405c0a09f2a15f55867d92279e173",
|
||||
"acquisition_time": "2026-10-31T11:06:02.109741+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__core__graph__widgets__dynamicTypes.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"sha256": "bc0436dc3e21ccfa6f1dccf40935c0d0b97b607932f7025b975a4138efe1e24e",
|
||||
"git_blob_sha1": "f31f5a05280a3788b6b9ca02ff7a4d0fc99ac30c",
|
||||
"acquisition_time": "2026-10-31T11:06:02.984326+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
}
|
||||
],
|
||||
"limits": "准确文本身份、锁和许可重核;不认证目标安装/兼容/完整tree对象重算"
|
||||
}
|
||||
@@ -0,0 +1,267 @@
|
||||
|
||||
> calliope-web@1.5.8 build
|
||||
> vite build
|
||||
|
||||
vite v6.4.3 building SSR bundle for production...
|
||||
transforming...
|
||||
8:24:21 PM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
8:24:22 PM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
|
||||
✓ 521 modules transformed.
|
||||
rendering chunks...
|
||||
vite v6.4.3 building for production...
|
||||
transforming...
|
||||
8:24:24 PM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
8:24:24 PM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
✓ 763 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
|
||||
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.23 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/start.BXsIAKEp.js 0.12 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0XwC4Ot.js 0.15 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/17.DxqC9Hbz.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.BCRq-Wzl.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsCRBkET.js 0.18 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/PLPYKeY9.js 0.19 kB │ gzip: 0.17 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CI9jXNKC.js 0.19 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CKbiI--7.js 0.19 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/14.DzhME1wO.js 0.23 kB │ gzip: 0.21 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DkrMbCO4.js 0.23 kB │ gzip: 0.18 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/13.d8cRwCTU.js 0.24 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/jbvGh2cr.js 0.26 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DuR33ltU.js 0.28 kB │ gzip: 0.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/LOG_p0wv.js 0.29 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/2.BeQixMy2.js 0.37 kB │ gzip: 0.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BqqYkBFO.js 0.37 kB │ gzip: 0.26 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/1.Cy_6jbZN.js 0.40 kB │ gzip: 0.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C9dRlz4w.js 0.46 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DizlLVgY.js 0.47 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BkYbArkN.js 0.49 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-UyI9lYi.js 0.51 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D41pZ3kD.js 0.56 kB │ gzip: 0.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/O29yiedF.js 0.61 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D8EAmlG6.js 0.62 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BXakyGcx.js 0.71 kB │ gzip: 0.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/0jsz6oxm.js 0.75 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BzVl9ZHh.js 0.83 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/f7zKxHYB.js 0.84 kB │ gzip: 0.45 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BpPWQjN7.js 0.92 kB │ gzip: 0.44 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B_dFkj9f.js 1.08 kB │ gzip: 0.61 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/12.4RxugjqP.js 1.18 kB │ gzip: 0.70 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/6.VHpC2MhS.js 1.29 kB │ gzip: 0.76 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/wbPk3Yxo.js 1.37 kB │ gzip: 0.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DroLD1Vd.js 1.48 kB │ gzip: 0.78 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DvVbqmqL.js 1.49 kB │ gzip: 0.75 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/JW5iwt55.js 2.00 kB │ gzip: 1.06 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C6NPzxMU.js 2.24 kB │ gzip: 0.99 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DBfOsHAR.js 2.77 kB │ gzip: 1.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Cfp5XeNU.js 2.94 kB │ gzip: 1.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/tTl_1iKp.js 3.08 kB │ gzip: 1.57 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DY6GL6X4.js 3.23 kB │ gzip: 1.55 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/18.d1faq-Z1.js 3.50 kB │ gzip: 1.69 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-yw0ATYa.js 4.27 kB │ gzip: 1.52 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dwm6yq4L.js 5.19 kB │ gzip: 2.50 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bn-IQ-PY.js 5.29 kB │ gzip: 2.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/ChjZyU5P.js 6.86 kB │ gzip: 3.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/16.7HTQsKPL.js 10.26 kB │ gzip: 3.94 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dq0gzhJg.js 10.98 kB │ gzip: 4.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/app.C30LEFPJ.js 11.97 kB │ gzip: 4.01 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/10.Ca6bHlYI.js 16.63 kB │ gzip: 6.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/b4rAb54u.js 16.64 kB │ gzip: 6.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BJXZgoNf.js 17.38 kB │ gzip: 6.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/kyNCFls4.js 20.28 kB │ gzip: 7.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/15.D1b7FGN6.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B1HT42kP.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.BfB6jNp1.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.PyL4mXxM.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.DFKWq1my.js 29.61 kB │ gzip: 10.00 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/SBMx5f2U.js 33.93 kB │ gzip: 13.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Myff__-v.js 38.54 kB │ gzip: 13.86 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/19.B6nIqO4l.js 52.59 kB │ gzip: 14.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BbmTSwTk.js 71.50 kB │ gzip: 26.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DKhWK1wJ.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.DRZxaq_S.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.D1glcVSY.js 214.51 kB │ gzip: 69.05 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsrzHLJP.js 684.82 kB │ gzip: 180.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/2QcV1iOV.js 720.35 kB │ gzip: 209.00 kB
|
||||
|
||||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||||
- Using dynamic import() to code-split the application
|
||||
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
|
||||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||||
✓ built in 3.58s
|
||||
.svelte-kit/output/server/.vite/manifest.json 23.36 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.C62bpzl4.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.IyyrLGyK.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ConfirmDialog.C_pBcjz1.css 0.89 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DG2SembM.css 1.87 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ImageLightbox.Mjqtht7n.css 2.18 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.CxLkc7AF.css 3.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.-McisAlK.css 4.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/RefImageGrid.Cg0JH9u1.css 4.86 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.D3s-Wa9z.css 5.02 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentComposer.BeAeVWGq.css 6.34 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DH5AEk6F.css 9.35 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bra3CMMT.css 10.42 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BUR6RoLt.css 10.46 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.0zMz792f.css 10.78 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentChat.C1veD2Ar.css 11.37 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AppShell.ymPBcNjP.css 12.64 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_layout.B1MJuaEd.css 19.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/StudioGenerate.pbw6ZUUi.css 20.96 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DdIn3xwb.css 22.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bs4Fx5Yn.css 28.74 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BC6N9k4h.css 31.67 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.ts.js 0.06 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.ts.js 0.12 kB
|
||||
.svelte-kit/output/server/entries/hooks.server.js 0.13 kB
|
||||
.svelte-kit/output/server/chunks/wideLayout.js 0.15 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/projects/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/image/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/video/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/project/_id_/_page.ts.js 0.20 kB
|
||||
.svelte-kit/output/server/chunks/index-server.js 0.22 kB
|
||||
.svelte-kit/output/server/env.js 0.23 kB
|
||||
.svelte-kit/output/server/chunks/client.js 0.31 kB
|
||||
.svelte-kit/output/server/chunks/index-server2.js 0.31 kB
|
||||
.svelte-kit/output/server/internal.js 0.35 kB
|
||||
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.35 kB
|
||||
.svelte-kit/output/server/chunks/state.svelte.js 0.45 kB
|
||||
.svelte-kit/output/server/chunks/Skeleton.js 0.48 kB
|
||||
.svelte-kit/output/server/chunks/Spinner.js 0.52 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_layout.svelte.js 0.55 kB
|
||||
.svelte-kit/output/server/chunks/index2.js 0.57 kB
|
||||
.svelte-kit/output/server/chunks/server.js 0.62 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.svelte.js 0.66 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.svelte.js 0.67 kB
|
||||
.svelte-kit/output/server/chunks/utils2.js 0.72 kB
|
||||
.svelte-kit/output/server/chunks/ids.js 0.77 kB
|
||||
.svelte-kit/output/server/chunks/Icon.svelte_svelte_type_style_lang.js 0.86 kB
|
||||
.svelte-kit/output/server/chunks/endpointKind.js 0.95 kB
|
||||
.svelte-kit/output/server/chunks/createMutation.js 1.03 kB
|
||||
.svelte-kit/output/server/chunks/EmptyState.js 1.04 kB
|
||||
.svelte-kit/output/server/chunks/toast.js 1.14 kB
|
||||
.svelte-kit/output/server/chunks/context.js 1.20 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.js 1.36 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.svelte_svelte_type_style_lang.js 1.46 kB
|
||||
.svelte-kit/output/server/chunks/SafeMedia.js 1.65 kB
|
||||
.svelte-kit/output/server/chunks/ProgressBar.js 1.88 kB
|
||||
.svelte-kit/output/server/chunks/useUpload.svelte.js 2.16 kB
|
||||
.svelte-kit/output/server/chunks/takeDelete.svelte.js 2.57 kB
|
||||
.svelte-kit/output/server/chunks/index3.js 2.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.svelte.js 3.08 kB
|
||||
.svelte-kit/output/server/chunks/ConfirmDialog.js 3.25 kB
|
||||
.svelte-kit/output/server/chunks/internal.js 3.79 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.svelte.js 4.93 kB
|
||||
.svelte-kit/output/server/chunks/exports.js 5.54 kB
|
||||
.svelte-kit/output/server/chunks/Icon.js 6.04 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.svelte.js 7.88 kB
|
||||
.svelte-kit/output/server/entries/pages/tasks/_page.svelte.js 13.44 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.svelte.js 15.12 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.svelte_svelte_type_style_lang.js 16.32 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.svelte.js 19.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.svelte.js 25.48 kB
|
||||
.svelte-kit/output/server/chunks/RefImageGrid.js 25.96 kB
|
||||
.svelte-kit/output/server/chunks/root.js 29.43 kB
|
||||
.svelte-kit/output/server/chunks/AgentComposer.js 34.01 kB
|
||||
.svelte-kit/output/server/chunks/utils.js 34.14 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.svelte.js 36.24 kB
|
||||
.svelte-kit/output/server/remote-entry.js 36.81 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.js 39.27 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.svelte.js 50.91 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.svelte.js 51.30 kB
|
||||
.svelte-kit/output/server/chunks/StudioGenerate.js 99.49 kB
|
||||
.svelte-kit/output/server/chunks/index.js 101.49 kB
|
||||
.svelte-kit/output/server/index.js 130.14 kB
|
||||
.svelte-kit/output/server/entries/pages/connections/_page.svelte.js 132.44 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.svelte.js 145.51 kB
|
||||
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
|
||||
✓ built in 6.70s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "a3e763317497986da0e37d2a65746c238ff8e525",
|
||||
"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,53 @@
|
||||
{
|
||||
"actual_get_doc_equal": true,
|
||||
"definition_fields_notes_flow_equal": true,
|
||||
"id": 97,
|
||||
"full_name": "krea2_turbo_文生图_动漫风格2.5D半写实",
|
||||
"source_sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077",
|
||||
"representative_screenshots_visually_inspected": [
|
||||
{
|
||||
"name": "1440-97-default.png",
|
||||
"sha256": "7e7259996d052b6263b3d93861fcca58792d656ddd02950213f536307414576b"
|
||||
},
|
||||
{
|
||||
"name": "1440-97-30-value-raw.png",
|
||||
"sha256": "63a7e057a64d2f86889ada73dc0d16819147d7d057b594f45aad2dedc5f14a40"
|
||||
},
|
||||
{
|
||||
"name": "1440-97-30:51-strength_model.png",
|
||||
"sha256": "3057d5533695ad0e5c7c3437ae404dd77c8f41a0606abd5cc6a40f7a3ccb0ac8"
|
||||
},
|
||||
{
|
||||
"name": "390-97-default.png",
|
||||
"sha256": "30de33b15f4cca4165bd630603a3505b3c563565c61e217eac929e04fe572c92"
|
||||
},
|
||||
{
|
||||
"name": "390-97-30-value-raw.png",
|
||||
"sha256": "b9698ffe2325824685cf90a6d9dd40ed18f109ffa7939e04cf730df224b3f3b6"
|
||||
},
|
||||
{
|
||||
"name": "390-97-49-megapixels.png",
|
||||
"sha256": "f7f3adbee90939b4bd9557622a22605dfcf931e3ceac8398ea2615e8f1d87618"
|
||||
},
|
||||
{
|
||||
"name": "390-97-30:15-strength_model.png",
|
||||
"sha256": "e27ab6172853c6ff70a6cee37893993fa483077f47baf6b7b893785f30360e53"
|
||||
},
|
||||
{
|
||||
"name": "390-97-30:27-string_b.png",
|
||||
"sha256": "6ddda76a6dd0281b5263491fe9cb0326119c52a6e7542fac79de5db3e7ffbe66"
|
||||
},
|
||||
{
|
||||
"name": "390-97-52-note.png",
|
||||
"sha256": "b1cf683db51459469a072a0b9811b70ed70550b01e4106cd4992b9e691587250"
|
||||
},
|
||||
{
|
||||
"name": "390-97-30:15-lora_name.png",
|
||||
"sha256": "ab260b6c6a7da5789681802ddde845841138eaf131a966938ed9eddfef111b02"
|
||||
},
|
||||
{
|
||||
"name": "1440-97-30:18-value-raw.png",
|
||||
"sha256": "e1863acde1f3382be00c9a8b3e122a34a678be49a9da2b5c5cf91fa958cedbdf"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "a3e763317497986da0e37d2a65746c238ff8e525",
|
||||
"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": 63,
|
||||
"new_notes": 4,
|
||||
"old_saved": 4123,
|
||||
"old_notes": 117,
|
||||
"overviews": 82,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,997 @@
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077",
|
||||
"git_blob_sha1": "613de66d7c7c5592d8308cb7b0708066ed5aefdf",
|
||||
"fields": [
|
||||
{
|
||||
"node": 29,
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"value": "Krea2_turbo",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"value": "生成图片:【三视图】风格为2.5D图 设计人物三视图:正面全身照、侧面全身照、背面全身照,最左侧单独的上半身+头部细节展示,背景为白色,整体构图工整专业.三视图为一张图,需要全身图从脚到头,背景为白色,需要从脚到头的三视图 CG建模,古风帅哥,人物特写,面部聚焦,写实风格,冷白皮肤,光滑细腻,绝世容貌,妖冶阴柔,凤眼,清冷感,灰色发丝凌乱抚面,头发无冠无束,披着头发,华丽精致的头饰,发丝间有细碎银饰垂落,穿银白色,白色衣服,领口袖口精致华丽,有银丝和华丽装饰 氛围感,高级感,朦胧梦幻,协调",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/1",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/2",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/3",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/4",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/5",
|
||||
"value": 465840503987653,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/6",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/7",
|
||||
"value": "Krea2\\Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/8",
|
||||
"value": 1.5,
|
||||
"json_type": "float",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/9",
|
||||
"value": "semireal",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/10",
|
||||
"value": "Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/11",
|
||||
"value": "qwen3vl_4b_fp8_scaled.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 30,
|
||||
"pointer": "/nodes/4/widgets_values/12",
|
||||
"value": "qwen_image_vae.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 49,
|
||||
"pointer": "/nodes/5/widgets_values/0",
|
||||
"value": "16:9 (Widescreen)",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 49,
|
||||
"pointer": "/nodes/5/widgets_values/1",
|
||||
"value": 1.5,
|
||||
"json_type": "float",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 49,
|
||||
"pointer": "/nodes/5/widgets_values/2",
|
||||
"value": 8,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 6,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/0/widgets_values/0",
|
||||
"value": "A high-contrast, hyper-stylized fashion editorial portrait shot against a saturated mustard-yellow seamless backdrop, with the central figure rendered in crisp desaturated black-and-white, creating a striking duotone aesthetic reminiscent of David LaChapelle meets Helmut Newton with a punk-gothic edge.\n\nThe subject is a fierce young woman with a platinum-bleached, spiked liberty mohawk crown of hair, her expression cold and commanding as she stares directly into the lens. She wears a cropped black leather biker jacket exploding with oversized metallic conical studs and spikes across the shoulders, paired with a minimal black bikini bottom, sheer black thigh-high stockings, and chunky knee-high lace-up combat platform boots. Her toned, athletic physique is fully exposed at the midriff.\n\nShe sits regally upon an ornate throne carved in the shape of a snarling, fanged beast's head — part dragon, part demonic feline — its silver-grey surface intricately detailed with bones, scales, and gothic ornamentation. Her booted foot rests on a battered metal road case wrapped in heavy chains and covered in stickers and band decals.\n\nIn her right hand she grips a massive medieval war scythe, its long wooden shaft wrapped in leather, the enormous curved blade arcing dramatically over her head. Perched on her left fist, talons gripping her knuckles, is a majestic American bald eagle with pristine white head feathers and a sharp yellow beak, staring off to the side with predatory alertness.\n\nStudio lighting is hard and theatrical, casting crisp shadows. The composition is symmetrical, iconic, and poster-like — punk rock goddess of war meets American mythology. Hyperrealistic, high-fashion photography, 8k, sharp detail, magazine cover quality.",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 5,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/0",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 5,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/1",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 5,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/2",
|
||||
"value": 1,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 10,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/0",
|
||||
"value": "krea2\\krea2_turbo_int8_convrot.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 10,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/1",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 11,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/0",
|
||||
"value": "qwen3vl_4b_fp8_scaled.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 11,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/1",
|
||||
"value": "krea2",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 11,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/2",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 12,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/0",
|
||||
"value": "qwen_image_vae.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/0",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/1",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/2",
|
||||
"value": "on",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/3",
|
||||
"value": 0.7,
|
||||
"json_type": "float",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/4",
|
||||
"value": 64,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/5",
|
||||
"value": 0.95,
|
||||
"json_type": "float",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/6",
|
||||
"value": 0.05,
|
||||
"json_type": "float",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/7",
|
||||
"value": 1.05,
|
||||
"json_type": "float",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/8",
|
||||
"value": 0,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/9",
|
||||
"value": 0,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/10",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 16,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/7/widgets_values/11",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 18,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/8/widgets_values/0",
|
||||
"value": "You are an expert prompt engineer for text-to-image models. Your task is to expand the user's prompt into a highly effective image-generation prompt.\n\nThink step by step about the request before writing the answer:\n- What is the subject and mood?\n- What visual styles, mediums, and lighting options would fit? Consider two or three alternatives and pick the one that best serves the caption.\n- What composition, framing, and grounded details will help the text-to-image model?\n\nThen output a single expanded prompt paragraph.\n\nFollow these rules strictly:\n1. **Faithfulness First:** Preserve all original subjects, actions, colors, and spatial relationships. Do not add new objects, props, characters, or animals unless the user clearly implies them.\n2. **Practical T2I Structure:** Write a prompt that a text-to-image model can parse cleanly. Group subjects with their own attributes and actions. Use grounded phrasing for poses, interactions, and spatial layout.\n3. **Style Planning Stays Internal:** Use your internal reasoning to choose style, medium, framing, and lighting. Do not emit planning tags or wrappers in the visible answer body.\n4. **Text Rendering:** If the user requests visible text, quotes, labels, or typography, specify the exact text clearly and wrap requested words in quotes.\n5. **Avoid Over-Specification:** Do not invent highly specific clothing, colors, materials, or scene details unless the input supports them.\n6. **Structure:** Write one cohesive paragraph after the thinking block. No bullets, JSON, or markdown.\n7. **Respect Existing Detail:** If the user's prompt is already detailed, lightly polish and finalize rather than heavily expanding — preserve their phrasing and direction.\n8. **Respect the Human Form:** Treat depictions of people with dignity. Assume clothing covers genitals and intimate anatomy.\n9. **Preserve User Medium:** When the user explicitly requests a medium (e.g. \"photo of\", \"photograph of\", \"illustration of\", \"painting of\", \"sketch of\", \"3D render of\"), honor it. Do not pivot to a different medium to avoid difficulty — match the user's stated intent.\n\nUser's Input:\n\n",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 19,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/9/widgets_values/0",
|
||||
"value": "生成图片:【三视图】风格为2.5D图 设计人物三视图:正面全身照、侧面全身照、背面全身照,最左侧单独的上半身+头部细节展示,背景为白色,整体构图工整专业.三视图为一张图,需要全身图从脚到头,背景为白色,需要从脚到头的三视图 CG建模,古风帅哥,人物特写,面部聚焦,写实风格,冷白皮肤,光滑细腻,绝世容貌,妖冶阴柔,凤眼,清冷感,灰色发丝凌乱抚面,头发无冠无束,披着头发,华丽精致的头饰,发丝间有细碎银饰垂落,穿银白色,白色衣服,领口袖口精致华丽,有银丝和华丽装饰 氛围感,高级感,朦胧梦幻,协调",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 21,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/11/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 22,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/12/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 23,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/13/widgets_values/0",
|
||||
"value": true,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 27,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/14/widgets_values/0",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 27,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/14/widgets_values/1",
|
||||
"value": "semireal",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 27,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/14/widgets_values/2",
|
||||
"value": ", ",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 28,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/15/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 17,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/16/widgets_values/0",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 17,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/16/widgets_values/1",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 17,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/16/widgets_values/2",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 24,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/17/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 15,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/18/widgets_values/0",
|
||||
"value": "Krea2\\Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 15,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/18/widgets_values/1",
|
||||
"value": 1.5,
|
||||
"json_type": "float",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 51,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/0",
|
||||
"value": "Krea2\\Krea2_Enhancer_增强.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 51,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/19/widgets_values/1",
|
||||
"value": 1,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/0",
|
||||
"value": 465840503987653,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/1",
|
||||
"value": "randomize",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/2",
|
||||
"value": 8,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/3",
|
||||
"value": 1,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/4",
|
||||
"value": "euler",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/5",
|
||||
"value": "simple",
|
||||
"json_type": "str",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 3,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/20/widgets_values/6",
|
||||
"value": 1,
|
||||
"json_type": "int",
|
||||
"scope": "/definitions/subgraphs/0",
|
||||
"named": null
|
||||
}
|
||||
],
|
||||
"empty": [
|
||||
{
|
||||
"node": 8,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/2",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 13,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/6",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 20,
|
||||
"pointer": "/definitions/subgraphs/0/nodes/10",
|
||||
"state": "empty_list"
|
||||
}
|
||||
],
|
||||
"notes": [
|
||||
{
|
||||
"node": 47,
|
||||
"pointer": "/nodes/0/widgets_values/0",
|
||||
"text": "Download the style LoRAs used in this workflow from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras). Place the `.safetensors` files in `ComfyUI/models/loras/`.\n\n| LoRA | Trigger Words | Recommended Strength |\n|------------------------|--------------------------------------|-------|\n| `krea2_darkbrush` | `monochrome ink wash style` | `1.0` |\n| `krea2_dotmatrix` | `monochrome stippling style` | `1.0` |\n| `krea2_kidsdrawing` | `naive expressive sketch style` | `1.0` |\n| `krea2_neondrip` | `textured abstract style` | `1.0` |\n| `krea2_rainywindow` | `rainy window style` | `1.0` |\n| `krea2_retroanime` | `purple retro anime style` | `1.0` |\n| `krea2_softwatercolor` | `art deco watercolor style` | `1.0` |\n| `krea2_sunsetblur` | `ethereal motion blur style` | `1.0` |\n| `krea2_vintagetarot` | `vintage tarot style` | `1.0` |",
|
||||
"characters": 1023
|
||||
},
|
||||
{
|
||||
"node": 48,
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"text": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\nFor BF16 and NVFP4 variants, see [Comfy-Org/Krea-2](https://huggingface.co/Comfy-Org/Krea-2)\n\n**diffusion_models**\n\n- [krea2_turbo_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/diffusion_models/krea2_turbo_fp8_scaled.safetensors)\n\n**text_encoders**\n\n- [qwen3vl_4b_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/text_encoders/qwen3vl_4b_fp8_scaled.safetensors)\n\n**vae**\n\n- [qwen_image_vae.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/vae/qwen_image_vae.safetensors)\n\n**loras**\n\n- [krea2_darkbrush.safetensors](https://huggingface.co/Comfy-Org/Krea-2/resolve/main/loras/krea2_darkbrush.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── krea2_turbo_fp8_scaled.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── qwen3vl_4b_fp8_scaled.safetensors\n│ ├── 📂 vae/\n│ │ └── qwen_image_vae.safetensors\n│ └── 📂 loras/\n│ └── krea2_darkbrush.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",
|
||||
"characters": 1657
|
||||
},
|
||||
{
|
||||
"node": 50,
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"text": "Guide: [krea-2](https://docs.comfy.org/tutorials/image/krea/krea-2)\n\nThis workflow generates images with **Krea-2 Turbo**, a fast distilled text-to-image model. The workflow is organized into a few parts: each handles a different step so you can generate quickly without digging through every node.\n\n## Text to Image (Krea-2 Turbo) Subgraph\n\nDouble-click this node to open the full pipeline. Inside, the canvas is grouped into several areas:\n\n**Models**: Loads the diffusion model, text encoder, VAE, and optional style LoRA (`LoraLoaderModelOnly`).\n\n**Prompt**: Enter your image description in **Text String (User Prompt)**.\n\n**Prompt Enhancement**: Expands your prompt before generation. Enabled by default (`prompt_enhance`). You can turn it off to use your prompt as-is, or replace the built-in module with **OpenAI** or **Gemini** API nodes.\n\n**Feature Switch**: Quick toggles on the left side of the subgraph:\n- `prompt_enhance`: enable or disable prompt expansion\n- `enable_lora?`: enable or disable the style LoRA\n\n**Image Generation**: Handles latent sizing, sampling (8 steps), and VAE decode to produce the final image.\n\nWhen using a LoRA, set `enable_lora?` to true, select the matching file in **LoraLoaderModelOnly**, and adjust `lora_strength` as needed.\n\n## LoRA & Trigger Word (CustomCombo)\n\nOn the main canvas, the **CustomCombo** node is where you choose which style LoRA you are using (e.g. `krea2_coolblue`, `krea2_darkbrush`). The workflow uses your selection to automatically append the correct **trigger word** to your prompt.\n\n- Download LoRA files from [Comfy-Org/Krea-2/loras](https://huggingface.co/Comfy-Org/Krea-2/tree/main/loras) and place them in `ComfyUI/models/loras/`\n- Select the LoRA name that matches the file loaded inside the subgraph\n- The trigger word is applied for you: no need to type it manually\n- For trigger words and recommended strength values, see the **LoRA Trigger Words and Settings** note beside this workflow\n",
|
||||
"characters": 1965
|
||||
},
|
||||
{
|
||||
"node": 52,
|
||||
"pointer": "/nodes/6/widgets_values/0",
|
||||
"text": "1、需要自动提示词的,就开启提示词增强\n2、需要lora,就开启lora选项\n3、调整lora强调,调整风格控制强度\n4、风格触发词不要修改",
|
||||
"characters": 70
|
||||
}
|
||||
],
|
||||
"scopes": [
|
||||
{
|
||||
"pointer": "/",
|
||||
"nodes": 7,
|
||||
"edges": 3,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 0
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0",
|
||||
"nodes": 21,
|
||||
"edges": 40,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 0
|
||||
}
|
||||
],
|
||||
"extra": {
|
||||
"frontendVersion": "1.45.19",
|
||||
"VHS_latentpreview": false,
|
||||
"VHS_latentpreviewrate": 0,
|
||||
"VHS_MetadataImage": true,
|
||||
"VHS_KeepIntermediate": true,
|
||||
"ue_links": [],
|
||||
"links_added_by_ue": [],
|
||||
"ds": {
|
||||
"scale": 1.3530948690054627,
|
||||
"offset": [
|
||||
847.9546965015924,
|
||||
-135.51962660181775
|
||||
]
|
||||
}
|
||||
},
|
||||
"hosts": [
|
||||
{
|
||||
"id": 30,
|
||||
"type": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
|
||||
"pos": [
|
||||
-140,
|
||||
-110
|
||||
],
|
||||
"size": [
|
||||
540,
|
||||
910
|
||||
],
|
||||
"flags": {
|
||||
"pinned": true
|
||||
},
|
||||
"order": 5,
|
||||
"mode": 0,
|
||||
"inputs": [
|
||||
{
|
||||
"name": "value",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "value"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"label": "prompt_enhance",
|
||||
"name": "value_1",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "value_1"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"label": "LLM_max_token",
|
||||
"name": "max_length",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_length"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "width"
|
||||
},
|
||||
"link": 69
|
||||
},
|
||||
{
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "height"
|
||||
},
|
||||
"link": 71
|
||||
},
|
||||
{
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"label": "enable_lora?",
|
||||
"name": "value_2",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "value_2"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "lora_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "lora_name"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"label": "lora_strength",
|
||||
"name": "strength_model",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "strength_model"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"label": "lora_trigger_word",
|
||||
"name": "string_b",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "string_b"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "unet_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "unet_name"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "clip_name"
|
||||
},
|
||||
"link": null
|
||||
},
|
||||
{
|
||||
"name": "vae_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "vae_name"
|
||||
},
|
||||
"link": null
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"localized_name": "IMAGE",
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"links": [
|
||||
44
|
||||
]
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"cnr_id": "comfy-core",
|
||||
"ver": "0.25.0",
|
||||
"previewExposures": [
|
||||
{
|
||||
"name": "$$canvas-image-preview",
|
||||
"sourceNodeId": "3",
|
||||
"sourcePreviewName": "$$canvas-image-preview"
|
||||
}
|
||||
],
|
||||
"ue_properties": {
|
||||
"widget_ue_connectable": {
|
||||
"value_1": true,
|
||||
"max_length": true,
|
||||
"width": true,
|
||||
"height": true,
|
||||
"value_2": true,
|
||||
"strength_model": true,
|
||||
"string_b": true
|
||||
},
|
||||
"version": "7.8",
|
||||
"input_ue_unconnectable": {}
|
||||
}
|
||||
},
|
||||
"widgets_values": [
|
||||
"生成图片:【三视图】风格为2.5D图 设计人物三视图:正面全身照、侧面全身照、背面全身照,最左侧单独的上半身+头部细节展示,背景为白色,整体构图工整专业.三视图为一张图,需要全身图从脚到头,背景为白色,需要从脚到头的三视图 CG建模,古风帅哥,人物特写,面部聚焦,写实风格,冷白皮肤,光滑细腻,绝世容貌,妖冶阴柔,凤眼,清冷感,灰色发丝凌乱抚面,头发无冠无束,披着头发,华丽精致的头饰,发丝间有细碎银饰垂落,穿银白色,白色衣服,领口袖口精致华丽,有银丝和华丽装饰 氛围感,高级感,朦胧梦幻,协调",
|
||||
false,
|
||||
512,
|
||||
1024,
|
||||
1024,
|
||||
465840503987653,
|
||||
true,
|
||||
"Krea2\\Krea2_Semi_Real_Anime_V2_2.5D半写实.safetensors",
|
||||
1.5,
|
||||
"semireal",
|
||||
"Krea2\\krea2_turbo_int8_convrot.safetensors",
|
||||
"qwen3vl_4b_fp8_scaled.safetensors",
|
||||
"qwen_image_vae.safetensors"
|
||||
]
|
||||
}
|
||||
],
|
||||
"definition_boundary": [
|
||||
{
|
||||
"id": "b0e5ca93-2731-42b9-8e0a-d28ea851ff81",
|
||||
"inputNode": {
|
||||
"id": -10,
|
||||
"bounding": [
|
||||
-1720,
|
||||
410,
|
||||
146.466796875,
|
||||
308
|
||||
]
|
||||
},
|
||||
"outputNode": {
|
||||
"id": -20,
|
||||
"bounding": [
|
||||
1560,
|
||||
496,
|
||||
128,
|
||||
68
|
||||
]
|
||||
},
|
||||
"inputs": [
|
||||
{
|
||||
"id": "b0f5c754-5322-440c-8c1c-ba732e910d33",
|
||||
"name": "value",
|
||||
"type": "STRING",
|
||||
"linkIds": [
|
||||
45
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
434
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "47b0e74d-ef80-4423-a7a6-9bd1673092bb",
|
||||
"name": "value_1",
|
||||
"type": "BOOLEAN",
|
||||
"linkIds": [
|
||||
46
|
||||
],
|
||||
"label": "prompt_enhance",
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
454
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "5fc735ae-a50b-4363-bff9-850030ad5dd5",
|
||||
"name": "max_length",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
49
|
||||
],
|
||||
"label": "LLM_max_token",
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
474
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "2d1c0f16-25d7-46d1-b774-e6b5519810ae",
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
50
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
494
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "8bb87b44-fecc-46d7-bdae-642002250a43",
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
51
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
514
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "75652c4f-cde2-4ad7-b322-73d47b533ef8",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"linkIds": [
|
||||
56
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
534
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "b0ca5f55-a223-40de-9e37-aaf2cf0904dd",
|
||||
"name": "value_2",
|
||||
"type": "BOOLEAN",
|
||||
"linkIds": [
|
||||
57
|
||||
],
|
||||
"label": "enable_lora?",
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
554
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "eb2e846b-2e6c-49a2-bc56-9c772c8a1862",
|
||||
"name": "lora_name",
|
||||
"type": "COMBO",
|
||||
"linkIds": [
|
||||
58
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
574
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "d2693bbb-bb95-4fb1-9a3d-27a1bb0b664b",
|
||||
"name": "strength_model",
|
||||
"type": "FLOAT",
|
||||
"linkIds": [
|
||||
59
|
||||
],
|
||||
"label": "lora_strength",
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
594
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "e2031135-b490-4909-b1ec-6b00aecf819e",
|
||||
"name": "string_b",
|
||||
"type": "STRING",
|
||||
"linkIds": [
|
||||
60
|
||||
],
|
||||
"label": "lora_trigger_word",
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
614
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "14e2eb6a-5fa1-40c9-81d1-a928360fcd80",
|
||||
"name": "unet_name",
|
||||
"type": "COMBO",
|
||||
"linkIds": [
|
||||
61
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
634
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "e27ba0c5-697f-44f4-b475-c2dcfa594724",
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"linkIds": [
|
||||
62
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
654
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "75c25d8e-b881-46e4-aca7-d2ada9e147d0",
|
||||
"name": "vae_name",
|
||||
"type": "COMBO",
|
||||
"linkIds": [
|
||||
63
|
||||
],
|
||||
"pos": [
|
||||
-1597.533203125,
|
||||
674
|
||||
]
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"id": "e4073813-752d-4584-96b5-6e42eac355dd",
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE",
|
||||
"linkIds": [
|
||||
43
|
||||
],
|
||||
"localized_name": "IMAGE",
|
||||
"pos": [
|
||||
1584,
|
||||
520
|
||||
]
|
||||
}
|
||||
],
|
||||
"widgets": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
"Independent original bytes and every physical boundary; no layout mapping."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PATH = "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json"
|
||||
|
||||
|
||||
def inventory():
|
||||
raw = (ROOT / PATH).read_bytes()
|
||||
g = json.loads(raw)
|
||||
(fields, empty, notes, scopes) = ([], [], [], [])
|
||||
graphs = [("", g)] + [
|
||||
(f"/definitions/subgraphs/{i}", s)
|
||||
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
|
||||
]
|
||||
for prefix, graph in graphs:
|
||||
scopes.append(
|
||||
dict(
|
||||
pointer=prefix or "/",
|
||||
nodes=len(graph["nodes"]),
|
||||
edges=len(graph["links"]),
|
||||
modes=[n["mode"] for n in graph["nodes"]],
|
||||
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
|
||||
)
|
||||
)
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
p = f"{prefix}/nodes/{i}"
|
||||
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
|
||||
empty.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p,
|
||||
state="missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list",
|
||||
)
|
||||
)
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
notes.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
characters=len(n["widgets_values"][0]),
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, v in enumerate(n.get("widgets_values") or []):
|
||||
fields.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=f"{p}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
scope="root" if not prefix else prefix,
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
path=PATH,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
|
||||
fields=fields,
|
||||
empty=empty,
|
||||
notes=notes,
|
||||
scopes=scopes,
|
||||
extra=g["extra"],
|
||||
hosts=[n for n in g["nodes"] if n["id"] in [30]],
|
||||
definition_boundary=[
|
||||
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
|
||||
for s in g.get("definitions", {}).get("subgraphs", [])
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "24c42e9e11ef5f6336dbeb1e9577ebd333d674cde42b0922ddb4545e89330798",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 82
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "41de6f8dda20158db4ee092a58d41d647ef24d23f9c44e910a28447b4b9fe78c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 82
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 82
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json": "61024a44d349af1626e290728212e388eff99701d7d4ad84caadb5c0d738e599"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"port": 8247,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
},
|
||||
{
|
||||
"port": 5173,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,63 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "a3e763317497986da0e37d2a65746c238ff8e525"
|
||||
RESOURCE = "calliope-backend/src/calliope/" + "co" + "mfyui/source_reviews.json"
|
||||
|
||||
|
||||
def build_all():
|
||||
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
|
||||
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
|
||||
for i, path in enumerate(PATHS):
|
||||
block = build(i)
|
||||
assert reviews[path]["source_sha"] == block["source_sha1"]
|
||||
assert "fixed_version_document" not in previous[path]
|
||||
reviews[path]["fixed_version_document"] = block
|
||||
return (reviews, previous)
|
||||
|
||||
|
||||
def main():
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
(reviews, _previous) = build_all()
|
||||
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
|
||||
pins = {}
|
||||
for i, path in enumerate(PATHS):
|
||||
block = reviews[path]["fixed_version_document"]
|
||||
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
|
||||
(OUT / f"definition-{i}.json").write_text(
|
||||
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
module = REPO / ("calliope-backend/src/calliope/" + "co" + "mfyui/fixed_document.py")
|
||||
text = module.read_text()
|
||||
for path, digest in pins.items():
|
||||
old_block = current[path].get("fixed_version_document")
|
||||
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
|
||||
if old_digest and old_digest in text:
|
||||
text = text.replace(old_digest, digest)
|
||||
elif digest in text:
|
||||
pass
|
||||
else:
|
||||
text = text.replace(
|
||||
"DEFINITIONS = {",
|
||||
"DEFINITIONS = {\n (\n"
|
||||
+ "".join(
|
||||
(" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41))
|
||||
)
|
||||
+ " ): "
|
||||
+ repr(digest)
|
||||
+ ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print(("PASS one new definition; other 155 reviews and old 81 blocks unchanged"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,368 @@
|
||||
"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) == 81
|
||||
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())) == 4123
|
||||
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": 81,
|
||||
"old_saved": 4123,
|
||||
"old_notes": 117,
|
||||
"new_saved": 63,
|
||||
"new_notes": 4,
|
||||
"total_documents": 82,
|
||||
"total_saved": 4186,
|
||||
"total_notes": 121,
|
||||
},
|
||||
)
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
work = Path(directory)
|
||||
old = work / "old"
|
||||
old.mkdir()
|
||||
data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO)
|
||||
with tarfile.open(fileobj=io.BytesIO(data)) as a:
|
||||
a.extractall(old, filter="data")
|
||||
db = work / "library.db"
|
||||
|
||||
def run(name, historical=False):
|
||||
out = work / name
|
||||
env = {
|
||||
**os.environ,
|
||||
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
|
||||
}
|
||||
subprocess.run(
|
||||
[
|
||||
sys.executable,
|
||||
"-m",
|
||||
"calliope.comfyui.library_cli",
|
||||
"import",
|
||||
"--root",
|
||||
str(REPO / "example_ComfyUI_workflows"),
|
||||
"--db",
|
||||
str(db),
|
||||
"--source-commit",
|
||||
BASE,
|
||||
"--companions",
|
||||
str(REPO / ("docs/hel-892/supplied-api/mani" + "fe" + "st.json")),
|
||||
"--output-dir",
|
||||
str(out),
|
||||
],
|
||||
cwd=REPO,
|
||||
env=env,
|
||||
check=True,
|
||||
stdout=subprocess.DEVNULL,
|
||||
)
|
||||
return (json.loads((out / "import_report.json").read_bytes()), out)
|
||||
|
||||
def rows():
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
return {
|
||||
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
|
||||
}
|
||||
|
||||
(first, _) = run("historical", True)
|
||||
before = rows()
|
||||
assert first["counts"] == {"imported": 155, "user_excluded": 1}
|
||||
assert all(
|
||||
(
|
||||
"fixed_version" in json.loads(before[p]["doc_json"])
|
||||
if BASE.startswith("3c307e0")
|
||||
else "fixed_version" not in json.loads(before[p]["doc_json"])
|
||||
for p in PATHS
|
||||
)
|
||||
)
|
||||
assert all(
|
||||
(
|
||||
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
|
||||
for p in DEFINITIONS
|
||||
if p not in PATHS
|
||||
)
|
||||
)
|
||||
original = db
|
||||
protected = []
|
||||
|
||||
def protect(name):
|
||||
nonlocal db
|
||||
db = work / (name + ".db")
|
||||
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
|
||||
src.backup(dst)
|
||||
for p in PATHS:
|
||||
dst.execute(
|
||||
"UPDATE workflows SET descripti" + "on" + "=? WHERE source_repo_path=?",
|
||||
(name, p),
|
||||
)
|
||||
snapshot = rows()
|
||||
(r, _) = run(name)
|
||||
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
|
||||
assert rows() == snapshot and all((len(snapshot[p]) == 29 for p in PATHS))
|
||||
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
|
||||
db = original
|
||||
|
||||
protect("user-before")
|
||||
(upgrade, exported) = run("upgrade")
|
||||
after = rows()
|
||||
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
|
||||
for p, row in after.items():
|
||||
if p not in PATHS:
|
||||
assert row == before[p]
|
||||
continue
|
||||
assert len(row) == 29
|
||||
assert all(
|
||||
(
|
||||
row[k] == before[p][k]
|
||||
for k in row.keys()
|
||||
- {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
|
||||
)
|
||||
)
|
||||
d = json.loads(row["doc_json"])
|
||||
assert d["fixed_version"]["matched"]
|
||||
old_doc = json.loads(before[p]["doc_json"])
|
||||
without = dict(d)
|
||||
fixed = without.pop("fixed_version")
|
||||
generic = [
|
||||
f"打开源工作流 {p},逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。",
|
||||
]
|
||||
offset = old_doc["steps"].index(generic[0])
|
||||
assert old_doc["steps"][offset : offset + 3] == generic
|
||||
assert (
|
||||
without["steps"]
|
||||
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
|
||||
)
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
old_doc.pop("fixed_version", None)
|
||||
assert without == old_doc
|
||||
write("actual-" + Path(p).stem + ".json", d)
|
||||
(repeat, _) = run("repeat")
|
||||
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
r = rollback_batch(c, upgrade["batch_id"])
|
||||
assert len(r["files"]) == 1 and all((f["result"] == "restored" for f in r["files"]))
|
||||
assert rows() == before
|
||||
(redo, _) = run("redo")
|
||||
assert redo["counts"] == upgrade["counts"]
|
||||
protect("user-after")
|
||||
db = work / "fresh.db"
|
||||
(fresh, exported) = run("fresh")
|
||||
(fresh_repeat, _) = run("fresh-repeat")
|
||||
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
|
||||
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
|
||||
companion = 0
|
||||
for row in rows().values():
|
||||
d = json.loads(row["doc_json"])
|
||||
companion += sum(
|
||||
(p.get("value_origin") == "supplied_api_companion" for p in d["params"])
|
||||
)
|
||||
assert (
|
||||
not row["is_enabled"]
|
||||
and row["doc_completed_at"] is None
|
||||
and (row["exec_verified_at"] is None)
|
||||
)
|
||||
assert not d["status"]["doc_done"] and (not d["status"]["exec_verified"])
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
report = audit(REPO, exported)
|
||||
assert (
|
||||
report["named_values_preserved"] == 1217
|
||||
and report["unnamed_widget_nodes"] == 3660
|
||||
and (companion == 294)
|
||||
)
|
||||
assert report["full_documents_completed"] == report["real_executions"] == 0
|
||||
write("audit-summary.json", {k: v for (k, v) in report.items() if k != "files"})
|
||||
write(
|
||||
"import-protection.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"first": first["counts"],
|
||||
"upgrade": upgrade["counts"],
|
||||
"repeat": repeat["counts"],
|
||||
"restored_rows": 1,
|
||||
"untouched_whole_rows": 154,
|
||||
"eligibility_unchanged": True,
|
||||
"redo": redo["counts"],
|
||||
"user_protection": protected,
|
||||
"fresh": fresh["counts"],
|
||||
"fresh_repeat": fresh_repeat["counts"],
|
||||
"states": fresh["states"],
|
||||
"source_named_fields": 1217,
|
||||
"positional_widgets": 3660,
|
||||
"companion_values": companion,
|
||||
"new_saved": 63,
|
||||
"new_notes": 4,
|
||||
"old_saved": 4123,
|
||||
"old_notes": 117,
|
||||
"overviews": 82,
|
||||
"all_disabled": True,
|
||||
"doc_done": 0,
|
||||
"executed": 0,
|
||||
},
|
||||
)
|
||||
old_reviews = json.loads(
|
||||
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
|
||||
)
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
for p in PATHS:
|
||||
current[p].pop("fixed_version_document")
|
||||
old_reviews[p].pop("fixed_version_document", None)
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(
|
||||
REPO / ("docs/hel-892/h3-document-evide" + "nc" + "e/unchanged-boundaries.json")
|
||||
).read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ ["calliope-backend/src/calliope/co" + "mfyui/library.py"]
|
||||
)
|
||||
kept = []
|
||||
for p in paths:
|
||||
raw = (REPO / p).read_bytes()
|
||||
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
|
||||
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
|
||||
ui = "calliope-web/src/lib/component" + "s/" + "WorkflowDocumentDrawer.svelte"
|
||||
drawer_bytes = (REPO / ui).read_bytes()
|
||||
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
|
||||
write(
|
||||
"boundaries.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": kept,
|
||||
"originals": 156,
|
||||
"old_blocks_unchanged": 81,
|
||||
"drawer_css_unchanged": True,
|
||||
"drawer_whole_file_unchanged": True,
|
||||
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
|
||||
"conversion_rerun": False,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged",
|
||||
},
|
||||
)
|
||||
tracked = (
|
||||
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
|
||||
.decode()
|
||||
.rstrip("\x00")
|
||||
.split("\x00")
|
||||
)
|
||||
frozen = [
|
||||
p
|
||||
for p in tracked
|
||||
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
|
||||
or (
|
||||
p.startswith("calliope-backend/src/calliope/" + "co" + "mfyui/")
|
||||
and p
|
||||
not in [RESOURCE, "calliope-backend/src/calliope/" + "co" + "mfyui/fixed_document.py"]
|
||||
)
|
||||
]
|
||||
for p in frozen:
|
||||
assert (REPO / p).read_bytes() == subprocess.check_output(
|
||||
["git", "show", f"{BASE}:{p}"], cwd=REPO
|
||||
)
|
||||
write(
|
||||
"frozen-resource-check.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": [
|
||||
{"path": p, "sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest()}
|
||||
for p in frozen
|
||||
],
|
||||
"original_files": sum((p.startswith("example_ComfyUI_workflows/") for p in frozen)),
|
||||
"all_unchanged": True,
|
||||
},
|
||||
)
|
||||
packages = []
|
||||
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
|
||||
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
|
||||
raw = (REPO / ("calliope-backend/src/calliope/" + "co" + "mfyui") / name).read_bytes()
|
||||
assert w.read("calliope/comfyui/" + name) == raw
|
||||
member = next((n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name)))
|
||||
assert s.extractfile(member).read() == raw
|
||||
packages.append(
|
||||
{
|
||||
"file": name,
|
||||
"sha256": hashlib.sha256(raw).hexdigest(),
|
||||
"wheel": True,
|
||||
"sdist": True,
|
||||
"definitions": 82,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
(
|
||||
f"PASS actual {BASE} upgrade1/skip154, "
|
||||
f"repeat155, "
|
||||
f"rollback1, "
|
||||
f"edits1/29cols, "
|
||||
f"fresh155, "
|
||||
f"1217/3660/294, "
|
||||
f"82 definitions, "
|
||||
f"frozen boundaries, "
|
||||
f"wheel/sdist"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact identities,63 scalar positions,4 full notes,43 edge/boundary records,13 boundary inputs,CLIP enum conflict
|
||||
PASS actual a3e763317497986da0e37d2a65746c238ff8e525 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 82 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,138 @@
|
||||
"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 = [
|
||||
"# Krea2Turbo动漫风格2.5D半写实固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增63保存位置/4注释;旧81块4123位"
|
||||
"置+117源注释不变,82图4186位置+1"
|
||||
"21注释仅参考;155定稿0/实跑0/新增转"
|
||||
"换0。"
|
||||
),
|
||||
"",
|
||||
("来源local_file以docs/hel-892/krea-semireal-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']};"
|
||||
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
)
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += [""]
|
||||
lines += ["### 零保存节点与源注释", ""]
|
||||
for z in b["zero_saved_nodes"]:
|
||||
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
|
||||
for n in b["comments"]:
|
||||
lines += [
|
||||
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
|
||||
"",
|
||||
n["meaning"],
|
||||
"",
|
||||
"```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']};"
|
||||
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index.append(dict(document=b["source_path"], **e))
|
||||
(OUT.parent / "Krea2Turbo动漫风格2.5D半写实固定参考中文说明.md").write_text(
|
||||
"\n".join(lines).rstrip() + "\n"
|
||||
)
|
||||
(OUT / "fixed-source-index.json").write_text(
|
||||
json.dumps(index, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,47 @@
|
||||
"Compare deterministic definitions and rendered artifacts."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REPO, canonical
|
||||
from rebuild import RESOURCE, build_all
|
||||
from render_report import main as render
|
||||
|
||||
|
||||
def main():
|
||||
(a, old) = build_all()
|
||||
(b, previous) = build_all()
|
||||
assert a == b and old == previous
|
||||
assert a == json.loads((REPO / RESOURCE).read_bytes())
|
||||
render()
|
||||
paths = [
|
||||
OUT / "fixed-source-index.json",
|
||||
OUT.parent / "Krea2Turbo动漫风格2.5D半写实固定参考中文说明.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": 82,
|
||||
"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": 82,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "efc61c9512c76250f6585336058579bac35e74bdeb4deee506b6a8e15cb4e56c",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "078dcebc2f43e529b57c3dd17f6246e26e09e46b0af5ef73ff415c2fb6d3cca9",
|
||||
"Krea2Turbo动漫风格2.5D半写实固定参考中文说明.md": "c25a688cb03238096bb5445539fafdb85cfc08332a748b84cc643d7635485998"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "a3e763317497986da0e37d2a65746c238ff8e525",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 81,
|
||||
"old_saved": 4123,
|
||||
"old_notes": 117,
|
||||
"new_saved": 63,
|
||||
"new_notes": 4,
|
||||
"total_documents": 82,
|
||||
"total_saved": 4186,
|
||||
"total_notes": 121
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
All checks passed!
|
||||
@@ -0,0 +1,285 @@
|
||||
INFO: Started server process [1296892]
|
||||
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:45494 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45506 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45504 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45510 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45508 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45524 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45526 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:46622 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46632 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46640 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55576 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55584 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55598 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55614 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55616 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55624 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55636 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55652 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55662 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55666 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55680 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55694 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55700 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55708 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55720 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55724 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55378 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55388 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55404 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55414 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55424 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55428 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55436 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55446 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55462 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55464 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55472 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55482 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55490 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55496 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55506 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55522 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55538 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55550 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55556 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55572 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55584 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55596 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55600 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55604 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55608 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55618 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47060 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47066 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47080 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47084 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47086 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47094 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47106 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47108 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47118 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47134 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47148 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47156 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47162 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47166 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47176 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:47178 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47188 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47198 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:47208 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47222 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47236 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47250 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47258 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47260 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47268 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47270 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47282 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:47298 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56380 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56386 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56394 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56396 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56398 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56404 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56406 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56418 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56432 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56448 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56454 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56460 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56470 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56478 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56486 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56488 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56492 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56500 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56504 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56508 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53458 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53474 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53482 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52412 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52416 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52432 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52440 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52454 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52460 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:52466 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52482 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52492 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:52496 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52508 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52522 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52524 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52540 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52548 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52554 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52558 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52568 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52580 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52596 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52600 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52608 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52624 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52638 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50890 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50894 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50900 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50902 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50918 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:50924 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50930 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50940 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:50948 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50958 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50974 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50982 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50986 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50996 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50998 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51006 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51008 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51022 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51036 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51050 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51056 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51060 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51076 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51090 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51094 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51108 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51120 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38606 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38622 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38638 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38652 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38656 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38666 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38680 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38686 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38696 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38700 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38710 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38714 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38720 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38732 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38746 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38754 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38770 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38772 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38782 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38796 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38804 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38812 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38826 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38830 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38846 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38862 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38864 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38868 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42364 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42378 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42394 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42406 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42420 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42432 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42444 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42458 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42468 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42484 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42494 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42496 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42500 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [1296892]
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
VITE v6.4.3 ready in 284 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
➜ press h + enter to show help
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,235 @@
|
||||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "nodes.py",
|
||||
"sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "folder_paths.py",
|
||||
"sha256": "380961714742085363301f980a6c9458f36aca05b1e36ed9b8afa3fb64ccdb50",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_string.py",
|
||||
"sha256": "3a335dab4b6fb09c9de0eba1e6f14de49e998726c58da7e350b56f9c5e878c95",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"sha256": "6a6d5cd4c983ed16296cd2ec5f84dc6244c0dd25d29137e1c0318418976e3cec",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_logic.py",
|
||||
"sha256": "285c1f5e944cd991ffc3527bfc10e168082d8aceed3fe562421aa85449349f57",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_resolution.py",
|
||||
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_preview_any.py",
|
||||
"sha256": "06539abd0ccfd7d85503b87cf416948ee2eca80dec6dac35dfc8710f3b493a8a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_extras/nodes_textgen.py",
|
||||
"sha256": "e6577f5791db4d34cecf56cfc7e2776388d2994aa602acf5765d035d1241d8a2",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy/samplers.py",
|
||||
"sha256": "d882256ae9baa1d23f1367ab2ec3b021fdc15fe39ce4cb49ea2c1ee10026a649",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "package.json",
|
||||
"sha256": "43d7fba4cb066a6877e84b1b7f1bd18b00232da91f1f8a133c13a24bcea25f25",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"sha256": "46bdafbd992ad8c0bca4dd7668a0456d320710f744bf64d0e022abc1e4bb00e0",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "pnpm-workspace.yaml",
|
||||
"sha256": "2666dae4e1223d80b7b497aced7d1c5b5080e364411ce23d91b9f63dde13a1a7",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"sha256": "3b61597c3e204f0de91a2e7245d9c04ffea041e5564f0e16a9092683e7b6bdd6",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"sha256": "824f0b8029b2ec69a4de72b81c1beb9fbfd27f6c9c593b87cfad44abfd991a4c",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/litegraph.ts",
|
||||
"sha256": "82533ee983f0cc30213da55dbd16a7a18475939f61d2551c49b3b51af63aeeaf",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "d7c22582f6a0a5c05521d8b848a04a21e0d6df3339401be746b252b8d0ac5588",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LGraph.ts",
|
||||
"sha256": "a948964f6ae8d49cad0a1e9d5aea3bac2ba947a084d3444e78e47605525ef05a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"sha256": "cbc7d1a9eccb1c64f90cf2f87db9ad3ba9a301d81ec3f8daea2af48e2ccb8e32",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/core/graph/widgets/dynamicTypes.ts",
|
||||
"sha256": "02a01ec77fe595b2e83bcf0dd91134ea4aaa568ab019167c3e3ab15ce2a66a60",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"sha256": "bc0436dc3e21ccfa6f1dccf40935c0d0b97b607932f7025b975a4138efe1e24e",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_api/latest/__init__.py",
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"sha256": "f9013708017164c2a0f1af0bdb9650a37f28c5560034446c35d91b2a89a999b0",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0270",
|
||||
"file": "nodes.py",
|
||||
"sha256": "b8dfdde1de8975be762b085048143cc2dda8fc9202695e460ecc2c8dfe44bc4b",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0270",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
}
|
||||
],
|
||||
"counts": {
|
||||
"saved_fields": 63,
|
||||
"root_saved_fields": 17,
|
||||
"internal_saved_fields": 46,
|
||||
"linked_saved_fields": 10,
|
||||
"boundary_saved_fields": 13,
|
||||
"frontend_only": 12,
|
||||
"source_nodes": 28,
|
||||
"root_nodes": 7,
|
||||
"internal_nodes": 21,
|
||||
"physical_edges": 43,
|
||||
"source_notes": 4,
|
||||
"saved_objects": 0,
|
||||
"history_objects": 0,
|
||||
"final_scalars": 0,
|
||||
"final_prompt_constructed": false
|
||||
},
|
||||
"physical_edges_checked": 43,
|
||||
"boundary_inputs": 13,
|
||||
"host_cache": 13,
|
||||
"inventory_matches_definition": true,
|
||||
"source_save_outputs": [
|
||||
{
|
||||
"localized_name": "images",
|
||||
"name": "images",
|
||||
"type": "IMAGE",
|
||||
"links": null
|
||||
}
|
||||
],
|
||||
"accurate_save_return": [],
|
||||
"clip_krea2_enum_missing": true,
|
||||
"clip_enums": [
|
||||
[
|
||||
"stable_diffusion",
|
||||
"stable_cascade",
|
||||
"sd3",
|
||||
"stable_audio",
|
||||
"mochi",
|
||||
"ltxv",
|
||||
"pixart",
|
||||
"cosmos",
|
||||
"lumina2",
|
||||
"wan",
|
||||
"hidream",
|
||||
"chroma",
|
||||
"ace",
|
||||
"omnigen2",
|
||||
"qwen_image",
|
||||
"hunyuan_image",
|
||||
"flux2",
|
||||
"ovis",
|
||||
"longcat_image",
|
||||
"cogvideox",
|
||||
"lens",
|
||||
"pixeldit",
|
||||
"ideogram4"
|
||||
],
|
||||
[
|
||||
"default",
|
||||
"cpu"
|
||||
]
|
||||
],
|
||||
"no_upstream_execution": true
|
||||
}
|
||||
@@ -0,0 +1,227 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-absent.json",
|
||||
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-commit.txt",
|
||||
"sha256": "b79eb27b792315af9b5a80d7e435c6bb1f3e8670da9e63c4c7a461a7e5c90da6",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tag.json",
|
||||
"sha256": "f9bb1a77f16fb49ee4c0a891355985f2e236fd5ae4cdf21da8f89afcc8f7d612",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tag.txt",
|
||||
"sha256": "b79eb27b792315af9b5a80d7e435c6bb1f3e8670da9e63c4c7a461a7e5c90da6",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250-tree.json",
|
||||
"sha256": "8537e892baf6d8730d07386184e319238669426a796add416e43a657289d3f66",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy__samplers.py",
|
||||
"sha256": "d882256ae9baa1d23f1367ab2ec3b021fdc15fe39ce4cb49ea2c1ee10026a649",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_api__latest____init__.py",
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_api__latest___io.py",
|
||||
"sha256": "f9013708017164c2a0f1af0bdb9650a37f28c5560034446c35d91b2a89a999b0",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_api__latest___io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_logic.py",
|
||||
"sha256": "285c1f5e944cd991ffc3527bfc10e168082d8aceed3fe562421aa85449349f57",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_preview_any.py",
|
||||
"sha256": "06539abd0ccfd7d85503b87cf416948ee2eca80dec6dac35dfc8710f3b493a8a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_primitive.py",
|
||||
"sha256": "6a6d5cd4c983ed16296cd2ec5f84dc6244c0dd25d29137e1c0318418976e3cec",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_resolution.py",
|
||||
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_string.py",
|
||||
"sha256": "3a335dab4b6fb09c9de0eba1e6f14de49e998726c58da7e350b56f9c5e878c95",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__comfy_extras__nodes_textgen.py",
|
||||
"sha256": "e6577f5791db4d34cecf56cfc7e2776388d2994aa602acf5765d035d1241d8a2",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__folder_paths.py",
|
||||
"sha256": "380961714742085363301f980a6c9458f36aca05b1e36ed9b8afa3fb64ccdb50",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0250__nodes.py",
|
||||
"sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270-absent.json",
|
||||
"sha256": "36af353c1963afe47d71f818258d79c806a28439782ab07ef5cca18b52e1dfa4",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270-commit.txt",
|
||||
"sha256": "c2716d5675fd6ca5df9b5530d5af8e9be65990abd687450dc4851528af33fdcb",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270-tag.json",
|
||||
"sha256": "bd3c05185d7d551bfb0a8776ba93ed2cfaba047ccd534f02d834a30d19c2dfa8",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270-tag.txt",
|
||||
"sha256": "c2716d5675fd6ca5df9b5530d5af8e9be65990abd687450dc4851528af33fdcb",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270-tree.json",
|
||||
"sha256": "5d258550eace9e7a1bfedbb986dc752923eca2477cf0843ba1bf578d96bd6080",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/core0270__nodes.py",
|
||||
"sha256": "b8dfdde1de8975be762b085048143cc2dda8fc9202695e460ecc2c8dfe44bc4b",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend-absent.json",
|
||||
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend-commit.txt",
|
||||
"sha256": "35c83ee99fc42d777071feb3d5429f011526a2f5bda3d5fdfac8d95cb788f0a9",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend-tag.json",
|
||||
"sha256": "9624ad0e29179a8cfedf66e49d3b4d570eed750578ebdeb88078ae549a16c031",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend-tag.txt",
|
||||
"sha256": "35c83ee99fc42d777071feb3d5429f011526a2f5bda3d5fdfac8d95cb788f0a9",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend-tree.json",
|
||||
"sha256": "a56ae58698375c6128b81b77eea354570c5ccb04e3392aeb7a0b21546959eefd",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__package.json",
|
||||
"sha256": "43d7fba4cb066a6877e84b1b7f1bd18b00232da91f1f8a133c13a24bcea25f25",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__pnpm-lock.yaml",
|
||||
"sha256": "46bdafbd992ad8c0bca4dd7668a0456d320710f744bf64d0e022abc1e4bb00e0",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__pnpm-workspace.yaml",
|
||||
"sha256": "2666dae4e1223d80b7b497aced7d1c5b5080e364411ce23d91b9f63dde13a1a7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__core__graph__widgets__dynamicTypes.ts",
|
||||
"sha256": "02a01ec77fe595b2e83bcf0dd91134ea4aaa568ab019167c3e3ab15ce2a66a60",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"sha256": "cbc7d1a9eccb1c64f90cf2f87db9ad3ba9a301d81ec3f8daea2af48e2ccb8e32",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__lib__litegraph__src__LGraph.ts",
|
||||
"sha256": "a948964f6ae8d49cad0a1e9d5aea3bac2ba947a084d3444e78e47605525ef05a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"sha256": "d7c22582f6a0a5c05521d8b848a04a21e0d6df3339401be746b252b8d0ac5588",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__lib__litegraph__src__litegraph.ts",
|
||||
"sha256": "82533ee983f0cc30213da55dbd16a7a18475939f61d2551c49b3b51af63aeeaf",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"sha256": "bc0436dc3e21ccfa6f1dccf40935c0d0b97b607932f7025b975a4138efe1e24e",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__scripts__app.ts",
|
||||
"sha256": "824f0b8029b2ec69a4de72b81c1beb9fbfd27f6c9c593b87cfad44abfd991a4c",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/frontend__src__scripts__widgets.ts",
|
||||
"sha256": "3b61597c3e204f0de91a2e7245d9c04ffea041e5564f0e16a9092683e7b6bdd6",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/krea-semireal-reference/sources.json",
|
||||
"sha256": "82e6af3a3b59ee28e827662b48f7efea29fe4668da0982a1cf4ceb5d513ddeab",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
}
|
||||
],
|
||||
"count": 44,
|
||||
"upstream_executed": false,
|
||||
"note": "commit/tag字节和选定blob已重算,完整tree列表非完整tree对象重哈希。本批仅必要Git源码/许可文本,没有发布包/资产获取或安装。历史发布成员SHA/CRC不冒充整包SHA/Git绑定,旧SeedVR越界及删除记录保留。"
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
"List source texts and their identity/permission evidence, without self hashing."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, REPO
|
||||
|
||||
|
||||
def main():
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
|
||||
for e in rows:
|
||||
paths.add((REF / e["local_file"]).resolve())
|
||||
if not e["license_file"].startswith("未知"):
|
||||
paths.add((REF / e["license_file"]).resolve())
|
||||
if e["id"] == "litegraph":
|
||||
continue
|
||||
if "member_crc32" in e:
|
||||
paths.update(
|
||||
(
|
||||
(REF / e["identity_root"] / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-registry.json", "-members.json", "-range-proof.json"]
|
||||
)
|
||||
)
|
||||
continue
|
||||
base = REF / e["identity_root"]
|
||||
paths.update(
|
||||
(
|
||||
(base / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
|
||||
)
|
||||
)
|
||||
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
|
||||
result = []
|
||||
for p in sorted(paths):
|
||||
raw = p.read_bytes()
|
||||
result.append(
|
||||
dict(
|
||||
path=str(p.relative_to(REPO)),
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
|
||||
)
|
||||
)
|
||||
(OUT / "source-closure.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=result,
|
||||
count=len(result),
|
||||
upstream_executed=False,
|
||||
note=(
|
||||
"commit/tag字节和选定blob已重算"
|
||||
",完整tree列表非完整tree对象重哈希。"
|
||||
"本批仅必要Git源码/许可文本,没有发布包/"
|
||||
"资产获取或安装。历史发布成员SHA/CRC不"
|
||||
"冒充整包SHA/Git绑定,旧SeedVR越"
|
||||
"界及删除记录保留。"
|
||||
),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS source closure", len(result))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,22 @@
|
||||
# 第101批,仅Krea2 turbo动漫风格2.5D半写实文生图参考;原PR25/main,基线a3e763317497986da0e37d2a65746c238ff8e525。
|
||||
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
|
||||
# 既有依赖离线恢复,不增依赖。
|
||||
uv sync --project calliope-backend --offline --extra dev
|
||||
npm ci --offline --ignore-scripts --prefix calliope-web
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/rebuild.py
|
||||
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_krea_semireal_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/krea-semireal-document-evidence/*.py calliope-backend/tests/test_krea_semireal_fixed_document.py e2e/run-krea-semireal-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/krea-semireal-document-evidence/*.py calliope-backend/tests/test_krea_semireal_fixed_document.py e2e/run-krea-semireal-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
node --check e2e/krea-semireal-document.mjs
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/krea-semireal-document-evidence/recompute.py
|
||||
npm run build --prefix calliope-web
|
||||
# 前端build完成后再浏览,不与vite并发写生成目录。
|
||||
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-krea-semireal-document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/collect_browser.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/krea-semireal-document-evidence/source_closure.py
|
||||
# 63新增位置/4注释;旧81块逐对象冻结。82图4186位置/121注释仅参考,155定稿0/实跑0/新增转换0。
|
||||
@@ -0,0 +1,209 @@
|
||||
"Verify exact text, Git/package provenance and source graph without upstream imports."
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import json
|
||||
import zlib
|
||||
|
||||
from build_definition import OUT, REF, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def object_hash(kind, raw):
|
||||
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\x00" + raw).hexdigest()
|
||||
|
||||
|
||||
def main():
|
||||
(block, inv) = (build(), inventory())
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
checks = []
|
||||
for e in rows:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e["id"] == "litegraph":
|
||||
root = REF / e["identity_root"]
|
||||
assert (
|
||||
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
|
||||
== "0.15.15"
|
||||
)
|
||||
front = next(
|
||||
(x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json")
|
||||
)
|
||||
lock = json.loads((REF / front["local_file"]).read_bytes())
|
||||
assert (
|
||||
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
|
||||
== "sha512-" + e["artifact_sha512_base64"]
|
||||
)
|
||||
proof = (
|
||||
"Pinned frontend1.23.0 "
|
||||
"lock, exact0.15.15 mem"
|
||||
"ber SHA; whole artifac"
|
||||
"t digest reused, Git u"
|
||||
"nknown"
|
||||
)
|
||||
elif "member_crc32" in e:
|
||||
root = REF / e["identity_root"]
|
||||
m = json.loads((root / (e["identity_key"] + "-registry.json")).read_bytes())
|
||||
members = json.loads((root / (e["identity_key"] + "-members.json")).read_bytes())
|
||||
member = next((x for x in members if x["name"] == e["file"]))
|
||||
assert m["version"] == e["tag"]
|
||||
assert member["crc"] == e["member_crc32"] == zlib.crc32(raw)
|
||||
assert e["package_sha256"].startswith("unknown")
|
||||
proof = "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
|
||||
else:
|
||||
root = REF / e["identity_root"]
|
||||
key = e["identity_key"]
|
||||
commit = (root / (key + "-commit.txt")).read_bytes()
|
||||
tree = json.loads((root / (key + "-tree.json")).read_bytes())
|
||||
assert object_hash("commit", commit) == e["commit"]
|
||||
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
|
||||
assert not tree["truncated"]
|
||||
assert (
|
||||
next((t["sha"] for t in tree["tree"] if t["path"] == e["file"]))
|
||||
== e["git_blob_sha1"]
|
||||
== object_hash("blob", raw)
|
||||
)
|
||||
tag = json.loads((root / (key + "-tag.json")).read_bytes())
|
||||
tag_raw = (root / (key + "-tag.txt")).read_bytes()
|
||||
assert tag["commit"] == e["commit"]
|
||||
if tag["object"] == e["commit"]:
|
||||
assert tag_raw == commit
|
||||
else:
|
||||
assert object_hash("tag", tag_raw) == tag["object"]
|
||||
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
|
||||
proof = (
|
||||
"Rehashed commit/tag/se"
|
||||
"lected blob; complete "
|
||||
"tree listing, not full"
|
||||
" tree-object rehash"
|
||||
)
|
||||
if not e["license_file"].startswith("未知"):
|
||||
license_row = next(
|
||||
(
|
||||
x
|
||||
for x in rows
|
||||
if x["id"] == e["id"]
|
||||
and (
|
||||
(REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve()
|
||||
or x["file"] == "LICENSE"
|
||||
)
|
||||
)
|
||||
)
|
||||
assert (
|
||||
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
|
||||
== license_row["sha256"]
|
||||
)
|
||||
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
|
||||
assert len(inv["fields"]) == 63 and len(inv["notes"]) == 4
|
||||
assert [(x["nodes"], x["edges"]) for x in inv["scopes"]] == [(7, 3), (21, 40)]
|
||||
assert inv["scopes"][0]["modes"] == [0] * 7
|
||||
assert inv["scopes"][1]["modes"] == [0] * 21
|
||||
assert all(m == 0 for m in inv["scopes"][1]["modes"])
|
||||
assert all((x["named_nodes"] == 0 for x in inv["scopes"]))
|
||||
assert inv["extra"]["frontendVersion"] == "1.45.19"
|
||||
for raw, field in zip(inv["fields"], block["fields"], strict=True):
|
||||
assert raw["pointer"] == field["pointer"]
|
||||
assert canonical(raw["value"]) == canonical(field["value"])
|
||||
assert raw["json_type"] == field["json_type"]
|
||||
assert [(n["pointer"], n["text"]) for n in block["comments"]] == [
|
||||
(n["pointer"], n["text"]) for n in inv["notes"]
|
||||
]
|
||||
assert [n["characters"] for n in inv["notes"]] == [1023, 1657, 1965, 70]
|
||||
from build_definition import PATHS, REPO
|
||||
|
||||
g = json.loads((REPO / PATHS[0]).read_bytes())
|
||||
sg = g["definitions"]["subgraphs"][0]
|
||||
root = {n["id"]: n for n in g["nodes"]}
|
||||
inside = {n["id"]: n for n in sg["nodes"]}
|
||||
for eid, a, ao, z, zi, kind in g["links"]:
|
||||
assert eid in root[a]["outputs"][ao]["links"] and root[z]["inputs"][zi]["link"] == eid
|
||||
for e in sg["links"]:
|
||||
(a, ao, z, zi) = (e["origin_id"], e["origin_slot"], e["target_id"], e["target_slot"])
|
||||
if a == -10:
|
||||
assert e["id"] in sg["inputs"][ao]["linkIds"]
|
||||
else:
|
||||
assert e["id"] in inside[a]["outputs"][ao]["links"]
|
||||
if z == -20:
|
||||
assert e["id"] in sg["outputs"][zi]["linkIds"]
|
||||
else:
|
||||
assert inside[z]["inputs"][zi]["link"] == e["id"]
|
||||
assert len(sg["inputs"]) == len(root[30]["inputs"]) == len(root[30]["widgets_values"]) == 13
|
||||
assert sg["widgets"] == [] and "proxyWidgets" not in root[30]["properties"]
|
||||
assert [i for (i, n) in inside.items() if n.get("widgets_values") == []] == [8, 13, 20]
|
||||
assert inside[51]["mode"] == 0 and inside[51]["properties"]["ver"] == "0.27.0"
|
||||
assert all(n["mode"] == 0 for n in inside.values() if n["id"] != 51)
|
||||
core = next((e for e in rows if e["id"] == "core0250" and e["file"] == "nodes.py"))
|
||||
tree = ast.parse((REF / core["local_file"]).read_bytes())
|
||||
save = next((c for c in tree.body if isinstance(c, ast.ClassDef) and c.name == "SaveImage"))
|
||||
ret = next(
|
||||
(
|
||||
c.value
|
||||
for c in save.body
|
||||
if isinstance(c, ast.Assign)
|
||||
and any((isinstance(n, ast.Name) and n.id == "RETURN_TYPES" for n in c.targets))
|
||||
)
|
||||
)
|
||||
assert ast.literal_eval(ret) == () and root[29]["outputs"][0]["type"] == "IMAGE"
|
||||
clip = next((c for c in tree.body if isinstance(c, ast.ClassDef) and c.name == "CLIPLoader"))
|
||||
enums = [
|
||||
ast.literal_eval(x)
|
||||
for x in ast.walk(clip)
|
||||
if isinstance(x, ast.List)
|
||||
and all((isinstance(y, ast.Constant) and isinstance(y.value, str) for y in x.elts))
|
||||
]
|
||||
assert not any(("krea2" in x for x in enums)) and inside[11]["widgets_values"][1] == "krea2"
|
||||
assert inside[16]["widgets_values"] == [
|
||||
"",
|
||||
512,
|
||||
"on",
|
||||
0.7,
|
||||
64,
|
||||
0.95,
|
||||
0.05,
|
||||
1.05,
|
||||
0,
|
||||
0,
|
||||
False,
|
||||
True,
|
||||
]
|
||||
assert sum((f["role"] == "boundary_saved_cache" for f in block["fields"])) == 13
|
||||
assert sum((f["scope"] == "root" for f in block["fields"])) == 17
|
||||
assert sum((f["scope"] == "30" for f in block["fields"])) == 46
|
||||
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())
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
sources=checks,
|
||||
counts=block["counts"],
|
||||
physical_edges_checked=43,
|
||||
boundary_inputs=13,
|
||||
host_cache=13,
|
||||
inventory_matches_definition=True,
|
||||
source_save_outputs=root[29]["outputs"],
|
||||
accurate_save_return=[],
|
||||
clip_krea2_enum_missing=True,
|
||||
clip_enums=enums,
|
||||
no_upstream_execution=True,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(
|
||||
(
|
||||
"PASS exact identities,"
|
||||
"63 scalar positions,4 "
|
||||
"full notes,43 edge/bou"
|
||||
"ndary records,13 bound"
|
||||
"ary inputs,CLIP enum c"
|
||||
"onflict"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 8b1b2f7eb307047f90ed232b859da56bcf859f3b
|
||||
parent a439dcae07d683a8d52b01b830a6da68953d2969
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1781580453 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1781581514 -0400
|
||||
|
||||
ComfyUI v0.25.0
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ref": "v0.25.0",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"object": "135abed8da169e33ab0b86550e05e3ae55d6df8c"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 8b1b2f7eb307047f90ed232b859da56bcf859f3b
|
||||
parent a439dcae07d683a8d52b01b830a6da68953d2969
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1781580453 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1781581514 -0400
|
||||
|
||||
ComfyUI v0.25.0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,177 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
from comfy_api.internal import ComfyAPIBase
|
||||
from comfy_api.internal.singleton import ProxiedSingleton
|
||||
from comfy_api.internal.async_to_sync import create_sync_class
|
||||
from ._input import ImageInput, AudioInput, MaskInput, LatentInput, VideoInput
|
||||
from ._input_impl import VideoFromFile, VideoFromComponents
|
||||
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL, SPLAT, File3D
|
||||
from . import _io_public as io
|
||||
from . import _ui_public as ui
|
||||
from comfy_execution.utils import get_executing_context
|
||||
from comfy_execution.progress import get_progress_state, PreviewImageTuple
|
||||
from PIL import Image
|
||||
from comfy.cli_args import args
|
||||
import numpy as np
|
||||
|
||||
|
||||
class ComfyAPI_latest(ComfyAPIBase):
|
||||
VERSION = "latest"
|
||||
STABLE = False
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.node_replacement = self.NodeReplacement()
|
||||
self.execution = self.Execution()
|
||||
self.caching = self.Caching()
|
||||
|
||||
class NodeReplacement(ProxiedSingleton):
|
||||
async def register(self, node_replace: io.NodeReplace) -> None:
|
||||
"""Register a node replacement mapping."""
|
||||
from server import PromptServer
|
||||
PromptServer.instance.node_replace_manager.register(node_replace)
|
||||
|
||||
class Execution(ProxiedSingleton):
|
||||
async def set_progress(
|
||||
self,
|
||||
value: float,
|
||||
max_value: float,
|
||||
node_id: str | None = None,
|
||||
preview_image: Image.Image | ImageInput | None = None,
|
||||
ignore_size_limit: bool = False,
|
||||
) -> None:
|
||||
"""
|
||||
Update the progress bar displayed in the ComfyUI interface.
|
||||
|
||||
This function allows custom nodes and API calls to report their progress
|
||||
back to the user interface, providing visual feedback during long operations.
|
||||
|
||||
Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK
|
||||
"""
|
||||
executing_context = get_executing_context()
|
||||
if node_id is None and executing_context is not None:
|
||||
node_id = executing_context.node_id
|
||||
if node_id is None:
|
||||
raise ValueError("node_id must be provided if not in executing context")
|
||||
|
||||
# Convert preview_image to PreviewImageTuple if needed
|
||||
to_display: PreviewImageTuple | Image.Image | ImageInput | None = preview_image
|
||||
if to_display is not None:
|
||||
# First convert to PIL Image if needed
|
||||
if isinstance(to_display, ImageInput):
|
||||
# Convert ImageInput (torch.Tensor) to PIL Image
|
||||
# Handle tensor shape [B, H, W, C] -> get first image if batch
|
||||
tensor = to_display
|
||||
if len(tensor.shape) == 4:
|
||||
tensor = tensor[0]
|
||||
|
||||
# Convert to numpy array and scale to 0-255
|
||||
image_np = (tensor.cpu().numpy() * 255).astype(np.uint8)
|
||||
to_display = Image.fromarray(image_np)
|
||||
|
||||
if isinstance(to_display, Image.Image):
|
||||
# Detect image format from PIL Image
|
||||
image_format = to_display.format if to_display.format else "JPEG"
|
||||
# Use None for preview_size if ignore_size_limit is True
|
||||
preview_size = None if ignore_size_limit else args.preview_size
|
||||
to_display = (image_format, to_display, preview_size)
|
||||
|
||||
get_progress_state().update_progress(
|
||||
node_id=node_id,
|
||||
value=value,
|
||||
max_value=max_value,
|
||||
image=to_display,
|
||||
)
|
||||
|
||||
class Caching(ProxiedSingleton):
|
||||
"""
|
||||
External cache provider API for sharing cached node outputs
|
||||
across ComfyUI instances.
|
||||
|
||||
Example::
|
||||
|
||||
from comfy_api.latest import Caching
|
||||
|
||||
class MyCacheProvider(Caching.CacheProvider):
|
||||
async def on_lookup(self, context):
|
||||
... # check external storage
|
||||
|
||||
async def on_store(self, context, value):
|
||||
... # store to external storage
|
||||
|
||||
Caching.register_provider(MyCacheProvider())
|
||||
"""
|
||||
from ._caching import CacheProvider, CacheContext, CacheValue
|
||||
|
||||
async def register_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Register an external cache provider. Providers are called in registration order."""
|
||||
from comfy_execution.cache_provider import register_cache_provider
|
||||
register_cache_provider(provider)
|
||||
|
||||
async def unregister_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Unregister a previously registered cache provider."""
|
||||
from comfy_execution.cache_provider import unregister_cache_provider
|
||||
unregister_cache_provider(provider)
|
||||
|
||||
class ComfyExtension(ABC):
|
||||
async def on_load(self) -> None:
|
||||
"""
|
||||
Called when an extension is loaded.
|
||||
This should be used to initialize any global resources needed by the extension.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
"""
|
||||
Returns a list of nodes that this extension provides.
|
||||
"""
|
||||
|
||||
class Input:
|
||||
Image = ImageInput
|
||||
Audio = AudioInput
|
||||
Mask = MaskInput
|
||||
Latent = LatentInput
|
||||
Video = VideoInput
|
||||
|
||||
class InputImpl:
|
||||
VideoFromFile = VideoFromFile
|
||||
VideoFromComponents = VideoFromComponents
|
||||
|
||||
class Types:
|
||||
VideoCodec = VideoCodec
|
||||
VideoContainer = VideoContainer
|
||||
VideoComponents = VideoComponents
|
||||
MESH = MESH
|
||||
VOXEL = VOXEL
|
||||
SPLAT = SPLAT
|
||||
File3D = File3D
|
||||
|
||||
|
||||
Caching = ComfyAPI_latest.Caching
|
||||
|
||||
ComfyAPI = ComfyAPI_latest
|
||||
|
||||
# Create a synchronous version of the API
|
||||
if TYPE_CHECKING:
|
||||
import comfy_api.latest.generated.ComfyAPISyncStub # type: ignore
|
||||
|
||||
ComfyAPISync: type[comfy_api.latest.generated.ComfyAPISyncStub.ComfyAPISyncStub]
|
||||
ComfyAPISync = create_sync_class(ComfyAPI_latest)
|
||||
|
||||
# create new aliases for io and ui
|
||||
IO = io
|
||||
UI = ui
|
||||
|
||||
__all__ = [
|
||||
"ComfyAPI",
|
||||
"ComfyAPISync",
|
||||
"Input",
|
||||
"InputImpl",
|
||||
"Types",
|
||||
"Caching",
|
||||
"ComfyExtension",
|
||||
"io",
|
||||
"IO",
|
||||
"ui",
|
||||
"UI",
|
||||
]
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
from ._io import * # noqa: F403
|
||||
@@ -0,0 +1,352 @@
|
||||
from typing import TypedDict
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
from comfy_api.latest import _io
|
||||
|
||||
# sentinel for missing inputs
|
||||
MISSING = object()
|
||||
|
||||
|
||||
class NotNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComfyNotNode",
|
||||
display_name="Not",
|
||||
category="utilities/logic",
|
||||
description="Logical NOT operation. Returns true if the value is falsy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["invert", "toggle", "negate", "flip boolean"],
|
||||
inputs=[
|
||||
io.AnyType.Input("value"),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value) -> io.NodeOutput:
|
||||
return io.NodeOutput(not value)
|
||||
|
||||
|
||||
class AndNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyAndNode",
|
||||
display_name="And",
|
||||
category="utilities/logic",
|
||||
description="Logical AND operation. Returns true if all of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["all", "every"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(all(values.values()))
|
||||
|
||||
|
||||
class OrNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyOrNode",
|
||||
display_name="Or",
|
||||
category="utilities/logic",
|
||||
description="Logical OR operation. Returns true if any of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["any", "some"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(any(values.values()))
|
||||
|
||||
|
||||
class SwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySwitchNode",
|
||||
display_name="Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=None, on_true=None):
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true, on_false) -> io.NodeOutput:
|
||||
return io.NodeOutput(on_true if switch else on_false)
|
||||
|
||||
|
||||
class SoftSwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySoftSwitchNode",
|
||||
display_name="Soft Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True, optional=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True, optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# We use MISSING instead of None, as None is passed for connected-but-unevaluated inputs.
|
||||
# This trick allows us to ignore the value of the switch and still be able to run execute().
|
||||
|
||||
# One of the inputs may be missing, in which case we need to evaluate the other input
|
||||
if on_false is MISSING:
|
||||
return ["on_true"]
|
||||
if on_true is MISSING:
|
||||
return ["on_false"]
|
||||
# Normal lazy switch operation
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# This check happens before check_lazy_status(), so we can eliminate the case where
|
||||
# both inputs are missing.
|
||||
if on_false is MISSING and on_true is MISSING:
|
||||
return "At least one of on_false or on_true must be connected to Switch node"
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true=MISSING, on_false=MISSING) -> io.NodeOutput:
|
||||
if on_true is MISSING:
|
||||
return io.NodeOutput(on_false)
|
||||
if on_false is MISSING:
|
||||
return io.NodeOutput(on_true)
|
||||
return io.NodeOutput(on_true if switch else on_false)
|
||||
|
||||
|
||||
class CustomComboNode(io.ComfyNode):
|
||||
"""
|
||||
Frontend node that allows user to write their own options for a combo.
|
||||
This is here to make sure the node has a backend-representation to avoid some annoyances.
|
||||
"""
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CustomCombo",
|
||||
display_name="Custom Combo",
|
||||
category="utilities",
|
||||
is_experimental=True,
|
||||
inputs=[io.Combo.Input("choice", options=[])],
|
||||
outputs=[
|
||||
io.String.Output(display_name="STRING"),
|
||||
io.Int.Output(display_name="INDEX"),
|
||||
],
|
||||
accept_all_inputs=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> bool:
|
||||
# NOTE: DO NOT DO THIS unless you want to skip validation entirely on the node's inputs.
|
||||
# I am doing that here because the widgets (besides the combo dropdown) on this node are fully frontend defined.
|
||||
# I need to skip checking that the chosen combo option is in the options list, since those are defined by the user.
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> io.NodeOutput:
|
||||
return io.NodeOutput(choice, index)
|
||||
|
||||
|
||||
class DCTestNode(io.ComfyNode):
|
||||
class DCValues(TypedDict):
|
||||
combo: str
|
||||
string: str
|
||||
integer: int
|
||||
image: io.Image.Type
|
||||
subcombo: dict[str]
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DCTestNode",
|
||||
display_name="DCTest",
|
||||
category="utilities/logic",
|
||||
is_output_node=True,
|
||||
inputs=[io.DynamicCombo.Input("combo", options=[
|
||||
io.DynamicCombo.Option("option1", [io.String.Input("string")]),
|
||||
io.DynamicCombo.Option("option2", [io.Int.Input("integer")]),
|
||||
io.DynamicCombo.Option("option3", [io.Image.Input("image")]),
|
||||
io.DynamicCombo.Option("option4", [
|
||||
io.DynamicCombo.Input("subcombo", options=[
|
||||
io.DynamicCombo.Option("opt1", [io.Float.Input("float_x"), io.Float.Input("float_y")]),
|
||||
io.DynamicCombo.Option("opt2", [io.Mask.Input("mask1", optional=True)]),
|
||||
])
|
||||
])]
|
||||
)],
|
||||
outputs=[io.AnyType.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: DCValues) -> io.NodeOutput:
|
||||
combo_val = combo["combo"]
|
||||
if combo_val == "option1":
|
||||
return io.NodeOutput(combo["string"])
|
||||
elif combo_val == "option2":
|
||||
return io.NodeOutput(combo["integer"])
|
||||
elif combo_val == "option3":
|
||||
return io.NodeOutput(combo["image"])
|
||||
elif combo_val == "option4":
|
||||
return io.NodeOutput(f"{combo['subcombo']}")
|
||||
else:
|
||||
raise ValueError(f"Invalid combo: {combo_val}")
|
||||
|
||||
|
||||
class AutogrowNamesTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplateNames(input=io.Float.Input("float"), names=["a", "b", "c"])
|
||||
return io.Schema(
|
||||
node_id="AutogrowNamesTestNode",
|
||||
display_name="AutogrowNamesTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class AutogrowPrefixTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplatePrefix(input=io.Float.Input("float"), prefix="float", min=1, max=10)
|
||||
return io.Schema(
|
||||
node_id="AutogrowPrefixTestNode",
|
||||
display_name="AutogrowPrefixTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class ComboOutputTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComboOptionTestNode",
|
||||
display_name="ComboOptionTest",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Combo.Input("combo", options=["option1", "option2", "option3"]),
|
||||
io.Combo.Input("combo2", options=["option4", "option5", "option6"])],
|
||||
outputs=[io.Combo.Output(), io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: io.Combo.Type, combo2: io.Combo.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(combo, combo2)
|
||||
|
||||
class ConvertStringToComboNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ConvertStringToComboNode",
|
||||
search_aliases=["string to dropdown", "text to combo"],
|
||||
display_name="Convert String to Combo",
|
||||
category="utilities/logic",
|
||||
inputs=[io.String.Input("string")],
|
||||
outputs=[io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(string)
|
||||
|
||||
class InvertBooleanNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="InvertBooleanNode",
|
||||
search_aliases=["not", "toggle", "negate", "flip boolean"],
|
||||
display_name="Invert Boolean",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Boolean.Input("boolean")],
|
||||
outputs=[io.Boolean.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, boolean: bool) -> io.NodeOutput:
|
||||
return io.NodeOutput(not boolean)
|
||||
|
||||
class LogicExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
SwitchNode,
|
||||
CustomComboNode,
|
||||
NotNode,
|
||||
AndNode,
|
||||
OrNode,
|
||||
# SoftSwitchNode,
|
||||
# ConvertStringToComboNode,
|
||||
# DCTestNode,
|
||||
# AutogrowNamesTestNode,
|
||||
# AutogrowPrefixTestNode,
|
||||
# ComboOutputTestNode,
|
||||
# InvertBooleanNode,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> LogicExtension:
|
||||
return LogicExtension()
|
||||
@@ -0,0 +1,47 @@
|
||||
import json
|
||||
from comfy.comfy_types.node_typing import IO
|
||||
import torch
|
||||
|
||||
# Preview Any - original implement from
|
||||
# https://github.com/rgthree/rgthree-comfy/blob/main/py/display_any.py
|
||||
# upstream requested in https://github.com/Kosinkadink/rfcs/blob/main/rfcs/0000-corenodes.md#preview-nodes
|
||||
class PreviewAny():
|
||||
@classmethod
|
||||
def INPUT_TYPES(cls):
|
||||
return {
|
||||
"required": {"source": (IO.ANY, {})},
|
||||
}
|
||||
|
||||
RETURN_TYPES = (IO.STRING,)
|
||||
FUNCTION = "main"
|
||||
OUTPUT_NODE = True
|
||||
|
||||
CATEGORY = "utilities"
|
||||
SEARCH_ALIASES = ["show output", "inspect", "debug", "print value", "show text"]
|
||||
|
||||
def main(self, source=None):
|
||||
torch.set_printoptions(edgeitems=6)
|
||||
value = 'None'
|
||||
if isinstance(source, str):
|
||||
value = source
|
||||
elif isinstance(source, (int, float, bool)):
|
||||
value = str(source)
|
||||
elif source is not None:
|
||||
try:
|
||||
value = json.dumps(source, indent=4)
|
||||
except Exception:
|
||||
try:
|
||||
value = str(source)
|
||||
except Exception:
|
||||
value = 'source exists, but could not be serialized.'
|
||||
|
||||
torch.set_printoptions()
|
||||
return {"ui": {"text": (value,)}, "result": (value,)}
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"PreviewAny": PreviewAny,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"PreviewAny": "Preview as Text",
|
||||
}
|
||||
@@ -0,0 +1,112 @@
|
||||
import sys
|
||||
from typing_extensions import override
|
||||
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
|
||||
class String(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveString",
|
||||
search_aliases=["text", "string", "text box", "prompt"],
|
||||
display_name="Text String",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.String.Input("value"),
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class StringMultiline(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveStringMultiline",
|
||||
search_aliases=["text", "string", "text multiline", "string multiline", "text box", "prompt"],
|
||||
display_name="Text String (Multiline)",
|
||||
category="utilities/primitive",
|
||||
essentials_category="Basics",
|
||||
inputs=[
|
||||
io.String.Input("value", multiline=True),
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Int(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveInt",
|
||||
display_name="Int",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Int.Input("value", min=-sys.maxsize, max=sys.maxsize, control_after_generate=io.ControlAfterGenerate.fixed),
|
||||
],
|
||||
outputs=[io.Int.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: int) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Float(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveFloat",
|
||||
display_name="Float",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Float.Input("value", min=-sys.maxsize, max=sys.maxsize, step=0.1),
|
||||
],
|
||||
outputs=[io.Float.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: float) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class Boolean(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="PrimitiveBoolean",
|
||||
display_name="Boolean",
|
||||
category="utilities/primitive",
|
||||
inputs=[
|
||||
io.Boolean.Input("value"),
|
||||
],
|
||||
outputs=[io.Boolean.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value: bool) -> io.NodeOutput:
|
||||
return io.NodeOutput(value)
|
||||
|
||||
|
||||
class PrimitivesExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
String,
|
||||
StringMultiline,
|
||||
Int,
|
||||
Float,
|
||||
Boolean,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> PrimitivesExtension:
|
||||
return PrimitivesExtension()
|
||||
@@ -0,0 +1,94 @@
|
||||
import math
|
||||
from enum import Enum
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
|
||||
class AspectRatio(str, Enum):
|
||||
SQUARE = "1:1 (Square)"
|
||||
PHOTO_V = "2:3 (Portrait Photo)"
|
||||
PHOTO_H = "3:2 (Photo)"
|
||||
STANDARD_V = "3:4 (Portrait Standard)"
|
||||
STANDARD_H = "4:3 (Standard)"
|
||||
WIDESCREEN_V = "9:16 (Portrait Widescreen)"
|
||||
WIDESCREEN_H = "16:9 (Widescreen)"
|
||||
ULTRAWIDE_H = "21:9 (Ultrawide)"
|
||||
|
||||
|
||||
ASPECT_RATIOS: dict[AspectRatio, tuple[int, int]] = {
|
||||
AspectRatio.SQUARE: (1, 1),
|
||||
AspectRatio.PHOTO_V: (2, 3),
|
||||
AspectRatio.PHOTO_H: (3, 2),
|
||||
AspectRatio.STANDARD_V: (3, 4),
|
||||
AspectRatio.STANDARD_H: (4, 3),
|
||||
AspectRatio.WIDESCREEN_V: (9, 16),
|
||||
AspectRatio.WIDESCREEN_H: (16, 9),
|
||||
AspectRatio.ULTRAWIDE_H: (21, 9),
|
||||
}
|
||||
|
||||
|
||||
class ResolutionSelector(io.ComfyNode):
|
||||
"""Calculate width and height from aspect ratio and megapixel target."""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ResolutionSelector",
|
||||
display_name="Resolution Selector",
|
||||
category="utilities",
|
||||
description="Calculate width and height from aspect ratio and megapixel target. Useful for setting up Empty Latent Image dimensions.",
|
||||
inputs=[
|
||||
io.Combo.Input(
|
||||
"aspect_ratio",
|
||||
options=AspectRatio,
|
||||
default=AspectRatio.SQUARE,
|
||||
tooltip="The aspect ratio for the output dimensions.",
|
||||
),
|
||||
io.Float.Input(
|
||||
"megapixels",
|
||||
default=1.0,
|
||||
min=0.1,
|
||||
max=16.0,
|
||||
step=0.1,
|
||||
tooltip="Target total megapixels. 1.0 MP ≈ 1024x1024 for square.",
|
||||
),
|
||||
io.Int.Input(
|
||||
id="multiple",
|
||||
default=8,
|
||||
min=8,
|
||||
max=128,
|
||||
step=4,
|
||||
tooltip="Nearest multiple of the result to set the selected resolution to.",
|
||||
advanced=True,
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Int.Output(
|
||||
"width", tooltip="Calculated width in pixels multiplied by the selected multiple."
|
||||
),
|
||||
io.Int.Output(
|
||||
"height", tooltip="Calculated height in pixels multiplied by the selected multiple."
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, aspect_ratio: str, megapixels: float, multiple: int) -> io.NodeOutput:
|
||||
w_ratio, h_ratio = ASPECT_RATIOS[aspect_ratio]
|
||||
total_pixels = megapixels * 1024 * 1024
|
||||
scale = math.sqrt(total_pixels / (w_ratio * h_ratio))
|
||||
width = round(w_ratio * scale / multiple) * multiple
|
||||
height = round(h_ratio * scale / multiple) * multiple
|
||||
return io.NodeOutput(width, height)
|
||||
|
||||
|
||||
class ResolutionExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
ResolutionSelector,
|
||||
]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> ResolutionExtension:
|
||||
return ResolutionExtension()
|
||||
@@ -0,0 +1,463 @@
|
||||
import re
|
||||
import json
|
||||
import string
|
||||
from typing_extensions import override
|
||||
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
|
||||
class StringFormat(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls) -> io.Schema:
|
||||
autogrow = io.Autogrow.TemplateNames(
|
||||
input=io.AnyType.Input("value"),
|
||||
names=list(string.ascii_lowercase),
|
||||
min=0,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="StringFormat",
|
||||
display_name="Format Text",
|
||||
category="text",
|
||||
search_aliases=["string", "format"],
|
||||
description="Same as Python's string format method. Supports all of Python's format options and features.",
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=autogrow),
|
||||
io.String.Input("f_string", default="{a}", multiline=True),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(
|
||||
cls, values: io.Autogrow.Type, f_string: str
|
||||
) -> io.NodeOutput:
|
||||
return io.NodeOutput(f_string.format(**values))
|
||||
|
||||
|
||||
class StringConcatenate(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringConcatenate",
|
||||
search_aliases=["concatenate", "text concat", "join text", "merge text", "combine strings", "string concat", "append text", "combine text"],
|
||||
display_name="Concatenate Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string_a", multiline=True),
|
||||
io.String.Input("string_b", multiline=True),
|
||||
io.String.Input("delimiter", multiline=False, default=""),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string_a, string_b, delimiter):
|
||||
return io.NodeOutput(delimiter.join((string_a, string_b)))
|
||||
|
||||
|
||||
class StringSubstring(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringSubstring",
|
||||
search_aliases=["substring", "extract text", "text portion"],
|
||||
display_name="Substring",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.Int.Input("start"),
|
||||
io.Int.Input("end"),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, start, end):
|
||||
return io.NodeOutput(string[start:end])
|
||||
|
||||
|
||||
class StringLength(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringLength",
|
||||
search_aliases=["character count", "text size", "string length"],
|
||||
display_name="Text Length",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Int.Output(display_name="length"),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string):
|
||||
return io.NodeOutput(len(string))
|
||||
|
||||
|
||||
class CaseConverter(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CaseConverter",
|
||||
search_aliases=["case converter", "text case", "uppercase", "lowercase", "capitalize"],
|
||||
display_name="Convert Text Case",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.Combo.Input("mode", options=["UPPERCASE", "lowercase", "Capitalize", "Title Case"]),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, mode):
|
||||
if mode == "UPPERCASE":
|
||||
result = string.upper()
|
||||
elif mode == "lowercase":
|
||||
result = string.lower()
|
||||
elif mode == "Capitalize":
|
||||
result = string.capitalize()
|
||||
elif mode == "Title Case":
|
||||
result = string.title()
|
||||
else:
|
||||
result = string
|
||||
|
||||
return io.NodeOutput(result)
|
||||
|
||||
|
||||
class StringTrim(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringTrim",
|
||||
search_aliases=["trim", "clean whitespace", "remove whitespace", "remove spaces","strip"],
|
||||
display_name="Trim Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.Combo.Input("mode", options=["Both", "Left", "Right"]),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, mode):
|
||||
if mode == "Both":
|
||||
result = string.strip()
|
||||
elif mode == "Left":
|
||||
result = string.lstrip()
|
||||
elif mode == "Right":
|
||||
result = string.rstrip()
|
||||
else:
|
||||
result = string
|
||||
|
||||
return io.NodeOutput(result)
|
||||
|
||||
|
||||
class StringReplace(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringReplace",
|
||||
search_aliases=["replace", "find and replace", "substitute", "swap text"],
|
||||
display_name="Replace Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.String.Input("find", multiline=True),
|
||||
io.String.Input("replace", multiline=True),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, find, replace):
|
||||
return io.NodeOutput(string.replace(find, replace))
|
||||
|
||||
|
||||
class StringContains(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringContains",
|
||||
search_aliases=["contains", "text includes", "string includes"],
|
||||
display_name="Contains Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.String.Input("substring", multiline=True),
|
||||
io.Boolean.Input("case_sensitive", default=True, advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(display_name="contains"),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, substring, case_sensitive):
|
||||
if case_sensitive:
|
||||
contains = substring in string
|
||||
else:
|
||||
contains = substring.lower() in string.lower()
|
||||
|
||||
return io.NodeOutput(contains)
|
||||
|
||||
|
||||
class StringCompare(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="StringCompare",
|
||||
search_aliases=["compare", "text match", "string equals", "starts with", "ends with"],
|
||||
display_name="Compare Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string_a", multiline=True),
|
||||
io.String.Input("string_b", multiline=True),
|
||||
io.Combo.Input("mode", options=["Starts With", "Ends With", "Equal"]),
|
||||
io.Boolean.Input("case_sensitive", default=True, advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string_a, string_b, mode, case_sensitive):
|
||||
if case_sensitive:
|
||||
a = string_a
|
||||
b = string_b
|
||||
else:
|
||||
a = string_a.lower()
|
||||
b = string_b.lower()
|
||||
|
||||
if mode == "Equal":
|
||||
return io.NodeOutput(a == b)
|
||||
elif mode == "Starts With":
|
||||
return io.NodeOutput(a.startswith(b))
|
||||
elif mode == "Ends With":
|
||||
return io.NodeOutput(a.endswith(b))
|
||||
|
||||
|
||||
class RegexMatch(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="RegexMatch",
|
||||
search_aliases=["regex match", "regex", "pattern match", "text contains", "string match"],
|
||||
display_name="Match Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.String.Input("regex_pattern", multiline=True),
|
||||
io.Boolean.Input("case_insensitive", default=True, advanced=True),
|
||||
io.Boolean.Input("multiline", default=False, advanced=True),
|
||||
io.Boolean.Input("dotall", default=False, advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(display_name="matches"),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, regex_pattern, case_insensitive, multiline, dotall):
|
||||
flags = 0
|
||||
|
||||
if case_insensitive:
|
||||
flags |= re.IGNORECASE
|
||||
if multiline:
|
||||
flags |= re.MULTILINE
|
||||
if dotall:
|
||||
flags |= re.DOTALL
|
||||
|
||||
try:
|
||||
match = re.search(regex_pattern, string, flags)
|
||||
result = match is not None
|
||||
|
||||
except re.error:
|
||||
result = False
|
||||
|
||||
return io.NodeOutput(result)
|
||||
|
||||
|
||||
class RegexExtract(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="RegexExtract",
|
||||
search_aliases=["regex extract", "regex", "pattern extract", "text parser", "parse text"],
|
||||
display_name="Extract Text",
|
||||
category="text",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.String.Input("regex_pattern", multiline=True),
|
||||
io.Combo.Input("mode", options=["First Match", "All Matches", "First Group", "All Groups"]),
|
||||
io.Boolean.Input("case_insensitive", default=True, advanced=True),
|
||||
io.Boolean.Input("multiline", default=False, advanced=True),
|
||||
io.Boolean.Input("dotall", default=False, advanced=True),
|
||||
io.Int.Input("group_index", default=1, min=0, max=100, advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, regex_pattern, mode, case_insensitive, multiline, dotall, group_index):
|
||||
join_delimiter = "\n"
|
||||
|
||||
flags = 0
|
||||
if case_insensitive:
|
||||
flags |= re.IGNORECASE
|
||||
if multiline:
|
||||
flags |= re.MULTILINE
|
||||
if dotall:
|
||||
flags |= re.DOTALL
|
||||
|
||||
try:
|
||||
if mode == "First Match":
|
||||
match = re.search(regex_pattern, string, flags)
|
||||
if match:
|
||||
result = match.group(0)
|
||||
else:
|
||||
result = ""
|
||||
|
||||
elif mode == "All Matches":
|
||||
matches = re.findall(regex_pattern, string, flags)
|
||||
if matches:
|
||||
if isinstance(matches[0], tuple):
|
||||
result = join_delimiter.join([m[0] for m in matches])
|
||||
else:
|
||||
result = join_delimiter.join(matches)
|
||||
else:
|
||||
result = ""
|
||||
|
||||
elif mode == "First Group":
|
||||
match = re.search(regex_pattern, string, flags)
|
||||
if match and len(match.groups()) >= group_index:
|
||||
result = match.group(group_index)
|
||||
else:
|
||||
result = ""
|
||||
|
||||
elif mode == "All Groups":
|
||||
matches = re.finditer(regex_pattern, string, flags)
|
||||
results = []
|
||||
for match in matches:
|
||||
if match.groups() and len(match.groups()) >= group_index:
|
||||
results.append(match.group(group_index))
|
||||
result = join_delimiter.join(results)
|
||||
else:
|
||||
result = ""
|
||||
|
||||
except re.error:
|
||||
result = ""
|
||||
|
||||
return io.NodeOutput(result)
|
||||
|
||||
|
||||
class RegexReplace(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="RegexReplace",
|
||||
search_aliases=["regex replace", "regex", "pattern replace", "substitution"],
|
||||
display_name="Replace Text (Regex)",
|
||||
category="text",
|
||||
description="Find and replace text using regex patterns.",
|
||||
inputs=[
|
||||
io.String.Input("string", multiline=True),
|
||||
io.String.Input("regex_pattern", multiline=True),
|
||||
io.String.Input("replace", multiline=True),
|
||||
io.Boolean.Input("case_insensitive", default=True, optional=True, advanced=True),
|
||||
io.Boolean.Input("multiline", default=False, optional=True, advanced=True),
|
||||
io.Boolean.Input("dotall", default=False, optional=True, advanced=True, tooltip="When enabled, the dot (.) character will match any character including newline characters. When disabled, dots won't match newlines."),
|
||||
io.Int.Input("count", default=0, min=0, max=100, optional=True, advanced=True, tooltip="Maximum number of replacements to make. Set to 0 to replace all occurrences (default). Set to 1 to replace only the first match, 2 for the first two matches, etc."),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string, regex_pattern, replace, case_insensitive=True, multiline=False, dotall=False, count=0):
|
||||
flags = 0
|
||||
|
||||
if case_insensitive:
|
||||
flags |= re.IGNORECASE
|
||||
if multiline:
|
||||
flags |= re.MULTILINE
|
||||
if dotall:
|
||||
flags |= re.DOTALL
|
||||
result = re.sub(regex_pattern, replace, string, count=count, flags=flags)
|
||||
return io.NodeOutput(result)
|
||||
|
||||
|
||||
class JsonExtractString(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="JsonExtractString",
|
||||
display_name="Extract Text from JSON",
|
||||
category="text",
|
||||
search_aliases=["json", "extract json", "parse json", "json value", "read json"],
|
||||
inputs=[
|
||||
io.String.Input("json_string", multiline=True),
|
||||
io.String.Input("key", multiline=False),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(),
|
||||
]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, json_string, key):
|
||||
try:
|
||||
data = json.loads(json_string)
|
||||
if isinstance(data, dict) and key in data:
|
||||
value = data[key]
|
||||
if value is None:
|
||||
return io.NodeOutput("")
|
||||
|
||||
return io.NodeOutput(str(value))
|
||||
|
||||
return io.NodeOutput("")
|
||||
|
||||
except (json.JSONDecodeError, TypeError):
|
||||
return io.NodeOutput("")
|
||||
|
||||
class StringExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
StringFormat,
|
||||
StringConcatenate,
|
||||
StringSubstring,
|
||||
StringLength,
|
||||
CaseConverter,
|
||||
StringTrim,
|
||||
StringReplace,
|
||||
StringContains,
|
||||
StringCompare,
|
||||
RegexMatch,
|
||||
RegexExtract,
|
||||
RegexReplace,
|
||||
JsonExtractString,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> StringExtension:
|
||||
return StringExtension()
|
||||
@@ -0,0 +1,186 @@
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
from typing_extensions import override
|
||||
|
||||
class TextGenerate(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
# Define dynamic combo options for sampling mode
|
||||
sampling_options = [
|
||||
io.DynamicCombo.Option(
|
||||
key="on",
|
||||
inputs=[
|
||||
io.Float.Input("temperature", default=0.7, min=0.01, max=2.0, step=0.000001),
|
||||
io.Int.Input("top_k", default=64, min=0, max=1000),
|
||||
io.Float.Input("top_p", default=0.95, min=0.0, max=1.0, step=0.01),
|
||||
io.Float.Input("min_p", default=0.05, min=0.0, max=1.0, step=0.01),
|
||||
io.Float.Input("repetition_penalty", default=1.05, min=0.0, max=5.0, step=0.01),
|
||||
io.Int.Input("seed", default=0, min=0, max=0xffffffffffffffff),
|
||||
io.Float.Input("presence_penalty", optional=True, default=0.0, min=0.0, max=5.0, step=0.01),
|
||||
]
|
||||
),
|
||||
io.DynamicCombo.Option(
|
||||
key="off",
|
||||
inputs=[]
|
||||
),
|
||||
]
|
||||
|
||||
return io.Schema(
|
||||
node_id="TextGenerate",
|
||||
display_name="Generate Text",
|
||||
category="text",
|
||||
search_aliases=["LLM", "gemma"],
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True, default=""),
|
||||
io.Image.Input("image", optional=True),
|
||||
io.Image.Input("video", optional=True, tooltip="Video frames as image batch. Assumed to be 24 FPS; subsampled to 1 FPS internally."),
|
||||
io.Audio.Input("audio", optional=True),
|
||||
io.Int.Input("max_length", default=256, min=1, max=2048),
|
||||
io.DynamicCombo.Input("sampling_mode", options=sampling_options, display_name="Sampling Mode"),
|
||||
io.Boolean.Input("thinking", optional=True, default=False, tooltip="Operate in thinking mode if the model supports it."),
|
||||
io.Boolean.Input("use_default_template", optional=True, default=True, tooltip="Use the built in system prompt/template if the model has one.", advanced=True),
|
||||
],
|
||||
outputs=[
|
||||
io.String.Output(display_name="generated_text"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, max_length, sampling_mode, image=None, thinking=False, use_default_template=True, video=None, audio=None) -> io.NodeOutput:
|
||||
|
||||
tokens = clip.tokenize(prompt, image=image, skip_template=not use_default_template, min_length=1, thinking=thinking, video=video, audio=audio)
|
||||
|
||||
# Get sampling parameters from dynamic combo
|
||||
do_sample = sampling_mode.get("sampling_mode") == "on"
|
||||
temperature = sampling_mode.get("temperature", 1.0)
|
||||
top_k = sampling_mode.get("top_k", 50)
|
||||
top_p = sampling_mode.get("top_p", 1.0)
|
||||
min_p = sampling_mode.get("min_p", 0.0)
|
||||
seed = sampling_mode.get("seed", None)
|
||||
repetition_penalty = sampling_mode.get("repetition_penalty", 1.0)
|
||||
presence_penalty = sampling_mode.get("presence_penalty", 0.0)
|
||||
|
||||
generated_ids = clip.generate(
|
||||
tokens,
|
||||
do_sample=do_sample,
|
||||
max_length=max_length,
|
||||
temperature=temperature,
|
||||
top_k=top_k,
|
||||
top_p=top_p,
|
||||
min_p=min_p,
|
||||
repetition_penalty=repetition_penalty,
|
||||
presence_penalty=presence_penalty,
|
||||
seed=seed
|
||||
)
|
||||
|
||||
generated_text = clip.decode(generated_ids)
|
||||
|
||||
return io.NodeOutput(generated_text)
|
||||
|
||||
|
||||
LTX2_T2V_SYSTEM_PROMPT = """You are a Creative Assistant. Given a user's raw input prompt describing a scene or concept, expand it into a detailed video generation prompt with specific visuals and integrated audio to guide a text-to-video model.
|
||||
#### Guidelines
|
||||
- Strictly follow all aspects of the user's raw input: include every element requested (style, visuals, motions, actions, camera movement, audio).
|
||||
- If the input is vague, invent concrete details: lighting, textures, materials, scene settings, etc.
|
||||
- For characters: describe gender, clothing, hair, expressions. DO NOT invent unrequested characters.
|
||||
- Use active language: present-progressive verbs ("is walking," "speaking"). If no action specified, describe natural movements.
|
||||
- Maintain chronological flow: use temporal connectors ("as," "then," "while").
|
||||
- Audio layer: Describe complete soundscape (background audio, ambient sounds, SFX, speech/music when requested). Integrate sounds chronologically alongside actions. Be specific (e.g., "soft footsteps on tile"), not vague (e.g., "ambient sound is present").
|
||||
- Speech (only when requested):
|
||||
- For ANY speech-related input (talking, conversation, singing, etc.), ALWAYS include exact words in quotes with voice characteristics (e.g., "The man says in an excited voice: 'You won't believe what I just saw!'").
|
||||
- Specify language if not English and accent if relevant.
|
||||
- Style: Include visual style at the beginning: "Style: <style>, <rest of prompt>." Default to cinematic-realistic if unspecified. Omit if unclear.
|
||||
- Visual and audio only: NO non-visual/auditory senses (smell, taste, touch).
|
||||
- Restrained language: Avoid dramatic/exaggerated terms. Use mild, natural phrasing.
|
||||
- Colors: Use plain terms ("red dress"), not intensified ("vibrant blue," "bright red").
|
||||
- Lighting: Use neutral descriptions ("soft overhead light"), not harsh ("blinding light").
|
||||
- Facial features: Use delicate modifiers for subtle features (i.e., "subtle freckles").
|
||||
|
||||
#### Important notes:
|
||||
- Analyze the user's raw input carefully. In cases of FPV or POV, exclude the description of the subject whose POV is requested.
|
||||
- Camera motion: DO NOT invent camera motion unless requested by the user.
|
||||
- Speech: DO NOT modify user-provided character dialogue unless it's a typo.
|
||||
- No timestamps or cuts: DO NOT use timestamps or describe scene cuts unless explicitly requested.
|
||||
- Format: DO NOT use phrases like "The scene opens with...". Start directly with Style (optional) and chronological scene description.
|
||||
- Format: DO NOT start your response with special characters.
|
||||
- DO NOT invent dialogue unless the user mentions speech/talking/singing/conversation.
|
||||
- If the user's raw input prompt is highly detailed, chronological and in the requested format: DO NOT make major edits or introduce new elements. Add/enhance audio descriptions if missing.
|
||||
|
||||
#### Output Format (Strict):
|
||||
- Single continuous paragraph in natural language (English).
|
||||
- NO titles, headings, prefaces, code fences, or Markdown.
|
||||
- If unsafe/invalid, return original user prompt. Never ask questions or clarifications.
|
||||
|
||||
Your output quality is CRITICAL. Generate visually rich, dynamic prompts with integrated audio for high-quality video generation.
|
||||
|
||||
#### Example
|
||||
Input: "A woman at a coffee shop talking on the phone"
|
||||
Output:
|
||||
Style: realistic with cinematic lighting. In a medium close-up, a woman in her early 30s with shoulder-length brown hair sits at a small wooden table by the window. She wears a cream-colored turtleneck sweater, holding a white ceramic coffee cup in one hand and a smartphone to her ear with the other. Ambient cafe sounds fill the space—espresso machine hiss, quiet conversations, gentle clinking of cups. The woman listens intently, nodding slightly, then takes a sip of her coffee and sets it down with a soft clink. Her face brightens into a warm smile as she speaks in a clear, friendly voice, 'That sounds perfect! I'd love to meet up this weekend. How about Saturday afternoon?' She laughs softly—a genuine chuckle—and shifts in her chair. Behind her, other patrons move subtly in and out of focus. 'Great, I'll see you then,' she concludes cheerfully, lowering the phone.
|
||||
"""
|
||||
|
||||
LTX2_I2V_SYSTEM_PROMPT = """You are a Creative Assistant. Given a user's raw input prompt describing a scene or concept, expand it into a detailed video generation prompt with specific visuals and integrated audio to guide a text-to-video model.
|
||||
You are a Creative Assistant writing concise, action-focused image-to-video prompts. Given an image (first frame) and user Raw Input Prompt, generate a prompt to guide video generation from that image.
|
||||
|
||||
#### Guidelines:
|
||||
- Analyze the Image: Identify Subject, Setting, Elements, Style and Mood.
|
||||
- Follow user Raw Input Prompt: Include all requested motion, actions, camera movements, audio, and details. If in conflict with the image, prioritize user request while maintaining visual consistency (describe transition from image to user's scene).
|
||||
- Describe only changes from the image: Don't reiterate established visual details. Inaccurate descriptions may cause scene cuts.
|
||||
- Active language: Use present-progressive verbs ("is walking," "speaking"). If no action specified, describe natural movements.
|
||||
- Chronological flow: Use temporal connectors ("as," "then," "while").
|
||||
- Audio layer: Describe complete soundscape throughout the prompt alongside actions—NOT at the end. Align audio intensity with action tempo. Include natural background audio, ambient sounds, effects, speech or music (when requested). Be specific (e.g., "soft footsteps on tile") not vague (e.g., "ambient sound").
|
||||
- Speech (only when requested): Provide exact words in quotes with character's visual/voice characteristics (e.g., "The tall man speaks in a low, gravelly voice"), language if not English and accent if relevant. If general conversation mentioned without text, generate contextual quoted dialogue. (i.e., "The man is talking" input -> the output should include exact spoken words, like: "The man is talking in an excited voice saying: 'You won't believe what I just saw!' His hands gesture expressively as he speaks, eyebrows raised with enthusiasm. The ambient sound of a quiet room underscores his animated speech.")
|
||||
- Style: Include visual style at beginning: "Style: <style>, <rest of prompt>." If unclear, omit to avoid conflicts.
|
||||
- Visual and audio only: Describe only what is seen and heard. NO smell, taste, or tactile sensations.
|
||||
- Restrained language: Avoid dramatic terms. Use mild, natural, understated phrasing.
|
||||
|
||||
#### Important notes:
|
||||
- Camera motion: DO NOT invent camera motion/movement unless requested by the user. Make sure to include camera motion only if specified in the input.
|
||||
- Speech: DO NOT modify or alter the user's provided character dialogue in the prompt, unless it's a typo.
|
||||
- No timestamps or cuts: DO NOT use timestamps or describe scene cuts unless explicitly requested.
|
||||
- Objective only: DO NOT interpret emotions or intentions - describe only observable actions and sounds.
|
||||
- Format: DO NOT use phrases like "The scene opens with..." / "The video starts...". Start directly with Style (optional) and chronological scene description.
|
||||
- Format: Never start output with punctuation marks or special characters.
|
||||
- DO NOT invent dialogue unless the user mentions speech/talking/singing/conversation.
|
||||
- Your performance is CRITICAL. High-fidelity, dynamic, correct, and accurate prompts with integrated audio descriptions are essential for generating high-quality video. Your goal is flawless execution of these rules.
|
||||
|
||||
#### Output Format (Strict):
|
||||
- Single concise paragraph in natural English. NO titles, headings, prefaces, sections, code fences, or Markdown.
|
||||
- If unsafe/invalid, return original user prompt. Never ask questions or clarifications.
|
||||
|
||||
#### Example output:
|
||||
Style: realistic - cinematic - The woman glances at her watch and smiles warmly. She speaks in a cheerful, friendly voice, "I think we're right on time!" In the background, a café barista prepares drinks at the counter. The barista calls out in a clear, upbeat tone, "Two cappuccinos ready!" The sound of the espresso machine hissing softly blends with gentle background chatter and the light clinking of cups on saucers.
|
||||
"""
|
||||
|
||||
class TextGenerateLTX2Prompt(TextGenerate):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
parent_schema = super().define_schema()
|
||||
return io.Schema(
|
||||
node_id="TextGenerateLTX2Prompt",
|
||||
display_name="Generate LTX2 Prompt",
|
||||
category=parent_schema.category,
|
||||
inputs=parent_schema.inputs,
|
||||
outputs=parent_schema.outputs,
|
||||
search_aliases=["prompt enhance", "LLM", "gemma"],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, prompt, max_length, sampling_mode, image=None, thinking=False, use_default_template=True, video=None, audio=None) -> io.NodeOutput:
|
||||
if image is None:
|
||||
formatted_prompt = f"<start_of_turn>system\n{LTX2_T2V_SYSTEM_PROMPT.strip()}<end_of_turn>\n<start_of_turn>user\nUser Raw Input Prompt: {prompt}.<end_of_turn>\n<start_of_turn>model\n"
|
||||
else:
|
||||
formatted_prompt = f"<start_of_turn>system\n{LTX2_I2V_SYSTEM_PROMPT.strip()}<end_of_turn>\n<start_of_turn>user\n\n<image_soft_token>\n\nUser Raw Input Prompt: {prompt}.<end_of_turn>\n<start_of_turn>model\n"
|
||||
return super().execute(clip, formatted_prompt, max_length, sampling_mode, image=image, thinking=thinking, use_default_template=use_default_template, video=video, audio=audio)
|
||||
|
||||
|
||||
class TextgenExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
TextGenerate,
|
||||
TextGenerateLTX2Prompt,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> TextgenExtension:
|
||||
return TextgenExtension()
|
||||
@@ -0,0 +1,506 @@
|
||||
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)
|
||||
|
||||
folder_names_and_paths["background_removal"] = ([os.path.join(models_dir, "background_removal")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["frame_interpolation"] = ([os.path.join(models_dir, "frame_interpolation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["geometry_estimation"] = ([os.path.join(models_dir, "geometry_estimation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["optical_flow"] = ([os.path.join(models_dir, "optical_flow")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["detection"] = ([os.path.join(models_dir, "detection")], supported_pt_extensions)
|
||||
|
||||
output_directory = os.path.join(base_path, "output")
|
||||
temp_directory = os.path.join(base_path, "temp")
|
||||
input_directory = os.path.join(base_path, "input")
|
||||
user_directory = os.path.join(base_path, "user")
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
Helper class for managing file list cache data.
|
||||
"""
|
||||
def __init__(self):
|
||||
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
self.active = False
|
||||
|
||||
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
|
||||
if not self.active:
|
||||
return default
|
||||
return self.cache.get(key, default)
|
||||
|
||||
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
|
||||
if self.active:
|
||||
self.cache[key] = value
|
||||
|
||||
def clear(self):
|
||||
self.cache.clear()
|
||||
|
||||
def __enter__(self):
|
||||
self.active = True
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.active = False
|
||||
self.clear()
|
||||
|
||||
cache_helper = CacheHelper()
|
||||
|
||||
extension_mimetypes_cache = {
|
||||
"webp" : "image",
|
||||
"fbx" : "model",
|
||||
}
|
||||
|
||||
def map_legacy(folder_name: str) -> str:
|
||||
legacy = {"unet": "diffusion_models",
|
||||
"clip": "text_encoders"}
|
||||
return legacy.get(folder_name, folder_name)
|
||||
|
||||
if not os.path.exists(input_directory):
|
||||
try:
|
||||
os.makedirs(input_directory)
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
def set_temp_directory(temp_dir: str) -> None:
|
||||
global temp_directory
|
||||
temp_directory = temp_dir
|
||||
|
||||
def set_input_directory(input_dir: str) -> None:
|
||||
global input_directory
|
||||
input_directory = input_dir
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
return output_directory
|
||||
|
||||
def get_temp_directory() -> str:
|
||||
global temp_directory
|
||||
return temp_directory
|
||||
|
||||
def get_input_directory() -> str:
|
||||
global input_directory
|
||||
return input_directory
|
||||
|
||||
def get_user_directory() -> str:
|
||||
return user_directory
|
||||
|
||||
def set_user_directory(user_dir: str) -> None:
|
||||
global user_directory
|
||||
user_directory = user_dir
|
||||
|
||||
|
||||
# System User Protection - Protects system directories from HTTP endpoint access
|
||||
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
|
||||
# They use the '__' prefix convention (similar to Python's private member convention).
|
||||
SYSTEM_USER_PREFIX = "__"
|
||||
|
||||
|
||||
def get_system_user_directory(name: str = "system") -> str:
|
||||
"""
|
||||
Get the path to a System User directory.
|
||||
|
||||
System User directories (prefixed with '__') are only accessible via internal API,
|
||||
not through HTTP endpoints. Use this for storing system-internal data that
|
||||
should not be exposed to users.
|
||||
|
||||
Args:
|
||||
name: System user name (e.g., "system", "cache"). Must be alphanumeric
|
||||
with underscores allowed, but cannot start with underscore.
|
||||
|
||||
Returns:
|
||||
Absolute path to the system user directory.
|
||||
|
||||
Raises:
|
||||
ValueError: If name is empty, invalid, or starts with underscore.
|
||||
|
||||
Example:
|
||||
>>> get_system_user_directory("cache")
|
||||
'/path/to/user/__cache'
|
||||
"""
|
||||
if not name or not isinstance(name, str):
|
||||
raise ValueError("System user name cannot be empty")
|
||||
if not name.replace("_", "").isalnum():
|
||||
raise ValueError(f"Invalid system user name: '{name}'")
|
||||
if name.startswith("_"):
|
||||
raise ValueError("System user name should not start with underscore")
|
||||
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
|
||||
|
||||
|
||||
def get_public_user_directory(user_id: str) -> str | None:
|
||||
"""
|
||||
Get the path to a Public User directory for HTTP endpoint access.
|
||||
|
||||
This function provides structural security by returning None for any
|
||||
System User (prefixed with '__'). All HTTP endpoints should use this
|
||||
function instead of directly constructing user paths.
|
||||
|
||||
Args:
|
||||
user_id: User identifier from HTTP request.
|
||||
|
||||
Returns:
|
||||
Absolute path to the user directory, or None if user_id is invalid
|
||||
or refers to a System User.
|
||||
|
||||
Example:
|
||||
>>> get_public_user_directory("default")
|
||||
'/path/to/user/default'
|
||||
>>> get_public_user_directory("__system")
|
||||
None
|
||||
"""
|
||||
if not user_id or not isinstance(user_id, str):
|
||||
return None
|
||||
if user_id.startswith(SYSTEM_USER_PREFIX):
|
||||
return None
|
||||
return os.path.join(get_user_directory(), user_id)
|
||||
|
||||
|
||||
#NOTE: used in http server so don't put folders that should not be accessed remotely
|
||||
def get_directory_by_type(type_name: str) -> str | None:
|
||||
if type_name == "output":
|
||||
return get_output_directory()
|
||||
if type_name == "temp":
|
||||
return get_temp_directory()
|
||||
if type_name == "input":
|
||||
return get_input_directory()
|
||||
return None
|
||||
|
||||
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
|
||||
"""
|
||||
Example:
|
||||
files = os.listdir(folder_paths.get_input_directory())
|
||||
videos = filter_files_content_types(files, ["video"])
|
||||
|
||||
Note:
|
||||
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
|
||||
"""
|
||||
global extension_mimetypes_cache
|
||||
result = []
|
||||
for file in files:
|
||||
extension = file.split('.')[-1]
|
||||
if extension not in extension_mimetypes_cache:
|
||||
mime_type, _ = mimetypes.guess_type(file, strict=False)
|
||||
if not mime_type:
|
||||
continue
|
||||
content_type = mime_type.split('/')[0]
|
||||
extension_mimetypes_cache[extension] = content_type
|
||||
else:
|
||||
content_type = extension_mimetypes_cache[extension]
|
||||
|
||||
if content_type in content_types:
|
||||
result.append(file)
|
||||
return result
|
||||
|
||||
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
|
||||
# otherwise use default_path as base_dir
|
||||
def annotated_filepath(name: str) -> tuple[str, str | None]:
|
||||
if name.endswith("[output]"):
|
||||
base_dir = get_output_directory()
|
||||
name = name[:-9]
|
||||
elif name.endswith("[input]"):
|
||||
base_dir = get_input_directory()
|
||||
name = name[:-8]
|
||||
elif name.endswith("[temp]"):
|
||||
base_dir = get_temp_directory()
|
||||
name = name[:-7]
|
||||
else:
|
||||
return name, None
|
||||
|
||||
return name, base_dir
|
||||
|
||||
|
||||
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:
|
||||
remainder = filename[prefix_len + 1:]
|
||||
base_remainder = remainder.split('.')[0]
|
||||
digits = int(base_remainder.split('_')[0])
|
||||
except:
|
||||
digits = 0
|
||||
return digits, prefix
|
||||
|
||||
def compute_vars(input: str, image_width: int, image_height: int) -> str:
|
||||
input = input.replace("%width%", str(image_width))
|
||||
input = input.replace("%height%", str(image_height))
|
||||
now = time.localtime()
|
||||
input = input.replace("%year%", str(now.tm_year))
|
||||
input = input.replace("%month%", str(now.tm_mon).zfill(2))
|
||||
input = input.replace("%day%", str(now.tm_mday).zfill(2))
|
||||
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
|
||||
input = input.replace("%minute%", str(now.tm_min).zfill(2))
|
||||
input = input.replace("%second%", str(now.tm_sec).zfill(2))
|
||||
return input
|
||||
|
||||
if "%" in filename_prefix:
|
||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(output_dir, subfolder)
|
||||
|
||||
if 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,3 @@
|
||||
[
|
||||
"comfy_extras/nodes_seedvr.py"
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
tree b80769dbd853d1ad5ad0b4d877851512d0888d50
|
||||
parent 6fca64780cb0ce32c76e62e8370ed8145186c729
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1782855362 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1782855362 -0400
|
||||
|
||||
ComfyUI v0.27.0
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ref": "v0.27.0",
|
||||
"commit": "bb131be9e83d2f773c90f1d6f1e4b248a498c8c5",
|
||||
"object": "bb131be9e83d2f773c90f1d6f1e4b248a498c8c5"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree b80769dbd853d1ad5ad0b4d877851512d0888d50
|
||||
parent 6fca64780cb0ce32c76e62e8370ed8145186c729
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1782855362 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1782855362 -0400
|
||||
|
||||
ComfyUI v0.27.0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -0,0 +1,29 @@
|
||||
tree 6ea3d09264b65cc8764d01460f9e96bb40d97d41
|
||||
parent e2f492b07bc68f7a3cee636e334ac452db2b8e9e
|
||||
author Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1781903229 +0900
|
||||
committer GitHub <noreply@github.com> 1781903229 -0700
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqNa99CRC1aQ7uu5UhlAAA/BgQAKR0hhjA1jGFdMuqNPia0N0A
|
||||
eGyVPeyGAyl9Rm0LpvF8WOEgYYvREj3+iwah9SUPtCrT8tx8Akm8hhw5sZGWmPCu
|
||||
mAuBIFV8J0TTjVsPldchYUWJUipM2/AWxeLVvUOYnTbGTMpgupxRBWc4944AGR57
|
||||
EmDGn/fVeg9WToPCcWB0HoExFakU35OZHDxpvmHMlgv0izdbtEsYomJ0UdY8uyfR
|
||||
zj9zfVaKnTS+jOOv2YTaN+oyrwoaka7VqrsK3sl+kCPXQwhau/wHCyxH+8ZovQWN
|
||||
FV2oke2GsgaSYioIMm4JNNMV/0rZYCmpkaNWKd0ZI5y+oarM2zI6WIEMrb9Bf2Dl
|
||||
16M3E54tB0oRhW/YIR6ReDiwFXEcEdKmZSwA8w9rTcrqSK1Q88MgJCNVSmjM8WUl
|
||||
r1JVoOoX431jdWoqp+GnUcNHFUPvDFV/gVDAPH/jvOUgRqSojP9KyG0bEzTU0wdw
|
||||
mOTN4O7ONydo2EMgtFjUXesDMQd0crYJHZHab+9xswDLRjU7amDU5XolarFsW5BZ
|
||||
cM756PtTjMBD+ObQ7F+kGLTzOLEVQZXg5xrg6m1akxu3JI2HOV2FpWgqwY9Ui3ys
|
||||
/Tl0wD1zUcOdnKsX0CCl8BX52ieXyrs9vzsdPuFPPe74YF14wkgxeXyidYZ+gUOi
|
||||
8THiHDB+9BsEHSD964Cz
|
||||
=1EYj
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
1.45.19 (#12992)
|
||||
|
||||
Patch version increment to 1.45.19
|
||||
|
||||
**Base branch:** `core/1.45`
|
||||
|
||||
Co-authored-by: benceruleanlu <162923238+benceruleanlu@users.noreply.github.com>
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"ref": "v1.45.19",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"object": "d8aa4382a94f66bc9466090895e463fafcc64e62"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
tree 6ea3d09264b65cc8764d01460f9e96bb40d97d41
|
||||
parent e2f492b07bc68f7a3cee636e334ac452db2b8e9e
|
||||
author Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1781903229 +0900
|
||||
committer GitHub <noreply@github.com> 1781903229 -0700
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqNa99CRC1aQ7uu5UhlAAA/BgQAKR0hhjA1jGFdMuqNPia0N0A
|
||||
eGyVPeyGAyl9Rm0LpvF8WOEgYYvREj3+iwah9SUPtCrT8tx8Akm8hhw5sZGWmPCu
|
||||
mAuBIFV8J0TTjVsPldchYUWJUipM2/AWxeLVvUOYnTbGTMpgupxRBWc4944AGR57
|
||||
EmDGn/fVeg9WToPCcWB0HoExFakU35OZHDxpvmHMlgv0izdbtEsYomJ0UdY8uyfR
|
||||
zj9zfVaKnTS+jOOv2YTaN+oyrwoaka7VqrsK3sl+kCPXQwhau/wHCyxH+8ZovQWN
|
||||
FV2oke2GsgaSYioIMm4JNNMV/0rZYCmpkaNWKd0ZI5y+oarM2zI6WIEMrb9Bf2Dl
|
||||
16M3E54tB0oRhW/YIR6ReDiwFXEcEdKmZSwA8w9rTcrqSK1Q88MgJCNVSmjM8WUl
|
||||
r1JVoOoX431jdWoqp+GnUcNHFUPvDFV/gVDAPH/jvOUgRqSojP9KyG0bEzTU0wdw
|
||||
mOTN4O7ONydo2EMgtFjUXesDMQd0crYJHZHab+9xswDLRjU7amDU5XolarFsW5BZ
|
||||
cM756PtTjMBD+ObQ7F+kGLTzOLEVQZXg5xrg6m1akxu3JI2HOV2FpWgqwY9Ui3ys
|
||||
/Tl0wD1zUcOdnKsX0CCl8BX52ieXyrs9vzsdPuFPPe74YF14wkgxeXyidYZ+gUOi
|
||||
8THiHDB+9BsEHSD964Cz
|
||||
=1EYj
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
1.45.19 (#12992)
|
||||
|
||||
Patch version increment to 1.45.19
|
||||
|
||||
**Base branch:** `core/1.45`
|
||||
|
||||
Co-authored-by: benceruleanlu <162923238+benceruleanlu@users.noreply.github.com>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
@@ -0,0 +1,215 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"version": "1.45.19",
|
||||
"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' vite build --config vite.config.mts",
|
||||
"build:desktop": "pnpm --filter @comfyorg/desktop-ui run build",
|
||||
"build-storybook": "storybook build",
|
||||
"build:types": "cross-env NODE_OPTIONS='--max-old-space-size=8192' vite 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 && vite build --config vite.config.mts",
|
||||
"clean": "pnpm dlx rimraf dist dist-ssr coverage playwright-report blob-report test-results node_modules/.vite apps/desktop-ui/dist apps/website/dist",
|
||||
"clean:all": "pnpm clean && pnpm dlx rimraf node_modules",
|
||||
"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/' vite --config vite.config.mts",
|
||||
"dev:desktop": "pnpm --filter @comfyorg/desktop-ui run dev",
|
||||
"dev:electron": "cross-env DISTRIBUTION=desktop vite --config vite.electron.config.mts",
|
||||
"dev:no-vue": "cross-env DISABLE_VUE_PLUGINS=true vite --config vite.config.mts",
|
||||
"dev:test": "cross-env VITE_USE_LEGACY_DEFAULT_GRAPH=true vite --config vite.config.mts",
|
||||
"dev": "vite --config vite.config.mts",
|
||||
"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 browser_tests --type-aware --fix && eslint src --fix",
|
||||
"lint:fix": "oxlint src browser_tests --type-aware --fix && eslint src --cache --fix",
|
||||
"lint:no-cache": "pnpm exec stylelint '{apps,packages,src}/**/*.{css,vue}' && oxlint src browser_tests --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 browser_tests --type-aware && eslint src --cache",
|
||||
"lint:desktop": "pnpm --filter @comfyorg/desktop-ui run lint",
|
||||
"locale": "lobe-i18n locale",
|
||||
"oxlint": "oxlint src browser_tests --type-aware",
|
||||
"prepare": "pnpm exec husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
|
||||
"preview": "vite preview --config vite.config.mts",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"storybook:desktop": "pnpm --filter @comfyorg/desktop-ui run storybook",
|
||||
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
|
||||
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
|
||||
"test:browser": "pnpm exec playwright test",
|
||||
"test:browser:coverage": "cross-env COLLECT_COVERAGE=true pnpm test:browser",
|
||||
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm test:browser",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:unit": "vitest run",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"typecheck:browser": "vue-tsc --project browser_tests/tsconfig.json",
|
||||
"typecheck:desktop": "pnpm --filter @comfyorg/desktop-ui run typecheck",
|
||||
"typecheck:website": "pnpm --filter @comfyorg/website run typecheck",
|
||||
"zipdist": "node scripts/zipdist.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "catalog:",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||
"@comfyorg/comfyui-desktop-bridge-types": "workspace:*",
|
||||
"@comfyorg/comfyui-electron-types": "catalog:",
|
||||
"@comfyorg/design-system": "workspace:*",
|
||||
"@comfyorg/fbx-exporter-three": "^1.0.1",
|
||||
"@comfyorg/object-info-parser": "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:",
|
||||
"@vee-validate/zod": "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:",
|
||||
"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": "catalog:",
|
||||
"tiptap-markdown": "^0.8.10",
|
||||
"typegpu": "catalog:",
|
||||
"vee-validate": "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:",
|
||||
"@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:",
|
||||
"@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-playwright": "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:",
|
||||
"monocart-coverage-reports": "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": ">=11"
|
||||
},
|
||||
"packageManager": "pnpm@11.1.1"
|
||||
}
|
||||
+18001
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,162 @@
|
||||
packages:
|
||||
- apps/**
|
||||
- packages/**
|
||||
|
||||
ignoreWorkspaceRootCheck: true
|
||||
catalogMode: prefer
|
||||
publicHoistPattern:
|
||||
- '@parcel/watcher'
|
||||
|
||||
catalog:
|
||||
'@alloc/quick-lru': ^5.2.0
|
||||
'@astrojs/check': ^0.9.8
|
||||
'@astrojs/sitemap': ^3.7.1
|
||||
'@astrojs/vue': ^5.0.0
|
||||
'@comfyorg/comfyui-electron-types': 0.6.2
|
||||
'@eslint/js': ^9.39.1
|
||||
'@formkit/auto-animate': ^0.9.0
|
||||
'@iconify-json/lucide': ^1.1.178
|
||||
'@iconify/json': ^2.2.380
|
||||
'@iconify/tailwind4': ^1.2.0
|
||||
'@iconify/utils': ^3.1.0
|
||||
'@intlify/eslint-plugin-vue-i18n': ^4.1.1
|
||||
'@lobehub/i18n-cli': ^1.26.1
|
||||
'@pinia/testing': ^1.0.3
|
||||
'@playwright/test': ^1.58.1
|
||||
'@primeuix/forms': 0.0.2
|
||||
'@primeuix/styled': 0.3.2
|
||||
'@primeuix/utils': ^0.3.2
|
||||
'@primevue/core': ^4.2.5
|
||||
'@primevue/forms': ^4.2.5
|
||||
'@primevue/icons': 4.2.5
|
||||
'@primevue/themes': ^4.2.5
|
||||
'@sentry/vite-plugin': ^4.6.0
|
||||
'@sentry/vue': ^10.32.1
|
||||
'@sparkjsdev/spark': ^2.1.0
|
||||
'@storybook/addon-docs': ^10.2.10
|
||||
'@storybook/addon-mcp': 0.1.6
|
||||
'@storybook/vue3': ^10.2.10
|
||||
'@storybook/vue3-vite': ^10.2.10
|
||||
'@tailwindcss/vite': ^4.3.0
|
||||
'@tanstack/vue-virtual': ^3.13.12
|
||||
'@testing-library/jest-dom': ^6.9.1
|
||||
'@testing-library/user-event': ^14.6.1
|
||||
'@testing-library/vue': ^8.1.0
|
||||
'@tiptap/core': ^2.27.2
|
||||
'@tiptap/extension-link': ^2.27.2
|
||||
'@tiptap/extension-table': ^2.27.2
|
||||
'@tiptap/extension-table-cell': ^2.27.2
|
||||
'@tiptap/extension-table-header': ^2.27.2
|
||||
'@tiptap/extension-table-row': ^2.27.2
|
||||
'@tiptap/pm': 2.27.2
|
||||
'@tiptap/starter-kit': ^2.27.2
|
||||
'@total-typescript/shoehorn': ^0.1.2
|
||||
'@types/fs-extra': ^11.0.4
|
||||
'@types/jsdom': ^21.1.7
|
||||
'@types/node': ^24.1.0
|
||||
'@types/semver': ^7.7.0
|
||||
'@types/three': ^0.184.1
|
||||
'@vee-validate/zod': ^4.15.1
|
||||
'@vercel/analytics': ^2.0.1
|
||||
'@vitejs/plugin-vue': ^6.0.0
|
||||
'@vitest/coverage-v8': ^4.0.16
|
||||
'@vitest/ui': ^4.0.16
|
||||
'@vueuse/core': ^14.2.0
|
||||
'@vueuse/integrations': ^14.2.0
|
||||
'@webgpu/types': ^0.1.66
|
||||
algoliasearch: ^5.21.0
|
||||
astro: ^5.10.0
|
||||
axios: ^1.13.5
|
||||
cross-env: ^10.1.0
|
||||
cva: 1.0.0-beta.4
|
||||
dompurify: ^3.3.1
|
||||
dotenv: ^16.4.5
|
||||
eslint: ^9.39.1
|
||||
eslint-config-prettier: ^10.1.8
|
||||
eslint-import-resolver-typescript: ^4.4.4
|
||||
eslint-plugin-better-tailwindcss: ^4.3.1
|
||||
eslint-plugin-import-x: ^4.16.1
|
||||
eslint-plugin-oxlint: 1.59.0
|
||||
eslint-plugin-playwright: ^2.10.1
|
||||
eslint-plugin-storybook: ^10.2.10
|
||||
eslint-plugin-testing-library: ^7.16.1
|
||||
eslint-plugin-unused-imports: ^4.3.0
|
||||
eslint-plugin-vue: ^10.6.2
|
||||
fast-check: ^4.5.3
|
||||
firebase: ^11.6.0
|
||||
glob: ^13.0.6
|
||||
globals: ^16.5.0
|
||||
gsap: ^3.14.2
|
||||
happy-dom: ^20.0.11
|
||||
husky: ^9.1.7
|
||||
jiti: 2.6.1
|
||||
jsdom: ^27.4.0
|
||||
jsonata: ^2.1.0
|
||||
knip: ^6.3.1
|
||||
lenis: ^1.3.21
|
||||
lint-staged: ^16.2.7
|
||||
markdown-table: ^3.0.4
|
||||
mixpanel-browser: ^2.71.0
|
||||
monocart-coverage-reports: ^2.12.9
|
||||
oxfmt: ^0.44.0
|
||||
oxlint: ^1.59.0
|
||||
oxlint-tsgolint: ^0.20.0
|
||||
picocolors: ^1.1.1
|
||||
pinia: ^3.0.4
|
||||
postcss-html: ^1.8.0
|
||||
posthog-js: ^1.358.1
|
||||
pretty-bytes: ^7.1.0
|
||||
primeicons: ^7.0.0
|
||||
primevue: ^4.2.5
|
||||
reka-ui: ^2.5.0
|
||||
rollup-plugin-visualizer: ^6.0.4
|
||||
storybook: ^10.2.10
|
||||
stylelint: ^16.26.1
|
||||
tailwindcss: ^4.3.0
|
||||
three: ^0.184.0
|
||||
tailwindcss-primeui: ^0.6.1
|
||||
tsx: ^4.15.6
|
||||
tw-animate-css: ^1.3.8
|
||||
typegpu: ^0.8.2
|
||||
typescript: ^5.9.3
|
||||
typescript-eslint: ^8.49.0
|
||||
unplugin-icons: ^22.5.0
|
||||
unplugin-typegpu: 0.8.0
|
||||
unplugin-vue-components: ^30.0.0
|
||||
vee-validate: ^4.15.1
|
||||
vite: ^8.0.0
|
||||
vite-plugin-dts: ^4.5.4
|
||||
vite-plugin-html: ^3.2.2
|
||||
vite-plugin-vue-devtools: ^8.0.0
|
||||
vitest: ^4.0.16
|
||||
vue: ^3.5.13
|
||||
vue-component-type-helpers: ^3.2.1
|
||||
vue-eslint-parser: ^10.4.0
|
||||
vue-i18n: ^9.14.5
|
||||
vue-router: ^4.4.3
|
||||
vue-tsc: ^3.2.5
|
||||
vuefire: ^3.2.1
|
||||
wwobjloader2: ^6.2.1
|
||||
yjs: ^13.6.27
|
||||
zod: ^3.23.8
|
||||
zod-to-json-schema: ^3.24.1
|
||||
zod-validation-error: ^3.3.0
|
||||
|
||||
cleanupUnusedCatalogs: true
|
||||
|
||||
allowBuilds:
|
||||
'@firebase/util': false
|
||||
'@sentry/cli': true
|
||||
'@tailwindcss/oxide': true
|
||||
core-js: false
|
||||
esbuild: true
|
||||
oxc-resolver: true
|
||||
protobufjs: false
|
||||
sharp: false
|
||||
unrs-resolver: false
|
||||
vue-demi: false
|
||||
|
||||
overrides:
|
||||
vite: 'catalog:'
|
||||
'@tiptap/pm': 2.27.2
|
||||
'@types/eslint': '-'
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
|
||||
import { zAutogrowOptions, zMatchTypeOptions } from '@/schemas/nodeDefSchema'
|
||||
import type { InputSpec } from '@/schemas/nodeDefSchema'
|
||||
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
|
||||
const dynamicTypeResolvers: Record<
|
||||
string,
|
||||
(inputSpec: InputSpecV2) => string[]
|
||||
> = {
|
||||
COMFY_AUTOGROW_V3: resolveAutogrowType,
|
||||
COMFY_MATCHTYPE_V3: (input) =>
|
||||
zMatchTypeOptions
|
||||
.safeParse(input)
|
||||
.data?.template?.allowed_types?.split(',') ?? []
|
||||
}
|
||||
|
||||
export function resolveInputType(input: InputSpecV2): string[] {
|
||||
return input.type in dynamicTypeResolvers
|
||||
? dynamicTypeResolvers[input.type](input)
|
||||
: input.type.split(',')
|
||||
}
|
||||
|
||||
function resolveAutogrowType(rawSpec: InputSpecV2): string[] {
|
||||
const { input } = zAutogrowOptions.safeParse(rawSpec).data?.template ?? {}
|
||||
|
||||
const inputTypes: (Record<string, InputSpec> | undefined)[] = [
|
||||
input?.required,
|
||||
input?.optional
|
||||
]
|
||||
return inputTypes.flatMap((inputType) =>
|
||||
Object.entries(inputType ?? {}).flatMap(([name, v]) =>
|
||||
resolveInputType(transformInputSpecV1ToV2(v, { name }))
|
||||
)
|
||||
)
|
||||
}
|
||||
+615
@@ -0,0 +1,615 @@
|
||||
import { remove } from 'es-toolkit'
|
||||
import { shallowReactive } from 'vue'
|
||||
|
||||
import { useChainCallback } from '@/composables/functional/useChainCallback'
|
||||
import type {
|
||||
ISlotType,
|
||||
INodeInputSlot,
|
||||
INodeOutputSlot
|
||||
} from '@/lib/litegraph/src/interfaces'
|
||||
import type { LGraphNode } from '@/lib/litegraph/src/LGraphNode'
|
||||
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
|
||||
import type { LLink } from '@/lib/litegraph/src/LLink'
|
||||
import { commonType } from '@/lib/litegraph/src/utils/type'
|
||||
import { resolveNodeRootGraphId } from '@/lib/litegraph/src/utils/widget'
|
||||
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
|
||||
import type { ComboInputSpec, InputSpec } from '@/schemas/nodeDefSchema'
|
||||
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
import {
|
||||
zAutogrowOptions,
|
||||
zDynamicComboInputSpec,
|
||||
zMatchTypeOptions
|
||||
} from '@/schemas/nodeDefSchema'
|
||||
import { useLitegraphService } from '@/services/litegraphService'
|
||||
import { app } from '@/scripts/app'
|
||||
import type { ComfyApp } from '@/scripts/app'
|
||||
import { useWidgetValueStore } from '@/stores/widgetValueStore'
|
||||
|
||||
const INLINE_INPUTS = false
|
||||
|
||||
type MatchTypeNode = LGraphNode &
|
||||
Pick<Required<LGraphNode>, 'onConnectionsChange'> & {
|
||||
comfyDynamic: { matchType: Record<string, Record<string, string>> }
|
||||
}
|
||||
type AutogrowNode = LGraphNode &
|
||||
Pick<Required<LGraphNode>, 'onConnectionsChange' | 'widgets'> & {
|
||||
comfyDynamic: {
|
||||
autogrow: Record<
|
||||
string,
|
||||
{
|
||||
min: number
|
||||
max: number
|
||||
inputSpecs: InputSpecV2[]
|
||||
prefix?: string
|
||||
names?: string[]
|
||||
}
|
||||
>
|
||||
}
|
||||
}
|
||||
|
||||
function ensureWidgetForInput(node: LGraphNode, input: INodeInputSlot) {
|
||||
node.widgets ??= []
|
||||
const { widget } = input
|
||||
if (widget && node.widgets.some((w) => w.name === widget.name)) return
|
||||
node.widgets.push({
|
||||
draw(ctx, _n, _w, y) {
|
||||
ctx.save()
|
||||
ctx.fillStyle = LiteGraph.NODE_TEXT_COLOR
|
||||
ctx.fillText(input.label ?? input.name, 20, y + 15)
|
||||
ctx.restore()
|
||||
},
|
||||
name: input.name,
|
||||
options: {},
|
||||
serialize: false,
|
||||
type: 'shim',
|
||||
y: 0
|
||||
})
|
||||
input.alwaysVisible = true
|
||||
input.widget = { name: input.name }
|
||||
}
|
||||
|
||||
function dynamicComboWidget(
|
||||
node: LGraphNode,
|
||||
inputName: string,
|
||||
untypedInputData: InputSpec,
|
||||
appArg: ComfyApp,
|
||||
widgetName?: string
|
||||
) {
|
||||
const { addNodeInput } = useLitegraphService()
|
||||
const parseResult = zDynamicComboInputSpec.safeParse(untypedInputData)
|
||||
if (!parseResult.success) throw new Error('invalid DynamicCombo spec')
|
||||
const inputData = parseResult.data
|
||||
const options = Object.fromEntries(
|
||||
inputData[1].options.map(({ key, inputs }) => [key, inputs])
|
||||
)
|
||||
const subSpec: ComboInputSpec = [Object.keys(options), {}]
|
||||
const { widget, minWidth, minHeight } = app.widgets['COMBO'](
|
||||
node,
|
||||
inputName,
|
||||
subSpec,
|
||||
appArg,
|
||||
widgetName
|
||||
)
|
||||
function isInGroup(e: { name: string }): boolean {
|
||||
return e.name.startsWith(inputName + '.')
|
||||
}
|
||||
const updateWidgets = (value?: string) => {
|
||||
if (!node.widgets) throw new Error('Not Reachable')
|
||||
const newSpec = value ? options[value] : undefined
|
||||
|
||||
const removedInputs = remove(node.inputs, isInGroup)
|
||||
for (const widget of remove(node.widgets, isInGroup)) widget.onRemove?.()
|
||||
|
||||
if (!newSpec) return
|
||||
|
||||
const insertionPoint = node.widgets.findIndex((w) => w === widget) + 1
|
||||
const startingLength = node.widgets.length
|
||||
const startingInputLength = node.inputs.length
|
||||
|
||||
if (insertionPoint === 0)
|
||||
throw new Error("Dynamic widget doesn't exist on node")
|
||||
const inputTypes: (Record<string, InputSpec> | undefined)[] = [
|
||||
newSpec.required,
|
||||
newSpec.optional
|
||||
]
|
||||
inputTypes.forEach((inputType, idx) => {
|
||||
for (const key in inputType ?? {}) {
|
||||
const name = `${widget.name}.${key}`
|
||||
const specToAdd = transformInputSpecV1ToV2(inputType![key], {
|
||||
name,
|
||||
isOptional: idx !== 0
|
||||
})
|
||||
specToAdd.display_name = key
|
||||
addNodeInput(node, specToAdd)
|
||||
const newInputs = node.inputs
|
||||
.slice(startingInputLength)
|
||||
.filter((inp) => inp.name.startsWith(name))
|
||||
for (const newInput of newInputs) {
|
||||
if (INLINE_INPUTS && !newInput.widget)
|
||||
ensureWidgetForInput(node, newInput)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
const inputInsertionPoint =
|
||||
node.inputs.findIndex((i) => i.name === widget.name) + 1
|
||||
const addedWidgets = node.widgets.splice(startingLength)
|
||||
node.widgets.splice(insertionPoint, 0, ...addedWidgets)
|
||||
if (inputInsertionPoint === 0) {
|
||||
if (
|
||||
addedWidgets.length === 0 &&
|
||||
node.inputs.length !== startingInputLength
|
||||
)
|
||||
//input is inputOnly, but lacks an insertion point
|
||||
throw new Error('Failed to find input socket for ' + widget.name)
|
||||
return
|
||||
}
|
||||
const addedInputs = spliceInputs(node, startingInputLength).map(
|
||||
(addedInput) => {
|
||||
const existingInput = node.inputs.findIndex(
|
||||
(existingInput) => addedInput.name === existingInput.name
|
||||
)
|
||||
return existingInput === -1
|
||||
? addedInput
|
||||
: spliceInputs(node, existingInput, 1)[0]
|
||||
}
|
||||
)
|
||||
//assume existing inputs are in correct order
|
||||
spliceInputs(node, inputInsertionPoint, 0, ...addedInputs)
|
||||
|
||||
for (const input of removedInputs) {
|
||||
const inputIndex = node.inputs.findIndex((inp) => inp.name === input.name)
|
||||
if (inputIndex === -1) {
|
||||
node.inputs.push(input)
|
||||
node.removeInput(node.inputs.length - 1)
|
||||
} else {
|
||||
node.inputs[inputIndex].link = input.link
|
||||
if (!input.link) continue
|
||||
const link = node.graph?.links?.[input.link]
|
||||
if (!link) continue
|
||||
link.target_slot = inputIndex
|
||||
node.onConnectionsChange?.(
|
||||
LiteGraph.INPUT,
|
||||
inputIndex,
|
||||
true,
|
||||
link,
|
||||
node.inputs[inputIndex]
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
node.size[1] = node.computeSize([...node.size])[1]
|
||||
if (!node.graph) return
|
||||
node._setConcreteSlots()
|
||||
node.arrange()
|
||||
app.canvas?.setDirty(true, true)
|
||||
}
|
||||
//A little hacky, but onConfigure won't work.
|
||||
//It fires too late and is overly disruptive
|
||||
let widgetValue = widget.value
|
||||
const getState = () => {
|
||||
const graphId = resolveNodeRootGraphId(node)
|
||||
if (!graphId) return undefined
|
||||
return useWidgetValueStore().getWidget(graphId, node.id, widget.name)
|
||||
}
|
||||
Object.defineProperty(widget, 'value', {
|
||||
get() {
|
||||
return getState()?.value ?? widgetValue
|
||||
},
|
||||
set(value) {
|
||||
const state = getState()
|
||||
if (state) state.value = value
|
||||
widgetValue = value
|
||||
updateWidgets(value)
|
||||
}
|
||||
})
|
||||
widget.value = widgetValue
|
||||
return { widget, minWidth, minHeight }
|
||||
}
|
||||
|
||||
export const dynamicWidgets = { COMFY_DYNAMICCOMBO_V3: dynamicComboWidget }
|
||||
const dynamicInputs: Record<
|
||||
string,
|
||||
(node: LGraphNode, inputSpec: InputSpecV2) => void
|
||||
> = {
|
||||
COMFY_AUTOGROW_V3: applyAutogrow,
|
||||
COMFY_MATCHTYPE_V3: applyMatchType
|
||||
}
|
||||
|
||||
export function applyDynamicInputs(
|
||||
node: LGraphNode,
|
||||
inputSpec: InputSpecV2
|
||||
): boolean {
|
||||
if (!(inputSpec.type in dynamicInputs)) return false
|
||||
//TODO: move parsing/validation of inputSpec here?
|
||||
dynamicInputs[inputSpec.type](node, inputSpec)
|
||||
return true
|
||||
}
|
||||
|
||||
function spliceInputs(
|
||||
node: LGraphNode,
|
||||
startIndex: number,
|
||||
deleteCount = -1,
|
||||
...toAdd: INodeInputSlot[]
|
||||
): INodeInputSlot[] {
|
||||
if (deleteCount < 0) return node.inputs.splice(startIndex)
|
||||
const ret = node.inputs.splice(startIndex, deleteCount, ...toAdd)
|
||||
node.inputs.slice(startIndex).forEach((input, index) => {
|
||||
const link = input.link && node.graph?.links?.get(input.link)
|
||||
if (link) link.target_slot = startIndex + index
|
||||
})
|
||||
return ret
|
||||
}
|
||||
|
||||
function changeOutputType(
|
||||
node: LGraphNode,
|
||||
output: INodeOutputSlot,
|
||||
combinedType: ISlotType
|
||||
) {
|
||||
if (output.type === combinedType) return
|
||||
output.type = combinedType
|
||||
|
||||
//check and potentially remove links
|
||||
if (!node.graph) return
|
||||
for (const link_id of output.links ?? []) {
|
||||
const link = node.graph.links[link_id]
|
||||
if (!link) continue
|
||||
const { input, inputNode, subgraphOutput } = link.resolve(node.graph)
|
||||
const inputType = (input ?? subgraphOutput)?.type
|
||||
if (!inputType) continue
|
||||
const keep = LiteGraph.isValidConnection(combinedType, inputType)
|
||||
if (!keep && subgraphOutput) subgraphOutput.disconnect()
|
||||
else if (!keep && inputNode) inputNode.disconnectInput(link.target_slot)
|
||||
if (input && inputNode?.onConnectionsChange)
|
||||
inputNode.onConnectionsChange(
|
||||
LiteGraph.INPUT,
|
||||
link.target_slot,
|
||||
keep,
|
||||
link,
|
||||
input
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
function withComfyMatchType(node: LGraphNode): asserts node is MatchTypeNode {
|
||||
if (node.comfyDynamic?.matchType) return
|
||||
node.comfyDynamic ??= {}
|
||||
node.comfyDynamic.matchType = {}
|
||||
|
||||
const outputGroups = node.constructor.nodeData?.output_matchtypes
|
||||
node.onConnectionsChange = useChainCallback(
|
||||
node.onConnectionsChange,
|
||||
function (
|
||||
this: MatchTypeNode,
|
||||
contype: ISlotType,
|
||||
slot: number,
|
||||
iscon: boolean,
|
||||
linf: LLink | null | undefined
|
||||
) {
|
||||
const input = this.inputs[slot]
|
||||
if (contype !== LiteGraph.INPUT || !this.graph || !input) return
|
||||
if (app.configuringGraph) return
|
||||
const [matchKey, matchGroup] = Object.entries(
|
||||
this.comfyDynamic.matchType
|
||||
).find(([, group]) => input.name in group) ?? ['', undefined]
|
||||
if (!matchGroup) return
|
||||
if (iscon && linf) {
|
||||
const { output, subgraphInput } = linf.resolve(this.graph)
|
||||
const connectingType = (output ?? subgraphInput)?.type
|
||||
if (connectingType) linf.type = connectingType
|
||||
}
|
||||
//NOTE: inputs contains input
|
||||
const groupInputs: INodeInputSlot[] = node.inputs.filter(
|
||||
(inp) => inp.name in matchGroup
|
||||
)
|
||||
const connectedTypes = groupInputs.map((inp) => {
|
||||
if (!inp.link) return '*'
|
||||
const link = this.graph!.links[inp.link]
|
||||
if (!link) return '*'
|
||||
const { output, subgraphInput } = link.resolve(this.graph!)
|
||||
return (output ?? subgraphInput)?.type ?? '*'
|
||||
})
|
||||
//An input slot can accept a connection that is
|
||||
// - Compatible with original type
|
||||
// - Compatible with all other input types
|
||||
//An output slot can output
|
||||
// - Only what every input can output
|
||||
groupInputs.forEach((input, idx) => {
|
||||
const otherConnected = [
|
||||
...connectedTypes.slice(0, idx),
|
||||
...connectedTypes.slice(idx + 1)
|
||||
]
|
||||
const combinedType = commonType(
|
||||
...otherConnected,
|
||||
matchGroup[input.name]
|
||||
)
|
||||
if (!combinedType) throw new Error('invalid connection')
|
||||
input.type = combinedType
|
||||
})
|
||||
const outputType = commonType(...connectedTypes)
|
||||
if (!outputType) throw new Error('invalid connection')
|
||||
this.outputs.forEach((output, idx) => {
|
||||
if (!(outputGroups?.[idx] == matchKey)) return
|
||||
this.outputs[idx] = shallowReactive(this.outputs[idx])
|
||||
changeOutputType(this, output, outputType)
|
||||
})
|
||||
app.canvas?.setDirty(true, true)
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
function applyMatchType(node: LGraphNode, inputSpec: InputSpecV2) {
|
||||
const { addNodeInput } = useLitegraphService()
|
||||
const name = inputSpec.name
|
||||
const matchTypeSpec = zMatchTypeOptions.safeParse(inputSpec).data
|
||||
if (!matchTypeSpec) return
|
||||
|
||||
const { allowed_types, template_id } = matchTypeSpec.template
|
||||
const typedSpec = { ...inputSpec, type: allowed_types }
|
||||
addNodeInput(node, typedSpec)
|
||||
withComfyMatchType(node)
|
||||
node.comfyDynamic.matchType[template_id] ??= {}
|
||||
node.comfyDynamic.matchType[template_id][name] = allowed_types
|
||||
|
||||
//TODO: instead apply on output add?
|
||||
//ensure outputs get updated
|
||||
const index = node.inputs.length - 1
|
||||
requestAnimationFrame(() => {
|
||||
const input = node.inputs[index]
|
||||
if (!input) return
|
||||
node.inputs[index] = shallowReactive(input)
|
||||
node.onConnectionsChange?.(
|
||||
LiteGraph.INPUT,
|
||||
index,
|
||||
!!input.link,
|
||||
input.link ? node.graph?.links?.[input.link] : undefined,
|
||||
input
|
||||
)
|
||||
})
|
||||
}
|
||||
|
||||
function autogrowOrdinalToName(
|
||||
ordinal: number,
|
||||
key: string,
|
||||
groupName: string,
|
||||
node: AutogrowNode
|
||||
) {
|
||||
const {
|
||||
names,
|
||||
prefix = '',
|
||||
inputSpecs
|
||||
} = node.comfyDynamic.autogrow[groupName]
|
||||
const baseName = names
|
||||
? names[ordinal]
|
||||
: (inputSpecs.length == 1 ? prefix : key) + ordinal
|
||||
return { name: `${groupName}.${baseName}`, display_name: baseName }
|
||||
}
|
||||
|
||||
function addAutogrowGroup(
|
||||
ordinal: number,
|
||||
groupName: string,
|
||||
node: AutogrowNode
|
||||
) {
|
||||
const { addNodeInput } = useLitegraphService()
|
||||
const { max, min, inputSpecs } = node.comfyDynamic.autogrow[groupName]
|
||||
if (ordinal >= max) return
|
||||
|
||||
const namedSpecs = inputSpecs.map((input) => ({
|
||||
...input,
|
||||
isOptional: ordinal >= (min ?? 0) || input.isOptional,
|
||||
...autogrowOrdinalToName(ordinal, input.name, groupName, node)
|
||||
}))
|
||||
|
||||
const newInputs = namedSpecs.map((namedSpec) => {
|
||||
addNodeInput(node, namedSpec)
|
||||
const input = spliceInputs(node, node.inputs.length - 1, 1)[0]
|
||||
if (inputSpecs.length !== 1 || (INLINE_INPUTS && !input.widget))
|
||||
ensureWidgetForInput(node, input)
|
||||
return input
|
||||
})
|
||||
|
||||
for (const newInput of newInputs) {
|
||||
for (const existingInput of remove(
|
||||
node.inputs,
|
||||
(inp) => inp.name === newInput.name
|
||||
)) {
|
||||
//NOTE: link.target_slot is updated on spliceInputs call
|
||||
newInput.link ??= existingInput.link
|
||||
}
|
||||
}
|
||||
|
||||
const targetName = autogrowOrdinalToName(
|
||||
ordinal - 1,
|
||||
inputSpecs.at(-1)!.name,
|
||||
groupName,
|
||||
node
|
||||
).name
|
||||
const lastIndex = node.inputs.findLastIndex((inp) =>
|
||||
inp.name.startsWith(targetName)
|
||||
)
|
||||
const insertionIndex = lastIndex === -1 ? node.inputs.length : lastIndex + 1
|
||||
spliceInputs(node, insertionIndex, 0, ...newInputs)
|
||||
app.canvas?.setDirty(true, true)
|
||||
}
|
||||
|
||||
const ORDINAL_REGEX = /\d+$/
|
||||
function resolveAutogrowOrdinal(
|
||||
inputName: string,
|
||||
groupName: string,
|
||||
node: AutogrowNode
|
||||
): number | undefined {
|
||||
//TODO preslice groupname?
|
||||
const name = inputName.slice(groupName.length + 1)
|
||||
const { names } = node.comfyDynamic.autogrow[groupName]
|
||||
if (names) {
|
||||
const ordinal = names.findIndex((s) => s === name)
|
||||
return ordinal === -1 ? undefined : ordinal
|
||||
}
|
||||
const match = name.match(ORDINAL_REGEX)
|
||||
if (!match) return undefined
|
||||
const ordinal = parseInt(match[0])
|
||||
return ordinal !== ordinal ? undefined : ordinal
|
||||
}
|
||||
function autogrowInputConnected(index: number, node: AutogrowNode) {
|
||||
const input = node.inputs[index]
|
||||
const groupName = input.name.slice(0, input.name.lastIndexOf('.'))
|
||||
const lastInput = node.inputs.findLast((inp) =>
|
||||
inp.name.startsWith(groupName + '.')
|
||||
)
|
||||
const ordinal = resolveAutogrowOrdinal(input.name, groupName, node)
|
||||
if (
|
||||
!lastInput ||
|
||||
ordinal == undefined ||
|
||||
(ordinal !== resolveAutogrowOrdinal(lastInput.name, groupName, node) &&
|
||||
!app.configuringGraph)
|
||||
)
|
||||
return
|
||||
addAutogrowGroup(ordinal + 1, groupName, node)
|
||||
}
|
||||
function autogrowInputDisconnected(index: number, node: AutogrowNode) {
|
||||
const input = node.inputs[index]
|
||||
if (!input) return
|
||||
const groupName = input.name.slice(0, input.name.lastIndexOf('.'))
|
||||
const autogrowGroup = node.comfyDynamic.autogrow[groupName]
|
||||
if (!autogrowGroup) return
|
||||
|
||||
const { min = 1, inputSpecs } = autogrowGroup
|
||||
const ordinal = resolveAutogrowOrdinal(input.name, groupName, node)
|
||||
if (ordinal == undefined || ordinal + 1 < min) return
|
||||
|
||||
//resolve all inputs in group
|
||||
const groupInputs = node.inputs.filter(
|
||||
(inp) =>
|
||||
inp.name.startsWith(groupName + '.') &&
|
||||
inp.name.lastIndexOf('.') === groupName.length
|
||||
)
|
||||
const stride = inputSpecs.length
|
||||
if (stride + index >= node.inputs.length) return
|
||||
if (groupInputs.length % stride !== 0) {
|
||||
console.error('Failed to group multi-input autogrow inputs')
|
||||
return
|
||||
}
|
||||
app.canvas?.setDirty(true, true)
|
||||
//groupBy would be nice here, but may not be supported
|
||||
for (let column = 0; column < stride; column++) {
|
||||
for (
|
||||
let bubbleOrdinal = ordinal * stride + column;
|
||||
bubbleOrdinal + stride < groupInputs.length;
|
||||
bubbleOrdinal += stride
|
||||
) {
|
||||
const curInput = groupInputs[bubbleOrdinal]
|
||||
curInput.link = groupInputs[bubbleOrdinal + stride].link
|
||||
if (!curInput.link) continue
|
||||
const link = node.graph?.links[curInput.link]
|
||||
if (!link) continue
|
||||
const curIndex = node.inputs.findIndex((inp) => inp === curInput)
|
||||
if (curIndex === -1) throw new Error('missing input')
|
||||
link.target_slot = curIndex
|
||||
node.onConnectionsChange?.(
|
||||
LiteGraph.INPUT,
|
||||
curIndex,
|
||||
true,
|
||||
link,
|
||||
curInput
|
||||
)
|
||||
}
|
||||
const lastInput = groupInputs.at(column - stride)
|
||||
if (!lastInput) continue
|
||||
lastInput.link = null
|
||||
node.onConnectionsChange?.(
|
||||
LiteGraph.INPUT,
|
||||
node.inputs.length + column - stride,
|
||||
false,
|
||||
null,
|
||||
lastInput
|
||||
)
|
||||
}
|
||||
const removalChecks = groupInputs.slice(min * stride)
|
||||
let i
|
||||
for (i = removalChecks.length - stride; i >= 0; i -= stride) {
|
||||
if (removalChecks.slice(i, i + stride).some((inp) => inp.link)) break
|
||||
}
|
||||
const toRemove = removalChecks.slice(i + stride * 2)
|
||||
remove(node.inputs, (inp) => toRemove.includes(inp))
|
||||
for (const input of toRemove) {
|
||||
const widgetName = input?.widget?.name
|
||||
if (!widgetName) continue
|
||||
for (const widget of remove(node.widgets, (w) => w.name === widgetName))
|
||||
widget.onRemove?.()
|
||||
}
|
||||
node.size[1] = node.computeSize([...node.size])[1]
|
||||
}
|
||||
|
||||
function withComfyAutogrow(node: LGraphNode): asserts node is AutogrowNode {
|
||||
if (node.comfyDynamic?.autogrow) return
|
||||
node.comfyDynamic ??= {}
|
||||
node.comfyDynamic.autogrow = {}
|
||||
|
||||
let pendingConnection: number | undefined
|
||||
let swappingConnection = false
|
||||
|
||||
const originalOnConnectInput = node.onConnectInput
|
||||
node.onConnectInput = function (slot: number, ...args) {
|
||||
pendingConnection = slot
|
||||
requestAnimationFrame(() => (pendingConnection = undefined))
|
||||
return originalOnConnectInput?.apply(this, [slot, ...args]) ?? true
|
||||
}
|
||||
|
||||
node.onConnectionsChange = useChainCallback(
|
||||
node.onConnectionsChange,
|
||||
function (
|
||||
this: AutogrowNode,
|
||||
contype: ISlotType,
|
||||
slot: number,
|
||||
iscon: boolean,
|
||||
linf: LLink | null | undefined
|
||||
) {
|
||||
const input = this.inputs[slot]
|
||||
if (contype !== LiteGraph.INPUT || !input) return
|
||||
//Return if input isn't known autogrow
|
||||
const key = input.name.slice(0, input.name.lastIndexOf('.'))
|
||||
const autogrowGroup = this.comfyDynamic.autogrow[key]
|
||||
if (!autogrowGroup) return
|
||||
if (app.configuringGraph && input.widget)
|
||||
ensureWidgetForInput(node, input)
|
||||
if (iscon) {
|
||||
if (swappingConnection || !linf) return
|
||||
autogrowInputConnected(slot, this)
|
||||
} else {
|
||||
if (pendingConnection === slot) {
|
||||
swappingConnection = true
|
||||
requestAnimationFrame(() => (swappingConnection = false))
|
||||
return
|
||||
}
|
||||
requestAnimationFrame(() => autogrowInputDisconnected(slot, this))
|
||||
}
|
||||
}
|
||||
)
|
||||
}
|
||||
function applyAutogrow(node: LGraphNode, inputSpecV2: InputSpecV2) {
|
||||
withComfyAutogrow(node)
|
||||
|
||||
const parseResult = zAutogrowOptions.safeParse(inputSpecV2)
|
||||
if (!parseResult.success) throw new Error('invalid Autogrow spec')
|
||||
const inputSpec = parseResult.data
|
||||
const { input, min = 1, names, prefix, max = 100 } = inputSpec.template
|
||||
|
||||
const inputTypes: (Record<string, InputSpec> | undefined)[] = [
|
||||
input.required,
|
||||
input.optional
|
||||
]
|
||||
const inputsV2 = inputTypes.flatMap((inputType, index) =>
|
||||
Object.entries(inputType ?? {}).map(([name, v]) =>
|
||||
transformInputSpecV1ToV2(v, { name, isOptional: index === 1 })
|
||||
)
|
||||
)
|
||||
node.comfyDynamic.autogrow[inputSpecV2.name] = {
|
||||
names,
|
||||
min,
|
||||
max: names?.length ?? max,
|
||||
prefix,
|
||||
inputSpecs: inputsV2
|
||||
}
|
||||
for (let i = 0; i === 0 || i < min + 1; i++)
|
||||
addAutogrowGroup(i, inputSpecV2.name, node)
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
Copyright (C) 2013 by Javi Agenjo
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
File diff suppressed because it is too large
Load Diff
+4289
File diff suppressed because it is too large
Load Diff
+181
@@ -0,0 +1,181 @@
|
||||
import type { ContextMenu } from './ContextMenu'
|
||||
import type { LGraphNode } from './LGraphNode'
|
||||
import { LiteGraphGlobal } from './LiteGraphGlobal'
|
||||
import type {
|
||||
ConnectingLink,
|
||||
IContextMenuOptions,
|
||||
Point,
|
||||
Size
|
||||
} from './interfaces'
|
||||
import { loadPolyfills } from './polyfills'
|
||||
import type { CanvasEventDetail } from './types/events'
|
||||
import type { RenderShape, TitleMode } from './types/globalEnums'
|
||||
|
||||
// Must remain above LiteGraphGlobal (circular dependency due to abstract factory behaviour in `configure`)
|
||||
export { Subgraph } from './subgraph/Subgraph'
|
||||
|
||||
export const LiteGraph = new LiteGraphGlobal()
|
||||
|
||||
// Load legacy polyfills
|
||||
loadPolyfills()
|
||||
|
||||
// Backwards compat
|
||||
|
||||
// Type definitions for litegraph.js 0.7.0
|
||||
// Project: litegraph.js
|
||||
// Definitions by: NateScarlet <https://github.com/NateScarlet>
|
||||
/** @deprecated Use {@link Point} instead. */
|
||||
export type Vector2 = Point
|
||||
|
||||
interface IContextMenuItem {
|
||||
content: string
|
||||
callback?: ContextMenuEventListener
|
||||
/** Used as innerHTML for extra child element */
|
||||
title?: string
|
||||
disabled?: boolean
|
||||
has_submenu?: boolean
|
||||
submenu?: {
|
||||
options: IContextMenuItem[]
|
||||
} & IContextMenuOptions
|
||||
className?: string
|
||||
}
|
||||
|
||||
type ContextMenuEventListener = (
|
||||
value: IContextMenuItem,
|
||||
options: IContextMenuOptions,
|
||||
event: MouseEvent,
|
||||
parentMenu: ContextMenu<unknown> | undefined,
|
||||
node: LGraphNode
|
||||
) => boolean | void
|
||||
|
||||
export interface LinkReleaseContextExtended {
|
||||
links: ConnectingLink[]
|
||||
}
|
||||
|
||||
export interface LiteGraphCanvasEvent extends CustomEvent<CanvasEventDetail> {}
|
||||
|
||||
export interface LGraphNodeConstructor<T extends LGraphNode = LGraphNode> {
|
||||
new (title: string, type?: string): T
|
||||
|
||||
title: string
|
||||
type?: string // TODO: to be, or not to be--that is the question
|
||||
size?: Size
|
||||
min_height?: number
|
||||
slot_start_y?: number
|
||||
widgets_info?: Record<string, unknown>
|
||||
collapsable?: boolean
|
||||
color?: string
|
||||
bgcolor?: string
|
||||
shape?: RenderShape
|
||||
title_mode?: TitleMode
|
||||
title_color?: string
|
||||
title_text_color?: string
|
||||
keepAllLinksOnBypass: boolean
|
||||
resizeHandleSize?: number
|
||||
resizeEdgeSize?: number
|
||||
}
|
||||
|
||||
// End backwards compat
|
||||
|
||||
export { LinkConnector } from './canvas/LinkConnector'
|
||||
export { isOverNodeInput, isOverNodeOutput } from './canvas/measureSlots'
|
||||
export { CanvasPointer } from './CanvasPointer'
|
||||
export * as Constants from './constants'
|
||||
export { SUBGRAPH_INPUT_ID } from './constants'
|
||||
export { ContextMenu } from './ContextMenu'
|
||||
|
||||
export { DragAndScale } from './DragAndScale'
|
||||
|
||||
export { Rectangle } from './infrastructure/Rectangle'
|
||||
export type { SubgraphEventMap } from './infrastructure/SubgraphEventMap'
|
||||
export type {
|
||||
CanvasColour,
|
||||
ColorOption,
|
||||
CreateNodeOptions,
|
||||
IContextMenuOptions,
|
||||
IContextMenuValue,
|
||||
INodeInputSlot,
|
||||
INodeOutputSlot,
|
||||
INodeSlot,
|
||||
ISlotType,
|
||||
LinkNetwork,
|
||||
Point,
|
||||
Positionable,
|
||||
Size,
|
||||
SlotIndex
|
||||
} from './interfaces'
|
||||
export {
|
||||
LGraph,
|
||||
type GroupNodeConfigEntry,
|
||||
type GroupNodeWorkflowData,
|
||||
type LGraphTriggerAction,
|
||||
type LGraphTriggerParam,
|
||||
type GraphAddOptions,
|
||||
type SubgraphId
|
||||
} from './LGraph'
|
||||
export type { LGraphTriggerEvent } from './types/graphTriggers'
|
||||
export { BadgePosition, LGraphBadge } from './LGraphBadge'
|
||||
export { LGraphCanvas } from './LGraphCanvas'
|
||||
export { LGraphGroup, type GroupId } from './LGraphGroup'
|
||||
export { LGraphNode, type NodeId } from './LGraphNode'
|
||||
export { LLink } from './LLink'
|
||||
export { createBounds } from './measure'
|
||||
export { Reroute, type RerouteId } from './Reroute'
|
||||
export {
|
||||
type ExecutableLGraphNode,
|
||||
ExecutableNodeDTO,
|
||||
type ExecutionId
|
||||
} from './subgraph/ExecutableNodeDTO'
|
||||
export { SubgraphNode } from './subgraph/SubgraphNode'
|
||||
export type { CanvasPointerEvent } from './types/events'
|
||||
export {
|
||||
EaseFunction,
|
||||
LGraphEventMode,
|
||||
LinkDirection,
|
||||
LinkMarkerShape,
|
||||
RenderShape
|
||||
} from './types/globalEnums'
|
||||
export type {
|
||||
ExportedSubgraph,
|
||||
ExportedSubgraphInstance,
|
||||
ISerialisedGraph,
|
||||
ISerialisedNode,
|
||||
SerialisableGraph
|
||||
} from './types/serialisation'
|
||||
export type { IWidget } from './types/widgets'
|
||||
export { isColorable } from './utils/type'
|
||||
export { createUuidv4 } from './utils/uuid'
|
||||
export type { UUID } from './utils/uuid'
|
||||
export { truncateText } from './utils/textUtils'
|
||||
export {
|
||||
evaluateInput,
|
||||
getWidgetStep,
|
||||
resolveNodeRootGraphId
|
||||
} from './utils/widget'
|
||||
export { distributeSpace, type SpaceRequest } from './utils/spaceDistribution'
|
||||
|
||||
export { BaseWidget } from './widgets/BaseWidget'
|
||||
|
||||
export { LegacyWidget } from './widgets/LegacyWidget'
|
||||
|
||||
export { isComboWidget } from './widgets/widgetMap'
|
||||
/** @knipIgnoreUnusedButUsedByCustomNodes */
|
||||
export { isAssetWidget } from './widgets/widgetMap'
|
||||
// Additional test-specific exports
|
||||
export { LGraphButton } from './LGraphButton'
|
||||
export { MovingOutputLink } from './canvas/MovingOutputLink'
|
||||
export { ToOutputRenderLink } from './canvas/ToOutputRenderLink'
|
||||
export { ToInputFromIoNodeLink } from './canvas/ToInputFromIoNodeLink'
|
||||
export type { TWidgetType, TWidgetValue, IWidgetOptions } from './types/widgets'
|
||||
export {
|
||||
findUsedSubgraphIds,
|
||||
getDirectSubgraphIds,
|
||||
isSubgraphInput,
|
||||
isSubgraphOutput
|
||||
} from './subgraph/subgraphUtils'
|
||||
export { NodeInputSlot } from './node/NodeInputSlot'
|
||||
export { NodeOutputSlot } from './node/NodeOutputSlot'
|
||||
export { inputAsSerialisable, outputAsSerialisable } from './node/slotUtils'
|
||||
export { MovingInputLink } from './canvas/MovingInputLink'
|
||||
export { ToInputRenderLink } from './canvas/ToInputRenderLink'
|
||||
export { LiteGraphGlobal } from './LiteGraphGlobal'
|
||||
+1624
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,322 @@
|
||||
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 { useRangeWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useRangeWidget'
|
||||
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()),
|
||||
RANGE: transformWidgetConstructorV2ToV1(useRangeWidget()),
|
||||
...dynamicWidgets
|
||||
} as const
|
||||
|
||||
export function isValidWidgetType(
|
||||
key: unknown
|
||||
): key is keyof typeof ComfyWidgets {
|
||||
return ComfyWidgets[key as keyof typeof ComfyWidgets] !== undefined
|
||||
}
|
||||
@@ -0,0 +1,564 @@
|
||||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "nodes.py",
|
||||
"local_file": "core0250__nodes.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/nodes.py",
|
||||
"sha256": "18ae659664de15c55bc790c12e3c5bff172abd4629da58f10712a1fb1adb6b79",
|
||||
"git_blob_sha1": "0d422d418af3d044112f7264327f01558c87e384",
|
||||
"acquisition_time": "2026-10-31T11:04:45.908490+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__nodes.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "folder_paths.py",
|
||||
"local_file": "core0250__folder_paths.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/folder_paths.py",
|
||||
"sha256": "380961714742085363301f980a6c9458f36aca05b1e36ed9b8afa3fb64ccdb50",
|
||||
"git_blob_sha1": "7304e1b7399da0eb080153336e03c8ab8a9f6c1f",
|
||||
"acquisition_time": "2026-10-31T11:04:47.087488+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__folder_paths.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_string.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_string.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_string.py",
|
||||
"sha256": "3a335dab4b6fb09c9de0eba1e6f14de49e998726c58da7e350b56f9c5e878c95",
|
||||
"git_blob_sha1": "97485c8c5edb879da50112a66ae050ad5026c172",
|
||||
"acquisition_time": "2026-10-31T11:04:48.049602+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_string.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_primitive.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_primitive.py",
|
||||
"sha256": "6a6d5cd4c983ed16296cd2ec5f84dc6244c0dd25d29137e1c0318418976e3cec",
|
||||
"git_blob_sha1": "c44b0909825ea7769e3412041963a2c12d2e5b09",
|
||||
"acquisition_time": "2026-10-31T11:04:48.919349+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_primitive.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_logic.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_logic.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_logic.py",
|
||||
"sha256": "285c1f5e944cd991ffc3527bfc10e168082d8aceed3fe562421aa85449349f57",
|
||||
"git_blob_sha1": "95f6ab848d3c8cf6a26f9995d39150f141cdd19c",
|
||||
"acquisition_time": "2026-10-31T11:04:50.162417+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_logic.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_resolution.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_resolution.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_resolution.py",
|
||||
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
|
||||
"git_blob_sha1": "083e47ae46df249feac63089092c0205620e074e",
|
||||
"acquisition_time": "2026-10-31T11:04:51.474610+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_resolution.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_preview_any.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_preview_any.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_preview_any.py",
|
||||
"sha256": "06539abd0ccfd7d85503b87cf416948ee2eca80dec6dac35dfc8710f3b493a8a",
|
||||
"git_blob_sha1": "1070a69d0f5396f6c597ee5dc77a2b47e7acbd40",
|
||||
"acquisition_time": "2026-10-31T11:04:52.418055+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_preview_any.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_textgen.py",
|
||||
"local_file": "core0250__comfy_extras__nodes_textgen.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_extras/nodes_textgen.py",
|
||||
"sha256": "e6577f5791db4d34cecf56cfc7e2776388d2994aa602acf5765d035d1241d8a2",
|
||||
"git_blob_sha1": "d52faf815683bcb4c09bdaa2909e3698003c8547",
|
||||
"acquisition_time": "2026-10-31T11:04:54.087704+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_extras__nodes_textgen.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/samplers.py",
|
||||
"local_file": "core0250__comfy__samplers.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy/samplers.py",
|
||||
"sha256": "d882256ae9baa1d23f1367ab2ec3b021fdc15fe39ce4cb49ea2c1ee10026a649",
|
||||
"git_blob_sha1": "25c5a855fd0435d5d2fd98b2eb016bc54273b07f",
|
||||
"acquisition_time": "2026-10-31T11:04:55.740764+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy__samplers.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "LICENSE",
|
||||
"local_file": "core0250__LICENSE",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-31T11:04:56.576573+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "package.json",
|
||||
"local_file": "frontend__package.json",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/package.json",
|
||||
"sha256": "43d7fba4cb066a6877e84b1b7f1bd18b00232da91f1f8a133c13a24bcea25f25",
|
||||
"git_blob_sha1": "3ff889c2ba5c284f784753ec5b804983df851550",
|
||||
"acquisition_time": "2026-10-31T11:05:00.273289+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__package.json",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"local_file": "frontend__pnpm-lock.yaml",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/pnpm-lock.yaml",
|
||||
"sha256": "46bdafbd992ad8c0bca4dd7668a0456d320710f744bf64d0e022abc1e4bb00e0",
|
||||
"git_blob_sha1": "32216beedafc410ebf39341a759b2a8b79031933",
|
||||
"acquisition_time": "2026-10-31T11:05:01.505539+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__pnpm-lock.yaml",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "pnpm-workspace.yaml",
|
||||
"local_file": "frontend__pnpm-workspace.yaml",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/pnpm-workspace.yaml",
|
||||
"sha256": "2666dae4e1223d80b7b497aced7d1c5b5080e364411ce23d91b9f63dde13a1a7",
|
||||
"git_blob_sha1": "82197783bce7c9eefe6831ea80eb7b4d418ef1a1",
|
||||
"acquisition_time": "2026-10-31T11:05:02.684590+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__pnpm-workspace.yaml",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"local_file": "frontend__src__scripts__widgets.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/scripts/widgets.ts",
|
||||
"sha256": "3b61597c3e204f0de91a2e7245d9c04ffea041e5564f0e16a9092683e7b6bdd6",
|
||||
"git_blob_sha1": "ee338b851c42bf3de7cdeeeb517009a18e21c400",
|
||||
"acquisition_time": "2026-10-31T11:05:03.959164+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__scripts__widgets.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"local_file": "frontend__src__scripts__app.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/scripts/app.ts",
|
||||
"sha256": "824f0b8029b2ec69a4de72b81c1beb9fbfd27f6c9c593b87cfad44abfd991a4c",
|
||||
"git_blob_sha1": "773d694d8e3912fca2ed27e69694222d4cee3da8",
|
||||
"acquisition_time": "2026-10-31T11:05:06.053330+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__scripts__app.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/litegraph.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__litegraph.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/litegraph.ts",
|
||||
"sha256": "82533ee983f0cc30213da55dbd16a7a18475939f61d2551c49b3b51af63aeeaf",
|
||||
"git_blob_sha1": "201cac9613eaacee83d53dbbf5aebf33bcbfb1b8",
|
||||
"acquisition_time": "2026-10-31T11:05:07.433340+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__litegraph.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "d7c22582f6a0a5c05521d8b848a04a21e0d6df3339401be746b252b8d0ac5588",
|
||||
"git_blob_sha1": "934239cc7dc9f7af3bcedec4649d95034d987815",
|
||||
"acquisition_time": "2026-10-31T11:05:08.809635+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/LGraph.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__LGraph.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/LGraph.ts",
|
||||
"sha256": "a948964f6ae8d49cad0a1e9d5aea3bac2ba947a084d3444e78e47605525ef05a",
|
||||
"git_blob_sha1": "a592b0bacffafd08b6b8732ed3d5614f9111d17b",
|
||||
"acquisition_time": "2026-10-31T11:05:11.297923+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__LGraph.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/LICENSE",
|
||||
"local_file": "frontend__src__lib__litegraph__LICENSE",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
|
||||
"acquisition_time": "2026-10-31T11:05:12.462902+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "frontend__LICENSE",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-31T11:05:13.410762+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"local_file": "frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/core/graph/widgets/dynamicWidgets.ts",
|
||||
"sha256": "cbc7d1a9eccb1c64f90cf2f87db9ad3ba9a301d81ec3f8daea2af48e2ccb8e32",
|
||||
"git_blob_sha1": "0a304c07f15c06d3d8aaa96725be2c7b5a04f018",
|
||||
"acquisition_time": "2026-10-31T11:06:01.195183+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__core__graph__widgets__dynamicWidgets.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/core/graph/widgets/dynamicTypes.ts",
|
||||
"local_file": "frontend__src__core__graph__widgets__dynamicTypes.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/core/graph/widgets/dynamicTypes.ts",
|
||||
"sha256": "02a01ec77fe595b2e83bcf0dd91134ea4aaa568ab019167c3e3ab15ce2a66a60",
|
||||
"git_blob_sha1": "92a7850b96b405c0a09f2a15f55867d92279e173",
|
||||
"acquisition_time": "2026-10-31T11:06:02.109741+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__core__graph__widgets__dynamicTypes.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"local_file": "frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"commit": "d8aa4382a94f66bc9466090895e463fafcc64e62",
|
||||
"tree": "6ea3d09264b65cc8764d01460f9e96bb40d97d41",
|
||||
"tag": "v1.45.19",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/d8aa4382a94f66bc9466090895e463fafcc64e62/src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"sha256": "bc0436dc3e21ccfa6f1dccf40935c0d0b97b607932f7025b975a4138efe1e24e",
|
||||
"git_blob_sha1": "f31f5a05280a3788b6b9ca02ff7a4d0fc99ac30c",
|
||||
"acquisition_time": "2026-10-31T11:06:02.984326+00:00",
|
||||
"license_file": "frontend__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "frontend",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/__init__.py",
|
||||
"local_file": "core0250__comfy_api__latest____init__.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_api/latest/__init__.py",
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
|
||||
"git_blob_sha1": "294ad425e1df870b69546b0f1b2b372811bc8525",
|
||||
"acquisition_time": "2026-10-31T11:06:03.826297+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_api__latest____init__.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"local_file": "core0250__comfy_api__latest___io.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_api/latest/_io.py",
|
||||
"sha256": "f9013708017164c2a0f1af0bdb9650a37f28c5560034446c35d91b2a89a999b0",
|
||||
"git_blob_sha1": "012fae3aca8f1acf57b00d007eb4aeeb983db097",
|
||||
"acquisition_time": "2026-10-31T11:06:05.040377+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_api__latest___io.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0250",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"local_file": "core0250__comfy_api__latest___io_public.py",
|
||||
"commit": "135abed8da169e33ab0b86550e05e3ae55d6df8c",
|
||||
"tree": "8b1b2f7eb307047f90ed232b859da56bcf859f3b",
|
||||
"tag": "v0.25.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/135abed8da169e33ab0b86550e05e3ae55d6df8c/comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"git_blob_sha1": "43c7680f3283cec64bf89023ca7ec90314a3499d",
|
||||
"acquisition_time": "2026-10-31T11:06:06.164099+00:00",
|
||||
"license_file": "core0250__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0250",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0250__comfy_api__latest___io_public.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0270",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "nodes.py",
|
||||
"local_file": "core0270__nodes.py",
|
||||
"commit": "bb131be9e83d2f773c90f1d6f1e4b248a498c8c5",
|
||||
"tree": "b80769dbd853d1ad5ad0b4d877851512d0888d50",
|
||||
"tag": "v0.27.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/bb131be9e83d2f773c90f1d6f1e4b248a498c8c5/nodes.py",
|
||||
"sha256": "b8dfdde1de8975be762b085048143cc2dda8fc9202695e460ecc2c8dfe44bc4b",
|
||||
"git_blob_sha1": "9043a8d0a422b2870e7ef2cf25a1ec6be21a05f1",
|
||||
"acquisition_time": "2026-10-31T09:39:01.223213+00:00",
|
||||
"license_file": "core0270__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0270",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0270__nodes.py",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
},
|
||||
{
|
||||
"id": "core0270",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "LICENSE",
|
||||
"local_file": "core0270__LICENSE",
|
||||
"commit": "bb131be9e83d2f773c90f1d6f1e4b248a498c8c5",
|
||||
"tree": "b80769dbd853d1ad5ad0b4d877851512d0888d50",
|
||||
"tag": "v0.27.0",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/bb131be9e83d2f773c90f1d6f1e4b248a498c8c5/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-31T09:39:07.716246+00:00",
|
||||
"license_file": "core0270__LICENSE",
|
||||
"transport": "filtered git; selected text only",
|
||||
"applicability": "动漫2.5D半写实图逐节点准确版本;本轮重核原获取时间/tag/commit/tree/blob/SHA/许可及精确行段,未重新下载或执行",
|
||||
"identity_root": ".",
|
||||
"identity_key": "core0270",
|
||||
"reuse_from": "docs/hel-892/krea-fantasy-reference/core0270__LICENSE",
|
||||
"reverified_at": "2026-10-31T12:23:10.400241+00:00"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user