docs: bind Flux action transfer reference to exact source versions

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-31 08:23:59 +08:00
co-authored by multica-agent
parent 1c87b4de34
commit 3697a3a0a6
107 changed files with 46968 additions and 1 deletions
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json"
): "631b85e0394ac56a6960f42ebf1e32fcdae261a3e8e4c090f90099d23bc39096",
(
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json"
): "827493e1dbfd639b0de588c951291f6ed84e27ee5432f9c2051ce4e1796e007b",
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,137 @@
"""Exact graph binding, all saved positions, dual scopes and closed eligibility."""
import copy
import hashlib
import json
import runpy
import sys
from pathlib import Path
import pytest
from calliope.comfyui.fixed_document import DEFINITIONS, canonical
from calliope.comfyui.library import build_document
from calliope.comfyui.source_reviews import review_for
REPO = Path(__file__).resolve().parents[2]
OUT = REPO / "docs/hel-892/flux2-action-document-evidence"
PATH = "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json"
RAW = (REPO / PATH).read_bytes()
SOURCE = json.loads(RAW)
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
BLOCK = REVIEW["fixed_version_document"]
def pointer(obj, p):
for x in p.strip("/").split("/"):
obj = obj[int(x)] if isinstance(obj, list) else obj[x]
return obj
def doc(s=SOURCE, r=REVIEW):
return build_document(PATH, s, None, None, [], r)
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
def test_each_saved_position_and_citation(f):
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
assert "无widgets_values_named" in f["named_pointer"] and "named_value" not in f
assert all(
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
)
if f["input_pointer"].startswith("/"):
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
for i in f["evidence"]:
e = BLOCK["sources"][i]
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())
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
@pytest.mark.parametrize("variant", ["source", "text"])
def test_caller_rehash_cannot_expand_trust(f, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
if variant == "text":
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
else:
p, _, key = f["pointer"].rpartition("/")
pointer(s, p)[int(key)] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("i", [0])
@pytest.mark.parametrize("key", ["id", "inputs", "outputs", "widgets", "links"])
def test_definition_mutations_fail_closed(i, key):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
s["definitions"]["subgraphs"][i][key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
def test_exact_build_and_qualification():
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
BLOCK
)
assert len(DEFINITIONS) == 60 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == 43 and BLOCK["counts"]["root_saved_fields"] == 26
assert BLOCK["counts"]["source_notes"] == 0 and BLOCK["comments"] == []
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
sys.path.insert(0, str(OUT))
try:
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
finally:
sys.path.remove(str(OUT))
def test_action_chains_and_conflicts_remain_reference_only():
nodes = {n["id"]: n for n in SOURCE["nodes"]}
sub = SOURCE["definitions"]["subgraphs"][0]
inner = {n["id"]: n for n in sub["nodes"]}
assert nodes[27]["widgets_values"] == ["1080"]
assert nodes[27]["inputs"][0]["link"] is None
assert nodes[16]["inputs"][9]["link"] == 59
assert [nodes[12]["inputs"][i]["link"] for i in [0, 1]] == [58, 44]
assert nodes[11]["inputs"][0]["link"] == 47
assert nodes[19]["inputs"][0]["link"] == 42
assert nodes[19]["inputs"][1]["link"] == 48
assert inner[9]["inputs"][3]["link"] == 14
assert next(e for e in sub["links"] if e["id"] == 14)["origin_slot"] == 2
assert sub["outputs"][0]["linkIds"] == [17, 17]
assert sum(e["id"] == 17 for e in sub["links"]) == 1
assert len(nodes[23]["properties"]["proxyWidgets"]) == 10
assert len(nodes[23]["inputs"]) == 8
for nid in [6, 13]:
assert "links" not in nodes[nid]["outputs"][1]
assert "links" not in nodes[17]["outputs"][1]
assert len([f for f in BLOCK["fields"] if isinstance(f["value"], list)]) == 1
assert BLOCK["counts"]["history_objects"] == 1
assert "EmptyFlux2LatentImage" not in [n["type"] for n in sub["nodes"]]
text = "\n".join(BLOCK["flow"])
for required in [
"latent",
"2_image",
"Autogrow",
"image_0_mask",
"image_1_mask",
"RETURN_TYPES=()",
"a_images",
"scale_to_length",
"JSON字符串",
"不是第一图6",
"不是19颜色匹配后图",
"不保证身份",
]:
assert required in text
assert BLOCK["fields"][0]["class_type"] == "DWPreprocessor"
assert all(not n.get("widgets_values_named") for n in SOURCE["nodes"])
def test_path_and_source_binding_cannot_be_extended():
from calliope.comfyui.fixed_document import fixed_document_for
assert fixed_document_for(PATH + "forged", SOURCE, REVIEW) is None
r = copy.deepcopy(REVIEW)
r["source_sha"] = "forged"
assert not doc(SOURCE, r)["fixed_version"]["matched"]
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,10 @@
........................................................................ [ 48%]
........................................................................ [ 96%]
...... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-ddfe49e0e250/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
150 passed, 1 warning in 5.04s
@@ -0,0 +1,10 @@
........................................................................ [ 48%]
........................................................................ [ 96%]
...... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-ddfe49e0e250/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
150 passed, 1 warning in 5.04s
@@ -0,0 +1,81 @@
{
"fixed_count": 188,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/54": 4,
"/api/workflows/55": 4,
"/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": 15,
"polling_paths": {
"/api/jobs": 15
},
"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,34 @@
"""Bind exact original source texts; never import upstream."""
import hashlib
import json
import os
from pathlib import Path
REF = Path(__file__).resolve().parent.parent / "flux2-action-reference"
def main():
rows = json.loads((REF / "new-sources.json").read_bytes())["sources"]
for stem, keys in [("flux2-person", {"layer", "frontend", "frontsub"})]:
origin = REF.parent / (stem + "-reference")
for old in json.loads((origin / "sources.json").read_bytes())["sources"]:
if old["id"] not in keys:
continue
e = dict(old)
for key in ["local_file", "identity_root", "license_file"]:
e[key] = os.path.relpath((origin / e[key]).resolve(), REF)
rows.append(e)
for e in rows:
e.setdefault("identity_root", ".")
e.setdefault("identity_key", e["id"])
e["applicability"] = "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。"
assert hashlib.sha256((REF / e["local_file"]).read_bytes()).hexdigest() == e["sha256"]
(REF / "sources.json").write_text(
json.dumps({"sources": rows, "upstream_executed": False}, ensure_ascii=False, indent=2)
+ "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,728 @@
{
"base": "1c87b4de34494b456dc6de09d6db384353b472a4",
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
},
{
"path": "docs/hel-892/h3-chain-evidence/library.json",
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
},
{
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
}
],
"originals": 163,
"old_blocks_unchanged": 59,
"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,691 @@
"Source-bound action-transfer reference text; never an executable workflow."
import ast
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "flux2-action-reference"
PATHS = [("example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json")]
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
MEANING = {
"6": (
"第一图ComfyUI_01598_.png/image→32→16缩放→"
"45→23.image1;同时16→42→19.image_ref颜色参"
"考。MASK出口缺links键;sdppp属性仅保存声明,不读取媒体。"
),
"13": (
"第二图微信图片_20260425191936_248_41.jpg/im"
"age→39→17 DW姿态图;原图另经57→24→58→12比较A。A"
"不是第一图6;MASK缺links键,未接遮罩。"
),
"16": (
"准确881bc917 aux仓库Layer:保存original/1/1"
"/crop/lanczos/字符串8/longest/1280/#000"
"000。original取首图比例,custom才用1/1;longes"
"t按ratio>1选择宽,否则高,以scale_to_length确定另"
"一边,再向上取整到8倍数。crop按比例放大再居中裁剪,tensor2p"
"il clip/uint8且图像转RGB;不保证像素/透明保持。27字符"
"串1080经59覆盖1280缓存,但Set身份/执行类型未知,不算有效1"
"080。image→23和19参考;width slot3经55、hei"
"ght slot4经56覆盖宿主及Painter两尺寸;没有上一图调度四"
"覆盖。mask无link,mask出口缺links未接。cnr与aux提"
"供方不同,不能等同。"
),
"17": (
"准确cc6b232f DW:保存disable/enable/disab"
"le/1024及两torchscript模型和末disable;hand"
"/body/face分别转bool控制绘制,不等于未做相应检测。wrap"
"per把resolution传detect_resolution;准确D"
"wpose先以0缩放输入并detect_poses,再draw_pose"
"s,之后以1024缩放绘制canvas并remove_pad/HWC3:"
"1024是姿态输出缩放短边目标,不是检测网络输入尺寸或超分保证。输入第二"
"图,IMAGE→40→18临时预览及46→23.image2;POSE_"
"KEYPOINT出口缺links未接,不称关键点文件导出。bbox to"
"rchscript分支引用hr16/yolox-onnx,pose引用h"
"r16/DWPose-TorchScript-BatchSize5;fr"
"om_pretrained/设备/下载与ORT检查仅静态读,未执行、未下"
"载。"
),
"27": (
"SetNode保存的是JSON字符串“1080”;INT输入link=n"
"ull、INT出口59到16.scale_to_length。仅aux="
"kijai/ComfyUI-KJNodes,无准确版本及已绑定类实现,不"
"能据名称把字符串求值为整数、补默认或恢复别名;实际出值/类型和目标注册未"
"知。"
),
"12": (
"Comparer保存一个完整列表,内含A/B两个历史temp_jutls"
" URL与selected=true;Slide只在properties"
",不制造具名images/img保存。image_a来自13第二原图经2"
"4,image_b来自19匹配后返回图,B不是匹配前生成。image_u"
"rls STRING出口缺links未接。cnr=rgthree-com"
"fy却ver=881bc917且aux=aining2022/Comfy"
"UI_Swwan:准确aux仓库image_comparer.py确有R"
"gthreeImageComparer且注册相同键,__init__合并"
",保留cnr/aux身份差异,不借旧rgthree版本。该aux实现RE"
"TURN_TYPES=(),源STRING出口冲突;compare_im"
"ages分别写CPU/uint8 temp PNG,随机comparer"
"前缀/压缩4,返回ui.a_images/b_images而非STRIN"
"G。其同提交JS onExecuted接images或a_images/"
"b_images并转URL,onSerialize把rgthree_co"
"mparer的value.images列表复制删除img,setter接"
"受列表/对象并可能加载Image;Slide/Click属性与历史列表分"
"列,不执行任何恢复或URL加载。历史列表仅源保存参考,不访问URL、不模"
"拟滑块/预览。"
),
"19": (
"准确Easy v1.3.6 imageColorMatch注册为easy"
" imageColorMatch;保存mkl/Preview/Comfy"
"UI。参考16第一缩放图,target为23生成;mkl进入ColorM"
"atcher.transfer(src=target,ref=ref,m"
"ethod=mkl),参考批次必须1或匹配target批次,否则Valu"
"eError;异常打印并break可能导致空stack,底层未固定不保证"
"算法/效果。无模型超分。easySave Preview以easyPre"
"view调用核心PreviewImage.save_images写tem"
"p PNG;不是无文件写入,保存前缀ComfyUI此分支被替换。Hide"
"/None无保存,其他模式SaveImage,Hide/HideSave"
"类ui空而result仍返回。当前Preview ui.images与r"
"esult=(new_images,)分列;返回图经44到比较B,11仍"
"直接保存未匹配生成。不执行自动install_package或写回静态状"
"态。"
),
"11": (
"23原生成经47→11正式SaveImage,前缀Flux2-Klein"
";不是19颜色匹配后图。准确core0.9.2 SaveImage RE"
"TURN_TYPES=()、OUTPUT_NODE=True,返回ui."
"images保存记录;源声明IMAGE出口缺links,与准确协议冲突,"
"原件不修且执行关闭。output目录递增PNG/metadata仅代码参"
"考,不证明实际文件/history。"
),
"18": (
"DW姿态IMAGE经40→18 PreviewImage;准确core0"
".9.2继承SaveImage、temp目录随机前缀压缩1、空RETUR"
"N_TYPES,而源IMAGE出口缺links冲突。[]零保存与协议分列"
",不运行或把临时预览当正式生成保存。"
),
"24": (
"Reroute缺widgets_values键,输"
"入57来自第二原图13,输出58到比较A;无提供方"
"/版本,不按布局猜已恢复目标行为。"
),
"23": (
"宿主空widgets_values=[],定义widgets=[]独立;"
"10 proxyWidgets与8输入分列。两IMAGE边界31/38接"
"Painter的输入10/11,宽高55/56→边界53/54覆盖Pai"
"nter。模型/提示宿主无外线,代理不制造promoted值;宿主cor"
"e0.28.3不能赋予内部新版本。定义outputs.linkIds=["
"17,17]重复声明与唯一物理17分别保留,不制造第二物理边。"
),
"23:1": (
"准确core0.9.2 UNET保存Flux反斜杠flux-2-klei"
"n-9b-fp8.safetensors/default;宿主无外线un"
"et_name经49,MODEL经11供KSampler,无LoRA。文"
"件名不证明安装/dtype/兼容或许可。"
),
"23:2": (
"准确core0.9.2 CLIP保存qwen_3_8b_fp8mixed"
".safetensors/flux2/default,宿主无外线clip"
"_name经50;CLIP经3到Painter。动态文件枚举、模型/设备"
"构造仅静态参考,不确认安装兼容。"
),
"23:4": (
"准确core0.9.2 VAE保存flux2-vae.safetenso"
"rs,边界51无宿主外线;输出2供3解码、4供Painter编码。动态目"
"录引用不是模型安装或许可证明,未加载。"
),
"23:5": (
"准确Painter88af927使用Autogrow images/im"
"age_前缀1~6,schema无2_image模式;源四位置是完整中文"
"提示、字符串2_image、JSON int1、1024,无法可靠映射到"
"准确schema的prompt/batch/width/height。保"
"存布局假设分列,绝不补第二尺寸或把2_image当合法模式。准确sche"
"ma image_0_mask与execute image_1_mask"
"命名冲突;源images.image_0/images.image_1未"
"接、image_0_mask=null及image1_mask缺link"
",两根图却经31/38接旧image1/image2输入10/11,动态"
"恢复未知。代码按images数字后缀排序,VL每图约384×384面积,"
"VAE按width/height lanczos center;参考la"
"tent同时append正负,正向编码完整提示、负向编码空串。返回lat"
"ent若有参考用第一个,否则VAE编码全零RGB;batch>1重复条件"
"和latent。采样起点来自Painter输出槽2→14,不能套Empt"
"yFlux2Latent或保证是空latent。本图未运行、未知动态恢复"
"与有效宽高。完整提示“把图1的人物姿势、动作改成图2的人物姿势、动作,只"
"改图1人物姿势、动作,同时保持图1其他不变”仅作者意图,不保证身份/姿态"
"/背景/像素不变。"
),
"23:9": (
"准确core0.9.2 KSampler:550905173173073"
"/randomize/4/int1/euler/simple/int1逐"
"项保留。seed是缓存,randomize是frontend1.36.1"
"4生成后辅助,不运行钩子、求下一值或保证复现;cfg与denoise s"
"chema FLOAT但源JSON int1。MODEL来自1,正负和采"
"样latent均来自Painter;LATENT→1→3解码;不运行种子"
"/采样/缓存显存。"
),
"23:3": (
"准确core0.9.2 VAEDecode零保存[];KSampler "
"LATENT经1和VAE经2→3→唯一物理17→定义IMAGE→宿主23"
",再分正式保存与颜色匹配。定义linkIds重复不重复解码或输出。"
),
}
# Explicit reference layouts, never infer mapping from input order.
LAYOUTS = {
"LoadImage": [("image", "文件引用"), ("upload", "前端上传辅助")],
("LayerUtility: ImageScaleByAspectRatio V2"): [
(x, y)
for x, y in zip(
[
"aspect_ratio",
"proportional_width",
"proportional_height",
"fit",
"method",
"round_to_multiple",
"scale_to_side",
"scale_to_length",
"background_color",
],
[
"宽高比",
"自定义比例宽",
"自定义比例高",
"适应方式",
"插值方法",
"倍数取整",
"缩放边",
"缩放长度缓存",
"背景颜色",
],
strict=True,
)
],
"DWPreprocessor": [
(x, y)
for x, y in zip(
[
"detect_hand",
"detect_body",
"detect_face",
"resolution",
"bbox_detector",
"pose_estimator",
"scale_stick_for_xinsr_cn",
],
[
"绘制手部开关",
"绘制身体开关",
"绘制脸部开关",
"姿态输出分辨率",
"BBox模型引用",
"姿态模型引用",
"Xinsr骨棒缩放开关",
],
strict=True,
)
],
"SetNode": [("saved_name", "未确认Set字符串")],
"Image Comparer (rgthree)": [("saved_history", "完整历史A/B列表")],
"easy imageColorMatch": [
("method", "颜色匹配方法"),
("image_output", "图像输出模式"),
("save_prefix", "保存前缀"),
],
"SaveImage": [("filename_prefix", "正式保存前缀")],
"UNETLoader": [("unet_name", "扩散模型引用"), ("weight_dtype", "权重类型")],
"CLIPLoader": [
("clip_name", "文本编码模型引用"),
("type", "编码器类型"),
("device", "设备选择"),
],
"VAELoader": [("vae_name", "VAE模型引用")],
"PainterFluxImageEdit": [
("prompt", "完整中文提示缓存"),
("saved_mode", "未确认模式字符串"),
("saved_batch", "未确认批次位置"),
("saved_size", "未确认尺寸位置"),
],
"KSampler": [
(x, y)
for x, y in zip(
[
"seed",
"control_after_generate",
"steps",
"cfg",
"sampler_name",
"scheduler",
"denoise",
],
["种子缓存", "生成后辅助", "采样步数", "条件引导", "采样器", "调度器", "降噪强度"],
strict=True,
)
],
}
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
def cite(key, file, symbol=None, claim="准确本图版本静态原文;未执行"):
e = next(e for e in manifest if e["id"] == key and e["file"] == file)
data = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
span = [1, len(data.decode().splitlines())]
if symbol:
n = next(
n
for n in ast.walk(ast.parse(data))
if isinstance(n, (ast.ClassDef, ast.FunctionDef, ast.AsyncFunctionDef))
and n.name == symbol
)
span = [n.lineno, n.end_lineno]
sources.append(
dict(
e,
local_file="../flux2-action-reference/" + e["local_file"],
lines=span,
claim=claim,
)
)
return len(sources) - 1
refs = {}
for cls in [
"LoadImage",
"SaveImage",
"PreviewImage",
"UNETLoader",
"CLIPLoader",
"VAELoader",
"KSampler",
"VAEDecode",
]:
refs[cls] = [cite("core", "nodes.py", cls)]
refs[("LayerUtility: ImageScaleByAspectRatio V2")] = [
cite("layer", "image_scale_by_aspect_ratio_v2.py", "ImageScaleByAspectRatioV2"),
cite("layer", "layerstyle_utils.py", "fit_resize_image"),
cite("layer", "layerstyle_utils.py", "num_round_up_to_multiple"),
cite("layer", "layerstyle_utils.py", "tensor2pil"),
]
refs["DWPreprocessor"] = [
cite("dw", "node_wrappers/dwpose.py", "DWPose_Preprocessor"),
cite("dw", "utils.py", "INPUT"),
cite("dw", "utils.py", "common_annotator_call"),
cite("dw", ("src/custom_controlnet_aux/dwpose/__init__.py"), "DwposeDetector"),
cite("dw", "src/custom_controlnet_aux/util.py", "resize_image_with_pad"),
]
refs["PainterFluxImageEdit"] = [
cite("painter", "PainterFluxImageEdit.py", "PainterFluxImageEdit"),
cite("painter", "__init__.py"),
]
refs["easy imageColorMatch"] = [
cite("easy", "py/nodes/image.py", "imageColorMatch"),
cite("easy", "py/libs/utils.py", "easySave"),
cite("easy", "__init__.py"),
]
refs["SetNode"] = []
refs["Image Comparer (rgthree)"] = [
cite("comparer", "image_comparer.py", "RgthreeImageComparer"),
cite("comparer", "__init__.py", claim="准确aux仓库注册合并,cnr身份差异保留"),
cite("comparer", "web/js/image_comparer.js"),
]
seed = cite("frontend", "src/scripts/widgets.ts", claim="准确1.36.14 seed生成后辅助;只读")
for e in manifest:
if e["id"] in ["frontend", "frontsub"] and e["file"] != "src/scripts/widgets.ts":
cite(e["id"], e["file"])
# Existing descriptions are candidates only; this graph's exact schema is checked separately.
base = json.loads(
__import__("subprocess").check_output(
[
"git",
"show",
(
"1c87b4de34494b456dc6de09d6db384353b4"
"72a4:calliope-backend/src/calliope/c"
"omfyui/source_reviews.json"
),
],
cwd=REPO,
)
)
common = {}
for r in base.values():
for f in r.get("fixed_version_document", {}).get("fields", []):
common[f["class_type"], f["field"]] = f
fields = []
empty = []
flow = []
boundaries = []
for prefix, s, host in [
("", g, None),
("/definitions/subgraphs/0", g["definitions"]["subgraphs"][0], 23),
]:
for i, n in enumerate(s["nodes"]):
display = str(n["id"]) if host is None else f"{host}:{n['id']}"
effect = MEANING[display]
flow += [
effect,
display + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
]
ptr = f"{prefix}/nodes/{i}"
if not n.get("widgets_values"):
empty.append(
dict(
node_id=display,
class_type=n["type"],
pointer=ptr,
scope=prefix or "root",
state="missing" if "widgets_values" not in n else "empty_list",
effect=effect,
)
)
continue
for j, ((name, label), v) in enumerate(
zip(LAYOUTS[n["type"]], n["widgets_values"], strict=True)
):
old = common.get((n["type"], name), {})
schema_default = old.get("schema_default", "无显式default;源现值不当默认")
limits = old.get("limits", "准确枚举/接口条件见引用;目标安装及恢复未知")
unit = old.get("unit", "源保存参考")
evidence = refs[n["type"]][:]
if n["type"] == "DWPreprocessor":
schema_default = {
"detect_hand": "enable",
"detect_body": "enable",
"detect_face": "enable",
"resolution": "512",
"bbox_detector": "yolox_l.onnx",
"pose_estimator": "dw-ll_ucoco_384_bs5.torchscript.pt",
"scale_stick_for_xinsr_cn": "disable",
}[name]
limits = {
"detect_hand": "enable/disable;仅绘制开关",
"detect_body": "enable/disable;仅绘制开关",
"detect_face": "enable/disable;仅绘制开关",
"resolution": ("INT 64~16384,step64;common_annotator非法值回退512"),
"bbox_detector": (
"None/yolox_l.torchscript.pt/yolox_l."
"onnx/yolo_nas_l_fp16.onnx/yolo_nas_m"
"_fp16.onnx/yolo_nas_s_fp16.onnx"
),
"pose_estimator": (
"dw-ll_ucoco_384_bs5.torchscript.pt/d"
"w-ll_ucoco_384.onnx/dw-ll_ucoco.onnx"
";函数缺省另为dw-ll_ucoco_384.onnx"
),
"scale_stick_for_xinsr_cn": (
"disable/enable;仅draw_poses xinsr_stick_scaling"
),
}[name]
unit = (
"输出短边像素目标"
if name == "resolution"
else "模型引用"
if name in ["bbox_detector", "pose_estimator"]
else "开关"
)
if n["type"] == "SetNode":
schema_default = "未知:提供方/版本未绑定或冲突"
limits = "仅保存原位置;无准确类映射,不据名称补默认"
unit = (
"完整历史列表" if name == "saved_history" else "JSON字符串;与接口INT分列"
)
if n["type"] == "Image Comparer (rgthree)":
schema_default = "准确aux无后端widget默认;Slide为前端属性默认,非列表默认"
limits = "完整A/B列表;同提交JS序列化参考,cnr提供方与输出协议差异保留"
unit = "完整历史列表;不访问URL"
if n["type"] == "PainterFluxImageEdit":
schema_default = (
"准确schema prompt无默认;batch1/width1024/height1024与四位置冲突"
)
limits = (
"Autogrow images最多6;batch1~64 step1;w"
"idth/height512~4096 step8;没有2_image模"
"式,布局映射未知"
)
unit = (
"中文作者意图"
if name == "prompt"
else "保存参考位置;不认有效批次/尺寸/模式"
)
if n["type"] == "easy imageColorMatch":
schema_default = {
"method": "无显式default;枚举首项wavelet",
"image_output": "Preview",
"save_prefix": "ComfyUI",
}[name]
limits = {
"method": (
"wavelet/adain/mkl/hm/reinhard/mvgd/hm-mvgd-hm/hm-mkl-hm;mkl底层未固定"
),
"image_output": (
"Hide/Preview/Save/Hide/Sa"
"ve(最后一项为字符串Hide/Save);Pre"
"view写temp PNG"
),
"save_prefix": "STRING;Preview被easyPreview替代",
}[name]
unit = "枚举" if name != "save_prefix" else "文件名前缀"
if name == "control_after_generate":
evidence.append(seed)
schema_default = "准确前端辅助初始fixed;不是后端采样输入"
limits = "fixed/increment/decrement/randomize;不运行"
if n["type"] == "KSampler":
schema_default = {
"seed": "0",
"control_after_generate": schema_default,
"steps": "20",
"cfg": "8.0",
"sampler_name": "动态SAMPLER_NAMES无固定default",
"scheduler": "动态SCHEDULER_NAMES无固定default",
"denoise": "1.0",
}[name]
limits = {
"seed": "INT 0~0xffffffffffffffff",
"control_after_generate": limits,
"steps": "INT 1~10000",
"cfg": "FLOAT 0.0~100.0 step0.1",
"sampler_name": "准确core0.9.2动态枚举;源euler仅保存",
"scheduler": "准确core0.9.2动态枚举;源simple仅保存",
"denoise": "FLOAT 0.0~1.0 step0.01",
}[name]
if n["type"] == ("LayerUtility: ImageScaleByAspectRatio V2"):
schema_default = {
"aspect_ratio": "无显式default;枚举首项original",
"proportional_width": "1",
"proportional_height": "1",
"fit": "无显式default;枚举首项letterbox",
"method": "无显式default;枚举首项lanczos",
"round_to_multiple": "无显式default;枚举首项字符串8",
"scale_to_side": "无显式default;枚举首项None",
"scale_to_length": "1024",
"background_color": "#000000",
}[name]
limits = {
"aspect_ratio": ("original/custom/1:1/3:2/4:3/16:9/2:3/3:4/9:16"),
"proportional_width": "INT 1~1e8 step1;仅custom分支",
"proportional_height": "INT 1~1e8 step1;仅custom分支",
"fit": "letterbox/crop/fill",
"method": ("lanczos/bicubic/hamming/bilinear/box/nearest"),
"round_to_multiple": "字符串8/16/32/64/128/256/512/None;向上取整",
"scale_to_side": (
"None/longest/shortest/width/height/total_pixel(kilo pixel)"
),
"scale_to_length": "INT 4~1e8 step1;当前longest,外线值未知",
"background_color": "STRING;crop当前不使用底色",
}[name]
limits = limits.replace(
"仅89014d参考假设,源版本未知", "准确881bc917 aux仓库;cnr提供方差异保留"
)
if name == "scale_to_length":
unit = "像素INT接口;外线实际值未知"
inp = next(
(k for k, x in enumerate(n.get("inputs", [])) if x["name"] == name), None
)
aux = name in ["upload", "control_after_generate"]
linked = inp is not None and n["inputs"][inp].get("link") is not None
fields.append(
dict(
node_id=display,
definition_node_id=str(n["id"]),
scope=prefix or "root",
class_type=n["type"],
field=name,
label=label,
pointer=f"{ptr}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
named_pointer="源无widgets_values_named,不构造具名保存指针",
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 "linked_saved_cache"
if linked
else "saved_layout_reference",
schema_default=schema_default,
limits=limits,
unit=unit,
effect=effect,
evidence=evidence,
execution_note=(
"保存布局仅静态参考,不证明实际恢复或执行值;模型/"
"素材/许可/安装/效果未知,保持停用,未增加转换或"
"执行资格。"
),
)
)
flow.extend(
("根物理边 " if not prefix else prefix + " 物理边 ") + json.dumps(e, ensure_ascii=False)
for e in s["links"]
)
if prefix:
h = next(n for n in g["nodes"] if n["id"] == host)
boundaries = [
{
k: s[k]
for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]
},
dict(
host_pointer=f"/nodes/{g['nodes'].index(h)}",
host_saved=h["widgets_values"],
proxyWidgets=h["properties"]["proxyWidgets"],
inputs=h["inputs"],
),
]
assert len(fields) == 43 and sum(f["scope"] == "root" for f in fields) == 26
overview = (
"这张图希望把第一图人物的姿态改成第二图的姿态:第一图缩放,第二图提取姿态"
"图,经Painter条件和latent送采样解码。生成图直接正式保存,另"
"以第一缩放图颜色匹配后与第二原图比较。动作及其他内容保持只是作者意图,提"
"供方和动态输入冲突尚未解决,不能执行。"
)
flow.insert(
0,
(
"根11节点14边,定义6节点17含边界记录,全mode0;根26+内部1"
"7=43保存位置(42标量+1完整历史列表),无Note/具名值。Rer"
"oute缺键、宿主/Preview/VAEDecode各[]零位置、定义"
"widgets=[]独立。"
),
)
flow.extend(
[
("10代理8输入不造promoted值;定义输出linkIds=[17,17]与唯一物理17分列。"),
(
"准确core0.9.2、图级frontend1.36.14和锁定依赖仅静"
"态绑定;宿主0.28.3不赋予内部身份。UE7.5.2/7.8、Set别"
"名、Painter动态恢复和目标安装未知,不模拟恢复。"
),
(
"准确Layer aux仓库image_comparer.py/同树JS与"
"__init__确有相同注册键;cnr=rgthree-comfy身份差"
"异及源STRING出口/准确空RETURN_TYPES冲突保留,不借近版"
"rgthree。Easy准确v1.3.6 Git标签与文件绑定,未验证发"
"布包与Git对应或完整包SHA;底层color-matcher未固定。"
),
(
"许可原文仅说明对应源码的许可;模型/素材/设备/目标安装、许可适用和实际"
"效果未知。未执行上游注册/SDK/表达式/预处理器/模型/GPU/媒体/"
"种子/缓存,不下载权重或历史URL。"
),
]
)
flow.extend("原定义/宿主边界 " + json.dumps(b, ensure_ascii=False) for b in boundaries)
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=(
"仅参考:Set身份、Comparer提供方/输出协议、Painter布局"
"/动态输入与mask命名、Save/Preview输出协议均有未决差异;"
"执行和转换关闭。"
),
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()
]
+ [
(
"旧59块2277位置+66注释冻结;local_file以docs/he"
"l-892/flux2-action-document-evidence"
"为基准。"
)
],
counts=dict(
saved_fields=43,
root_saved_fields=26,
internal_saved_fields=17,
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
source_nodes=17,
root_nodes=11,
internal_nodes=6,
physical_edges=31,
source_notes=0,
history_objects=1,
final_scalars=0,
final_prompt_constructed=False,
),
fields=fields,
sources=sources,
comments=[],
flow=flow,
flow_evidence=list(range(len(sources))),
zero_saved_nodes=empty,
boundaries=boundaries,
steps=[
overview,
(
"阅读1:逐43位置核现值/JSON类型/完整提示与"
"历史列表;两图路径、模型和sdppp属性仅文本,不"
"访问媒体。"
),
(
"阅读2:宽高来自16,latent来自Painte"
"r;颜色匹配返回图仅进比较B,正式保存未匹配生成。"
"核准确版本冲突,勿据位置猜有效输入。"
),
(
"阅读3:保持停用/未检查/空时间戳,155最终定稿"
"与必要实跑未完成,审核后才发布;不连接目标、不构造"
"prompt或执行上游。"
),
],
)
@@ -0,0 +1,540 @@
{
"base": "1c87b4de34494b456dc6de09d6db384353b472a4",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"sha256": "c85e9f0ba64818496c1ae4d09daf148c447c65c54e31d0793e5c6dcaddab924c",
"purpose": "代码拥有的单图路径/定义摘要,失败关闭"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"sha256": "dd8ffd516487a3e73a40f4b8c8a8a9a5ea1e02b0b5d2db77d1d0b0376bc50e91",
"purpose": "仅为准确人物动作迁移原件新增中文参考块"
},
{
"path": "calliope-backend/tests/test_flux2_action_fixed_document.py",
"sha256": "f058bb4d661c5f16304dc2b884c4bf8357ee97b52f0ca1dd5d06f4d5a19b3921",
"purpose": "代码拥有的单图路径/定义摘要,失败关闭"
},
{
"path": "docs/hel-892/Flux人物动作迁移固定参考中文说明.md",
"sha256": "12412de0df023ca439369c128ef554e33c4afda3c466474bcc31ebb8aae3b0b2",
"purpose": "实际中文说明、交付摘要或开发限制记录"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/actual-flux2_klein-图生图_人物动作迁移.json",
"sha256": "ff8ac3641873372aeefee5d09e89c20c4d41ba453b5b1469dbdfa58c2c14bdcc",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/audit-summary.json",
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/backend-development.txt",
"sha256": "61e6bfd48736ab2dad2b24d7ed7835f1df5c8f0d3e76370c8ef1a15e6b140023",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/backend-final.txt",
"sha256": "61e6bfd48736ab2dad2b24d7ed7835f1df5c8f0d3e76370c8ef1a15e6b140023",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/backend-request-counts.json",
"sha256": "277ae35b5f7be775cc34579efc5ab6c9368aa04cea93663774ea1ccf6111d31b",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/bind_sources.py",
"sha256": "69531c0fbba18f707060a525007c60b999be7825d236b8c8d56c7e0ad9f1b55f",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/boundaries.json",
"sha256": "dca58cab9867d48be53789c7ea8e3a31a305ca687e368c93ffb9e8cea92c5b0a",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/browser-development.txt",
"sha256": "74423916b51d5de8054ee4935e891e848fd1ff1c80654aa6f0457d172692e5a0",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/browser-results.json",
"sha256": "16ca6b32ea408e6cc8af1a900f70aec2644dd5e5e710ba36e355b8accf26aa75",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/build_definition.py",
"sha256": "b5bccd19092795c2282ed11df1114bfd8a7a553ffebb9755d779b5df4496a477",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/collect_browser.py",
"sha256": "c12b69754be01f35ea356b049a09a5bee33986cdf9609be883e2f435b76364c8",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/definition-0.json",
"sha256": "952485548c77879eed398ba6de7c8f5ef1a2c94f45f6b9a796536ebd51412f32",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/delivery-summary.md",
"sha256": "a8818fb09830dc8235344d8005158f3382377b04980ef65ae0dec5ff2d8ede0a",
"purpose": "实际中文说明、交付摘要或开发限制记录"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/development-notes.md",
"sha256": "0a448535338dd0a2771a692cf60df4fffb7ed71507ca60eb83f3391cfa38ffc2",
"purpose": "实际中文说明、交付摘要或开发限制记录"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/development-ruff.txt",
"sha256": "890b35465ad3c47fe254e1adc92836da3c8566ed5a54ebeaf6b4eed1e02787b4",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/diff-check.txt",
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"purpose": "自写增量diff检查结果;上游原件/原始日志空白另列保留"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/fetch_sources.py",
"sha256": "819c14d5b4806f2e867b7a5a37c20bfbe904c3988092d9802429f7f0ed53a6b2",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/fixed-source-index.json",
"sha256": "37198e8ab7dab2a5919267a31f53900f3df0f090db2cdceab12ca38d40ff9860",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/frontend-build.txt",
"sha256": "834cdd708048e9a02b800b30420c783533832b4f318fa6c1bb5270b9ba1a7520",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/frozen-resource-check.json",
"sha256": "5061e6be5902fbaf31b2dcdaab5cd2dafa77ca91fdc656b00461dc5343866f9b",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/import-protection.json",
"sha256": "2a8aa56fe3df4fa20c27f43563e0a2caca7c52bd61b15de17374ac2fd08d33dc",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/independent-inventory.json",
"sha256": "23e31281cca5cb181fc4b6b9365b7aed8cfaf586e45cd7e004b386492e353391",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/inventory.py",
"sha256": "ec5f59877203e63ede3fffef10ec824979304984bf0909279cc4b7d3497e35f4",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/js-syntax.txt",
"sha256": "f3d994f8e6fe37b55bf3514d4a04fab0fc5f8cbcbff1ea48d5c7ddda2ad203c1",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/npm-install.txt",
"sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/package-build.txt",
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/package-check.json",
"sha256": "24bd0810094f4b3877d6388be2e73a0cebf32a849627dde34923d46787f16d92",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/pins.json",
"sha256": "318791cd047b03d0a2a6cd23cf326b900785ac1346d86adb96b280421f76486e",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/ports-independent.json",
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/pr-before.json",
"sha256": "4d51c0dc38c092184e82424d9422106ba8d649a85c95d24ddaef2d8afe12fff8",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/rebuild.py",
"sha256": "e996103b4224e27d2bcc4e103fae702bc301759e6fc4d35c020b05f52ae03f43",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/recompute.py",
"sha256": "8f6d26ac092b67ba73393f1e9b91d47af3e45e4f822416017febc5b6ef4f55c1",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/recompute.txt",
"sha256": "efc4bfaccbf05873b2e4d90211c56dfd813f0d1a3b72dfb9f8c67d91a6700ade",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/render_report.py",
"sha256": "824db02d91bf26d7a892c9c0d0ed72e42141ddbfa2f8eca90e6b68222fff72a3",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/repeat.py",
"sha256": "239033887a9a74c66b9ab434ff593d8350c2d940c8047a279e19786567c185d6",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/repeatability.json",
"sha256": "cd12050c8f52beaa0aafc226d71dc8bd5486d8637b65f61a63c768f742556713",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/review-delta.json",
"sha256": "ede4cce4e7df9af8afb989eaae0a882f51c15ca2d79785368789d5556b7bf999",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/ruff-check.txt",
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/ruff-format.txt",
"sha256": "2afb1c293434bc55d84b35d54454a0bf9aa84e41cda426817a5c6693d432e37a",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/service-0.txt",
"sha256": "f263cf297a7b1804334d7ca2bc17f19bb72ab99f29b00510c4e52799a6955ae6",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/service-1.txt",
"sha256": "ebee4dee2c1c19b216b6556325b09030f8ba347fe54a531b3420997746a87a38",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/service-stop.json",
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/source-acquisition.txt",
"sha256": "4ac95ee5421553c43bb2c8125ac43ad0f65dc63244474b87bc1741f7b8572f72",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/source-check.json",
"sha256": "0bbd161afa25e5cb64da8a91fdda49bf0eb3fa8ab841e51716c60d923cc96a1c",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/source-check.txt",
"sha256": "426bb2b33a742200d5722baedf34e2d39f47ccac4ec2fcdff75dea14762806c4",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/source-closure.json",
"sha256": "71156da6f8a66794b5b22569f482a09c7e58dfb6eb8fc5d6d5f991ba93d8a619",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/source_closure.py",
"sha256": "8ae28b6798946cfa5ff0a7da7ea1d1ac916801a3a00762291295c46046dc9492",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/validation-commands.txt",
"sha256": "68af3f5ff3696a5a247b1154c17ff358738fd1d443a772ddb3673bd8d4d53d37",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/verify_sources.py",
"sha256": "0753b76f982b6a2e1d6c196a0a4ed99a4e29fb8ece7afc4f9a5855ef116b5a47",
"purpose": "本批离线复现、盘点、审计、确定性或来源核对工具"
},
{
"path": "docs/hel-892/flux2-action-document-evidence/visual-review.json",
"sha256": "bb936933815747c5529544cdc29348111245037eded94e65aef1f89439d1b634",
"purpose": "本批实际验证/审计/构建/保护/浏览结果"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-commit.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tag.json",
"sha256": "59a8d24650623ab21a8e6ef0eb06225b328227cf4af021389f18dcb93895f4c7",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tag.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tree.json",
"sha256": "c926aaa5896021471346addbc8e6eb376c767129024297086ba36a14e58e1e4d",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer____init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__image_comparer.py",
"sha256": "e292e0343a02a90cb73a594b0500a5806bd1e99aef8b717224cf5443f6b26642",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__web__js__image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-commit.txt",
"sha256": "ba6af574d2ae1128bacaefa85b238add3fabbb9f2b11009ca6728801ca7eceb4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tag.json",
"sha256": "a122eb7c7a4f6b419f117a7f8f3d5d1cda2679f724657090de936a5b294e95a3",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tag.txt",
"sha256": "ba6af574d2ae1128bacaefa85b238add3fabbb9f2b11009ca6728801ca7eceb4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tree.json",
"sha256": "91e37a1e4e4cb1eb77553de093712205b5fb82edf940221727a390c1fc98ebe9",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__comfy__utils.py",
"sha256": "90321d00a7f70925f94ef816a3b8c7a8d094526411ddf182bd936740bd5f28d5",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__comfy_api__latest___io.py",
"sha256": "06fd59e1f8fcb8aa1f3cd862abfc0a8acc40f7b0b12ac0040b0708a9b5ef2f8c",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__node_helpers.py",
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-commit.txt",
"sha256": "7b2fd1d74882f1bbc5cea4e00c28e1c83958be78fbf5fe01265594b63057b604",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tag.json",
"sha256": "d712bc58cf83999df2aa3eaa62c27cc2d2ac591e8c024d80ee647190820be098",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tag.txt",
"sha256": "7b2fd1d74882f1bbc5cea4e00c28e1c83958be78fbf5fe01265594b63057b604",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tree.json",
"sha256": "a8b9d34d09151511571fe008d9776b7a7514614b4407ae074f46040cb1d634eb",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__LICENSE.txt",
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw____init__.py",
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__node_wrappers__dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__dwpose__LICENSE",
"sha256": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__dwpose____init__.py",
"sha256": "11733916809df84a53cfe98c3a2a448ab953f085b89280860cfffa053201cae3",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-commit.txt",
"sha256": "4ae9c325fc19d64e2a42fb837807a7f62ba090497cb2419ce70953bd4cbfd3bf",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tag.json",
"sha256": "28ee514fd9e2558be5c4549d12ef0088bbde2435318fd311c8c41ce1d9044038",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tag.txt",
"sha256": "4ae9c325fc19d64e2a42fb837807a7f62ba090497cb2419ce70953bd4cbfd3bf",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tree.json",
"sha256": "d4a25a1a9c564435127f4a8a37b248fea1224245d703bfa97470b89b5d3dcf08",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy____init__.py",
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__py__libs__utils.py",
"sha256": "e14dbbb4f307632c13d00c570c624e6ca6bd238fa3a0f27030849ddedbe9e0a4",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__py__nodes__image.py",
"sha256": "59af86d1f1907f90f72a72da481b346abe7d154546bf4f3624737734d7f11191",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/new-sources.json",
"sha256": "6a25c7589bb4414efec8841ad61e6912ff710a51b641f8e03e03c285c352100c",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-absent.json",
"sha256": "37517e5f3dc66819f61f5a7bb8ace1921282415f10551d2defa5c3eb0985b570",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-commit.txt",
"sha256": "2905dc52a102fd06496f9fcc6251b8f8f797eb4e6f13cc2fc5e9244541816bf9",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tag.json",
"sha256": "bd9fc9dca3204d53f88dd6f61a4897b09089f9d782279fd330b85633cc01f498",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tag.txt",
"sha256": "2905dc52a102fd06496f9fcc6251b8f8f797eb4e6f13cc2fc5e9244541816bf9",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tree.json",
"sha256": "79484e5eb5b8018827608a0cba4c09e8e3f8b1864dd305bf67270f03da4bbcba",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter__LICENSE",
"sha256": "23082e76e624b96c1d1678f66dbe178cfcac7bbe6851ac982a4498248bcf891b",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter__PainterFluxImageEdit.py",
"sha256": "100ce4b745f619e3eef6e02f6e216becc51a5b7ca035096a2ce5de0b2f4c7cd8",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter____init__.py",
"sha256": "f4cae59cfa05c75553febb3781ca0e6d8914b63aaf2b3b08669dfdf58cf3bb21",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/sources.json",
"sha256": "486e3609e518f8c38938eab7229c8fd87260c3260a1b9be321795ebeec3ab4c3",
"purpose": "准确来源原文/许可/Git对象证据,未执行"
},
{
"path": "e2e/flux2-action-document.mjs",
"sha256": "ac0a5376303709feca1b34d7bee7027fe023108ea906f0423913589612bf6413",
"purpose": "本地GET页面核对与自有服务生命周期"
},
{
"path": "e2e/run-flux2-action-document.py",
"sha256": "f8b83c19cf3bdd209837e74cc13a45b92a87a19757d1f4c806d62a4987dd7099",
"purpose": "本地GET页面核对与自有服务生命周期"
}
],
"count_including_this_manifest": 107,
"self": {
"path": "docs/hel-892/flux2-action-document-evidence/changed-files.json",
"purpose": "逐文件用途/SHA清单;自身不递归哈希"
}
}
@@ -0,0 +1,83 @@
"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/flux2-action-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(r'"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 # Foreground readiness probe, explicitly separate.
# Browser result is flushed just before browser.close; a final timer GET can
# reach the server after that snapshot. Keep its exact count separately.
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 it is too large Load Diff
@@ -0,0 +1,21 @@
第79批仅补充Flux人物动作迁移单图的参考说明,不增加执行资格。
实现边界:`source_reviews.json`仅新增本图fixed_version_document,`fixed_document.py`仅增加准确路径和定义摘要。新测试覆盖43原位置、调用方重算摘要的拒绝、定义/路径绑定和关键链路。其余新文件为复现/审计/来源原文与许可/浏览证据;现有Drawer整文件、CSS、依赖、导入器、转换器和执行器不动。
独立盘点:根11节点14边,定义6节点17含边界记录,全mode0;根26+内部17=43保存位置,42标量+1完整历史列表;无Note/具名值。空宿主、Preview、VAEDecode和定义widgets=[]与Reroute缺键分列;10代理8输入,输出linkIds重复与唯一物理17分列。
内容:第一缩放图作为Painter第一参考和颜色参考;第二原图→DW姿态图作为第二参考,原图另经Reroute进比较A;生成图直存11,颜色匹配后的返回图仅进比较B。Layer准确881bc917、DW完整cc6b232f、Painter完整88af927、Easy准确Git v1.3.6及core0.9.2/frontend1.36.14逐图绑定。DW1024为绘制后输出短边缩放;Painter schema无2_image模式,动态输入和遮罩名冲突明确保留;KSampler起点来自Painter槽2。准确aux仓库确有Comparer类/注册与同树JS,保留cnr差异及源STRING/实现空返回冲突。Set仅aux无版本,字符串1080不当整数有效值。两核心保存/预览源IMAGE出口冲突保留。模型/许可适用/安装/恢复/效果仍未知。
验证:137专项+13库回归=150通过;2146页面检查=714新图+1416旧59概要+2汇总+14共享回退。1440/390逐43位置和全文/历史/来源、默认折叠、错绑定/旧空回退、迟到重试、焦点和无横溢通过。代表截图单独目验记录见visual-review.json。
真实基线1c87b4de34494b456dc6de09d6db384353b472a4隔离库仅1更新154跳过,其他154整行不动;重导155跳过、精确回退1/再升级、用户编辑前后各1冲突/29列保护通过。155/排除1、16/139、1217/3660/294、停用/未检查/空时间戳保持。旧59块2277位置+66注释逐对象冻结,现60图2320位置+66注释仅参考。163原件/冻结资源、28profile/九候选hash/六差分保持。
双次定义/渲染一致、wheel/sdist三资源字节一致、14自写Python显式项目配置Ruff check/format、JS语法及前端build通过。开发失败与既有构建提示保留,未机械重跑无关全量;5个历史基线测试失败为沿用记录,非本批实测,不称全仓全绿。
浏览全程本地GET,固定193/轮询15/六详情夹具;后台固定188(193−6+就绪1)/轮询15逐路径对账,字体请求拦截1,禁止请求0。finally停止自有服务,独立核8247/5173拒绝连接。截图仅交付附件,无新pyc入仓。
来源闭包73文件,附逐项路径、用途、SHA256,commit/tag原字节和选定blob重算,tree列表未冒充完整树对象重哈希;未声称完整包SHA/Git发布包绑定。见source-closure.json。
复现入口:validation-commands.txt。完整中文在`docs/hel-892/Flux人物动作迁移固定参考中文说明.md`,实际隔离库doc在本目录actual-*;保护/包/确定性/浏览/网络核对报告均在本目录。
剩余95张目标图无此类参考块;155最终定稿、环境核对和必要实跑未完成。Set准确身份、Painter动态恢复/布局、Comparer提供方与输出协议、UE恢复、模型/素材/目标安装及许可适用留待集中协调。本批无需材料或目标窗口。不连接目标、不停TTS、不启ComfyUI、不构造prompt、不执行上游/插件/SDK/预处理器/模型/GPU/媒体/表达式/别名/种子/缓存、不下载权重素材字体运行库、不加依赖付费、不写在线库、不合并部署。
@@ -0,0 +1,13 @@
本批开发中的失败和更正:
- 初次获取Painter误写为1038lab仓库,Git返回不可读取;更正为既有准确来源princepainter仓库后取得88af927完整提交。保留source-acquisition.txt原始失败与后续成功,不把失败当版本不存在。
- DW最初沿用旧src/controlnet_aux路径并假定根LICENSE。准确tree显示src/custom_controlnet_aux与LICENSE.txt,补取DW嵌套许可后通过逐文件Git blob、commit/tag与许可校验。
- 尚未读取Layer的image_comparer.py时形成了“无Comparer”草稿;准确__init__明确导入,继续读取精确Python和同树JS后发现相同注册键。本批最终实际说明已纠正;cnr/aux提供方差异和STRING出口/空返回类型差异仍保留。
- 自写Python初次Ruff check报26处长行,初次拆分后余5处;最终全部按项目显式配置拆分为等值相邻字面量,定义与渲染字节一致性通过。未禁用规则。
- 新增来源闭包脚本初次检查另有1处未用Path导入,已删除。
- 首次后台专项及库回归150通过,仅既有Starlette/AnyIO弃用提示。未改共享转换/导入/执行器,不机械重跑全量;之前记录的5个基线失败属于沿用证据,本批未复验,不称全仓全绿。
- 前端build沿用仓库既有提示;本批不改Drawer/CSS/依赖,也不修旧业务或扩范围。
所有源码仅字节/AST文本读取;不执行其注册、设备检测、预处理、模型、图像、表达式或恢复逻辑。在线依赖只影响后续环境确认;本参考批无需目标机窗口。
- 全增量git diff --check提示上游原文既有空白/CRLF及原始获取日志空白;原件按准确blob保留,不做格式化。仅自写文件的diff检查通过。初次commit因本次新checkout未配置身份失败;随后以原分支连续提交的leefer身份作单次命令参数提交,不改全局或共享仓库配置。
@@ -0,0 +1 @@
7 files reformatted, 6 files left unchanged
@@ -0,0 +1,134 @@
"Acquire necessary pinned text only; no upstream imports or execution."
import datetime
import hashlib
import json
import subprocess
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "flux2-action-reference"
def main():
rows = []
specs = [
(
"comparer",
"aining2022/ComfyUI_Swwan",
"881bc91790da6b907d3d28e5b91b295b9aef06ee",
["image_comparer.py", "web/js/image_comparer.js", "__init__.py", "LICENSE"],
),
(
"core",
"Comfy-Org/ComfyUI",
"v0.9.2",
["nodes.py", "node_helpers.py", "comfy/utils.py", "comfy_api/latest/_io.py", "LICENSE"],
),
(
"dw",
"Fannovel16/comfyui_controlnet_aux",
"cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
[
"node_wrappers/dwpose.py",
"src/custom_controlnet_aux/dwpose/__init__.py",
"src/custom_controlnet_aux/util.py",
"utils.py",
"__init__.py",
"LICENSE.txt",
"src/custom_controlnet_aux/dwpose/LICENSE",
],
),
(
"painter",
"princepainter/ComfyUI-PainterNodes",
"88af927351c1f16f913104fc7aec3bb880baa2df",
["PainterFluxImageEdit.py", "__init__.py", "LICENSE"],
),
(
"easy",
"yolain/ComfyUI-Easy-Use",
"v1.3.6",
["py/nodes/image.py", "py/libs/utils.py", "__init__.py", "LICENSE"],
),
]
for key, repo, tag, files in specs:
cache = ROOT / ".local-evidence" / ("flux2-action-" + key + "-git")
cache.mkdir(parents=True, exist_ok=True)
subprocess.run(["git", "init", "--bare", str(cache)], check=True, stdout=subprocess.DEVNULL)
subprocess.run(
[
"git",
"-C",
str(cache),
"fetch",
"--filter=blob:none",
"--depth=1",
"https://github.com/" + repo + ".git",
("refs/tags/" + tag) if tag.startswith("v") else tag,
],
check=True,
)
def git(*args):
return subprocess.check_output(["git", "-C", str(cache), *args])
rev = git("rev-parse", "FETCH_HEAD^{commit}").decode().strip()
tree = git("rev-parse", rev + "^{tree}").decode().strip()
(REF / (key + "-commit.txt")).write_bytes(git("cat-file", "commit", rev))
(REF / (key + "-tag.txt")).write_bytes(git("cat-file", "-p", "FETCH_HEAD"))
(REF / (key + "-tag.json")).write_text(
json.dumps(
dict(
ref=("refs/tags/" + tag) if tag.startswith("v") else tag,
commit=rev,
object=git("rev-parse", "FETCH_HEAD").decode().strip(),
),
indent=2,
)
+ "\n"
)
entries = []
for line in git("ls-tree", "-r", rev).decode().splitlines():
head, path = line.split("\t", 1)
mode, kind, sha = head.split()
entries.append(dict(path=path, mode=mode, type=kind, sha=sha))
(REF / (key + "-tree.json")).write_text(
json.dumps(dict(sha=tree, truncated=False, tree=entries), indent=2) + "\n"
)
missing = []
for f in files:
ent = next((x for x in entries if x["path"] == f), None)
if ent is None:
missing.append(f)
continue
raw = git("show", rev + ":" + f)
name = key + "__" + f.replace("/", "__")
(REF / name).write_bytes(raw)
rows.append(
dict(
id=key,
repo=repo,
file=f,
local_file=name,
commit=rev,
tree=tree,
tag=tag,
url=f"https://raw.githubusercontent.com/{repo}/{rev}/{f}",
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=ent["sha"],
acquisition_time=datetime.datetime.now(datetime.timezone.utc).isoformat(),
license_file=key + ("__LICENSE.txt" if key == "dw" else "__LICENSE"),
transport="filtered git; selected text blobs only",
applicability="本图独立声明版本;UE/tab/宿主恢复未知",
)
)
(REF / (key + "-absent.json")).write_text(json.dumps(missing, indent=2) + "\n")
(REF / "new-sources.json").write_text(
json.dumps(dict(sources=rows), ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,914 @@
[
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
1649,
1724
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
1580,
1633
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
1635,
1647
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
922,
945
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
947,
972
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
702,
805
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
1518,
1544
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../flux2-action-reference/core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "core",
"lines": [
281,
305
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "layer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "image_scale_by_aspect_ratio_v2.py",
"local_file": "../flux2-action-reference/../flux2-person-reference/layer__image_scale_by_aspect_ratio_v2.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/image_scale_by_aspect_ratio_v2.py",
"sha256": "25986bfe8c985a66045abd2c76143d9766c53c77f553c74f7fbec191ea0169fe",
"git_blob_sha1": "23e4b8a10dfd6d4113bdfe40d57e30976102e804",
"acquisition_time": "2026-10-31T00:08:43.199145+00:00",
"license_file": "../flux2-person-reference/layer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "layer",
"lines": [
8,
178
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "layer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "layerstyle_utils.py",
"local_file": "../flux2-action-reference/../flux2-person-reference/layer__layerstyle_utils.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/layerstyle_utils.py",
"sha256": "cba827fc697a71bf5917bea20fbdd86af3b22a2799318c2be95950bb36fd0668",
"git_blob_sha1": "1aab6030bb78e6e295d5f6f65ee3abc5cd0a07c9",
"acquisition_time": "2026-10-31T00:08:43.201568+00:00",
"license_file": "../flux2-person-reference/layer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "layer",
"lines": [
96,
136
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "layer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "layerstyle_utils.py",
"local_file": "../flux2-action-reference/../flux2-person-reference/layer__layerstyle_utils.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/layerstyle_utils.py",
"sha256": "cba827fc697a71bf5917bea20fbdd86af3b22a2799318c2be95950bb36fd0668",
"git_blob_sha1": "1aab6030bb78e6e295d5f6f65ee3abc5cd0a07c9",
"acquisition_time": "2026-10-31T00:08:43.201568+00:00",
"license_file": "../flux2-person-reference/layer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "layer",
"lines": [
273,
288
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "layer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "layerstyle_utils.py",
"local_file": "../flux2-action-reference/../flux2-person-reference/layer__layerstyle_utils.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/layerstyle_utils.py",
"sha256": "cba827fc697a71bf5917bea20fbdd86af3b22a2799318c2be95950bb36fd0668",
"git_blob_sha1": "1aab6030bb78e6e295d5f6f65ee3abc5cd0a07c9",
"acquisition_time": "2026-10-31T00:08:43.201568+00:00",
"license_file": "../flux2-person-reference/layer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "layer",
"lines": [
60,
62
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "node_wrappers/dwpose.py",
"local_file": "../flux2-action-reference/dw__node_wrappers__dwpose.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/node_wrappers/dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"git_blob_sha1": "f0422588a42157be5996d2c8acd79c863bf9efc9",
"acquisition_time": "2026-10-31T00:20:30.025067+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "dw",
"lines": [
30,
96
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "utils.py",
"local_file": "../flux2-action-reference/dw__utils.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"git_blob_sha1": "cf3dd6e693ba379ef4714745bddeca88d0b633f9",
"acquisition_time": "2026-10-31T00:20:30.029625+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "dw",
"lines": [
100,
120
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "utils.py",
"local_file": "../flux2-action-reference/dw__utils.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"git_blob_sha1": "cf3dd6e693ba379ef4714745bddeca88d0b633f9",
"acquisition_time": "2026-10-31T00:20:30.029625+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "dw",
"lines": [
64,
92
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "src/custom_controlnet_aux/dwpose/__init__.py",
"local_file": "../flux2-action-reference/dw__src__custom_controlnet_aux__dwpose____init__.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/src/custom_controlnet_aux/dwpose/__init__.py",
"sha256": "11733916809df84a53cfe98c3a2a448ab953f085b89280860cfffa053201cae3",
"git_blob_sha1": "a9152befb0a544a91de5a9b131a6fece63020a62",
"acquisition_time": "2026-10-31T00:20:30.026374+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "dw",
"lines": [
217,
278
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "src/custom_controlnet_aux/util.py",
"local_file": "../flux2-action-reference/dw__src__custom_controlnet_aux__util.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/src/custom_controlnet_aux/util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"git_blob_sha1": "fee98aea453f06dd4cc057900e5d77dda91bd618",
"acquisition_time": "2026-10-31T00:20:30.027331+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "dw",
"lines": [
155,
173
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "painter",
"repo": "princepainter/ComfyUI-PainterNodes",
"file": "PainterFluxImageEdit.py",
"local_file": "../flux2-action-reference/painter__PainterFluxImageEdit.py",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"tag": "88af927351c1f16f913104fc7aec3bb880baa2df",
"url": "https://raw.githubusercontent.com/princepainter/ComfyUI-PainterNodes/88af927351c1f16f913104fc7aec3bb880baa2df/PainterFluxImageEdit.py",
"sha256": "100ce4b745f619e3eef6e02f6e216becc51a5b7ca035096a2ce5de0b2f4c7cd8",
"git_blob_sha1": "48923870190daf0a3fe818bad70a9030d434d27c",
"acquisition_time": "2026-10-31T00:20:32.287978+00:00",
"license_file": "painter__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "painter",
"lines": [
10,
125
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "painter",
"repo": "princepainter/ComfyUI-PainterNodes",
"file": "__init__.py",
"local_file": "../flux2-action-reference/painter____init__.py",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"tag": "88af927351c1f16f913104fc7aec3bb880baa2df",
"url": "https://raw.githubusercontent.com/princepainter/ComfyUI-PainterNodes/88af927351c1f16f913104fc7aec3bb880baa2df/__init__.py",
"sha256": "f4cae59cfa05c75553febb3781ca0e6d8914b63aaf2b3b08669dfdf58cf3bb21",
"git_blob_sha1": "ccc28ee72f00934040c435ec98f88fc6a11ce107",
"acquisition_time": "2026-10-31T00:20:32.289815+00:00",
"license_file": "painter__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "painter",
"lines": [
1,
216
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "py/nodes/image.py",
"local_file": "../flux2-action-reference/easy__py__nodes__image.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/py/nodes/image.py",
"sha256": "59af86d1f1907f90f72a72da481b346abe7d154546bf4f3624737734d7f11191",
"git_blob_sha1": "ec188a2e935db55159187fc2bdaecb8172b4faf5",
"acquisition_time": "2026-10-31T00:20:33.232885+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "easy",
"lines": [
1077,
1139
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "py/libs/utils.py",
"local_file": "../flux2-action-reference/easy__py__libs__utils.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/py/libs/utils.py",
"sha256": "e14dbbb4f307632c13d00c570c624e6ca6bd238fa3a0f27030849ddedbe9e0a4",
"git_blob_sha1": "122067e5b43b0692d7874140e39f476bf4367854",
"acquisition_time": "2026-10-31T00:20:33.234969+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "easy",
"lines": [
251,
262
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "__init__.py",
"local_file": "../flux2-action-reference/easy____init__.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/__init__.py",
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
"git_blob_sha1": "fef150550e019bd9aa509dbc6801993bf0bf2a64",
"acquisition_time": "2026-10-31T00:20:33.236167+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "easy",
"lines": [
1,
95
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "image_comparer.py",
"local_file": "../flux2-action-reference/comparer__image_comparer.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/image_comparer.py",
"sha256": "e292e0343a02a90cb73a594b0500a5806bd1e99aef8b717224cf5443f6b26642",
"git_blob_sha1": "1f7aa5084effc0ec7998d16d4856216ccd4c6a54",
"acquisition_time": "2026-10-31T00:20:27.928716+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "comparer",
"lines": [
13,
70
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "__init__.py",
"local_file": "../flux2-action-reference/comparer____init__.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/__init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"git_blob_sha1": "3fa69fca9a8d18557b14b053fda1989caf821746",
"acquisition_time": "2026-10-31T00:20:27.933925+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "comparer",
"lines": [
1,
75
],
"claim": "准确aux仓库注册合并,cnr身份差异保留"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "web/js/image_comparer.js",
"local_file": "../flux2-action-reference/comparer__web__js__image_comparer.js",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/web/js/image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"git_blob_sha1": "4c5d6b8d8f33f53387d8e385ba6d9ffe4ed4caba",
"acquisition_time": "2026-10-31T00:20:27.931437+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": ".",
"identity_key": "comparer",
"lines": [
1,
365
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__scripts__widgets.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/scripts/widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"git_blob_sha1": "50dabe011f326aa77b3b032c0932491eaac18586",
"acquisition_time": "2026-10-30T21:08:31.252255+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
308
],
"claim": "准确1.36.14 seed生成后辅助;只读"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontsub",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"local_file": "../flux2-action-reference/../flux2-person-reference/frontsub__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "d4f1017495158a6133ff770441a4d517dfbf2a328ba42b0405f8729853fe8209",
"git_blob_sha1": "e26e1cd48c7b5ac33f935dc0597cfaa1c7c81330",
"acquisition_time": "2026-10-31T00:08:38.652628+00:00",
"license_file": "../flux2-person-reference/frontsub__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "frontsub",
"lines": [
1,
645
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontsub",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "../flux2-action-reference/../flux2-person-reference/frontsub__LICENSE",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T00:08:39.316374+00:00",
"license_file": "../flux2-person-reference/frontsub__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-person-reference",
"identity_key": "frontsub",
"lines": [
1,
674
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__package.json",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/package.json",
"sha256": "15aefdd570c97c79f18914133bcfac39bbcb4d46b77af03a8800c749aebe8bf8",
"git_blob_sha1": "e0792325d3fb41bbcf0a3254ac0560030b5c5b8e",
"acquisition_time": "2026-10-30T21:08:31.243515+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
193
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__pnpm-lock.yaml",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/pnpm-lock.yaml",
"sha256": "bc16299891aa6489d075e9cf95e8c710b4a3e230ac275133d08a3cd5ba139eed",
"git_blob_sha1": "2188bf0e4e7ca045fe3f27d1efdb5bbf08f43e05",
"acquisition_time": "2026-10-30T21:08:31.249571+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
17143
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__scripts__app.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/scripts/app.ts",
"sha256": "1035fbc0313170282d6b0a05e30c04c7458648da6503ec70c67af03858a7a37e",
"git_blob_sha1": "cd75be7f76c7ec29c2ac9ca1c5d27ed5e200d8a4",
"acquisition_time": "2026-10-30T21:08:31.256007+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
1772
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__extensions__core__widgetInputs.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/extensions/core/widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"git_blob_sha1": "c7f9f6eb828df61463d316669629ff7368fa882f",
"acquisition_time": "2026-10-30T21:08:31.258701+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
614
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "ce4078003ea69ec804d8f4c5e6ca021a952c05c299a3dab6c20f7e4123b8619f",
"git_blob_sha1": "036bc56607390f903c2426b0152622b9039a2663",
"acquisition_time": "2026-10-30T21:08:31.260665+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
4194
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/rerouteNode.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__extensions__core__rerouteNode.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/extensions/core/rerouteNode.ts",
"sha256": "53abe69665c97427faa7e41d4d0b9b33c8c1415fff84f582ed51862bdf7bfcd8",
"git_blob_sha1": "44c3f3150f113870548f41bb4d4f6be834031cf5",
"acquisition_time": "2026-10-30T21:08:31.262896+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
295
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/LICENSE",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__lib__litegraph__LICENSE",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
"acquisition_time": "2026-10-30T21:08:31.264451+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
19
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__LICENSE",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T21:08:31.265677+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
674
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/Reroute.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__lib__litegraph__src__Reroute.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/lib/litegraph/src/Reroute.ts",
"sha256": "8d235116da40cf91de59ab8789f892fff89b507965d6c4e8142a9a4b514fa68c",
"git_blob_sha1": "6436df532233f2b26a62cfc72b95b95600aff22a",
"acquisition_time": "2026-10-30T21:08:55.286074+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
816
],
"claim": "准确本图版本静态原文;未执行"
},
{
"document": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/utils/migration/migrateReroute.ts",
"local_file": "../flux2-action-reference/../flux2-reference/frontend__src__utils__migration__migrateReroute.ts",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"tag": "v1.36.14",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/c57a7d019bd33b688615b9a544d5f7a656c43464/src/utils/migration/migrateReroute.ts",
"sha256": "51e4e0cbc4da3f89239d5a333c615d31ea10745579d33350c0914c08e017d161",
"git_blob_sha1": "07ba18dc3aafec598834d95026a902099c22162d",
"acquisition_time": "2026-10-30T21:08:55.287485+00:00",
"license_file": "../flux2-reference/frontend__LICENSE",
"transport": "git exact tag text; no execution",
"applicability": "仅本动作迁移图的准确声明;目标安装/恢复/许可适用未知。",
"identity_root": "../flux2-reference",
"identity_key": "frontend",
"lines": [
1,
337
],
"claim": "准确本图版本静态原文;未执行"
}
]
@@ -0,0 +1,273 @@
> calliope-web@1.5.8 build
> vite build
▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
tsconfig.json:2:12:
2 │ "extends": "./.svelte-kit/tsconfig.json",
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vite v6.4.3 building SSR bundle for production...
transforming...
8:20:46 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
8:20:47 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
✓ 521 modules transformed.
rendering chunks...
vite v6.4.3 building for production...
transforming...
8:20:49 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
8:20:49 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
✓ 763 modules transformed.
rendering chunks...
computing gzip size...
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.24 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.0ADyZtWp.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.BT5-SjSc.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.CY9OiH5i.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/Bpg7ILmq.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.BIn-s5de.js 0.37 kB │ gzip: 0.25 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.D-K4F1QH.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.exELqhiG.js 1.18 kB │ gzip: 0.71 kB
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
.svelte-kit/output/client/_app/immutable/nodes/6.Cps9ZZ6p.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/BUdUyfKX.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.BltxkKOj.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/DWTpWQef.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.D4xpoOKJ.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.iytf_0Zw.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.E8wJzbC7.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.CP8ye-0l.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/DMupoD3W.js 23.98 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.bjy8_xsT.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.G68b6a5Y.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.CGS2z1CC.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/BbA_VdyZ.js 38.54 kB │ gzip: 13.85 kB
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
.svelte-kit/output/client/_app/immutable/nodes/19.BV6JGdVV.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/CZNwPwaz.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.DJwc3MOc.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.CZBegFpv.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.54s
.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.68s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "1c87b4de34494b456dc6de09d6db384353b472a4",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/companions.py",
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
},
{
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
},
{
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/lint.py",
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/parser.py",
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
},
{
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
},
{
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
},
{
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/roles.py",
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/validate.py",
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/manifest.json",
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
}
],
"original_files": 156,
"all_unchanged": true
}
@@ -0,0 +1,69 @@
{
"base": "1c87b4de34494b456dc6de09d6db384353b472a4",
"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": 43,
"new_notes": 0,
"old_saved": 2277,
"old_notes": 66,
"overviews": 60,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1,734 @@
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7",
"git_blob_sha1": "37567b73738ed4f74321bab9b9cfdcf247cfb64b",
"fields": [
{
"node": 17,
"pointer": "/nodes/0/widgets_values/0",
"value": "disable",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/1",
"value": "enable",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/2",
"value": "disable",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/3",
"value": 1024,
"json_type": "int",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/4",
"value": "yolox_l.torchscript.pt",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/5",
"value": "dw-ll_ucoco_384_bs5.torchscript.pt",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 17,
"pointer": "/nodes/0/widgets_values/6",
"value": "disable",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/0",
"value": "original",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/1",
"value": 1,
"json_type": "int",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/3",
"value": "crop",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/4",
"value": "lanczos",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/5",
"value": "8",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/6",
"value": "longest",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/7",
"value": 1280,
"json_type": "int",
"scope": "root",
"named": null
},
{
"node": 16,
"pointer": "/nodes/2/widgets_values/8",
"value": "#000000",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 6,
"pointer": "/nodes/3/widgets_values/0",
"value": "ComfyUI_01598_.png",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 6,
"pointer": "/nodes/3/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 13,
"pointer": "/nodes/4/widgets_values/0",
"value": "微信图片_20260425191936_248_41.jpg",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 13,
"pointer": "/nodes/4/widgets_values/1",
"value": "image",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 27,
"pointer": "/nodes/6/widgets_values/0",
"value": "1080",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 12,
"pointer": "/nodes/7/widgets_values/0",
"value": [
{
"name": "A",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_jutls_00001_.png&type=temp&subfolder=&rand=0.5246083484064457"
},
{
"name": "B",
"selected": true,
"url": "/api/view?filename=rgthree.compare._temp_jutls_00002_.png&type=temp&subfolder=&rand=0.7810247009286169"
}
],
"json_type": "list",
"scope": "root",
"named": null
},
{
"node": 19,
"pointer": "/nodes/8/widgets_values/0",
"value": "mkl",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 19,
"pointer": "/nodes/8/widgets_values/1",
"value": "Preview",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 19,
"pointer": "/nodes/8/widgets_values/2",
"value": "ComfyUI",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 11,
"pointer": "/nodes/10/widgets_values/0",
"value": "Flux2-Klein",
"json_type": "str",
"scope": "root",
"named": null
},
{
"node": 1,
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/0",
"value": "Flux\\flux-2-klein-9b-fp8.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 1,
"pointer": "/definitions/subgraphs/0/nodes/1/widgets_values/1",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 2,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/0",
"value": "qwen_3_8b_fp8mixed.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 2,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/1",
"value": "flux2",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 2,
"pointer": "/definitions/subgraphs/0/nodes/2/widgets_values/2",
"value": "default",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 4,
"pointer": "/definitions/subgraphs/0/nodes/3/widgets_values/0",
"value": "flux2-vae.safetensors",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 5,
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/0",
"value": "把图1的人物姿势、动作改成图2的人物姿势、动作,只改图1人物姿势、动作,同时保持图1其他不变",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 5,
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/1",
"value": "2_image",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 5,
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/2",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 5,
"pointer": "/definitions/subgraphs/0/nodes/4/widgets_values/3",
"value": 1024,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/0",
"value": 550905173173073,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/1",
"value": "randomize",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/2",
"value": 4,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/3",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/4",
"value": "euler",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/5",
"value": "simple",
"json_type": "str",
"scope": "/definitions/subgraphs/0",
"named": null
},
{
"node": 9,
"pointer": "/definitions/subgraphs/0/nodes/5/widgets_values/6",
"value": 1,
"json_type": "int",
"scope": "/definitions/subgraphs/0",
"named": null
}
],
"empty": [
{
"node": 24,
"pointer": "/nodes/1",
"state": "missing"
},
{
"node": 23,
"pointer": "/nodes/5",
"state": "empty_list"
},
{
"node": 18,
"pointer": "/nodes/9",
"state": "empty_list"
},
{
"node": 3,
"pointer": "/definitions/subgraphs/0/nodes/0",
"state": "empty_list"
}
],
"notes": [],
"scopes": [
{
"pointer": "/",
"nodes": 11,
"edges": 14,
"modes": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
},
{
"pointer": "/definitions/subgraphs/0",
"nodes": 6,
"edges": 17,
"modes": [
0,
0,
0,
0,
0,
0
],
"named_nodes": 0
}
],
"extra": {
"links_added_by_ue": [],
"ue_links": [],
"0246.VERSION": [
0,
0,
4
],
"ds": {
"scale": 1.2839025177495171,
"offset": [
-1307.1965685538921,
-246.0524893573039
]
},
"frontendVersion": "1.36.14",
"VHS_latentpreview": false,
"VHS_latentpreviewrate": 0,
"VHS_MetadataImage": true,
"VHS_KeepIntermediate": true,
"workflowRendererVersion": "LG"
},
"hosts": [
{
"id": 23,
"type": "1584ae2b-a578-4375-926a-718fc28668cb",
"pos": [
1578.0581107862993,
460.2868598665543
],
"size": [
383.3334088245929,
347.9473788507661
],
"flags": {},
"order": 7,
"mode": 0,
"inputs": [
{
"label": "image1",
"localized_name": "image1",
"name": "image1",
"shape": 7,
"type": "IMAGE",
"link": 45
},
{
"label": "image2",
"localized_name": "image2",
"name": "image2",
"shape": 7,
"type": "IMAGE",
"link": 46
},
{
"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
},
{
"name": "prompt",
"type": "STRING",
"widget": {
"name": "prompt"
},
"link": null
},
{
"name": "width",
"type": "INT",
"widget": {
"name": "width"
},
"link": 55
},
{
"name": "height",
"type": "INT",
"widget": {
"name": "height"
},
"link": 56
}
],
"outputs": [
{
"label": "IMAGE",
"localized_name": "图像",
"name": "IMAGE",
"type": "IMAGE",
"links": [
47,
48
]
}
],
"properties": {
"proxyWidgets": [
[
"1",
"unet_name"
],
[
"2",
"clip_name"
],
[
"4",
"vae_name"
],
[
"5",
"prompt"
],
[
"5",
"width"
],
[
"5",
"height"
],
[
"9",
"seed"
],
[
"9",
"control_after_generate"
],
[
"9",
"steps"
],
[
"9",
"cfg"
]
],
"cnr_id": "comfy-core",
"ver": "0.28.3",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"widgets_values": []
}
],
"definition_boundary": [
{
"id": "1584ae2b-a578-4375-926a-718fc28668cb",
"inputNode": {
"id": -10,
"bounding": [
1947.1942789883096,
600.6477322218154,
128,
208
]
},
"outputNode": {
"id": -20,
"bounding": [
3523.401679479741,
832.9576938604573,
128,
68
]
},
"inputs": [
{
"id": "cc81ed2d-a3fa-435f-801d-337cc5b520fb",
"name": "image1",
"type": "IMAGE",
"linkIds": [
31
],
"localized_name": "image1",
"label": "image1",
"shape": 7,
"pos": [
2051.1942789883096,
624.6477322218154
]
},
{
"id": "894b4547-dfad-4ebb-a9fa-d0b0ecd63633",
"name": "image2",
"type": "IMAGE",
"linkIds": [
38
],
"localized_name": "image2",
"label": "image2",
"shape": 7,
"pos": [
2051.1942789883096,
644.6477322218154
]
},
{
"id": "86ecd764-c24c-48ce-a7ac-c3ed2bc672f9",
"name": "unet_name",
"type": "COMBO",
"linkIds": [
49
],
"pos": [
2051.1942789883096,
664.6477322218154
]
},
{
"id": "97e384c3-be56-4d40-9f2a-8a1f1abb9534",
"name": "clip_name",
"type": "COMBO",
"linkIds": [
50
],
"pos": [
2051.1942789883096,
684.6477322218154
]
},
{
"id": "b0c40152-166d-435f-88e7-6886b9faa9a0",
"name": "vae_name",
"type": "COMBO",
"linkIds": [
51
],
"pos": [
2051.1942789883096,
704.6477322218154
]
},
{
"id": "a345e125-3f27-49f6-b6c3-040c646daffd",
"name": "prompt",
"type": "STRING",
"linkIds": [
52
],
"pos": [
2051.1942789883096,
724.6477322218154
]
},
{
"id": "17a11154-37af-4a5f-8e9f-e3be76f5b860",
"name": "width",
"type": "INT",
"linkIds": [
53
],
"pos": [
2051.1942789883096,
744.6477322218154
]
},
{
"id": "8e6d98c2-f1e1-4a1f-b537-e549837c0a3a",
"name": "height",
"type": "INT",
"linkIds": [
54
],
"pos": [
2051.1942789883096,
764.6477322218154
]
}
],
"outputs": [
{
"id": "21ed556d-c8ba-4afa-b369-c7013f1d3eed",
"name": "IMAGE",
"type": "IMAGE",
"linkIds": [
17,
17
],
"localized_name": "图像",
"label": "IMAGE",
"pos": [
3547.401679479741,
856.9576938604573
]
}
],
"widgets": []
}
]
}
@@ -0,0 +1,86 @@
"""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-图像生成/Flux/flux2_klein-图生图_人物动作迁移.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["definitions"]["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"\0" + raw).hexdigest(),
fields=fields,
empty=empty,
notes=notes,
scopes=scopes,
extra=g["extra"],
hosts=[n for n in g["nodes"] if n["id"] in [23]],
definition_boundary=[
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
for s in g["definitions"]["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 @@
PASS node --check e2e/flux2-action-document.mjs
@@ -0,0 +1,7 @@
added 255 packages, and audited 256 packages in 1s
59 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
@@ -0,0 +1,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,23 @@
[
{
"file": "fixed_document.py",
"sha256": "c85e9f0ba64818496c1ae4d09daf148c447c65c54e31d0793e5c6dcaddab924c",
"wheel": true,
"sdist": true,
"definitions": 60
},
{
"file": "source_reviews.json",
"sha256": "dd8ffd516487a3e73a40f4b8c8a8a9a5ea1e02b0b5d2db77d1d0b0376bc50e91",
"wheel": true,
"sdist": true,
"definitions": 60
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 60
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json": "631b85e0394ac56a6960f42ebf1e32fcdae261a3e8e4c090f90099d23bc39096"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,8 @@
{
"number": 25,
"state": "open",
"merged": false,
"head_ref": "agent/agent/a64a969a6a44",
"head_sha": "1c87b4de34494b456dc6de09d6db384353b472a4",
"base_ref": "main"
}
@@ -0,0 +1,64 @@
"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 = "1c87b4de34494b456dc6de09d6db384353b472a4"
RESOURCE = ("calliope-backend/src/calliope/" + "co") + "mfyui/source_reviews.json"
def build_all():
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
for i, path in enumerate(PATHS):
block = build(i)
assert reviews[path]["source_sha"] == block["source_sha1"]
assert "fixed_version_document" not in previous[path]
reviews[path]["fixed_version_document"] = block
return reviews, previous
def main():
current = json.loads((REPO / RESOURCE).read_bytes())
reviews, _previous = build_all()
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
pins = {}
for i, path in enumerate(PATHS):
block = reviews[path]["fixed_version_document"]
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
(OUT / f"definition-{i}.json").write_text(
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
)
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
module = REPO / (("calliope-backend/src/calliope/" + "co") + "mfyui/fixed_document.py")
text = module.read_text()
for path, digest in pins.items():
old_block = current[path].get("fixed_version_document")
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
if old_digest and old_digest in text:
text = text.replace(old_digest, digest)
elif digest in text:
pass
else:
text = text.replace(
"DEFINITIONS = {",
"DEFINITIONS = {\n (\n"
+ "".join(
" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41)
)
+ " ): "
+ repr(digest)
+ ",",
)
module.write_text(text)
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
print("PASS one new definition; other 155 reviews and old 59 blocks unchanged")
if __name__ == "__main__":
main()
@@ -0,0 +1,369 @@
"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) == 59
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()) == 2277
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": 59,
"old_saved": 2277,
"old_notes": 66,
"new_saved": 43,
"new_notes": 0,
"total_documents": 60,
"total_saved": 2320,
"total_notes": 66,
},
)
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")
# Output-reference enrichment appends two existing steps after the generic
# three for this graph. Replace only the actual original generic segment.
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": 43,
"new_notes": 0,
"old_saved": 2277,
"old_notes": 66,
"overviews": 60,
"all_disabled": True,
"doc_done": 0,
"executed": 0,
},
)
old_reviews = json.loads(
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
)
current = json.loads((REPO / RESOURCE).read_bytes())
for p in PATHS:
current[p].pop("fixed_version_document")
old_reviews[p].pop("fixed_version_document", None)
assert current == old_reviews
boundaries = json.loads(
(
REPO / (("docs/hel-892/h3-document-evide" + "nc") + "e/unchanged-boundaries.json")
).read_bytes()
)
paths = (
[f["path"] for f in boundaries["files"]]
+ boundaries["frozen_conversion_and_audits"]
+ [("calliope-backend/src/calliope/co" + "mfyui/library.py")]
)
kept = []
for p in paths:
raw = (REPO / p).read_bytes()
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
ui = ("calliope-web/src/lib/component" + "s/") + "WorkflowDocumentDrawer.svelte"
drawer_bytes = (REPO / ui).read_bytes()
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
write(
"boundaries.json",
{
"base": BASE,
"files": kept,
"originals": 163,
"old_blocks_unchanged": 59,
"drawer_css_unchanged": True,
"drawer_whole_file_unchanged": True,
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
"conversion_rerun": False,
"profiles_28_candidates_9_diffs_6": "unchanged",
},
)
tracked = (
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
.decode()
.rstrip("\0")
.split("\0")
)
frozen = [
p
for p in tracked
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
or p.startswith(("calliope-backend/src/calliope/" + "co") + "mfyui/")
and p
not in [
RESOURCE,
((("calliope-backend/src/calliope/") + "co") + ("mfyui/fixed_document.py")),
]
]
for p in frozen:
assert (REPO / p).read_bytes() == subprocess.check_output(
["git", "show", f"{BASE}:{p}"], cwd=REPO
)
write(
"frozen-resource-check.json",
{
"base": BASE,
"files": [
{
"path": p,
"sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest(),
}
for p in frozen
],
"original_files": sum(p.startswith("example_ComfyUI_workflows/") for p in frozen),
"all_unchanged": True,
},
)
packages = []
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
raw = (
REPO / ((("calliope-backend/src/calliope/") + "co") + "mfyui") / name
).read_bytes()
assert w.read("calliope/comfyui/" + name) == raw
member = next(n for n in s.getnames() if n.endswith(("/src/calliope/comfyui/") + name))
assert s.extractfile(member).read() == raw
packages.append(
{
"file": name,
"sha256": hashlib.sha256(raw).hexdigest(),
"wheel": True,
"sdist": True,
"definitions": 60,
}
)
write("package-check.json", packages)
print(
f"PASS actual {BASE} upgrade1/skip154, repe"
"at155, rollback1, edits1"
"/29cols, fresh155,"
" 1217/3660/294, 60 defin"
"itions, frozen bou"
"ndaries, wheel/sdist"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
PASS exact sources, 31 bidirectional physical edges, 43 positions, one definition
PASS actual 1c87b4de34494b456dc6de09d6db384353b472a4 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 60 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,132 @@
"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 = [
"# Flux人物动作迁移固定参考中文说明",
"",
"新增43保存位置/0注释;旧59块2277位置+66源注释不变,60图2320+66仅参考;155定稿0/实跑0/新增转换0。",
"",
(
("来源local_file以docs/hel-892/flux2-action-document")
+ (
("-evidence为基准;源SHA/全图摘要/定义摘要绑" + "定;不加")
+ "载上游代码、媒体或链接。"
)
),
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
*[v + "\n" for v in b["flow"]],
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
"",
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
"",
"具名保存位置:`" + f["named_pointer"] + "`;作用域:" + f["scope"],
"",
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
"",
"范围/条件:" + f["limits"],
"",
f["execution_note"],
"",
"依据:",
]
for k in f["evidence"]:
e = b["sources"][k]
lines += [
(
f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
)
]
if "named_value" in f and f["named_value"] != f["value"]:
lines += [
"具名保存完整形态(与位置列表分开保留):",
"",
"```json",
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```text",
n["text"],
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};SHA256 {e['sha256']};{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "Flux人物动作迁移固定参考中文说明.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,46 @@
"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 / "Flux人物动作迁移固定参考中文说明.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": 60,
"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": 60,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "9d482be5b4e57d6a77f016a4e9bdfc58dbdf6f612fc2fb15b557aafd7ed75327",
"artifacts": {
"fixed-source-index.json": "37198e8ab7dab2a5919267a31f53900f3df0f090db2cdceab12ca38d40ff9860",
"Flux人物动作迁移固定参考中文说明.md": "12412de0df023ca439369c128ef554e33c4afda3c466474bcc31ebb8aae3b0b2"
}
}
@@ -0,0 +1,15 @@
{
"base": "1c87b4de34494b456dc6de09d6db384353b472a4",
"changed_paths": [
"example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 59,
"old_saved": 2277,
"old_notes": 66,
"new_saved": 43,
"new_notes": 0,
"total_documents": 60,
"total_saved": 2320,
"total_notes": 66
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1 @@
14 files already formatted
@@ -0,0 +1,212 @@
INFO: Started server process [996913]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
{'counts': {'imported': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
INFO: 127.0.0.1:58720 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58734 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58730 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58748 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58738 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:58752 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:58764 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47220 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47232 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47246 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47248 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47264 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47276 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47286 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47292 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58458 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58466 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58478 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58494 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58510 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58518 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58532 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58546 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58552 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58562 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58576 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58590 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58602 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58614 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58622 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58626 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58642 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58658 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58668 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58674 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58688 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58692 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58698 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58704 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:58712 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58720 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58736 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58750 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:58758 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40744 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40758 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40760 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40762 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40774 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40790 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40806 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40812 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40824 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40826 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40828 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40842 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40858 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40870 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40880 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40884 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40896 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40898 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40902 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40910 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40912 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40926 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40942 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40950 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40966 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40972 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40976 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40980 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47760 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47764 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47766 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47770 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47774 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47788 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47790 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47796 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47810 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47818 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47824 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47834 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34984 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34998 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35004 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35010 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35020 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35036 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35046 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35056 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35064 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35068 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35080 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35084 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35096 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35102 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35106 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35120 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35128 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35142 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35150 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35158 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35166 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35172 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35182 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35184 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35196 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35204 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35206 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35212 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41784 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41790 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41794 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41810 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41824 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41840 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41856 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41868 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41880 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41890 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41892 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41896 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41904 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41912 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41924 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41932 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41938 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41952 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41968 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41970 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41976 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41986 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41996 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42012 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42024 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42026 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42042 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42054 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39924 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39930 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39938 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:39942 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [996913]
@@ -0,0 +1,5 @@
8:21:06 AM [vite] (client) Forced re-optimization of dependencies
VITE v6.4.3 ready in 282 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,108 @@
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
fatal: could not read Username for 'https://github.com': No such device or address
Traceback (most recent call last):
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-ddfe49e0e250/workdir/aigc-home/docs/hel-892/flux2-action-document-evidence/fetch_sources.py", line 99, in <module>
main()
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-ddfe49e0e250/workdir/aigc-home/docs/hel-892/flux2-action-document-evidence/fetch_sources.py", line 25, in main
subprocess.run(
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['git', '-C', '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-ddfe49e0e250/workdir/aigc-home/.local-evidence/flux2-action-painter-git', 'fetch', '--filter=blob:none', '--depth=1', 'https://github.com/1038lab/ComfyUI-PainterNodes.git', '88af927351c1f16f913104fc7aec3bb880baa2df']' returned non-zero exit status 128.
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
From https://github.com/princepainter/ComfyUI-PainterNodes
* branch 88af927351c1f16f913104fc7aec3bb880baa2df -> FETCH_HEAD
fatal: could not read Username for 'https://github.com': No such device or address
fatal: could not read Username for 'https://github.com': No such device or address
fatal: could not read Username for 'https://github.com': No such device or address
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/yolain/ComfyUI-Easy-Use
* tag v1.3.6 -> FETCH_HEAD
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Comfy-Org/ComfyUI
* tag v0.9.2 -> FETCH_HEAD
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
From https://github.com/princepainter/ComfyUI-PainterNodes
* branch 88af927351c1f16f913104fc7aec3bb880baa2df -> FETCH_HEAD
From https://github.com/yolain/ComfyUI-Easy-Use
* tag v1.3.6 -> FETCH_HEAD
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/aining2022/ComfyUI_Swwan
* branch 881bc91790da6b907d3d28e5b91b295b9aef06ee -> FETCH_HEAD
From https://github.com/Comfy-Org/ComfyUI
* tag v0.9.2 -> FETCH_HEAD
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
From https://github.com/princepainter/ComfyUI-PainterNodes
* branch 88af927351c1f16f913104fc7aec3bb880baa2df -> FETCH_HEAD
From https://github.com/yolain/ComfyUI-Easy-Use
* tag v1.3.6 -> FETCH_HEAD
From https://github.com/aining2022/ComfyUI_Swwan
* branch 881bc91790da6b907d3d28e5b91b295b9aef06ee -> FETCH_HEAD
From https://github.com/Comfy-Org/ComfyUI
* tag v0.9.2 -> FETCH_HEAD
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
From https://github.com/princepainter/ComfyUI-PainterNodes
* branch 88af927351c1f16f913104fc7aec3bb880baa2df -> FETCH_HEAD
From https://github.com/yolain/ComfyUI-Easy-Use
* tag v1.3.6 -> FETCH_HEAD
From https://github.com/aining2022/ComfyUI_Swwan
* branch 881bc91790da6b907d3d28e5b91b295b9aef06ee -> FETCH_HEAD
From https://github.com/Comfy-Org/ComfyUI
* tag v0.9.2 -> FETCH_HEAD
From https://github.com/Fannovel16/comfyui_controlnet_aux
* branch cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1 -> FETCH_HEAD
From https://github.com/princepainter/ComfyUI-PainterNodes
* branch 88af927351c1f16f913104fc7aec3bb880baa2df -> FETCH_HEAD
From https://github.com/yolain/ComfyUI-Easy-Use
* tag v1.3.6 -> FETCH_HEAD
@@ -0,0 +1,771 @@
{
"sources": [
{
"id": "comparer",
"file": "image_comparer.py",
"sha256": "e292e0343a02a90cb73a594b0500a5806bd1e99aef8b717224cf5443f6b26642",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "comparer__LICENSE"
},
{
"id": "comparer",
"file": "web/js/image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "comparer__LICENSE"
},
{
"id": "comparer",
"file": "__init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "comparer__LICENSE"
},
{
"id": "comparer",
"file": "LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "comparer__LICENSE"
},
{
"id": "core",
"file": "nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "core__LICENSE"
},
{
"id": "core",
"file": "node_helpers.py",
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "core__LICENSE"
},
{
"id": "core",
"file": "comfy/utils.py",
"sha256": "90321d00a7f70925f94ef816a3b8c7a8d094526411ddf182bd936740bd5f28d5",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "core__LICENSE"
},
{
"id": "core",
"file": "comfy_api/latest/_io.py",
"sha256": "06fd59e1f8fcb8aa1f3cd862abfc0a8acc40f7b0b12ac0040b0708a9b5ef2f8c",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "core__LICENSE"
},
{
"id": "core",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "core__LICENSE"
},
{
"id": "dw",
"file": "node_wrappers/dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "src/custom_controlnet_aux/dwpose/__init__.py",
"sha256": "11733916809df84a53cfe98c3a2a448ab953f085b89280860cfffa053201cae3",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "src/custom_controlnet_aux/util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "__init__.py",
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "LICENSE.txt",
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "dw",
"file": "src/custom_controlnet_aux/dwpose/LICENSE",
"sha256": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "dw__LICENSE.txt"
},
{
"id": "painter",
"file": "PainterFluxImageEdit.py",
"sha256": "100ce4b745f619e3eef6e02f6e216becc51a5b7ca035096a2ce5de0b2f4c7cd8",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "painter__LICENSE"
},
{
"id": "painter",
"file": "__init__.py",
"sha256": "f4cae59cfa05c75553febb3781ca0e6d8914b63aaf2b3b08669dfdf58cf3bb21",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "painter__LICENSE"
},
{
"id": "painter",
"file": "LICENSE",
"sha256": "23082e76e624b96c1d1678f66dbe178cfcac7bbe6851ac982a4498248bcf891b",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "painter__LICENSE"
},
{
"id": "easy",
"file": "py/nodes/image.py",
"sha256": "59af86d1f1907f90f72a72da481b346abe7d154546bf4f3624737734d7f11191",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "easy__LICENSE"
},
{
"id": "easy",
"file": "py/libs/utils.py",
"sha256": "e14dbbb4f307632c13d00c570c624e6ca6bd238fa3a0f27030849ddedbe9e0a4",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "easy__LICENSE"
},
{
"id": "easy",
"file": "__init__.py",
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "easy__LICENSE"
},
{
"id": "easy",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "easy__LICENSE"
},
{
"id": "frontsub",
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "d4f1017495158a6133ff770441a4d517dfbf2a328ba42b0405f8729853fe8209",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/frontsub__LICENSE"
},
{
"id": "frontsub",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/frontsub__LICENSE"
},
{
"id": "layer",
"file": "image_scale_by_aspect_ratio_v2.py",
"sha256": "25986bfe8c985a66045abd2c76143d9766c53c77f553c74f7fbec191ea0169fe",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/layer__LICENSE"
},
{
"id": "layer",
"file": "layerstyle_utils.py",
"sha256": "cba827fc697a71bf5917bea20fbdd86af3b22a2799318c2be95950bb36fd0668",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/layer__LICENSE"
},
{
"id": "layer",
"file": "__init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/layer__LICENSE"
},
{
"id": "layer",
"file": "LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-person-reference/layer__LICENSE"
},
{
"id": "frontend",
"file": "package.json",
"sha256": "15aefdd570c97c79f18914133bcfac39bbcb4d46b77af03a8800c749aebe8bf8",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "pnpm-lock.yaml",
"sha256": "bc16299891aa6489d075e9cf95e8c710b4a3e230ac275133d08a3cd5ba139eed",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/scripts/widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/scripts/app.ts",
"sha256": "1035fbc0313170282d6b0a05e30c04c7458648da6503ec70c67af03858a7a37e",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/extensions/core/widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"sha256": "ce4078003ea69ec804d8f4c5e6ca021a952c05c299a3dab6c20f7e4123b8619f",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/extensions/core/rerouteNode.ts",
"sha256": "53abe69665c97427faa7e41d4d0b9b33c8c1415fff84f582ed51862bdf7bfcd8",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/Reroute.ts",
"sha256": "8d235116da40cf91de59ab8789f892fff89b507965d6c4e8142a9a4b514fa68c",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
},
{
"id": "frontend",
"file": "src/utils/migration/migrateReroute.ts",
"sha256": "51e4e0cbc4da3f89239d5a333c615d31ea10745579d33350c0914c08e017d161",
"commit": "c57a7d019bd33b688615b9a544d5f7a656c43464",
"tree": "4cb1123453e6ff1964cbde082e418d9c62c28e63",
"proof": "raw commit/tag + tree identity + selected blob; full tree not rehashed",
"license_file": "../flux2-reference/frontend__LICENSE"
}
],
"endpoints": [
{
"scope": "root",
"edge": [
32,
6,
0,
16,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
39,
13,
0,
17,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
40,
17,
0,
18,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
42,
16,
0,
19,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
44,
19,
0,
12,
1,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
45,
16,
0,
23,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
46,
17,
0,
23,
1,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
47,
23,
0,
11,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
48,
23,
0,
19,
1,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
55,
16,
3,
23,
6,
"INT"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
56,
16,
4,
23,
7,
"INT"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
57,
13,
0,
24,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
58,
24,
0,
12,
0,
"IMAGE"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "root",
"edge": [
59,
27,
0,
16,
9,
"INT"
],
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 11,
"origin_id": 1,
"origin_slot": 0,
"target_id": 9,
"target_slot": 0,
"type": "MODEL"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 12,
"origin_id": 5,
"origin_slot": 0,
"target_id": 9,
"target_slot": 1,
"type": "CONDITIONING"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 13,
"origin_id": 5,
"origin_slot": 1,
"target_id": 9,
"target_slot": 2,
"type": "CONDITIONING"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 14,
"origin_id": 5,
"origin_slot": 2,
"target_id": 9,
"target_slot": 3,
"type": "LATENT"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 1,
"origin_id": 9,
"origin_slot": 0,
"target_id": 3,
"target_slot": 0,
"type": "LATENT"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 2,
"origin_id": 4,
"origin_slot": 0,
"target_id": 3,
"target_slot": 1,
"type": "VAE"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 3,
"origin_id": 2,
"origin_slot": 0,
"target_id": 5,
"target_slot": 0,
"type": "CLIP"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 4,
"origin_id": 4,
"origin_slot": 0,
"target_id": 5,
"target_slot": 1,
"type": "VAE"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 31,
"origin_id": -10,
"origin_slot": 0,
"target_id": 5,
"target_slot": 10,
"type": "IMAGE"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 38,
"origin_id": -10,
"origin_slot": 1,
"target_id": 5,
"target_slot": 11,
"type": "IMAGE"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 17,
"origin_id": 3,
"origin_slot": 0,
"target_id": -20,
"target_slot": 0,
"type": "IMAGE"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 49,
"origin_id": -10,
"origin_slot": 2,
"target_id": 1,
"target_slot": 0,
"type": "COMBO"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 50,
"origin_id": -10,
"origin_slot": 3,
"target_id": 2,
"target_slot": 0,
"type": "COMBO"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 51,
"origin_id": -10,
"origin_slot": 4,
"target_id": 4,
"target_slot": 0,
"type": "COMBO"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 52,
"origin_id": -10,
"origin_slot": 5,
"target_id": 5,
"target_slot": 5,
"type": "STRING"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 53,
"origin_id": -10,
"origin_slot": 6,
"target_id": 5,
"target_slot": 7,
"type": "INT"
},
"source_backref": true,
"target_backref": true
},
{
"scope": "0",
"edge": {
"id": 54,
"origin_id": -10,
"origin_slot": 7,
"target_id": 5,
"target_slot": 8,
"type": "INT"
},
"source_backref": true,
"target_backref": true
}
],
"inventory_matched": true,
"upstream_executed": false
}
@@ -0,0 +1 @@
PASS exact sources, 31 bidirectional physical edges, 43 positions, one definition
@@ -0,0 +1,372 @@
{
"files": [
{
"path": "docs/hel-892/flux2-action-reference/comparer-commit.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tag.json",
"sha256": "59a8d24650623ab21a8e6ef0eb06225b328227cf4af021389f18dcb93895f4c7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tag.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer-tree.json",
"sha256": "c926aaa5896021471346addbc8e6eb376c767129024297086ba36a14e58e1e4d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer____init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__image_comparer.py",
"sha256": "e292e0343a02a90cb73a594b0500a5806bd1e99aef8b717224cf5443f6b26642",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/comparer__web__js__image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-commit.txt",
"sha256": "ba6af574d2ae1128bacaefa85b238add3fabbb9f2b11009ca6728801ca7eceb4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tag.json",
"sha256": "a122eb7c7a4f6b419f117a7f8f3d5d1cda2679f724657090de936a5b294e95a3",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tag.txt",
"sha256": "ba6af574d2ae1128bacaefa85b238add3fabbb9f2b11009ca6728801ca7eceb4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core-tree.json",
"sha256": "91e37a1e4e4cb1eb77553de093712205b5fb82edf940221727a390c1fc98ebe9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__comfy__utils.py",
"sha256": "90321d00a7f70925f94ef816a3b8c7a8d094526411ddf182bd936740bd5f28d5",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__comfy_api__latest___io.py",
"sha256": "06fd59e1f8fcb8aa1f3cd862abfc0a8acc40f7b0b12ac0040b0708a9b5ef2f8c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__node_helpers.py",
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/core__nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-commit.txt",
"sha256": "7b2fd1d74882f1bbc5cea4e00c28e1c83958be78fbf5fe01265594b63057b604",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tag.json",
"sha256": "d712bc58cf83999df2aa3eaa62c27cc2d2ac591e8c024d80ee647190820be098",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tag.txt",
"sha256": "7b2fd1d74882f1bbc5cea4e00c28e1c83958be78fbf5fe01265594b63057b604",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw-tree.json",
"sha256": "a8b9d34d09151511571fe008d9776b7a7514614b4407ae074f46040cb1d634eb",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__LICENSE.txt",
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw____init__.py",
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__node_wrappers__dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__dwpose__LICENSE",
"sha256": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__dwpose____init__.py",
"sha256": "11733916809df84a53cfe98c3a2a448ab953f085b89280860cfffa053201cae3",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__src__custom_controlnet_aux__util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/dw__utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-commit.txt",
"sha256": "4ae9c325fc19d64e2a42fb837807a7f62ba090497cb2419ce70953bd4cbfd3bf",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tag.json",
"sha256": "28ee514fd9e2558be5c4549d12ef0088bbde2435318fd311c8c41ce1d9044038",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tag.txt",
"sha256": "4ae9c325fc19d64e2a42fb837807a7f62ba090497cb2419ce70953bd4cbfd3bf",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy-tree.json",
"sha256": "d4a25a1a9c564435127f4a8a37b248fea1224245d703bfa97470b89b5d3dcf08",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy____init__.py",
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__py__libs__utils.py",
"sha256": "e14dbbb4f307632c13d00c570c624e6ca6bd238fa3a0f27030849ddedbe9e0a4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/easy__py__nodes__image.py",
"sha256": "59af86d1f1907f90f72a72da481b346abe7d154546bf4f3624737734d7f11191",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-commit.txt",
"sha256": "2905dc52a102fd06496f9fcc6251b8f8f797eb4e6f13cc2fc5e9244541816bf9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tag.json",
"sha256": "bd9fc9dca3204d53f88dd6f61a4897b09089f9d782279fd330b85633cc01f498",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tag.txt",
"sha256": "2905dc52a102fd06496f9fcc6251b8f8f797eb4e6f13cc2fc5e9244541816bf9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter-tree.json",
"sha256": "79484e5eb5b8018827608a0cba4c09e8e3f8b1864dd305bf67270f03da4bbcba",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter__LICENSE",
"sha256": "23082e76e624b96c1d1678f66dbe178cfcac7bbe6851ac982a4498248bcf891b",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter__PainterFluxImageEdit.py",
"sha256": "100ce4b745f619e3eef6e02f6e216becc51a5b7ca035096a2ce5de0b2f4c7cd8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/painter____init__.py",
"sha256": "f4cae59cfa05c75553febb3781ca0e6d8914b63aaf2b3b08669dfdf58cf3bb21",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-action-reference/sources.json",
"sha256": "486e3609e518f8c38938eab7229c8fd87260c3260a1b9be321795ebeec3ab4c3",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub-commit.txt",
"sha256": "c59d80deca9c740535ef9dcc7954645972aa9bff3c6c1835c4547163e0854a99",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub-tag.json",
"sha256": "37ced0f03b334e30e449cfef488222dd67fc3a1a664a91be9b5811d568a0974e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub-tag.txt",
"sha256": "c59d80deca9c740535ef9dcc7954645972aa9bff3c6c1835c4547163e0854a99",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub-tree.json",
"sha256": "e4330927b21f7d2491df319620becd7bc17dcd8e7ed18f9d70be7cb08ae9781c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/frontsub__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"sha256": "d4f1017495158a6133ff770441a4d517dfbf2a328ba42b0405f8729853fe8209",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer-commit.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer-tag.json",
"sha256": "59a8d24650623ab21a8e6ef0eb06225b328227cf4af021389f18dcb93895f4c7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer-tag.txt",
"sha256": "a19c91905aebaaed1b3e5f9f9c3a45ae326d0b9e54c0e7de0a60ed4cc25cb406",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer-tree.json",
"sha256": "c926aaa5896021471346addbc8e6eb376c767129024297086ba36a14e58e1e4d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer__LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer____init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer__image_scale_by_aspect_ratio_v2.py",
"sha256": "25986bfe8c985a66045abd2c76143d9766c53c77f553c74f7fbec191ea0169fe",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-person-reference/layer__layerstyle_utils.py",
"sha256": "cba827fc697a71bf5917bea20fbdd86af3b22a2799318c2be95950bb36fd0668",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend-commit.txt",
"sha256": "c59d80deca9c740535ef9dcc7954645972aa9bff3c6c1835c4547163e0854a99",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend-tag.json",
"sha256": "37ced0f03b334e30e449cfef488222dd67fc3a1a664a91be9b5811d568a0974e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend-tag.txt",
"sha256": "c59d80deca9c740535ef9dcc7954645972aa9bff3c6c1835c4547163e0854a99",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend-tree.json",
"sha256": "e4330927b21f7d2491df319620becd7bc17dcd8e7ed18f9d70be7cb08ae9781c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__package.json",
"sha256": "15aefdd570c97c79f18914133bcfac39bbcb4d46b77af03a8800c749aebe8bf8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__pnpm-lock.yaml",
"sha256": "bc16299891aa6489d075e9cf95e8c710b4a3e230ac275133d08a3cd5ba139eed",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__extensions__core__rerouteNode.ts",
"sha256": "53abe69665c97427faa7e41d4d0b9b33c8c1415fff84f582ed51862bdf7bfcd8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__extensions__core__widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__lib__litegraph__LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"sha256": "ce4078003ea69ec804d8f4c5e6ca021a952c05c299a3dab6c20f7e4123b8619f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__lib__litegraph__src__Reroute.ts",
"sha256": "8d235116da40cf91de59ab8789f892fff89b507965d6c4e8142a9a4b514fa68c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__scripts__app.ts",
"sha256": "1035fbc0313170282d6b0a05e30c04c7458648da6503ec70c67af03858a7a37e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__scripts__widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/flux2-reference/frontend__src__utils__migration__migrateReroute.ts",
"sha256": "51e4e0cbc4da3f89239d5a333c615d31ea10745579d33350c0914c08e017d161",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
}
],
"count": 73,
"upstream_executed": false,
"note": "commit/tag字节和选定blob已重算;tree列表非完整树对象重哈希。未声称完整发布包SHA或安装。"
}
@@ -0,0 +1,46 @@
"""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 = {REF / "sources.json"}
for e in rows:
paths.update([(REF / e["local_file"]).resolve(), (REF / e["license_file"]).resolve()])
base = REF / e["identity_root"]
paths.update(
(base / (e["identity_key"] + suffix)).resolve()
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.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列表非完整树对象重哈希。未声称完整发布包SHA或安装。",
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS source closure", len(result))
if __name__ == "__main__":
main()
@@ -0,0 +1,24 @@
# 第79批,仓库根;原PR25 agent/agent/a64a969a6a44 / main
# 真实旧代码基线1c87b4de34494b456dc6de09d6db384353b472a4。
uv sync --project calliope-backend --offline --extra dev
# fetch_sources.py只在缺准确源码时获取指定Git代码及许可,不取权重/媒体。
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-document-evidence/bind_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-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/flux2-action-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_flux2_action_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/flux2-action-document-evidence/*.py calliope-backend/tests/test_flux2_action_fixed_document.py e2e/run-flux2-action-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/flux2-action-document-evidence/*.py calliope-backend/tests/test_flux2_action_fixed_document.py e2e/run-flux2-action-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/flux2-action-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/flux2-action-document-evidence/recompute.py
npm ci --offline --ignore-scripts --prefix calliope-web
npm run build --prefix calliope-web
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome uv run --project calliope-backend --offline python e2e/run-flux2-action-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-document-evidence/collect_browser.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-action-document-evidence/source_closure.py
# 1440/390逐43位置/完整提示/历史列表/来源/独立边界链与旧59图概要。
# finally停止自有服务后独立核8247/5173拒绝连接;截图仅附件不入仓。
# 60块2320位置+66注释仅参考;155定稿/实跑/新增转换0,全量未完成。
@@ -0,0 +1,125 @@
"""Verify exact text identities, all physical endpoints and every saved position."""
import hashlib
import json
from build_definition import OUT, PATHS, REF, REPO, build, canonical
from inventory import inventory
def main():
block = build()
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"]
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert blob == e["git_blob_sha1"]
root = REF / e["identity_root"]
key = e["identity_key"]
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert tree["sha"] == e["tree"] and not tree["truncated"]
assert next(t["sha"] for t in tree["tree"] if t["path"] == e["file"]) == blob
c = (root / (key + "-commit.txt")).read_bytes()
assert (
hashlib.sha1(b"commit " + str(len(c)).encode() + b"\0" + c).hexdigest() == e["commit"]
)
assert c.decode().splitlines()[0] == "tree " + e["tree"]
tag = json.loads((root / (key + "-tag.json")).read_bytes())
assert tag["commit"] == e["commit"]
t = (root / (key + "-tag.txt")).read_bytes()
if tag["object"] != e["commit"]:
assert (
hashlib.sha1(b"tag " + str(len(t)).encode() + b"\0" + t).hexdigest()
== tag["object"]
)
assert t.decode().startswith("object " + e["commit"] + "\n")
else:
assert t == c
lic = next(x for x in rows if x["id"] == e["id"] and x["local_file"] == e["license_file"])
assert hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest() == lic["sha256"]
checks.append(
dict(
id=e["id"],
file=e["file"],
sha256=e["sha256"],
commit=e["commit"],
tree=e["tree"],
proof="raw commit/tag + tree identity + selected blob; full tree not rehashed",
license_file=e["license_file"],
)
)
inv = inventory()
assert [s["nodes"] for s in inv["scopes"]] == [11, 6]
assert [s["edges"] for s in inv["scopes"]] == [14, 17]
assert len(inv["fields"]) == 43 and not inv["notes"]
assert all(s["named_nodes"] == 0 and set(s["modes"]) == {0} for s in inv["scopes"])
for a, f in zip(inv["fields"], block["fields"], strict=True):
assert (a["pointer"], a["json_type"], canonical(a["value"])) == (
f["pointer"],
f["json_type"],
canonical(f["value"]),
)
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())
g = json.loads((REPO / PATHS[0]).read_bytes())
endpoints = []
for scope, graph in [("root", g)] + [
(str(i), s) for i, s in enumerate(g["definitions"]["subgraphs"])
]:
ns = {n["id"]: n for n in graph["nodes"]}
ids = []
for original in graph["links"]:
eid, a, ao, z, zi, kind = (
original
if scope == "root"
else [
original[k]
for k in ["id", "origin_id", "origin_slot", "target_id", "target_slot", "type"]
]
)
ids.append(eid)
source = graph["inputs"][ao] if a == -10 else ns[a]["outputs"][ao]
target = graph["outputs"][zi] if z == -20 else ns[z]["inputs"][zi]
assert eid in source.get("linkIds", source.get("links", []))
assert eid in target["linkIds"] if z == -20 else target["link"] == eid
assert source["type"] == "*" or kind in source["type"].split(",")
assert target["type"] == "*" or kind in target["type"].split(",")
endpoints.append(
dict(scope=scope, edge=original, source_backref=True, target_backref=True)
)
assert len(ids) == len(set(ids))
for n in graph["nodes"]:
for slot in n.get("inputs", []):
assert slot.get("link") is None or slot["link"] in ids
for slot in n.get("outputs", []):
assert all(x in ids for x in slot.get("links") or [])
if scope != "root":
for b in graph["inputs"] + graph["outputs"]:
assert all(x in ids for x in b["linkIds"])
h = next(n for n in g["nodes"] if n["id"] == 23)
sub = g["definitions"]["subgraphs"][0]
assert len(h["properties"]["proxyWidgets"]) == 10 and len(h["inputs"]) == 8
assert h["widgets_values"] == sub["widgets"] == []
assert sub["outputs"][0]["linkIds"] == [17, 17]
assert sum(e["id"] == 17 for e in sub["links"]) == 1
for outer, boundary in zip(h["inputs"], sub["inputs"], strict=True):
assert (outer["name"], outer["type"]) == (boundary["name"], boundary["type"])
(OUT / "source-check.json").write_text(
json.dumps(
dict(
sources=checks, endpoints=endpoints, inventory_matched=True, upstream_executed=False
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS exact sources, 31 bidirectional physical edges, 43 positions, one definition")
if __name__ == "__main__":
main()
@@ -0,0 +1,35 @@
{
"reviewed_by": "施工员",
"method": "view_image实际目验",
"viewports": [
1440,
390
],
"result": "默认折叠、未定稿/未实跑、完整中文/历史列表/来源均清晰可读;展开长指针换行、无横向溢出,沿用既有Drawer。",
"screenshots": [
{
"name": "1440-54-default.png",
"sha256": "dc59e0cb3f4a8aea7e196170ce4aeec1887af9257181485aa28dafba2ac5384b"
},
{
"name": "1440-54-branch-flow.png",
"sha256": "6387c56e99f75dd6608b5ea3451661f2799331b4d4d33af029e9fbc22e9f0ebc"
},
{
"name": "390-54-23:5-prompt.png",
"sha256": "d1eab749c083bd261b8ecb4806b938a20c83be9fcd2462c3a753d04f7162283d"
},
{
"name": "390-54-history-source.png",
"sha256": "0cbd8c24e27dc1fc16961a3054397712a18671870aeb89abe6639018bfd93013"
},
{
"name": "390-54-17-resolution.png",
"sha256": "b7f09a3871d42aa4b7a44d622362ec67e3a0a33e900fc02a0604296115a084e7"
},
{
"name": "390-54-source-citations.png",
"sha256": "e1424f0506c6e7020721736dc44ce91318e546f4a07d439fa61554194ece2110"
}
]
}
@@ -0,0 +1 @@
[]
@@ -0,0 +1,6 @@
tree abfc66b11c94d7a6da31a755bc2a096825566fc9
parent 942060020aae812b1aa850848cbe2458ecedd717
author aining2022 <aining2022@gmail.com> 1767108210 +0800
committer aining2022 <aining2022@gmail.com> 1767108210 +0800
集成开关节点,移除冗余的静音节点,并修复图片比较节点的显示问题
@@ -0,0 +1,5 @@
{
"ref": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"object": "881bc91790da6b907d3d28e5b91b295b9aef06ee"
}
@@ -0,0 +1,6 @@
tree abfc66b11c94d7a6da31a755bc2a096825566fc9
parent 942060020aae812b1aa850848cbe2458ecedd717
author aining2022 <aining2022@gmail.com> 1767108210 +0800
committer aining2022 <aining2022@gmail.com> 1767108210 +0800
集成开关节点,移除冗余的静音节点,并修复图片比较节点的显示问题
@@ -0,0 +1,408 @@
{
"sha": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"truncated": false,
"tree": [
{
"path": ".DS_Store",
"mode": "100644",
"type": "blob",
"sha": "4b03094e4da41a36f6b5dea330c73bb3f52dfb7d"
},
{
"path": ".gitignore",
"mode": "100644",
"type": "blob",
"sha": "b41f20e944a3dcc2cd19ea19789aa0802d36b579"
},
{
"path": "C_math.py",
"mode": "100644",
"type": "blob",
"sha": "6f2c6fc90df7408715b5657bedb4ee5d7f81125e"
},
{
"path": "INSTALLATION_CHECKLIST.md",
"mode": "100644",
"type": "blob",
"sha": "fa03bd4a7e64696a5a1187c015eb9a87629dc0e9"
},
{
"path": "LICENSE",
"mode": "100644",
"type": "blob",
"sha": "232ae139df1a325b6f3c62b33cc2132bee147a93"
},
{
"path": "QUICK_START.md",
"mode": "100644",
"type": "blob",
"sha": "b804df6ce7d8a5fbf63bce7640acc3abdb88c79a"
},
{
"path": "README.md",
"mode": "100644",
"type": "blob",
"sha": "41a05dfcbf6b61f40e276f3d2fcd1ad3de659c63"
},
{
"path": "README_CN.md",
"mode": "100644",
"type": "blob",
"sha": "0e03674193edb9707aa2a44105b707cd65e909c9"
},
{
"path": "__init__.py",
"mode": "100644",
"type": "blob",
"sha": "3fa69fca9a8d18557b14b053fda1989caf821746"
},
{
"path": "crop_by_mask_v2.py",
"mode": "100644",
"type": "blob",
"sha": "fc6b025169ad57636b8164843867ecd079ad07ef"
},
{
"path": "crop_by_mask_v3.py",
"mode": "100644",
"type": "blob",
"sha": "9fff3928eaaf8688269d29a0630bee012521fc31"
},
{
"path": "fonts/FreeMono.ttf",
"mode": "100644",
"type": "blob",
"sha": "7485f9e4c84d5a372c81e11df2cd9f5e2eb2064a"
},
{
"path": "fonts/FreeMonoBoldOblique.otf",
"mode": "100644",
"type": "blob",
"sha": "dac575acbd08b6fa36d9aac4acd0b2d7ea140eec"
},
{
"path": "fonts/TTNorms-Black.otf",
"mode": "100644",
"type": "blob",
"sha": "39f96c80af61c25ca8c35b25b3cb21673cb0d037"
},
{
"path": "image_batch_utils.py",
"mode": "100644",
"type": "blob",
"sha": "026784fce613c03e767433f1c3183608f0b5222c"
},
{
"path": "image_comparer.py",
"mode": "100644",
"type": "blob",
"sha": "1f7aa5084effc0ec7998d16d4856216ccd4c6a54"
},
{
"path": "image_nodes.py",
"mode": "100644",
"type": "blob",
"sha": "415f4f26c3c9f230045c6806866d2edd796cbb17"
},
{
"path": "image_resize_sum.py",
"mode": "100644",
"type": "blob",
"sha": "9dd85b26acc4001f4bf36aa0dfb5b28e346d1e42"
},
{
"path": "image_scale_by_aspect_ratio_v2.py",
"mode": "100644",
"type": "blob",
"sha": "23e4b8a10dfd6d4113bdfe40d57e30976102e804"
},
{
"path": "layerstyle_utils.py",
"mode": "100644",
"type": "blob",
"sha": "1aab6030bb78e6e295d5f6f65ee3abc5cd0a07c9"
},
{
"path": "main_unit.py",
"mode": "100644",
"type": "blob",
"sha": "6a856b993075a988a74d29b838bf4b09d30f4451"
},
{
"path": "nodes_switch.py",
"mode": "100644",
"type": "blob",
"sha": "7cfc6fa6b318cea988b74f6406546876034b5cc2"
},
{
"path": "requirements.txt",
"mode": "100644",
"type": "blob",
"sha": "138f2b0a01b2df0d6a323bbb53d2046eb466e451"
},
{
"path": "restore_crop_box.py",
"mode": "100644",
"type": "blob",
"sha": "3607a4c86915d8d079931a654eadde65dbf6ecc8"
},
{
"path": "rgthree/common/comfyui_shim.js",
"mode": "100644",
"type": "blob",
"sha": "54007bafceead4ce4f70defc2e67be68f37c2744"
},
{
"path": "rgthree/common/comfyui_shim_pnginfo.js",
"mode": "100644",
"type": "blob",
"sha": "7ef8e6b005f46b0b6c367839bb2518accb6e7b19"
},
{
"path": "rgthree/common/components/base_custom_element.js",
"mode": "100644",
"type": "blob",
"sha": "d389ffc23932ed933232c60be3a3841afa3bd7a1"
},
{
"path": "rgthree/common/css/buttons.css",
"mode": "100644",
"type": "blob",
"sha": "2c9f13c0acd4416847b2778048a4b79a03234a60"
},
{
"path": "rgthree/common/css/dialog.css",
"mode": "100644",
"type": "blob",
"sha": "c9efdf67c5848facf4589d308ed53e300d67cdd9"
},
{
"path": "rgthree/common/css/dialog_lora_chooser.css",
"mode": "100644",
"type": "blob",
"sha": "0142ab10a522512a0cc8dbdb11ce5793baa41f11"
},
{
"path": "rgthree/common/css/dialog_model_info.css",
"mode": "100644",
"type": "blob",
"sha": "5edee06a5eb3c3502c966320e3da1c6b0f655346"
},
{
"path": "rgthree/common/css/menu.css",
"mode": "100644",
"type": "blob",
"sha": "426469e745b16056409b4318cf89f479cf0e11bd"
},
{
"path": "rgthree/common/css/pages_base.css",
"mode": "100644",
"type": "blob",
"sha": "49233231999fa37182bb313afe5f9f61389387c6"
},
{
"path": "rgthree/common/dialog.js",
"mode": "100644",
"type": "blob",
"sha": "6c1a6eadfb830acb6a76459ea908d93d55849f49"
},
{
"path": "rgthree/common/link_fixer.js",
"mode": "100644",
"type": "blob",
"sha": "eed3eee06e68f98f9da069e4b8dc7bbc225484f4"
},
{
"path": "rgthree/common/media/rgthree.svg",
"mode": "100644",
"type": "blob",
"sha": "766a76152eefcdf8d05bf320c329b82afc704eaa"
},
{
"path": "rgthree/common/media/svgs.js",
"mode": "100644",
"type": "blob",
"sha": "2bd25227abc482dc6bfd006c211ab856a398fa80"
},
{
"path": "rgthree/common/menu.js",
"mode": "100644",
"type": "blob",
"sha": "3e0e81429eb6f513667d9a2555e48a1db2e48dd2"
},
{
"path": "rgthree/common/model_info_service.js",
"mode": "100644",
"type": "blob",
"sha": "e7ec80824062b5deae01df26fb75feb21dfe097b"
},
{
"path": "rgthree/common/progress_bar.js",
"mode": "100644",
"type": "blob",
"sha": "e342f0e926f46af0d8b817e01b522d0bc0161260"
},
{
"path": "rgthree/common/prompt_service.js",
"mode": "100644",
"type": "blob",
"sha": "1f238889da859785842190511a7918a7cfa6d55f"
},
{
"path": "rgthree/common/py_parser.js",
"mode": "100644",
"type": "blob",
"sha": "0251c1683d3e418032f676c74920fcf60ed24879"
},
{
"path": "rgthree/common/rgthree_api.js",
"mode": "100644",
"type": "blob",
"sha": "eae650f44bd2ab88f3468ad071978d21ac0d4489"
},
{
"path": "rgthree/common/shared_utils.js",
"mode": "100644",
"type": "blob",
"sha": "61ba549c24140e53dde893a8a8a43fab3528b090"
},
{
"path": "rgthree/common/utils_dom.js",
"mode": "100644",
"type": "blob",
"sha": "c07e876f8ec801f3467d05d78ef7b9b8c7db6ba3"
},
{
"path": "rgthree/common/utils_templates.js",
"mode": "100644",
"type": "blob",
"sha": "973ca1b05e7ec588f2f4247d430fe5ab38884b3a"
},
{
"path": "rgthree/common/utils_workflow.js",
"mode": "100644",
"type": "blob",
"sha": "5dc2963987e64bcc13d4e9e1e6d847bd44592b3a"
},
{
"path": "rgthree/config.js",
"mode": "100644",
"type": "blob",
"sha": "f92995d201b36ad71676bc26942d9c0eb01bfe8e"
},
{
"path": "seed.py",
"mode": "100644",
"type": "blob",
"sha": "496e238e26f176ae4a1b71d9832c8ca2c52818c3"
},
{
"path": "web/js/README.md",
"mode": "100644",
"type": "blob",
"sha": "5ba7b3c993e66076fce062c511097d22a179ce2a"
},
{
"path": "web/js/base_any_input_connected_node.js",
"mode": "100644",
"type": "blob",
"sha": "09e2950c76a3c503df1fa35102829af0aa0d00ec"
},
{
"path": "web/js/base_node.js",
"mode": "100644",
"type": "blob",
"sha": "a004ca9fa5138965b1ec544a18f0a78eab892a00"
},
{
"path": "web/js/base_node_mode_changer.js",
"mode": "100644",
"type": "blob",
"sha": "8d2b20783025517227b9acab8076a113b838d36d"
},
{
"path": "web/js/common/dialog.js",
"mode": "100644",
"type": "blob",
"sha": "6c1a6eadfb830acb6a76459ea908d93d55849f49"
},
{
"path": "web/js/common/shared_utils.js",
"mode": "100644",
"type": "blob",
"sha": "61ba549c24140e53dde893a8a8a43fab3528b090"
},
{
"path": "web/js/constants.js",
"mode": "100644",
"type": "blob",
"sha": "b05bf4bda40f45921483f291808aa8809b0b6a9f"
},
{
"path": "web/js/feature_import_individual_nodes.js",
"mode": "100644",
"type": "blob",
"sha": "ca5058aa6e254e0f690ded2f03ff87ea2222b230"
},
{
"path": "web/js/image_comparer.js",
"mode": "100644",
"type": "blob",
"sha": "4c5d6b8d8f33f53387d8e385ba6d9ffe4ed4caba"
},
{
"path": "web/js/rgthree.js",
"mode": "100644",
"type": "blob",
"sha": "ec4bfa7357a032e63087c8706a26eacbd7bc18f2"
},
{
"path": "web/js/seed.js",
"mode": "100644",
"type": "blob",
"sha": "e23fa073294b17dd4879c82f4890f77890fcc9e9"
},
{
"path": "web/js/services/bookmarks_services.js",
"mode": "100644",
"type": "blob",
"sha": "839df30e7299b0d00910a141cbd5abc7dff82734"
},
{
"path": "web/js/services/config_service.js",
"mode": "100644",
"type": "blob",
"sha": "34f1087173c01cda464a519f4d8ebdfb81fbf25a"
},
{
"path": "web/js/services/context_service.js",
"mode": "100644",
"type": "blob",
"sha": "27e19658cbdc20d6213cd673fa6f10f79ee9ee7a"
},
{
"path": "web/js/services/key_events_services.js",
"mode": "100644",
"type": "blob",
"sha": "af1550488246ac2b9e53c34a0374f49f226dbb31"
},
{
"path": "web/js/utils.js",
"mode": "100644",
"type": "blob",
"sha": "a58d938e0e11731f008c8286f33f79795bb6a1f2"
},
{
"path": "web/js/utils_canvas.js",
"mode": "100644",
"type": "blob",
"sha": "dc09972e894393d172e62af471c0d293542ed638"
},
{
"path": "web/js/utils_widgets.js",
"mode": "100644",
"type": "blob",
"sha": "dabce087578b85f55f1e85a279374f36b6565e5c"
}
]
}
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2025 aining2022
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.
@@ -0,0 +1,75 @@
# Import migrated LayerStyle nodes
from .crop_by_mask_v2 import NODE_CLASS_MAPPINGS as CROP_V2_NODE_CLASS_MAPPINGS
from .crop_by_mask_v2 import NODE_DISPLAY_NAME_MAPPINGS as CROP_V2_NODE_DISPLAY_NAME_MAPPINGS
from .crop_by_mask_v3 import NODE_CLASS_MAPPINGS as CROP_V3_NODE_CLASS_MAPPINGS
from .crop_by_mask_v3 import NODE_DISPLAY_NAME_MAPPINGS as CROP_V3_NODE_DISPLAY_NAME_MAPPINGS
from .restore_crop_box import NODE_CLASS_MAPPINGS as RESTORE_NODE_CLASS_MAPPINGS
from .restore_crop_box import NODE_DISPLAY_NAME_MAPPINGS as RESTORE_NODE_DISPLAY_NAME_MAPPINGS
from .image_scale_by_aspect_ratio_v2 import NODE_CLASS_MAPPINGS as SCALE_NODE_CLASS_MAPPINGS
from .image_scale_by_aspect_ratio_v2 import NODE_DISPLAY_NAME_MAPPINGS as SCALE_NODE_DISPLAY_NAME_MAPPINGS
from .image_comparer import NODE_CLASS_MAPPINGS as COMPARER_NODE_CLASS_MAPPINGS
from .image_comparer import (
NODE_DISPLAY_NAME_MAPPINGS as COMPARER_NODE_DISPLAY_NAME_MAPPINGS,
)
from .seed import NODE_CLASS_MAPPINGS as SEED_NODE_CLASS_MAPPINGS
from .seed import NODE_DISPLAY_NAME_MAPPINGS as SEED_NODE_DISPLAY_NAME_MAPPINGS
from .image_batch_utils import NODE_CLASS_MAPPINGS as IMAGE_BATCH_NODE_CLASS_MAPPINGS
from .image_batch_utils import NODE_DISPLAY_NAME_MAPPINGS as IMAGE_BATCH_NODE_DISPLAY_NAME_MAPPINGS
from .image_resize_sum import NODE_CLASS_MAPPINGS as IMAGE_RESIZE_SUM_NODE_CLASS_MAPPINGS
from .image_resize_sum import NODE_DISPLAY_NAME_MAPPINGS as IMAGE_RESIZE_SUM_NODE_DISPLAY_NAME_MAPPINGS
from .C_math import NODE_CLASS_MAPPINGS as C_MATH_NODE_CLASS_MAPPINGS
from .C_math import NODE_DISPLAY_NAME_MAPPINGS as C_MATH_NODE_DISPLAY_NAME_MAPPINGS
from .image_nodes import NODE_CLASS_MAPPINGS as IMAGE_NODES_CLASS_MAPPINGS
from .image_nodes import NODE_DISPLAY_NAME_MAPPINGS as IMAGE_NODES_DISPLAY_NAME_MAPPINGS
from .nodes_switch import NODE_CLASS_MAPPINGS as SWITCH_NODE_CLASS_MAPPINGS
from .nodes_switch import NODE_DISPLAY_NAME_MAPPINGS as SWITCH_NODE_DISPLAY_NAME_MAPPINGS
import folder_paths
import os
fonts_path = os.path.join(os.path.dirname(__file__), "fonts")
folder_paths.folder_names_and_paths["swwan_fonts"] = ([fonts_path], {".otf", ".ttf"})
# Merge all node mappings
NODE_CLASS_MAPPINGS = {}
NODE_CLASS_MAPPINGS.update(CROP_V2_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(CROP_V3_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(RESTORE_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(SCALE_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(COMPARER_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(SEED_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(IMAGE_BATCH_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(IMAGE_RESIZE_SUM_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(C_MATH_NODE_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(IMAGE_NODES_CLASS_MAPPINGS)
NODE_CLASS_MAPPINGS.update(SWITCH_NODE_CLASS_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS.update(CROP_V2_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(CROP_V3_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(RESTORE_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(SCALE_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(COMPARER_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(SEED_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_BATCH_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_RESIZE_SUM_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(C_MATH_NODE_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_NODES_DISPLAY_NAME_MAPPINGS)
NODE_DISPLAY_NAME_MAPPINGS.update(SWITCH_NODE_DISPLAY_NAME_MAPPINGS)
WEB_DIRECTORY = "./web/js"
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', 'WEB_DIRECTORY']
@@ -0,0 +1,75 @@
"""
Image Comparer Node - Integrated into ComfyUI_Swwan
Compare two images in the UI with a slider or click.
"""
import folder_paths
import os
import numpy as np
import torch
import random
from PIL import Image
class RgthreeImageComparer:
"""A node that compares two images in the UI with a custom widget."""
@classmethod
def INPUT_TYPES(cls):
return {
"required": {},
"optional": {
"image_a": ("IMAGE",),
"image_b": ("IMAGE",),
},
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"},
}
RETURN_TYPES = ()
FUNCTION = "compare_images"
CATEGORY = "Swwan/image"
OUTPUT_NODE = True
def compare_images(self, image_a=None, image_b=None, prompt=None, extra_pnginfo=None):
results = {"ui": {"a_images": [], "b_images": []}}
# Use a unique prefix to avoid browser caching issues
unique_prefix = f"comparer_{random.randint(0, 1000000)}"
def save_to_temp(images, sub_prefix):
saved = []
if images is None or len(images) == 0:
return saved
# Ensure images is a CPU tensor
images = images.cpu()
temp_dir = folder_paths.get_temp_directory()
for i, img_tensor in enumerate(images):
# Convert [0, 1] tensor to [0, 255] PIL image
img_np = 255.0 * img_tensor.numpy()
img_pil = Image.fromarray(np.clip(img_np, 0, 255).astype(np.uint8))
filename = f"{unique_prefix}_{sub_prefix}_{i:05d}.png"
filepath = os.path.join(temp_dir, filename)
img_pil.save(filepath, compress_level=4)
saved.append({
"filename": filename,
"subfolder": "",
"type": "temp",
})
return saved
if image_a is not None:
results["ui"]["a_images"] = save_to_temp(image_a, "a")
if image_b is not None:
results["ui"]["b_images"] = save_to_temp(image_b, "b")
return results
NODE_CLASS_MAPPINGS = {"Image Comparer (rgthree)": RgthreeImageComparer}
NODE_DISPLAY_NAME_MAPPINGS = {"Image Comparer (rgthree)": "Image Comparer (Swwan)"}
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
@@ -0,0 +1,365 @@
import { app } from "../../scripts/app.js";
import { api } from "../../scripts/api.js";
import { RgthreeBaseServerNode } from "./base_node.js";
import { NodeTypesString } from "./constants.js";
import { addConnectionLayoutSupport } from "./utils.js";
import { RgthreeBaseWidget } from "./utils_widgets.js";
import { measureText } from "./utils_canvas.js";
function imageDataToUrl(data) {
return api.apiURL(`/view?filename=${encodeURIComponent(data.filename)}&type=${data.type}&subfolder=${data.subfolder}${app.getPreviewFormatParam()}${app.getRandParam()}`);
}
export class RgthreeImageComparer extends RgthreeBaseServerNode {
constructor(title = RgthreeImageComparer.title) {
super(title);
this.imageIndex = 0;
this.imgs = [];
this.serialize_widgets = true;
this.isPointerDown = false;
this.isPointerOver = false;
this.pointerOverPos = [0, 0];
this.canvasWidget = null;
this.properties["comparer_mode"] = "Slide";
}
onExecuted(output) {
var _a;
(_a = super.onExecuted) === null || _a === void 0 ? void 0 : _a.call(this, output);
if ("images" in output) {
this.canvasWidget.value = {
images: (output.images || []).map((d, i) => {
return {
name: i === 0 ? "A" : "B",
selected: true,
url: imageDataToUrl(d),
};
}),
};
}
else {
output.a_images = output.a_images || [];
output.b_images = output.b_images || [];
const imagesToChoose = [];
const multiple = output.a_images.length + output.b_images.length > 2;
for (const [i, d] of output.a_images.entries()) {
imagesToChoose.push({
name: output.a_images.length > 1 || multiple ? `A${i + 1}` : "A",
selected: i === 0,
url: imageDataToUrl(d),
});
}
for (const [i, d] of output.b_images.entries()) {
imagesToChoose.push({
name: output.b_images.length > 1 || multiple ? `B${i + 1}` : "B",
selected: i === 0,
url: imageDataToUrl(d),
});
}
this.canvasWidget.value = { images: imagesToChoose };
}
}
onSerialize(serialised) {
var _a;
super.onSerialize && super.onSerialize(serialised);
for (let [index, widget_value] of (serialised.widgets_values || []).entries()) {
if (((_a = this.widgets[index]) === null || _a === void 0 ? void 0 : _a.name) === "rgthree_comparer") {
serialised.widgets_values[index] = this.widgets[index].value.images.map((d) => {
d = { ...d };
delete d.img;
return d;
});
}
}
}
onNodeCreated() {
this.canvasWidget = this.addCustomWidget(new RgthreeImageComparerWidget("rgthree_comparer", this));
this.setSize(this.computeSize());
this.setDirtyCanvas(true, true);
}
setIsPointerDown(down = this.isPointerDown) {
const newIsDown = down && !!app.canvas.pointer_is_down;
if (this.isPointerDown !== newIsDown) {
this.isPointerDown = newIsDown;
this.setDirtyCanvas(true, false);
}
this.imageIndex = this.isPointerDown ? 1 : 0;
if (this.isPointerDown) {
requestAnimationFrame(() => {
this.setIsPointerDown();
});
}
}
onMouseDown(event, pos, canvas) {
var _a;
(_a = super.onMouseDown) === null || _a === void 0 ? void 0 : _a.call(this, event, pos, canvas);
this.setIsPointerDown(true);
return false;
}
onMouseEnter(event) {
var _a;
(_a = super.onMouseEnter) === null || _a === void 0 ? void 0 : _a.call(this, event);
this.setIsPointerDown(!!app.canvas.pointer_is_down);
this.isPointerOver = true;
}
onMouseLeave(event) {
var _a;
(_a = super.onMouseLeave) === null || _a === void 0 ? void 0 : _a.call(this, event);
this.setIsPointerDown(false);
this.isPointerOver = false;
}
onMouseMove(event, pos, canvas) {
var _a;
(_a = super.onMouseMove) === null || _a === void 0 ? void 0 : _a.call(this, event, pos, canvas);
this.pointerOverPos = [...pos];
this.imageIndex = this.pointerOverPos[0] > this.size[0] / 2 ? 1 : 0;
}
getHelp() {
return `
<p>
The ${this.type.replace("(rgthree)", "")} node compares two images on top of each other.
</p>
<ul>
<li>
<p>
<strong>Notes</strong>
</p>
<ul>
<li><p>
The right-click menu may show image options (Open Image, Save Image, etc.) which will
correspond to the first image (image_a) if clicked on the left-half of the node, or
the second image if on the right half of the node.
</p></li>
</ul>
</li>
<li>
<p>
<strong>Inputs</strong>
</p>
<ul>
<li><p>
<code>image_a</code> <i>Optional.</i> The first image to use to compare.
image_a.
</p></li>
<li><p>
<code>image_b</code> <i>Optional.</i> The second image to use to compare.
</p></li>
<li><p>
<b>Note</b> <code>image_a</code> and <code>image_b</code> work best when a single
image is provided. However, if each/either are a batch, you can choose which item
from each batch are chosen to be compared. If either <code>image_a</code> or
<code>image_b</code> are not provided, the node will choose the first two from the
provided input if it's a batch, otherwise only show the single image (just as
Preview Image would).
</p></li>
</ul>
</li>
<li>
<p>
<strong>Properties.</strong> You can change the following properties (by right-clicking
on the node, and select "Properties" or "Properties Panel" from the menu):
</p>
<ul>
<li><p>
<code>comparer_mode</code> - Choose between "Slide" and "Click". Defaults to "Slide".
</p></li>
</ul>
</li>
</ul>`;
}
static setUp(comfyClass, nodeData) {
RgthreeBaseServerNode.registerForOverride(comfyClass, nodeData, RgthreeImageComparer);
}
static onRegisteredForOverride(comfyClass) {
addConnectionLayoutSupport(RgthreeImageComparer, app, [
["Left", "Right"],
["Right", "Left"],
]);
setTimeout(() => {
RgthreeImageComparer.category = comfyClass.category;
});
}
}
RgthreeImageComparer.title = NodeTypesString.IMAGE_COMPARER;
RgthreeImageComparer.type = NodeTypesString.IMAGE_COMPARER;
RgthreeImageComparer.comfyClass = NodeTypesString.IMAGE_COMPARER;
RgthreeImageComparer["@comparer_mode"] = {
type: "combo",
values: ["Slide", "Click"],
};
class RgthreeImageComparerWidget extends RgthreeBaseWidget {
constructor(name, node) {
super(name);
this.type = "custom";
this.hitAreas = {};
this.selected = [];
this._value = { images: [] };
this.node = node;
}
set value(v) {
let cleanedVal;
if (Array.isArray(v)) {
cleanedVal = v.map((d, i) => {
if (!d || typeof d === "string") {
d = { url: d, name: i == 0 ? "A" : "B", selected: true };
}
return d;
});
}
else {
cleanedVal = v.images || [];
}
if (cleanedVal.length > 2) {
const hasAAndB = cleanedVal.some((i) => i.name.startsWith("A")) &&
cleanedVal.some((i) => i.name.startsWith("B"));
if (!hasAAndB) {
cleanedVal = [cleanedVal[0], cleanedVal[1]];
}
}
let selected = cleanedVal.filter((d) => d.selected);
if (!selected.length && cleanedVal.length) {
cleanedVal[0].selected = true;
}
selected = cleanedVal.filter((d) => d.selected);
if (selected.length === 1 && cleanedVal.length > 1) {
cleanedVal.find((d) => !d.selected).selected = true;
}
this._value.images = cleanedVal;
selected = cleanedVal.filter((d) => d.selected);
this.setSelected(selected);
}
get value() {
return this._value;
}
setSelected(selected) {
this._value.images.forEach((d) => (d.selected = false));
this.node.imgs.length = 0;
for (const sel of selected) {
if (!sel.img) {
sel.img = new Image();
sel.img.src = sel.url;
this.node.imgs.push(sel.img);
}
sel.selected = true;
}
this.selected = selected;
}
draw(ctx, node, width, y) {
var _a;
this.hitAreas = {};
if (this.value.images.length > 2) {
ctx.textAlign = "left";
ctx.textBaseline = "top";
ctx.font = `14px Arial`;
const drawData = [];
const spacing = 5;
let x = 0;
for (const img of this.value.images) {
const width = measureText(ctx, img.name);
drawData.push({
img,
text: img.name,
x,
width: measureText(ctx, img.name),
});
x += width + spacing;
}
x = (node.size[0] - (x - spacing)) / 2;
for (const d of drawData) {
ctx.fillStyle = d.img.selected ? "rgba(180, 180, 180, 1)" : "rgba(180, 180, 180, 0.5)";
ctx.fillText(d.text, x, y);
this.hitAreas[d.text] = {
bounds: [x, y, d.width, 14],
data: d.img,
onDown: this.onSelectionDown,
};
x += d.width + spacing;
}
y += 20;
}
if (((_a = node.properties) === null || _a === void 0 ? void 0 : _a["comparer_mode"]) === "Click") {
this.drawImage(ctx, this.selected[this.node.isPointerDown ? 1 : 0], y);
}
else {
this.drawImage(ctx, this.selected[0], y);
if (node.isPointerOver) {
this.drawImage(ctx, this.selected[1], y, this.node.pointerOverPos[0]);
}
}
}
onSelectionDown(event, pos, node, bounds) {
const selected = [...this.selected];
if (bounds === null || bounds === void 0 ? void 0 : bounds.data.name.startsWith("A")) {
selected[0] = bounds.data;
}
else if (bounds === null || bounds === void 0 ? void 0 : bounds.data.name.startsWith("B")) {
selected[1] = bounds.data;
}
this.setSelected(selected);
}
drawImage(ctx, image, y, cropX) {
var _a, _b;
if (!((_a = image === null || image === void 0 ? void 0 : image.img) === null || _a === void 0 ? void 0 : _a.naturalWidth) || !((_b = image === null || image === void 0 ? void 0 : image.img) === null || _b === void 0 ? void 0 : _b.naturalHeight)) {
return;
}
let [nodeWidth, nodeHeight] = this.node.size;
const imageAspect = (image === null || image === void 0 ? void 0 : image.img.naturalWidth) / (image === null || image === void 0 ? void 0 : image.img.naturalHeight);
let height = nodeHeight - y;
const widgetAspect = nodeWidth / height;
let targetWidth, targetHeight;
let offsetX = 0;
if (imageAspect > widgetAspect) {
targetWidth = nodeWidth;
targetHeight = nodeWidth / imageAspect;
}
else {
targetHeight = height;
targetWidth = height * imageAspect;
offsetX = (nodeWidth - targetWidth) / 2;
}
const widthMultiplier = (image === null || image === void 0 ? void 0 : image.img.naturalWidth) / targetWidth;
const sourceX = 0;
const sourceY = 0;
const sourceWidth = cropX != null ? (cropX - offsetX) * widthMultiplier : image === null || image === void 0 ? void 0 : image.img.naturalWidth;
const sourceHeight = image === null || image === void 0 ? void 0 : image.img.naturalHeight;
const destX = (nodeWidth - targetWidth) / 2;
const destY = y + (height - targetHeight) / 2;
const destWidth = cropX != null ? cropX - offsetX : targetWidth;
const destHeight = targetHeight;
ctx.save();
ctx.beginPath();
let globalCompositeOperation = ctx.globalCompositeOperation;
if (cropX) {
ctx.rect(destX, destY, destWidth, destHeight);
ctx.clip();
}
ctx.drawImage(image === null || image === void 0 ? void 0 : image.img, sourceX, sourceY, sourceWidth, sourceHeight, destX, destY, destWidth, destHeight);
if (cropX != null && cropX >= (nodeWidth - targetWidth) / 2 && cropX <= targetWidth + offsetX) {
ctx.beginPath();
ctx.moveTo(cropX, destY);
ctx.lineTo(cropX, destY + destHeight);
ctx.globalCompositeOperation = "difference";
ctx.strokeStyle = "rgba(255,255,255, 1)";
ctx.stroke();
}
ctx.globalCompositeOperation = globalCompositeOperation;
ctx.restore();
}
computeSize(width) {
return [width, 20];
}
serializeValue(node, index) {
const v = [];
for (const data of this._value.images) {
const d = { ...data };
delete d.img;
v.push(d);
}
return { images: v };
}
}
app.registerExtension({
name: "rgthree.ImageComparer",
async beforeRegisterNodeDef(nodeType, nodeData) {
if (nodeData.name === RgthreeImageComparer.type) {
RgthreeImageComparer.setUp(nodeType, nodeData);
}
},
});
@@ -0,0 +1 @@
[]
@@ -0,0 +1,6 @@
tree 3a98824ee41cac4afc6d1782c995b672f34fbe05
parent 3b832231bb81024d80bbe31b7d7e51e07b633beb
author comfyanonymous <comfyanonymous@protonmail.com> 1768492655 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1768492655 -0500
ComfyUI v0.9.2
@@ -0,0 +1,5 @@
{
"ref": "refs/tags/v0.9.2",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"object": "8f40b43e0204d5b9780f3e9618e140e929e80594"
}
@@ -0,0 +1,6 @@
tree 3a98824ee41cac4afc6d1782c995b672f34fbe05
parent 3b832231bb81024d80bbe31b7d7e51e07b633beb
author comfyanonymous <comfyanonymous@protonmail.com> 1768492655 -0500
committer comfyanonymous <comfyanonymous@protonmail.com> 1768492655 -0500
ComfyUI v0.9.2
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
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,60 @@
import hashlib
import torch
from comfy.cli_args import args
from PIL import ImageFile, UnidentifiedImageError
def conditioning_set_values(conditioning, values={}, append=False):
c = []
for t in conditioning:
n = [t[0], t[1].copy()]
for k in values:
val = values[k]
if append:
old_val = n[1].get(k, None)
if old_val is not None:
val = old_val + val
n[1][k] = val
c.append(n)
return c
def pillow(fn, arg):
prev_value = None
try:
x = fn(arg)
except (OSError, UnidentifiedImageError, ValueError): #PIL issues #4472 and #2445, also fixes ComfyUI issue #3416
prev_value = ImageFile.LOAD_TRUNCATED_IMAGES
ImageFile.LOAD_TRUNCATED_IMAGES = True
x = fn(arg)
finally:
if prev_value is not None:
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
return x
def hasher():
hashfuncs = {
"md5": hashlib.md5,
"sha1": hashlib.sha1,
"sha256": hashlib.sha256,
"sha512": hashlib.sha512
}
return hashfuncs[args.default_hashing_function]
def string_to_torch_dtype(string):
if string == "fp32":
return torch.float32
if string == "fp16":
return torch.float16
if string == "bf16":
return torch.bfloat16
def image_alpha_fix(destination, source):
if destination.shape[-1] < source.shape[-1]:
source = source[...,:destination.shape[-1]]
elif destination.shape[-1] > source.shape[-1]:
destination = torch.nn.functional.pad(destination, (0, 1))
destination[..., -1] = 1.0
return destination, source
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
[]
@@ -0,0 +1,23 @@
tree 40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7
parent 2f4a2de9d620fd029e6bb6869477314185d08f7e
author H.D.Tài 🇻🇳 <tai17082006.tk@gmail.com> 1757493552 +0700
committer GitHub <noreply@github.com> 1757493552 +0700
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJowTkwCRC1aQ7uu5UhlAAA6K8QAD3UGmoWwRyXV9x4eCFi+ndz
RS+ILbJyVAsbRHL1Ak8iB6ENuGqdc++7+bJgeQLgnvnbOobDJB+HSaTCnkwwUfBG
yjOZ6TXGFF4uK9+yksUpCvE+VdCpod1JX+mgKtqckwsfwE4RF3H5QbCS7xM2tgnL
2HINeuXtBTayoYJ44zsbrjC+CQgQ2MUAsxnDttCkYfk0G6AwiE9B3Kzt2XzeV4ay
ue6wYY3GUKJnwVz9ly86V7NAFnXV33NixMI10cmbuGD6q+mO8z3fNd/CVHeVH73q
I9KxukMW2hnHYrjPSwthCluntZUfwPyVc4lua3aZQOZFy97K2r7EEgseT46Q36NT
T3ww+10EqwXasNCTVufVMhn5H87OGwDDoBnMgqvm4dQAc5dd4kGag2vfmPp/vCAq
PN3HVuzNj36QTbv75vcHIQE6SWgATt5m4HKa1PUQOg6g1HM1FMpXXwo1PrbbDgmm
vSIGq1ogXuedoesC7C/z2ZhSdsWIfLMT1gHuTZBwCwlGhAqzkn3baaYD/2YMoPO3
PJA55+hiIDlgcoonXbSzAcVJegp4dsO9ODIkyxVw5IJ3YDEE4qP2M4NTu5WS7Ywa
VxSCK0IbRmksPaDFrrnW+ssq6u+igJyA5MR4VOKP7vb2eJiMZmwnHUxhmlGsutVi
f37jgnSH84Zh9kCBK37f
=ON4r
-----END PGP SIGNATURE-----
Update pyproject.toml
@@ -0,0 +1,5 @@
{
"ref": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"object": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1"
}
@@ -0,0 +1,23 @@
tree 40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7
parent 2f4a2de9d620fd029e6bb6869477314185d08f7e
author H.D.Tài 🇻🇳 <tai17082006.tk@gmail.com> 1757493552 +0700
committer GitHub <noreply@github.com> 1757493552 +0700
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJowTkwCRC1aQ7uu5UhlAAA6K8QAD3UGmoWwRyXV9x4eCFi+ndz
RS+ILbJyVAsbRHL1Ak8iB6ENuGqdc++7+bJgeQLgnvnbOobDJB+HSaTCnkwwUfBG
yjOZ6TXGFF4uK9+yksUpCvE+VdCpod1JX+mgKtqckwsfwE4RF3H5QbCS7xM2tgnL
2HINeuXtBTayoYJ44zsbrjC+CQgQ2MUAsxnDttCkYfk0G6AwiE9B3Kzt2XzeV4ay
ue6wYY3GUKJnwVz9ly86V7NAFnXV33NixMI10cmbuGD6q+mO8z3fNd/CVHeVH73q
I9KxukMW2hnHYrjPSwthCluntZUfwPyVc4lua3aZQOZFy97K2r7EEgseT46Q36NT
T3ww+10EqwXasNCTVufVMhn5H87OGwDDoBnMgqvm4dQAc5dd4kGag2vfmPp/vCAq
PN3HVuzNj36QTbv75vcHIQE6SWgATt5m4HKa1PUQOg6g1HM1FMpXXwo1PrbbDgmm
vSIGq1ogXuedoesC7C/z2ZhSdsWIfLMT1gHuTZBwCwlGhAqzkn3baaYD/2YMoPO3
PJA55+hiIDlgcoonXbSzAcVJegp4dsO9ODIkyxVw5IJ3YDEE4qP2M4NTu5WS7Ywa
VxSCK0IbRmksPaDFrrnW+ssq6u+igJyA5MR4VOKP7vb2eJiMZmwnHUxhmlGsutVi
f37jgnSH84Zh9kCBK37f
=ON4r
-----END PGP SIGNATURE-----
Update pyproject.toml
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -0,0 +1,224 @@
import sys, os
# Disable NPU device initialization and problematic MMCV ops to prevent RuntimeError
# Must be set BEFORE any MMCV imports happen anywhere in ComfyUI
os.environ['NPU_DEVICE_COUNT'] = '0'
os.environ['MMCV_WITH_OPS'] = '0'
from .utils import here, define_preprocessor_inputs, INPUT
from pathlib import Path
import traceback
import importlib
from .log import log, blue_text, cyan_text, get_summary, get_label
from .hint_image_enchance import NODE_CLASS_MAPPINGS as HIE_NODE_CLASS_MAPPINGS
from .hint_image_enchance import NODE_DISPLAY_NAME_MAPPINGS as HIE_NODE_DISPLAY_NAME_MAPPINGS
#Ref: https://github.com/comfyanonymous/ComfyUI/blob/76d53c4622fc06372975ed2a43ad345935b8a551/nodes.py#L17
sys.path.insert(0, str(Path(here, "src").resolve()))
for pkg_name in ["custom_controlnet_aux", "custom_mmpkg"]:
sys.path.append(str(Path(here, "src", pkg_name).resolve()))
#Enable CPU fallback for ops not being supported by MPS like upsample_bicubic2d.out
#https://github.com/pytorch/pytorch/issues/77764
#https://github.com/Fannovel16/comfyui_controlnet_aux/issues/2#issuecomment-1763579485
os.environ["PYTORCH_ENABLE_MPS_FALLBACK"] = os.getenv("PYTORCH_ENABLE_MPS_FALLBACK", '1')
def load_nodes():
shorted_errors = []
full_error_messages = []
node_class_mappings = {}
node_display_name_mappings = {}
for filename in (here / "node_wrappers").iterdir():
module_name = filename.stem
if module_name.startswith('.'): continue #Skip hidden files created by the OS (e.g. [.DS_Store](https://en.wikipedia.org/wiki/.DS_Store))
try:
module = importlib.import_module(
f".node_wrappers.{module_name}", package=__package__
)
node_class_mappings.update(getattr(module, "NODE_CLASS_MAPPINGS"))
if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS"):
node_display_name_mappings.update(getattr(module, "NODE_DISPLAY_NAME_MAPPINGS"))
log.debug(f"Imported {module_name} nodes")
except AttributeError:
pass # wip nodes
except Exception:
error_message = traceback.format_exc()
full_error_messages.append(error_message)
error_message = error_message.splitlines()[-1]
shorted_errors.append(
f"Failed to import module {module_name} because {error_message}"
)
if len(shorted_errors) > 0:
full_err_log = '\n\n'.join(full_error_messages)
print(f"\n\nFull error log from comfyui_controlnet_aux: \n{full_err_log}\n\n")
log.info(
f"Some nodes failed to load:\n\t"
+ "\n\t".join(shorted_errors)
+ "\n\n"
+ "Check that you properly installed the dependencies.\n"
+ "If you think this is a bug, please report it on the github page (https://github.com/Fannovel16/comfyui_controlnet_aux/issues)"
)
return node_class_mappings, node_display_name_mappings
AUX_NODE_MAPPINGS, AUX_DISPLAY_NAME_MAPPINGS = load_nodes()
#For nodes not mapping image to image or has special requirements
AIO_NOT_SUPPORTED = ["InpaintPreprocessor", "MeshGraphormer+ImpactDetector-DepthMapPreprocessor", "DiffusionEdge_Preprocessor"]
AIO_NOT_SUPPORTED += ["SavePoseKpsAsJsonFile", "FacialPartColoringFromPoseKps", "UpperBodyTrackingFromPoseKps", "RenderPeopleKps", "RenderAnimalKps"]
AIO_NOT_SUPPORTED += ["Unimatch_OptFlowPreprocessor", "MaskOptFlow"]
def preprocessor_options():
auxs = list(AUX_NODE_MAPPINGS.keys())
auxs.insert(0, "none")
for name in AIO_NOT_SUPPORTED:
if name in auxs:
auxs.remove(name)
return auxs
PREPROCESSOR_OPTIONS = preprocessor_options()
class AIO_Preprocessor:
@classmethod
def INPUT_TYPES(s):
return define_preprocessor_inputs(
preprocessor=INPUT.COMBO(PREPROCESSOR_OPTIONS, default="none"),
resolution=INPUT.RESOLUTION()
)
RETURN_TYPES = ("IMAGE",)
FUNCTION = "execute"
CATEGORY = "ControlNet Preprocessors"
def execute(self, preprocessor, image, resolution=512):
if preprocessor == "none":
return (image, )
else:
aux_class = AUX_NODE_MAPPINGS[preprocessor]
input_types = aux_class.INPUT_TYPES()
input_types = {
**input_types["required"],
**(input_types["optional"] if "optional" in input_types else {})
}
params = {}
for name, input_type in input_types.items():
if name == "image":
params[name] = image
continue
if name == "resolution":
params[name] = resolution
continue
if len(input_type) == 2 and ("default" in input_type[1]):
params[name] = input_type[1]["default"]
continue
default_values = { "INT": 0, "FLOAT": 0.0 }
if type(input_type[0]) is list:
for input_type_value in input_type[0]:
if input_type_value in default_values:
params[name] = default_values[input_type[0]]
else:
if input_type[0] in default_values:
params[name] = default_values[input_type[0]]
return getattr(aux_class(), aux_class.FUNCTION)(**params)
class ControlNetAuxSimpleAddText:
@classmethod
def INPUT_TYPES(s):
return dict(
required=dict(image=INPUT.IMAGE(), text=INPUT.STRING())
)
RETURN_TYPES = ("IMAGE",)
FUNCTION = "execute"
CATEGORY = "ControlNet Preprocessors"
def execute(self, image, text):
from PIL import Image, ImageDraw, ImageFont
import numpy as np
import torch
font = ImageFont.truetype(str((here / "NotoSans-Regular.ttf").resolve()), 40)
img = Image.fromarray(image[0].cpu().numpy().__mul__(255.).astype(np.uint8))
ImageDraw.Draw(img).text((0,0), text, fill=(0,255,0), font=font)
return (torch.from_numpy(np.array(img)).unsqueeze(0) / 255.,)
class ExecuteAllControlNetPreprocessors:
@classmethod
def INPUT_TYPES(s):
return define_preprocessor_inputs(resolution=INPUT.RESOLUTION())
RETURN_TYPES = ("IMAGE",)
FUNCTION = "execute"
CATEGORY = "ControlNet Preprocessors"
def execute(self, image, resolution=512):
try:
from comfy_execution.graph_utils import GraphBuilder
except:
raise RuntimeError("ExecuteAllControlNetPreprocessor requries [Execution Model Inversion](https://github.com/comfyanonymous/ComfyUI/commit/5cfe38). Update ComfyUI/SwarmUI to get this feature")
graph = GraphBuilder()
curr_outputs = []
for preprocc in PREPROCESSOR_OPTIONS:
preprocc_node = graph.node("AIO_Preprocessor", preprocessor=preprocc, image=image, resolution=resolution)
hint_img = preprocc_node.out(0)
add_text_node = graph.node("ControlNetAuxSimpleAddText", image=hint_img, text=preprocc)
curr_outputs.append(add_text_node.out(0))
while len(curr_outputs) > 1:
_outputs = []
for i in range(0, len(curr_outputs), 2):
if i+1 < len(curr_outputs):
image_batch = graph.node("ImageBatch", image1=curr_outputs[i], image2=curr_outputs[i+1])
_outputs.append(image_batch.out(0))
else:
_outputs.append(curr_outputs[i])
curr_outputs = _outputs
return {
"result": (curr_outputs[0],),
"expand": graph.finalize(),
}
class ControlNetPreprocessorSelector:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"preprocessor": (PREPROCESSOR_OPTIONS,),
}
}
RETURN_TYPES = (PREPROCESSOR_OPTIONS,)
RETURN_NAMES = ("preprocessor",)
FUNCTION = "get_preprocessor"
CATEGORY = "ControlNet Preprocessors"
def get_preprocessor(self, preprocessor: str):
return (preprocessor,)
NODE_CLASS_MAPPINGS = {
**AUX_NODE_MAPPINGS,
"AIO_Preprocessor": AIO_Preprocessor,
"ControlNetPreprocessorSelector": ControlNetPreprocessorSelector,
**HIE_NODE_CLASS_MAPPINGS,
"ExecuteAllControlNetPreprocessors": ExecuteAllControlNetPreprocessors,
"ControlNetAuxSimpleAddText": ControlNetAuxSimpleAddText
}
NODE_DISPLAY_NAME_MAPPINGS = {
**AUX_DISPLAY_NAME_MAPPINGS,
"AIO_Preprocessor": "AIO Aux Preprocessor",
"ControlNetPreprocessorSelector": "Preprocessor Selector",
**HIE_NODE_DISPLAY_NAME_MAPPINGS,
"ExecuteAllControlNetPreprocessors": "Execute All ControlNet Preprocessors"
}
@@ -0,0 +1,166 @@
from ..utils import common_annotator_call, define_preprocessor_inputs, INPUT
import comfy.model_management as model_management
import numpy as np
import warnings
from ..src.custom_controlnet_aux.dwpose import DwposeDetector, AnimalposeDetector
import os
import json
DWPOSE_MODEL_NAME = "yzd-v/DWPose"
#Trigger startup caching for onnxruntime
GPU_PROVIDERS = ["CUDAExecutionProvider", "DirectMLExecutionProvider", "OpenVINOExecutionProvider", "ROCMExecutionProvider", "CoreMLExecutionProvider"]
def check_ort_gpu():
try:
import onnxruntime as ort
for provider in GPU_PROVIDERS:
if provider in ort.get_available_providers():
return True
return False
except:
return False
if not os.environ.get("DWPOSE_ONNXRT_CHECKED"):
if check_ort_gpu():
print("DWPose: Onnxruntime with acceleration providers detected")
else:
warnings.warn("DWPose: Onnxruntime not found or doesn't come with acceleration providers, switch to OpenCV with CPU device. DWPose might run very slowly")
os.environ['AUX_ORT_PROVIDERS'] = ''
os.environ["DWPOSE_ONNXRT_CHECKED"] = '1'
class DWPose_Preprocessor:
@classmethod
def INPUT_TYPES(s):
return define_preprocessor_inputs(
detect_hand=INPUT.COMBO(["enable", "disable"]),
detect_body=INPUT.COMBO(["enable", "disable"]),
detect_face=INPUT.COMBO(["enable", "disable"]),
resolution=INPUT.RESOLUTION(),
bbox_detector=INPUT.COMBO(
["None"] + ["yolox_l.torchscript.pt", "yolox_l.onnx", "yolo_nas_l_fp16.onnx", "yolo_nas_m_fp16.onnx", "yolo_nas_s_fp16.onnx"],
default="yolox_l.onnx"
),
pose_estimator=INPUT.COMBO(
["dw-ll_ucoco_384_bs5.torchscript.pt", "dw-ll_ucoco_384.onnx", "dw-ll_ucoco.onnx"],
default="dw-ll_ucoco_384_bs5.torchscript.pt"
),
scale_stick_for_xinsr_cn=INPUT.COMBO(["disable", "enable"])
)
RETURN_TYPES = ("IMAGE", "POSE_KEYPOINT")
FUNCTION = "estimate_pose"
CATEGORY = "ControlNet Preprocessors/Faces and Poses Estimators"
def estimate_pose(self, image, detect_hand="enable", detect_body="enable", detect_face="enable", resolution=512, bbox_detector="yolox_l.onnx", pose_estimator="dw-ll_ucoco_384.onnx", scale_stick_for_xinsr_cn="disable", **kwargs):
if bbox_detector == "None":
yolo_repo = DWPOSE_MODEL_NAME
elif bbox_detector == "yolox_l.onnx":
yolo_repo = DWPOSE_MODEL_NAME
elif "yolox" in bbox_detector:
yolo_repo = "hr16/yolox-onnx"
elif "yolo_nas" in bbox_detector:
yolo_repo = "hr16/yolo-nas-fp16"
else:
raise NotImplementedError(f"Download mechanism for {bbox_detector}")
if pose_estimator == "dw-ll_ucoco_384.onnx":
pose_repo = DWPOSE_MODEL_NAME
elif pose_estimator.endswith(".onnx"):
pose_repo = "hr16/UnJIT-DWPose"
elif pose_estimator.endswith(".torchscript.pt"):
pose_repo = "hr16/DWPose-TorchScript-BatchSize5"
else:
raise NotImplementedError(f"Download mechanism for {pose_estimator}")
model = DwposeDetector.from_pretrained(
pose_repo,
yolo_repo,
det_filename=(None if bbox_detector == "None" else bbox_detector), pose_filename=pose_estimator,
torchscript_device=model_management.get_torch_device()
)
detect_hand = detect_hand == "enable"
detect_body = detect_body == "enable"
detect_face = detect_face == "enable"
scale_stick_for_xinsr_cn = scale_stick_for_xinsr_cn == "enable"
self.openpose_dicts = []
def func(image, **kwargs):
pose_img, openpose_dict = model(image, **kwargs)
self.openpose_dicts.append(openpose_dict)
return pose_img
out = common_annotator_call(func, image, include_hand=detect_hand, include_face=detect_face, include_body=detect_body, image_and_json=True, resolution=resolution, xinsr_stick_scaling=scale_stick_for_xinsr_cn)
del model
return {
'ui': { "openpose_json": [json.dumps(self.openpose_dicts, indent=4)] },
"result": (out, self.openpose_dicts)
}
class AnimalPose_Preprocessor:
@classmethod
def INPUT_TYPES(s):
return define_preprocessor_inputs(
bbox_detector = INPUT.COMBO(
["None"] + ["yolox_l.torchscript.pt", "yolox_l.onnx", "yolo_nas_l_fp16.onnx", "yolo_nas_m_fp16.onnx", "yolo_nas_s_fp16.onnx"],
default="yolox_l.torchscript.pt"
),
pose_estimator = INPUT.COMBO(
["rtmpose-m_ap10k_256_bs5.torchscript.pt", "rtmpose-m_ap10k_256.onnx"],
default="rtmpose-m_ap10k_256_bs5.torchscript.pt"
),
resolution = INPUT.RESOLUTION()
)
RETURN_TYPES = ("IMAGE", "POSE_KEYPOINT")
FUNCTION = "estimate_pose"
CATEGORY = "ControlNet Preprocessors/Faces and Poses Estimators"
def estimate_pose(self, image, resolution=512, bbox_detector="yolox_l.onnx", pose_estimator="rtmpose-m_ap10k_256.onnx", **kwargs):
if bbox_detector == "None":
yolo_repo = DWPOSE_MODEL_NAME
elif bbox_detector == "yolox_l.onnx":
yolo_repo = DWPOSE_MODEL_NAME
elif "yolox" in bbox_detector:
yolo_repo = "hr16/yolox-onnx"
elif "yolo_nas" in bbox_detector:
yolo_repo = "hr16/yolo-nas-fp16"
else:
raise NotImplementedError(f"Download mechanism for {bbox_detector}")
if pose_estimator == "dw-ll_ucoco_384.onnx":
pose_repo = DWPOSE_MODEL_NAME
elif pose_estimator.endswith(".onnx"):
pose_repo = "hr16/UnJIT-DWPose"
elif pose_estimator.endswith(".torchscript.pt"):
pose_repo = "hr16/DWPose-TorchScript-BatchSize5"
else:
raise NotImplementedError(f"Download mechanism for {pose_estimator}")
model = AnimalposeDetector.from_pretrained(
pose_repo,
yolo_repo,
det_filename=(None if bbox_detector == "None" else bbox_detector), pose_filename=pose_estimator,
torchscript_device=model_management.get_torch_device()
)
self.openpose_dicts = []
def func(image, **kwargs):
pose_img, openpose_dict = model(image, **kwargs)
self.openpose_dicts.append(openpose_dict)
return pose_img
out = common_annotator_call(func, image, image_and_json=True, resolution=resolution)
del model
return {
'ui': { "openpose_json": [json.dumps(self.openpose_dicts, indent=4)] },
"result": (out, self.openpose_dicts)
}
NODE_CLASS_MAPPINGS = {
"DWPreprocessor": DWPose_Preprocessor,
"AnimalPosePreprocessor": AnimalPose_Preprocessor
}
NODE_DISPLAY_NAME_MAPPINGS = {
"DWPreprocessor": "DWPose Estimator",
"AnimalPosePreprocessor": "AnimalPose Estimator (AP10K)"
}
@@ -0,0 +1,108 @@
OPENPOSE: MULTIPERSON KEYPOINT DETECTION
SOFTWARE LICENSE AGREEMENT
ACADEMIC OR NON-PROFIT ORGANIZATION NONCOMMERCIAL RESEARCH USE ONLY
BY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT. IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE.
This is a license agreement ("Agreement") between your academic institution or non-profit organization or self (called "Licensee" or "You" in this Agreement) and Carnegie Mellon University (called "Licensor" in this Agreement). All rights not specifically granted to you in this Agreement are reserved for Licensor.
RESERVATION OF OWNERSHIP AND GRANT OF LICENSE:
Licensor retains exclusive ownership of any copy of the Software (as defined below) licensed under this Agreement and hereby grants to Licensee a personal, non-exclusive,
non-transferable license to use the Software for noncommercial research purposes, without the right to sublicense, pursuant to the terms and conditions of this Agreement. As used in this Agreement, the term "Software" means (i) the actual copy of all or any portion of code for program routines made accessible to Licensee by Licensor pursuant to this Agreement, inclusive of backups, updates, and/or merged copies permitted hereunder or subsequently supplied by Licensor, including all or any file structures, programming instructions, user interfaces and screen formats and sequences as well as any and all documentation and instructions related to it, and (ii) all or any derivatives and/or modifications created or made by You to any of the items specified in (i).
CONFIDENTIALITY: Licensee acknowledges that the Software is proprietary to Licensor, and as such, Licensee agrees to receive all such materials in confidence and use the Software only in accordance with the terms of this Agreement. Licensee agrees to use reasonable effort to protect the Software from unauthorized use, reproduction, distribution, or publication.
COPYRIGHT: The Software is owned by Licensor and is protected by United
States copyright laws and applicable international treaties and/or conventions.
PERMITTED USES: The Software may be used for your own noncommercial internal research purposes. You understand and agree that Licensor is not obligated to implement any suggestions and/or feedback you might provide regarding the Software, but to the extent Licensor does so, you are not entitled to any compensation related thereto.
DERIVATIVES: You may create derivatives of or make modifications to the Software, however, You agree that all and any such derivatives and modifications will be owned by Licensor and become a part of the Software licensed to You under this Agreement. You may only use such derivatives and modifications for your own noncommercial internal research purposes, and you may not otherwise use, distribute or copy such derivatives and modifications in violation of this Agreement.
BACKUPS: If Licensee is an organization, it may make that number of copies of the Software necessary for internal noncommercial use at a single site within its organization provided that all information appearing in or on the original labels, including the copyright and trademark notices are copied onto the labels of the copies.
USES NOT PERMITTED: You may not distribute, copy or use the Software except as explicitly permitted herein. Licensee has not been granted any trademark license as part of this Agreement and may not use the name or mark “OpenPose", "Carnegie Mellon" or any renditions thereof without the prior written permission of Licensor.
You may not sell, rent, lease, sublicense, lend, time-share or transfer, in whole or in part, or provide third parties access to prior or present versions (or any parts thereof) of the Software.
ASSIGNMENT: You may not assign this Agreement or your rights hereunder without the prior written consent of Licensor. Any attempted assignment without such consent shall be null and void.
TERM: The term of the license granted by this Agreement is from Licensee's acceptance of this Agreement by downloading the Software or by using the Software until terminated as provided below.
The Agreement automatically terminates without notice if you fail to comply with any provision of this Agreement. Licensee may terminate this Agreement by ceasing using the Software. Upon any termination of this Agreement, Licensee will delete any and all copies of the Software. You agree that all provisions which operate to protect the proprietary rights of Licensor shall remain in force should breach occur and that the obligation of confidentiality described in this Agreement is binding in perpetuity and, as such, survives the term of the Agreement.
FEE: Provided Licensee abides completely by the terms and conditions of this Agreement, there is no fee due to Licensor for Licensee's use of the Software in accordance with this Agreement.
DISCLAIMER OF WARRANTIES: THE SOFTWARE IS PROVIDED "AS-IS" WITHOUT WARRANTY OF ANY KIND INCLUDING ANY WARRANTIES OF PERFORMANCE OR MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE OR PURPOSE OR OF NON-INFRINGEMENT. LICENSEE BEARS ALL RISK RELATING TO QUALITY AND PERFORMANCE OF THE SOFTWARE AND RELATED MATERIALS.
SUPPORT AND MAINTENANCE: No Software support or training by the Licensor is provided as part of this Agreement.
EXCLUSIVE REMEDY AND LIMITATION OF LIABILITY: To the maximum extent permitted under applicable law, Licensor shall not be liable for direct, indirect, special, incidental, or consequential damages or lost profits related to Licensee's use of and/or inability to use the Software, even if Licensor is advised of the possibility of such damage.
EXPORT REGULATION: Licensee agrees to comply with any and all applicable
U.S. export control laws, regulations, and/or other laws related to embargoes and sanction programs administered by the Office of Foreign Assets Control.
SEVERABILITY: If any provision(s) of this Agreement shall be held to be invalid, illegal, or unenforceable by a court or other tribunal of competent jurisdiction, the validity, legality and enforceability of the remaining provisions shall not in any way be affected or impaired thereby.
NO IMPLIED WAIVERS: No failure or delay by Licensor in enforcing any right or remedy under this Agreement shall be construed as a waiver of any future or other exercise of such right or remedy by Licensor.
GOVERNING LAW: This Agreement shall be construed and enforced in accordance with the laws of the Commonwealth of Pennsylvania without reference to conflict of laws principles. You consent to the personal jurisdiction of the courts of this County and waive their rights to venue outside of Allegheny County, Pennsylvania.
ENTIRE AGREEMENT AND AMENDMENTS: This Agreement constitutes the sole and entire agreement between Licensee and Licensor as to the matter set forth herein and supersedes any previous agreements, understandings, and arrangements between the parties relating hereto.
************************************************************************
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
This project incorporates material from the project(s) listed below (collectively, "Third Party Code"). This Third Party Code is licensed to you under their original license terms set forth below. We reserves all other rights not expressly granted, whether by implication, estoppel or otherwise.
1. Caffe, version 1.0.0, (https://github.com/BVLC/caffe/)
COPYRIGHT
All contributions by the University of California:
Copyright (c) 2014-2017 The Regents of the University of California (Regents)
All rights reserved.
All other contributions:
Copyright (c) 2014-2017, the respective contributors
All rights reserved.
Caffe uses a shared copyright model: each contributor holds copyright over
their contributions to Caffe. The project versioning records all such
contribution and copyright details. If a contributor wants to further mark
their specific copyright on a particular contribution, they should indicate
their copyright solely in the commit message of the change when it is
committed.
LICENSE
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
CONTRIBUTION AGREEMENT
By contributing to the BVLC/caffe repository through pull-request, comment,
or otherwise, the contributor releases their content to the
license and copyright terms herein.
************END OF THIRD-PARTY SOFTWARE NOTICES AND INFORMATION**********
@@ -0,0 +1,332 @@
# Openpose
# Original from CMU https://github.com/CMU-Perceptual-Computing-Lab/openpose
# 2nd Edited by https://github.com/Hzzone/pytorch-openpose
# 3rd Edited by ControlNet
# 4th Edited by ControlNet (added face and correct hands)
# 5th Edited by ControlNet (Improved JSON serialization/deserialization, and lots of bug fixs)
# This preprocessor is licensed by CMU for non-commercial use only.
import os
os.environ["KMP_DUPLICATE_LIB_OK"] = "TRUE"
import json
import torch
import numpy as np
from . import util
from .body import Body, BodyResult, Keypoint
from .hand import Hand
from .face import Face
from .types import PoseResult, HandResult, FaceResult, AnimalPoseResult
from huggingface_hub import hf_hub_download
from .wholebody import Wholebody
import warnings
from custom_controlnet_aux.util import HWC3, resize_image_with_pad, common_input_validate, custom_hf_download
import cv2
from PIL import Image
from .animalpose import AnimalPoseImage
from typing import Tuple, List, Callable, Union, Optional
def draw_animalposes(animals: list[list[Keypoint]], H: int, W: int) -> np.ndarray:
canvas = np.zeros(shape=(H, W, 3), dtype=np.uint8)
for animal_pose in animals:
canvas = draw_animalpose(canvas, animal_pose)
return canvas
def draw_animalpose(canvas: np.ndarray, keypoints: list[Keypoint]) -> np.ndarray:
# order of the keypoints for AP10k and a standardized list of colors for limbs
keypointPairsList = [
(1, 2),
(2, 3),
(1, 3),
(3, 4),
(4, 9),
(9, 10),
(10, 11),
(4, 6),
(6, 7),
(7, 8),
(4, 5),
(5, 15),
(15, 16),
(16, 17),
(5, 12),
(12, 13),
(13, 14),
]
colorsList = [
(255, 255, 255),
(100, 255, 100),
(150, 255, 255),
(100, 50, 255),
(50, 150, 200),
(0, 255, 255),
(0, 150, 0),
(0, 0, 255),
(0, 0, 150),
(255, 50, 255),
(255, 0, 255),
(255, 0, 0),
(150, 0, 0),
(255, 255, 100),
(0, 150, 0),
(255, 255, 0),
(150, 150, 150),
] # 16 colors needed
for ind, (i, j) in enumerate(keypointPairsList):
p1 = keypoints[i - 1]
p2 = keypoints[j - 1]
if p1 is not None and p2 is not None:
cv2.line(
canvas,
(int(p1.x), int(p1.y)),
(int(p2.x), int(p2.y)),
colorsList[ind],
5,
)
return canvas
def draw_poses(poses: List[PoseResult], H, W, draw_body=True, draw_hand=True, draw_face=True, xinsr_stick_scaling=False):
"""
Draw the detected poses on an empty canvas.
Args:
poses (List[PoseResult]): A list of PoseResult objects containing the detected poses.
H (int): The height of the canvas.
W (int): The width of the canvas.
draw_body (bool, optional): Whether to draw body keypoints. Defaults to True.
draw_hand (bool, optional): Whether to draw hand keypoints. Defaults to True.
draw_face (bool, optional): Whether to draw face keypoints. Defaults to True.
Returns:
numpy.ndarray: A 3D numpy array representing the canvas with the drawn poses.
"""
canvas = np.zeros(shape=(H, W, 3), dtype=np.uint8)
for pose in poses:
if draw_body:
canvas = util.draw_bodypose(canvas, pose.body.keypoints, xinsr_stick_scaling)
if draw_hand:
canvas = util.draw_handpose(canvas, pose.left_hand)
canvas = util.draw_handpose(canvas, pose.right_hand)
if draw_face:
canvas = util.draw_facepose(canvas, pose.face)
return canvas
def decode_json_as_poses(
pose_json: dict,
) -> Tuple[List[PoseResult], List[AnimalPoseResult], int, int]:
"""Decode the json_string complying with the openpose JSON output format
to poses that controlnet recognizes.
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/02_output.md
Args:
json_string: The json string to decode.
Returns:
human_poses
animal_poses
canvas_height
canvas_width
"""
height = pose_json["canvas_height"]
width = pose_json["canvas_width"]
def chunks(lst, n):
"""Yield successive n-sized chunks from lst."""
for i in range(0, len(lst), n):
yield lst[i : i + n]
def decompress_keypoints(
numbers: Optional[List[float]],
) -> Optional[List[Optional[Keypoint]]]:
if not numbers:
return None
assert len(numbers) % 3 == 0
def create_keypoint(x, y, c):
if c < 1.0:
return None
keypoint = Keypoint(x, y)
return keypoint
return [create_keypoint(x, y, c) for x, y, c in chunks(numbers, n=3)]
return (
[
PoseResult(
body=BodyResult(
keypoints=decompress_keypoints(pose.get("pose_keypoints_2d"))
),
left_hand=decompress_keypoints(pose.get("hand_left_keypoints_2d")),
right_hand=decompress_keypoints(pose.get("hand_right_keypoints_2d")),
face=decompress_keypoints(pose.get("face_keypoints_2d")),
)
for pose in pose_json.get("people", [])
],
[decompress_keypoints(pose) for pose in pose_json.get("animals", [])],
height,
width,
)
def encode_poses_as_dict(poses: List[PoseResult], canvas_height: int, canvas_width: int) -> str:
""" Encode the pose as a dict following openpose JSON output format:
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/02_output.md
"""
def compress_keypoints(keypoints: Union[List[Keypoint], None]) -> Union[List[float], None]:
if not keypoints:
return None
return [
value
for keypoint in keypoints
for value in (
[float(keypoint.x), float(keypoint.y), 1.0]
if keypoint is not None
else [0.0, 0.0, 0.0]
)
]
return {
'people': [
{
'pose_keypoints_2d': compress_keypoints(pose.body.keypoints),
"face_keypoints_2d": compress_keypoints(pose.face),
"hand_left_keypoints_2d": compress_keypoints(pose.left_hand),
"hand_right_keypoints_2d":compress_keypoints(pose.right_hand),
}
for pose in poses
],
'canvas_height': canvas_height,
'canvas_width': canvas_width,
}
global_cached_dwpose = Wholebody()
class DwposeDetector:
"""
A class for detecting human poses in images using the Dwpose model.
Attributes:
model_dir (str): Path to the directory where the pose models are stored.
"""
def __init__(self, dw_pose_estimation):
self.dw_pose_estimation = dw_pose_estimation
@classmethod
def from_pretrained(cls, pretrained_model_or_path, pretrained_det_model_or_path=None, det_filename=None, pose_filename=None, torchscript_device="cuda"):
global global_cached_dwpose
pretrained_det_model_or_path = pretrained_det_model_or_path or pretrained_model_or_path
pose_filename = pose_filename or "dw-ll_ucoco_384.onnx"
det_model_path = None
if det_filename is not None:
det_model_path = custom_hf_download(pretrained_det_model_or_path, det_filename)
pose_model_path = custom_hf_download(pretrained_model_or_path, pose_filename)
print(f"\nDWPose: Using {det_filename} for bbox detection and {pose_filename} for pose estimation")
if global_cached_dwpose.det is None or global_cached_dwpose.det_filename != det_filename:
t = Wholebody(det_model_path, None, torchscript_device=torchscript_device)
t.pose = global_cached_dwpose.pose
t.pose_filename = global_cached_dwpose.pose
global_cached_dwpose = t
if global_cached_dwpose.pose is None or global_cached_dwpose.pose_filename != pose_filename:
t = Wholebody(None, pose_model_path, torchscript_device=torchscript_device)
t.det = global_cached_dwpose.det
t.det_filename = global_cached_dwpose.det_filename
global_cached_dwpose = t
return cls(global_cached_dwpose)
def detect_poses(self, oriImg) -> List[PoseResult]:
with torch.no_grad():
keypoints_info = self.dw_pose_estimation(oriImg.copy())
return Wholebody.format_result(keypoints_info)
def __call__(self, input_image, detect_resolution=512, include_body=True, include_hand=False, include_face=False, hand_and_face=None, output_type="pil", image_and_json=False, upscale_method="INTER_CUBIC", xinsr_stick_scaling=False, **kwargs):
if hand_and_face is not None:
warnings.warn("hand_and_face is deprecated. Use include_hand and include_face instead.", DeprecationWarning)
include_hand = hand_and_face
include_face = hand_and_face
input_image, output_type = common_input_validate(input_image, output_type, **kwargs)
input_image, _ = resize_image_with_pad(input_image, 0, upscale_method)
poses = self.detect_poses(input_image)
canvas = draw_poses(poses, input_image.shape[0], input_image.shape[1], draw_body=include_body, draw_hand=include_hand, draw_face=include_face, xinsr_stick_scaling=xinsr_stick_scaling)
canvas, remove_pad = resize_image_with_pad(canvas, detect_resolution, upscale_method)
detected_map = HWC3(remove_pad(canvas))
if output_type == "pil":
detected_map = Image.fromarray(detected_map)
if image_and_json:
return (detected_map, encode_poses_as_dict(poses, input_image.shape[0], input_image.shape[1]))
return detected_map
global_cached_animalpose = AnimalPoseImage()
class AnimalposeDetector:
"""
A class for detecting animal poses in images using the RTMPose AP10k model.
Attributes:
model_dir (str): Path to the directory where the pose models are stored.
"""
def __init__(self, animal_pose_estimation):
self.animal_pose_estimation = animal_pose_estimation
@classmethod
def from_pretrained(cls, pretrained_model_or_path, pretrained_det_model_or_path=None, det_filename="yolox_l.onnx", pose_filename="dw-ll_ucoco_384.onnx", torchscript_device="cuda"):
global global_cached_animalpose
det_model_path = custom_hf_download(pretrained_det_model_or_path, det_filename)
pose_model_path = custom_hf_download(pretrained_model_or_path, pose_filename)
print(f"\nAnimalPose: Using {det_filename} for bbox detection and {pose_filename} for pose estimation")
if global_cached_animalpose.det is None or global_cached_animalpose.det_filename != det_filename:
t = AnimalPoseImage(det_model_path, None, torchscript_device=torchscript_device)
t.pose = global_cached_animalpose.pose
t.pose_filename = global_cached_animalpose.pose
global_cached_animalpose = t
if global_cached_animalpose.pose is None or global_cached_animalpose.pose_filename != pose_filename:
t = AnimalPoseImage(None, pose_model_path, torchscript_device=torchscript_device)
t.det = global_cached_animalpose.det
t.det_filename = global_cached_animalpose.det_filename
global_cached_animalpose = t
return cls(global_cached_animalpose)
def __call__(self, input_image, detect_resolution=512, output_type="pil", image_and_json=False, upscale_method="INTER_CUBIC", **kwargs):
input_image, output_type = common_input_validate(input_image, output_type, **kwargs)
input_image, remove_pad = resize_image_with_pad(input_image, detect_resolution, upscale_method)
result = self.animal_pose_estimation(input_image)
if result is None:
detected_map = np.zeros_like(input_image)
openpose_dict = {
'version': 'ap10k',
'animals': [],
'canvas_height': input_image.shape[0],
'canvas_width': input_image.shape[1]
}
else:
detected_map, openpose_dict = result
detected_map = remove_pad(detected_map)
if output_type == "pil":
detected_map = Image.fromarray(detected_map)
if image_and_json:
return (detected_map, openpose_dict)
return detected_map
@@ -0,0 +1,350 @@
import os
import random
import tempfile
import warnings
from contextlib import suppress
from pathlib import Path
import cv2
import numpy as np
import torch
from huggingface_hub import constants, hf_hub_download
from torch.utils.model_zoo import load_url
from ast import literal_eval
HF_MODEL_NAME = "lllyasviel/Annotators"
DWPOSE_MODEL_NAME = "yzd-v/DWPose"
BDS_MODEL_NAME = "bdsqlsz/qinglong_controlnet-lllite"
DENSEPOSE_MODEL_NAME = "LayerNorm/DensePose-TorchScript-with-hint-image"
MESH_GRAPHORMER_MODEL_NAME = "hr16/ControlNet-HandRefiner-pruned"
SAM_MODEL_NAME = "dhkim2810/MobileSAM"
UNIMATCH_MODEL_NAME = "hr16/Unimatch"
DEPTH_ANYTHING_MODEL_NAME = "LiheYoung/Depth-Anything" #HF Space
DIFFUSION_EDGE_MODEL_NAME = "hr16/Diffusion-Edge"
METRIC3D_MODEL_NAME = "JUGGHM/Metric3D"
DEPTH_ANYTHING_V2_MODEL_NAME_DICT = {
"depth_anything_v2_vits.pth": "depth-anything/Depth-Anything-V2-Small",
"depth_anything_v2_vitb.pth": "depth-anything/Depth-Anything-V2-Base",
"depth_anything_v2_vitl.pth": "depth-anything/Depth-Anything-V2-Large",
"depth_anything_v2_vitg.pth": "depth-anything/Depth-Anything-V2-Giant",
"depth_anything_v2_metric_vkitti_vitl.pth": "depth-anything/Depth-Anything-V2-Metric-VKITTI-Large",
"depth_anything_v2_metric_hypersim_vitl.pth": "depth-anything/Depth-Anything-V2-Metric-Hypersim-Large"
}
temp_dir = tempfile.gettempdir()
annotator_ckpts_path = os.path.join(Path(__file__).parents[2], 'ckpts')
USE_SYMLINKS = False
try:
annotator_ckpts_path = os.environ['AUX_ANNOTATOR_CKPTS_PATH']
except:
warnings.warn("Custom pressesor model path not set successfully.")
pass
try:
USE_SYMLINKS = literal_eval(os.environ['AUX_USE_SYMLINKS'])
except:
warnings.warn("USE_SYMLINKS not set successfully. Using default value: False to download models.")
pass
try:
temp_dir = os.environ['AUX_TEMP_DIR']
if len(temp_dir) >= 60:
warnings.warn(f"custom temp dir is too long. Using default")
temp_dir = tempfile.gettempdir()
except:
warnings.warn(f"custom temp dir not set successfully")
pass
here = Path(__file__).parent.resolve()
def HWC3(x):
assert x.dtype == np.uint8
if x.ndim == 2:
x = x[:, :, None]
assert x.ndim == 3
H, W, C = x.shape
assert C == 1 or C == 3 or C == 4
if C == 3:
return x
if C == 1:
return np.concatenate([x, x, x], axis=2)
if C == 4:
color = x[:, :, 0:3].astype(np.float32)
alpha = x[:, :, 3:4].astype(np.float32) / 255.0
y = color * alpha + 255.0 * (1.0 - alpha)
y = y.clip(0, 255).astype(np.uint8)
return y
def make_noise_disk(H, W, C, F, rng=None):
if rng:
noise = rng.uniform(low=0, high=1, size=((H // F) + 2, (W // F) + 2, C))
else:
noise = np.random.uniform(low=0, high=1, size=((H // F) + 2, (W // F) + 2, C))
noise = cv2.resize(noise, (W + 2 * F, H + 2 * F), interpolation=cv2.INTER_CUBIC)
noise = noise[F: F + H, F: F + W]
noise -= np.min(noise)
noise /= np.max(noise)
if C == 1:
noise = noise[:, :, None]
return noise
def nms(x, t, s):
x = cv2.GaussianBlur(x.astype(np.float32), (0, 0), s)
f1 = np.array([[0, 0, 0], [1, 1, 1], [0, 0, 0]], dtype=np.uint8)
f2 = np.array([[0, 1, 0], [0, 1, 0], [0, 1, 0]], dtype=np.uint8)
f3 = np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]], dtype=np.uint8)
f4 = np.array([[0, 0, 1], [0, 1, 0], [1, 0, 0]], dtype=np.uint8)
y = np.zeros_like(x)
for f in [f1, f2, f3, f4]:
np.putmask(y, cv2.dilate(x, kernel=f) == x, x)
z = np.zeros_like(y, dtype=np.uint8)
z[y > t] = 255
return z
def min_max_norm(x):
x -= np.min(x)
x /= np.maximum(np.max(x), 1e-5)
return x
def safe_step(x, step=2):
y = x.astype(np.float32) * float(step + 1)
y = y.astype(np.int32).astype(np.float32) / float(step)
return y
def img2mask(img, H, W, low=10, high=90):
assert img.ndim == 3 or img.ndim == 2
assert img.dtype == np.uint8
if img.ndim == 3:
y = img[:, :, random.randrange(0, img.shape[2])]
else:
y = img
y = cv2.resize(y, (W, H), interpolation=cv2.INTER_CUBIC)
if random.uniform(0, 1) < 0.5:
y = 255 - y
return y < np.percentile(y, random.randrange(low, high))
def safer_memory(x):
# Fix many MAC/AMD problems
return np.ascontiguousarray(x.copy()).copy()
UPSCALE_METHODS = ["INTER_NEAREST", "INTER_LINEAR", "INTER_AREA", "INTER_CUBIC", "INTER_LANCZOS4"]
def get_upscale_method(method_str):
assert method_str in UPSCALE_METHODS, f"Method {method_str} not found in {UPSCALE_METHODS}"
return getattr(cv2, method_str)
def pad64(x):
return int(np.ceil(float(x) / 64.0) * 64 - x)
#https://github.com/Mikubill/sd-webui-controlnet/blob/main/scripts/processor.py#L17
#Added upscale_method, mode params
def resize_image_with_pad(input_image, resolution, upscale_method = "", skip_hwc3=False, mode='edge'):
if skip_hwc3:
img = input_image
else:
img = HWC3(input_image)
H_raw, W_raw, _ = img.shape
if resolution == 0:
return img, lambda x: x
k = float(resolution) / float(min(H_raw, W_raw))
H_target = int(np.round(float(H_raw) * k))
W_target = int(np.round(float(W_raw) * k))
img = cv2.resize(img, (W_target, H_target), interpolation=get_upscale_method(upscale_method) if k > 1 else cv2.INTER_AREA)
H_pad, W_pad = pad64(H_target), pad64(W_target)
img_padded = np.pad(img, [[0, H_pad], [0, W_pad], [0, 0]], mode=mode)
def remove_pad(x):
return safer_memory(x[:H_target, :W_target, ...])
return safer_memory(img_padded), remove_pad
def common_input_validate(input_image, output_type, **kwargs):
if "img" in kwargs:
warnings.warn("img is deprecated, please use `input_image=...` instead.", DeprecationWarning)
input_image = kwargs.pop("img")
if "return_pil" in kwargs:
warnings.warn("return_pil is deprecated. Use output_type instead.", DeprecationWarning)
output_type = "pil" if kwargs["return_pil"] else "np"
if type(output_type) is bool:
warnings.warn("Passing `True` or `False` to `output_type` is deprecated and will raise an error in future versions")
if output_type:
output_type = "pil"
if input_image is None:
raise ValueError("input_image must be defined.")
if not isinstance(input_image, np.ndarray):
input_image = np.array(input_image, dtype=np.uint8)
output_type = output_type or "pil"
else:
output_type = output_type or "np"
return (input_image, output_type)
def torch_gc():
if torch.cuda.is_available():
torch.cuda.empty_cache()
torch.cuda.ipc_collect()
def ade_palette():
"""ADE20K palette that maps each class to RGB values."""
return [[120, 120, 120], [180, 120, 120], [6, 230, 230], [80, 50, 50],
[4, 200, 3], [120, 120, 80], [140, 140, 140], [204, 5, 255],
[230, 230, 230], [4, 250, 7], [224, 5, 255], [235, 255, 7],
[150, 5, 61], [120, 120, 70], [8, 255, 51], [255, 6, 82],
[143, 255, 140], [204, 255, 4], [255, 51, 7], [204, 70, 3],
[0, 102, 200], [61, 230, 250], [255, 6, 51], [11, 102, 255],
[255, 7, 71], [255, 9, 224], [9, 7, 230], [220, 220, 220],
[255, 9, 92], [112, 9, 255], [8, 255, 214], [7, 255, 224],
[255, 184, 6], [10, 255, 71], [255, 41, 10], [7, 255, 255],
[224, 255, 8], [102, 8, 255], [255, 61, 6], [255, 194, 7],
[255, 122, 8], [0, 255, 20], [255, 8, 41], [255, 5, 153],
[6, 51, 255], [235, 12, 255], [160, 150, 20], [0, 163, 255],
[140, 140, 140], [250, 10, 15], [20, 255, 0], [31, 255, 0],
[255, 31, 0], [255, 224, 0], [153, 255, 0], [0, 0, 255],
[255, 71, 0], [0, 235, 255], [0, 173, 255], [31, 0, 255],
[11, 200, 200], [255, 82, 0], [0, 255, 245], [0, 61, 255],
[0, 255, 112], [0, 255, 133], [255, 0, 0], [255, 163, 0],
[255, 102, 0], [194, 255, 0], [0, 143, 255], [51, 255, 0],
[0, 82, 255], [0, 255, 41], [0, 255, 173], [10, 0, 255],
[173, 255, 0], [0, 255, 153], [255, 92, 0], [255, 0, 255],
[255, 0, 245], [255, 0, 102], [255, 173, 0], [255, 0, 20],
[255, 184, 184], [0, 31, 255], [0, 255, 61], [0, 71, 255],
[255, 0, 204], [0, 255, 194], [0, 255, 82], [0, 10, 255],
[0, 112, 255], [51, 0, 255], [0, 194, 255], [0, 122, 255],
[0, 255, 163], [255, 153, 0], [0, 255, 10], [255, 112, 0],
[143, 255, 0], [82, 0, 255], [163, 255, 0], [255, 235, 0],
[8, 184, 170], [133, 0, 255], [0, 255, 92], [184, 0, 255],
[255, 0, 31], [0, 184, 255], [0, 214, 255], [255, 0, 112],
[92, 255, 0], [0, 224, 255], [112, 224, 255], [70, 184, 160],
[163, 0, 255], [153, 0, 255], [71, 255, 0], [255, 0, 163],
[255, 204, 0], [255, 0, 143], [0, 255, 235], [133, 255, 0],
[255, 0, 235], [245, 0, 255], [255, 0, 122], [255, 245, 0],
[10, 190, 212], [214, 255, 0], [0, 204, 255], [20, 0, 255],
[255, 255, 0], [0, 153, 255], [0, 41, 255], [0, 255, 204],
[41, 0, 255], [41, 255, 0], [173, 0, 255], [0, 245, 255],
[71, 0, 255], [122, 0, 255], [0, 255, 184], [0, 92, 255],
[184, 255, 0], [0, 133, 255], [255, 214, 0], [25, 194, 194],
[102, 255, 0], [92, 0, 255]]
#https://stackoverflow.com/a/44873382
#Assume that the minimum version of Python ppl use is 3.9
def sha256sum(file_path):
import hashlib
h = hashlib.sha256()
b = bytearray(128*1024)
mv = memoryview(b)
with open(file_path, 'rb', buffering=0) as f:
while n := f.readinto(mv):
h.update(mv[:n])
return h.hexdigest()
def check_hash_from_torch_hub(file_path, filename):
basename, _ = filename.split('.')
_, ref_hash = basename.split('-')
curr_hash = sha256sum(file_path)
return curr_hash[:len(ref_hash)] == ref_hash
def custom_torch_download(filename, ckpts_dir=annotator_ckpts_path):
"""Download PyTorch models using PyTorch 2.7's built-in download mechanism."""
model_url = "https://download.pytorch.org/models/" + filename
# Use PyTorch's built-in model downloading with custom cache directory
local_dir = os.path.join(ckpts_dir, "torch")
if not os.path.exists(local_dir):
os.makedirs(local_dir, exist_ok=True)
model_path = os.path.join(local_dir, filename)
if not os.path.exists(model_path):
print(f"Downloading {filename} from pytorch.org...")
try:
# Use PyTorch 2.7's load_url which handles caching, progress, and hash checking
state_dict = load_url(model_url, model_dir=local_dir, file_name=filename, progress=True, check_hash=True)
# The file is already saved by load_url, we just need the path
except Exception as e:
warnings.warn(f"Download failed with error: {e}")
raise
print(f"model_path is {model_path}")
return model_path
def custom_hf_download(pretrained_model_or_path, filename, cache_dir=temp_dir, ckpts_dir=annotator_ckpts_path, subfolder='', use_symlinks=USE_SYMLINKS, repo_type="model"):
local_dir = os.path.join(ckpts_dir, pretrained_model_or_path)
model_path = Path(local_dir).joinpath(*subfolder.split('/'), filename).__str__()
if len(str(model_path)) >= 255:
warnings.warn(f"Path {model_path} is too long, \n please change annotator_ckpts_path in config.yaml")
if not os.path.exists(model_path):
print(f"Failed to find {model_path}.\n Downloading from huggingface.co")
print(f"cacher folder is {cache_dir}, you can change it by custom_tmp_path in config.yaml")
if use_symlinks:
cache_dir_d = constants.HF_HUB_CACHE # use huggingface newer env variables `HF_HUB_CACHE`
if cache_dir_d is None:
import platform
if platform.system() == "Windows":
cache_dir_d = Path(os.getenv("USERPROFILE")).joinpath(".cache", "huggingface", "hub").__str__()
else:
cache_dir_d = os.path.join(os.getenv("HOME"), ".cache", "huggingface", "hub")
try:
# test_link
Path(cache_dir_d).mkdir(parents=True, exist_ok=True)
Path(ckpts_dir).mkdir(parents=True, exist_ok=True)
(Path(cache_dir_d) / f"linktest_{filename}.txt").touch()
# symlink instead of link avoid `invalid cross-device link` error.
os.symlink(os.path.join(cache_dir_d, f"linktest_{filename}.txt"), os.path.join(ckpts_dir, f"linktest_{filename}.txt"))
print("Using symlinks to download models. \n",\
"Make sure you have enough space on your cache folder. \n",\
"And do not purge the cache folder after downloading.\n",\
"Otherwise, you will have to re-download the models every time you run the script.\n",\
"You can use USE_SYMLINKS: False in config.yaml to avoid this behavior.")
except:
print("Maybe not able to create symlink. Disable using symlinks.")
use_symlinks = False
cache_dir_d = Path(cache_dir).joinpath("ckpts", pretrained_model_or_path).__str__()
finally: # always remove test link files
with suppress(FileNotFoundError):
os.remove(os.path.join(ckpts_dir, f"linktest_{filename}.txt"))
os.remove(os.path.join(cache_dir_d, f"linktest_{filename}.txt"))
else:
cache_dir_d = os.path.join(cache_dir, "ckpts", pretrained_model_or_path)
model_path = hf_hub_download(repo_id=pretrained_model_or_path,
cache_dir=cache_dir_d,
local_dir=local_dir,
subfolder=subfolder,
filename=filename,
local_dir_use_symlinks=use_symlinks,
resume_download=True,
etag_timeout=100,
repo_type=repo_type
)
if not use_symlinks:
try:
import shutil
shutil.rmtree(os.path.join(cache_dir, "ckpts"))
except Exception as e :
print(e)
print(f"model_path is {model_path}")
return model_path
@@ -0,0 +1,250 @@
import torch
import numpy as np
import os
import cv2
import yaml
from pathlib import Path
from enum import Enum
from .log import log
import subprocess
import threading
import comfy
import tempfile
here = Path(__file__).parent.resolve()
config_path = Path(here, "config.yaml")
if os.path.exists(config_path):
config = yaml.load(open(config_path, "r"), Loader=yaml.FullLoader)
annotator_ckpts_path = str(Path(here, config["annotator_ckpts_path"]))
TEMP_DIR = config["custom_temp_path"]
USE_SYMLINKS = config["USE_SYMLINKS"]
ORT_PROVIDERS = config["EP_list"]
if USE_SYMLINKS is None or type(USE_SYMLINKS) != bool:
log.error("USE_SYMLINKS must be a boolean. Using False by default.")
USE_SYMLINKS = False
if TEMP_DIR is None:
TEMP_DIR = tempfile.gettempdir()
elif not os.path.isdir(TEMP_DIR):
try:
os.makedirs(TEMP_DIR)
except:
log.error("Failed to create custom temp directory. Using default.")
TEMP_DIR = tempfile.gettempdir()
if not os.path.isdir(annotator_ckpts_path):
try:
os.makedirs(annotator_ckpts_path)
except:
log.error("Failed to create config ckpts directory. Using default.")
annotator_ckpts_path = str(Path(here, "./ckpts"))
else:
annotator_ckpts_path = str(Path(here, "./ckpts"))
TEMP_DIR = tempfile.gettempdir()
USE_SYMLINKS = False
ORT_PROVIDERS = ["CUDAExecutionProvider", "DirectMLExecutionProvider", "OpenVINOExecutionProvider", "ROCMExecutionProvider", "CPUExecutionProvider", "CoreMLExecutionProvider"]
os.environ['AUX_ANNOTATOR_CKPTS_PATH'] = os.getenv('AUX_ANNOTATOR_CKPTS_PATH', annotator_ckpts_path)
os.environ['AUX_TEMP_DIR'] = os.getenv('AUX_TEMP_DIR', str(TEMP_DIR))
os.environ['AUX_USE_SYMLINKS'] = os.getenv('AUX_USE_SYMLINKS', str(USE_SYMLINKS))
os.environ['AUX_ORT_PROVIDERS'] = os.getenv('AUX_ORT_PROVIDERS', str(",".join(ORT_PROVIDERS)))
log.info(f"Using ckpts path: {annotator_ckpts_path}")
log.info(f"Using symlinks: {USE_SYMLINKS}")
log.info(f"Using ort providers: {ORT_PROVIDERS}")
# Sync with theoritical limit from Comfy base
# https://github.com/comfyanonymous/ComfyUI/blob/eecd69b53a896343775bcb02a4f8349e7442ffd1/nodes.py#L45
MAX_RESOLUTION=16384
def common_annotator_call(model, tensor_image, input_batch=False, show_pbar=True, **kwargs):
if "detect_resolution" in kwargs:
del kwargs["detect_resolution"] #Prevent weird case?
if "resolution" in kwargs:
detect_resolution = kwargs["resolution"] if type(kwargs["resolution"]) == int and kwargs["resolution"] >= 64 else 512
del kwargs["resolution"]
else:
detect_resolution = 512
if input_batch:
np_images = np.asarray(tensor_image * 255., dtype=np.uint8)
np_results = model(np_images, output_type="np", detect_resolution=detect_resolution, **kwargs)
return torch.from_numpy(np_results.astype(np.float32) / 255.0)
batch_size = tensor_image.shape[0]
if show_pbar:
pbar = comfy.utils.ProgressBar(batch_size)
out_tensor = None
for i, image in enumerate(tensor_image):
np_image = np.asarray(image.cpu() * 255., dtype=np.uint8)
np_result = model(np_image, output_type="np", detect_resolution=detect_resolution, **kwargs)
out = torch.from_numpy(np_result.astype(np.float32) / 255.0)
if out_tensor is None:
out_tensor = torch.zeros(batch_size, *out.shape, dtype=torch.float32)
out_tensor[i] = out
if show_pbar:
pbar.update(1)
return out_tensor
def define_preprocessor_inputs(**arguments):
return dict(
required=dict(image=INPUT.IMAGE()),
optional=arguments
)
class INPUT(Enum):
def IMAGE():
return ("IMAGE",)
def LATENT():
return ("LATENT",)
def MASK():
return ("MASK",)
def SEED(default=0):
return ("INT", dict(default=default, min=0, max=0xffffffffffffffff))
def RESOLUTION(default=512, min=64, max=MAX_RESOLUTION, step=64):
return ("INT", dict(default=default, min=min, max=max, step=step))
def INT(default=0, min=0, max=MAX_RESOLUTION, step=1):
return ("INT", dict(default=default, min=min, max=max, step=step))
def FLOAT(default=0, min=0, max=1, step=0.01):
return ("FLOAT", dict(default=default, min=min, max=max, step=step))
def STRING(default='', multiline=False):
return ("STRING", dict(default=default, multiline=multiline))
def COMBO(values, default=None):
return (values, dict(default=values[0] if default is None else default))
def BOOLEAN(default=True):
return ("BOOLEAN", dict(default=default))
class ResizeMode(Enum):
"""
Resize modes for ControlNet input images.
"""
RESIZE = "Just Resize"
INNER_FIT = "Crop and Resize"
OUTER_FIT = "Resize and Fill"
def int_value(self):
if self == ResizeMode.RESIZE:
return 0
elif self == ResizeMode.INNER_FIT:
return 1
elif self == ResizeMode.OUTER_FIT:
return 2
assert False, "NOTREACHED"
#https://github.com/Mikubill/sd-webui-controlnet/blob/e67e017731aad05796b9615dc6eadce911298ea1/internal_controlnet/external_code.py#L89
#Replaced logger with internal log
def pixel_perfect_resolution(
image: np.ndarray,
target_H: int,
target_W: int,
resize_mode: ResizeMode,
) -> int:
"""
Calculate the estimated resolution for resizing an image while preserving aspect ratio.
The function first calculates scaling factors for height and width of the image based on the target
height and width. Then, based on the chosen resize mode, it either takes the smaller or the larger
scaling factor to estimate the new resolution.
If the resize mode is OUTER_FIT, the function uses the smaller scaling factor, ensuring the whole image
fits within the target dimensions, potentially leaving some empty space.
If the resize mode is not OUTER_FIT, the function uses the larger scaling factor, ensuring the target
dimensions are fully filled, potentially cropping the image.
After calculating the estimated resolution, the function prints some debugging information.
Args:
image (np.ndarray): A 3D numpy array representing an image. The dimensions represent [height, width, channels].
target_H (int): The target height for the image.
target_W (int): The target width for the image.
resize_mode (ResizeMode): The mode for resizing.
Returns:
int: The estimated resolution after resizing.
"""
raw_H, raw_W, _ = image.shape
k0 = float(target_H) / float(raw_H)
k1 = float(target_W) / float(raw_W)
if resize_mode == ResizeMode.OUTER_FIT:
estimation = min(k0, k1) * float(min(raw_H, raw_W))
else:
estimation = max(k0, k1) * float(min(raw_H, raw_W))
log.debug(f"Pixel Perfect Computation:")
log.debug(f"resize_mode = {resize_mode}")
log.debug(f"raw_H = {raw_H}")
log.debug(f"raw_W = {raw_W}")
log.debug(f"target_H = {target_H}")
log.debug(f"target_W = {target_W}")
log.debug(f"estimation = {estimation}")
return int(np.round(estimation))
#https://github.com/Mikubill/sd-webui-controlnet/blob/e67e017731aad05796b9615dc6eadce911298ea1/scripts/controlnet.py#L404
def safe_numpy(x):
# A very safe method to make sure that Apple/Mac works
y = x
# below is very boring but do not change these. If you change these Apple or Mac may fail.
y = y.copy()
y = np.ascontiguousarray(y)
y = y.copy()
return y
#https://github.com/Mikubill/sd-webui-controlnet/blob/e67e017731aad05796b9615dc6eadce911298ea1/scripts/utils.py#L140
def get_unique_axis0(data):
arr = np.asanyarray(data)
idxs = np.lexsort(arr.T)
arr = arr[idxs]
unique_idxs = np.empty(len(arr), dtype=np.bool_)
unique_idxs[:1] = True
unique_idxs[1:] = np.any(arr[:-1, :] != arr[1:, :], axis=-1)
return arr[unique_idxs]
#Ref: https://github.com/ltdrdata/ComfyUI-Manager/blob/284e90dc8296a2e1e4f14b4b2d10fba2f52f0e53/__init__.py#L14
def handle_stream(stream, prefix):
for line in stream:
print(prefix, line, end="")
def run_script(cmd, cwd='.'):
process = subprocess.Popen(cmd, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True, bufsize=1)
stdout_thread = threading.Thread(target=handle_stream, args=(process.stdout, ""))
stderr_thread = threading.Thread(target=handle_stream, args=(process.stderr, "[!]"))
stdout_thread.start()
stderr_thread.start()
stdout_thread.join()
stderr_thread.join()
return process.wait()
def nms(x, t, s):
x = cv2.GaussianBlur(x.astype(np.float32), (0, 0), s)
f1 = np.array([[0, 0, 0], [1, 1, 1], [0, 0, 0]], dtype=np.uint8)
f2 = np.array([[0, 1, 0], [0, 1, 0], [0, 1, 0]], dtype=np.uint8)
f3 = np.array([[1, 0, 0], [0, 1, 0], [0, 0, 1]], dtype=np.uint8)
f4 = np.array([[0, 0, 1], [0, 1, 0], [1, 0, 0]], dtype=np.uint8)
y = np.zeros_like(x)
for f in [f1, f2, f3, f4]:
np.putmask(y, cv2.dilate(x, kernel=f) == x, x)
z = np.zeros_like(y, dtype=np.uint8)
z[y > t] = 255
return z
@@ -0,0 +1 @@
[]
@@ -0,0 +1,6 @@
tree 6b33dee43849c0d19c79d47c0e4e65b8116a9ca6
parent 21b3c15040d1eb9839f0a713a4edd3ee4a2b523d
author yolain <yolain@163.com> 1769149114 +0800
committer yolain <yolain@163.com> 1769149114 +0800
Bump Version
@@ -0,0 +1,5 @@
{
"ref": "refs/tags/v1.3.6",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"object": "b5e31ef12ad9d0b187b545c2707735cc7d581c52"
}
@@ -0,0 +1,6 @@
tree 6b33dee43849c0d19c79d47c0e4e65b8116a9ca6
parent 21b3c15040d1eb9839f0a713a4edd3ee4a2b523d
author yolain <yolain@163.com> 1769149114 +0800
committer yolain <yolain@163.com> 1769149114 +0800
Bump Version
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,95 @@
__version__ = "1.3.6"
import yaml
import json
import os
import folder_paths
import importlib
cwd_path = os.path.dirname(os.path.realpath(__file__))
comfy_path = folder_paths.base_path
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
importlib.import_module('.py.routes', __name__)
importlib.import_module('.py.server', __name__)
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
for module_name in nodes_list:
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
#Wildcards
from .py.libs.wildcards import read_wildcard_dict
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
if not os.path.exists(wildcards_path):
os.mkdir(wildcards_path)
# Add custom wildcards example
example_path = os.path.join(wildcards_path, "example.txt")
if not os.path.exists(example_path):
with open(example_path, 'w') as f:
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
f.write(text)
read_wildcard_dict(wildcards_path)
#Styles
styles_path = os.path.join(os.path.dirname(__file__), "styles")
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
if os.path.exists(styles_path):
if not os.path.exists(samples_path):
os.mkdir(samples_path)
else:
os.mkdir(styles_path)
os.mkdir(samples_path)
# Add custom styles example
example_path = os.path.join(styles_path, "your_styles.json.example")
if not os.path.exists(example_path):
import json
data = [
{
"name": "Example Style",
"name_cn": "示例样式",
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
"negative_prompt": "text, watermark, logo"
},
]
# Write to file
with open(example_path, 'w', encoding='utf-8') as f:
json.dump(data, f, indent=4, ensure_ascii=False)
web_default_version = 'v2'
# web directory
config_path = os.path.join(cwd_path, "config.yaml")
if os.path.isfile(config_path):
with open(config_path, 'r') as f:
data = yaml.load(f, Loader=yaml.FullLoader)
if data and "WEB_VERSION" in data:
directory = f"web_version/{data['WEB_VERSION']}"
with open(config_path, 'w') as f:
yaml.dump(data, f)
elif web_default_version != 'v1':
if not data:
data = {'WEB_VERSION': web_default_version}
elif 'WEB_VERSION' not in data:
data = {**data, 'WEB_VERSION': web_default_version}
with open(config_path, 'w') as f:
yaml.dump(data, f)
directory = f"web_version/{web_default_version}"
else:
directory = f"web_version/v1"
if not os.path.exists(os.path.join(cwd_path, directory)):
print(f"web root {data['WEB_VERSION']} not found, using default")
directory = f"web_version/{web_default_version}"
WEB_DIRECTORY = directory
else:
directory = f"web_version/{web_default_version}"
WEB_DIRECTORY = directory
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
@@ -0,0 +1,282 @@
class AlwaysEqualProxy(str):
def __eq__(self, _):
return True
def __ne__(self, _):
return False
class TautologyStr(str):
def __ne__(self, other):
return False
class ByPassTypeTuple(tuple):
def __getitem__(self, index):
if index>0:
index=0
item = super().__getitem__(index)
if isinstance(item, str):
return TautologyStr(item)
return item
comfy_ui_revision = None
def get_comfyui_revision():
try:
import git
import os
import folder_paths
repo = git.Repo(os.path.dirname(folder_paths.__file__))
comfy_ui_revision = len(list(repo.iter_commits('HEAD')))
except:
comfy_ui_revision = "Unknown"
return comfy_ui_revision
import sys
import importlib.util
import importlib.metadata
import comfy.model_management as mm
import gc
from packaging import version
from server import PromptServer
def is_package_installed(package):
try:
module = importlib.util.find_spec(package)
return module is not None
except ImportError as e:
print(e)
return False
def install_package(package, v=None, compare=True, compare_version=None):
run_install = True
if is_package_installed(package):
try:
installed_version = importlib.metadata.version(package)
if v is not None:
if compare_version is None:
compare_version = v
if not compare or version.parse(installed_version) >= version.parse(compare_version):
run_install = False
else:
run_install = False
except:
run_install = False
if run_install:
import subprocess
package_command = package + '==' + v if v is not None else package
PromptServer.instance.send_sync("easyuse-toast", {'content': f"Installing {package_command}...", 'duration': 5000})
result = subprocess.run([sys.executable, '-s', '-m', 'pip', 'install', package_command], capture_output=True, text=True)
if result.returncode == 0:
PromptServer.instance.send_sync("easyuse-toast", {'content': f"{package} installed successfully", 'type': 'success', 'duration': 5000})
print(f"Package {package} installed successfully")
return True
else:
PromptServer.instance.send_sync("easyuse-toast", {'content': f"{package} installed failed", 'type': 'error', 'duration': 5000})
print(f"Package {package} installed failed")
return False
else:
return False
def compare_revision(num):
global comfy_ui_revision
if not comfy_ui_revision:
comfy_ui_revision = get_comfyui_revision()
return True if comfy_ui_revision == 'Unknown' or int(comfy_ui_revision) >= num else False
def find_tags(string: str, sep="/") -> list[str]:
"""
find tags from string use the sep for split
Note: string may contain the \\ or / for path separator
"""
if not string:
return []
string = string.replace("\\", "/")
while "//" in string:
string = string.replace("//", "/")
if string and sep in string:
return string.split(sep)[:-1]
return []
from comfy.model_base import BaseModel
import comfy.supported_models
import comfy.supported_models_base
def get_sd_version(model):
base: BaseModel = model.model
model_config: comfy.supported_models.supported_models_base.BASE = base.model_config
if isinstance(model_config, comfy.supported_models.SDXL):
return 'sdxl'
elif isinstance(model_config, comfy.supported_models.SDXLRefiner):
return 'sdxl_refiner'
elif isinstance(
model_config, (comfy.supported_models.SD15, comfy.supported_models.SD20)
):
return 'sd1'
elif isinstance(
model_config, (comfy.supported_models.SVD_img2vid)
):
return 'svd'
elif isinstance(model_config, comfy.supported_models.SD3):
return 'sd3'
elif isinstance(model_config, comfy.supported_models.HunyuanDiT):
return 'hydit'
elif isinstance(model_config, comfy.supported_models.Flux):
return 'flux'
elif isinstance(model_config, comfy.supported_models.GenmoMochi):
return 'mochi'
else:
return 'unknown'
def find_nearest_steps(clip_id, prompt):
"""Find the nearest KSampler or preSampling node that references the given id."""
def check_link_to_clip(node_id, clip_id, visited=None, node=None):
"""Check if a given node links directly or indirectly to a loader node."""
if visited is None:
visited = set()
if node_id in visited:
return False
visited.add(node_id)
if "pipe" in node["inputs"]:
link_ids = node["inputs"]["pipe"]
for id in link_ids:
if id != 0 and id == str(clip_id):
return True
return False
for id in prompt:
node = prompt[id]
if "Sampler" in node["class_type"] or "sampler" in node["class_type"] or "Sampling" in node["class_type"]:
# Check if this KSampler node directly or indirectly references the given CLIPTextEncode node
if check_link_to_clip(id, clip_id, None, node):
steps = node["inputs"]["steps"] if "steps" in node["inputs"] else 1
return steps
return 1
def find_wildcards_seed(clip_id, text, prompt):
""" Find easy wildcards seed value"""
def find_link_clip_id(id, seed, wildcard_id):
node = prompt[id]
if "positive" in node['inputs']:
link_ids = node["inputs"]["positive"]
if type(link_ids) == list:
for id in link_ids:
if id != 0:
if id == wildcard_id:
wildcard_node = prompt[wildcard_id]
seed = wildcard_node["inputs"]["seed"] if "seed" in wildcard_node["inputs"] else None
if seed is None:
seed = wildcard_node["inputs"]["seed_num"] if "seed_num" in wildcard_node["inputs"] else None
return seed
else:
return find_link_clip_id(id, seed, wildcard_id)
else:
return None
else:
return None
if "__" in text:
seed = None
for id in prompt:
node = prompt[id]
if "wildcards" in node["class_type"]:
wildcard_id = id
return find_link_clip_id(str(clip_id), seed, wildcard_id)
return seed
else:
return None
def is_linked_styles_selector(prompt, unique_id, prompt_type='positive'):
unique_id = unique_id.split('.')[len(unique_id.split('.')) - 1] if "." in unique_id else unique_id
inputs_values = prompt[unique_id]['inputs'][prompt_type] if prompt_type in prompt[unique_id][
'inputs'] else None
if type(inputs_values) == list and inputs_values != 'undefined' and inputs_values[0]:
return True if prompt[inputs_values[0]] and prompt[inputs_values[0]]['class_type'] == 'easy stylesSelector' else False
else:
return False
use_mirror = False
def get_local_filepath(url, dirname, local_file_name=None):
"""Get local file path when is already downloaded or download it"""
import os
from server import PromptServer
from urllib.parse import urlparse
from torch.hub import download_url_to_file
global use_mirror
if not os.path.exists(dirname):
os.makedirs(dirname)
if not local_file_name:
parsed_url = urlparse(url)
local_file_name = os.path.basename(parsed_url.path)
destination = os.path.join(dirname, local_file_name)
if not os.path.exists(destination):
try:
if use_mirror:
url = url.replace('huggingface.co', 'hf-mirror.com')
print(f'downloading {url} to {destination}')
PromptServer.instance.send_sync("easyuse-toast", {'content': f'Downloading model to {destination}, please wait...', 'duration': 10000})
download_url_to_file(url, destination)
except Exception as e:
use_mirror = True
url = url.replace('huggingface.co', 'hf-mirror.com')
print(f'Unable to download from huggingface, trying mirror: {url}')
PromptServer.instance.send_sync("easyuse-toast", {'content': f'Unable to connect to huggingface, trying mirror: {url}', 'duration': 10000})
try:
download_url_to_file(url, destination)
except Exception as err:
error_msg = str(err.args[0]) if err.args else str(err)
PromptServer.instance.send_sync("easyuse-toast",
{'content': f'Unable to download model from {url}', 'type':'error'})
raise Exception(f'Download failed. Original URL and mirror both failed.\nError: {error_msg}')
return destination
def to_lora_patch_dict(state_dict: dict) -> dict:
""" Convert raw lora state_dict to patch_dict that can be applied on
modelpatcher."""
patch_dict = {}
for k, w in state_dict.items():
model_key, patch_type, weight_index = k.split('::')
if model_key not in patch_dict:
patch_dict[model_key] = {}
if patch_type not in patch_dict[model_key]:
patch_dict[model_key][patch_type] = [None] * 16
patch_dict[model_key][patch_type][int(weight_index)] = w
patch_flat = {}
for model_key, v in patch_dict.items():
for patch_type, weight_list in v.items():
patch_flat[model_key] = (patch_type, weight_list)
return patch_flat
def easySave(images, filename_prefix, output_type, prompt=None, extra_pnginfo=None):
"""Save or Preview Image"""
from nodes import PreviewImage, SaveImage
if output_type in ["Hide", "None"]:
return list()
elif output_type in ["Preview", "Preview&Choose"]:
filename_prefix = 'easyPreview'
results = PreviewImage().save_images(images, filename_prefix, prompt, extra_pnginfo)
return results['ui']['images']
else:
results = SaveImage().save_images(images, filename_prefix, prompt, extra_pnginfo)
return results['ui']['images']
def getMetadata(filepath):
with open(filepath, "rb") as file:
# https://github.com/huggingface/safetensors#format
# 8 bytes: N, an unsigned little-endian 64-bit integer, containing the size of the header
header_size = int.from_bytes(file.read(8), "little", signed=False)
if header_size <= 0:
raise BufferError("Invalid header size")
header = file.read(header_size)
if header_size <= 0:
raise BufferError("Invalid header")
return header
def cleanGPUUsedForce():
gc.collect()
mm.unload_all_models()
mm.soft_empty_cache()
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,372 @@
{
"sources": [
{
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "image_comparer.py",
"local_file": "comparer__image_comparer.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/image_comparer.py",
"sha256": "e292e0343a02a90cb73a594b0500a5806bd1e99aef8b717224cf5443f6b26642",
"git_blob_sha1": "1f7aa5084effc0ec7998d16d4856216ccd4c6a54",
"acquisition_time": "2026-10-31T00:20:27.928716+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "web/js/image_comparer.js",
"local_file": "comparer__web__js__image_comparer.js",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/web/js/image_comparer.js",
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
"git_blob_sha1": "4c5d6b8d8f33f53387d8e385ba6d9ffe4ed4caba",
"acquisition_time": "2026-10-31T00:20:27.931437+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "__init__.py",
"local_file": "comparer____init__.py",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/__init__.py",
"sha256": "17048cb4c296eac73c68e3d5d3565b95e22bffadfd95c45cb4b7c769f5d89e7f",
"git_blob_sha1": "3fa69fca9a8d18557b14b053fda1989caf821746",
"acquisition_time": "2026-10-31T00:20:27.933925+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "comparer",
"repo": "aining2022/ComfyUI_Swwan",
"file": "LICENSE",
"local_file": "comparer__LICENSE",
"commit": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"tree": "abfc66b11c94d7a6da31a755bc2a096825566fc9",
"tag": "881bc91790da6b907d3d28e5b91b295b9aef06ee",
"url": "https://raw.githubusercontent.com/aining2022/ComfyUI_Swwan/881bc91790da6b907d3d28e5b91b295b9aef06ee/LICENSE",
"sha256": "ad35c0c38c2f8c88b35effa368bdb3dc2f74cf4e475ad0e21a6514ec64553ee4",
"git_blob_sha1": "232ae139df1a325b6f3c62b33cc2132bee147a93",
"acquisition_time": "2026-10-31T00:20:27.936079+00:00",
"license_file": "comparer__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "core__nodes.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/nodes.py",
"sha256": "d3f0f179d0a9cf94092744740af06b3cf852576868358e2dbb2e01a137626bbd",
"git_blob_sha1": "f19d5fd1c3b6fd879fd9de904fe13c3a092ac064",
"acquisition_time": "2026-10-31T00:20:28.972685+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "node_helpers.py",
"local_file": "core__node_helpers.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/node_helpers.py",
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
"git_blob_sha1": "4ff960ef8afeadd935b6e48a9a683b7ef6970b2f",
"acquisition_time": "2026-10-31T00:20:28.973872+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/utils.py",
"local_file": "core__comfy__utils.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/comfy/utils.py",
"sha256": "90321d00a7f70925f94ef816a3b8c7a8d094526411ddf182bd936740bd5f28d5",
"git_blob_sha1": "2e33a42587ee5dd88861490df5805365d8ffa2e4",
"acquisition_time": "2026-10-31T00:20:28.975297+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_io.py",
"local_file": "core__comfy_api__latest___io.py",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/comfy_api/latest/_io.py",
"sha256": "06fd59e1f8fcb8aa1f3cd862abfc0a8acc40f7b0b12ac0040b0708a9b5ef2f8c",
"git_blob_sha1": "e6a0d1821e0b3145c62b03c0b7fa39da9a3fce21",
"acquisition_time": "2026-10-31T00:20:28.979005+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "core__LICENSE",
"commit": "8f40b43e0204d5b9780f3e9618e140e929e80594",
"tree": "3a98824ee41cac4afc6d1782c995b672f34fbe05",
"tag": "v0.9.2",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/8f40b43e0204d5b9780f3e9618e140e929e80594/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T00:20:28.981949+00:00",
"license_file": "core__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "node_wrappers/dwpose.py",
"local_file": "dw__node_wrappers__dwpose.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/node_wrappers/dwpose.py",
"sha256": "3b08fb623ea3898cedf864e96cfd7993265101100a3dd9666a6c66b03c15e481",
"git_blob_sha1": "f0422588a42157be5996d2c8acd79c863bf9efc9",
"acquisition_time": "2026-10-31T00:20:30.025067+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "src/custom_controlnet_aux/dwpose/__init__.py",
"local_file": "dw__src__custom_controlnet_aux__dwpose____init__.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/src/custom_controlnet_aux/dwpose/__init__.py",
"sha256": "11733916809df84a53cfe98c3a2a448ab953f085b89280860cfffa053201cae3",
"git_blob_sha1": "a9152befb0a544a91de5a9b131a6fece63020a62",
"acquisition_time": "2026-10-31T00:20:30.026374+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "src/custom_controlnet_aux/util.py",
"local_file": "dw__src__custom_controlnet_aux__util.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/src/custom_controlnet_aux/util.py",
"sha256": "956ff6eb649148c98e68591824e9d029be527ea8f52eb1841b1b1c9f18f37b34",
"git_blob_sha1": "fee98aea453f06dd4cc057900e5d77dda91bd618",
"acquisition_time": "2026-10-31T00:20:30.027331+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "utils.py",
"local_file": "dw__utils.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/utils.py",
"sha256": "7d217c7ba934556ee0ffa2ff8cd7a705873381b274db179623c11b829f71a375",
"git_blob_sha1": "cf3dd6e693ba379ef4714745bddeca88d0b633f9",
"acquisition_time": "2026-10-31T00:20:30.029625+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "__init__.py",
"local_file": "dw____init__.py",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/__init__.py",
"sha256": "9a5786ef9569223acd235676c08297aff78b2de1e46ab69c96665222b8c2a4b4",
"git_blob_sha1": "0de222b1bcab8a10fc4da2af24b305381cea8002",
"acquisition_time": "2026-10-31T00:20:30.031984+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "LICENSE.txt",
"local_file": "dw__LICENSE.txt",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/LICENSE.txt",
"sha256": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
"git_blob_sha1": "261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64",
"acquisition_time": "2026-10-31T00:20:30.693630+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "dw",
"repo": "Fannovel16/comfyui_controlnet_aux",
"file": "src/custom_controlnet_aux/dwpose/LICENSE",
"local_file": "dw__src__custom_controlnet_aux__dwpose__LICENSE",
"commit": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"tree": "40a3bf2ebd419a524f8c20ae0031c3c6fa4888d7",
"tag": "cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1",
"url": "https://raw.githubusercontent.com/Fannovel16/comfyui_controlnet_aux/cc6b232f4a47f0cdf70f4e1bfa24b74bd0d75bf1/src/custom_controlnet_aux/dwpose/LICENSE",
"sha256": "33c27cd37e3dce7099b1eac2fa02e966e58b69b4c7d90e7e2855ea9021d8e2b2",
"git_blob_sha1": "6f60b76d35fa1012809985780964a5068adce4fd",
"acquisition_time": "2026-10-31T00:20:31.343046+00:00",
"license_file": "dw__LICENSE.txt",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "painter",
"repo": "princepainter/ComfyUI-PainterNodes",
"file": "PainterFluxImageEdit.py",
"local_file": "painter__PainterFluxImageEdit.py",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"tag": "88af927351c1f16f913104fc7aec3bb880baa2df",
"url": "https://raw.githubusercontent.com/princepainter/ComfyUI-PainterNodes/88af927351c1f16f913104fc7aec3bb880baa2df/PainterFluxImageEdit.py",
"sha256": "100ce4b745f619e3eef6e02f6e216becc51a5b7ca035096a2ce5de0b2f4c7cd8",
"git_blob_sha1": "48923870190daf0a3fe818bad70a9030d434d27c",
"acquisition_time": "2026-10-31T00:20:32.287978+00:00",
"license_file": "painter__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "painter",
"repo": "princepainter/ComfyUI-PainterNodes",
"file": "__init__.py",
"local_file": "painter____init__.py",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"tag": "88af927351c1f16f913104fc7aec3bb880baa2df",
"url": "https://raw.githubusercontent.com/princepainter/ComfyUI-PainterNodes/88af927351c1f16f913104fc7aec3bb880baa2df/__init__.py",
"sha256": "f4cae59cfa05c75553febb3781ca0e6d8914b63aaf2b3b08669dfdf58cf3bb21",
"git_blob_sha1": "ccc28ee72f00934040c435ec98f88fc6a11ce107",
"acquisition_time": "2026-10-31T00:20:32.289815+00:00",
"license_file": "painter__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "painter",
"repo": "princepainter/ComfyUI-PainterNodes",
"file": "LICENSE",
"local_file": "painter__LICENSE",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"tree": "34868f82e3409f6fd6e7b6c21c424b990bac4c25",
"tag": "88af927351c1f16f913104fc7aec3bb880baa2df",
"url": "https://raw.githubusercontent.com/princepainter/ComfyUI-PainterNodes/88af927351c1f16f913104fc7aec3bb880baa2df/LICENSE",
"sha256": "23082e76e624b96c1d1678f66dbe178cfcac7bbe6851ac982a4498248bcf891b",
"git_blob_sha1": "0b1dda4ecce33cb40a04347a91ef25341344d40c",
"acquisition_time": "2026-10-31T00:20:32.292166+00:00",
"license_file": "painter__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "py/nodes/image.py",
"local_file": "easy__py__nodes__image.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/py/nodes/image.py",
"sha256": "59af86d1f1907f90f72a72da481b346abe7d154546bf4f3624737734d7f11191",
"git_blob_sha1": "ec188a2e935db55159187fc2bdaecb8172b4faf5",
"acquisition_time": "2026-10-31T00:20:33.232885+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "py/libs/utils.py",
"local_file": "easy__py__libs__utils.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/py/libs/utils.py",
"sha256": "e14dbbb4f307632c13d00c570c624e6ca6bd238fa3a0f27030849ddedbe9e0a4",
"git_blob_sha1": "122067e5b43b0692d7874140e39f476bf4367854",
"acquisition_time": "2026-10-31T00:20:33.234969+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "__init__.py",
"local_file": "easy____init__.py",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/__init__.py",
"sha256": "36d67c76cc51c7dd689f07642d43c7eaf97c3084fff1173ba2d28fb01232fdae",
"git_blob_sha1": "fef150550e019bd9aa509dbc6801993bf0bf2a64",
"acquisition_time": "2026-10-31T00:20:33.236167+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
},
{
"id": "easy",
"repo": "yolain/ComfyUI-Easy-Use",
"file": "LICENSE",
"local_file": "easy__LICENSE",
"commit": "b5e31ef12ad9d0b187b545c2707735cc7d581c52",
"tree": "6b33dee43849c0d19c79d47c0e4e65b8116a9ca6",
"tag": "v1.3.6",
"url": "https://raw.githubusercontent.com/yolain/ComfyUI-Easy-Use/b5e31ef12ad9d0b187b545c2707735cc7d581c52/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-31T00:20:33.239439+00:00",
"license_file": "easy__LICENSE",
"transport": "filtered git; selected text blobs only",
"applicability": "本图独立声明版本;UE/tab/宿主恢复未知"
}
]
}
@@ -0,0 +1 @@
[]
@@ -0,0 +1,23 @@
tree 34868f82e3409f6fd6e7b6c21c424b990bac4c25
parent 097f20d4aa8db1dc010a970a4f8c249b90a8629a
author painter890602 <124643595+princepainter@users.noreply.github.com> 1784592613 +0800
committer GitHub <noreply@github.com> 1784592613 +0800
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJqXrjlCRC1aQ7uu5UhlAAAMxAQAGasciR+IKayI710eqUN/EnO
8Vb25bYg2j87Cqc6nokdt3F4TdZtjqDJ38r0xsEPkBIMHCNn5GJ7FdvMWylRLo7s
pV1pcnCMEttY9IsbNMAT7Yn1lBEFX0xs7Frf3vL5HOT2x4YqSTt3JBp22D4Hfv4M
0+pypcE4L/UObdgEgua91TyqIsi1lM0ayqJcJ/XPOO6iW9xqvdSyBTtQmGdFfCKI
+FJefU7GNw6Z5kOuqijAWK4PrkO/IKOpqYYZrfp9gwNgYeWKAfMxZWPD00eHPKC1
ajZW9ws63cDDpL8W80UoJzbLIWQr2Lwkm7cg84OKC43ZJmHDHASg4nEFJekOKKaa
G/xU1cq1rDsouCv9Cit9YBc9RRkW4dUynlz6bS3Ze8gmDhirm94PuTI2vsBWrxCr
2rspDVy3c8vHlU5PstiiXJHHKTtThZpeqf9UHu6nSycVhZeTTYRLCtGobm8LV4D3
7VffeOXLNXEsBJvpV55wIcHZZ9dMjAy4cFZiIVGy+/C3Lx7BcV8FBA5L7XeJvDAZ
+TYQKZfmYu0hpmwUwdGqX4a4uUqM/lxj1bkNFLdS96Y2QojUTxO1vrMMt61HgKiH
xPG5edrrVcT9RG7Qgtak/MGVbL9iysn5oXbK9T+1AP6T+5lXza/40HYjom8RmEB0
bYeuLx/ZsERfxbAv/cxG
=U4gK
-----END PGP SIGNATURE-----
Delete workflows/WAN2.2+humo AT2V.json
@@ -0,0 +1,5 @@
{
"ref": "88af927351c1f16f913104fc7aec3bb880baa2df",
"commit": "88af927351c1f16f913104fc7aec3bb880baa2df",
"object": "88af927351c1f16f913104fc7aec3bb880baa2df"
}
@@ -0,0 +1,23 @@
tree 34868f82e3409f6fd6e7b6c21c424b990bac4c25
parent 097f20d4aa8db1dc010a970a4f8c249b90a8629a
author painter890602 <124643595+princepainter@users.noreply.github.com> 1784592613 +0800
committer GitHub <noreply@github.com> 1784592613 +0800
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJqXrjlCRC1aQ7uu5UhlAAAMxAQAGasciR+IKayI710eqUN/EnO
8Vb25bYg2j87Cqc6nokdt3F4TdZtjqDJ38r0xsEPkBIMHCNn5GJ7FdvMWylRLo7s
pV1pcnCMEttY9IsbNMAT7Yn1lBEFX0xs7Frf3vL5HOT2x4YqSTt3JBp22D4Hfv4M
0+pypcE4L/UObdgEgua91TyqIsi1lM0ayqJcJ/XPOO6iW9xqvdSyBTtQmGdFfCKI
+FJefU7GNw6Z5kOuqijAWK4PrkO/IKOpqYYZrfp9gwNgYeWKAfMxZWPD00eHPKC1
ajZW9ws63cDDpL8W80UoJzbLIWQr2Lwkm7cg84OKC43ZJmHDHASg4nEFJekOKKaa
G/xU1cq1rDsouCv9Cit9YBc9RRkW4dUynlz6bS3Ze8gmDhirm94PuTI2vsBWrxCr
2rspDVy3c8vHlU5PstiiXJHHKTtThZpeqf9UHu6nSycVhZeTTYRLCtGobm8LV4D3
7VffeOXLNXEsBJvpV55wIcHZZ9dMjAy4cFZiIVGy+/C3Lx7BcV8FBA5L7XeJvDAZ
+TYQKZfmYu0hpmwUwdGqX4a4uUqM/lxj1bkNFLdS96Y2QojUTxO1vrMMt61HgKiH
xPG5edrrVcT9RG7Qgtak/MGVbL9iysn5oXbK9T+1AP6T+5lXza/40HYjom8RmEB0
bYeuLx/ZsERfxbAv/cxG
=U4gK
-----END PGP SIGNATURE-----
Delete workflows/WAN2.2+humo AT2V.json

Some files were not shown because too many files have changed in this diff Show More